syttunnel 0.1.5-6 → 0.1.5-7

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.
@@ -74,8 +74,9 @@ interface INavigatorFrameResponse {
74
74
  export declare class AppNavigator {
75
75
  /**
76
76
  * 关闭当前h5应用
77
+ * 对应app9.38版本升级为携带参数
77
78
  */
78
- closeH5App(): void;
79
+ closeH5App(params?: any): void;
79
80
  /**
80
81
  * 设置导航栏标题
81
82
  * @param params
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "syttunnel",
3
- "version": "0.1.5-6",
3
+ "version": "0.1.5-7",
4
4
  "description": "",
5
5
  "main": "syttunnel.js",
6
6
  "types": "index.d.ts",
package/syttunnel.js CHANGED
@@ -769,11 +769,12 @@ var AppNavigator = /** @class */ (function () {
769
769
  }
770
770
  /**
771
771
  * 关闭当前h5应用
772
+ * 对应app9.38版本升级为携带参数
772
773
  */
773
- AppNavigator.prototype.closeH5App = function () {
774
+ AppNavigator.prototype.closeH5App = function (params) {
774
775
  var appFunc = {
775
776
  method: "backToBefore",
776
- params: {},
777
+ params: params,
777
778
  };
778
779
  bridge_1.default.postMessage(appFunc).then().catch();
779
780
  };