@keystrokehq/spotify 0.0.8 → 0.0.15

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.
Files changed (53) hide show
  1. package/dist/_official/index.d.mts +2 -6
  2. package/dist/_official/index.mjs +1 -1
  3. package/dist/albums.d.mts +4 -13
  4. package/dist/albums.mjs +1 -1
  5. package/dist/artists.d.mts +5 -16
  6. package/dist/artists.mjs +1 -1
  7. package/dist/audio-analysis.d.mts +1 -4
  8. package/dist/audio-analysis.mjs +1 -1
  9. package/dist/audio-features.d.mts +2 -7
  10. package/dist/audio-features.mjs +1 -1
  11. package/dist/audiobooks.d.mts +3 -10
  12. package/dist/audiobooks.mjs +1 -1
  13. package/dist/browse.d.mts +1 -4
  14. package/dist/browse.mjs +1 -1
  15. package/dist/categories.d.mts +3 -10
  16. package/dist/categories.mjs +1 -1
  17. package/dist/chapters.d.mts +2 -7
  18. package/dist/chapters.mjs +1 -1
  19. package/dist/client.d.mts +1 -1
  20. package/dist/connection.d.mts +1 -1
  21. package/dist/connection.mjs +1 -1
  22. package/dist/episodes.d.mts +2 -7
  23. package/dist/episodes.mjs +1 -1
  24. package/dist/{factory-C3uQLYXY.mjs → factory-DMprpzS1.mjs} +1 -1
  25. package/dist/follow.d.mts +4 -13
  26. package/dist/follow.mjs +1 -1
  27. package/dist/genres.d.mts +1 -4
  28. package/dist/genres.mjs +1 -1
  29. package/dist/{integration-Dzf1u4u-.d.mts → integration-B5oEi2sg.d.mts} +2 -16
  30. package/dist/{integration-BK1PIn1V.mjs → integration-D9ABjTOP.mjs} +3 -30
  31. package/dist/library.d.mts +20 -61
  32. package/dist/library.mjs +1 -1
  33. package/dist/markets.d.mts +1 -4
  34. package/dist/markets.mjs +1 -1
  35. package/dist/me.d.mts +3 -10
  36. package/dist/me.mjs +1 -1
  37. package/dist/player.d.mts +15 -46
  38. package/dist/player.mjs +1 -1
  39. package/dist/playlists.d.mts +14 -43
  40. package/dist/playlists.mjs +1 -1
  41. package/dist/recommendations.d.mts +1 -4
  42. package/dist/recommendations.mjs +1 -1
  43. package/dist/search.d.mts +1 -4
  44. package/dist/search.mjs +1 -1
  45. package/dist/shows.d.mts +3 -10
  46. package/dist/shows.mjs +1 -1
  47. package/dist/tracks.d.mts +2 -7
  48. package/dist/tracks.mjs +1 -1
  49. package/dist/triggers.d.mts +1 -1
  50. package/dist/triggers.mjs +1 -1
  51. package/dist/users.d.mts +1 -4
  52. package/dist/users.mjs +1 -1
  53. package/package.json +4 -4
@@ -1,6 +1,6 @@
1
1
  import { spotifyIdSchema, spotifyMarketSchema, spotifyRecommendationsSchema } from "./schemas.mjs";
2
2
  import { createSpotifyClient } from "./client.mjs";
3
- import { t as spotifyOperation } from "./factory-C3uQLYXY.mjs";
3
+ import { t as spotifyOperation } from "./factory-DMprpzS1.mjs";
4
4
  import { z } from "zod";
5
5
 
6
6
  //#region src/recommendations.ts
package/dist/search.d.mts CHANGED
@@ -1,6 +1,5 @@
1
1
  import { z } from "zod";
2
2
  import * as _keystrokehq_core0 from "@keystrokehq/core";
3
- import * as _keystrokehq_core_credential_set0 from "@keystrokehq/core/credential-set";
4
3
 
5
4
  //#region src/search.d.ts
6
5
  declare const search: _keystrokehq_core0.Operation<z.ZodObject<{
@@ -382,8 +381,6 @@ declare const search: _keystrokehq_core0.Operation<z.ZodObject<{
382
381
  }, z.core.$strip>>;
383
382
  }, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:spotify", z.ZodObject<{
384
383
  SPOTIFY_ACCESS_TOKEN: z.ZodString;
385
- }, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
386
- SPOTIFY_ACCESS_TOKEN: z.ZodString;
387
- }, z.core.$strip>>[] | undefined>], undefined>;
384
+ }, z.core.$strip>>], undefined>;
388
385
  //#endregion
389
386
  export { search };
package/dist/search.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  import { spotifyMarketSchema, spotifySearchResultSchema } from "./schemas.mjs";
2
2
  import { createSpotifyClient } from "./client.mjs";
3
- import { t as spotifyOperation } from "./factory-C3uQLYXY.mjs";
3
+ import { t as spotifyOperation } from "./factory-DMprpzS1.mjs";
4
4
  import { z } from "zod";
5
5
 
6
6
  //#region src/search.ts
package/dist/shows.d.mts CHANGED
@@ -1,6 +1,5 @@
1
1
  import { z } from "zod";
2
2
  import * as _keystrokehq_core0 from "@keystrokehq/core";
3
- import * as _keystrokehq_core_credential_set0 from "@keystrokehq/core/credential-set";
4
3
 
5
4
  //#region src/shows.d.ts
6
5
  declare const getShow: _keystrokehq_core0.Operation<z.ZodObject<{
@@ -35,9 +34,7 @@ declare const getShow: _keystrokehq_core0.Operation<z.ZodObject<{
35
34
  isExternallyHosted: z.ZodOptional<z.ZodBoolean>;
36
35
  }, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:spotify", z.ZodObject<{
37
36
  SPOTIFY_ACCESS_TOKEN: z.ZodString;
38
- }, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
39
- SPOTIFY_ACCESS_TOKEN: z.ZodString;
40
- }, z.core.$strip>>[] | undefined>], undefined>;
37
+ }, z.core.$strip>>], undefined>;
41
38
  declare const getSeveralShows: _keystrokehq_core0.Operation<z.ZodObject<{
42
39
  ids: z.ZodArray<z.ZodString>;
43
40
  market: z.ZodOptional<z.ZodString>;
@@ -72,9 +69,7 @@ declare const getSeveralShows: _keystrokehq_core0.Operation<z.ZodObject<{
72
69
  }, z.core.$strip>>;
73
70
  }, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:spotify", z.ZodObject<{
74
71
  SPOTIFY_ACCESS_TOKEN: z.ZodString;
75
- }, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
76
- SPOTIFY_ACCESS_TOKEN: z.ZodString;
77
- }, z.core.$strip>>[] | undefined>], undefined>;
72
+ }, z.core.$strip>>], undefined>;
78
73
  declare const getShowEpisodes: _keystrokehq_core0.Operation<z.ZodObject<{
79
74
  id: z.ZodString;
80
75
  market: z.ZodOptional<z.ZodString>;
@@ -152,8 +147,6 @@ declare const getShowEpisodes: _keystrokehq_core0.Operation<z.ZodObject<{
152
147
  total: z.ZodOptional<z.ZodNumber>;
153
148
  }, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:spotify", z.ZodObject<{
154
149
  SPOTIFY_ACCESS_TOKEN: z.ZodString;
155
- }, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
156
- SPOTIFY_ACCESS_TOKEN: z.ZodString;
157
- }, z.core.$strip>>[] | undefined>], undefined>;
150
+ }, z.core.$strip>>], undefined>;
158
151
  //#endregion
159
152
  export { getSeveralShows, getShow, getShowEpisodes };
package/dist/shows.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  import { spotifyEpisodePageSchema, spotifyIdSchema, spotifyMarketSchema, spotifyShowSchema } from "./schemas.mjs";
2
2
  import { createSpotifyClient } from "./client.mjs";
3
- import { t as spotifyOperation } from "./factory-C3uQLYXY.mjs";
3
+ import { t as spotifyOperation } from "./factory-DMprpzS1.mjs";
4
4
  import { z } from "zod";
5
5
 
6
6
  //#region src/shows.ts
package/dist/tracks.d.mts CHANGED
@@ -1,6 +1,5 @@
1
1
  import { z } from "zod";
2
2
  import * as _keystrokehq_core0 from "@keystrokehq/core";
3
- import * as _keystrokehq_core_credential_set0 from "@keystrokehq/core/credential-set";
4
3
 
5
4
  //#region src/tracks.d.ts
6
5
  declare const getTrack: _keystrokehq_core0.Operation<z.ZodObject<{
@@ -82,9 +81,7 @@ declare const getTrack: _keystrokehq_core0.Operation<z.ZodObject<{
82
81
  uri: z.ZodOptional<z.ZodString>;
83
82
  }, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:spotify", z.ZodObject<{
84
83
  SPOTIFY_ACCESS_TOKEN: z.ZodString;
85
- }, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
86
- SPOTIFY_ACCESS_TOKEN: z.ZodString;
87
- }, z.core.$strip>>[] | undefined>], undefined>;
84
+ }, z.core.$strip>>], undefined>;
88
85
  declare const getSeveralTracks: _keystrokehq_core0.Operation<z.ZodObject<{
89
86
  ids: z.ZodArray<z.ZodString>;
90
87
  market: z.ZodOptional<z.ZodString>;
@@ -166,8 +163,6 @@ declare const getSeveralTracks: _keystrokehq_core0.Operation<z.ZodObject<{
166
163
  }, z.core.$strip>>;
167
164
  }, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:spotify", z.ZodObject<{
168
165
  SPOTIFY_ACCESS_TOKEN: z.ZodString;
169
- }, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
170
- SPOTIFY_ACCESS_TOKEN: z.ZodString;
171
- }, z.core.$strip>>[] | undefined>], undefined>;
166
+ }, z.core.$strip>>], undefined>;
172
167
  //#endregion
173
168
  export { getSeveralTracks, getTrack };
package/dist/tracks.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  import { spotifyIdSchema, spotifyMarketSchema, spotifyTrackSchema } from "./schemas.mjs";
2
2
  import { createSpotifyClient } from "./client.mjs";
3
- import { t as spotifyOperation } from "./factory-C3uQLYXY.mjs";
3
+ import { t as spotifyOperation } from "./factory-DMprpzS1.mjs";
4
4
  import { z } from "zod";
5
5
 
6
6
  //#region src/tracks.ts
@@ -1,4 +1,4 @@
1
- import { n as spotify } from "./integration-Dzf1u4u-.mjs";
1
+ import { n as spotify } from "./integration-B5oEi2sg.mjs";
2
2
  import { spotifyNewDeviceAddedEventSchema, spotifyPlaylistItemsChangedEventSchema, spotifyRecentlyPlayedTrackAddedEventSchema, spotifySavedItemAddedEventSchema, spotifyUserPlaylistsChangedEventSchema } from "./events.mjs";
3
3
  import { z } from "zod";
4
4
  import { BoundTrigger } from "@keystrokehq/core";
package/dist/triggers.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { t as spotify } from "./integration-BK1PIn1V.mjs";
1
+ import { t as spotify } from "./integration-D9ABjTOP.mjs";
2
2
  import { createSpotifyClient } from "./client.mjs";
3
3
  import { spotifyNewDeviceAddedEventSchema, spotifyPlaylistItemsChangedEventSchema, spotifyRecentlyPlayedTrackAddedEventSchema, spotifySavedItemAddedEventSchema, spotifyUserPlaylistsChangedEventSchema } from "./events.mjs";
4
4
  import { z } from "zod";
package/dist/users.d.mts CHANGED
@@ -1,6 +1,5 @@
1
1
  import { z } from "zod";
2
2
  import * as _keystrokehq_core0 from "@keystrokehq/core";
3
- import * as _keystrokehq_core_credential_set0 from "@keystrokehq/core/credential-set";
4
3
 
5
4
  //#region src/users.d.ts
6
5
  declare const getUser: _keystrokehq_core0.Operation<z.ZodObject<{
@@ -28,8 +27,6 @@ declare const getUser: _keystrokehq_core0.Operation<z.ZodObject<{
28
27
  }, z.core.$strip>>>;
29
28
  }, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:spotify", z.ZodObject<{
30
29
  SPOTIFY_ACCESS_TOKEN: z.ZodString;
31
- }, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
32
- SPOTIFY_ACCESS_TOKEN: z.ZodString;
33
- }, z.core.$strip>>[] | undefined>], undefined>;
30
+ }, z.core.$strip>>], undefined>;
34
31
  //#endregion
35
32
  export { getUser };
package/dist/users.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  import { spotifyIdSchema, spotifyUserSchema } from "./schemas.mjs";
2
2
  import { createSpotifyClient } from "./client.mjs";
3
- import { t as spotifyOperation } from "./factory-C3uQLYXY.mjs";
3
+ import { t as spotifyOperation } from "./factory-DMprpzS1.mjs";
4
4
  import { z } from "zod";
5
5
 
6
6
  //#region src/users.ts
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@keystrokehq/spotify",
3
- "version": "0.0.8",
3
+ "version": "0.0.15",
4
4
  "private": false,
5
5
  "sideEffects": false,
6
6
  "type": "module",
@@ -144,18 +144,18 @@
144
144
  "LICENSE"
145
145
  ],
146
146
  "dependencies": {
147
- "@keystrokehq/integration-authoring": "^0.0.8",
147
+ "@keystrokehq/integration-authoring": "^0.0.9",
148
148
  "zod": "^4.3.6"
149
149
  },
150
150
  "peerDependencies": {
151
- "@keystrokehq/core": ">=0.0.8 <0.1.0"
151
+ "@keystrokehq/core": ">=0.0.13 <0.1.0"
152
152
  },
153
153
  "devDependencies": {
154
154
  "@types/node": "^22.19.11",
155
155
  "tsdown": "^0.20.3",
156
156
  "typescript": "^5.9.3",
157
157
  "vitest": "^4.0.18",
158
- "@keystrokehq/core": "^0.0.8",
158
+ "@keystrokehq/core": "^0.0.13",
159
159
  "@keystrokehq/test-utils": "0.0.0",
160
160
  "@keystrokehq/typescript-config": "0.0.0"
161
161
  },