@vue-storefront/next 6.1.1-rc.0 → 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-
|
|
3
|
-
export { M as Maybe, b as SfState, a as SfStateProps, c as createSfStateProvider } from './types-
|
|
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-
|
|
3
|
-
export { M as Maybe, b as SfState, a as SfStateProps, c as createSfStateProvider } from './types-
|
|
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-
|
|
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-
|
|
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 =
|
|
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 =
|
|
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": "
|
|
5
|
+
"version": "7.0.0-next.0",
|
|
6
6
|
"exports": {
|
|
7
7
|
".": {
|
|
8
8
|
"types": "./dist/index.d.ts",
|
|
@@ -31,22 +31,22 @@
|
|
|
31
31
|
"zustand": "^4.5.4"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
|
-
"@alokai/connect": "^1.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": "
|
|
38
|
+
"next": "15.5.6",
|
|
39
39
|
"prettier": "3.3.2",
|
|
40
|
-
"react": "
|
|
41
|
-
"react-dom": "
|
|
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.1.
|
|
48
|
-
"next": "^
|
|
49
|
-
"react": "^
|
|
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",
|