@devvit/public-api 0.11.5-next-2024-12-12-8311d72ef.0 → 0.11.5-next-2024-12-12-a38d4201e.0

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/meta.json CHANGED
@@ -9600,7 +9600,7 @@
9600
9600
  "format": "esm"
9601
9601
  },
9602
9602
  "src/types/redis.ts": {
9603
- "bytes": 53621,
9603
+ "bytes": 53625,
9604
9604
  "imports": [],
9605
9605
  "format": "esm"
9606
9606
  },
package/meta.min.json CHANGED
@@ -2460,7 +2460,7 @@
2460
2460
  "format": "esm"
2461
2461
  },
2462
2462
  "src/types/redis.ts": {
2463
- "bytes": 53621,
2463
+ "bytes": 53625,
2464
2464
  "imports": [],
2465
2465
  "format": "esm"
2466
2466
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@devvit/public-api",
3
- "version": "0.11.5-next-2024-12-12-8311d72ef.0",
3
+ "version": "0.11.5-next-2024-12-12-a38d4201e.0",
4
4
  "license": "BSD-3-Clause",
5
5
  "repository": {
6
6
  "type": "git",
@@ -30,8 +30,8 @@
30
30
  },
31
31
  "types": "./index.d.ts",
32
32
  "dependencies": {
33
- "@devvit/protos": "0.11.5-next-2024-12-12-8311d72ef.0",
34
- "@devvit/shared-types": "0.11.5-next-2024-12-12-8311d72ef.0",
33
+ "@devvit/protos": "0.11.5-next-2024-12-12-a38d4201e.0",
34
+ "@devvit/shared-types": "0.11.5-next-2024-12-12-a38d4201e.0",
35
35
  "base64-js": "1.5.1",
36
36
  "clone-deep": "4.0.1",
37
37
  "core-js": "3.27.2",
@@ -39,8 +39,8 @@
39
39
  },
40
40
  "devDependencies": {
41
41
  "@ampproject/filesize": "4.3.0",
42
- "@devvit/repo-tools": "0.11.5-next-2024-12-12-8311d72ef.0",
43
- "@devvit/tsconfig": "0.11.5-next-2024-12-12-8311d72ef.0",
42
+ "@devvit/repo-tools": "0.11.5-next-2024-12-12-a38d4201e.0",
43
+ "@devvit/tsconfig": "0.11.5-next-2024-12-12-a38d4201e.0",
44
44
  "@microsoft/api-extractor": "7.41.0",
45
45
  "@reddit/faceplate-ui": "18.0.1",
46
46
  "@types/clone-deep": "4.0.1",
@@ -63,5 +63,5 @@
63
63
  }
64
64
  },
65
65
  "source": "./src/index.ts",
66
- "gitHead": "7e1d8c6328d9e698944af05272d235d12ef1dd1c"
66
+ "gitHead": "990d2b8eda40c8863c9fa8e2155632d8a68cf4d4"
67
67
  }
package/public-api.d.ts CHANGED
@@ -40144,7 +40144,7 @@ export declare type RedisClient = {
40144
40144
  * ```ts
40145
40145
  * async function hMGetExample(context: Devvit.Context) {
40146
40146
  * await context.redis.hSet("fruits", {"apple": "5", "orange": "7", "kiwi": "9"});
40147
- * const result : string[] | undefined = await context.redis.hMGet("fruits", "orange", "grape", "apple");
40147
+ * const result : string[] | undefined = await context.redis.hMGet("fruits", ["orange", "grape", "apple"]);
40148
40148
  * console.log("Value of fields: " + result); // "Value of fields: ["7", undefined, "5"]
40149
40149
  * }
40150
40150
  * ```
@@ -49451,7 +49451,7 @@ export declare type TxClientLike = {
49451
49451
  * ```ts
49452
49452
  * async function hMGetExample(context: Devvit.Context) {
49453
49453
  * await context.redis.hSet("fruits", {"apple": "5", "orange": "7", "kiwi": "9"});
49454
- * const result : string[] | undefined = await context.redis.hMGet("fruits", "orange", "grape", "apple");
49454
+ * const result : string[] | undefined = await context.redis.hMGet("fruits", ["orange", "grape", "apple"]);
49455
49455
  * console.log("Value of fields: " + result); // "Value of fields: ["7", undefined, "5"]
49456
49456
  * }
49457
49457
  * ```
package/types/redis.d.ts CHANGED
@@ -620,7 +620,7 @@ export type TxClientLike = {
620
620
  * ```ts
621
621
  * async function hMGetExample(context: Devvit.Context) {
622
622
  * await context.redis.hSet("fruits", {"apple": "5", "orange": "7", "kiwi": "9"});
623
- * const result : string[] | undefined = await context.redis.hMGet("fruits", "orange", "grape", "apple");
623
+ * const result : string[] | undefined = await context.redis.hMGet("fruits", ["orange", "grape", "apple"]);
624
624
  * console.log("Value of fields: " + result); // "Value of fields: ["7", undefined, "5"]
625
625
  * }
626
626
  * ```
@@ -1338,7 +1338,7 @@ export type RedisClient = {
1338
1338
  * ```ts
1339
1339
  * async function hMGetExample(context: Devvit.Context) {
1340
1340
  * await context.redis.hSet("fruits", {"apple": "5", "orange": "7", "kiwi": "9"});
1341
- * const result : string[] | undefined = await context.redis.hMGet("fruits", "orange", "grape", "apple");
1341
+ * const result : string[] | undefined = await context.redis.hMGet("fruits", ["orange", "grape", "apple"]);
1342
1342
  * console.log("Value of fields: " + result); // "Value of fields: ["7", undefined, "5"]
1343
1343
  * }
1344
1344
  * ```