@alipay/ams-checkout 0.0.1757298389-dev.16 → 0.0.1757298389-dev.17

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.
@@ -35,7 +35,7 @@ declare class ElementController {
35
35
  }>;
36
36
  submitPayment(): Promise<IMerchantResponse | {
37
37
  error: {
38
- readonly code: "CONTAINER_NOT_LOADED";
38
+ readonly code: "UI_STATE_ERROR";
39
39
  readonly message: "The request is abnormal and the transaction cannot be initiated.";
40
40
  };
41
41
  }>;
@@ -327,7 +327,7 @@ var ElementController = /*#__PURE__*/function () {
327
327
  break;
328
328
  }
329
329
  res = {
330
- error: ERRORMESSAGE.CONTAINER_NOT_LOADED
330
+ error: ERRORMESSAGE.UI_STATE_ERROR
331
331
  };
332
332
  this.elementEventCenter.endEvent(startEventId, res);
333
333
  return _context4.abrupt("return", Promise.resolve(res));
@@ -12,7 +12,7 @@ export declare class ElementComponent {
12
12
  }>;
13
13
  submitPayment(): Promise<import("./type").IMerchantResponse | {
14
14
  error: {
15
- readonly code: "CONTAINER_NOT_LOADED";
15
+ readonly code: "UI_STATE_ERROR";
16
16
  readonly message: "The request is abnormal and the transaction cannot be initiated.";
17
17
  };
18
18
  }>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alipay/ams-checkout",
3
- "version": "0.0.1757298389-dev.16",
3
+ "version": "0.0.1757298389-dev.17",
4
4
  "description": "",
5
5
  "author": "",
6
6
  "main": "esm/index.js",