@konfiqo/storefront-react 0.7.0 → 0.8.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/README.md +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
package/dist/index.d.cts
CHANGED
|
@@ -57,8 +57,8 @@ declare function isDeadCartError(e: unknown): boolean;
|
|
|
57
57
|
*/
|
|
58
58
|
declare function defaultCartStorage(): CartIdStorage | null;
|
|
59
59
|
|
|
60
|
-
/** Client options the provider accepts: no secret keys, no buyer IP. */
|
|
61
|
-
type ClientConfig = Omit<StorefrontClientOptions, 'serverKey' | 'trustedStorefrontKey' | 'buyerIp'>;
|
|
60
|
+
/** Client options the provider accepts: no secret keys, no buyer IP or user agent. */
|
|
61
|
+
type ClientConfig = Omit<StorefrontClientOptions, 'serverKey' | 'trustedStorefrontKey' | 'buyerIp' | 'buyerUserAgent'>;
|
|
62
62
|
/** Props of {@link StorefrontProvider}. */
|
|
63
63
|
interface StorefrontProviderProps {
|
|
64
64
|
/**
|
package/dist/index.d.ts
CHANGED
|
@@ -57,8 +57,8 @@ declare function isDeadCartError(e: unknown): boolean;
|
|
|
57
57
|
*/
|
|
58
58
|
declare function defaultCartStorage(): CartIdStorage | null;
|
|
59
59
|
|
|
60
|
-
/** Client options the provider accepts: no secret keys, no buyer IP. */
|
|
61
|
-
type ClientConfig = Omit<StorefrontClientOptions, 'serverKey' | 'trustedStorefrontKey' | 'buyerIp'>;
|
|
60
|
+
/** Client options the provider accepts: no secret keys, no buyer IP or user agent. */
|
|
61
|
+
type ClientConfig = Omit<StorefrontClientOptions, 'serverKey' | 'trustedStorefrontKey' | 'buyerIp' | 'buyerUserAgent'>;
|
|
62
62
|
/** Props of {@link StorefrontProvider}. */
|
|
63
63
|
interface StorefrontProviderProps {
|
|
64
64
|
/**
|