@alipay/ams-checkout 1.31.0 → 1.31.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.
package/esm/config/index.d.ts
CHANGED
@@ -5,10 +5,10 @@ export declare const sdkVersion: string;
|
|
5
5
|
/**
|
6
6
|
* @description: 目前应用层分为v1和v2,会存在两个应用版本号不是同步发布的情况。所以需要把默认的应用版本号配置抽离出来。
|
7
7
|
*/
|
8
|
-
export declare const AMSCheckoutAppVersion = "1.31.
|
9
|
-
export declare const AMSAutoDebitAppVersion = "1.31.
|
10
|
-
export declare const AMSEasyPayAppVersion = "1.31.
|
11
|
-
export declare const AMSCashierPaymentAppVersion = "1.31.
|
12
|
-
export declare const AMSVaultingAppVersion = "1.31.
|
13
|
-
export declare const AMSPaymentElementAppVersion = "1.31.
|
14
|
-
export declare const ADDRESSElementAppVersion = "1.31.
|
8
|
+
export declare const AMSCheckoutAppVersion = "1.31.1";
|
9
|
+
export declare const AMSAutoDebitAppVersion = "1.31.1";
|
10
|
+
export declare const AMSEasyPayAppVersion = "1.31.1";
|
11
|
+
export declare const AMSCashierPaymentAppVersion = "1.31.1";
|
12
|
+
export declare const AMSVaultingAppVersion = "1.31.1";
|
13
|
+
export declare const AMSPaymentElementAppVersion = "1.31.1";
|
14
|
+
export declare const ADDRESSElementAppVersion = "1.31.1";
|
package/esm/config/index.js
CHANGED
@@ -35,10 +35,10 @@ export var sdkVersion = json.version;
|
|
35
35
|
/**
|
36
36
|
* @description: 目前应用层分为v1和v2,会存在两个应用版本号不是同步发布的情况。所以需要把默认的应用版本号配置抽离出来。
|
37
37
|
*/
|
38
|
-
export var AMSCheckoutAppVersion = '1.31.
|
39
|
-
export var AMSAutoDebitAppVersion = '1.31.
|
40
|
-
export var AMSEasyPayAppVersion = '1.31.
|
41
|
-
export var AMSCashierPaymentAppVersion = '1.31.
|
42
|
-
export var AMSVaultingAppVersion = '1.31.
|
43
|
-
export var AMSPaymentElementAppVersion = '1.31.
|
44
|
-
export var ADDRESSElementAppVersion = '1.31.
|
38
|
+
export var AMSCheckoutAppVersion = '1.31.1'; // 兜底版本号
|
39
|
+
export var AMSAutoDebitAppVersion = '1.31.1'; // 代扣
|
40
|
+
export var AMSEasyPayAppVersion = '1.31.1'; // easypay
|
41
|
+
export var AMSCashierPaymentAppVersion = '1.31.1'; // 收银台(卡、apm)
|
42
|
+
export var AMSVaultingAppVersion = '1.31.1'; // 绑卡
|
43
|
+
export var AMSPaymentElementAppVersion = '1.31.1'; // payment element
|
44
|
+
export var ADDRESSElementAppVersion = '1.31.1'; // address element
|
@@ -133,6 +133,8 @@ export var AMSCheckoutPage = /*#__PURE__*/function () {
|
|
133
133
|
var iframe = document.createElement('iframe');
|
134
134
|
iframe.id = this.APP_IFRAME_ID;
|
135
135
|
iframe.src = ckpPageAddress;
|
136
|
+
// iframe设置支持第三方支付
|
137
|
+
iframe.allow = 'payment';
|
136
138
|
iframe.width = '100%';
|
137
139
|
iframe.height = '100%';
|
138
140
|
iframe.style.border = 'none';
|