@pisell/pisellos 3.0.70 → 3.0.71

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.
@@ -189,7 +189,8 @@ var onlineStoreConfig = {
189
189
  return {
190
190
  phone: String(params.phone),
191
191
  code: params.code,
192
- country_calling_code: String(params.country_calling_code)
192
+ country_calling_code: String(params.country_calling_code),
193
+ action: params.action
193
194
  };
194
195
  }
195
196
  },
@@ -511,7 +512,8 @@ var defaultConfig = {
511
512
  return {
512
513
  phone: String(params.phone),
513
514
  code: params.code,
514
- country_calling_code: String(params.country_calling_code)
515
+ country_calling_code: String(params.country_calling_code),
516
+ action: params.action
515
517
  };
516
518
  }
517
519
  },
@@ -328,6 +328,7 @@ export interface CheckMobileCodeParams {
328
328
  shop_id: number;
329
329
  code: string;
330
330
  country_calling_code: string;
331
+ action: string;
331
332
  }
332
333
  /**
333
334
  * 验证码有效性检查响应接口
@@ -157,7 +157,8 @@ var onlineStoreConfig = {
157
157
  transformParams: (params) => ({
158
158
  phone: String(params.phone),
159
159
  code: params.code,
160
- country_calling_code: String(params.country_calling_code)
160
+ country_calling_code: String(params.country_calling_code),
161
+ action: params.action
161
162
  })
162
163
  },
163
164
  phonePasswordLogin: {
@@ -407,7 +408,8 @@ var defaultConfig = {
407
408
  transformParams: (params) => ({
408
409
  phone: String(params.phone),
409
410
  code: params.code,
410
- country_calling_code: String(params.country_calling_code)
411
+ country_calling_code: String(params.country_calling_code),
412
+ action: params.action
411
413
  })
412
414
  },
413
415
  phonePasswordLogin: {
@@ -328,6 +328,7 @@ export interface CheckMobileCodeParams {
328
328
  shop_id: number;
329
329
  code: string;
330
330
  country_calling_code: string;
331
+ action: string;
331
332
  }
332
333
  /**
333
334
  * 验证码有效性检查响应接口
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "private": false,
3
3
  "name": "@pisell/pisellos",
4
- "version": "3.0.70",
4
+ "version": "3.0.71",
5
5
  "description": "一个可扩展的前端模块化SDK框架,支持插件系统",
6
6
  "main": "dist/index.js",
7
7
  "types": "dist/index.d.ts",