@tidal-music/api 0.24.0 → 0.25.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.
@@ -22417,6 +22417,11 @@ export interface components {
22417
22417
  inherited?: boolean;
22418
22418
  paid?: ("STREAM" | "DJ" | "STEM" | "DOWNLOAD")[];
22419
22419
  subscription?: ("STREAM" | "DJ" | "STEM" | "DOWNLOAD")[];
22420
+ /**
22421
+ * Format: date-time
22422
+ * @description Datetime from which these usage rules are valid (ISO 8601)
22423
+ */
22424
+ validFrom?: string;
22420
22425
  };
22421
22426
  UsageRulesCreateOperation_Payload_Data_Relationships: {
22422
22427
  subject: components["schemas"]["UsageRulesCreateOperation_Payload_Data_Relationships_Subject"];
@@ -22440,6 +22445,11 @@ export interface components {
22440
22445
  paid?: ("STREAM" | "DJ" | "STEM" | "DOWNLOAD")[];
22441
22446
  /** @description Usage types allowed for subscription model */
22442
22447
  subscription?: ("STREAM" | "DJ" | "STEM" | "DOWNLOAD")[];
22448
+ /**
22449
+ * Format: date-time
22450
+ * @description Datetime from which these usage rules are valid (ISO 8601)
22451
+ */
22452
+ validFrom?: string;
22443
22453
  };
22444
22454
  UsageRules_Multi_Resource_Data_Document: {
22445
22455
  data: components["schemas"]["UsageRules_Resource_Object"][];
package/dist/src/api.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { CredentialsProvider } from '@tidal-music/common';
2
- import { paths } from './allAPI.generated';
2
+ import { paths } from './allAPI.generated.js';
3
3
  /**
4
4
  * Create a Tidal API client with the provided credentials.
5
5
  *
@@ -6,5 +6,5 @@
6
6
  *
7
7
  * @ignore
8
8
  */
9
- export type { components } from './allAPI.generated';
10
- export { createAPIClient } from './api';
9
+ export type { components } from './allAPI.generated.js';
10
+ export { createAPIClient } from './api.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tidal-music/api",
3
- "version": "0.24.0",
3
+ "version": "0.25.0",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist"
@@ -13,13 +13,12 @@
13
13
  "module": "dist/index.js",
14
14
  "types": "./dist/src/index.d.ts",
15
15
  "exports": {
16
- "import": "./dist/index.js",
17
16
  "types": "./dist/src/index.d.ts",
17
+ "import": "./dist/index.js",
18
18
  "default": "./dist/index.js"
19
19
  },
20
20
  "dependencies": {
21
- "openapi-fetch": "0.17.0",
22
- "@tidal-music/api": "0.24.0"
21
+ "openapi-fetch": "0.17.0"
23
22
  },
24
23
  "devDependencies": {
25
24
  "@vitest/coverage-v8": "4.1.5",
@@ -29,8 +28,8 @@
29
28
  "vite": "8.0.12",
30
29
  "vite-plugin-dts": "5.0.0",
31
30
  "vitest": "4.1.5",
32
- "@tidal-music/auth": "^1.6.0",
33
- "@tidal-music/common": "^0.2.0"
31
+ "@tidal-music/auth": "^1.6.1",
32
+ "@tidal-music/common": "^0.2.1"
34
33
  },
35
34
  "scripts": {
36
35
  "build": "vite build",
@@ -45,6 +44,7 @@
45
44
  "test": "vitest",
46
45
  "test:coverage": "pnpm run test --coverage",
47
46
  "test:ui": "pnpm run test:coverage --ui",
48
- "typecheck": "tsc"
47
+ "typecheck": "tsc",
48
+ "check:types-resolution": "attw --pack . --ignore-rules=cjs-resolves-to-esm"
49
49
  }
50
50
  }