@cimplify/sdk 0.64.1 → 0.66.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.
- package/dist/advanced.d.mts +1 -1
- package/dist/advanced.d.ts +1 -1
- package/dist/advanced.js +20 -20
- package/dist/advanced.mjs +1 -1
- package/dist/{chunk-SQ7U3BWY.mjs → chunk-227XTAEB.mjs} +52 -25
- package/dist/{chunk-2AU263DK.mjs → chunk-3Z3FQH7X.mjs} +1 -1
- package/dist/{chunk-XSOYJLMZ.mjs → chunk-7BKKBJQM.mjs} +10 -3
- package/dist/{chunk-JGBDWEPJ.js → chunk-AVQL3TSJ.js} +3 -0
- package/dist/{chunk-6DMHVQ42.js → chunk-GDAGM26J.js} +4 -4
- package/dist/{chunk-6W3AH4QW.js → chunk-H6DBPHMZ.js} +2 -2
- package/dist/{chunk-MW7ICTVK.js → chunk-J3MGY6AU.js} +86 -59
- package/dist/{chunk-DKT62WQW.js → chunk-KWYI2TTA.js} +10 -3
- package/dist/{chunk-F4WS3OIF.mjs → chunk-MWI5GAUF.mjs} +1 -1
- package/dist/{chunk-I4IXPQIX.mjs → chunk-R6363CC7.mjs} +3 -0
- package/dist/{client-Dfg_hmkP.d.ts → client-Bo5rujc2.d.ts} +8 -2
- package/dist/{client-Bhvlelij.d.mts → client-CUrA1uQ0.d.mts} +1 -1
- package/dist/{client-DlGJqSDd.d.ts → client-DasPHOJh.d.ts} +1 -1
- package/dist/{client-DKg-5OWu.d.mts → client-Dka2cGhu.d.mts} +8 -2
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +78 -78
- package/dist/index.mjs +5 -5
- package/dist/react.d.mts +1 -1
- package/dist/react.d.ts +1 -1
- package/dist/react.js +64 -64
- package/dist/react.mjs +5 -5
- package/dist/server.d.mts +18 -3
- package/dist/server.d.ts +18 -3
- package/dist/server.js +167 -28
- package/dist/server.mjs +159 -24
- package/dist/styles.css +1 -1
- package/dist/testing/suite.d.mts +2 -2
- package/dist/testing/suite.d.ts +2 -2
- package/dist/testing/suite.js +22 -22
- package/dist/testing/suite.mjs +3 -3
- package/dist/testing.d.mts +2 -2
- package/dist/testing.d.ts +2 -2
- package/dist/testing.js +78 -78
- package/dist/testing.mjs +4 -4
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkGDAGM26J_js = require('./chunk-GDAGM26J.js');
|
|
4
4
|
var chunkL5GKVQVJ_js = require('./chunk-L5GKVQVJ.js');
|
|
5
|
-
var
|
|
6
|
-
var
|
|
7
|
-
var
|
|
5
|
+
var chunkKWYI2TTA_js = require('./chunk-KWYI2TTA.js');
|
|
6
|
+
var chunkJ3MGY6AU_js = require('./chunk-J3MGY6AU.js');
|
|
7
|
+
var chunkAVQL3TSJ_js = require('./chunk-AVQL3TSJ.js');
|
|
8
8
|
var chunk7Y2O3E4D_js = require('./chunk-7Y2O3E4D.js');
|
|
9
9
|
var chunkXA3ZNR75_js = require('./chunk-XA3ZNR75.js');
|
|
10
10
|
require('./chunk-OWW5GUSB.js');
|
|
@@ -23,9 +23,9 @@ async function signInSilent(opts) {
|
|
|
23
23
|
} catch {
|
|
24
24
|
}
|
|
25
25
|
const callbackUri = opts.callbackUri ?? "/auth/callback";
|
|
26
|
-
const authorizeEndpoint = opts.authUrl ? `${opts.authUrl.replace(/\/$/, "")}/oauth/authorize` : await
|
|
27
|
-
const pkce = await
|
|
28
|
-
const state =
|
|
26
|
+
const authorizeEndpoint = opts.authUrl ? `${opts.authUrl.replace(/\/$/, "")}/oauth/authorize` : await chunkKWYI2TTA_js.getAuthorizationEndpoint(opts.issuer ?? chunkKWYI2TTA_js.DEFAULT_ISSUER);
|
|
27
|
+
const pkce = await chunkGDAGM26J_js.generatePkce();
|
|
28
|
+
const state = chunkGDAGM26J_js.generateState();
|
|
29
29
|
const params = new URLSearchParams({
|
|
30
30
|
response_type: "code",
|
|
31
31
|
response_mode: "web_message",
|
|
@@ -95,51 +95,51 @@ async function signInSilent(opts) {
|
|
|
95
95
|
|
|
96
96
|
Object.defineProperty(exports, "CIMPLIFY_CDN_HOSTS", {
|
|
97
97
|
enumerable: true,
|
|
98
|
-
get: function () { return
|
|
98
|
+
get: function () { return chunkGDAGM26J_js.CIMPLIFY_CDN_HOSTS; }
|
|
99
99
|
});
|
|
100
100
|
Object.defineProperty(exports, "DEFAULT_CDN_BASE_URL", {
|
|
101
101
|
enumerable: true,
|
|
102
|
-
get: function () { return
|
|
102
|
+
get: function () { return chunkGDAGM26J_js.DEFAULT_CDN_BASE_URL; }
|
|
103
103
|
});
|
|
104
104
|
Object.defineProperty(exports, "DURATION_UNIT", {
|
|
105
105
|
enumerable: true,
|
|
106
|
-
get: function () { return
|
|
106
|
+
get: function () { return chunkGDAGM26J_js.DURATION_UNIT; }
|
|
107
107
|
});
|
|
108
108
|
Object.defineProperty(exports, "INPUT_FIELD_TYPE", {
|
|
109
109
|
enumerable: true,
|
|
110
|
-
get: function () { return
|
|
110
|
+
get: function () { return chunkGDAGM26J_js.INPUT_FIELD_TYPE; }
|
|
111
111
|
});
|
|
112
112
|
Object.defineProperty(exports, "PRODUCT_TYPE", {
|
|
113
113
|
enumerable: true,
|
|
114
|
-
get: function () { return
|
|
114
|
+
get: function () { return chunkGDAGM26J_js.PRODUCT_TYPE; }
|
|
115
115
|
});
|
|
116
116
|
Object.defineProperty(exports, "RENDER_HINT", {
|
|
117
117
|
enumerable: true,
|
|
118
|
-
get: function () { return
|
|
118
|
+
get: function () { return chunkGDAGM26J_js.RENDER_HINT; }
|
|
119
119
|
});
|
|
120
120
|
Object.defineProperty(exports, "allGalleryImages", {
|
|
121
121
|
enumerable: true,
|
|
122
|
-
get: function () { return
|
|
122
|
+
get: function () { return chunkGDAGM26J_js.allGalleryImages; }
|
|
123
123
|
});
|
|
124
124
|
Object.defineProperty(exports, "assetUrl", {
|
|
125
125
|
enumerable: true,
|
|
126
|
-
get: function () { return
|
|
126
|
+
get: function () { return chunkGDAGM26J_js.assetUrl; }
|
|
127
127
|
});
|
|
128
128
|
Object.defineProperty(exports, "getVariantDisplayName", {
|
|
129
129
|
enumerable: true,
|
|
130
|
-
get: function () { return
|
|
130
|
+
get: function () { return chunkGDAGM26J_js.getVariantDisplayName; }
|
|
131
131
|
});
|
|
132
132
|
Object.defineProperty(exports, "isCimplifyAsset", {
|
|
133
133
|
enumerable: true,
|
|
134
|
-
get: function () { return
|
|
134
|
+
get: function () { return chunkGDAGM26J_js.isCimplifyAsset; }
|
|
135
135
|
});
|
|
136
136
|
Object.defineProperty(exports, "resolveGallery", {
|
|
137
137
|
enumerable: true,
|
|
138
|
-
get: function () { return
|
|
138
|
+
get: function () { return chunkGDAGM26J_js.resolveGallery; }
|
|
139
139
|
});
|
|
140
140
|
Object.defineProperty(exports, "startSignIn", {
|
|
141
141
|
enumerable: true,
|
|
142
|
-
get: function () { return
|
|
142
|
+
get: function () { return chunkGDAGM26J_js.startSignIn; }
|
|
143
143
|
});
|
|
144
144
|
Object.defineProperty(exports, "isValidPhoneForContext", {
|
|
145
145
|
enumerable: true,
|
|
@@ -155,239 +155,239 @@ Object.defineProperty(exports, "resolvePhoneCountryCode", {
|
|
|
155
155
|
});
|
|
156
156
|
Object.defineProperty(exports, "ActivityService", {
|
|
157
157
|
enumerable: true,
|
|
158
|
-
get: function () { return
|
|
158
|
+
get: function () { return chunkJ3MGY6AU_js.ActivityService; }
|
|
159
159
|
});
|
|
160
160
|
Object.defineProperty(exports, "CimplifyClient", {
|
|
161
161
|
enumerable: true,
|
|
162
|
-
get: function () { return
|
|
162
|
+
get: function () { return chunkJ3MGY6AU_js.CimplifyClient; }
|
|
163
163
|
});
|
|
164
164
|
Object.defineProperty(exports, "DeliveryService", {
|
|
165
165
|
enumerable: true,
|
|
166
|
-
get: function () { return
|
|
166
|
+
get: function () { return chunkJ3MGY6AU_js.DeliveryService; }
|
|
167
167
|
});
|
|
168
168
|
Object.defineProperty(exports, "PlacesService", {
|
|
169
169
|
enumerable: true,
|
|
170
|
-
get: function () { return
|
|
170
|
+
get: function () { return chunkJ3MGY6AU_js.PlacesService; }
|
|
171
171
|
});
|
|
172
172
|
Object.defineProperty(exports, "SubscriptionService", {
|
|
173
173
|
enumerable: true,
|
|
174
|
-
get: function () { return
|
|
174
|
+
get: function () { return chunkJ3MGY6AU_js.SubscriptionService; }
|
|
175
175
|
});
|
|
176
176
|
Object.defineProperty(exports, "SupportService", {
|
|
177
177
|
enumerable: true,
|
|
178
|
-
get: function () { return
|
|
178
|
+
get: function () { return chunkJ3MGY6AU_js.SupportService; }
|
|
179
179
|
});
|
|
180
180
|
Object.defineProperty(exports, "UploadService", {
|
|
181
181
|
enumerable: true,
|
|
182
|
-
get: function () { return
|
|
182
|
+
get: function () { return chunkJ3MGY6AU_js.UploadService; }
|
|
183
183
|
});
|
|
184
184
|
Object.defineProperty(exports, "createCimplifyClient", {
|
|
185
185
|
enumerable: true,
|
|
186
|
-
get: function () { return
|
|
186
|
+
get: function () { return chunkJ3MGY6AU_js.createCimplifyClient; }
|
|
187
187
|
});
|
|
188
188
|
Object.defineProperty(exports, "AUTHORIZATION_TYPE", {
|
|
189
189
|
enumerable: true,
|
|
190
|
-
get: function () { return
|
|
190
|
+
get: function () { return chunkAVQL3TSJ_js.AUTHORIZATION_TYPE; }
|
|
191
191
|
});
|
|
192
192
|
Object.defineProperty(exports, "AUTH_MUTATION", {
|
|
193
193
|
enumerable: true,
|
|
194
|
-
get: function () { return
|
|
194
|
+
get: function () { return chunkAVQL3TSJ_js.AUTH_MUTATION; }
|
|
195
195
|
});
|
|
196
196
|
Object.defineProperty(exports, "AuthService", {
|
|
197
197
|
enumerable: true,
|
|
198
|
-
get: function () { return
|
|
198
|
+
get: function () { return chunkAVQL3TSJ_js.AuthService; }
|
|
199
199
|
});
|
|
200
200
|
Object.defineProperty(exports, "BusinessService", {
|
|
201
201
|
enumerable: true,
|
|
202
|
-
get: function () { return
|
|
202
|
+
get: function () { return chunkAVQL3TSJ_js.BusinessService; }
|
|
203
203
|
});
|
|
204
204
|
Object.defineProperty(exports, "CHECKOUT_MODE", {
|
|
205
205
|
enumerable: true,
|
|
206
|
-
get: function () { return
|
|
206
|
+
get: function () { return chunkAVQL3TSJ_js.CHECKOUT_MODE; }
|
|
207
207
|
});
|
|
208
208
|
Object.defineProperty(exports, "CHECKOUT_MUTATION", {
|
|
209
209
|
enumerable: true,
|
|
210
|
-
get: function () { return
|
|
210
|
+
get: function () { return chunkAVQL3TSJ_js.CHECKOUT_MUTATION; }
|
|
211
211
|
});
|
|
212
212
|
Object.defineProperty(exports, "CHECKOUT_STEP", {
|
|
213
213
|
enumerable: true,
|
|
214
|
-
get: function () { return
|
|
214
|
+
get: function () { return chunkAVQL3TSJ_js.CHECKOUT_STEP; }
|
|
215
215
|
});
|
|
216
216
|
Object.defineProperty(exports, "CONTACT_TYPE", {
|
|
217
217
|
enumerable: true,
|
|
218
|
-
get: function () { return
|
|
218
|
+
get: function () { return chunkAVQL3TSJ_js.CONTACT_TYPE; }
|
|
219
219
|
});
|
|
220
220
|
Object.defineProperty(exports, "CartOperations", {
|
|
221
221
|
enumerable: true,
|
|
222
|
-
get: function () { return
|
|
222
|
+
get: function () { return chunkAVQL3TSJ_js.CartOperations; }
|
|
223
223
|
});
|
|
224
224
|
Object.defineProperty(exports, "CatalogueQueries", {
|
|
225
225
|
enumerable: true,
|
|
226
|
-
get: function () { return
|
|
226
|
+
get: function () { return chunkAVQL3TSJ_js.CatalogueQueries; }
|
|
227
227
|
});
|
|
228
228
|
Object.defineProperty(exports, "CheckoutOperations", {
|
|
229
229
|
enumerable: true,
|
|
230
|
-
get: function () { return
|
|
230
|
+
get: function () { return chunkAVQL3TSJ_js.CheckoutService; }
|
|
231
231
|
});
|
|
232
232
|
Object.defineProperty(exports, "CheckoutService", {
|
|
233
233
|
enumerable: true,
|
|
234
|
-
get: function () { return
|
|
234
|
+
get: function () { return chunkAVQL3TSJ_js.CheckoutService; }
|
|
235
235
|
});
|
|
236
236
|
Object.defineProperty(exports, "CimplifyElement", {
|
|
237
237
|
enumerable: true,
|
|
238
|
-
get: function () { return
|
|
238
|
+
get: function () { return chunkAVQL3TSJ_js.CimplifyElement; }
|
|
239
239
|
});
|
|
240
240
|
Object.defineProperty(exports, "CimplifyElements", {
|
|
241
241
|
enumerable: true,
|
|
242
|
-
get: function () { return
|
|
242
|
+
get: function () { return chunkAVQL3TSJ_js.CimplifyElements; }
|
|
243
243
|
});
|
|
244
244
|
Object.defineProperty(exports, "DEFAULT_COUNTRY", {
|
|
245
245
|
enumerable: true,
|
|
246
|
-
get: function () { return
|
|
246
|
+
get: function () { return chunkAVQL3TSJ_js.DEFAULT_COUNTRY; }
|
|
247
247
|
});
|
|
248
248
|
Object.defineProperty(exports, "DEFAULT_CURRENCY", {
|
|
249
249
|
enumerable: true,
|
|
250
|
-
get: function () { return
|
|
250
|
+
get: function () { return chunkAVQL3TSJ_js.DEFAULT_CURRENCY; }
|
|
251
251
|
});
|
|
252
252
|
Object.defineProperty(exports, "DEVICE_TYPE", {
|
|
253
253
|
enumerable: true,
|
|
254
|
-
get: function () { return
|
|
254
|
+
get: function () { return chunkAVQL3TSJ_js.DEVICE_TYPE; }
|
|
255
255
|
});
|
|
256
256
|
Object.defineProperty(exports, "ELEMENT_TYPES", {
|
|
257
257
|
enumerable: true,
|
|
258
|
-
get: function () { return
|
|
258
|
+
get: function () { return chunkAVQL3TSJ_js.ELEMENT_TYPES; }
|
|
259
259
|
});
|
|
260
260
|
Object.defineProperty(exports, "EVENT_TYPES", {
|
|
261
261
|
enumerable: true,
|
|
262
|
-
get: function () { return
|
|
262
|
+
get: function () { return chunkAVQL3TSJ_js.EVENT_TYPES; }
|
|
263
263
|
});
|
|
264
264
|
Object.defineProperty(exports, "FxService", {
|
|
265
265
|
enumerable: true,
|
|
266
|
-
get: function () { return
|
|
266
|
+
get: function () { return chunkAVQL3TSJ_js.FxService; }
|
|
267
267
|
});
|
|
268
268
|
Object.defineProperty(exports, "InventoryService", {
|
|
269
269
|
enumerable: true,
|
|
270
|
-
get: function () { return
|
|
270
|
+
get: function () { return chunkAVQL3TSJ_js.InventoryService; }
|
|
271
271
|
});
|
|
272
272
|
Object.defineProperty(exports, "LINK_MUTATION", {
|
|
273
273
|
enumerable: true,
|
|
274
|
-
get: function () { return
|
|
274
|
+
get: function () { return chunkAVQL3TSJ_js.LINK_MUTATION; }
|
|
275
275
|
});
|
|
276
276
|
Object.defineProperty(exports, "LINK_QUERY", {
|
|
277
277
|
enumerable: true,
|
|
278
|
-
get: function () { return
|
|
278
|
+
get: function () { return chunkAVQL3TSJ_js.LINK_QUERY; }
|
|
279
279
|
});
|
|
280
280
|
Object.defineProperty(exports, "LinkService", {
|
|
281
281
|
enumerable: true,
|
|
282
|
-
get: function () { return
|
|
282
|
+
get: function () { return chunkAVQL3TSJ_js.LinkService; }
|
|
283
283
|
});
|
|
284
284
|
Object.defineProperty(exports, "LiteService", {
|
|
285
285
|
enumerable: true,
|
|
286
|
-
get: function () { return
|
|
286
|
+
get: function () { return chunkAVQL3TSJ_js.LiteService; }
|
|
287
287
|
});
|
|
288
288
|
Object.defineProperty(exports, "MESSAGE_TYPES", {
|
|
289
289
|
enumerable: true,
|
|
290
|
-
get: function () { return
|
|
290
|
+
get: function () { return chunkAVQL3TSJ_js.MESSAGE_TYPES; }
|
|
291
291
|
});
|
|
292
292
|
Object.defineProperty(exports, "MOBILE_MONEY_PROVIDER", {
|
|
293
293
|
enumerable: true,
|
|
294
|
-
get: function () { return
|
|
294
|
+
get: function () { return chunkAVQL3TSJ_js.MOBILE_MONEY_PROVIDER; }
|
|
295
295
|
});
|
|
296
296
|
Object.defineProperty(exports, "ORDER_MUTATION", {
|
|
297
297
|
enumerable: true,
|
|
298
|
-
get: function () { return
|
|
298
|
+
get: function () { return chunkAVQL3TSJ_js.ORDER_MUTATION; }
|
|
299
299
|
});
|
|
300
300
|
Object.defineProperty(exports, "ORDER_TYPE", {
|
|
301
301
|
enumerable: true,
|
|
302
|
-
get: function () { return
|
|
302
|
+
get: function () { return chunkAVQL3TSJ_js.ORDER_TYPE; }
|
|
303
303
|
});
|
|
304
304
|
Object.defineProperty(exports, "OrderQueries", {
|
|
305
305
|
enumerable: true,
|
|
306
|
-
get: function () { return
|
|
306
|
+
get: function () { return chunkAVQL3TSJ_js.OrderQueries; }
|
|
307
307
|
});
|
|
308
308
|
Object.defineProperty(exports, "PAYMENT_METHOD", {
|
|
309
309
|
enumerable: true,
|
|
310
|
-
get: function () { return
|
|
310
|
+
get: function () { return chunkAVQL3TSJ_js.PAYMENT_METHOD; }
|
|
311
311
|
});
|
|
312
312
|
Object.defineProperty(exports, "PAYMENT_MUTATION", {
|
|
313
313
|
enumerable: true,
|
|
314
|
-
get: function () { return
|
|
314
|
+
get: function () { return chunkAVQL3TSJ_js.PAYMENT_MUTATION; }
|
|
315
315
|
});
|
|
316
316
|
Object.defineProperty(exports, "PAYMENT_STATE", {
|
|
317
317
|
enumerable: true,
|
|
318
|
-
get: function () { return
|
|
318
|
+
get: function () { return chunkAVQL3TSJ_js.PAYMENT_STATE; }
|
|
319
319
|
});
|
|
320
320
|
Object.defineProperty(exports, "PICKUP_TIME_TYPE", {
|
|
321
321
|
enumerable: true,
|
|
322
|
-
get: function () { return
|
|
322
|
+
get: function () { return chunkAVQL3TSJ_js.PICKUP_TIME_TYPE; }
|
|
323
323
|
});
|
|
324
324
|
Object.defineProperty(exports, "SchedulingService", {
|
|
325
325
|
enumerable: true,
|
|
326
|
-
get: function () { return
|
|
326
|
+
get: function () { return chunkAVQL3TSJ_js.SchedulingService; }
|
|
327
327
|
});
|
|
328
328
|
Object.defineProperty(exports, "combine", {
|
|
329
329
|
enumerable: true,
|
|
330
|
-
get: function () { return
|
|
330
|
+
get: function () { return chunkAVQL3TSJ_js.combine; }
|
|
331
331
|
});
|
|
332
332
|
Object.defineProperty(exports, "combineObject", {
|
|
333
333
|
enumerable: true,
|
|
334
|
-
get: function () { return
|
|
334
|
+
get: function () { return chunkAVQL3TSJ_js.combineObject; }
|
|
335
335
|
});
|
|
336
336
|
Object.defineProperty(exports, "createElements", {
|
|
337
337
|
enumerable: true,
|
|
338
|
-
get: function () { return
|
|
338
|
+
get: function () { return chunkAVQL3TSJ_js.createElements; }
|
|
339
339
|
});
|
|
340
340
|
Object.defineProperty(exports, "err", {
|
|
341
341
|
enumerable: true,
|
|
342
|
-
get: function () { return
|
|
342
|
+
get: function () { return chunkAVQL3TSJ_js.err; }
|
|
343
343
|
});
|
|
344
344
|
Object.defineProperty(exports, "flatMap", {
|
|
345
345
|
enumerable: true,
|
|
346
|
-
get: function () { return
|
|
346
|
+
get: function () { return chunkAVQL3TSJ_js.flatMap; }
|
|
347
347
|
});
|
|
348
348
|
Object.defineProperty(exports, "fromPromise", {
|
|
349
349
|
enumerable: true,
|
|
350
|
-
get: function () { return
|
|
350
|
+
get: function () { return chunkAVQL3TSJ_js.fromPromise; }
|
|
351
351
|
});
|
|
352
352
|
Object.defineProperty(exports, "generateIdempotencyKey", {
|
|
353
353
|
enumerable: true,
|
|
354
|
-
get: function () { return
|
|
354
|
+
get: function () { return chunkAVQL3TSJ_js.generateIdempotencyKey; }
|
|
355
355
|
});
|
|
356
356
|
Object.defineProperty(exports, "getOrElse", {
|
|
357
357
|
enumerable: true,
|
|
358
|
-
get: function () { return
|
|
358
|
+
get: function () { return chunkAVQL3TSJ_js.getOrElse; }
|
|
359
359
|
});
|
|
360
360
|
Object.defineProperty(exports, "isErr", {
|
|
361
361
|
enumerable: true,
|
|
362
|
-
get: function () { return
|
|
362
|
+
get: function () { return chunkAVQL3TSJ_js.isErr; }
|
|
363
363
|
});
|
|
364
364
|
Object.defineProperty(exports, "isOk", {
|
|
365
365
|
enumerable: true,
|
|
366
|
-
get: function () { return
|
|
366
|
+
get: function () { return chunkAVQL3TSJ_js.isOk; }
|
|
367
367
|
});
|
|
368
368
|
Object.defineProperty(exports, "mapError", {
|
|
369
369
|
enumerable: true,
|
|
370
|
-
get: function () { return
|
|
370
|
+
get: function () { return chunkAVQL3TSJ_js.mapError; }
|
|
371
371
|
});
|
|
372
372
|
Object.defineProperty(exports, "mapResult", {
|
|
373
373
|
enumerable: true,
|
|
374
|
-
get: function () { return
|
|
374
|
+
get: function () { return chunkAVQL3TSJ_js.mapResult; }
|
|
375
375
|
});
|
|
376
376
|
Object.defineProperty(exports, "ok", {
|
|
377
377
|
enumerable: true,
|
|
378
|
-
get: function () { return
|
|
378
|
+
get: function () { return chunkAVQL3TSJ_js.ok; }
|
|
379
379
|
});
|
|
380
380
|
Object.defineProperty(exports, "toNullable", {
|
|
381
381
|
enumerable: true,
|
|
382
|
-
get: function () { return
|
|
382
|
+
get: function () { return chunkAVQL3TSJ_js.toNullable; }
|
|
383
383
|
});
|
|
384
384
|
Object.defineProperty(exports, "tryCatch", {
|
|
385
385
|
enumerable: true,
|
|
386
|
-
get: function () { return
|
|
386
|
+
get: function () { return chunkAVQL3TSJ_js.tryCatch; }
|
|
387
387
|
});
|
|
388
388
|
Object.defineProperty(exports, "unwrap", {
|
|
389
389
|
enumerable: true,
|
|
390
|
-
get: function () { return
|
|
390
|
+
get: function () { return chunkAVQL3TSJ_js.unwrap; }
|
|
391
391
|
});
|
|
392
392
|
Object.defineProperty(exports, "CURRENCY_SYMBOLS", {
|
|
393
393
|
enumerable: true,
|
package/dist/index.mjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { generatePkce, generateState } from './chunk-
|
|
2
|
-
export { CIMPLIFY_CDN_HOSTS, DEFAULT_CDN_BASE_URL, DURATION_UNIT, INPUT_FIELD_TYPE, PRODUCT_TYPE, RENDER_HINT, allGalleryImages, assetUrl, getVariantDisplayName, isCimplifyAsset, resolveGallery, startSignIn } from './chunk-
|
|
1
|
+
import { generatePkce, generateState } from './chunk-3Z3FQH7X.mjs';
|
|
2
|
+
export { CIMPLIFY_CDN_HOSTS, DEFAULT_CDN_BASE_URL, DURATION_UNIT, INPUT_FIELD_TYPE, PRODUCT_TYPE, RENDER_HINT, allGalleryImages, assetUrl, getVariantDisplayName, isCimplifyAsset, resolveGallery, startSignIn } from './chunk-3Z3FQH7X.mjs';
|
|
3
3
|
export { isValidPhoneForContext, normalizePhoneToE164, resolvePhoneCountryCode } from './chunk-YOIVZ6OA.mjs';
|
|
4
|
-
import { getAuthorizationEndpoint, DEFAULT_ISSUER } from './chunk-
|
|
5
|
-
export { ActivityService, CimplifyClient, DeliveryService, PlacesService, SubscriptionService, SupportService, UploadService, createCimplifyClient } from './chunk-
|
|
6
|
-
export { AUTHORIZATION_TYPE, AUTH_MUTATION, AuthService, BusinessService, CHECKOUT_MODE, CHECKOUT_MUTATION, CHECKOUT_STEP, CONTACT_TYPE, CartOperations, CatalogueQueries, CheckoutService as CheckoutOperations, CheckoutService, CimplifyElement, CimplifyElements, DEFAULT_COUNTRY, DEFAULT_CURRENCY, DEVICE_TYPE, ELEMENT_TYPES, EVENT_TYPES, FxService, InventoryService, LINK_MUTATION, LINK_QUERY, LinkService, LiteService, MESSAGE_TYPES, MOBILE_MONEY_PROVIDER, ORDER_MUTATION, ORDER_TYPE, OrderQueries, PAYMENT_METHOD, PAYMENT_MUTATION, PAYMENT_STATE, PICKUP_TIME_TYPE, SchedulingService, combine, combineObject, createElements, err, flatMap, fromPromise, generateIdempotencyKey, getOrElse, isErr, isOk, mapError, mapResult, ok, toNullable, tryCatch, unwrap } from './chunk-
|
|
4
|
+
import { getAuthorizationEndpoint, DEFAULT_ISSUER } from './chunk-7BKKBJQM.mjs';
|
|
5
|
+
export { ActivityService, CimplifyClient, DeliveryService, PlacesService, SubscriptionService, SupportService, UploadService, createCimplifyClient } from './chunk-227XTAEB.mjs';
|
|
6
|
+
export { AUTHORIZATION_TYPE, AUTH_MUTATION, AuthService, BusinessService, CHECKOUT_MODE, CHECKOUT_MUTATION, CHECKOUT_STEP, CONTACT_TYPE, CartOperations, CatalogueQueries, CheckoutService as CheckoutOperations, CheckoutService, CimplifyElement, CimplifyElements, DEFAULT_COUNTRY, DEFAULT_CURRENCY, DEVICE_TYPE, ELEMENT_TYPES, EVENT_TYPES, FxService, InventoryService, LINK_MUTATION, LINK_QUERY, LinkService, LiteService, MESSAGE_TYPES, MOBILE_MONEY_PROVIDER, ORDER_MUTATION, ORDER_TYPE, OrderQueries, PAYMENT_METHOD, PAYMENT_MUTATION, PAYMENT_STATE, PICKUP_TIME_TYPE, SchedulingService, combine, combineObject, createElements, err, flatMap, fromPromise, generateIdempotencyKey, getOrElse, isErr, isOk, mapError, mapResult, ok, toNullable, tryCatch, unwrap } from './chunk-R6363CC7.mjs';
|
|
7
7
|
export { CURRENCY_SYMBOLS, MOBILE_MONEY_PROVIDERS, categorizePaymentError, detectMobileMoneyProvider, formatMoney, formatNumberCompact, formatPrice, formatPriceAdjustment, formatPriceCompact, formatPriceRange, formatPriceWithTax, formatProductPrice, getBasePrice, getCurrencySymbol, getDiscountPercentage, getDisplayPrice, getMarkupPercentage, getPriceRange, getProductCurrency, getTaxAmount, getUnitPriceAtQuantity, hasTaxInfo, isOnSale, isPaymentStatusFailure, isPaymentStatusRequiresAction, isPaymentStatusSuccess, isTaxInclusive, normalizePaymentResponse, normalizeStatusResponse, parsePrice } from './chunk-TD3AY34U.mjs';
|
|
8
8
|
export { CimplifyError, ERROR_HINTS, ErrorCode, IdempotencyMismatchError, ZERO, currencyCode, enrichError, getErrorHint, isCimplifyError, isIdempotencyMismatchError, isQuoteConflictRequiringConsent, isQuoteError, isRetryableError, isSupportedCurrency, money, moneyFromNumber } from './chunk-AMZXALF6.mjs';
|
|
9
9
|
import './chunk-3G6RQLXK.mjs';
|
package/dist/react.d.mts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React$1, { ReactNode } from 'react';
|
|
2
2
|
import { d as AdSlot, c as AdPosition, a as AdContextValue, S as SignInOptions } from './sign-in-dr7m09nm.mjs';
|
|
3
3
|
export { A as AdConfig, g as getVariantDisplayName } from './sign-in-dr7m09nm.mjs';
|
|
4
|
-
import { ac as CimplifyClient, c0 as ProcessCheckoutResult, a9 as CheckoutStatus, aa as CheckoutStatusContext, w as Business, bd as Location, ch as ReorderResult, bK as OrderStatus, bt as Order, c2 as QuoteBundleSelectionInput, c3 as QuoteCompositeSelectionInput, bY as PriceQuote, c6 as QuoteUiMessage, cC as Service, r as AvailableSlot, au as DayAvailability, am as CustomerBooking, L as CancelBookingResult, f as ActivityStateResponse, cL as SessionMessage, c as ActivityRecommendation, aw as DeliveryFeeResponse, aX as FxRateResponse, cU as StorefrontBootstrap, X as ChatWidgetStarter, W as ChatMessage, h as AddressInfo, n as AuthenticatedData, aL as ElementsOptions, bS as PaymentMethodInfo, aJ as ElementsCheckoutResult, b$ as ProcessCheckoutOptions, af as CimplifyElements, b4 as LineItem, cO as Staff, cx as Room } from './client-
|
|
4
|
+
import { ac as CimplifyClient, c0 as ProcessCheckoutResult, a9 as CheckoutStatus, aa as CheckoutStatusContext, w as Business, bd as Location, ch as ReorderResult, bK as OrderStatus, bt as Order, c2 as QuoteBundleSelectionInput, c3 as QuoteCompositeSelectionInput, bY as PriceQuote, c6 as QuoteUiMessage, cC as Service, r as AvailableSlot, au as DayAvailability, am as CustomerBooking, L as CancelBookingResult, f as ActivityStateResponse, cL as SessionMessage, c as ActivityRecommendation, aw as DeliveryFeeResponse, aX as FxRateResponse, cU as StorefrontBootstrap, X as ChatWidgetStarter, W as ChatMessage, h as AddressInfo, n as AuthenticatedData, aL as ElementsOptions, bS as PaymentMethodInfo, aJ as ElementsCheckoutResult, b$ as ProcessCheckoutOptions, af as CimplifyElements, b4 as LineItem, cO as Staff, cx as Room } from './client-Dka2cGhu.mjs';
|
|
5
5
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
6
6
|
import { ab as CurrencyCode, aX as Product, aO as Pagination, T as CimplifyError, b9 as ProductWithDetails, Q as Category, aM as Money, C as BundleSelectionInput, $ as ComponentSelectionInput, z as BundleSelectionData, a8 as CompositeSelectionData, U as Collection, b4 as ProductTaxonomy, bt as TaxonomyWithChildren, b5 as ProductTimeProfile, ah as Deal, b0 as ProductDealInfo, an as DiscountValidation, E as BundleSummary, a6 as CompositePriceResult, bo as SubscriptionWithDetails, bn as SubscriptionStatus, bk as Subscription, ac as CustomAttributeDefinition, ba as PropertyFacet, a$ as ProductBillingPlan, bL as VariantView, bF as VariantAxisWithValues, f as AddOnWithOptions, w as BundleComponentView, x as BundlePriceType, a4 as CompositeGroupView, aq as DisplayCart, b1 as ProductInputField, bg as SchedulingMode, at as DurationUnit, ad as CustomAttributeValue, b2 as ProductProperty, bc as QuantityPricingTier } from './product-B_kS4Oxa.mjs';
|
|
7
7
|
import { P as ProductWithPrice } from './price-Cm0tU0V5.mjs';
|
package/dist/react.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React$1, { ReactNode } from 'react';
|
|
2
2
|
import { d as AdSlot, c as AdPosition, a as AdContextValue, S as SignInOptions } from './sign-in-dr7m09nm.js';
|
|
3
3
|
export { A as AdConfig, g as getVariantDisplayName } from './sign-in-dr7m09nm.js';
|
|
4
|
-
import { ac as CimplifyClient, c0 as ProcessCheckoutResult, a9 as CheckoutStatus, aa as CheckoutStatusContext, w as Business, bd as Location, ch as ReorderResult, bK as OrderStatus, bt as Order, c2 as QuoteBundleSelectionInput, c3 as QuoteCompositeSelectionInput, bY as PriceQuote, c6 as QuoteUiMessage, cC as Service, r as AvailableSlot, au as DayAvailability, am as CustomerBooking, L as CancelBookingResult, f as ActivityStateResponse, cL as SessionMessage, c as ActivityRecommendation, aw as DeliveryFeeResponse, aX as FxRateResponse, cU as StorefrontBootstrap, X as ChatWidgetStarter, W as ChatMessage, h as AddressInfo, n as AuthenticatedData, aL as ElementsOptions, bS as PaymentMethodInfo, aJ as ElementsCheckoutResult, b$ as ProcessCheckoutOptions, af as CimplifyElements, b4 as LineItem, cO as Staff, cx as Room } from './client-
|
|
4
|
+
import { ac as CimplifyClient, c0 as ProcessCheckoutResult, a9 as CheckoutStatus, aa as CheckoutStatusContext, w as Business, bd as Location, ch as ReorderResult, bK as OrderStatus, bt as Order, c2 as QuoteBundleSelectionInput, c3 as QuoteCompositeSelectionInput, bY as PriceQuote, c6 as QuoteUiMessage, cC as Service, r as AvailableSlot, au as DayAvailability, am as CustomerBooking, L as CancelBookingResult, f as ActivityStateResponse, cL as SessionMessage, c as ActivityRecommendation, aw as DeliveryFeeResponse, aX as FxRateResponse, cU as StorefrontBootstrap, X as ChatWidgetStarter, W as ChatMessage, h as AddressInfo, n as AuthenticatedData, aL as ElementsOptions, bS as PaymentMethodInfo, aJ as ElementsCheckoutResult, b$ as ProcessCheckoutOptions, af as CimplifyElements, b4 as LineItem, cO as Staff, cx as Room } from './client-Bo5rujc2.js';
|
|
5
5
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
6
6
|
import { ab as CurrencyCode, aX as Product, aO as Pagination, T as CimplifyError, b9 as ProductWithDetails, Q as Category, aM as Money, C as BundleSelectionInput, $ as ComponentSelectionInput, z as BundleSelectionData, a8 as CompositeSelectionData, U as Collection, b4 as ProductTaxonomy, bt as TaxonomyWithChildren, b5 as ProductTimeProfile, ah as Deal, b0 as ProductDealInfo, an as DiscountValidation, E as BundleSummary, a6 as CompositePriceResult, bo as SubscriptionWithDetails, bn as SubscriptionStatus, bk as Subscription, ac as CustomAttributeDefinition, ba as PropertyFacet, a$ as ProductBillingPlan, bL as VariantView, bF as VariantAxisWithValues, f as AddOnWithOptions, w as BundleComponentView, x as BundlePriceType, a4 as CompositeGroupView, aq as DisplayCart, b1 as ProductInputField, bg as SchedulingMode, at as DurationUnit, ad as CustomAttributeValue, b2 as ProductProperty, bc as QuantityPricingTier } from './product-B_kS4Oxa.js';
|
|
7
7
|
import { P as ProductWithPrice } from './price-9T1Y47oS.js';
|