@atlasauth/nuxt 0.1.1 → 0.1.2
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/README.md +4 -4
- package/dist/module.d.mts +1 -1
- package/dist/module.d.ts +1 -1
- package/dist/module.json +1 -1
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -33,7 +33,7 @@ export default defineNuxtConfig({
|
|
|
33
33
|
atlas: {
|
|
34
34
|
// Public — sent to the browser.
|
|
35
35
|
publishableKey: 'pk_test_...',
|
|
36
|
-
frontendApi: 'https://your-instance
|
|
36
|
+
frontendApi: 'https://your-instance-fapi.atlasauth.net',
|
|
37
37
|
},
|
|
38
38
|
|
|
39
39
|
runtimeConfig: {
|
|
@@ -57,9 +57,9 @@ In production, prefer environment variables (they override the config above):
|
|
|
57
57
|
|
|
58
58
|
```bash
|
|
59
59
|
NUXT_PUBLIC_ATLAS_PUBLISHABLE_KEY=pk_live_...
|
|
60
|
-
NUXT_PUBLIC_ATLAS_FRONTEND_API=https://your-instance
|
|
61
|
-
NUXT_ATLAS_JWKS_URL=https://your-instance
|
|
62
|
-
NUXT_ATLAS_ISSUER=https://your-instance
|
|
60
|
+
NUXT_PUBLIC_ATLAS_FRONTEND_API=https://your-instance-fapi.atlasauth.net
|
|
61
|
+
NUXT_ATLAS_JWKS_URL=https://your-instance-fapi.atlasauth.net/.well-known/jwks.json
|
|
62
|
+
NUXT_ATLAS_ISSUER=https://your-instance-fapi.atlasauth.net
|
|
63
63
|
```
|
|
64
64
|
|
|
65
65
|
## Use in pages and components
|
package/dist/module.d.mts
CHANGED
|
@@ -23,7 +23,7 @@ interface ModuleOptions {
|
|
|
23
23
|
* `NUXT_PUBLIC_ATLAS_PUBLISHABLE_KEY` env var in production.
|
|
24
24
|
*/
|
|
25
25
|
publishableKey?: string;
|
|
26
|
-
/** The instance's FAPI origin (e.g. `https://fox
|
|
26
|
+
/** The instance's FAPI origin (e.g. `https://fox-fapi.atlasauth.net`). Public. */
|
|
27
27
|
frontendApi?: string;
|
|
28
28
|
/**
|
|
29
29
|
* The instance's JWKS URL, used by the Nitro side to verify session JWTs.
|
package/dist/module.d.ts
CHANGED
|
@@ -23,7 +23,7 @@ interface ModuleOptions {
|
|
|
23
23
|
* `NUXT_PUBLIC_ATLAS_PUBLISHABLE_KEY` env var in production.
|
|
24
24
|
*/
|
|
25
25
|
publishableKey?: string;
|
|
26
|
-
/** The instance's FAPI origin (e.g. `https://fox
|
|
26
|
+
/** The instance's FAPI origin (e.g. `https://fox-fapi.atlasauth.net`). Public. */
|
|
27
27
|
frontendApi?: string;
|
|
28
28
|
/**
|
|
29
29
|
* The instance's JWKS URL, used by the Nitro side to verify session JWTs.
|
package/dist/module.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlasauth/nuxt",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Official Nuxt 3 module for Atlas — SSR session verification (Nitro) built on the @atlasauth/vue client.",
|
|
6
6
|
"license": "MIT",
|
|
@@ -23,10 +23,10 @@
|
|
|
23
23
|
],
|
|
24
24
|
"dependencies": {
|
|
25
25
|
"@nuxt/kit": "^3.13.0",
|
|
26
|
-
"@atlasauth/vue": "0.1.
|
|
27
|
-
"@atlasauth/
|
|
28
|
-
"@atlasauth/
|
|
29
|
-
"@atlasauth/
|
|
26
|
+
"@atlasauth/vue": "0.1.4",
|
|
27
|
+
"@atlasauth/backend": "0.1.7",
|
|
28
|
+
"@atlasauth/authz": "0.1.1",
|
|
29
|
+
"@atlasauth/js": "0.1.9"
|
|
30
30
|
},
|
|
31
31
|
"peerDependencies": {
|
|
32
32
|
"nuxt": "^3"
|