@getsupertab/supertab-js 3.58.1 → 3.60.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.
@@ -1,4 +1,4 @@
1
- import { r as Ya, T as Ka, P as Xa, a as Ja, V as Qa } from "./index-CbgrlZMP.js";
1
+ import { r as Ya, T as Ka, P as Xa, a as Ja, V as Qa } from "./index-CZhEaRUZ.js";
2
2
  const w = typeof __SENTRY_DEBUG__ > "u" || __SENTRY_DEBUG__, N = globalThis, Le = "10.41.0";
3
3
  function Tt() {
4
4
  return _n(N), N;
@@ -269,12 +269,14 @@ declare class AuthClient {
269
269
  * @returns Authentication data.
270
270
  */
271
271
  start({ silently, screenHint, flow, offeringId, // offeringId for experiment
272
- currency, }?: {
272
+ currency, // currency for experiment
273
+ purchaseMetadata, }?: {
273
274
  silently?: boolean;
274
275
  screenHint?: ScreenHint;
275
276
  flow?: "popup" | "redirect";
276
277
  offeringId?: string;
277
278
  currency?: string;
279
+ purchaseMetadata?: Metadata;
278
280
  }): Promise<AuthData | null>;
279
281
  /**
280
282
  * Clears auth data from browser storage.
@@ -317,11 +319,12 @@ declare class AuthProvider {
317
319
  get authData(): AuthData | null;
318
320
  set authData(authData: AuthData);
319
321
  get authStatus(): AuthStatus;
320
- startInteractiveFlow({ screenHint, flow, offeringId, currency, }?: {
322
+ startInteractiveFlow({ screenHint, flow, offeringId, currency, purchaseMetadata, }?: {
321
323
  screenHint?: ScreenHint;
322
324
  flow?: "popup" | "redirect";
323
325
  offeringId?: string;
324
326
  currency?: string;
327
+ purchaseMetadata?: Metadata;
325
328
  }): Promise<AuthData | null>;
326
329
  private startRedirectFlow;
327
330
  private startMockRedirectFlow;
@@ -1,4 +1,4 @@
1
- import { S as e, l as o } from "./index-CbgrlZMP.js";
1
+ import { S as e, l as o } from "./index-CZhEaRUZ.js";
2
2
  export {
3
3
  e as Supertab,
4
4
  o as loadSupertab
package/package.json CHANGED
@@ -22,7 +22,7 @@
22
22
  "access": "public",
23
23
  "registry": "https://registry.npmjs.org/"
24
24
  },
25
- "version": "3.58.1",
25
+ "version": "3.60.0",
26
26
  "type": "module",
27
27
  "scripts": {
28
28
  "dev": "vite --config .vite/vite.dev.config.ts",
@@ -67,7 +67,7 @@
67
67
  "@emotion/styled": "^11.14.0",
68
68
  "@emotion/utils": "^1.4.2",
69
69
  "@getsupertab/eslint-config": "^1.1.1",
70
- "@getsupertab/netlify-plugin-update-client-apps": "^1.1.3",
70
+ "@getsupertab/netlify-plugin-update-client-apps": "^1.1.4",
71
71
  "@getsupertab/price-utils": "^1.1.0",
72
72
  "@getsupertab/supertab-ds-components": "7.13.0",
73
73
  "@getsupertab/tapper-sdk": "^59.0.0",