@alipay/ams-checkout 0.0.1701850681-dev.0 → 0.0.1701850681-dev.4
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.
@@ -138,9 +138,6 @@ export var AMSComponent = /*#__PURE__*/function (_CoreInstance) {
|
|
138
138
|
key: "pluginAppendIframe",
|
139
139
|
value: function pluginAppendIframe(appendParams) {
|
140
140
|
try {
|
141
|
-
this.logger.logInfo({
|
142
|
-
title: 'sdk_event_createComponent'
|
143
|
-
}).send();
|
144
141
|
return this._componentApp.appendIframeNodes(appendParams.componentSign, appendParams.iframeNodesParams);
|
145
142
|
} catch (error) {
|
146
143
|
return Promise.reject(error);
|
@@ -241,8 +241,11 @@ var ComponentApp = /*#__PURE__*/function () {
|
|
241
241
|
if ((_renderParams = renderParams) !== null && _renderParams !== void 0 && _renderParams.selector) this._selector = renderParams.selector;
|
242
242
|
this._renderDisplayType = renderParams.renderDisplayType;
|
243
243
|
var insertedNode = this._renderDisplayType === renderDisplayTypeEnum.inline ? "#".concat(COMPONENT_CONTAINER_ID) : this._selector;
|
244
|
-
this.initSecurity();
|
245
244
|
this.initLoggerMeta();
|
245
|
+
this.AMSSDK.logger.logInfo({
|
246
|
+
title: 'sdk_event_createComponent'
|
247
|
+
}).send();
|
248
|
+
this.initSecurity();
|
246
249
|
this._performanceData.push({
|
247
250
|
key: 'sdk_create_component',
|
248
251
|
value: Date.now()
|
@@ -813,6 +816,9 @@ var ComponentApp = /*#__PURE__*/function () {
|
|
813
816
|
key: 'sdk_onLaunch',
|
814
817
|
value: Date.now()
|
815
818
|
});
|
819
|
+
this.AMSSDK.logger.logInfo({
|
820
|
+
title: 'sdk_event_webAppOnLaunch'
|
821
|
+
}).send();
|
816
822
|
this._loadAppPromiseResolve && this._loadAppPromiseResolve(true);
|
817
823
|
this.sendRenderEvent();
|
818
824
|
return;
|
package/package.json
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"name":"@alipay/ams-checkout","version":"0.0.1701850681-dev.
|
1
|
+
{"name":"@alipay/ams-checkout","version":"0.0.1701850681-dev.4","description":"","author":"","main":"esm/index.js","module":"esm/index.js","typings":"esm/index.d.ts","files":["dist","esm","LEGAL.md","LICENSE","README.md"],"scripts":{"build":"father build","ci":"npm run lint","cov":"jest --coverage","format":"prettier --write --no-error-on-unmatched-pattern \"**/*.{js,jsx,ts,tsx,md,json,css,less}\"","lint":"eslint ./src","test":"jest"},"dependencies":{"axios":"^1.3.4","uuid":"^9.0.0"},"devDependencies":{"@babel/core":"^7.20.7","@babel/preset-env":"^7.20.2","@testing-library/jest-dom":"^5.1.1","@testing-library/react":"^9.5.0","@types/jest":"^29.2.4","@types/uuid":"^9.0.0","@typescript-eslint/eslint-plugin":"latest","@typescript-eslint/parser":"^5.60.0","babel-jest":"^29.3.1","babel-loader":"^9.1.0","babel-plugin-import":"^1.13.0","eslint":"^8.36.0","eslint-plugin-prettier":"latest","father":"^4.2.3","jest":"^29.5.0","jest-environment-jsdom":"^29.3.1","prettier":"^2.8.4","prettier-plugin-organize-imports":"^3.2.3","prettier-plugin-packagejson":"^2.4.5","ts-jest":"^29.0.3","ts-node":"^10.9.1","typescript":"^4.9.5"},"engines":{},"publishConfig":{"access":"public"}}
|