@alipay/ams-checkout 0.0.1763711027-dev.0 → 0.0.1763711027-dev.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.
Files changed (126) hide show
  1. package/package.json +1 -1
  2. package/LEGAL.md +0 -6
  3. package/LICENSE +0 -6
  4. package/README.md +0 -49
  5. package/esm/component/channel.d.ts +0 -21
  6. package/esm/component/component.inline.style.d.ts +0 -10
  7. package/esm/component/component.popup.style.d.ts +0 -26
  8. package/esm/component/popupWindow.style.d.ts +0 -24
  9. package/esm/config/index.d.ts +0 -16
  10. package/esm/config/request.d.ts +0 -21
  11. package/esm/constant/auto-debit.d.ts +0 -12
  12. package/esm/constant/easysafepay.d.ts +0 -16
  13. package/esm/constant/element.d.ts +0 -26
  14. package/esm/constant/index.d.ts +0 -344
  15. package/esm/core/bus/ability/callback.d.ts +0 -9
  16. package/esm/core/bus/ability/security.d.ts +0 -10
  17. package/esm/core/bus/ability/tracker.d.ts +0 -9
  18. package/esm/core/bus/index.d.ts +0 -125
  19. package/esm/core/bus/interface.d.ts +0 -36
  20. package/esm/core/component/address.d.ts +0 -8
  21. package/esm/core/component/appPreloadProcessing.d.ts +0 -1
  22. package/esm/core/component/ckp/index.d.ts +0 -29
  23. package/esm/core/component/element/EventCenter/index.d.ts +0 -31
  24. package/esm/core/component/element/elementContainerService/containerService.d.ts +0 -34
  25. package/esm/core/component/element/elementContainerService/index.d.ts +0 -20
  26. package/esm/core/component/element/elementController/index.d.ts +0 -48
  27. package/esm/core/component/element/elementProcessor/addressProcessor.d.ts +0 -20
  28. package/esm/core/component/element/elementProcessor/authProcessor.d.ts +0 -20
  29. package/esm/core/component/element/elementProcessor/baseElementProcessor.d.ts +0 -41
  30. package/esm/core/component/element/elementProcessor/paymentProcessor.d.ts +0 -22
  31. package/esm/core/component/element/index.d.ts +0 -13
  32. package/esm/core/component/element/mock.d.ts +0 -10
  33. package/esm/core/component/element/type.d.ts +0 -446
  34. package/esm/core/component/element/util.d.ts +0 -85
  35. package/esm/core/component/index.d.ts +0 -58
  36. package/esm/core/drop-in/index.d.ts +0 -22
  37. package/esm/core/instance/index.d.ts +0 -89
  38. package/esm/foundation/core/index.d.ts +0 -36
  39. package/esm/foundation/index.d.ts +0 -97
  40. package/esm/foundation/product-processor/autoDebit/deps.d.ts +0 -14
  41. package/esm/foundation/product-processor/autoDebit/index.d.ts +0 -48
  42. package/esm/foundation/product-processor/easysafepay/deps.d.ts +0 -20
  43. package/esm/foundation/product-processor/easysafepay/index.d.ts +0 -29
  44. package/esm/foundation/product-processor/element/index.d.ts +0 -7
  45. package/esm/foundation/service/api-bus/ability/callback.d.ts +0 -9
  46. package/esm/foundation/service/api-bus/ability/globalData.d.ts +0 -10
  47. package/esm/foundation/service/api-bus/ability/request.d.ts +0 -10
  48. package/esm/foundation/service/api-bus/ability/security.d.ts +0 -12
  49. package/esm/foundation/service/api-bus/ability/tracker.d.ts +0 -9
  50. package/esm/foundation/service/api-bus/busManager.d.ts +0 -127
  51. package/esm/foundation/service/api-bus/index.d.ts +0 -20
  52. package/esm/foundation/service/api-bus/interface.d.ts +0 -48
  53. package/esm/foundation/service/container/index.d.ts +0 -42
  54. package/esm/foundation/service/container/popup.d.ts +0 -31
  55. package/esm/foundation/service/container/utils.d.ts +0 -7
  56. package/esm/foundation/service/event-center.d.ts +0 -82
  57. package/esm/foundation/service/global-data/index.d.ts +0 -11
  58. package/esm/foundation/service/index.d.ts +0 -19
  59. package/esm/foundation/service/log/index.d.ts +0 -43
  60. package/esm/foundation/service/log/keys.d.ts +0 -13
  61. package/esm/foundation/service/log/processor.d.ts +0 -9
  62. package/esm/foundation/service/log/types.d.ts +0 -33
  63. package/esm/foundation/service/requester/deps.d.ts +0 -17
  64. package/esm/foundation/service/requester/requester.d.ts +0 -22
  65. package/esm/foundation/service/security/index.d.ts +0 -28
  66. package/esm/foundation/service/security/security.d.ts +0 -33
  67. package/esm/foundation/utils/gray_scale_utils.d.ts +0 -7
  68. package/esm/foundation/utils/payment_context_utils.d.ts +0 -13
  69. package/esm/foundation/utils/payment_product_utils.d.ts +0 -13
  70. package/esm/foundation/utils/preload_helper.d.ts +0 -21
  71. package/esm/foundation/utils/redirect_utils.d.ts +0 -11
  72. package/esm/foundation/utils/system_events.d.ts +0 -4
  73. package/esm/foundation/utils/web_app_url_utils.d.ts +0 -114
  74. package/esm/index.d.ts +0 -15
  75. package/esm/loader/Proxy.d.ts +0 -5
  76. package/esm/loader/constant.d.ts +0 -36
  77. package/esm/loader/index.d.ts +0 -20
  78. package/esm/loader/utils/common.d.ts +0 -13
  79. package/esm/loader/utils/debugger.d.ts +0 -7
  80. package/esm/loader/utils/loadSDK.d.ts +0 -8
  81. package/esm/loader/utils/logger.d.ts +0 -10
  82. package/esm/loader/utils/proxyPerformance.d.ts +0 -20
  83. package/esm/main.d.ts +0 -45
  84. package/esm/plugin/applepay/component.d.ts +0 -50
  85. package/esm/plugin/applepay/index.d.ts +0 -17
  86. package/esm/plugin/applepay/interface.d.ts +0 -161
  87. package/esm/plugin/applepay/service.d.ts +0 -54
  88. package/esm/plugin/component/cashierApp.d.ts +0 -38
  89. package/esm/plugin/component/channel.d.ts +0 -57
  90. package/esm/plugin/component/component.inline.style.d.ts +0 -10
  91. package/esm/plugin/component/component.popup.style.d.ts +0 -25
  92. package/esm/plugin/component/index.d.ts +0 -133
  93. package/esm/plugin/component/popupWindow.style.d.ts +0 -11
  94. package/esm/plugin/const.d.ts +0 -2
  95. package/esm/plugin/drop-in/index.d.ts +0 -71
  96. package/esm/plugin/payment-element/utils.d.ts +0 -2
  97. package/esm/plugin/paypal/index.d.ts +0 -20
  98. package/esm/plugin/type.d.ts +0 -34
  99. package/esm/plugin/utils.d.ts +0 -6
  100. package/esm/request/index.d.ts +0 -9
  101. package/esm/request/utils.d.ts +0 -28
  102. package/esm/service/index.d.ts +0 -13
  103. package/esm/types/index.d.ts +0 -854
  104. package/esm/util/createIframeNode.d.ts +0 -6
  105. package/esm/util/debug.d.ts +0 -1
  106. package/esm/util/get.d.ts +0 -25
  107. package/esm/util/getBackScheme.d.ts +0 -5
  108. package/esm/util/index.d.ts +0 -61
  109. package/esm/util/integrationType.d.ts +0 -21
  110. package/esm/util/intl-callapp/es/browser.d.ts +0 -21
  111. package/esm/util/intl-callapp/es/evoke.d.ts +0 -13
  112. package/esm/util/intl-callapp/es/generate.d.ts +0 -29
  113. package/esm/util/intl-callapp/es/index.d.ts +0 -43
  114. package/esm/util/intl-callapp/es/main.d.ts +0 -41
  115. package/esm/util/intl-callapp/es/openWallet.d.ts +0 -15
  116. package/esm/util/intl-callapp/es/types.d.ts +0 -46
  117. package/esm/util/intl-callapp/es/utils/config.d.ts +0 -24
  118. package/esm/util/intl-callapp/es/utils/index.d.ts +0 -15
  119. package/esm/util/logger.d.ts +0 -66
  120. package/esm/util/mock.d.ts +0 -1
  121. package/esm/util/redirect.d.ts +0 -6
  122. package/esm/util/security.d.ts +0 -34
  123. package/esm/util/spm-map.d.ts +0 -211
  124. package/esm/util/storage.d.ts +0 -2
  125. package/esm/util/upgrade.d.ts +0 -39
  126. package/esm/util/versionCompare.d.ts +0 -15
@@ -1,211 +0,0 @@
1
- export declare const ELEMENT_SPM_MAP: {
2
- sdk_event_mount_element: string;
3
- sdk_element_create: string;
4
- sdk_element_mount_fail: string;
5
- sdk_element_mount_start: string;
6
- multiple_instance_error: string;
7
- auto_apple_pay_start: string;
8
- auto_apple_pay_failed: string;
9
- auto_apple_pay_success: string;
10
- sdk_element_handleHeartBeat: string;
11
- sdk_element_handleInterAction: string;
12
- sdk_element_callback_error: string;
13
- sdk_element_missKeyData: string;
14
- sdk_event_mount: string;
15
- sdk_event_mount_end: string;
16
- sdk_event_submitPay: string;
17
- sdk_event_payment_end: string;
18
- sdk_event_validateFields: string;
19
- sdk_event_validateFields_end: string;
20
- sdk_event_apiOnDestroy: string;
21
- sdk_event_apiOnDestroy_end: string;
22
- };
23
- export declare const SPM_MAP: {
24
- sdk_event_mount_element: string;
25
- sdk_element_create: string;
26
- sdk_element_mount_fail: string;
27
- sdk_element_mount_start: string;
28
- multiple_instance_error: string;
29
- auto_apple_pay_start: string;
30
- auto_apple_pay_failed: string;
31
- auto_apple_pay_success: string;
32
- sdk_element_handleHeartBeat: string;
33
- sdk_element_handleInterAction: string;
34
- sdk_element_callback_error: string;
35
- sdk_element_missKeyData: string;
36
- sdk_event_mount: string;
37
- sdk_event_mount_end: string;
38
- sdk_event_submitPay: string;
39
- sdk_event_payment_end: string;
40
- sdk_event_validateFields: string;
41
- sdk_event_validateFields_end: string;
42
- sdk_event_apiOnDestroy: string;
43
- sdk_event_apiOnDestroy_end: string;
44
- sdk_error_runtime_error: string;
45
- sdk_event_sdkQuery_failed: string;
46
- container_error_error_insert_js: string;
47
- event_important_error: string;
48
- sdk_error_parameter: string;
49
- sdk_event_submitPay_failed: string;
50
- sdk_event_destroyComponent: string;
51
- container_error_page_load_failed: string;
52
- sdk_event_eventCallback: string;
53
- iap_net_error: string;
54
- sdk_event_event_callback: string;
55
- sdk_event_renderComponent: string;
56
- sdk_event_call_url_success: string;
57
- sdk_event_web_app_timeout: string;
58
- container_error_jsapi_call: string;
59
- sdk_event_appUpgradeInfo: string;
60
- sdk_event_webAppOnLaunch: string;
61
- sdk_event_createComponent: string;
62
- container_error_insert_js: string;
63
- container_error_error_jsapi_call: string;
64
- sdk_error_receive_message_from_web: string;
65
- sdk_error_securitySdkGetCodeFailed: string;
66
- sdk_error_securitySdkGetTokenFailed: string;
67
- sdk_error_securitySdkInitFailed: string;
68
- sdk_error_caught_exception_in_callback: string;
69
- sdk_error_call_url_failed: string;
70
- sdk_event_webAppTimeout: string;
71
- sdk_error_getGaidFailed: string;
72
- sdk_error_securitySdkInitTokenFailed: string;
73
- container_error_error_invalid_param: string;
74
- container_error_error_set_ua_failed: string;
75
- sdk_event_onAddressResult: string;
76
- sdk_event_onAbnormalEventName: string;
77
- event_important_log: string;
78
- sdk_event_sdkQueryEnd: string;
79
- container_event_manifest_load_start: string;
80
- sdk_event_api_preheat: string;
81
- container_event_manifest_load_complete: string;
82
- sdk_event_apiSubmit: string;
83
- sdk_event_securitySdkGetCodeSuccess: string;
84
- sdk_event_securitySdkInitSuccess: string;
85
- container_event_start_load: string;
86
- sdk_event_getRemoteConfigStart: string;
87
- container_event_webViewOnPageFinished: string;
88
- container_event_page_load_success: string;
89
- sdk_event_pre_init: string;
90
- sdk_event_submitPayEnd: string;
91
- container_stop_event_loop: string;
92
- iap_net_start: string;
93
- sdk_event_securitySdkPreInitSuccess: string;
94
- sdk_event_securitySdkPreInit: string;
95
- sdk_event_important_event: string;
96
- sdk_event_accelerateInfo: string;
97
- container_event_manifest_res_complete: string;
98
- container_event_manifest_res_start: string;
99
- sdk_event_dismissWindowCloseCancel: string;
100
- sdk_event_jsBridgeCall_httpRequestStart: string;
101
- sdk_event_getGaidSuccess: string;
102
- sdk_event_securitySdkInit: string;
103
- sdk_event_getRemoteLanguageResult: string;
104
- sdk_event_getRemoteLanguageStart: string;
105
- sdk_event_handleSDKPaymentResult: string;
106
- sdk_event_handleSDKPaymentFail: string;
107
- sdk_event_sdkQuery: string;
108
- sdk_event_handleSDKPaymentStart: string;
109
- sdk_event_securitySdkGetTokenSuccess: string;
110
- sdk_event_api_onDestroy: string;
111
- container_load_failed: string;
112
- sdk_event_kycAppPreLoadStart: string;
113
- sdk_event_getRemoteConfigResult: string;
114
- iap_net_result: string;
115
- sdk_event_popupWindowCloseButtonClick: string;
116
- container_error_resourceLoadFailed: string;
117
- container_event_startPreRenderUrl: string;
118
- sdk_event_webAppPreLoadStart: string;
119
- sdk_event_importantEvent: string;
120
- container_error_registerJSAPIPlugin: string;
121
- sdk_event_afterEventCallback: string;
122
- sdk_event_createPayment: string;
123
- sdk_event_sendMessageToWeb: string;
124
- sdk_error_appHeartBeatTimeout: string;
125
- container_event_jSEngineEvaluateJavascript: string;
126
- container_event_jSEngineLoadJavascript: string;
127
- sdk_event_receive_message_from_web: string;
128
- sdk_event_receiveMessageFromWeb: string;
129
- sdk_event_monitorFlushReport: string;
130
- container_event_page_pv: string;
131
- container_event_override_url_loading: string;
132
- sdk_event_dismissWindowCloseConfirm: string;
133
- container_load_success: string;
134
- container_event_page_start: string;
135
- sdk_event_webAppStartLoad: string;
136
- container_event_startPreLoadUrl: string;
137
- container_event_jsSEngineStart: string;
138
- container_event_jSEngineDestroy: string;
139
- sdk_event_send_message_to_web: string;
140
- container_event_importantEvent: string;
141
- sdk_event_monitorCrashTrackInit: string;
142
- container_event_stop_event_loop: string;
143
- sdk_event_requestAccelerateInfo: string;
144
- native_rpc_performance: string;
145
- container_event_jSEngineEvaluateJavascriptCallback: string;
146
- container_event_jSEngineRegisterJsapi: string;
147
- jSEngineEvaluateJavascriptConvertError: string;
148
- sdk_event_security_unneeded_scenarios: string;
149
- container_event_launch: string;
150
- event_jsapi_call_start: string;
151
- event_jsapi_call_end: string;
152
- sdk_event_call_url_start: string;
153
- sdk_event_onAbnormalKeys: string;
154
- sdk_event_espBeforePay: string;
155
- sdk_event_busPublishMessage: string;
156
- sdk_event_busIsSubscribe: string;
157
- sdk_event_busSubscribe: string;
158
- NEW_AMSSDK_BY_MECHANT: string;
159
- sdk_event_busClear: string;
160
- sdk_event_busAddInterceptor: string;
161
- sdk_error_securitySdkInitTimeout: string;
162
- sdk_error_busPublishNoResult: string;
163
- sdk_event_busPublishCallback: string;
164
- sdk_error_busPublishError: string;
165
- sdk_error_busPublishUnsubscribeError: string;
166
- sdk_event_busUnsubscribe: string;
167
- onBusPublishException: string;
168
- sdk_event_apiGetValue: string;
169
- load_channel_sdk_start: string;
170
- preload_match: string;
171
- preload_no_match: string;
172
- canMakePayments_error: string;
173
- performance_optimization_clearPreloadIframe: string;
174
- performance_optimization_clearPreloadIframe_timeout: string;
175
- sdk_event_call_url_failed: string;
176
- sdk_event_applePaymentResult: string;
177
- submitPayStatus: string;
178
- sdk_event_appleAvailable: string;
179
- sdk_event_appleCreateComponent: string;
180
- sdk_event_appleShowPaymentSheet: string;
181
- sdk_event_appleSubmitToken: string;
182
- sdk_event_appleDestroyComponent: string;
183
- paypal_payment_failed: string;
184
- paypal_payment_approved: string;
185
- paypal_payment_cancelled: string;
186
- sdk_event_clean_component: string;
187
- load_item_sdk_start: string;
188
- load_item_sdk_end: string;
189
- performance_optimization_get_previousChannel_error: string;
190
- performance_optimization_channelType_error: string;
191
- sdk_error_before_submit: string;
192
- sessionDataNull: string;
193
- 'appple runtime excepiton': string;
194
- sdk_error_created_app_process_failed: string;
195
- sdk_error_web_app_timeout: string;
196
- performance_optimization_preload: string;
197
- performance_optimization_preload_path_error: string;
198
- sdk_error_created_app_failed: string;
199
- sdk_error_create_pop_up: string;
200
- button_render_failed: string;
201
- paypal_payment_loadSDK_failed: string;
202
- load_item_sdk_error: string;
203
- load_item_sdk_timeout: string;
204
- MerchantValidationError: string;
205
- PaymentAuthorizedError: string;
206
- 'ApplePaySession is only support in Safari': string;
207
- 'Abnormal params paymentSessionFactor': string;
208
- 'Abnormal params recurringInfo': string;
209
- 'Payment processing but user dismissed the sheet': string;
210
- 'User dismissed the sheet': string;
211
- };
@@ -1,2 +0,0 @@
1
- export declare const getStorageString: (key: string, fallback?: string) => string;
2
- export declare const setStorageString: (key: string, value: string) => boolean;
@@ -1,39 +0,0 @@
1
- export declare function isWebPlatform(platform?: string): boolean;
2
- export interface UpgradeItem {
3
- productScene?: string;
4
- v: string;
5
- appVersion: string;
6
- platform?: string;
7
- mid?: string;
8
- greyscale?: string;
9
- }
10
- export interface UpgradeSdkInfo {
11
- productScene?: string;
12
- sdkVersion: string;
13
- appVersion?: string;
14
- greyscale?: number;
15
- mid?: string;
16
- }
17
- export declare function findUpgradeVersion(upgradeItems: UpgradeItem[], sdkInfo: UpgradeSdkInfo): string;
18
- export declare const getGrascaleId: (key?: string) => string;
19
- export declare function getGrayscaleValue(seed?: string): number;
20
- export declare function isGreyscaleMatch(item: UpgradeItem, randomGreyscale: number): boolean;
21
- /**
22
- * 查询匹配到的版本
23
- * @param _extendInfo
24
- * @param param1
25
- * @returns
26
- */
27
- export declare const getMatchAppVersion: (_extendInfo: string, sdkInfo: UpgradeSdkInfo) => string;
28
- /**
29
- * 获取保存的加载版本
30
- * @param versionKey
31
- * @returns
32
- */
33
- export declare const getLastAppVersion: (versionKey: string) => string;
34
- /**
35
- * 保存指定场景的加载版本供下次使用
36
- * @param versionKey
37
- * @returns
38
- */
39
- export declare const setLastAppVersion: (versionKey: string, appVersion: string) => boolean;
@@ -1,15 +0,0 @@
1
- /**
2
- * 返回值0标识一样大,1表示v1大,-1表示v2大
3
- * @param v1
4
- * @param v2
5
- */
6
- export declare function compareVersion(v1: string, v2: string): 0 | 1 | -1;
7
- /**
8
- * 判断version版本是否在range参数版本的范围内
9
- * @param version
10
- * @param range
11
- * @returns
12
- */
13
- export declare function isVersionInStringRange(version: string, range: string): boolean;
14
- export declare function isVersionInRange(currentVersion: any, minVersion: any, maxVersion: any): boolean;
15
- export declare function matchVersion(config: any, currentVersion: any): boolean;