@logto/browser 0.2.1 → 0.2.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.
Files changed (2) hide show
  1. package/lib/index.js +2 -1
  2. package/package.json +2 -2
package/lib/index.js CHANGED
@@ -133,7 +133,7 @@ class LogtoClient {
133
133
  return (0, js_1.decodeIdToken)(this.idToken);
134
134
  }
135
135
  async signIn(redirectUri) {
136
- const { appId: clientId, resources, scopes } = this.logtoConfig;
136
+ const { appId: clientId, prompt, resources, scopes } = this.logtoConfig;
137
137
  const { authorizationEndpoint } = await this.getOidcConfig();
138
138
  const codeVerifier = (0, js_1.generateCodeVerifier)();
139
139
  const codeChallenge = await (0, js_1.generateCodeChallenge)(codeVerifier);
@@ -146,6 +146,7 @@ class LogtoClient {
146
146
  state,
147
147
  scopes,
148
148
  resources,
149
+ prompt,
149
150
  });
150
151
  this.signInSession = { redirectUri, codeVerifier, state };
151
152
  this.refreshToken = null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@logto/browser",
3
- "version": "0.2.1",
3
+ "version": "0.2.2",
4
4
  "main": "./lib/index.js",
5
5
  "exports": "./lib/index.js",
6
6
  "typings": "./lib/index.d.ts",
@@ -54,5 +54,5 @@
54
54
  "publishConfig": {
55
55
  "access": "public"
56
56
  },
57
- "gitHead": "b572a2f02cec128f24efc6a030ea68c7e44e9384"
57
+ "gitHead": "c8e2ad8ea656887884f9d32c119086d53554c178"
58
58
  }