@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.
- package/dist/umd/ams-checkout.min.js +1 -1
- package/esm/core/bus/ability/callback.d.ts +9 -0
- package/esm/core/bus/ability/callback.js +55 -0
- package/esm/core/bus/ability/security.d.ts +10 -0
- package/esm/core/bus/ability/security.js +104 -0
- package/esm/core/bus/ability/tracker.d.ts +9 -0
- package/esm/core/bus/ability/tracker.js +77 -0
- package/esm/core/bus/index.d.ts +72 -0
- package/esm/core/bus/index.js +309 -0
- package/esm/core/bus/interface.d.ts +32 -0
- package/esm/core/bus/interface.js +35 -0
- package/esm/core/component/index.d.ts +15 -1
- package/esm/core/component/index.js +185 -28
- package/esm/core/instance/index.d.ts +5 -1
- package/esm/core/instance/index.js +41 -4
- package/esm/index.d.ts +0 -3
- package/esm/index.js +8 -18
- package/esm/{core/applepay/index.d.ts → plugin/applepay/component.d.ts} +17 -8
- package/esm/{core/applepay/index.js → plugin/applepay/component.js} +124 -170
- package/esm/plugin/applepay/index.d.ts +17 -0
- package/esm/plugin/applepay/index.js +100 -0
- package/esm/{common → plugin}/applepay/interface.d.ts +62 -1
- package/esm/plugin/applepay/interface.js +73 -0
- package/esm/{common/applepay/index.d.ts → plugin/applepay/service.d.ts} +6 -3
- package/esm/{common/applepay/index.js → plugin/applepay/service.js} +95 -23
- package/esm/plugin/component/index.d.ts +2 -2
- package/esm/plugin/component/index.js +9 -9
- package/esm/plugin/const.d.ts +2 -0
- package/esm/plugin/const.js +19 -0
- package/esm/plugin/type.d.ts +33 -0
- package/esm/plugin/type.js +2 -0
- package/esm/types/index.d.ts +60 -6
- package/esm/types/index.js +8 -1
- package/package.json +1 -1
- package/esm/common/applepay/interface.js +0 -1
package/esm/types/index.js
CHANGED
@@ -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["
|
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 +0,0 @@
|
|
1
|
-
export {};
|