diff --git a/package-lock.json b/package-lock.json index 38e4a6c..956e997 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "warp-contracts-postgres", - "version": "1.1.1", + "version": "1.1.2", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "warp-contracts-postgres", - "version": "1.1.1", + "version": "1.1.2", "license": "MIT", "dependencies": { "@types/pg": "^8.10.2", diff --git a/package.json b/package.json index 09ee882..1f05e1e 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/src/__tests__/pg-sort-key-cache-commit-rollback.test.ts b/src/__tests__/pg-sort-key-cache-commit-rollback.test.ts index 85fef8e..bb9708a 100644 --- a/src/__tests__/pg-sort-key-cache-commit-rollback.test.ts +++ b/src/__tests__/pg-sort-key-cache-commit-rollback.test.ts @@ -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); @@ -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(); @@ -183,5 +183,5 @@ describe('Postgres cache batch', () => { await sut.drop(); await sut.close(); - }) + }); });