@saltify/milky-node-sdk 1.0.0 → 1.1.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/dist/index.d.mts +5 -0
- package/package.json +8 -6
package/dist/index.d.mts
CHANGED
|
@@ -13,6 +13,10 @@ interface ApiCollection {
|
|
|
13
13
|
get_group_info: (input: z.input<typeof types.GetGroupInfoInput>) => types.GetGroupInfoOutput;
|
|
14
14
|
get_group_member_list: (input: z.input<typeof types.GetGroupMemberListInput>) => types.GetGroupMemberListOutput;
|
|
15
15
|
get_group_member_info: (input: z.input<typeof types.GetGroupMemberInfoInput>) => types.GetGroupMemberInfoOutput;
|
|
16
|
+
set_avatar: (input: z.input<typeof types.SetAvatarInput>) => void;
|
|
17
|
+
set_nickname: (input: z.input<typeof types.SetNicknameInput>) => void;
|
|
18
|
+
set_bio: (input: z.input<typeof types.SetBioInput>) => void;
|
|
19
|
+
get_custom_face_url_list: () => types.GetCustomFaceUrlListOutput;
|
|
16
20
|
get_cookies: (input: z.input<typeof types.GetCookiesInput>) => types.GetCookiesOutput;
|
|
17
21
|
get_csrf_token: () => types.GetCSRFTokenOutput;
|
|
18
22
|
send_private_message: (input: z.input<typeof types.SendPrivateMessageInput>) => types.SendPrivateMessageOutput;
|
|
@@ -26,6 +30,7 @@ interface ApiCollection {
|
|
|
26
30
|
mark_message_as_read: (input: z.input<typeof types.MarkMessageAsReadInput>) => void;
|
|
27
31
|
send_friend_nudge: (input: z.input<typeof types.SendFriendNudgeInput>) => void;
|
|
28
32
|
send_profile_like: (input: z.input<typeof types.SendProfileLikeInput>) => void;
|
|
33
|
+
delete_friend: (input: z.input<typeof types.DeleteFriendInput>) => void;
|
|
29
34
|
get_friend_requests: (input: z.input<typeof types.GetFriendRequestsInput>) => types.GetFriendRequestsOutput;
|
|
30
35
|
accept_friend_request: (input: z.input<typeof types.AcceptFriendRequestInput>) => void;
|
|
31
36
|
reject_friend_request: (input: z.input<typeof types.RejectFriendRequestInput>) => void;
|
package/package.json
CHANGED
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@saltify/milky-node-sdk",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "1.
|
|
4
|
+
"version": "1.1.0",
|
|
5
5
|
"description": "",
|
|
6
6
|
"main": "dist/index.mjs",
|
|
7
7
|
"typings": "dist/index.d.mts",
|
|
8
|
-
"files": [
|
|
8
|
+
"files": [
|
|
9
|
+
"dist"
|
|
10
|
+
],
|
|
9
11
|
"scripts": {
|
|
10
12
|
"build": "npm run generate-api && tsdown",
|
|
11
13
|
"generate-api": "tsx ./scripts/generate-api.ts",
|
|
@@ -21,13 +23,13 @@
|
|
|
21
23
|
"license": "MIT",
|
|
22
24
|
"packageManager": "pnpm@10.26.1",
|
|
23
25
|
"dependencies": {
|
|
24
|
-
"@saltify/milky-types": "^1.
|
|
26
|
+
"@saltify/milky-types": "^1.1.0",
|
|
25
27
|
"eventsource-client": "^1.2.0",
|
|
26
|
-
"zod": "^4.
|
|
28
|
+
"zod": "^4.3.5"
|
|
27
29
|
},
|
|
28
30
|
"devDependencies": {
|
|
29
|
-
"@types/node": "^22.19.
|
|
30
|
-
"tsdown": "^0.
|
|
31
|
+
"@types/node": "^22.19.5",
|
|
32
|
+
"tsdown": "^0.19.0",
|
|
31
33
|
"tsx": "^4.21.0",
|
|
32
34
|
"typescript": "^5.9.3"
|
|
33
35
|
}
|