@remkoj/optimizely-one-nextjs 5.1.7 → 5.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +5 -1
  2. package/package.json +13 -13
package/README.md CHANGED
@@ -1,4 +1,8 @@
1
1
  # Next.JS Optimizely One toolkit <!-- omit in toc -->
2
+
3
+ > [!WARNING]
4
+ > There'll be an update of Optimizely SaaS CMS that is incompatible with all SDK versions prior to 5.1.6. If you don't upgrade, you will see empty pages (main website) and "Component not found" messages (preview).
5
+
2
6
  React components (both client & server) to integrate the browser-side products from Optimizely (Web Experimentation, Data Platform & Content Analytics / Recommendations)
3
7
 
4
8
  ## Table of Contents <!-- omit in toc -->
@@ -161,4 +165,4 @@ Using the Optimizely One Gadget it is possible to demonstrate the in-session beh
161
165
  ### 3.2. Selecting the Web Experimentation project in browser
162
166
  When the `OPTIMIZELY_ONE_HELPER` is set to "1" - or the Scripts.Header component has been instructed to do so explicitly - it is possible to change the Optimizely Web Experimentation project on the fly. This is done by adding a query string parameter `?pid=`, with the new project id.
163
167
 
164
- The project id is persisted in localStorage with the key `_pid` and needs to be removed manually to revert back to the configured Web Experimentation project.
168
+ The project id is persisted in localStorage with the key `_pid` and needs to be removed manually to revert back to the configured Web Experimentation project.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@remkoj/optimizely-one-nextjs",
3
3
  "license": "Apache-2.0",
4
- "version": "5.1.7",
4
+ "version": "5.2.0",
5
5
  "repository": "https://github.com/remkoj/optimizely-dxp-clients.git",
6
6
  "author": "Remko Jantzen <693172+remkoj@users.noreply.github.com>",
7
7
  "homepage": "https://github.com/remkoj/optimizely-dxp-clients",
@@ -39,30 +39,30 @@
39
39
  }
40
40
  },
41
41
  "devDependencies": {
42
- "@headlessui/react": "^2.2.5",
42
+ "@headlessui/react": "^2.2.9",
43
43
  "@headlessui/tailwindcss": "^0.2.2",
44
44
  "@heroicons/react": "^2.2.0",
45
- "@remkoj/optimizely-graph-client": "^5.1.7",
46
- "@types/node": "^22.16.5",
47
- "@types/react": "^18.3.23",
45
+ "@remkoj/optimizely-graph-client": "^5.2.0",
46
+ "@types/node": "^22.19.3",
47
+ "@types/react": "^18.3.27",
48
48
  "@types/react-dom": "18.3.7",
49
49
  "@types/uuid": "^10.0.0",
50
- "browserslist": "^4.25.1",
51
- "next": "^14.2.30",
50
+ "browserslist": "^4.28.1",
51
+ "next": "^14.2.35",
52
52
  "prop-types": "^15.8.1",
53
53
  "react": "^18.3.1",
54
54
  "react-dom": "^18.3.1",
55
- "scheduler": "^0.26.0",
56
- "swr": "^2.3.4",
57
- "tailwindcss": "^3.4.17",
58
- "typescript": "^5.8.3",
59
- "update-browserslist-db": "^1.1.3",
55
+ "scheduler": "^0.27.0",
56
+ "swr": "^2.3.8",
57
+ "tailwindcss": "^3.4.19",
58
+ "typescript": "^5.9.3",
59
+ "update-browserslist-db": "^1.2.3",
60
60
  "uuid": "^11.1.0"
61
61
  },
62
62
  "peerDependencies": {
63
63
  "@headlessui/react": "^2",
64
64
  "@heroicons/react": "^2",
65
- "@remkoj/optimizely-graph-client": "^5.1.7",
65
+ "@remkoj/optimizely-graph-client": "^5.2.0",
66
66
  "next": "^14",
67
67
  "react": "^18",
68
68
  "react-dom": "^18",