@keystrokehq/spotify 0.0.6-rename-t1.0 → 0.0.7
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/_official/index.d.mts +4 -4
- package/dist/_official/index.mjs +1 -1
- package/dist/albums.mjs +1 -1
- package/dist/artists.mjs +1 -1
- package/dist/audio-analysis.mjs +1 -1
- package/dist/audio-features.mjs +1 -1
- package/dist/audiobooks.mjs +1 -1
- package/dist/browse.mjs +1 -1
- package/dist/categories.mjs +1 -1
- package/dist/chapters.mjs +1 -1
- package/dist/connection.mjs +1 -1
- package/dist/episodes.mjs +1 -1
- package/dist/{factory-CwN0oF4y.mjs → factory-C3uQLYXY.mjs} +1 -1
- package/dist/follow.mjs +1 -1
- package/dist/genres.mjs +1 -1
- package/dist/{integration-k3yF2EDm.mjs → integration-BK1PIn1V.mjs} +6 -6
- package/dist/library.mjs +1 -1
- package/dist/markets.mjs +1 -1
- package/dist/me.mjs +1 -1
- package/dist/player.mjs +1 -1
- package/dist/playlists.mjs +1 -1
- package/dist/recommendations.mjs +1 -1
- package/dist/search.mjs +1 -1
- package/dist/shows.mjs +1 -1
- package/dist/tracks.mjs +1 -1
- package/dist/triggers.mjs +1 -1
- package/dist/users.mjs +1 -1
- package/package.json +4 -4
|
@@ -17,11 +17,11 @@ declare const spotifyOfficialProviderSeed: {
|
|
|
17
17
|
readonly displayName: "Spotify Platform";
|
|
18
18
|
readonly credentialSetName: "Keystroke Spotify Platform App";
|
|
19
19
|
readonly envShape: {
|
|
20
|
-
readonly
|
|
21
|
-
readonly
|
|
20
|
+
readonly KEYSTROKE_OFFICIAL_SPOTIFY_CLIENT_ID: z.ZodOptional<z.ZodString>;
|
|
21
|
+
readonly KEYSTROKE_OFFICIAL_SPOTIFY_CLIENT_SECRET: z.ZodOptional<z.ZodString>;
|
|
22
22
|
};
|
|
23
|
-
readonly requiredEnvKeys: readonly ["
|
|
24
|
-
readonly externalAppIdEnvKey: "
|
|
23
|
+
readonly requiredEnvKeys: readonly ["KEYSTROKE_OFFICIAL_SPOTIFY_CLIENT_ID", "KEYSTROKE_OFFICIAL_SPOTIFY_CLIENT_SECRET"];
|
|
24
|
+
readonly externalAppIdEnvKey: "KEYSTROKE_OFFICIAL_SPOTIFY_CLIENT_ID";
|
|
25
25
|
readonly buildCredentials: (env: Record<string, string | undefined>) => {
|
|
26
26
|
clientId: string | undefined;
|
|
27
27
|
clientSecret: string | undefined;
|
package/dist/_official/index.mjs
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { a as spotifyOfficialProviderSeed, i as spotifyAppCredentialSet, n as spotifyBundle, r as spotifyOfficialIntegration } from "../integration-
|
|
1
|
+
import { a as spotifyOfficialProviderSeed, i as spotifyAppCredentialSet, n as spotifyBundle, r as spotifyOfficialIntegration } from "../integration-BK1PIn1V.mjs";
|
|
2
2
|
|
|
3
3
|
export { spotifyAppCredentialSet, spotifyBundle, spotifyOfficialIntegration, spotifyOfficialProviderSeed };
|
package/dist/albums.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { spotifyAlbumPageSchema, spotifyAlbumSchema, spotifyIdSchema, spotifyMarketSchema, spotifyTrackPageSchema } from "./schemas.mjs";
|
|
2
2
|
import { createSpotifyClient } from "./client.mjs";
|
|
3
|
-
import { t as spotifyOperation } from "./factory-
|
|
3
|
+
import { t as spotifyOperation } from "./factory-C3uQLYXY.mjs";
|
|
4
4
|
import { z } from "zod";
|
|
5
5
|
|
|
6
6
|
//#region src/albums.ts
|
package/dist/artists.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { spotifyAlbumPageSchema, spotifyArtistSchema, spotifyIdSchema, spotifyMarketSchema, spotifyTrackSchema } from "./schemas.mjs";
|
|
2
2
|
import { createSpotifyClient } from "./client.mjs";
|
|
3
|
-
import { t as spotifyOperation } from "./factory-
|
|
3
|
+
import { t as spotifyOperation } from "./factory-C3uQLYXY.mjs";
|
|
4
4
|
import { z } from "zod";
|
|
5
5
|
|
|
6
6
|
//#region src/artists.ts
|
package/dist/audio-analysis.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { spotifyAudioAnalysisSchema, spotifyIdSchema } from "./schemas.mjs";
|
|
2
2
|
import { createSpotifyClient } from "./client.mjs";
|
|
3
|
-
import { t as spotifyOperation } from "./factory-
|
|
3
|
+
import { t as spotifyOperation } from "./factory-C3uQLYXY.mjs";
|
|
4
4
|
import { z } from "zod";
|
|
5
5
|
|
|
6
6
|
//#region src/audio-analysis.ts
|
package/dist/audio-features.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { spotifyAudioFeaturesSchema, spotifyIdSchema } from "./schemas.mjs";
|
|
2
2
|
import { createSpotifyClient } from "./client.mjs";
|
|
3
|
-
import { t as spotifyOperation } from "./factory-
|
|
3
|
+
import { t as spotifyOperation } from "./factory-C3uQLYXY.mjs";
|
|
4
4
|
import { z } from "zod";
|
|
5
5
|
|
|
6
6
|
//#region src/audio-features.ts
|
package/dist/audiobooks.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { spotifyAudiobookSchema, spotifyChapterPageSchema, spotifyIdSchema, spotifyMarketSchema } from "./schemas.mjs";
|
|
2
2
|
import { createSpotifyClient } from "./client.mjs";
|
|
3
|
-
import { t as spotifyOperation } from "./factory-
|
|
3
|
+
import { t as spotifyOperation } from "./factory-C3uQLYXY.mjs";
|
|
4
4
|
import { z } from "zod";
|
|
5
5
|
|
|
6
6
|
//#region src/audiobooks.ts
|
package/dist/browse.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { spotifyMarketSchema, spotifyPlaylistPageSchema, spotifyTimestampSchema } from "./schemas.mjs";
|
|
2
2
|
import { createSpotifyClient } from "./client.mjs";
|
|
3
|
-
import { t as spotifyOperation } from "./factory-
|
|
3
|
+
import { t as spotifyOperation } from "./factory-C3uQLYXY.mjs";
|
|
4
4
|
import { z } from "zod";
|
|
5
5
|
|
|
6
6
|
//#region src/browse.ts
|
package/dist/categories.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { spotifyCategoryPageSchema, spotifyCategorySchema, spotifyMarketSchema, spotifyPlaylistPageSchema } from "./schemas.mjs";
|
|
2
2
|
import { createSpotifyClient } from "./client.mjs";
|
|
3
|
-
import { t as spotifyOperation } from "./factory-
|
|
3
|
+
import { t as spotifyOperation } from "./factory-C3uQLYXY.mjs";
|
|
4
4
|
import { z } from "zod";
|
|
5
5
|
|
|
6
6
|
//#region src/categories.ts
|
package/dist/chapters.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { spotifyChapterSchema, spotifyIdSchema, spotifyMarketSchema } from "./schemas.mjs";
|
|
2
2
|
import { createSpotifyClient } from "./client.mjs";
|
|
3
|
-
import { t as spotifyOperation } from "./factory-
|
|
3
|
+
import { t as spotifyOperation } from "./factory-C3uQLYXY.mjs";
|
|
4
4
|
import { z } from "zod";
|
|
5
5
|
|
|
6
6
|
//#region src/chapters.ts
|
package/dist/connection.mjs
CHANGED
package/dist/episodes.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { spotifyEpisodeSchema, spotifyIdSchema, spotifyMarketSchema } from "./schemas.mjs";
|
|
2
2
|
import { createSpotifyClient } from "./client.mjs";
|
|
3
|
-
import { t as spotifyOperation } from "./factory-
|
|
3
|
+
import { t as spotifyOperation } from "./factory-C3uQLYXY.mjs";
|
|
4
4
|
import { z } from "zod";
|
|
5
5
|
|
|
6
6
|
//#region src/episodes.ts
|
package/dist/follow.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { createSpotifyCursorPageSchema, spotifyArtistSchema, spotifyBooleanListSchema, spotifyIdSchema, spotifyMutationSuccessSchema } from "./schemas.mjs";
|
|
2
2
|
import { createSpotifyClient } from "./client.mjs";
|
|
3
|
-
import { t as spotifyOperation } from "./factory-
|
|
3
|
+
import { t as spotifyOperation } from "./factory-C3uQLYXY.mjs";
|
|
4
4
|
import { z } from "zod";
|
|
5
5
|
|
|
6
6
|
//#region src/follow.ts
|
package/dist/genres.mjs
CHANGED
|
@@ -18,14 +18,14 @@ const spotifyOfficialProviderSeed = {
|
|
|
18
18
|
displayName: "Spotify Platform",
|
|
19
19
|
credentialSetName: "Keystroke Spotify Platform App",
|
|
20
20
|
envShape: {
|
|
21
|
-
|
|
22
|
-
|
|
21
|
+
KEYSTROKE_OFFICIAL_SPOTIFY_CLIENT_ID: z.string().optional(),
|
|
22
|
+
KEYSTROKE_OFFICIAL_SPOTIFY_CLIENT_SECRET: z.string().optional()
|
|
23
23
|
},
|
|
24
|
-
requiredEnvKeys: ["
|
|
25
|
-
externalAppIdEnvKey: "
|
|
24
|
+
requiredEnvKeys: ["KEYSTROKE_OFFICIAL_SPOTIFY_CLIENT_ID", "KEYSTROKE_OFFICIAL_SPOTIFY_CLIENT_SECRET"],
|
|
25
|
+
externalAppIdEnvKey: "KEYSTROKE_OFFICIAL_SPOTIFY_CLIENT_ID",
|
|
26
26
|
buildCredentials: (env) => ({
|
|
27
|
-
clientId: env.
|
|
28
|
-
clientSecret: env.
|
|
27
|
+
clientId: env.KEYSTROKE_OFFICIAL_SPOTIFY_CLIENT_ID,
|
|
28
|
+
clientSecret: env.KEYSTROKE_OFFICIAL_SPOTIFY_CLIENT_SECRET
|
|
29
29
|
})
|
|
30
30
|
};
|
|
31
31
|
|
package/dist/library.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { spotifyBooleanListSchema, spotifyIdSchema, spotifyMarketSchema, spotifyMutationSuccessSchema, spotifySavedAlbumPageSchema, spotifySavedAudiobookPageSchema, spotifySavedEpisodePageSchema, spotifySavedShowPageSchema, spotifySavedTrackPageSchema } from "./schemas.mjs";
|
|
2
2
|
import { createSpotifyClient } from "./client.mjs";
|
|
3
|
-
import { t as spotifyOperation } from "./factory-
|
|
3
|
+
import { t as spotifyOperation } from "./factory-C3uQLYXY.mjs";
|
|
4
4
|
import { z } from "zod";
|
|
5
5
|
|
|
6
6
|
//#region src/library.ts
|
package/dist/markets.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { spotifyMarketSchema } from "./schemas.mjs";
|
|
2
2
|
import { createSpotifyClient } from "./client.mjs";
|
|
3
|
-
import { t as spotifyOperation } from "./factory-
|
|
3
|
+
import { t as spotifyOperation } from "./factory-C3uQLYXY.mjs";
|
|
4
4
|
import { z } from "zod";
|
|
5
5
|
|
|
6
6
|
//#region src/markets.ts
|
package/dist/me.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { spotifyArtistPageSchema, spotifyTrackPageSchema, spotifyUserSchema } from "./schemas.mjs";
|
|
2
2
|
import { createSpotifyClient } from "./client.mjs";
|
|
3
|
-
import { t as spotifyOperation } from "./factory-
|
|
3
|
+
import { t as spotifyOperation } from "./factory-C3uQLYXY.mjs";
|
|
4
4
|
import { z } from "zod";
|
|
5
5
|
|
|
6
6
|
//#region src/me.ts
|
package/dist/player.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { spotifyDeviceSchema, spotifyIdSchema, spotifyMarketSchema, spotifyMutationSuccessSchema, spotifyPlaybackStateSchema, spotifyQueueSchema, spotifyRecentlyPlayedPageSchema, spotifyUriSchema } from "./schemas.mjs";
|
|
2
2
|
import { createSpotifyClient } from "./client.mjs";
|
|
3
|
-
import { t as spotifyOperation } from "./factory-
|
|
3
|
+
import { t as spotifyOperation } from "./factory-C3uQLYXY.mjs";
|
|
4
4
|
import { z } from "zod";
|
|
5
5
|
|
|
6
6
|
//#region src/player.ts
|
package/dist/playlists.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { spotifyBooleanListSchema, spotifyIdSchema, spotifyMarketSchema, spotifyMutationSuccessSchema, spotifyPlaylistImageSchema, spotifyPlaylistItemPageSchema, spotifyPlaylistPageSchema, spotifyPlaylistSchema, spotifySnapshotResponseSchema, spotifyUriSchema } from "./schemas.mjs";
|
|
2
2
|
import { createSpotifyClient } from "./client.mjs";
|
|
3
|
-
import { t as spotifyOperation } from "./factory-
|
|
3
|
+
import { t as spotifyOperation } from "./factory-C3uQLYXY.mjs";
|
|
4
4
|
import { z } from "zod";
|
|
5
5
|
|
|
6
6
|
//#region src/playlists.ts
|
package/dist/recommendations.mjs
CHANGED
|
@@ -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-
|
|
3
|
+
import { t as spotifyOperation } from "./factory-C3uQLYXY.mjs";
|
|
4
4
|
import { z } from "zod";
|
|
5
5
|
|
|
6
6
|
//#region src/recommendations.ts
|
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-
|
|
3
|
+
import { t as spotifyOperation } from "./factory-C3uQLYXY.mjs";
|
|
4
4
|
import { z } from "zod";
|
|
5
5
|
|
|
6
6
|
//#region src/search.ts
|
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-
|
|
3
|
+
import { t as spotifyOperation } from "./factory-C3uQLYXY.mjs";
|
|
4
4
|
import { z } from "zod";
|
|
5
5
|
|
|
6
6
|
//#region src/shows.ts
|
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-
|
|
3
|
+
import { t as spotifyOperation } from "./factory-C3uQLYXY.mjs";
|
|
4
4
|
import { z } from "zod";
|
|
5
5
|
|
|
6
6
|
//#region src/tracks.ts
|
package/dist/triggers.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as spotify } from "./integration-
|
|
1
|
+
import { t as spotify } from "./integration-BK1PIn1V.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.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-
|
|
3
|
+
import { t as spotifyOperation } from "./factory-C3uQLYXY.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.
|
|
3
|
+
"version": "0.0.7",
|
|
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.
|
|
147
|
+
"@keystrokehq/integration-authoring": "^0.0.7",
|
|
148
148
|
"zod": "^4.3.6"
|
|
149
149
|
},
|
|
150
150
|
"peerDependencies": {
|
|
151
|
-
"@keystrokehq/core": ">=0.0.
|
|
151
|
+
"@keystrokehq/core": ">=0.0.8 <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.
|
|
158
|
+
"@keystrokehq/core": "^0.0.8",
|
|
159
159
|
"@keystrokehq/test-utils": "0.0.0",
|
|
160
160
|
"@keystrokehq/typescript-config": "0.0.0"
|
|
161
161
|
},
|