Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
"@emotion/react": "11.14.0",
"@emotion/server": "11.11.0",
"@emotion/styled": "11.14.1",
"@optimizely/optimizely-sdk": "5.4.1",
"@optimizely/optimizely-sdk": "6.4.0",
"@optimizely/react-sdk": "3.3.1",
"@tanstack/query-async-storage-persister": "5.99.2",
"@tanstack/react-query": "5.100.10",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,10 @@ import {
OptimizelyProvider,
setLogger,
} from '@optimizely/react-sdk';
import { enums, ListenerPayload } from '@optimizely/optimizely-sdk';
import {
NOTIFICATION_TYPES,
ListenerPayload,
} from '@optimizely/optimizely-sdk';
import Cookie from 'js-cookie';
import isLive from '#lib/utilities/isLive';
import onClient from '#lib/utilities/onClient';
Expand Down Expand Up @@ -37,7 +40,7 @@ const optimizely = createInstance({
});

optimizely?.notificationCenter?.addNotificationListener(
enums.NOTIFICATION_TYPES.DECISION,
NOTIFICATION_TYPES.DECISION,
(
notification: ListenerPayload & {
decisionInfo?: {
Expand Down
58 changes: 56 additions & 2 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4419,7 +4419,36 @@ __metadata:
languageName: node
linkType: hard

"@optimizely/optimizely-sdk@npm:5.4.1, @optimizely/optimizely-sdk@npm:^5.4.1":
"@optimizely/optimizely-sdk@npm:6.4.0":
version: 6.4.0
resolution: "@optimizely/optimizely-sdk@npm:6.4.0"
dependencies:
decompress-response: "npm:^7.0.0"
json-schema: "npm:^0.4.0"
murmurhash: "npm:^2.0.1"
uuid: "npm:^10.0.0"
peerDependencies:
"@react-native-async-storage/async-storage": ">=1.0.0 <3.0.0"
"@react-native-community/netinfo": ">=5.0.0 <12.0.0"
fast-text-encoding: ^1.0.6
react-native-get-random-values: ^1.11.0
ua-parser-js: ^1.0.38
peerDependenciesMeta:
"@react-native-async-storage/async-storage":
optional: true
"@react-native-community/netinfo":
optional: true
fast-text-encoding:
optional: true
react-native-get-random-values:
optional: true
ua-parser-js:
optional: true
checksum: 10/be64098a87483b943be3e815740b9c54ab52819eacba77a1fbf2dff60baec011c1ce45e8e166cf237ea6a0cdf2f45db4d23e6a0b8e884633e256c75a1172d133
languageName: node
linkType: hard

"@optimizely/optimizely-sdk@npm:^5.4.1":
version: 5.4.1
resolution: "@optimizely/optimizely-sdk@npm:5.4.1"
dependencies:
Expand Down Expand Up @@ -8848,6 +8877,15 @@ __metadata:
languageName: node
linkType: hard

"decompress-response@npm:^7.0.0":
version: 7.0.0
resolution: "decompress-response@npm:7.0.0"
dependencies:
mimic-response: "npm:^3.1.0"
checksum: 10/dfd216a4b24c6a9840e19986e8a9ca62e0b6ae35458e4135fdb84f2ba531a03ddc6ccfdc72782a361583c7d12a59787503381bd8372bf83f849eafadbaa8629c
languageName: node
linkType: hard

"dedent@npm:^0.7.0":
version: 0.7.0
resolution: "dedent@npm:0.7.0"
Expand Down Expand Up @@ -13420,6 +13458,13 @@ __metadata:
languageName: node
linkType: hard

"mimic-response@npm:^3.1.0":
version: 3.1.0
resolution: "mimic-response@npm:3.1.0"
checksum: 10/7e719047612411fe071332a7498cf0448bbe43c485c0d780046c76633a771b223ff49bd00267be122cedebb897037fdb527df72335d0d0f74724604ca70b37ad
languageName: node
linkType: hard

"min-indent@npm:^1.0.0, min-indent@npm:^1.0.1":
version: 1.0.1
resolution: "min-indent@npm:1.0.1"
Expand Down Expand Up @@ -16081,7 +16126,7 @@ __metadata:
"@happy-dom/jest-environment": "npm:20.9.0"
"@jest/environment": "npm:30.2.0"
"@jest/globals": "npm:30.2.0"
"@optimizely/optimizely-sdk": "npm:5.4.1"
"@optimizely/optimizely-sdk": "npm:6.4.0"
"@optimizely/react-sdk": "npm:3.3.1"
"@storybook/addon-a11y": "npm:10.4.1"
"@storybook/addon-docs": "npm:10.4.1"
Expand Down Expand Up @@ -17749,6 +17794,15 @@ __metadata:
languageName: node
linkType: hard

"uuid@npm:^10.0.0":
version: 10.0.0
resolution: "uuid@npm:10.0.0"
bin:
uuid: dist/bin/uuid
checksum: 10/35aa60614811a201ff90f8ca5e9ecb7076a75c3821e17f0f5ff72d44e36c2d35fcbc2ceee9c4ac7317f4cc41895da30e74f3885e30313bee48fda6338f250538
languageName: node
linkType: hard

"uuid@npm:^8.3.2":
version: 8.3.2
resolution: "uuid@npm:8.3.2"
Expand Down
Loading