@blocklet/sdk 1.16.52-beta-20250908-085420-224a58fa → 1.16.52-beta-20250909-073849-4e392ab1
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/lib/service/blocklet.d.ts +4 -3
- package/lib/service/blocklet.js +2 -0
- package/package.json +10 -10
|
@@ -77,11 +77,12 @@ interface BlockletService {
|
|
|
77
77
|
verifyAccessKey(params: OmitTeamDid<Client.RequestVerifyAccessKeyInput>): Promise<Client.ResponseAccessKey>;
|
|
78
78
|
getAccessKeys(params: OmitTeamDid<Client.RequestAccessKeysInput>): Promise<Client.ResponseAccessKeys>;
|
|
79
79
|
getAccessKey(params: OmitTeamDid<Client.RequestAccessKeyInput>): Promise<Client.ResponseAccessKey>;
|
|
80
|
-
getUserFollowers(args: OmitTeamDid<Client.
|
|
81
|
-
getUserFollowing(args: OmitTeamDid<Client.
|
|
82
|
-
getUserFollowStats(args: OmitTeamDid<Client.
|
|
80
|
+
getUserFollowers(args: OmitTeamDid<Client.RequestUserRelationQueryInput>, options: RequestHeaders): Promise<Client.ResponseUserFollows>;
|
|
81
|
+
getUserFollowing(args: OmitTeamDid<Client.RequestUserRelationQueryInput>, options: RequestHeaders): Promise<Client.ResponseUserFollows>;
|
|
82
|
+
getUserFollowStats(args: OmitTeamDid<Client.RequestUserRelationCountInput>, options: RequestHeaders): Promise<Client.ResponseUserRelationCount>;
|
|
83
83
|
checkFollowing(args: OmitTeamDid<Client.RequestCheckFollowingInput>): Promise<Client.ResponseCheckFollowing>;
|
|
84
84
|
followUser(args: OmitTeamDid<Client.RequestFollowUserActionInput>): Promise<Client.GeneralResponse>;
|
|
85
85
|
unfollowUser(args: OmitTeamDid<Client.RequestFollowUserActionInput>): Promise<Client.GeneralResponse>;
|
|
86
|
+
getUserInvites(args: OmitTeamDid<Client.RequestUserRelationQueryInput>, options: RequestHeaders): Promise<Client.ResponseUsers>;
|
|
86
87
|
}
|
|
87
88
|
export = BlockletService;
|
package/lib/service/blocklet.js
CHANGED
|
@@ -115,6 +115,7 @@ class BlockletService {
|
|
|
115
115
|
'checkFollowing',
|
|
116
116
|
'followUser',
|
|
117
117
|
'unfollowUser',
|
|
118
|
+
'getUserInvites',
|
|
118
119
|
// updateUserInfo
|
|
119
120
|
'updateUserAddress',
|
|
120
121
|
'updateUserInfo',
|
|
@@ -324,6 +325,7 @@ class BlockletService {
|
|
|
324
325
|
this.getUserFollowers = (args, options) => callClientMethod('getUserFollowers', args, options);
|
|
325
326
|
this.getUserFollowing = (args, options) => callClientMethod('getUserFollowing', args, options);
|
|
326
327
|
this.getUserFollowStats = (args, options) => callClientMethod('getUserFollowStats', args, options);
|
|
328
|
+
this.getUserInvites = (args, options) => callClientMethod('getUserInvites', args, options);
|
|
327
329
|
this.checkFollowing = (args) => callClientMethod('checkFollowing', args);
|
|
328
330
|
this.followUser = (args) => callClientMethod('followUser', args);
|
|
329
331
|
this.unfollowUser = (args) => callClientMethod('unfollowUser', args);
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"publishConfig": {
|
|
4
4
|
"access": "public"
|
|
5
5
|
},
|
|
6
|
-
"version": "1.16.52-beta-
|
|
6
|
+
"version": "1.16.52-beta-20250909-073849-4e392ab1",
|
|
7
7
|
"description": "graphql client to read/write data on abt node",
|
|
8
8
|
"main": "lib/index.js",
|
|
9
9
|
"typings": "lib/index.d.ts",
|
|
@@ -27,19 +27,19 @@
|
|
|
27
27
|
"author": "linchen1987 <linchen.1987@foxmail.com> (http://github.com/linchen1987)",
|
|
28
28
|
"license": "Apache-2.0",
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@abtnode/constant": "1.16.52-beta-
|
|
31
|
-
"@abtnode/db-cache": "1.16.52-beta-
|
|
32
|
-
"@abtnode/util": "1.16.52-beta-
|
|
30
|
+
"@abtnode/constant": "1.16.52-beta-20250909-073849-4e392ab1",
|
|
31
|
+
"@abtnode/db-cache": "1.16.52-beta-20250909-073849-4e392ab1",
|
|
32
|
+
"@abtnode/util": "1.16.52-beta-20250909-073849-4e392ab1",
|
|
33
33
|
"@arcblock/did": "1.24.0",
|
|
34
34
|
"@arcblock/did-connect-js": "1.24.0",
|
|
35
35
|
"@arcblock/jwt": "1.24.0",
|
|
36
36
|
"@arcblock/ws": "1.24.0",
|
|
37
|
-
"@blocklet/constant": "1.16.52-beta-
|
|
38
|
-
"@blocklet/env": "1.16.52-beta-
|
|
37
|
+
"@blocklet/constant": "1.16.52-beta-20250909-073849-4e392ab1",
|
|
38
|
+
"@blocklet/env": "1.16.52-beta-20250909-073849-4e392ab1",
|
|
39
39
|
"@blocklet/error": "^0.2.5",
|
|
40
|
-
"@blocklet/meta": "1.16.52-beta-
|
|
41
|
-
"@blocklet/server-js": "1.16.52-beta-
|
|
42
|
-
"@blocklet/theme": "^3.1.
|
|
40
|
+
"@blocklet/meta": "1.16.52-beta-20250909-073849-4e392ab1",
|
|
41
|
+
"@blocklet/server-js": "1.16.52-beta-20250909-073849-4e392ab1",
|
|
42
|
+
"@blocklet/theme": "^3.1.37",
|
|
43
43
|
"@did-connect/authenticator": "^2.2.8",
|
|
44
44
|
"@did-connect/handler": "^2.2.8",
|
|
45
45
|
"@nedb/core": "^2.1.5",
|
|
@@ -85,5 +85,5 @@
|
|
|
85
85
|
"ts-node": "^10.9.1",
|
|
86
86
|
"typescript": "^5.6.3"
|
|
87
87
|
},
|
|
88
|
-
"gitHead": "
|
|
88
|
+
"gitHead": "3b4b1551b181606f84799ba8b294fb36b483c9c3"
|
|
89
89
|
}
|