crh-jssdk 1.0.36 → 1.0.37

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.
@@ -85,7 +85,7 @@ exports.default = {
85
85
  params = {
86
86
  info_type: "wt",
87
87
  call_type: callType,
88
- key_type: utils_1.ios ? "bh_zhfx" : "",
88
+ key_type: utils_1.ios ? "bh_zhfx" : "default",
89
89
  };
90
90
  console.log("金圆统一调用getUserInfoByRsa,参数:", params);
91
91
  // 回调模式
@@ -137,7 +137,7 @@ exports.default = {
137
137
  params = {
138
138
  info_type: "wt",
139
139
  call_type: utils_1.ios ? "callback_after_login" : "login",
140
- key_type: utils_1.ios ? "bh_zhfx" : "",
140
+ key_type: utils_1.ios ? "bh_zhfx" : "default",
141
141
  };
142
142
  console.log("金圆统一获取交易登录Token,参数:", params);
143
143
  extractToken_1 = function (response) {
@@ -187,7 +187,7 @@ exports.default = {
187
187
  info_type: "hq", // 获取信息,只需要手机号
188
188
  call_type: "fetch",
189
189
  // iOS 传 bh_zhfx,安卓传空
190
- key_type: utils_1.ios ? "bh_zhfx" : "",
190
+ key_type: utils_1.ios ? "bh_zhfx" : "default",
191
191
  };
192
192
  console.log("金圆统一获取手机号Token,参数:", params);
193
193
  return [4 /*yield*/, utils_1.jyBridge.bridgeCallHandler("Promise", "getUserInfoByRsa", params)];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "crh-jssdk",
3
- "version": "1.0.36",
3
+ "version": "1.0.37",
4
4
  "description": "crh-jssdk",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {