@upstash/redis 0.0.0-ci.9722909577fc3b6b939d0c937c6ba5f8e8287ee4 → 0.0.0-ci.9784fcbc264b04c2dc251a1935df1597fb95be92-20251208080748

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/README.md CHANGED
@@ -7,6 +7,11 @@ of [Upstash REST API](https://docs.upstash.com/features/restapi).
7
7
  ![npm (scoped)](https://img.shields.io/npm/v/@upstash/redis)
8
8
  ![npm bundle size](https://img.shields.io/bundlephobia/minzip/@upstash/redis)
9
9
 
10
+ > [!NOTE]
11
+ > **This project is in GA Stage.**
12
+ >
13
+ > The Upstash Professional Support fully covers this project. It receives regular updates, and bug fixes. The Upstash team is committed to maintaining and improving its functionality.
14
+
10
15
  It is the only connectionless (HTTP based) Redis client and designed for:
11
16
 
12
17
  - Serverless functions (AWS Lambda ...)
@@ -20,7 +25,7 @@ It is the only connectionless (HTTP based) Redis client and designed for:
20
25
  - and other environments where HTTP is preferred over TCP.
21
26
 
22
27
  See
23
- [the list of APIs](https://docs.upstash.com/features/restapi#rest---redis-api-compatibility)
28
+ [the list of APIs](https://upstash.com/docs/redis/overall/rediscompatibility)
24
29
  supported.
25
30
 
26
31
  ## Quick Start
@@ -58,7 +63,7 @@ await redis.set('key', 'value');
58
63
  let data = await redis.get('key');
59
64
  console.log(data)
60
65
 
61
- await redis.set('key2', 'value2', {ex: 1});
66
+ await redis.set('key3', 'value3', {ex: 1});
62
67
 
63
68
  // sorted set
64
69
  await redis.zadd('scores', { score: 1, member: 'team1' })
@@ -90,7 +95,7 @@ for common problems. If you can't find a solution, please
90
95
 
91
96
  ## Docs
92
97
 
93
- See [the documentation](https://docs.upstash.com/features/javascriptsdk) for
98
+ See [the documentation](https://upstash.com/docs/redis/sdks/ts/overview) for
94
99
  details.
95
100
 
96
101
  ## Contributing
@@ -105,7 +110,7 @@ the url and token
105
110
  ### Running tests
106
111
 
107
112
  ```sh
108
- bun run test
113
+ bun run test
109
114
  ```
110
115
 
111
116
  ### Building
@@ -114,7 +119,6 @@ bun run test
114
119
  bun run build
115
120
  ```
116
121
 
117
-
118
122
  ### Telemetry
119
123
 
120
124
  This library sends anonymous telemetry data to help us improve your experience.
@@ -130,3 +134,12 @@ to any truthy value.
130
134
  ```sh
131
135
  UPSTASH_DISABLE_TELEMETRY=1
132
136
  ```
137
+
138
+ Alternatively, you can pass `enableTelemetry: false` when initializing the Redis client:
139
+
140
+ ```ts
141
+ const redis = new Redis({
142
+ // ...,
143
+ enableTelemetry: false,
144
+ });
145
+ ```