@getsupertab/supertab-js 3.17.1 → 3.17.3
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/pkg/prod/{browser-ponyfill-ZriHVq5V.js → browser-ponyfill-Bex6f9dU.js} +1 -1
- package/dist/pkg/prod/{sentry-DSAmHM9K.js → sentry-Dw1PcQ9C.js} +1 -1
- package/dist/pkg/prod/{supertab-CEkAkDWI.js → supertab-BdjeLU8f.js} +9538 -9504
- package/dist/pkg/prod/supertab.d.ts +19 -11
- package/dist/pkg/prod/supertab.js +1 -1
- package/package.json +1 -1
|
@@ -3,6 +3,12 @@ declare class ApiClient {
|
|
|
3
3
|
constructor(apiConfig: Configuration);
|
|
4
4
|
retrieveCustomer(): Promise<{
|
|
5
5
|
authenticated: boolean;
|
|
6
|
+
user: {
|
|
7
|
+
id: string;
|
|
8
|
+
email: string | null;
|
|
9
|
+
firstName: string | null;
|
|
10
|
+
lastName: string | null;
|
|
11
|
+
} | null;
|
|
6
12
|
tab: {
|
|
7
13
|
currency: {
|
|
8
14
|
symbol: string;
|
|
@@ -33,7 +39,8 @@ declare class ApiClient {
|
|
|
33
39
|
status: "completed" | "pending" | "abandoned";
|
|
34
40
|
id: string;
|
|
35
41
|
offeringId: string;
|
|
36
|
-
|
|
42
|
+
onetimeOfferingId: string | null;
|
|
43
|
+
purchasedAt: string | (string | null)[] | null;
|
|
37
44
|
completedAt: string | (string | null)[] | null;
|
|
38
45
|
description: string;
|
|
39
46
|
price: {
|
|
@@ -45,12 +52,12 @@ declare class ApiClient {
|
|
|
45
52
|
};
|
|
46
53
|
amount: number;
|
|
47
54
|
};
|
|
48
|
-
entitlementStatus:
|
|
55
|
+
entitlementStatus: {
|
|
49
56
|
contentKey: string;
|
|
50
57
|
hasEntitlement: boolean;
|
|
51
58
|
expires: string | (string | null)[] | null;
|
|
52
59
|
recursAt: string | (string | null)[] | null;
|
|
53
|
-
} | {
|
|
60
|
+
} | null[] | {
|
|
54
61
|
contentKey: string;
|
|
55
62
|
hasEntitlement: boolean;
|
|
56
63
|
expires: string | (string | null)[] | null;
|
|
@@ -116,6 +123,7 @@ declare class ApiClient {
|
|
|
116
123
|
}[];
|
|
117
124
|
testMode: boolean;
|
|
118
125
|
url: string;
|
|
126
|
+
authRedirectUri: string;
|
|
119
127
|
logoUrl: string | (string | null)[] | null;
|
|
120
128
|
contentKeys: string[];
|
|
121
129
|
experiences: {
|
|
@@ -140,7 +148,8 @@ declare class ApiClient {
|
|
|
140
148
|
status: "completed" | "pending" | "abandoned";
|
|
141
149
|
id: string;
|
|
142
150
|
offeringId: string;
|
|
143
|
-
|
|
151
|
+
onetimeOfferingId: string | null;
|
|
152
|
+
purchasedAt: string | (string | null)[] | null;
|
|
144
153
|
completedAt: string | (string | null)[] | null;
|
|
145
154
|
description: string;
|
|
146
155
|
price: {
|
|
@@ -152,12 +161,12 @@ declare class ApiClient {
|
|
|
152
161
|
};
|
|
153
162
|
amount: number;
|
|
154
163
|
};
|
|
155
|
-
entitlementStatus:
|
|
164
|
+
entitlementStatus: {
|
|
156
165
|
contentKey: string;
|
|
157
166
|
hasEntitlement: boolean;
|
|
158
167
|
expires: string | (string | null)[] | null;
|
|
159
168
|
recursAt: string | (string | null)[] | null;
|
|
160
|
-
} | {
|
|
169
|
+
} | null[] | {
|
|
161
170
|
contentKey: string;
|
|
162
171
|
hasEntitlement: boolean;
|
|
163
172
|
expires: string | (string | null)[] | null;
|
|
@@ -170,7 +179,8 @@ declare class ApiClient {
|
|
|
170
179
|
status: "completed" | "pending" | "abandoned";
|
|
171
180
|
id: string;
|
|
172
181
|
offeringId: string;
|
|
173
|
-
|
|
182
|
+
onetimeOfferingId: string | null;
|
|
183
|
+
purchasedAt: string | (string | null)[] | null;
|
|
174
184
|
completedAt: string | (string | null)[] | null;
|
|
175
185
|
description: string;
|
|
176
186
|
price: {
|
|
@@ -182,12 +192,12 @@ declare class ApiClient {
|
|
|
182
192
|
};
|
|
183
193
|
amount: number;
|
|
184
194
|
};
|
|
185
|
-
entitlementStatus:
|
|
195
|
+
entitlementStatus: {
|
|
186
196
|
contentKey: string;
|
|
187
197
|
hasEntitlement: boolean;
|
|
188
198
|
expires: string | (string | null)[] | null;
|
|
189
199
|
recursAt: string | (string | null)[] | null;
|
|
190
|
-
} | {
|
|
200
|
+
} | null[] | {
|
|
191
201
|
contentKey: string;
|
|
192
202
|
hasEntitlement: boolean;
|
|
193
203
|
expires: string | (string | null)[] | null;
|
|
@@ -200,8 +210,6 @@ declare class ApiClient {
|
|
|
200
210
|
next: string;
|
|
201
211
|
reason: string;
|
|
202
212
|
} | null;
|
|
203
|
-
rejectionReason?: string | undefined;
|
|
204
|
-
purchaseOutcome?: string | undefined;
|
|
205
213
|
} | undefined>;
|
|
206
214
|
}
|
|
207
215
|
|