@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 +1 -1
- package/meta.min.json +1 -1
- package/package.json +6 -6
- package/public-api.d.ts +2 -2
- package/types/redis.d.ts +2 -2
package/meta.json
CHANGED
package/meta.min.json
CHANGED
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-
|
|
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-
|
|
34
|
-
"@devvit/shared-types": "0.11.5-next-2024-12-12-
|
|
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-
|
|
43
|
-
"@devvit/tsconfig": "0.11.5-next-2024-12-12-
|
|
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": "
|
|
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
|
* ```
|