@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/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 publishable token was minted for. */
224
+ /** Workspace environment UUID the quote token was minted for. */
225
225
  environmentId: string;
226
- /** Publishable storefront quote token (`pk_…`). */
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 publishable token was minted for. */
224
+ /** Workspace environment UUID the quote token was minted for. */
225
225
  environmentId: string;
226
- /** Publishable storefront quote token (`pk_…`). */
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
  /**