@keyv/postgres 6.0.0-alpha.1 → 6.0.0-alpha.2

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.
package/dist/index.cjs CHANGED
@@ -152,7 +152,7 @@ var KeyvPostgres = class extends import_hookified.Hookified {
152
152
  * @param options - A PostgreSQL connection URI string or a {@link KeyvPostgresOptions} configuration object.
153
153
  */
154
154
  constructor(options) {
155
- super();
155
+ super({ throwOnEmptyListeners: false });
156
156
  if (typeof options === "string") {
157
157
  this._uri = options;
158
158
  } else if (options) {
package/dist/index.js CHANGED
@@ -116,7 +116,7 @@ var KeyvPostgres = class extends Hookified {
116
116
  * @param options - A PostgreSQL connection URI string or a {@link KeyvPostgresOptions} configuration object.
117
117
  */
118
118
  constructor(options) {
119
- super();
119
+ super({ throwOnEmptyListeners: false });
120
120
  if (typeof options === "string") {
121
121
  this._uri = options;
122
122
  } else if (options) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@keyv/postgres",
3
- "version": "6.0.0-alpha.1",
3
+ "version": "6.0.0-alpha.2",
4
4
  "description": "PostgreSQL storage adapter for Keyv",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -42,11 +42,11 @@
42
42
  },
43
43
  "homepage": "https://github.com/jaredwray/keyv",
44
44
  "dependencies": {
45
- "hookified": "^1.13.0",
45
+ "hookified": "^2.0.0",
46
46
  "pg": "^8.17.1"
47
47
  },
48
48
  "peerDependencies": {
49
- "keyv": "^6.0.0-alpha.1"
49
+ "keyv": "^6.0.0-alpha.2"
50
50
  },
51
51
  "devDependencies": {
52
52
  "@biomejs/biome": "^2.3.11",
@@ -56,7 +56,7 @@
56
56
  "rimraf": "^6.1.2",
57
57
  "tsd": "^0.33.0",
58
58
  "vitest": "^4.0.17",
59
- "@keyv/test-suite": "^6.0.0-alpha.1"
59
+ "@keyv/test-suite": "^6.0.0-alpha.2"
60
60
  },
61
61
  "tsd": {
62
62
  "directory": "test"