@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.
- package/CHANGELOG.md +10 -0
- package/dist/components/user-button.js +2 -2
- package/dist/components/user-button.js.map +1 -1
- package/dist/esm/components/user-button.js +2 -2
- package/dist/esm/components/user-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
|
@@ -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.
|
|
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" ? {
|