@getsupertab/supertab-js 3.36.1 → 3.38.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.
@@ -18,22 +18,22 @@ declare class ApiClient {
18
18
  };
19
19
  testMode: boolean;
20
20
  total: {
21
+ amount: number;
21
22
  currency: {
22
23
  symbol: string;
23
24
  code: string;
24
25
  name: string;
25
26
  baseUnit: number;
26
27
  };
27
- amount: number;
28
28
  };
29
29
  limit: {
30
+ amount: number;
30
31
  currency: {
31
32
  symbol: string;
32
33
  code: string;
33
34
  name: string;
34
35
  baseUnit: number;
35
36
  };
36
- amount: number;
37
37
  };
38
38
  purchases: {
39
39
  status: "completed" | "pending" | "abandoned";
@@ -44,13 +44,13 @@ declare class ApiClient {
44
44
  completedAt: string | (string | null)[] | null;
45
45
  description: string;
46
46
  price: {
47
+ amount: number;
47
48
  currency: {
48
49
  symbol: string;
49
50
  code: string;
50
51
  name: string;
51
52
  baseUnit: number;
52
53
  };
53
- amount: number;
54
54
  };
55
55
  entitlementStatus: {
56
56
  contentKey: string;
@@ -72,13 +72,13 @@ declare class ApiClient {
72
72
  completedAt: unknown[];
73
73
  description: string;
74
74
  price: {
75
+ amount: number;
75
76
  currency: {
76
77
  symbol: string;
77
78
  code: string;
78
79
  name: string;
79
80
  baseUnit: number;
80
81
  };
81
- amount: number;
82
82
  };
83
83
  entitlementStatus: unknown[];
84
84
  metadata?: unknown;
@@ -98,17 +98,18 @@ declare class ApiClient {
98
98
  }>;
99
99
  retrieveSite(): Promise<{
100
100
  name: string;
101
+ testMode: boolean;
101
102
  offerings: {
102
103
  id: string;
103
104
  description: string;
104
105
  price: {
106
+ amount: number;
105
107
  currency: {
106
108
  symbol: string;
107
109
  code: string;
108
110
  name: string;
109
111
  baseUnit: number;
110
112
  };
111
- amount: number;
112
113
  };
113
114
  entitlementDetails: null[] | {
114
115
  contentKey: string;
@@ -121,7 +122,6 @@ declare class ApiClient {
121
122
  }[] | null;
122
123
  isPayNow: boolean;
123
124
  }[];
124
- testMode: boolean;
125
125
  url: string;
126
126
  authRedirectUri: string;
127
127
  logoUrl: string | (string | null)[] | null;
@@ -134,9 +134,9 @@ declare class ApiClient {
134
134
  configuration: {
135
135
  onClose: string | (string | null)[] | null;
136
136
  upsells: {
137
- discount: number;
138
137
  mainOffering: string;
139
138
  upsellOffering: string;
139
+ discount: number;
140
140
  }[];
141
141
  uiConfig?: unknown;
142
142
  };
@@ -153,13 +153,13 @@ declare class ApiClient {
153
153
  completedAt: string | (string | null)[] | null;
154
154
  description: string;
155
155
  price: {
156
+ amount: number;
156
157
  currency: {
157
158
  symbol: string;
158
159
  code: string;
159
160
  name: string;
160
161
  baseUnit: number;
161
162
  };
162
- amount: number;
163
163
  };
164
164
  entitlementStatus: {
165
165
  contentKey: string;
@@ -184,13 +184,13 @@ declare class ApiClient {
184
184
  completedAt: string | (string | null)[] | null;
185
185
  description: string;
186
186
  price: {
187
+ amount: number;
187
188
  currency: {
188
189
  symbol: string;
189
190
  code: string;
190
191
  name: string;
191
192
  baseUnit: number;
192
193
  };
193
- amount: number;
194
194
  };
195
195
  entitlementStatus: {
196
196
  contentKey: string;
@@ -220,13 +220,13 @@ declare class ApiClient {
220
220
  completedAt: string | (string | null)[] | null;
221
221
  description: string;
222
222
  price: {
223
+ amount: number;
223
224
  currency: {
224
225
  symbol: string;
225
226
  code: string;
226
227
  name: string;
227
228
  baseUnit: number;
228
229
  };
229
- amount: number;
230
230
  };
231
231
  entitlementStatus: {
232
232
  contentKey: string;
@@ -1,4 +1,4 @@
1
- import { S as e } from "./supertab-KsKowPRH.js";
1
+ import { S as e } from "./supertab-CTNMCVTA.js";
2
2
  export {
3
3
  e as Supertab
4
4
  };
package/package.json CHANGED
@@ -22,7 +22,7 @@
22
22
  "engines": {
23
23
  "node": ">=22.13.1"
24
24
  },
25
- "version": "3.36.1",
25
+ "version": "3.38.0",
26
26
  "type": "module",
27
27
  "scripts": {
28
28
  "dev": "vite --config .vite/vite.dev.config.ts",