@alipay/ams-checkout 0.0.1757298389-dev.0 → 0.0.1757298389-dev.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.
@@ -14,6 +14,14 @@ declare class ElementController {
14
14
  private onEventCallback;
15
15
  mount(renderOptions: LinkAuthMountOptions | AddressMountOptions | PaymentMountOptions, sdkSelector: string): any;
16
16
  private onValidateFunc;
17
+ private onValidateAndSubmitPay;
18
+ /**
19
+ * 25/09/08 新增商户主动校验api
20
+ * @returns {Promise<{isValid: boolean}>}
21
+ */
22
+ validateFields(): Promise<{
23
+ isValid: boolean;
24
+ }>;
17
25
  submitPayment(): void;
18
26
  private changeLoading;
19
27
  private addEventListener;
@@ -49,10 +49,24 @@ var ElementController = /*#__PURE__*/function () {
49
49
  _defineProperty(this, "elementContainerService", void 0);
50
50
  // 新增变量
51
51
  _defineProperty(this, "onStatusChangeCallback", void 0);
52
- _defineProperty(this, "onValidateFunc", function (event, target, params) {
52
+ _defineProperty(this, "onValidateFunc", function (event, target) {
53
53
  return new Promise(function (resolve) {
54
54
  event.emitAndListen({
55
55
  event: ElementPaymentEvent.VALIDATE,
56
+ data: {
57
+ params: {},
58
+ target: target,
59
+ source: ElementPaymentMethod.CONTAINER_ELEMENT
60
+ }
61
+ }, function (result) {
62
+ resolve(result);
63
+ });
64
+ });
65
+ });
66
+ _defineProperty(this, "onValidateAndSubmitPay", function (event, target, params) {
67
+ return new Promise(function (resolve) {
68
+ event.emitAndListen({
69
+ event: ElementPaymentEvent.SUBMIT_PAY,
56
70
  data: {
57
71
  params: _objectSpread({}, params),
58
72
  target: target,
@@ -188,75 +202,127 @@ var ElementController = /*#__PURE__*/function () {
188
202
  });
189
203
  }
190
204
  }, {
191
- key: "submitPayment",
192
- value: function submitPayment() {
205
+ key: "validateFields",
206
+ value:
207
+ /**
208
+ * 25/09/08 新增商户主动校验api
209
+ * @returns {Promise<{isValid: boolean}>}
210
+ */
211
+ function validateFields() {
193
212
  var _this3 = this;
194
- this.changeLoading(true);
195
- new Promise( /*#__PURE__*/function () {
213
+ return new Promise( /*#__PURE__*/function () {
196
214
  var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(resolve) {
197
- var params, _this3$elementProcess, _result$data, _result$data2, result, _this3$elementProcess2, _result$data3, _result$data4, _result, _this3$elementProcess3;
215
+ var _this3$elementProcess;
216
+ var _this3$elementProcess2, validateResult;
198
217
  return _regeneratorRuntime().wrap(function _callee$(_context) {
199
218
  while (1) switch (_context.prev = _context.next) {
200
219
  case 0:
201
- params = {};
202
- if (!_this3.elementProcessors[ElementType.auth]) {
203
- _context.next = 8;
220
+ if (!((_this3$elementProcess = _this3.elementProcessors) !== null && _this3$elementProcess !== void 0 && _this3$elementProcess[ElementType.payment])) {
221
+ _context.next = 13;
204
222
  break;
205
223
  }
224
+ _context.prev = 1;
206
225
  _context.next = 4;
207
- return _this3.onValidateFunc((_this3$elementProcess = _this3.elementProcessors[ElementType.auth]) === null || _this3$elementProcess === void 0 ? void 0 : _this3$elementProcess.eventCenter, ElementPaymentMethod.AUTH_ELEMENT);
226
+ return _this3.onValidateFunc((_this3$elementProcess2 = _this3.elementProcessors[ElementType.payment]) === null || _this3$elementProcess2 === void 0 ? void 0 : _this3$elementProcess2.eventCenter, ElementPaymentMethod.PAYMENT_ELEMENT);
227
+ case 4:
228
+ validateResult = _context.sent;
229
+ return _context.abrupt("return", resolve({
230
+ isValid: validateResult.data.success
231
+ }));
232
+ case 8:
233
+ _context.prev = 8;
234
+ _context.t0 = _context["catch"](1);
235
+ return _context.abrupt("return", resolve({
236
+ isValid: false
237
+ }));
238
+ case 11:
239
+ _context.next = 14;
240
+ break;
241
+ case 13:
242
+ return _context.abrupt("return", resolve({
243
+ isValid: false
244
+ }));
245
+ case 14:
246
+ case "end":
247
+ return _context.stop();
248
+ }
249
+ }, _callee, null, [[1, 8]]);
250
+ }));
251
+ return function (_x) {
252
+ return _ref2.apply(this, arguments);
253
+ };
254
+ }());
255
+ }
256
+ }, {
257
+ key: "submitPayment",
258
+ value: function submitPayment() {
259
+ var _this4 = this;
260
+ this.changeLoading(true);
261
+ new Promise( /*#__PURE__*/function () {
262
+ var _ref3 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2(resolve) {
263
+ var params, _this4$elementProcess, _result$data, _result$data2, result, _this4$elementProcess2, _result$data3, _result$data4, _result, _this4$elementProcess3;
264
+ return _regeneratorRuntime().wrap(function _callee2$(_context2) {
265
+ while (1) switch (_context2.prev = _context2.next) {
266
+ case 0:
267
+ params = {};
268
+ if (!_this4.elementProcessors[ElementType.auth]) {
269
+ _context2.next = 8;
270
+ break;
271
+ }
272
+ _context2.next = 4;
273
+ return _this4.onValidateAndSubmitPay((_this4$elementProcess = _this4.elementProcessors[ElementType.auth]) === null || _this4$elementProcess === void 0 ? void 0 : _this4$elementProcess.eventCenter, ElementPaymentMethod.AUTH_ELEMENT);
208
274
  case 4:
209
- result = _context.sent;
275
+ result = _context2.sent;
210
276
  params.accountInfo = (_result$data = result.data) === null || _result$data === void 0 || (_result$data = _result$data.data) === null || _result$data === void 0 ? void 0 : _result$data.accountInfo;
211
277
  if (result !== null && result !== void 0 && (_result$data2 = result.data) !== null && _result$data2 !== void 0 && _result$data2.success) {
212
- _context.next = 8;
278
+ _context2.next = 8;
213
279
  break;
214
280
  }
215
- return _context.abrupt("return", resolve(undefined));
281
+ return _context2.abrupt("return", resolve(undefined));
216
282
  case 8:
217
- if (!_this3.elementProcessors[ElementType.address]) {
218
- _context.next = 15;
283
+ if (!_this4.elementProcessors[ElementType.address]) {
284
+ _context2.next = 15;
219
285
  break;
220
286
  }
221
- _context.next = 11;
222
- return _this3.onValidateFunc((_this3$elementProcess2 = _this3.elementProcessors[ElementType.address]) === null || _this3$elementProcess2 === void 0 ? void 0 : _this3$elementProcess2.eventCenter, ElementPaymentMethod.ADDRESS_ELEMENT);
287
+ _context2.next = 11;
288
+ return _this4.onValidateAndSubmitPay((_this4$elementProcess2 = _this4.elementProcessors[ElementType.address]) === null || _this4$elementProcess2 === void 0 ? void 0 : _this4$elementProcess2.eventCenter, ElementPaymentMethod.ADDRESS_ELEMENT);
223
289
  case 11:
224
- _result = _context.sent;
290
+ _result = _context2.sent;
225
291
  params.shipping = (_result$data3 = _result.data) === null || _result$data3 === void 0 ? void 0 : _result$data3.data;
226
292
  if (_result !== null && _result !== void 0 && (_result$data4 = _result.data) !== null && _result$data4 !== void 0 && _result$data4.success) {
227
- _context.next = 15;
293
+ _context2.next = 15;
228
294
  break;
229
295
  }
230
- return _context.abrupt("return", resolve(undefined));
296
+ return _context2.abrupt("return", resolve(undefined));
231
297
  case 15:
232
- if (!_this3.elementProcessors[ElementType.payment]) {
233
- _context.next = 25;
298
+ if (!_this4.elementProcessors[ElementType.payment]) {
299
+ _context2.next = 25;
234
300
  break;
235
301
  }
236
- _context.prev = 16;
237
- _context.next = 19;
238
- return _this3.onValidateFunc((_this3$elementProcess3 = _this3.elementProcessors[ElementType.payment]) === null || _this3$elementProcess3 === void 0 ? void 0 : _this3$elementProcess3.eventCenter, ElementPaymentMethod.PAYMENT_ELEMENT, params);
302
+ _context2.prev = 16;
303
+ _context2.next = 19;
304
+ return _this4.onValidateAndSubmitPay((_this4$elementProcess3 = _this4.elementProcessors[ElementType.payment]) === null || _this4$elementProcess3 === void 0 ? void 0 : _this4$elementProcess3.eventCenter, ElementPaymentMethod.PAYMENT_ELEMENT, params);
239
305
  case 19:
240
- return _context.abrupt("return", resolve(undefined));
306
+ return _context2.abrupt("return", resolve(undefined));
241
307
  case 22:
242
- _context.prev = 22;
243
- _context.t0 = _context["catch"](16);
244
- return _context.abrupt("return", resolve(undefined));
308
+ _context2.prev = 22;
309
+ _context2.t0 = _context2["catch"](16);
310
+ return _context2.abrupt("return", resolve(undefined));
245
311
  case 25:
246
312
  resolve(params);
247
313
  case 26:
248
314
  case "end":
249
- return _context.stop();
315
+ return _context2.stop();
250
316
  }
251
- }, _callee, null, [[16, 22]]);
317
+ }, _callee2, null, [[16, 22]]);
252
318
  }));
253
- return function (_x) {
254
- return _ref2.apply(this, arguments);
319
+ return function (_x2) {
320
+ return _ref3.apply(this, arguments);
255
321
  };
256
322
  }()).then(function () {
257
- _this3.changeLoading(false);
323
+ _this4.changeLoading(false);
258
324
  }, function () {
259
- _this3.changeLoading(false);
325
+ _this4.changeLoading(false);
260
326
  });
261
327
  }
262
328
  }, {
@@ -281,21 +347,21 @@ var ElementController = /*#__PURE__*/function () {
281
347
  }, {
282
348
  key: "addEventListener",
283
349
  value: function addEventListener(renderCallback) {
284
- var _this4 = this;
350
+ var _this5 = this;
285
351
  this.serviceMap.EventCenter.listen(ElementPaymentEvent.ON_EVENT_CALLBACK, function (data) {
286
- var _this4$onEventCallbac;
287
- (_this4$onEventCallbac = _this4.onEventCallback) === null || _this4$onEventCallbac === void 0 || _this4$onEventCallbac.call(_this4, data);
352
+ var _this5$onEventCallbac;
353
+ (_this5$onEventCallbac = _this5.onEventCallback) === null || _this5$onEventCallbac === void 0 || _this5$onEventCallbac.call(_this5, data);
288
354
  });
289
355
  this.serviceMap.EventCenter.listen(EVENT.sizeChanged.name, function (data) {
290
- clearTimeout(_this4.initTimeout);
291
- _this4.initTimeout = null;
292
- if (_this4.elementContainerService.getContainerService(data.source)) {
356
+ clearTimeout(_this5.initTimeout);
357
+ _this5.initTimeout = null;
358
+ if (_this5.elementContainerService.getContainerService(data.source)) {
293
359
  renderCallback({
294
360
  success: true
295
361
  });
296
- _this4.elementContainerService.getContainerService(data.source).switchContainerStatus(IContainerStatus.IN_BIZ_FLOW);
362
+ _this5.elementContainerService.getContainerService(data.source).switchContainerStatus(IContainerStatus.IN_BIZ_FLOW);
297
363
  }
298
- _this4.changeLoading(false);
364
+ _this5.changeLoading(false);
299
365
  // 遍历containerService中的所有container查看是否所有状态都是IN_BIZ_FLOW
300
366
  // const allContainersInBizFlow = Object.values(this.elementContainerService.getContainerServices()).every(
301
367
  // (containerService) => containerService.getContainerStatus() === IContainerStatus.IN_BIZ_FLOW,
@@ -305,22 +371,22 @@ var ElementController = /*#__PURE__*/function () {
305
371
  // }
306
372
  });
307
373
  this.serviceMap.EventCenter.listen(EVENT.redirect.name, function (data) {
308
- var onEventCallback = _this4.onEventCallback.bind(_this4);
374
+ var onEventCallback = _this5.onEventCallback.bind(_this5);
309
375
  handleRedirect(data, false, onEventCallback);
310
376
  });
311
377
  this.serviceMap.EventCenter.listen(EVENT.destroy.name, function () {
312
- _this4.setControllerStatusOrView(IElementStatus.READY);
313
- _this4.destroyHandle();
378
+ _this5.setControllerStatusOrView(IElementStatus.READY);
379
+ _this5.destroyHandle();
314
380
  });
315
381
  this.serviceMap.EventCenter.listen(EVENT.webAppReady.name, function (data) {
316
- clearTimeout(_this4.initTimeout);
317
- if (_this4.elementContainerService.getContainerService(data.source)) {
382
+ clearTimeout(_this5.initTimeout);
383
+ if (_this5.elementContainerService.getContainerService(data.source)) {
318
384
  renderCallback({
319
385
  success: true
320
386
  });
321
- _this4.elementContainerService.getContainerService(data.source).switchContainerStatus(IContainerStatus.IN_BIZ_FLOW);
387
+ _this5.elementContainerService.getContainerService(data.source).switchContainerStatus(IContainerStatus.IN_BIZ_FLOW);
322
388
  }
323
- _this4.changeLoading(false);
389
+ _this5.changeLoading(false);
324
390
  });
325
391
  this.serviceMap.EventCenter.listen(EVENT.showToast.name, function (data) {
326
392
  showToast(data);
@@ -328,8 +394,8 @@ var ElementController = /*#__PURE__*/function () {
328
394
  this.serviceMap.EventCenter.listen(EVENT.messageForward.name, function (data) {
329
395
  var source = MountElementType[data.source];
330
396
  var target = MountElementType[data.target];
331
- if (_this4.elementProcessors[source] && _this4.elementProcessors[target]) {
332
- _this4.elementProcessors[target].eventCenter.dispatchToApp({
397
+ if (_this5.elementProcessors[source] && _this5.elementProcessors[target]) {
398
+ _this5.elementProcessors[target].eventCenter.dispatchToApp({
333
399
  event: data.event,
334
400
  data: data
335
401
  });
@@ -339,24 +405,24 @@ var ElementController = /*#__PURE__*/function () {
339
405
  }, {
340
406
  key: "sendRequestAndWaitWebLaunch",
341
407
  value: function sendRequestAndWaitWebLaunch(renderOptions) {
342
- var _this5 = this;
408
+ var _this6 = this;
343
409
  var type = renderOptions.type,
344
410
  options = _objectWithoutProperties(renderOptions, _excluded);
345
411
  var webLaunchPromise = this.elementContainerService.getContainerService(type).createWebLaunchPromise();
346
- Promise.all([webLaunchPromise, this.elementProcessors[type].obtainData()]).then(function (_ref3) {
347
- var _this5$elementContain;
348
- var _ref4 = _slicedToArray(_ref3, 2),
349
- _webLaunchRes = _ref4[0],
350
- _obtainDataRes = _ref4[1];
351
- (_this5$elementContain = _this5.elementContainerService.getContainerService(type)) === null || _this5$elementContain === void 0 || _this5$elementContain.switchContainerStatus(IContainerStatus.READY);
412
+ Promise.all([webLaunchPromise, this.elementProcessors[type].obtainData()]).then(function (_ref4) {
413
+ var _this6$elementContain;
414
+ var _ref5 = _slicedToArray(_ref4, 2),
415
+ _webLaunchRes = _ref5[0],
416
+ _obtainDataRes = _ref5[1];
417
+ (_this6$elementContain = _this6.elementContainerService.getContainerService(type)) === null || _this6$elementContain === void 0 || _this6$elementContain.switchContainerStatus(IContainerStatus.READY);
352
418
  var allReady = true;
353
- _this5.elementContainerService.getContainerServices().forEach(function (item) {
419
+ _this6.elementContainerService.getContainerServices().forEach(function (item) {
354
420
  if (!allReady) return;
355
421
  allReady = item.getContainerStatus() === IContainerStatus.READY;
356
422
  });
357
423
  if (allReady) {
358
- _this5.elementContainerService.getContainerServices().forEach(function (value, key) {
359
- _this5.sendReady(key, options);
424
+ _this6.elementContainerService.getContainerServices().forEach(function (value, key) {
425
+ _this6.sendReady(key, options);
360
426
  });
361
427
  }
362
428
  });
@@ -392,37 +458,37 @@ var ElementController = /*#__PURE__*/function () {
392
458
  }, {
393
459
  key: "updatePayment",
394
460
  value: function () {
395
- var _updatePayment = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee3(paymentSessionData) {
396
- var _this6 = this;
397
- return _regeneratorRuntime().wrap(function _callee3$(_context3) {
398
- while (1) switch (_context3.prev = _context3.next) {
461
+ var _updatePayment = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee4(paymentSessionData) {
462
+ var _this7 = this;
463
+ return _regeneratorRuntime().wrap(function _callee4$(_context4) {
464
+ while (1) switch (_context4.prev = _context4.next) {
399
465
  case 0:
400
- return _context3.abrupt("return", new Promise( /*#__PURE__*/function () {
401
- var _ref5 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2(resolve) {
466
+ return _context4.abrupt("return", new Promise( /*#__PURE__*/function () {
467
+ var _ref6 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee3(resolve) {
402
468
  var prePaymentSessionData, data, LOCAL_MOCK;
403
- return _regeneratorRuntime().wrap(function _callee2$(_context2) {
404
- while (1) switch (_context2.prev = _context2.next) {
469
+ return _regeneratorRuntime().wrap(function _callee3$(_context3) {
470
+ while (1) switch (_context3.prev = _context3.next) {
405
471
  case 0:
406
472
  if (checkCanUpdate({
407
- status: _this6.elementContainer.getStatus(),
408
- paymentContainerService: _this6.elementContainerService.getContainerService(ElementType.payment),
473
+ status: _this7.elementContainer.getStatus(),
474
+ paymentContainerService: _this7.elementContainerService.getContainerService(ElementType.payment),
409
475
  newPaymentSessionData: paymentSessionData,
410
- oldPaymentSessionData: _this6.options.sessionData
476
+ oldPaymentSessionData: _this7.options.sessionData
411
477
  })) {
412
- _context2.next = 2;
478
+ _context3.next = 2;
413
479
  break;
414
480
  }
415
- return _context2.abrupt("return", resolve(false));
481
+ return _context3.abrupt("return", resolve(false));
416
482
  case 2:
417
- prePaymentSessionData = _this6.elementContainer.getPaymentContext().paymentSession;
418
- _this6.elementContainer.updatePaymentSessionData(paymentSessionData);
483
+ prePaymentSessionData = _this7.elementContainer.getPaymentContext().paymentSession;
484
+ _this7.elementContainer.updatePaymentSessionData(paymentSessionData);
419
485
  // 1、数据获取
420
- _context2.next = 6;
421
- return _this6.elementProcessors[ElementType.payment].obtainData();
486
+ _context3.next = 6;
487
+ return _this7.elementProcessors[ElementType.payment].obtainData();
422
488
  case 6:
423
- data = _context2.sent;
489
+ data = _context3.sent;
424
490
  LOCAL_MOCK = window.location.href.indexOf('LOCAL_MOCK=1') !== -1; // 2、发送update消息
425
- Object.values(_this6.elementProcessors).forEach(function (processor) {
491
+ Object.values(_this7.elementProcessors).forEach(function (processor) {
426
492
  processor.update({
427
493
  data: {
428
494
  originActionQueryResult: LOCAL_MOCK ? sdkActionUpdate : data.originActionQueryResult,
@@ -432,30 +498,30 @@ var ElementController = /*#__PURE__*/function () {
432
498
  });
433
499
  });
434
500
  // 3、返回更新结果
435
- _this6.serviceMap.EventCenter.listen(EVENT.updated.name, function (data) {
501
+ _this7.serviceMap.EventCenter.listen(EVENT.updated.name, function (data) {
436
502
  // 若更新不成功,还原core.paymentContext信息
437
503
  if (!data.success) {
438
- _this6.elementContainer.updatePaymentSessionData(prePaymentSessionData);
504
+ _this7.elementContainer.updatePaymentSessionData(prePaymentSessionData);
439
505
  }
440
506
  return resolve(data.success || false);
441
507
  });
442
508
  case 10:
443
509
  case "end":
444
- return _context2.stop();
510
+ return _context3.stop();
445
511
  }
446
- }, _callee2);
512
+ }, _callee3);
447
513
  }));
448
- return function (_x3) {
449
- return _ref5.apply(this, arguments);
514
+ return function (_x4) {
515
+ return _ref6.apply(this, arguments);
450
516
  };
451
517
  }()));
452
518
  case 1:
453
519
  case "end":
454
- return _context3.stop();
520
+ return _context4.stop();
455
521
  }
456
- }, _callee3);
522
+ }, _callee4);
457
523
  }));
458
- function updatePayment(_x2) {
524
+ function updatePayment(_x3) {
459
525
  return _updatePayment.apply(this, arguments);
460
526
  }
461
527
  return updatePayment;
@@ -7,6 +7,9 @@ export declare class ElementComponent {
7
7
  mount(renderOptions: LinkAuthMountOptions, sdkSelector: string): LinkAuthMountResult;
8
8
  mount(renderOptions: AddressMountOptions, sdkSelector: string): AddressMountResult;
9
9
  mount(renderOptions: PaymentMountOptions, sdkSelector: string): PaymentMountResult;
10
+ validateFields(): Promise<{
11
+ isValid: boolean;
12
+ }>;
10
13
  submitPayment(): void;
11
14
  destroy(): void;
12
15
  }
@@ -49,6 +49,11 @@ export var ElementComponent = /*#__PURE__*/function () {
49
49
  appearance: this === null || this === void 0 || (_this$options = this.options) === null || _this$options === void 0 ? void 0 : _this$options.appearance
50
50
  }, renderOptions), sdkSelector);
51
51
  }
52
+ }, {
53
+ key: "validateFields",
54
+ value: function validateFields() {
55
+ return this.controller.validateFields();
56
+ }
52
57
  }, {
53
58
  key: "submitPayment",
54
59
  value: function submitPayment() {
@@ -10,7 +10,8 @@ export declare enum ElementPaymentEvent {
10
10
  CAPTURE_ASSET = "onCaptureAsset",
11
11
  SIGN_OUT = "onSignout",
12
12
  BLUR = "onBlur",
13
- VALIDATE = "submitPay",
13
+ SUBMIT_PAY = "submitPay",
14
+ VALIDATE = "onValidate",
14
15
  SUBMIT_RISK = "onSubmitRisk",
15
16
  AFTER_SUBMIT = "onAfterSubmit",
16
17
  SIZE_CHANGE = "onSizeChange",
@@ -10,7 +10,8 @@ export var ElementPaymentEvent = /*#__PURE__*/function (ElementPaymentEvent) {
10
10
  ElementPaymentEvent["CAPTURE_ASSET"] = "onCaptureAsset";
11
11
  ElementPaymentEvent["SIGN_OUT"] = "onSignout";
12
12
  ElementPaymentEvent["BLUR"] = "onBlur";
13
- ElementPaymentEvent["VALIDATE"] = "submitPay";
13
+ ElementPaymentEvent["SUBMIT_PAY"] = "submitPay";
14
+ ElementPaymentEvent["VALIDATE"] = "onValidate";
14
15
  ElementPaymentEvent["SUBMIT_RISK"] = "onSubmitRisk";
15
16
  ElementPaymentEvent["AFTER_SUBMIT"] = "onAfterSubmit";
16
17
  ElementPaymentEvent["SIZE_CHANGE"] = "onSizeChange";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alipay/ams-checkout",
3
- "version": "0.0.1757298389-dev.0",
3
+ "version": "0.0.1757298389-dev.1",
4
4
  "description": "",
5
5
  "author": "",
6
6
  "main": "esm/index.js",