@stackframe/stack 2.5.28 → 2.5.30
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/CHANGELOG.md +18 -0
- package/dist/components/oauth-button.js +48 -47
- package/dist/components/oauth-button.js.map +1 -1
- package/dist/esm/components/oauth-button.js +48 -47
- package/dist/esm/components/oauth-button.js.map +1 -1
- package/dist/esm/lib/stack-app.js +5 -3
- package/dist/esm/lib/stack-app.js.map +1 -1
- package/dist/lib/stack-app.d.mts +1 -0
- package/dist/lib/stack-app.d.ts +1 -0
- package/dist/lib/stack-app.js +5 -3
- package/dist/lib/stack-app.js.map +1 -1
- package/package.json +4 -4
package/dist/lib/stack-app.d.mts
CHANGED
package/dist/lib/stack-app.d.ts
CHANGED
package/dist/lib/stack-app.js
CHANGED
|
@@ -63,7 +63,7 @@ var import_url = require("../utils/url");
|
|
|
63
63
|
var import_auth = require("./auth");
|
|
64
64
|
var import_cookie = require("./cookie");
|
|
65
65
|
var NextNavigation = (0, import_compile_time.scrambleDuringCompileTime)(NextNavigationUnscrambled);
|
|
66
|
-
var clientVersion = "js @stackframe/stack@2.5.
|
|
66
|
+
var clientVersion = "js @stackframe/stack@2.5.30";
|
|
67
67
|
function getUrls(partial) {
|
|
68
68
|
const handler = partial.handler ?? "/handler";
|
|
69
69
|
const home = partial.home ?? "/";
|
|
@@ -1715,7 +1715,8 @@ var _StackAdminAppImpl = class extends _StackServerAppImpl {
|
|
|
1715
1715
|
type: "standard",
|
|
1716
1716
|
clientId: p.client_id ?? (0, import_errors.throwErr)("Client ID is missing"),
|
|
1717
1717
|
clientSecret: p.client_secret ?? (0, import_errors.throwErr)("Client secret is missing"),
|
|
1718
|
-
facebookConfigId: p.facebook_config_id
|
|
1718
|
+
facebookConfigId: p.facebook_config_id,
|
|
1719
|
+
microsoftTenantId: p.microsoft_tenant_id
|
|
1719
1720
|
}),
|
|
1720
1721
|
emailConfig: data.config.email_config.type === "shared" ? {
|
|
1721
1722
|
type: "shared"
|
|
@@ -1931,7 +1932,8 @@ function adminProjectUpdateOptionsToCrud(options) {
|
|
|
1931
1932
|
...p.type === "standard" && {
|
|
1932
1933
|
client_id: p.clientId,
|
|
1933
1934
|
client_secret: p.clientSecret,
|
|
1934
|
-
facebook_config_id: p.facebookConfigId
|
|
1935
|
+
facebook_config_id: p.facebookConfigId,
|
|
1936
|
+
microsoft_tenant_id: p.microsoftTenantId
|
|
1935
1937
|
}
|
|
1936
1938
|
})),
|
|
1937
1939
|
email_config: options.config?.emailConfig && (options.config.emailConfig.type === "shared" ? {
|