crh-jssdk 1.0.54 → 1.0.55

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.
@@ -133,11 +133,11 @@ exports.default = {
133
133
  */
134
134
  goWebview: function (params) {
135
135
  return __awaiter(this, void 0, void 0, function () {
136
- var url, _a, needTitle, _b, isWt, gotoUrl, error_3;
136
+ var url, _a, needTitle, isWt, _b, isCfcaMode, gotoUrl, error_3;
137
137
  return __generator(this, function (_c) {
138
138
  switch (_c.label) {
139
139
  case 0:
140
- url = params.url, _a = params.needTitle, needTitle = _a === void 0 ? true : _a, _b = params.isWt, isWt = _b === void 0 ? false : _b;
140
+ url = params.url, _a = params.needTitle, needTitle = _a === void 0 ? true : _a, isWt = params.isWt, _b = params.isCfcaMode, isCfcaMode = _b === void 0 ? false : _b;
141
141
  _c.label = 1;
142
142
  case 1:
143
143
  _c.trys.push([1, 9, , 10]);
@@ -159,6 +159,9 @@ exports.default = {
159
159
  return [2 /*return*/];
160
160
  case 6:
161
161
  gotoUrl = "client.html?action=ymtz^webid=9995^url=".concat(url, "^isHiddenNavigationBar=").concat(needTitle ? 1 : 0, "^isHiddenBottomBar=1^isNeedWtLogin=1");
162
+ if (isCfcaMode) {
163
+ gotoUrl += '^isCfcaMode=1';
164
+ }
162
165
  console.log("gotoUrl", gotoUrl);
163
166
  console.log('gotoUrl----11', "client.html?action=ymtz^webid=9995^url=".concat(encodeURIComponent(url), "^isHiddenNavigationBar=").concat(needTitle ? 1 : 0, "^isHiddenBottomBar=1^isNeedWtLogin=1"));
164
167
  return [4 /*yield*/, utils_1.jyBridge.bridgeCallHandler("Promise", "gotoNextPage", {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "crh-jssdk",
3
- "version": "1.0.54",
3
+ "version": "1.0.55",
4
4
  "description": "crh-jssdk",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {