@alipay/ams-checkout 0.0.1783663570-dev.7 → 0.0.1783663570-dev.8
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/ams-checkout.js +3 -3
- package/dist/ams-checkout.min.js +1 -1
- package/dist/ams-checkout.min.js.map +1 -1
- package/esm/config/index.js +1 -1
- package/esm/core/component/element/modernElementController/index.d.ts +2 -0
- package/esm/core/component/element/modernElementController/index.js +69 -39
- package/esm/modern/tools.js +1 -1
- package/esm/util/logger.js +1 -1
- package/package.json +1 -1
- package/types.d.ts +5 -0
- package/types.untrimmed.d.ts +5 -0
package/esm/util/logger.js
CHANGED
package/package.json
CHANGED
package/types.d.ts
CHANGED
|
@@ -3238,6 +3238,11 @@ export declare class ExpressElement extends BaseMainElement<ExpressElementConfig
|
|
|
3238
3238
|
/** setup 阶段的 renderData,仅供非 Safari PC Apple Pay host-token 路径读取 paymentRequest。 */
|
|
3239
3239
|
private _renderData;
|
|
3240
3240
|
private _hostSign;
|
|
3241
|
+
/**
|
|
3242
|
+
* 构造时传入的初始金额。cleanAppConfig 已剔除 amount,setup 阶段透传给 iframe(PayPal 按钮首屏需要)
|
|
3243
|
+
* 与 PayPal channelClientId 查询仍需读它;运行时改额只能走 updateConfig。
|
|
3244
|
+
*/
|
|
3245
|
+
private _initialAmount;
|
|
3241
3246
|
/**
|
|
3242
3247
|
* 本地事件处理器(绕过 bridge 的 host→webapp 方向限制)。
|
|
3243
3248
|
* bridge.on 只能监听 iframe 发来的消息;SDK host 主动推送事件给商户时走 _emit → _localHandlers。
|
package/types.untrimmed.d.ts
CHANGED
|
@@ -3656,6 +3656,11 @@ export declare class ExpressElement extends BaseMainElement<ExpressElementConfig
|
|
|
3656
3656
|
/** setup 阶段的 renderData,仅供非 Safari PC Apple Pay host-token 路径读取 paymentRequest。 */
|
|
3657
3657
|
private _renderData;
|
|
3658
3658
|
private _hostSign;
|
|
3659
|
+
/**
|
|
3660
|
+
* 构造时传入的初始金额。cleanAppConfig 已剔除 amount,setup 阶段透传给 iframe(PayPal 按钮首屏需要)
|
|
3661
|
+
* 与 PayPal channelClientId 查询仍需读它;运行时改额只能走 updateConfig。
|
|
3662
|
+
*/
|
|
3663
|
+
private _initialAmount;
|
|
3659
3664
|
/**
|
|
3660
3665
|
* 本地事件处理器(绕过 bridge 的 host→webapp 方向限制)。
|
|
3661
3666
|
* bridge.on 只能监听 iframe 发来的消息;SDK host 主动推送事件给商户时走 _emit → _localHandlers。
|