@vue-storefront/next 6.1.1-next.1 → 7.0.0-next.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.
package/dist/client.d.mts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { SDKApi } from '@alokai/connect/sdk';
2
- import { S as SfContract, C as CreateSdkContextReturn } from './types-B9h_AU7R.mjs';
3
- export { M as Maybe, b as SfState, a as SfStateProps, c as createSfStateProvider } from './types-B9h_AU7R.mjs';
2
+ import { S as SfContract, C as CreateSdkContextReturn } from './types-D5y1qo72.mjs';
3
+ export { M as Maybe, b as SfState, a as SfStateProps, c as createSfStateProvider } from './types-D5y1qo72.mjs';
4
4
  import 'next/headers';
5
5
  import 'react';
6
6
 
package/dist/client.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { SDKApi } from '@alokai/connect/sdk';
2
- import { S as SfContract, C as CreateSdkContextReturn } from './types-B9h_AU7R.js';
3
- export { M as Maybe, b as SfState, a as SfStateProps, c as createSfStateProvider } from './types-B9h_AU7R.js';
2
+ import { S as SfContract, C as CreateSdkContextReturn } from './types-D5y1qo72.js';
3
+ export { M as Maybe, b as SfState, a as SfStateProps, c as createSfStateProvider } from './types-D5y1qo72.js';
4
4
  import 'next/headers';
5
5
  import 'react';
6
6
 
package/dist/index.d.mts CHANGED
@@ -2,7 +2,7 @@ import * as _alokai_connect_logger from '@alokai/connect/logger';
2
2
  import { NextRequest, NextResponse } from 'next/server';
3
3
  import { buildModule } from '@alokai/connect/sdk';
4
4
  export { defineGetConfigSwitcherHeader } from '@alokai/connect/sdk';
5
- import { d as CreateSdkOptions, e as Config, f as CreateSdkReturn, I as InjectedContext } from './types-B9h_AU7R.mjs';
5
+ import { d as CreateSdkOptions, e as Config, f as CreateSdkReturn, I as InjectedContext } from './types-D5y1qo72.mjs';
6
6
  import 'next/headers';
7
7
  import 'react';
8
8
 
package/dist/index.d.ts CHANGED
@@ -2,7 +2,7 @@ import * as _alokai_connect_logger from '@alokai/connect/logger';
2
2
  import { NextRequest, NextResponse } from 'next/server';
3
3
  import { buildModule } from '@alokai/connect/sdk';
4
4
  export { defineGetConfigSwitcherHeader } from '@alokai/connect/sdk';
5
- import { d as CreateSdkOptions, e as Config, f as CreateSdkReturn, I as InjectedContext } from './types-B9h_AU7R.js';
5
+ import { d as CreateSdkOptions, e as Config, f as CreateSdkReturn, I as InjectedContext } from './types-D5y1qo72.js';
6
6
  import 'next/headers';
7
7
  import 'react';
8
8
 
@@ -1,5 +1,5 @@
1
1
  import { SDKApi, buildModule, middlewareModule } from '@alokai/connect/sdk';
2
- import { cookies } from 'next/headers';
2
+ import { cookies, headers } from 'next/headers';
3
3
  import React, { PropsWithChildren, ReactNode } from 'react';
4
4
 
5
5
  type Maybe<TType> = null | TType;
@@ -108,7 +108,7 @@ interface CreateSdkOptions {
108
108
  multistore?: MultistoreConfig;
109
109
  }
110
110
  type Cookies = ReturnType<typeof cookies>;
111
- type NextHeaders = Headers | Record<string, string | string[] | undefined>;
111
+ type NextHeaders = Awaited<ReturnType<typeof headers>>;
112
112
  type GetSdkContext = {
113
113
  /**
114
114
  * A function that returns the current locale string;
@@ -1,5 +1,5 @@
1
1
  import { SDKApi, buildModule, middlewareModule } from '@alokai/connect/sdk';
2
- import { cookies } from 'next/headers';
2
+ import { cookies, headers } from 'next/headers';
3
3
  import React, { PropsWithChildren, ReactNode } from 'react';
4
4
 
5
5
  type Maybe<TType> = null | TType;
@@ -108,7 +108,7 @@ interface CreateSdkOptions {
108
108
  multistore?: MultistoreConfig;
109
109
  }
110
110
  type Cookies = ReturnType<typeof cookies>;
111
- type NextHeaders = Headers | Record<string, string | string[] | undefined>;
111
+ type NextHeaders = Awaited<ReturnType<typeof headers>>;
112
112
  type GetSdkContext = {
113
113
  /**
114
114
  * A function that returns the current locale string;
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@vue-storefront/next",
3
3
  "description": "Alokai dedicated features for Next.js",
4
4
  "license": "MIT",
5
- "version": "6.1.1-next.1",
5
+ "version": "7.0.0-next.0",
6
6
  "exports": {
7
7
  ".": {
8
8
  "types": "./dist/index.d.ts",
@@ -27,26 +27,26 @@
27
27
  "version": "cp CHANGELOG.md ../../docs/enterprise/content/storefront/6.change-log/next.md"
28
28
  },
29
29
  "dependencies": {
30
- "@alokai/instrumentation-next-component": "1.0.1-next.0",
30
+ "@alokai/instrumentation-next-component": "1.0.0",
31
31
  "zustand": "^4.5.4"
32
32
  },
33
33
  "devDependencies": {
34
- "@alokai/connect": "^1.2.0-next.1",
34
+ "@alokai/connect": "^1.1.2",
35
35
  "@types/react": "18.3.2",
36
36
  "@types/react-dom": "18.3.0",
37
37
  "eslint": "9.23.0",
38
- "next": "14.2.25",
38
+ "next": "15.5.6",
39
39
  "prettier": "3.3.2",
40
- "react": "18.3.1",
41
- "react-dom": "18.3.1",
40
+ "react": "19.2.0",
41
+ "react-dom": "19.2.0",
42
42
  "start-server-and-test": "^2.0.11",
43
43
  "tsup": "8.3.0",
44
44
  "vitest": "2.1.9"
45
45
  },
46
46
  "peerDependencies": {
47
- "@alokai/connect": "^1.2.0-next.0",
48
- "next": "^13.4.7 || ^14.0.0",
49
- "react": "^18.2.0"
47
+ "@alokai/connect": "^1.1.2",
48
+ "next": "^15.0.0",
49
+ "react": "^19.0.0"
50
50
  },
51
51
  "engines": {
52
52
  "npm": ">=8.0.0",