@alipay/ams-checkout 0.0.1732886551-dev.2 → 0.0.1732886551-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/esm/index.d.ts CHANGED
@@ -33,4 +33,5 @@ export declare class AMSEasyPay {
33
33
  private core;
34
34
  constructor(options: IoptionsParams);
35
35
  createComponent(params: IcreateComponent): void;
36
+ unmount(): void;
36
37
  }
package/esm/index.js CHANGED
@@ -181,6 +181,11 @@ export var AMSEasyPay = /*#__PURE__*/function () {
181
181
  isAppWebview: params.isAppWebview
182
182
  });
183
183
  }
184
+ }, {
185
+ key: "unmount",
186
+ value: function unmount() {
187
+ this.core.destroy();
188
+ }
184
189
  }]);
185
190
  return AMSEasyPay;
186
191
  }();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alipay/ams-checkout",
3
- "version": "0.0.1732886551-dev.2",
3
+ "version": "0.0.1732886551-dev.3",
4
4
  "description": "",
5
5
  "author": "",
6
6
  "main": "esm/index.js",