@nocobase/sdk 0.9.2-alpha.2 → 0.9.2-alpha.3

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.
Files changed (2) hide show
  1. package/package.json +2 -2
  2. package/src/APIClient.ts +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nocobase/sdk",
3
- "version": "0.9.2-alpha.2",
3
+ "version": "0.9.2-alpha.3",
4
4
  "license": "Apache-2.0",
5
5
  "main": "lib",
6
6
  "module": "es/index.js",
@@ -12,5 +12,5 @@
12
12
  "devDependencies": {
13
13
  "axios-mock-adapter": "^1.20.0"
14
14
  },
15
- "gitHead": "1a0de6908b2b1854bdf434fcafa8909cb65bb8a3"
15
+ "gitHead": "b6b5f9372202d942c97d2d90a4197e060db05124"
16
16
  }
package/src/APIClient.ts CHANGED
@@ -125,7 +125,7 @@ export class Auth {
125
125
  this.api.storage.setItem(this.NOCOBASE_ROLE_KEY, role || '');
126
126
  }
127
127
 
128
- async signIn(values, authenticator: string = 'password'): Promise<AxiosResponse<any>> {
128
+ async signIn(values, authenticator = 'password'): Promise<AxiosResponse<any>> {
129
129
  const response = await this.api.request({
130
130
  method: 'post',
131
131
  url: 'users:signin',