@alipay/ams-checkout 0.0.1713838058-dev.2 → 0.0.1715248982-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/esm/constant/index.d.ts
CHANGED
@@ -155,10 +155,10 @@ export declare const EVENT: {
|
|
155
155
|
getGlobalData: {
|
156
156
|
name: string;
|
157
157
|
};
|
158
|
-
|
158
|
+
sendMuitiAppEventToSdk: {
|
159
159
|
name: string;
|
160
160
|
};
|
161
|
-
|
161
|
+
receiveMuitiAppFromSdk: {
|
162
162
|
name: string;
|
163
163
|
};
|
164
164
|
getUserAgentFromSdk: {
|
package/esm/constant/index.js
CHANGED
@@ -155,11 +155,11 @@ export var EVENT = {
|
|
155
155
|
getGlobalData: {
|
156
156
|
name: 'getGlobalData'
|
157
157
|
},
|
158
|
-
|
159
|
-
name: '
|
158
|
+
sendMuitiAppEventToSdk: {
|
159
|
+
name: 'sendMuitiAppEventToSdk'
|
160
160
|
},
|
161
|
-
|
162
|
-
name: '
|
161
|
+
receiveMuitiAppFromSdk: {
|
162
|
+
name: 'receiveMuitiAppFromSdk'
|
163
163
|
},
|
164
164
|
getUserAgentFromSdk: {
|
165
165
|
name: 'getUserAgentFromSdk'
|
@@ -55,7 +55,7 @@ var ComponentApp = /*#__PURE__*/function () {
|
|
55
55
|
_defineProperty(this, "_multipleCallbackEvents", void 0);
|
56
56
|
_defineProperty(this, "_merchantAppointParam", void 0);
|
57
57
|
_defineProperty(this, "_webAppHeartBeatTimeoutFn", void 0);
|
58
|
-
this._appVersion = '1.
|
58
|
+
this._appVersion = '1.14.0.0';
|
59
59
|
this._isInitComponent = false;
|
60
60
|
this._selector = "#".concat(COMPONENT_SECTION_ID);
|
61
61
|
this.createIframeNode = function () {
|
@@ -1024,10 +1024,10 @@ var ComponentApp = /*#__PURE__*/function () {
|
|
1024
1024
|
this.createDialog((_data$context = data.context) === null || _data$context === void 0 ? void 0 : _data$context.data);
|
1025
1025
|
return;
|
1026
1026
|
}
|
1027
|
-
if (data.context.event === EVENT.
|
1027
|
+
if (data.context.event === EVENT.sendMuitiAppEventToSdk.name) {
|
1028
1028
|
this.dispatchToApp({
|
1029
1029
|
context: {
|
1030
|
-
event: '
|
1030
|
+
event: 'receiveMuitiAppFromSdk',
|
1031
1031
|
data: data.context.data
|
1032
1032
|
}
|
1033
1033
|
});
|