@darkauth/client 1.20.0 → 1.20.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/dist/index.js +1 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -686,7 +686,7 @@ export async function getSessionInfo() {
686
686
  };
687
687
  }
688
688
  export async function switchOrganization(organizationId, options = {}) {
689
- const mode = options.mode || "silent";
689
+ const mode = options.mode || "authorize";
690
690
  if (mode === "silent") {
691
691
  const response = await fetch(rootEndpoint("/api/user/session/organization"), {
692
692
  method: "POST",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@darkauth/client",
3
- "version": "1.20.0",
3
+ "version": "1.20.2",
4
4
  "license": "MIT",
5
5
  "repository": {
6
6
  "directory": "packages/darkauth-client",