Skip to content

Commit

Permalink
1.1.0-beta.4
Browse files Browse the repository at this point in the history
  • Loading branch information
Tadeuchi committed Nov 14, 2023
1 parent 47b5bb6 commit 0d99c43
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 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.0-beta.3",
"version": "1.1.0-beta.4",
"description": "Postgres contract cache for Warp SDK",
"types": "./lib/types/index.d.ts",
"main": "./lib/cjs/index.js",
Expand Down
3 changes: 2 additions & 1 deletion src/PgSortKeyCache.ts
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,8 @@ export class PgSortKeyCache<V> implements SortKeyCache<V> {
SELECT count(1) as total
FROM "${this.schemaName}"."${this.tableName}"
WHERE key = $1
`, [key]
`,
[key]
);
if (rs.rows.length > 0) {
const entriesTotal = rs.rows[0].total;
Expand Down

0 comments on commit 0d99c43

Please sign in to comment.