@alipay/ams-checkout 0.0.1784542444-dev.7 → 0.0.1784542444-dev.9
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 +0 -1
- package/esm/core/component/element/modernElementController/index.js +13 -17
- package/esm/modern/tools.js +1 -1
- package/esm/util/logger.js +1 -1
- package/package.json +1 -1
- package/types.d.ts +11 -2
- package/types.untrimmed.d.ts +13 -1
package/esm/util/logger.js
CHANGED
package/package.json
CHANGED
package/types.d.ts
CHANGED
|
@@ -3165,10 +3165,12 @@ export declare interface ExpressAppConfig extends BaseAppearance<AppearanceSetti
|
|
|
3165
3165
|
*/
|
|
3166
3166
|
paymentMethods?: string[];
|
|
3167
3167
|
/* Excluded from this release type: setupError */
|
|
3168
|
+
/* Excluded from this release type: locale */
|
|
3168
3169
|
/**
|
|
3169
|
-
*
|
|
3170
|
+
* 是否运行在 Native App 的 WebView 中。
|
|
3171
|
+
* 为 true 时,跳转通过 onRedirect 事件委托给 Native 端处理。
|
|
3170
3172
|
*/
|
|
3171
|
-
|
|
3173
|
+
isNativeAppWebview?: boolean;
|
|
3172
3174
|
/* Excluded from this release type: merchantDomain */
|
|
3173
3175
|
/* Excluded from this release type: doMain */
|
|
3174
3176
|
}
|
|
@@ -3363,6 +3365,13 @@ export declare interface ExpressElementEvents extends AntomBridgeWithNativeEvent
|
|
|
3363
3365
|
error?: ErrorPayload<string>;
|
|
3364
3366
|
};
|
|
3365
3367
|
'OPENSDK@COMPLETE_PAYMENT_REJECT': Record<string, never>;
|
|
3368
|
+
onRedirect: {
|
|
3369
|
+
normalUrl: string;
|
|
3370
|
+
applinkUrl?: string;
|
|
3371
|
+
schemaUrl?: string;
|
|
3372
|
+
isDestroy: boolean;
|
|
3373
|
+
needReset: boolean;
|
|
3374
|
+
};
|
|
3366
3375
|
}
|
|
3367
3376
|
|
|
3368
3377
|
declare interface ExpSupportBank {
|
package/types.untrimmed.d.ts
CHANGED
|
@@ -3582,9 +3582,14 @@ export declare interface ExpressAppConfig extends BaseAppearance<AppearanceSetti
|
|
|
3582
3582
|
*/
|
|
3583
3583
|
setupError?: ErrorPayload;
|
|
3584
3584
|
/**
|
|
3585
|
-
* Locale
|
|
3585
|
+
* @internal Locale is injected from loadAntom and defaults to en_US.
|
|
3586
3586
|
*/
|
|
3587
3587
|
locale?: string;
|
|
3588
|
+
/**
|
|
3589
|
+
* 是否运行在 Native App 的 WebView 中。
|
|
3590
|
+
* 为 true 时,跳转通过 onRedirect 事件委托给 Native 端处理。
|
|
3591
|
+
*/
|
|
3592
|
+
isNativeAppWebview?: boolean;
|
|
3588
3593
|
/** @internal SDK host 侧商户域名,供 Apple Pay merchant validation 使用 */
|
|
3589
3594
|
merchantDomain?: string;
|
|
3590
3595
|
/** @internal Elements2 历史协议字段,含义同 merchantDomain */
|
|
@@ -3781,6 +3786,13 @@ export declare interface ExpressElementEvents extends AntomBridgeWithNativeEvent
|
|
|
3781
3786
|
error?: ErrorPayload<string>;
|
|
3782
3787
|
};
|
|
3783
3788
|
'OPENSDK@COMPLETE_PAYMENT_REJECT': Record<string, never>;
|
|
3789
|
+
onRedirect: {
|
|
3790
|
+
normalUrl: string;
|
|
3791
|
+
applinkUrl?: string;
|
|
3792
|
+
schemaUrl?: string;
|
|
3793
|
+
isDestroy: boolean;
|
|
3794
|
+
needReset: boolean;
|
|
3795
|
+
};
|
|
3784
3796
|
}
|
|
3785
3797
|
|
|
3786
3798
|
declare interface ExpSupportBank {
|