@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 CHANGED
@@ -763,7 +763,7 @@ interface FriendActionResponse {
763
763
  } | null;
764
764
  }
765
765
  declare class FriendResource extends ApiResource<FriendEntry> {
766
- protected readonly endpoint = "/api/friends";
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 = "/api/friends";
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 = "/api/friends";
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 = "/api/friends";
651
+ this.endpoint = "/friends";
652
652
  }
653
653
  // GET /api/friends
654
654
  async list() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@borealise/api",
3
- "version": "1.1.4",
3
+ "version": "1.1.5",
4
4
  "description": "Official API client for Borealise",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",