@holo-js/config 0.1.5 → 0.1.7
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.mjs +2 -2
- package/package.json +2 -2
package/dist/index.mjs
CHANGED
|
@@ -317,7 +317,7 @@ var holoAuthDefaults = Object.freeze({
|
|
|
317
317
|
route: DEFAULT_AUTH_EMAIL_VERIFICATION_ROUTE
|
|
318
318
|
}),
|
|
319
319
|
personalAccessTokens: Object.freeze({
|
|
320
|
-
defaultAbilities: Object.freeze([])
|
|
320
|
+
defaultAbilities: Object.freeze(["*"])
|
|
321
321
|
}),
|
|
322
322
|
socialEncryptionKey: void 0,
|
|
323
323
|
social: Object.freeze({}),
|
|
@@ -1334,7 +1334,7 @@ function normalizeAuthConfig(config2 = {}, _options = {}) {
|
|
|
1334
1334
|
route: typeof config2.emailVerification === "boolean" ? DEFAULT_AUTH_EMAIL_VERIFICATION_ROUTE : config2.emailVerification?.route?.trim() || DEFAULT_AUTH_EMAIL_VERIFICATION_ROUTE
|
|
1335
1335
|
}),
|
|
1336
1336
|
personalAccessTokens: Object.freeze({
|
|
1337
|
-
defaultAbilities: Object.freeze([...config2.personalAccessTokens?.defaultAbilities ??
|
|
1337
|
+
defaultAbilities: Object.freeze([...config2.personalAccessTokens?.defaultAbilities ?? holoAuthDefaults.personalAccessTokens.defaultAbilities])
|
|
1338
1338
|
}),
|
|
1339
1339
|
socialEncryptionKey: config2.socialEncryptionKey?.trim() || _options.appKey?.trim() || void 0,
|
|
1340
1340
|
social,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@holo-js/config",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.7",
|
|
4
4
|
"description": "Holo-JS Framework - typed config loading, env layering, and runtime access",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"test": "vitest --run"
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@holo-js/db": "^0.1.
|
|
25
|
+
"@holo-js/db": "^0.1.7"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
28
|
"tsup": "^8.3.5",
|