@borealise/api 1.1.4 → 1.1.5
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 +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -763,7 +763,7 @@ interface FriendActionResponse {
|
|
|
763
763
|
} | null;
|
|
764
764
|
}
|
|
765
765
|
declare class FriendResource extends ApiResource<FriendEntry> {
|
|
766
|
-
protected readonly endpoint = "/
|
|
766
|
+
protected readonly endpoint = "/friends";
|
|
767
767
|
list(): Promise<ApiResponse<FriendListResponse>>;
|
|
768
768
|
getStatus(targetUserId: number): Promise<ApiResponse<FriendStatusResponse>>;
|
|
769
769
|
sendRequest(targetUserId: number): Promise<ApiResponse<FriendActionResponse>>;
|
package/dist/index.d.ts
CHANGED
|
@@ -763,7 +763,7 @@ interface FriendActionResponse {
|
|
|
763
763
|
} | null;
|
|
764
764
|
}
|
|
765
765
|
declare class FriendResource extends ApiResource<FriendEntry> {
|
|
766
|
-
protected readonly endpoint = "/
|
|
766
|
+
protected readonly endpoint = "/friends";
|
|
767
767
|
list(): Promise<ApiResponse<FriendListResponse>>;
|
|
768
768
|
getStatus(targetUserId: number): Promise<ApiResponse<FriendStatusResponse>>;
|
|
769
769
|
sendRequest(targetUserId: number): Promise<ApiResponse<FriendActionResponse>>;
|
package/dist/index.js
CHANGED
|
@@ -705,7 +705,7 @@ var subscriptionResource = new SubscriptionResource();
|
|
|
705
705
|
var FriendResource = class extends ApiResource {
|
|
706
706
|
constructor() {
|
|
707
707
|
super(...arguments);
|
|
708
|
-
this.endpoint = "/
|
|
708
|
+
this.endpoint = "/friends";
|
|
709
709
|
}
|
|
710
710
|
// GET /api/friends
|
|
711
711
|
async list() {
|
package/dist/index.mjs
CHANGED
|
@@ -648,7 +648,7 @@ var subscriptionResource = new SubscriptionResource();
|
|
|
648
648
|
var FriendResource = class extends ApiResource {
|
|
649
649
|
constructor() {
|
|
650
650
|
super(...arguments);
|
|
651
|
-
this.endpoint = "/
|
|
651
|
+
this.endpoint = "/friends";
|
|
652
652
|
}
|
|
653
653
|
// GET /api/friends
|
|
654
654
|
async list() {
|