@tidal-music/api 0.18.0 → 0.20.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.ts CHANGED
@@ -4070,16 +4070,14 @@ export declare interface components {
4070
4070
  };
4071
4071
  UserCollectionFoldersItemsRelationshipAddOperation_Payload_Data: {
4072
4072
  id: string;
4073
- /** @deprecated */
4074
- resourceType?: string;
4073
+ type: string;
4075
4074
  };
4076
4075
  UserCollectionFoldersItemsRelationshipRemoveOperation_Payload: {
4077
4076
  data?: components["schemas"]["UserCollectionFoldersItemsRelationshipRemoveOperation_Payload_Data"][];
4078
4077
  };
4079
4078
  UserCollectionFoldersItemsRelationshipRemoveOperation_Payload_Data: {
4080
4079
  id: string;
4081
- /** @deprecated */
4082
- resourceType?: string;
4080
+ type: string;
4083
4081
  };
4084
4082
  UserCollectionFoldersUpdateOperation_Payload: {
4085
4083
  data: components["schemas"]["UserCollectionFoldersUpdateOperation_Payload_Data"];
@@ -13521,6 +13519,15 @@ declare interface paths {
13521
13519
  };
13522
13520
  };
13523
13521
  responses: {
13522
+ /** @description Successful response */
13523
+ 200: {
13524
+ headers: {
13525
+ [name: string]: unknown;
13526
+ };
13527
+ content: {
13528
+ "application/vnd.api+json": components["schemas"]["Playlists_Items_Multi_Relationship_Data_Document"];
13529
+ };
13530
+ };
13524
13531
  400: components["responses"]["Default400Response"];
13525
13532
  404: components["responses"]["Default404Response"];
13526
13533
  405: components["responses"]["Default405Response"];
package/dist/index.js CHANGED
@@ -338,7 +338,10 @@ function p(e, t = "https://openapi.tidal.com/v2/") {
338
338
  let n = { async onRequest({ request: t }) {
339
339
  let n = await e.getCredentials();
340
340
  return t.headers.set("Authorization", `Bearer ${n.token}`), (t.method === "POST" || t.method === "PATCH" || t.method === "DELETE") && t.headers.set("Content-Type", "application/vnd.api+json"), t;
341
- } }, i = r({ baseUrl: t });
341
+ } }, i = r({
342
+ baseUrl: t,
343
+ querySerializer: { allowReserved: !0 }
344
+ });
342
345
  return i.use(n), i;
343
346
  }
344
347
  //#endregion
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tidal-music/api",
3
- "version": "0.18.0",
3
+ "version": "0.20.0",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist"
@@ -18,7 +18,7 @@
18
18
  },
19
19
  "dependencies": {
20
20
  "openapi-fetch": "0.17.0",
21
- "@tidal-music/api": "0.18.0"
21
+ "@tidal-music/api": "0.20.0"
22
22
  },
23
23
  "devDependencies": {
24
24
  "@vitest/coverage-v8": "4.1.2",
@@ -28,8 +28,8 @@
28
28
  "vite": "8.0.5",
29
29
  "vite-plugin-dts": "4.5.4",
30
30
  "vitest": "4.1.2",
31
- "@tidal-music/common": "^0.2.0",
32
- "@tidal-music/auth": "^1.6.0"
31
+ "@tidal-music/auth": "^1.6.0",
32
+ "@tidal-music/common": "^0.2.0"
33
33
  },
34
34
  "scripts": {
35
35
  "build": "vite build",