@vue-storefront/next 7.0.1 → 7.0.2-next.2

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.
package/dist/client.cjs CHANGED
@@ -192,7 +192,7 @@ function createAlokaiContext() {
192
192
  name: "generator"
193
193
  }), publicEnv && /* @__PURE__ */ react.default.createElement(next_script.default, {
194
194
  id: "alokaiEnv",
195
- strategy: "afterInteractive"
195
+ strategy: "beforeInteractive"
196
196
  }, envScript), /* @__PURE__ */ react.default.createElement(_alokai_instrumentation_next_component.AlokaiInstrumentation, null), /* @__PURE__ */ react.default.createElement(SfStateProvider, { initialData }, children));
197
197
  }
198
198
  const useSdk = () => {
package/dist/client.mjs CHANGED
@@ -167,7 +167,7 @@ function createAlokaiContext() {
167
167
  name: "generator"
168
168
  }), publicEnv && /* @__PURE__ */ React.createElement(Script, {
169
169
  id: "alokaiEnv",
170
- strategy: "afterInteractive"
170
+ strategy: "beforeInteractive"
171
171
  }, envScript), /* @__PURE__ */ React.createElement(AlokaiInstrumentation, null), /* @__PURE__ */ React.createElement(SfStateProvider, { initialData }, children));
172
172
  }
173
173
  const useSdk = () => {
package/package.json CHANGED
@@ -6,7 +6,7 @@
6
6
  "type": "git",
7
7
  "url": "git+https://github.com/vuestorefront/enterprise.git"
8
8
  },
9
- "version": "7.0.1",
9
+ "version": "7.0.2-next.2",
10
10
  "exports": {
11
11
  ".": {
12
12
  "types": "./dist/index.d.mts",
@@ -31,11 +31,11 @@
31
31
  "version": "cp CHANGELOG.md ../../docs/enterprise/content/storefront/6.change-log/next.md"
32
32
  },
33
33
  "dependencies": {
34
- "@alokai/instrumentation-next-component": "1.0.2",
34
+ "@alokai/instrumentation-next-component": "1.0.4-next.0",
35
35
  "zustand": "^4.5.4"
36
36
  },
37
37
  "devDependencies": {
38
- "@alokai/connect": "^2.1.0",
38
+ "@alokai/connect": "2.3.0-next.6",
39
39
  "@shared/typescript-config": "1.0.0",
40
40
  "@types/react": "^19",
41
41
  "@types/react-dom": "^19",
@@ -50,13 +50,12 @@
50
50
  "vitest": "4.0.18"
51
51
  },
52
52
  "peerDependencies": {
53
- "@alokai/connect": "^2.1.0",
53
+ "@alokai/connect": "2.3.0-next.6",
54
54
  "next": "^16.0.0",
55
55
  "react": "^19.0.0"
56
56
  },
57
57
  "engines": {
58
- "npm": ">=8.0.0",
59
- "node": ">=18.0.0"
58
+ "node": "^20.10.0 || >=22.14.0"
60
59
  },
61
60
  "publishConfig": {
62
61
  "access": "public"