@upstash/redis 1.20.5 → 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.
- package/esm/platforms/nodejs.js +3 -1
- package/esm/version.js +1 -1
- package/package.json +1 -1
- package/script/platforms/nodejs.js +3 -1
- package/script/version.js +1 -1
- package/types/version.d.ts +1 -1
package/esm/platforms/nodejs.js
CHANGED
|
@@ -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:
|
|
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.
|
|
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.
|
|
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:
|
|
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
package/types/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const VERSION = "v1.20.
|
|
1
|
+
export declare const VERSION = "v1.20.6";
|