@alipay/ams-checkout 0.0.1742382470-dev.1 → 0.0.1742382470-dev.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.
@@ -34,7 +34,7 @@ export var EasySafePayProcessor = /*#__PURE__*/function () {
34
34
  _defineProperty(this, "channelBehavior", void 0);
35
35
  _defineProperty(this, "SECURITY_SDK_INIT_TIMEOUT", 18000);
36
36
  _defineProperty(this, "SDK_REQUEST_TIMEOUT", 15000);
37
- _defineProperty(this, "LOAD_APP_RESOURCES_TIMEOUT", 1500);
37
+ _defineProperty(this, "LOAD_APP_RESOURCES_TIMEOUT", 15000);
38
38
  }
39
39
  _createClass(EasySafePayProcessor, [{
40
40
  key: "init",
@@ -5,6 +5,7 @@
5
5
  export interface LogPayload {
6
6
  title?: string;
7
7
  msg?: string;
8
+ errorMessage?: string;
8
9
  name?: string;
9
10
  label?: string;
10
11
  time?: number;
@@ -86,7 +86,7 @@ export var RequesterService = /*#__PURE__*/function () {
86
86
  time: Date.now() - startTime,
87
87
  success: false,
88
88
  code: errorCode,
89
- msg: errorMessage,
89
+ errorMessage: errorMessage,
90
90
  traceId: traceId
91
91
  });
92
92
  throw new Error(JSON.stringify({
@@ -102,7 +102,7 @@ export var RequesterService = /*#__PURE__*/function () {
102
102
  time: Date.now() - startTime,
103
103
  success: true,
104
104
  code: 'SUCCESS',
105
- msg: '',
105
+ errorMessage: '',
106
106
  traceId: traceId
107
107
  });
108
108
  return _context.abrupt("return", resData);
@@ -124,7 +124,7 @@ export var RequesterService = /*#__PURE__*/function () {
124
124
  time: Date.now() - startTime,
125
125
  success: false,
126
126
  code: _errorCode,
127
- msg: JSON.stringify((_error === null || _error === void 0 ? void 0 : _error.errorMessage) || _context.t0)
127
+ errorMessage: JSON.stringify((_error === null || _error === void 0 ? void 0 : _error.errorMessage) || _context.t0)
128
128
  });
129
129
  return _context.abrupt("return", Promise.reject({
130
130
  success: false,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alipay/ams-checkout",
3
- "version": "0.0.1742382470-dev.1",
3
+ "version": "0.0.1742382470-dev.3",
4
4
  "description": "",
5
5
  "author": "",
6
6
  "main": "esm/index.js",