@atlasauth/svelte 0.1.1 → 0.1.3
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 +3 -3
- package/dist/server.d.ts +2 -2
- package/dist/server.js +2 -2
- package/package.json +13 -4
package/README.md
CHANGED
|
@@ -41,7 +41,7 @@ component which also paints the appearance tokens onto a host-DOM wrapper.
|
|
|
41
41
|
import { AtlasProvider } from '@atlas/svelte';
|
|
42
42
|
</script>
|
|
43
43
|
|
|
44
|
-
<AtlasProvider publishableKey="pk_live_…" frontendApi="https
|
|
44
|
+
<AtlasProvider publishableKey="pk_live_…" frontendApi="https://your-instance.fapi.atlasauth.net">
|
|
45
45
|
<slot />
|
|
46
46
|
</AtlasProvider>
|
|
47
47
|
```
|
|
@@ -159,8 +159,8 @@ server verifies with no network round-trip.
|
|
|
159
159
|
import { handleAtlas } from '@atlas/svelte/server';
|
|
160
160
|
|
|
161
161
|
export const handle = handleAtlas({
|
|
162
|
-
jwksUrl: 'https
|
|
163
|
-
issuer: 'https
|
|
162
|
+
jwksUrl: 'https://your-instance.fapi.atlasauth.net/.well-known/jwks.json',
|
|
163
|
+
issuer: 'https://your-instance.fapi.atlasauth.net',
|
|
164
164
|
// authorizedParties: ['https://app.example.com'], // optional azp allowlist
|
|
165
165
|
});
|
|
166
166
|
```
|
package/dist/server.d.ts
CHANGED
|
@@ -75,8 +75,8 @@ export declare function resolveServerAuth(backend: AtlasBackend, event: KitReque
|
|
|
75
75
|
* // src/hooks.server.ts
|
|
76
76
|
* import { handleAtlas } from '@atlasauth/svelte/server';
|
|
77
77
|
* export const handle = handleAtlas({
|
|
78
|
-
* jwksUrl: 'https://<instance>.
|
|
79
|
-
* issuer: 'https://<instance>.
|
|
78
|
+
* jwksUrl: 'https://<instance>.atlasauth.net/.well-known/jwks.json',
|
|
79
|
+
* issuer: 'https://<instance>.atlasauth.net',
|
|
80
80
|
* });
|
|
81
81
|
* ```
|
|
82
82
|
*/
|
package/dist/server.js
CHANGED
|
@@ -52,8 +52,8 @@ export async function resolveServerAuth(backend, event, cookieName = '__session'
|
|
|
52
52
|
* // src/hooks.server.ts
|
|
53
53
|
* import { handleAtlas } from '@atlasauth/svelte/server';
|
|
54
54
|
* export const handle = handleAtlas({
|
|
55
|
-
* jwksUrl: 'https://<instance>.
|
|
56
|
-
* issuer: 'https://<instance>.
|
|
55
|
+
* jwksUrl: 'https://<instance>.atlasauth.net/.well-known/jwks.json',
|
|
56
|
+
* issuer: 'https://<instance>.atlasauth.net',
|
|
57
57
|
* });
|
|
58
58
|
* ```
|
|
59
59
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlasauth/svelte",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.3",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"svelte": "./dist/index.js",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
"./package.json": "./package.json"
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@atlasauth/js": "0.1.
|
|
25
|
-
"@atlasauth/
|
|
26
|
-
"@atlasauth/
|
|
24
|
+
"@atlasauth/js": "0.1.9",
|
|
25
|
+
"@atlasauth/backend": "0.1.7",
|
|
26
|
+
"@atlasauth/authz": "0.1.1"
|
|
27
27
|
},
|
|
28
28
|
"peerDependencies": {
|
|
29
29
|
"svelte": ">=4",
|
|
@@ -49,6 +49,15 @@
|
|
|
49
49
|
"publishConfig": {
|
|
50
50
|
"access": "public"
|
|
51
51
|
},
|
|
52
|
+
"repository": {
|
|
53
|
+
"type": "git",
|
|
54
|
+
"url": "git+https://github.com/alphajew420/ssoly.git",
|
|
55
|
+
"directory": "packages/svelte"
|
|
56
|
+
},
|
|
57
|
+
"homepage": "https://github.com/alphajew420/ssoly/tree/main/packages/svelte#readme",
|
|
58
|
+
"bugs": {
|
|
59
|
+
"url": "https://github.com/alphajew420/ssoly/issues"
|
|
60
|
+
},
|
|
52
61
|
"scripts": {
|
|
53
62
|
"build": "svelte-package -i src/lib -o dist",
|
|
54
63
|
"typecheck": "svelte-check --tsconfig ./tsconfig.json",
|