@logto/client 2.3.1 → 2.3.2

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.
package/lib/index.cjs CHANGED
@@ -355,7 +355,7 @@ class LogtoClient {
355
355
  if (!this.logtoConfig.scopes?.includes(js.UserScope.Organizations)) {
356
356
  throw new errors.LogtoClientError('missing_scope_organizations');
357
357
  }
358
- return this.#getAccessToken(undefined, organizationId);
358
+ return this.getAccessToken(undefined, organizationId);
359
359
  }
360
360
  async #handleSignInCallback(callbackUri) {
361
361
  const { requester } = this.adapter;
package/lib/index.js CHANGED
@@ -352,7 +352,7 @@ class LogtoClient {
352
352
  if (!this.logtoConfig.scopes?.includes(UserScope.Organizations)) {
353
353
  throw new LogtoClientError('missing_scope_organizations');
354
354
  }
355
- return this.#getAccessToken(undefined, organizationId);
355
+ return this.getAccessToken(undefined, organizationId);
356
356
  }
357
357
  async #handleSignInCallback(callbackUri) {
358
358
  const { requester } = this.adapter;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@logto/client",
3
- "version": "2.3.1",
3
+ "version": "2.3.2",
4
4
  "type": "module",
5
5
  "main": "./lib/index.cjs",
6
6
  "module": "./lib/index.js",
@@ -27,8 +27,8 @@
27
27
  "jose": "^5.0.0"
28
28
  },
29
29
  "devDependencies": {
30
- "@silverhand/eslint-config": "^4.0.1",
31
- "@silverhand/ts-config": "^4.0.0",
30
+ "@silverhand/eslint-config": "^5.0.0",
31
+ "@silverhand/ts-config": "^5.0.0",
32
32
  "@swc/core": "^1.3.50",
33
33
  "@swc/jest": "^0.2.24",
34
34
  "@types/jest": "^29.5.0",