@stackframe/stack 2.5.29 → 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.
@@ -391,6 +391,7 @@ type AdminOAuthProviderConfig = {
391
391
  clientId: string;
392
392
  clientSecret: string;
393
393
  facebookConfigId?: string;
394
+ microsoftTenantId?: string;
394
395
  }) & OAuthProviderConfig;
395
396
  type AdminProjectConfigUpdateOptions = {
396
397
  domains?: {
@@ -391,6 +391,7 @@ type AdminOAuthProviderConfig = {
391
391
  clientId: string;
392
392
  clientSecret: string;
393
393
  facebookConfigId?: string;
394
+ microsoftTenantId?: string;
394
395
  }) & OAuthProviderConfig;
395
396
  type AdminProjectConfigUpdateOptions = {
396
397
  domains?: {
@@ -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.29";
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" ? {