@alipay/ams-checkout 0.0.1763539719-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 (139) hide show
  1. package/ams-checkout.js +1 -0
  2. package/dist/umd/ams-checkout.min.js +1 -1
  3. package/esm/config/index.js +8 -8
  4. package/esm/constant/auto-debit.js +15 -0
  5. package/esm/constant/element.js +30 -0
  6. package/esm/constant/index.js +3 -0
  7. package/esm/core/component/element/elementProcessor/addressProcessor.js +2 -3
  8. package/esm/core/component/element/elementProcessor/authProcessor.js +2 -3
  9. package/esm/core/component/element/elementProcessor/paymentProcessor.js +30 -28
  10. package/esm/foundation/core/index.js +27 -0
  11. package/esm/foundation/service/container/index.js +33 -2
  12. package/esm/foundation/utils/web_app_url_utils.js +10 -15
  13. package/esm/index.js +19 -339
  14. package/esm/loader/Proxy.js +364 -0
  15. package/esm/loader/constant.js +36 -0
  16. package/esm/loader/index.js +23 -0
  17. package/esm/loader/utils/common.js +63 -0
  18. package/esm/loader/utils/debugger.js +15 -0
  19. package/esm/loader/utils/loadSDK.js +92 -0
  20. package/esm/loader/utils/logger.js +59 -0
  21. package/esm/loader/utils/proxyPerformance.js +66 -0
  22. package/esm/main.js +329 -0
  23. package/esm/plugin/component/cashierApp.js +7 -4
  24. package/esm/util/integrationType.js +48 -0
  25. package/esm/util/logger.js +1 -1
  26. package/package.json +7 -1
  27. package/LEGAL.md +0 -6
  28. package/LICENSE +0 -6
  29. package/README.md +0 -49
  30. package/esm/component/channel.d.ts +0 -21
  31. package/esm/component/component.inline.style.d.ts +0 -10
  32. package/esm/component/component.popup.style.d.ts +0 -26
  33. package/esm/component/popupWindow.style.d.ts +0 -24
  34. package/esm/config/index.d.ts +0 -16
  35. package/esm/config/request.d.ts +0 -21
  36. package/esm/constant/easysafepay.d.ts +0 -16
  37. package/esm/constant/index.d.ts +0 -341
  38. package/esm/core/bus/ability/callback.d.ts +0 -9
  39. package/esm/core/bus/ability/security.d.ts +0 -10
  40. package/esm/core/bus/ability/tracker.d.ts +0 -9
  41. package/esm/core/bus/index.d.ts +0 -125
  42. package/esm/core/bus/interface.d.ts +0 -36
  43. package/esm/core/component/address.d.ts +0 -8
  44. package/esm/core/component/appPreloadProcessing.d.ts +0 -1
  45. package/esm/core/component/ckp/index.d.ts +0 -29
  46. package/esm/core/component/element/EventCenter/index.d.ts +0 -31
  47. package/esm/core/component/element/elementContainerService/containerService.d.ts +0 -34
  48. package/esm/core/component/element/elementContainerService/index.d.ts +0 -20
  49. package/esm/core/component/element/elementController/index.d.ts +0 -48
  50. package/esm/core/component/element/elementProcessor/addressProcessor.d.ts +0 -20
  51. package/esm/core/component/element/elementProcessor/authProcessor.d.ts +0 -20
  52. package/esm/core/component/element/elementProcessor/baseElementProcessor.d.ts +0 -41
  53. package/esm/core/component/element/elementProcessor/paymentProcessor.d.ts +0 -22
  54. package/esm/core/component/element/index.d.ts +0 -13
  55. package/esm/core/component/element/mock.d.ts +0 -10
  56. package/esm/core/component/element/type.d.ts +0 -443
  57. package/esm/core/component/element/util.d.ts +0 -85
  58. package/esm/core/component/index.d.ts +0 -58
  59. package/esm/core/drop-in/index.d.ts +0 -22
  60. package/esm/core/instance/index.d.ts +0 -89
  61. package/esm/foundation/core/index.d.ts +0 -36
  62. package/esm/foundation/index.d.ts +0 -97
  63. package/esm/foundation/product-processor/autoDebit/deps.d.ts +0 -14
  64. package/esm/foundation/product-processor/autoDebit/index.d.ts +0 -48
  65. package/esm/foundation/product-processor/easysafepay/deps.d.ts +0 -20
  66. package/esm/foundation/product-processor/easysafepay/index.d.ts +0 -29
  67. package/esm/foundation/product-processor/element/index.d.ts +0 -7
  68. package/esm/foundation/service/api-bus/ability/callback.d.ts +0 -9
  69. package/esm/foundation/service/api-bus/ability/globalData.d.ts +0 -10
  70. package/esm/foundation/service/api-bus/ability/request.d.ts +0 -10
  71. package/esm/foundation/service/api-bus/ability/security.d.ts +0 -12
  72. package/esm/foundation/service/api-bus/ability/tracker.d.ts +0 -9
  73. package/esm/foundation/service/api-bus/busManager.d.ts +0 -127
  74. package/esm/foundation/service/api-bus/index.d.ts +0 -20
  75. package/esm/foundation/service/api-bus/interface.d.ts +0 -48
  76. package/esm/foundation/service/container/index.d.ts +0 -41
  77. package/esm/foundation/service/container/popup.d.ts +0 -31
  78. package/esm/foundation/service/container/utils.d.ts +0 -7
  79. package/esm/foundation/service/event-center.d.ts +0 -82
  80. package/esm/foundation/service/global-data/index.d.ts +0 -11
  81. package/esm/foundation/service/index.d.ts +0 -19
  82. package/esm/foundation/service/log/index.d.ts +0 -43
  83. package/esm/foundation/service/log/keys.d.ts +0 -13
  84. package/esm/foundation/service/log/processor.d.ts +0 -9
  85. package/esm/foundation/service/log/types.d.ts +0 -33
  86. package/esm/foundation/service/requester/deps.d.ts +0 -17
  87. package/esm/foundation/service/requester/requester.d.ts +0 -22
  88. package/esm/foundation/service/security/index.d.ts +0 -28
  89. package/esm/foundation/service/security/security.d.ts +0 -33
  90. package/esm/foundation/utils/gray_scale_utils.d.ts +0 -7
  91. package/esm/foundation/utils/payment_context_utils.d.ts +0 -13
  92. package/esm/foundation/utils/payment_product_utils.d.ts +0 -13
  93. package/esm/foundation/utils/preload_helper.d.ts +0 -21
  94. package/esm/foundation/utils/redirect_utils.d.ts +0 -11
  95. package/esm/foundation/utils/system_events.d.ts +0 -4
  96. package/esm/foundation/utils/web_app_url_utils.d.ts +0 -116
  97. package/esm/index.d.ts +0 -54
  98. package/esm/plugin/applepay/component.d.ts +0 -50
  99. package/esm/plugin/applepay/index.d.ts +0 -17
  100. package/esm/plugin/applepay/interface.d.ts +0 -161
  101. package/esm/plugin/applepay/service.d.ts +0 -54
  102. package/esm/plugin/component/cashierApp.d.ts +0 -38
  103. package/esm/plugin/component/channel.d.ts +0 -57
  104. package/esm/plugin/component/component.inline.style.d.ts +0 -10
  105. package/esm/plugin/component/component.popup.style.d.ts +0 -25
  106. package/esm/plugin/component/index.d.ts +0 -133
  107. package/esm/plugin/component/popupWindow.style.d.ts +0 -11
  108. package/esm/plugin/const.d.ts +0 -2
  109. package/esm/plugin/drop-in/index.d.ts +0 -71
  110. package/esm/plugin/payment-element/utils.d.ts +0 -2
  111. package/esm/plugin/paypal/index.d.ts +0 -20
  112. package/esm/plugin/type.d.ts +0 -34
  113. package/esm/plugin/utils.d.ts +0 -6
  114. package/esm/request/index.d.ts +0 -9
  115. package/esm/request/utils.d.ts +0 -28
  116. package/esm/service/index.d.ts +0 -13
  117. package/esm/types/index.d.ts +0 -854
  118. package/esm/util/createIframeNode.d.ts +0 -6
  119. package/esm/util/debug.d.ts +0 -1
  120. package/esm/util/get.d.ts +0 -25
  121. package/esm/util/getBackScheme.d.ts +0 -5
  122. package/esm/util/index.d.ts +0 -61
  123. package/esm/util/intl-callapp/es/browser.d.ts +0 -21
  124. package/esm/util/intl-callapp/es/evoke.d.ts +0 -13
  125. package/esm/util/intl-callapp/es/generate.d.ts +0 -29
  126. package/esm/util/intl-callapp/es/index.d.ts +0 -43
  127. package/esm/util/intl-callapp/es/main.d.ts +0 -41
  128. package/esm/util/intl-callapp/es/openWallet.d.ts +0 -15
  129. package/esm/util/intl-callapp/es/types.d.ts +0 -46
  130. package/esm/util/intl-callapp/es/utils/config.d.ts +0 -24
  131. package/esm/util/intl-callapp/es/utils/index.d.ts +0 -15
  132. package/esm/util/logger.d.ts +0 -64
  133. package/esm/util/mock.d.ts +0 -1
  134. package/esm/util/redirect.d.ts +0 -6
  135. package/esm/util/security.d.ts +0 -34
  136. package/esm/util/spm-map.d.ts +0 -211
  137. package/esm/util/storage.d.ts +0 -2
  138. package/esm/util/upgrade.d.ts +0 -39
  139. package/esm/util/versionCompare.d.ts +0 -15
@@ -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): 1 | 0 | -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;