@alipay/ams-checkout 0.0.1762138227-dev.4 → 0.0.1762138227-dev.6

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.
@@ -140,10 +140,9 @@ export function createBaseProxy(constructorName) {
140
140
  if (constructorName === EConstructorName.AMSElement) {
141
141
  _this.throwErrorWithPromise({
142
142
  error: {
143
- code: 'INTERNAL_ERROR',
143
+ code: 'UI_STATE_ERROR',
144
144
  message: 'create_actual_instance_error'
145
- },
146
- status: 'FAIL'
145
+ }
147
146
  });
148
147
  } else if (constructorName === EConstructorName.AMSEasyPay) {
149
148
  _this.throwErrorWithOnEventCallback({
@@ -163,8 +162,7 @@ export function createBaseProxy(constructorName) {
163
162
  error: {
164
163
  code: 'INITIALIZE_WEB_TIMEOUT',
165
164
  message: 'load_sdk_resource_error'
166
- },
167
- status: 'FAIL'
165
+ }
168
166
  });
169
167
  } else if (constructorName === EConstructorName.AMSEasyPay) {
170
168
  _this.throwErrorWithOnEventCallback({
@@ -31,6 +31,6 @@ export var instanceApiMap = _defineProperty(_defineProperty(_defineProperty({},
31
31
  * SDK 地址
32
32
  */
33
33
  export var SDK_URL = {
34
- DEV: 'http://js-dev.antom.com/v1/dist/umd/ams-checkout.min.js',
35
- PROD: 'https://js.antom.com/v1/dist/umd/ams-checkout.min.js'
34
+ DEV: 'http://js-dev.antom.com/v2/ams-checkout.min.js',
35
+ PROD: 'https://js.antom.com/v2/ams-checkout.min.js'
36
36
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alipay/ams-checkout",
3
- "version": "0.0.1762138227-dev.4",
3
+ "version": "0.0.1762138227-dev.6",
4
4
  "description": "",
5
5
  "author": "",
6
6
  "main": "esm/index.js",
@@ -9,6 +9,7 @@
9
9
  "files": [
10
10
  "dist",
11
11
  "esm",
12
+ "ams-checkout.min.js",
12
13
  "LEGAL.md",
13
14
  "LICENSE",
14
15
  "README.md"