@holo-js/session 0.1.5 → 0.1.6
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 +1 -1
- package/package.json +2 -2
package/dist/index.mjs
CHANGED
|
@@ -277,7 +277,7 @@ async function consumeRememberMeToken(token, options) {
|
|
|
277
277
|
}
|
|
278
278
|
const tokenHash = hashRememberToken(parsed.secretPayload);
|
|
279
279
|
for (const store of stores) {
|
|
280
|
-
const record = await
|
|
280
|
+
const record = await readRecordFromStore(parsed.sessionId, store);
|
|
281
281
|
if (record?.rememberTokenHash === tokenHash) {
|
|
282
282
|
return record;
|
|
283
283
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@holo-js/session",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.6",
|
|
4
4
|
"description": "Holo-JS Framework - session contracts, cookie helpers, and session config helpers",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"test": "vitest --run"
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@holo-js/config": "^0.1.
|
|
31
|
+
"@holo-js/config": "^0.1.6"
|
|
32
32
|
},
|
|
33
33
|
"peerDependencies": {
|
|
34
34
|
"ioredis": "^5.4.2"
|