@sebspark/promise-cache 2.1.1 → 2.1.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.js CHANGED
@@ -294,7 +294,7 @@ var PromiseCache = class {
294
294
  if (cached) {
295
295
  if (!ttlKeyInSeconds && cached.ttl !== effectiveTTL) {
296
296
  console.error(
297
- `WARNING: TTL mismatch for key: ${effectiveKey}. It is recommended to use the same TTL for the same key.`
297
+ "WARNING: TTL mismatch for key. It is recommended to use the same TTL for the same key."
298
298
  );
299
299
  }
300
300
  return cached.value;
package/dist/index.mjs CHANGED
@@ -265,7 +265,7 @@ var PromiseCache = class {
265
265
  if (cached) {
266
266
  if (!ttlKeyInSeconds && cached.ttl !== effectiveTTL) {
267
267
  console.error(
268
- `WARNING: TTL mismatch for key: ${effectiveKey}. It is recommended to use the same TTL for the same key.`
268
+ "WARNING: TTL mismatch for key. It is recommended to use the same TTL for the same key."
269
269
  );
270
270
  }
271
271
  return cached.value;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sebspark/promise-cache",
3
- "version": "2.1.1",
3
+ "version": "2.1.2",
4
4
  "license": "Apache-2.0",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",