@keyv/redis 4.3.0 → 4.3.1

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
@@ -213,7 +213,6 @@ var KeyvRedis = class extends import_node_events.default {
213
213
  }
214
214
  }
215
215
  await multi.exec();
216
- return entries.map(() => true);
217
216
  }
218
217
  /**
219
218
  * Check if a key exists in the store.
package/dist/index.d.cts CHANGED
@@ -144,7 +144,7 @@ declare class KeyvRedis<T> extends EventEmitter implements KeyvStoreAdapter {
144
144
  * Will set many key value pairs in the store. TTL is in milliseconds. This will be done as a single transaction.
145
145
  * @param {KeyvEntry[]} entries - the key value pairs to set with optional ttl
146
146
  */
147
- setMany(entries: KeyvEntry[]): Promise<boolean[]>;
147
+ setMany(entries: KeyvEntry[]): Promise<void>;
148
148
  /**
149
149
  * Check if a key exists in the store.
150
150
  * @param {string} key - the key to check
package/dist/index.d.ts CHANGED
@@ -144,7 +144,7 @@ declare class KeyvRedis<T> extends EventEmitter implements KeyvStoreAdapter {
144
144
  * Will set many key value pairs in the store. TTL is in milliseconds. This will be done as a single transaction.
145
145
  * @param {KeyvEntry[]} entries - the key value pairs to set with optional ttl
146
146
  */
147
- setMany(entries: KeyvEntry[]): Promise<boolean[]>;
147
+ setMany(entries: KeyvEntry[]): Promise<void>;
148
148
  /**
149
149
  * Check if a key exists in the store.
150
150
  * @param {string} key - the key to check
package/dist/index.js CHANGED
@@ -183,7 +183,6 @@ var KeyvRedis = class extends EventEmitter {
183
183
  }
184
184
  }
185
185
  await multi.exec();
186
- return entries.map(() => true);
187
186
  }
188
187
  /**
189
188
  * Check if a key exists in the store.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@keyv/redis",
3
- "version": "4.3.0",
3
+ "version": "4.3.1",
4
4
  "description": "Redis storage adapter for Keyv",
5
5
  "type": "module",
6
6
  "main": "dist/index.cjs",
@@ -36,7 +36,7 @@
36
36
  "dependencies": {
37
37
  "cluster-key-slot": "^1.1.2",
38
38
  "redis": "^4.7.0",
39
- "keyv": "^5.3.0"
39
+ "keyv": "^5.3.1"
40
40
  },
41
41
  "devDependencies": {
42
42
  "@vitest/coverage-v8": "^3.0.7",