crh-jssdk 1.0.5 → 1.0.6

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.
@@ -76,7 +76,7 @@ exports.default = {
76
76
  info_type: "wt",
77
77
  call_type: type,
78
78
  info_complete_check: "0",
79
- key_type: "lccommon",
79
+ key_type: "",
80
80
  needEncryptTraceInfo: true,
81
81
  };
82
82
  console.log("金圆统一调用getDeviceInfo,参数:", params);
@@ -72,9 +72,7 @@ exports.default = {
72
72
  params = {
73
73
  info_type: "wt", // wt返回交易信息
74
74
  call_type: callType,
75
- info_complete_check: "0",
76
- key_type: "lccommon",
77
- needEncryptTraceInfo: true,
75
+ key_type: "", // 传空才能拿到加密数据
78
76
  };
79
77
  console.log("金圆统一调用getUserInfoByRsa,参数:", params);
80
78
  return [4 /*yield*/, utils_1.jyBridge.bridgeCallHandler("Promise", "getUserInfoByRsa", params)];
@@ -153,10 +151,7 @@ exports.default = {
153
151
  params = {
154
152
  info_type: "wt",
155
153
  call_type: "login", // 使用login会拉起登录
156
- info_complete_check: "0",
157
- key_type: "lccommon",
158
- needEncryptTraceInfo: true,
159
- appId: appId,
154
+ key_type: "", // 传空才能拿到加密数据
160
155
  };
161
156
  console.log("金圆统一获取交易登录Token,参数:", params);
162
157
  return [4 /*yield*/, utils_1.jyBridge.bridgeCallHandler("Promise", "getUserInfoByRsa", params)];
@@ -196,11 +191,7 @@ exports.default = {
196
191
  params = {
197
192
  info_type: "hq", // 获取信息,只需要手机号
198
193
  call_type: "fetch",
199
- info_complete_check: "0",
200
- key_type: "lccommon",
201
- needEncryptTraceInfo: true,
202
- appId: APPID,
203
- tokenRetry: true,
194
+ key_type: "", // 传空才能拿到加密数据
204
195
  };
205
196
  console.log("金圆统一获取手机号Token,参数:", params);
206
197
  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.5",
3
+ "version": "1.0.6",
4
4
  "description": "crh-jssdk",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {