@nauth-toolkit/client 0.1.99 → 0.1.100
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/dist/index.cjs +3 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +20 -0
- package/dist/index.d.ts +20 -0
- package/dist/index.mjs +3 -0
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -2048,6 +2048,9 @@ var NAuthClient = class {
|
|
|
2048
2048
|
if (typeof options?.appState === "string" && options.appState.trim() !== "") {
|
|
2049
2049
|
startUrl.searchParams.set("appState", options.appState);
|
|
2050
2050
|
}
|
|
2051
|
+
if (options?.oauthParams && Object.keys(options.oauthParams).length > 0) {
|
|
2052
|
+
startUrl.searchParams.set("oauthParams", JSON.stringify(options.oauthParams));
|
|
2053
|
+
}
|
|
2051
2054
|
window.location.href = startUrl.toString();
|
|
2052
2055
|
}
|
|
2053
2056
|
}
|