@alipay/ams-checkout 0.0.1709715270-dev.1 → 0.0.1709715270-dev.3

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 (35) hide show
  1. package/dist/umd/ams-checkout.min.js +1 -1
  2. package/esm/core/bus/ability/callback.d.ts +9 -0
  3. package/esm/core/bus/ability/callback.js +55 -0
  4. package/esm/core/bus/ability/security.d.ts +10 -0
  5. package/esm/core/bus/ability/security.js +104 -0
  6. package/esm/core/bus/ability/tracker.d.ts +9 -0
  7. package/esm/core/bus/ability/tracker.js +77 -0
  8. package/esm/core/bus/index.d.ts +72 -0
  9. package/esm/core/bus/index.js +309 -0
  10. package/esm/core/bus/interface.d.ts +32 -0
  11. package/esm/core/bus/interface.js +35 -0
  12. package/esm/core/component/index.d.ts +15 -1
  13. package/esm/core/component/index.js +185 -28
  14. package/esm/core/instance/index.d.ts +5 -1
  15. package/esm/core/instance/index.js +41 -4
  16. package/esm/index.d.ts +0 -3
  17. package/esm/index.js +8 -18
  18. package/esm/{core/applepay/index.d.ts → plugin/applepay/component.d.ts} +17 -8
  19. package/esm/{core/applepay/index.js → plugin/applepay/component.js} +124 -170
  20. package/esm/plugin/applepay/index.d.ts +17 -0
  21. package/esm/plugin/applepay/index.js +100 -0
  22. package/esm/{common → plugin}/applepay/interface.d.ts +62 -1
  23. package/esm/plugin/applepay/interface.js +73 -0
  24. package/esm/{common/applepay/index.d.ts → plugin/applepay/service.d.ts} +6 -3
  25. package/esm/{common/applepay/index.js → plugin/applepay/service.js} +95 -23
  26. package/esm/plugin/component/index.d.ts +2 -2
  27. package/esm/plugin/component/index.js +9 -9
  28. package/esm/plugin/const.d.ts +2 -0
  29. package/esm/plugin/const.js +19 -0
  30. package/esm/plugin/type.d.ts +33 -0
  31. package/esm/plugin/type.js +2 -0
  32. package/esm/types/index.d.ts +60 -6
  33. package/esm/types/index.js +8 -1
  34. package/package.json +1 -1
  35. package/esm/common/applepay/interface.js +0 -1
@@ -153,9 +153,11 @@ export var eventCodeEnum = /*#__PURE__*/function (eventCodeEnum) {
153
153
  eventCodeEnum["SDK_CREATECOMPONENT_ERROR"] = "SDK_CREATECOMPONENT_ERROR";
154
154
  eventCodeEnum["SDK_CALL_URL_ERROR"] = "SDK_CALL_URL_ERROR";
155
155
  eventCodeEnum["SDK_CALL_URL_SUCCESS"] = "SDK_CALL_URL_SUCCESS";
156
- eventCodeEnum["SDK_PAYMENT_FINISH"] = "SDK_PAYMENT_FINISH";
156
+ eventCodeEnum["SDK_PAYMENT_SUCCESSFUL"] = "SDK_PAYMENT_SUCCESSFUL";
157
157
  eventCodeEnum["SDK_PAYMENT_FAIL"] = "SDK_PAYMENT_FAIL";
158
+ eventCodeEnum["SDK_PAYMENT_ERROR"] = "SDK_PAYMENT_ERROR";
158
159
  eventCodeEnum["SDK_PAYMENT_CANCEL"] = "SDK_PAYMENT_CANCEL";
160
+ eventCodeEnum["SDK_PAYMENT_PROCESSING"] = "SDK_PAYMENT_PROCESSING";
159
161
  return eventCodeEnum;
160
162
  }({});
161
163
  export var RedirectType = /*#__PURE__*/function (RedirectType) {
@@ -164,4 +166,9 @@ export var RedirectType = /*#__PURE__*/function (RedirectType) {
164
166
  RedirectType["NormalUrl"] = "NormalUrl";
165
167
  RedirectType["Unknown"] = "Unknown";
166
168
  return RedirectType;
169
+ }({});
170
+ export var ProductSceneVersion = /*#__PURE__*/function (ProductSceneVersion) {
171
+ ProductSceneVersion["V1"] = "1.0";
172
+ ProductSceneVersion["V2"] = "2.0";
173
+ return ProductSceneVersion;
167
174
  }({});
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alipay/ams-checkout",
3
- "version": "0.0.1709715270-dev.1",
3
+ "version": "0.0.1709715270-dev.3",
4
4
  "description": "",
5
5
  "author": "",
6
6
  "main": "esm/index.js",
@@ -1 +0,0 @@
1
- export {};