@stackframe/stack 2.5.9 → 2.5.10

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.
@@ -362,6 +362,7 @@ type AdminOAuthProviderConfig = {
362
362
  type: 'standard';
363
363
  clientId: string;
364
364
  clientSecret: string;
365
+ facebookConfigId?: string;
365
366
  }) & OAuthProviderConfig;
366
367
  type AdminProjectConfigUpdateOptions = {
367
368
  domains?: {
@@ -362,6 +362,7 @@ type AdminOAuthProviderConfig = {
362
362
  type: 'standard';
363
363
  clientId: string;
364
364
  clientSecret: string;
365
+ facebookConfigId?: string;
365
366
  }) & OAuthProviderConfig;
366
367
  type AdminProjectConfigUpdateOptions = {
367
368
  domains?: {
@@ -62,7 +62,7 @@ var import_url = require("../utils/url");
62
62
  var import_auth = require("./auth");
63
63
  var import_cookie = require("./cookie");
64
64
  var NextNavigation = (0, import_compile_time.scrambleDuringCompileTime)(NextNavigationUnscrambled);
65
- var clientVersion = "js @stackframe/stack@2.5.9";
65
+ var clientVersion = "js @stackframe/stack@2.5.10";
66
66
  function getUrls(partial) {
67
67
  const handler = partial.handler ?? "/handler";
68
68
  const home = partial.home ?? "/";
@@ -1432,7 +1432,8 @@ var _StackAdminAppImpl = class extends _StackServerAppImpl {
1432
1432
  enabled: p.enabled,
1433
1433
  type: "standard",
1434
1434
  clientId: p.client_id ?? (0, import_errors.throwErr)("Client ID is missing"),
1435
- clientSecret: p.client_secret ?? (0, import_errors.throwErr)("Client secret is missing")
1435
+ clientSecret: p.client_secret ?? (0, import_errors.throwErr)("Client secret is missing"),
1436
+ facebookConfigId: p.facebook_config_id
1436
1437
  }),
1437
1438
  emailConfig: data.config.email_config.type === "shared" ? {
1438
1439
  type: "shared"
@@ -1614,7 +1615,8 @@ function adminProjectUpdateOptionsToCrud(options) {
1614
1615
  type: p.type,
1615
1616
  ...p.type === "standard" && {
1616
1617
  client_id: p.clientId,
1617
- client_secret: p.clientSecret
1618
+ client_secret: p.clientSecret,
1619
+ facebook_config_id: p.facebookConfigId
1618
1620
  }
1619
1621
  })),
1620
1622
  email_config: options.config?.emailConfig && (options.config.emailConfig.type === "shared" ? {