Skip to content

Commit

Permalink
1.1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
Tadeuchi committed Dec 29, 2023
1 parent e35ef89 commit 8e4e117
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "warp-contracts-postgres",
"version": "1.1.1",
"version": "1.1.2",
"description": "Postgres contract cache for Warp SDK",
"types": "./lib/types/index.d.ts",
"main": "./lib/cjs/index.js",
Expand Down
6 changes: 3 additions & 3 deletions src/__tests__/pg-sort-key-cache-commit-rollback.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ describe('Postgres cache batch', () => {

it('multiple operations', async () => {
await sut.open();
let sortKey = 395;
const sortKey = 395;

await sut.begin();
await sut.put(new CacheKey('key.one', getSortKey(sortKey)), 111);
Expand Down Expand Up @@ -173,7 +173,7 @@ describe('Postgres cache batch', () => {

await sut.begin();
const transactionKeys = await sut.keys(getSortKey(sortKey));
expect(transactionKeys).toEqual(["change", "key.one", "key.two", "user.11", "user.13", "user.14", "user.15"]);
expect(transactionKeys).toEqual(['change', 'key.one', 'key.two', 'user.11', 'user.13', 'user.14', 'user.15']);

const kv = await sut.kvMap(getSortKey(sortKey));
expect(kv.get('message')).toBeFalsy();
Expand All @@ -183,5 +183,5 @@ describe('Postgres cache batch', () => {

await sut.drop();
await sut.close();
})
});
});

0 comments on commit 8e4e117

Please sign in to comment.