Skip to content

Commit e7cf0bf

Browse files
committed
chore(deps): bump pryv 3.0.4→3.1.0 + @pryv/monitor + @pryv/socket.io 3.0.3→3.1.0
Plan 66 client-side machinery: composite-id wire format (<base>:<serial>), StaleAccessIdError 409 translation, Connection.updateAccess() / .getAccessWithHistory() wrappers, per-Connection accessInfo cache. Test fix: [APCM] Collector invite revoke — pass forceRefresh=true to accessInfo() after revoke, because the new per-Connection cache otherwise returns the pre-revoke cached value. Will inform Phase 4a (drop the manual #accessInfo cache in CollectorInvite.checkAndGetAccessInfo). 488 passing / 0 failing against demo open-pryv.io (Plan 66, schema v1).
1 parent 7e44888 commit e7cf0bf

3 files changed

Lines changed: 17 additions & 17 deletions

File tree

package-lock.json

Lines changed: 12 additions & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,11 +62,11 @@
6262
"webpack-cli": "^6.0.1"
6363
},
6464
"dependencies": {
65-
"@pryv/monitor": "3.0.3",
66-
"@pryv/socket.io": "3.0.3",
65+
"@pryv/monitor": "3.1.0",
66+
"@pryv/socket.io": "3.1.0",
6767
"ajv": "^8.20.0",
6868
"events": "^3.3.0",
69-
"pryv": "3.0.4",
69+
"pryv": "3.1.0",
7070
"short-unique-id": "^5.3.2"
7171
}
7272
}

tests/apptemplates.test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -382,8 +382,8 @@ describe('[APTX] appTemplates', function () {
382382
assert.equal(invite.errorType, 'revoked');
383383

384384
// check if authorization is revoked
385-
386-
const res = await invite.connection.accessInfo();
385+
// pryv@3.1.0 caches accessInfo per Connection — pass forceRefresh to bypass the cache after revoke
386+
const res = await invite.connection.accessInfo(true);
387387
assert.equal(res.error.id, 'invalid-access-token');
388388
});
389389

0 commit comments

Comments
 (0)