@upstash/redis 1.20.5-canary.0 → 1.20.6

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.
@@ -42,7 +42,9 @@ export class Redis extends core.Redis {
42
42
  enableTelemetry: !process.env.UPSTASH_DISABLE_TELEMETRY,
43
43
  });
44
44
  this.addTelemetry({
45
- runtime: `node@${process.version}`,
45
+ runtime: typeof EdgeRuntime === "string"
46
+ ? "edge-light"
47
+ : `node@${process.version}`,
46
48
  platform: process.env.VERCEL
47
49
  ? "vercel"
48
50
  : process.env.AWS_REGION
package/esm/version.js CHANGED
@@ -1 +1 @@
1
- export const VERSION = "v1.20.5-canary.0";
1
+ export const VERSION = "v1.20.6";
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "main": "./script/platforms/nodejs.js",
4
4
  "types": "./types/platforms/nodejs.d.ts",
5
5
  "name": "@upstash/redis",
6
- "version": "v1.20.5-canary.0",
6
+ "version": "v1.20.6",
7
7
  "description": "An HTTP/REST based Redis client built on top of Upstash REST API.",
8
8
  "repository": {
9
9
  "type": "git",
@@ -68,7 +68,9 @@ class Redis extends core.Redis {
68
68
  enableTelemetry: !process.env.UPSTASH_DISABLE_TELEMETRY,
69
69
  });
70
70
  this.addTelemetry({
71
- runtime: `node@${process.version}`,
71
+ runtime: typeof EdgeRuntime === "string"
72
+ ? "edge-light"
73
+ : `node@${process.version}`,
72
74
  platform: process.env.VERCEL
73
75
  ? "vercel"
74
76
  : process.env.AWS_REGION
package/script/version.js CHANGED
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.VERSION = void 0;
4
- exports.VERSION = "v1.20.5-canary.0";
4
+ exports.VERSION = "v1.20.6";
@@ -1 +1 @@
1
- export declare const VERSION = "v1.20.5-canary.0";
1
+ export declare const VERSION = "v1.20.6";