@pisell/pisellos 2.2.26 → 2.2.27

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.
@@ -728,7 +728,7 @@ var webposConfig = {
728
728
  }
729
729
  },
730
730
  emailPasswordLogin: {
731
- url: '/tenant/auth/login/email',
731
+ url: '/tenant/account/login/email',
732
732
  method: 'POST',
733
733
  transformParams: function transformParams(params) {
734
734
  return {
@@ -741,6 +741,7 @@ var webposConfig = {
741
741
  return {
742
742
  // withCredentials: true,
743
743
  prefix: false,
744
+ isDefaultSaasDomain: true,
744
745
  cache: {
745
746
  mode: "remote_local",
746
747
  type: "indexDB",
@@ -573,7 +573,7 @@ var webposConfig = {
573
573
  })
574
574
  },
575
575
  emailPasswordLogin: {
576
- url: "/tenant/auth/login/email",
576
+ url: "/tenant/account/login/email",
577
577
  method: "POST",
578
578
  transformParams: (params) => ({
579
579
  email: params.email,
@@ -583,6 +583,7 @@ var webposConfig = {
583
583
  options: (values) => ({
584
584
  // withCredentials: true,
585
585
  prefix: false,
586
+ isDefaultSaasDomain: true,
586
587
  cache: {
587
588
  mode: "remote_local",
588
589
  type: "indexDB",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "private": false,
3
3
  "name": "@pisell/pisellos",
4
- "version": "2.2.26",
4
+ "version": "2.2.27",
5
5
  "description": "一个可扩展的前端模块化SDK框架,支持插件系统",
6
6
  "main": "dist/index.js",
7
7
  "types": "dist/index.d.ts",