@vue-storefront/next 1.1.0 → 1.1.1-rc.1
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/CHANGELOG.md +4 -0
- package/dist/client.d.mts +2 -2
- package/dist/client.d.ts +2 -2
- package/dist/index.d.mts +3 -2
- package/dist/index.d.ts +3 -2
- package/dist/{types-C6rAwI5a.d.mts → types-pLNAZ_nM.d.mts} +2 -2
- package/dist/{types-C6rAwI5a.d.ts → types-pLNAZ_nM.d.ts} +2 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/dist/client.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { SDKApi } from '@vue-storefront/sdk';
|
|
2
2
|
import React from 'react';
|
|
3
|
-
import {
|
|
3
|
+
import { b as SdkProviderProps } from './types-pLNAZ_nM.mjs';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* Creates a new SDK context. This function is dedicated for the client-side usage.
|
|
@@ -22,4 +22,4 @@ import { S as SdkProviderProps } from './types-C6rAwI5a.mjs';
|
|
|
22
22
|
*/
|
|
23
23
|
declare function createSdkContext<TSdk extends SDKApi<any>>(sdk: TSdk): readonly [({ children }: SdkProviderProps) => React.JSX.Element, () => TSdk];
|
|
24
24
|
|
|
25
|
-
export { createSdkContext };
|
|
25
|
+
export { SdkProviderProps, createSdkContext };
|
package/dist/client.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { SDKApi } from '@vue-storefront/sdk';
|
|
2
2
|
import React from 'react';
|
|
3
|
-
import {
|
|
3
|
+
import { b as SdkProviderProps } from './types-pLNAZ_nM.js';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* Creates a new SDK context. This function is dedicated for the client-side usage.
|
|
@@ -22,4 +22,4 @@ import { S as SdkProviderProps } from './types-C6rAwI5a.js';
|
|
|
22
22
|
*/
|
|
23
23
|
declare function createSdkContext<TSdk extends SDKApi<any>>(sdk: TSdk): readonly [({ children }: SdkProviderProps) => React.JSX.Element, () => TSdk];
|
|
24
24
|
|
|
25
|
-
export { createSdkContext };
|
|
25
|
+
export { SdkProviderProps, createSdkContext };
|
package/dist/index.d.mts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { C as Config, a as CreateSdkReturn } from './types-
|
|
1
|
+
import { C as Config, a as CreateSdkReturn } from './types-pLNAZ_nM.mjs';
|
|
2
|
+
export { D as DynamicContext, G as GetSdkContext, b as SdkProviderProps, S as StaticContext } from './types-pLNAZ_nM.mjs';
|
|
2
3
|
import '@vue-storefront/sdk';
|
|
3
4
|
import 'react';
|
|
4
5
|
|
|
@@ -62,4 +63,4 @@ interface CreateSdkOptions {
|
|
|
62
63
|
*/
|
|
63
64
|
declare function createSdk<TConfig extends Record<string, any>>(options: CreateSdkOptions, configDefinition: Config<TConfig>): CreateSdkReturn<TConfig>;
|
|
64
65
|
|
|
65
|
-
export { type CreateSdkOptions, createSdk };
|
|
66
|
+
export { Config, type CreateSdkOptions, CreateSdkReturn, createSdk };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { C as Config, a as CreateSdkReturn } from './types-
|
|
1
|
+
import { C as Config, a as CreateSdkReturn } from './types-pLNAZ_nM.js';
|
|
2
|
+
export { D as DynamicContext, G as GetSdkContext, b as SdkProviderProps, S as StaticContext } from './types-pLNAZ_nM.js';
|
|
2
3
|
import '@vue-storefront/sdk';
|
|
3
4
|
import 'react';
|
|
4
5
|
|
|
@@ -62,4 +63,4 @@ interface CreateSdkOptions {
|
|
|
62
63
|
*/
|
|
63
64
|
declare function createSdk<TConfig extends Record<string, any>>(options: CreateSdkOptions, configDefinition: Config<TConfig>): CreateSdkReturn<TConfig>;
|
|
64
65
|
|
|
65
|
-
export { type CreateSdkOptions, createSdk };
|
|
66
|
+
export { Config, type CreateSdkOptions, CreateSdkReturn, createSdk };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { buildModule, middlewareModule, SDKApi } from '@vue-storefront/sdk';
|
|
2
2
|
import { ReactNode } from 'react';
|
|
3
3
|
|
|
4
4
|
type GetSdkContext = {
|
|
@@ -67,4 +67,4 @@ interface CreateSdkReturn<TConfig extends Record<string, any>> {
|
|
|
67
67
|
getSdk: (dynamicContext?: GetSdkContext) => SDKApi<TConfig>;
|
|
68
68
|
}
|
|
69
69
|
|
|
70
|
-
export type { Config as C,
|
|
70
|
+
export type { Config as C, DynamicContext as D, GetSdkContext as G, StaticContext as S, CreateSdkReturn as a, SdkProviderProps as b };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { buildModule, middlewareModule, SDKApi } from '@vue-storefront/sdk';
|
|
2
2
|
import { ReactNode } from 'react';
|
|
3
3
|
|
|
4
4
|
type GetSdkContext = {
|
|
@@ -67,4 +67,4 @@ interface CreateSdkReturn<TConfig extends Record<string, any>> {
|
|
|
67
67
|
getSdk: (dynamicContext?: GetSdkContext) => SDKApi<TConfig>;
|
|
68
68
|
}
|
|
69
69
|
|
|
70
|
-
export type { Config as C,
|
|
70
|
+
export type { Config as C, DynamicContext as D, GetSdkContext as G, StaticContext as S, CreateSdkReturn as a, SdkProviderProps as b };
|