@alipay/ams-checkout 0.0.1760520369-dev.2 → 0.0.1761013649-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.
@@ -6,11 +6,11 @@ export declare const sdkVersion: string;
6
6
  * @description: 目前应用层分为v1和v2,会存在两个应用版本号不是同步发布的情况。所以需要把默认的应用版本号配置抽离出来。
7
7
  * TODO 这里考虑直接换成packagejson.version
8
8
  */
9
- export declare const AMSCheckoutAppVersion = "1.46.0";
10
- export declare const AMSAutoDebitAppVersion = "1.46.0";
11
- export declare const AMSEasyPayAppVersion = "1.46.0";
12
- export declare const AMSCashierPaymentAppVersion = "1.46.0";
13
- export declare const AMSVaultingAppVersion = "1.46.0";
14
- export declare const AMSPaymentElementAppVersion = "1.46.0";
15
- export declare const ADDRESSElementAppVersion = "1.46.0";
16
- export declare const AUTHElementAppVersion = "1.46.0";
9
+ export declare const AMSCheckoutAppVersion = "1.45.0";
10
+ export declare const AMSAutoDebitAppVersion = "1.45.0";
11
+ export declare const AMSEasyPayAppVersion = "1.45.0";
12
+ export declare const AMSCashierPaymentAppVersion = "1.45.0";
13
+ export declare const AMSVaultingAppVersion = "1.45.0";
14
+ export declare const AMSPaymentElementAppVersion = "1.45.0";
15
+ export declare const ADDRESSElementAppVersion = "1.45.0";
16
+ export declare const AUTHElementAppVersion = "1.45.0";
@@ -36,11 +36,11 @@ export var sdkVersion = json.version;
36
36
  * @description: 目前应用层分为v1和v2,会存在两个应用版本号不是同步发布的情况。所以需要把默认的应用版本号配置抽离出来。
37
37
  * TODO 这里考虑直接换成packagejson.version
38
38
  */
39
- export var AMSCheckoutAppVersion = '1.46.0'; // 兜底版本号
40
- export var AMSAutoDebitAppVersion = '1.46.0'; // 代扣
41
- export var AMSEasyPayAppVersion = '1.46.0'; // easypay
42
- export var AMSCashierPaymentAppVersion = '1.46.0'; // 收银台(卡、apm)
43
- export var AMSVaultingAppVersion = '1.46.0'; // 绑卡
44
- export var AMSPaymentElementAppVersion = '1.46.0'; // payment element
45
- export var ADDRESSElementAppVersion = '1.46.0'; // address element
46
- export var AUTHElementAppVersion = '1.46.0'; // auth element
39
+ export var AMSCheckoutAppVersion = '1.45.0'; // 兜底版本号
40
+ export var AMSAutoDebitAppVersion = '1.45.0'; // 代扣
41
+ export var AMSEasyPayAppVersion = '1.45.0'; // easypay
42
+ export var AMSCashierPaymentAppVersion = '1.45.0'; // 收银台(卡、apm)
43
+ export var AMSVaultingAppVersion = '1.45.0'; // 绑卡
44
+ export var AMSPaymentElementAppVersion = '1.45.0'; // payment element
45
+ export var ADDRESSElementAppVersion = '1.45.0'; // address element
46
+ export var AUTHElementAppVersion = '1.45.0'; // auth element
@@ -98,7 +98,7 @@ export declare const ERRORMESSAGE: {
98
98
  code: string;
99
99
  message: string;
100
100
  };
101
- INITALIZE_TIMEOUT: {
101
+ INITIALIZE_TIMEOUT: {
102
102
  code: string;
103
103
  API: {
104
104
  code: string;
@@ -98,14 +98,14 @@ export var ERRORMESSAGE = {
98
98
  code: 'UI_STATE_ERROR',
99
99
  message: 'An error occurred. The transaction cannot be initiated.'
100
100
  },
101
- INITALIZE_TIMEOUT: {
102
- code: 'INITALIZE_TIMEOUT',
101
+ INITIALIZE_TIMEOUT: {
102
+ code: 'INITIALIZE_TIMEOUT',
103
103
  API: {
104
- code: 'INITALIZE_API_TIMEOUT',
104
+ code: 'INITIALIZE_API_TIMEOUT',
105
105
  message: 'An error occurred. The transaction cannot be initiated.'
106
106
  },
107
107
  WEB: {
108
- code: 'INITALIZE_WEB_TIMEOUT',
108
+ code: 'INITIALIZE_WEB_TIMEOUT',
109
109
  message: 'An error occurred; the transaction cannot be initiated.'
110
110
  }
111
111
  },
@@ -287,7 +287,7 @@ export var EVENT = {
287
287
  },
288
288
  // Element支付完成后事件
289
289
  submitPromiseCallback: {
290
- name: 'onSubmitPayCallback'
290
+ name: 'submitPromiseCallback'
291
291
  },
292
292
  validateFieldsResult: {
293
293
  name: 'validateFieldsResult',
@@ -195,7 +195,7 @@ var ElementController = /*#__PURE__*/function () {
195
195
  title: 'sdk_event_web_app_timeout'
196
196
  });
197
197
  resolve({
198
- error: ERRORMESSAGE.INITALIZE_TIMEOUT.WEB
198
+ error: ERRORMESSAGE.INITIALIZE_TIMEOUT.WEB
199
199
  });
200
200
  }, TIMEOUT_DURATION);
201
201
  }
@@ -642,7 +642,7 @@ var ElementController = /*#__PURE__*/function () {
642
642
  _context5.t0 = _context5["catch"](1);
643
643
  this.handleInitializationError();
644
644
  readyCallback({
645
- error: _objectSpread(_objectSpread({}, ERRORMESSAGE.INITALIZE_TIMEOUT.API), {}, {
645
+ error: _objectSpread(_objectSpread({}, ERRORMESSAGE.INITIALIZE_TIMEOUT.API), {}, {
646
646
  traceId: _context5.t0 === null || _context5.t0 === void 0 ? void 0 : _context5.t0.traceId
647
647
  })
648
648
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alipay/ams-checkout",
3
- "version": "0.0.1760520369-dev.2",
3
+ "version": "0.0.1761013649-dev.1",
4
4
  "description": "",
5
5
  "author": "",
6
6
  "main": "esm/index.js",