@holo-js/session 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.
Files changed (2) hide show
  1. package/dist/index.mjs +1 -1
  2. 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 store.read(parsed.sessionId);
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.5",
3
+ "version": "0.1.7",
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.5"
31
+ "@holo-js/config": "^0.1.7"
32
32
  },
33
33
  "peerDependencies": {
34
34
  "ioredis": "^5.4.2"