@alipay/ams-checkout 0.0.1690858103-dev.1 → 0.0.1690894389-dev.0
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/dist/esm/core/component/index.js +0 -12
- package/dist/esm/plugin/component/appPath.d.ts +2 -0
- package/dist/esm/plugin/component/{cashierApp.js → appPath.js} +13 -77
- package/dist/esm/plugin/component/component.style.js +1 -1
- package/dist/esm/plugin/component/index.d.ts +12 -6
- package/dist/esm/plugin/component/index.js +126 -91
- package/dist/esm/service/index.d.ts +2 -2
- package/dist/esm/types/index.d.ts +6 -13
- package/dist/esm/util/index.js +1 -1
- package/dist/umd/ams-checkout.min.js +1 -1
- package/package.json +1 -1
- package/dist/esm/plugin/component/cashierApp.d.ts +0 -24
@@ -55,13 +55,12 @@ export interface IcreateComponent {
|
|
55
55
|
export interface IappendIframeNodesParams extends IcreateComponent {
|
56
56
|
paymentSessionMetaData?: IpaymentSessionMetaData;
|
57
57
|
}
|
58
|
-
interface IpaymentSessionConfig {
|
59
|
-
productScene: productSceneEnum;
|
60
|
-
paymentMethodCategoryType: paymentMethodCategoryTypeEnum;
|
61
|
-
productSceneVersion: string;
|
62
|
-
}
|
63
58
|
export interface IpaymentSessionMetaData {
|
64
|
-
paymentSessionConfig?:
|
59
|
+
paymentSessionConfig?: {
|
60
|
+
productScene: productSceneEnum;
|
61
|
+
paymentMethodCategoryType: paymentMethodCategoryTypeEnum;
|
62
|
+
productSceneVersion?: string;
|
63
|
+
};
|
65
64
|
moneyView?: any;
|
66
65
|
extendInfo?: string;
|
67
66
|
paymentMethodInfoView?: any;
|
@@ -143,7 +142,7 @@ export interface AMSCheckoutOptions {
|
|
143
142
|
mode: string;
|
144
143
|
analytics?: Ianalytics;
|
145
144
|
}
|
146
|
-
|
145
|
+
interface Ianalytics {
|
147
146
|
enabled: boolean;
|
148
147
|
}
|
149
148
|
export declare enum ERROR {
|
@@ -176,12 +175,6 @@ export interface RequestConfig {
|
|
176
175
|
locale?: string;
|
177
176
|
hostSign?: string;
|
178
177
|
}
|
179
|
-
export interface CashierSdkActionQueryRequest {
|
180
|
-
paymentSessionData: string;
|
181
|
-
paymentSessionConfig?: IpaymentSessionConfig;
|
182
|
-
paymentMethodType?: string;
|
183
|
-
extParams?: any;
|
184
|
-
}
|
185
178
|
declare global {
|
186
179
|
interface Window {
|
187
180
|
[key: string]: any;
|
package/dist/esm/util/index.js
CHANGED
@@ -230,6 +230,6 @@ var queryParse = function queryParse(url) {
|
|
230
230
|
var getDesignFontSize = function getDesignFontSize() {
|
231
231
|
var screenWidth = document.documentElement.clientWidth;
|
232
232
|
var currentFontSize = isPC() ? 100 : screenWidth * 100 / 390;
|
233
|
-
return
|
233
|
+
return currentFontSize;
|
234
234
|
};
|
235
235
|
export { getType, EventCenter, getViewPort, getOrigin, serialize, isJsonString, isDom, device, fomatGetwayError, safeJson, isPC, queryParse, getDesignFontSize };
|