@jskit-ai/auth-provider-local-db-core 0.1.42 → 0.1.45
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jskit-ai/auth-provider-local-db-core",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.45",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"test": "node --test"
|
|
@@ -10,9 +10,9 @@
|
|
|
10
10
|
"./server/lib/index": "./src/server/lib/index.js"
|
|
11
11
|
},
|
|
12
12
|
"dependencies": {
|
|
13
|
-
"@jskit-ai/auth-provider-local-core": "0.1.
|
|
14
|
-
"@jskit-ai/database-runtime": "0.1.
|
|
15
|
-
"@jskit-ai/kernel": "0.1.
|
|
13
|
+
"@jskit-ai/auth-provider-local-core": "0.1.54",
|
|
14
|
+
"@jskit-ai/database-runtime": "0.1.153",
|
|
15
|
+
"@jskit-ai/kernel": "0.1.153"
|
|
16
16
|
},
|
|
17
17
|
"description": "Database-backed local auth storage backend for JSKIT local auth.",
|
|
18
18
|
"jskit": {
|
|
@@ -89,9 +89,9 @@
|
|
|
89
89
|
"mutations": {
|
|
90
90
|
"dependencies": {
|
|
91
91
|
"runtime": {
|
|
92
|
-
"@jskit-ai/auth-provider-local-core": "0.1.
|
|
93
|
-
"@jskit-ai/database-runtime": "0.1.
|
|
94
|
-
"@jskit-ai/kernel": "0.1.
|
|
92
|
+
"@jskit-ai/auth-provider-local-core": "0.1.54",
|
|
93
|
+
"@jskit-ai/database-runtime": "0.1.153",
|
|
94
|
+
"@jskit-ai/kernel": "0.1.153"
|
|
95
95
|
},
|
|
96
96
|
"dev": {}
|
|
97
97
|
},
|
|
@@ -375,7 +375,7 @@ test("local database auth uses the shared native login-as session contract", asy
|
|
|
375
375
|
}), {
|
|
376
376
|
email: "PREVIEW-DB@EXAMPLE.COM"
|
|
377
377
|
});
|
|
378
|
-
assert.equal(impersonated.
|
|
378
|
+
assert.equal(impersonated.actor.id, "usr_preview_db");
|
|
379
379
|
assert.equal(impersonated.session.purpose, "dev-auth");
|
|
380
380
|
|
|
381
381
|
const reply = createReplyFixture();
|
|
@@ -384,7 +384,7 @@ test("local database auth uses the shared native login-as session contract", asy
|
|
|
384
384
|
cookies: reply.cookies
|
|
385
385
|
}));
|
|
386
386
|
assert.equal(authenticated.authenticated, true);
|
|
387
|
-
assert.equal(authenticated.
|
|
387
|
+
assert.equal(authenticated.actor.email, "preview-db@example.com");
|
|
388
388
|
assert.equal(authenticated.sessionPurpose, "dev-auth");
|
|
389
389
|
});
|
|
390
390
|
|