@vue-storefront/next 5.1.0 → 6.0.0-rc.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
- import { SDKApi } from '@vue-storefront/sdk';
2
- import { S as SfContract, c as CreateSdkContextReturn } from './types-Dw2Ev7Da.mjs';
3
- export { M as Maybe, e as SfState, d as SfStateProps, f as createSfStateProvider } from './types-Dw2Ev7Da.mjs';
1
+ import { SDKApi } from '@alokai/connect/sdk';
2
+ import { S as SfContract, c as CreateSdkContextReturn } from './types-SbOpJvFm.mjs';
3
+ export { M as Maybe, e as SfState, d as SfStateProps, f as createSfStateProvider } from './types-SbOpJvFm.mjs';
4
4
  import 'react';
5
5
  import 'next/headers';
6
6
 
package/dist/client.d.ts CHANGED
@@ -1,6 +1,6 @@
1
- import { SDKApi } from '@vue-storefront/sdk';
2
- import { S as SfContract, c as CreateSdkContextReturn } from './types-Dw2Ev7Da.js';
3
- export { M as Maybe, e as SfState, d as SfStateProps, f as createSfStateProvider } from './types-Dw2Ev7Da.js';
1
+ import { SDKApi } from '@alokai/connect/sdk';
2
+ import { S as SfContract, c as CreateSdkContextReturn } from './types-SbOpJvFm.js';
3
+ export { M as Maybe, e as SfState, d as SfStateProps, f as createSfStateProvider } from './types-SbOpJvFm.js';
4
4
  import 'react';
5
5
  import 'next/headers';
6
6
 
package/dist/index.d.mts CHANGED
@@ -1,6 +1,6 @@
1
- import { C as CreateSdkOptions, a as Config, b as CreateSdkReturn } from './types-Dw2Ev7Da.mjs';
2
- import * as _vue_storefront_logger from '@vue-storefront/logger';
3
- import '@vue-storefront/sdk';
1
+ import { C as CreateSdkOptions, a as Config, b as CreateSdkReturn } from './types-SbOpJvFm.mjs';
2
+ import * as _alokai_connect_logger from '@alokai/connect/logger';
3
+ import '@alokai/connect/sdk';
4
4
  import 'react';
5
5
  import 'next/headers';
6
6
 
@@ -95,6 +95,6 @@ type LoggerOptions = Partial<{
95
95
  includeStackTrace: boolean;
96
96
  }>;
97
97
 
98
- declare const createLogger: (options?: LoggerOptions) => _vue_storefront_logger.LoggerInterface;
98
+ declare const createLogger: (options?: LoggerOptions) => _alokai_connect_logger.LoggerInterface;
99
99
 
100
100
  export { CreateSdkOptions, createLogger, createSdk, defineSdkConfig, resolveSdkOptions };
package/dist/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
- import { C as CreateSdkOptions, a as Config, b as CreateSdkReturn } from './types-Dw2Ev7Da.js';
2
- import * as _vue_storefront_logger from '@vue-storefront/logger';
3
- import '@vue-storefront/sdk';
1
+ import { C as CreateSdkOptions, a as Config, b as CreateSdkReturn } from './types-SbOpJvFm.js';
2
+ import * as _alokai_connect_logger from '@alokai/connect/logger';
3
+ import '@alokai/connect/sdk';
4
4
  import 'react';
5
5
  import 'next/headers';
6
6
 
@@ -95,6 +95,6 @@ type LoggerOptions = Partial<{
95
95
  includeStackTrace: boolean;
96
96
  }>;
97
97
 
98
- declare const createLogger: (options?: LoggerOptions) => _vue_storefront_logger.LoggerInterface;
98
+ declare const createLogger: (options?: LoggerOptions) => _alokai_connect_logger.LoggerInterface;
99
99
 
100
100
  export { CreateSdkOptions, createLogger, createSdk, defineSdkConfig, resolveSdkOptions };
package/dist/index.js CHANGED
@@ -101,7 +101,7 @@ var defaultMethodsRequestConfig = {
101
101
  };
102
102
 
103
103
  // src/sdk/index.tsx
104
- var import_sdk = require("@vue-storefront/sdk");
104
+ var import_sdk = require("@alokai/connect/sdk");
105
105
  function createSdk(options, configDefinition) {
106
106
  function getSdk(dynamicContext = {}) {
107
107
  var _a;
@@ -132,7 +132,7 @@ function resolveSdkOptions(input, _options = {}) {
132
132
  }
133
133
 
134
134
  // src/logger/index.ts
135
- var import_logger = require("@vue-storefront/logger");
135
+ var import_logger = require("@alokai/connect/logger");
136
136
 
137
137
  // src/logger/injectMetadata.ts
138
138
  function injectMetadata(logger, externalData) {
package/dist/index.mjs CHANGED
@@ -60,7 +60,7 @@ var defaultMethodsRequestConfig = {
60
60
  };
61
61
 
62
62
  // src/sdk/index.tsx
63
- import { buildModule, initSDK, middlewareModule } from "@vue-storefront/sdk";
63
+ import { buildModule, initSDK, middlewareModule } from "@alokai/connect/sdk";
64
64
  function createSdk(options, configDefinition) {
65
65
  function getSdk(dynamicContext = {}) {
66
66
  var _a;
@@ -91,7 +91,7 @@ function resolveSdkOptions(input, _options = {}) {
91
91
  }
92
92
 
93
93
  // src/logger/index.ts
94
- import { LoggerFactory, LoggerType } from "@vue-storefront/logger";
94
+ import { LoggerFactory, LoggerType } from "@alokai/connect/logger";
95
95
 
96
96
  // src/logger/injectMetadata.ts
97
97
  function injectMetadata(logger, externalData) {
@@ -1,4 +1,4 @@
1
- import { buildModule, middlewareModule, SDKApi } from '@vue-storefront/sdk';
1
+ import { SDKApi, buildModule, middlewareModule } from '@alokai/connect/sdk';
2
2
  import React, { PropsWithChildren, ReactNode } from 'react';
3
3
  import { cookies } from 'next/headers';
4
4
 
@@ -1,4 +1,4 @@
1
- import { buildModule, middlewareModule, SDKApi } from '@vue-storefront/sdk';
1
+ import { SDKApi, buildModule, middlewareModule } from '@alokai/connect/sdk';
2
2
  import React, { PropsWithChildren, ReactNode } from 'react';
3
3
  import { cookies } from 'next/headers';
4
4
 
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.1.0",
5
+ "version": "6.0.0-rc.0",
6
6
  "exports": {
7
7
  ".": {
8
8
  "types": "./dist/index.d.ts",
@@ -23,16 +23,15 @@
23
23
  "lint": "biome ci .",
24
24
  "format": "prettier --write .",
25
25
  "test:unit": "vitest run",
26
- "version": "cp CHANGELOG.md ../../docs/enterprise/content/storefront/6.change-log/next.md"
26
+ "version": "cp CHANGELOG.md ../../docs/content/storefront/6.change-log/next.md"
27
27
  },
28
28
  "dependencies": {
29
- "zustand": "^4.5.4",
30
- "@vue-storefront/logger": "1.0.0"
29
+ "zustand": "^4.5.4"
31
30
  },
32
31
  "devDependencies": {
32
+ "@alokai/connect": "^1.0.0",
33
33
  "@types/react": "18.3.2",
34
34
  "@types/react-dom": "18.3.0",
35
- "@vue-storefront/sdk": "3.4.1",
36
35
  "react-dom": "18.3.1",
37
36
  "start-server-and-test": "^2.0.3",
38
37
  "tsup": "8.3.0",
@@ -41,7 +40,7 @@
41
40
  "next": "14.2.23"
42
41
  },
43
42
  "peerDependencies": {
44
- "@vue-storefront/sdk": "3.4.1",
43
+ "@alokai/connect": "^1.0.0",
45
44
  "react": "^18.2.0",
46
45
  "next": "^13.4.7 || ^14.0.0"
47
46
  },