@usethrottle/checkout-react 2.1.0 → 2.1.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/README.md +7 -4
- package/dist/index.cjs +986 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +7 -2
- package/dist/index.d.ts +7 -2
- package/dist/index.js +1010 -13
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
package/dist/index.d.cts
CHANGED
|
@@ -221,9 +221,14 @@ declare function useThrottleEvents({ iframeRef, expectedOrigin, onMessage }: Use
|
|
|
221
221
|
interface UseCartSessionOptions {
|
|
222
222
|
/** Application UUID. */
|
|
223
223
|
applicationId: string;
|
|
224
|
-
/** Workspace environment UUID the
|
|
224
|
+
/** Workspace environment UUID the quote token was minted for. */
|
|
225
225
|
environmentId: string;
|
|
226
|
-
/**
|
|
226
|
+
/**
|
|
227
|
+
* Storefront quote token (`qt_…`), from the dashboard Shipping & Tax page or
|
|
228
|
+
* `POST /api/v1/shipping-tax/quote-tokens`. Tokens minted before `qt_` start
|
|
229
|
+
* with `pk_` and keep working. A `pk_` publishable API key is a different
|
|
230
|
+
* credential and is refused (`401 invalid_quote_token`).
|
|
231
|
+
*/
|
|
227
232
|
quoteToken: string;
|
|
228
233
|
baseUrl?: string;
|
|
229
234
|
/**
|
package/dist/index.d.ts
CHANGED
|
@@ -221,9 +221,14 @@ declare function useThrottleEvents({ iframeRef, expectedOrigin, onMessage }: Use
|
|
|
221
221
|
interface UseCartSessionOptions {
|
|
222
222
|
/** Application UUID. */
|
|
223
223
|
applicationId: string;
|
|
224
|
-
/** Workspace environment UUID the
|
|
224
|
+
/** Workspace environment UUID the quote token was minted for. */
|
|
225
225
|
environmentId: string;
|
|
226
|
-
/**
|
|
226
|
+
/**
|
|
227
|
+
* Storefront quote token (`qt_…`), from the dashboard Shipping & Tax page or
|
|
228
|
+
* `POST /api/v1/shipping-tax/quote-tokens`. Tokens minted before `qt_` start
|
|
229
|
+
* with `pk_` and keep working. A `pk_` publishable API key is a different
|
|
230
|
+
* credential and is refused (`401 invalid_quote_token`).
|
|
231
|
+
*/
|
|
227
232
|
quoteToken: string;
|
|
228
233
|
baseUrl?: string;
|
|
229
234
|
/**
|