@devvit/public-api 0.10.21-next-2024-05-22-410ab3d77.0 → 0.10.21-next-2024-05-22-0e63b6246.0

Sign up to get free protection for your applications and to get access to all the features.
package/meta.json CHANGED
@@ -9811,7 +9811,7 @@
9811
9811
  "format": "esm"
9812
9812
  },
9813
9813
  "../protos/dist/types/devvit/plugin/redditapi/users/users_svc.js": {
9814
- "bytes": 11511,
9814
+ "bytes": 29411,
9815
9815
  "imports": [
9816
9816
  {
9817
9817
  "path": "../../node_modules/protobufjs/minimal.js",
@@ -14415,7 +14415,7 @@
14415
14415
  "bytesInOutput": 191666
14416
14416
  },
14417
14417
  "../protos/dist/types/devvit/plugin/redditapi/users/users_svc.js": {
14418
- "bytesInOutput": 5098
14418
+ "bytesInOutput": 16576
14419
14419
  },
14420
14420
  "../protos/dist/types/devvit/plugin/redditapi/users/users_msg.js": {
14421
14421
  "bytesInOutput": 68275
@@ -14760,7 +14760,7 @@
14760
14760
  "bytesInOutput": 2583
14761
14761
  }
14762
14762
  },
14763
- "bytes": 14916671
14763
+ "bytes": 14961169
14764
14764
  }
14765
14765
  }
14766
14766
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@devvit/public-api",
3
- "version": "0.10.21-next-2024-05-22-410ab3d77.0",
3
+ "version": "0.10.21-next-2024-05-22-0e63b6246.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.10.21-next-2024-05-22-410ab3d77.0",
34
- "@devvit/shared-types": "0.10.21-next-2024-05-22-410ab3d77.0",
33
+ "@devvit/protos": "0.10.21-next-2024-05-22-0e63b6246.0",
34
+ "@devvit/shared-types": "0.10.21-next-2024-05-22-0e63b6246.0",
35
35
  "base64-js": "1.5.1",
36
36
  "clone-deep": "4.0.1",
37
37
  "core-js": "3.27.2",
@@ -41,7 +41,7 @@
41
41
  "@ampproject/filesize": "4.3.0",
42
42
  "@devvit/eslint-config": "0.10.20",
43
43
  "@devvit/repo-tools": "0.10.20",
44
- "@devvit/tsconfig": "0.10.21-next-2024-05-22-410ab3d77.0",
44
+ "@devvit/tsconfig": "0.10.21-next-2024-05-22-0e63b6246.0",
45
45
  "@microsoft/api-extractor": "7.41.0",
46
46
  "@reddit/faceplate-ui": "11.1.0",
47
47
  "@types/clone-deep": "4.0.1",
@@ -64,5 +64,5 @@
64
64
  }
65
65
  },
66
66
  "source": "./src/index.ts",
67
- "gitHead": "bb55ec747ad6080c4e5365ac2392330379b4d4da"
67
+ "gitHead": "efef0af8019dc5cbeb2dca2eafaa8a7b765dd6db"
68
68
  }
package/public-api.d.ts CHANGED
@@ -67447,7 +67447,10 @@ declare interface Users {
67447
67447
  UsernameAvailable(request: UsernameAvailableRequest, metadata?: Metadata): Promise<BoolValue>;
67448
67448
  /** https://www.reddit.com/dev/api#DELETE_api_v1_me_friends_username */
67449
67449
  UnfriendUser(request: GenericUsersRequest, metadata?: Metadata): Promise<Empty>;
67450
- /** https://www.reddit.com/dev/api#GET_api_v1_me_friends_username */
67450
+ /**
67451
+ * https://www.reddit.com/dev/api#GET_api_v1_me_friends_username
67452
+ * TODO: this actually returns a WrappedRedditObject. Fix this up after the system worker is deleted.
67453
+ */
67451
67454
  GetFriendInformation(request: GenericUsersRequest, metadata?: Metadata): Promise<GeneralFriendResponse>;
67452
67455
  /** https://www.reddit.com/dev/api#PUT_api_v1_me_friends_username */
67453
67456
  UpdateFriendRelationship(request: UpdateFriendRelationshipRequest, metadata?: Metadata): Promise<GeneralFriendResponse>;
@@ -67529,7 +67532,11 @@ declare const UsersDefinition: {
67529
67532
  }): BlockUserResponse;
67530
67533
  };
67531
67534
  readonly responseStream: false;
67532
- readonly options: {};
67535
+ readonly options: {
67536
+ readonly _unknownFields: {
67537
+ readonly 480010: readonly [Uint8Array];
67538
+ };
67539
+ };
67533
67540
  };
67534
67541
  /** https://www.reddit.com/dev/api#POST_api_friend */
67535
67542
  readonly friend: {
@@ -67582,7 +67589,11 @@ declare const UsersDefinition: {
67582
67589
  }): JsonStatus;
67583
67590
  };
67584
67591
  readonly responseStream: false;
67585
- readonly options: {};
67592
+ readonly options: {
67593
+ readonly _unknownFields: {
67594
+ readonly 480010: readonly [Uint8Array];
67595
+ };
67596
+ };
67586
67597
  };
67587
67598
  /** https://www.reddit.com/dev/api#POST_api_report_user */
67588
67599
  readonly reportUser: {
@@ -67615,7 +67626,11 @@ declare const UsersDefinition: {
67615
67626
  fromPartial(_: {}): Empty;
67616
67627
  };
67617
67628
  readonly responseStream: false;
67618
- readonly options: {};
67629
+ readonly options: {
67630
+ readonly _unknownFields: {
67631
+ readonly 480010: readonly [Uint8Array];
67632
+ };
67633
+ };
67619
67634
  };
67620
67635
  /** https://www.reddit.com/dev/api#POST_api_setpermissions */
67621
67636
  readonly setPermissions: {
@@ -67658,7 +67673,11 @@ declare const UsersDefinition: {
67658
67673
  }): JsonStatus;
67659
67674
  };
67660
67675
  readonly responseStream: false;
67661
- readonly options: {};
67676
+ readonly options: {
67677
+ readonly _unknownFields: {
67678
+ readonly 480010: readonly [Uint8Array];
67679
+ };
67680
+ };
67662
67681
  };
67663
67682
  /** https://www.reddit.com/dev/api#POST_api_unfriend */
67664
67683
  readonly unfriend: {
@@ -67693,7 +67712,11 @@ declare const UsersDefinition: {
67693
67712
  fromPartial(_: {}): Empty;
67694
67713
  };
67695
67714
  readonly responseStream: false;
67696
- readonly options: {};
67715
+ readonly options: {
67716
+ readonly _unknownFields: {
67717
+ readonly 480010: readonly [Uint8Array];
67718
+ };
67719
+ };
67697
67720
  };
67698
67721
  /** https://www.reddit.com/dev/api#GET_api_user_data_by_account_ids */
67699
67722
  readonly userDataByAccountIds: {
@@ -67746,11 +67769,7 @@ declare const UsersDefinition: {
67746
67769
  }): UserDataByAccountIdsResponse;
67747
67770
  };
67748
67771
  readonly responseStream: false;
67749
- readonly options: {
67750
- readonly _unknownFields: {
67751
- readonly 480010: readonly [Uint8Array];
67752
- };
67753
- };
67772
+ readonly options: {};
67754
67773
  };
67755
67774
  /** https://www.reddit.com/dev/api#GET_api_username_available */
67756
67775
  readonly usernameAvailable: {
@@ -67814,9 +67833,16 @@ declare const UsersDefinition: {
67814
67833
  fromPartial(_: {}): Empty;
67815
67834
  };
67816
67835
  readonly responseStream: false;
67817
- readonly options: {};
67836
+ readonly options: {
67837
+ readonly _unknownFields: {
67838
+ readonly 480010: readonly [Uint8Array];
67839
+ };
67840
+ };
67818
67841
  };
67819
- /** https://www.reddit.com/dev/api#GET_api_v1_me_friends_username */
67842
+ /**
67843
+ * https://www.reddit.com/dev/api#GET_api_v1_me_friends_username
67844
+ * TODO: this actually returns a WrappedRedditObject. Fix this up after the system worker is deleted.
67845
+ */
67820
67846
  readonly getFriendInformation: {
67821
67847
  readonly name: "GetFriendInformation";
67822
67848
  readonly requestType: {
@@ -67863,7 +67889,11 @@ declare const UsersDefinition: {
67863
67889
  }): GeneralFriendResponse;
67864
67890
  };
67865
67891
  readonly responseStream: false;
67866
- readonly options: {};
67892
+ readonly options: {
67893
+ readonly _unknownFields: {
67894
+ readonly 480010: readonly [Uint8Array];
67895
+ };
67896
+ };
67867
67897
  };
67868
67898
  /** https://www.reddit.com/dev/api#PUT_api_v1_me_friends_username */
67869
67899
  readonly updateFriendRelationship: {
@@ -67912,7 +67942,11 @@ declare const UsersDefinition: {
67912
67942
  }): GeneralFriendResponse;
67913
67943
  };
67914
67944
  readonly responseStream: false;
67915
- readonly options: {};
67945
+ readonly options: {
67946
+ readonly _unknownFields: {
67947
+ readonly 480010: readonly [Uint8Array];
67948
+ };
67949
+ };
67916
67950
  };
67917
67951
  /** https://www.reddit.com/dev/api#GET_api_v1_user_username_trophies */
67918
67952
  readonly userTrophies: {
@@ -67977,7 +68011,11 @@ declare const UsersDefinition: {
67977
68011
  }): UserTrophiesResponse;
67978
68012
  };
67979
68013
  readonly responseStream: false;
67980
- readonly options: {};
68014
+ readonly options: {
68015
+ readonly _unknownFields: {
68016
+ readonly 480010: readonly [Uint8Array];
68017
+ };
68018
+ };
67981
68019
  };
67982
68020
  /** https://www.reddit.com/dev/api#GET_user_username_about */
67983
68021
  readonly userAbout: {
@@ -68506,7 +68544,11 @@ declare const UsersDefinition: {
68506
68544
  }): UserAboutResponse;
68507
68545
  };
68508
68546
  readonly responseStream: false;
68509
- readonly options: {};
68547
+ readonly options: {
68548
+ readonly _unknownFields: {
68549
+ readonly 480010: readonly [Uint8Array];
68550
+ };
68551
+ };
68510
68552
  };
68511
68553
  /** https://www.reddit.com/dev/api#GET_user_username_where */
68512
68554
  readonly userWhere: {
@@ -68887,7 +68929,11 @@ declare const UsersDefinition: {
68887
68929
  }): Listing_2;
68888
68930
  };
68889
68931
  readonly responseStream: false;
68890
- readonly options: {};
68932
+ readonly options: {
68933
+ readonly _unknownFields: {
68934
+ readonly 480010: readonly [Uint8Array];
68935
+ };
68936
+ };
68891
68937
  };
68892
68938
  };
68893
68939
  };