@contractspec/example.voice-providers 3.1.1 → 3.3.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.
@@ -2,12 +2,13 @@ $ contractspec-bun-build prebuild
2
2
  $ bun run prebuild && bun run build:bundle && bun run build:types
3
3
  $ contractspec-bun-build prebuild
4
4
  $ contractspec-bun-build transpile
5
- [contractspec-bun-build] transpile target=bun root=src entries=9
6
- Bundled 9 modules in 20ms
5
+ [contractspec-bun-build] transpile target=bun root=src entries=10
6
+ Bundled 10 modules in 35ms
7
7
 
8
8
  ./connection.sample.js 1.50 KB (entry point)
9
9
  ./run.js 5.65 KB (entry point)
10
- ./index.js 5.99 KB (entry point)
10
+ ./index.js 6.66 KB (entry point)
11
+ ./voice-providers.feature.js 0.69 KB (entry point)
11
12
  docs/index.js 1.93 KB (entry point)
12
13
  docs/voice-providers.docblock.js 1.93 KB (entry point)
13
14
  ./example.js 0.99 KB (entry point)
@@ -15,12 +16,13 @@ Bundled 9 modules in 20ms
15
16
  handlers/synthesize.js 1.43 KB (entry point)
16
17
  handlers/create-provider.js 1.27 KB (entry point)
17
18
 
18
- [contractspec-bun-build] transpile target=node root=src entries=9
19
- Bundled 9 modules in 26ms
19
+ [contractspec-bun-build] transpile target=node root=src entries=10
20
+ Bundled 10 modules in 20ms
20
21
 
21
22
  ./connection.sample.js 1.49 KB (entry point)
22
23
  ./run.js 5.64 KB (entry point)
23
- ./index.js 5.98 KB (entry point)
24
+ ./index.js 6.65 KB (entry point)
25
+ ./voice-providers.feature.js 0.68 KB (entry point)
24
26
  docs/index.js 1.92 KB (entry point)
25
27
  docs/voice-providers.docblock.js 1.92 KB (entry point)
26
28
  ./example.js 0.99 KB (entry point)
@@ -28,12 +30,13 @@ Bundled 9 modules in 26ms
28
30
  handlers/synthesize.js 1.42 KB (entry point)
29
31
  handlers/create-provider.js 1.26 KB (entry point)
30
32
 
31
- [contractspec-bun-build] transpile target=browser root=src entries=9
32
- Bundled 9 modules in 16ms
33
+ [contractspec-bun-build] transpile target=browser root=src entries=10
34
+ Bundled 10 modules in 22ms
33
35
 
34
36
  ./connection.sample.js 1.49 KB (entry point)
35
37
  ./run.js 5.64 KB (entry point)
36
- ./index.js 5.98 KB (entry point)
38
+ ./index.js 6.65 KB (entry point)
39
+ ./voice-providers.feature.js 0.68 KB (entry point)
37
40
  docs/index.js 1.92 KB (entry point)
38
41
  docs/voice-providers.docblock.js 1.92 KB (entry point)
39
42
  ./example.js 0.99 KB (entry point)
package/CHANGELOG.md CHANGED
@@ -1,5 +1,32 @@
1
1
  # @contractspec/example.voice-providers
2
2
 
3
+ ## 3.3.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 890a0da: fix: stability improvements
8
+
9
+ ### Patch Changes
10
+
11
+ - Updated dependencies [890a0da]
12
+ - Updated dependencies [575b316]
13
+ - @contractspec/integration.providers-impls@3.3.0
14
+ - @contractspec/lib.contracts-integrations@3.3.0
15
+ - @contractspec/lib.contracts-spec@3.3.0
16
+
17
+ ## 3.2.0
18
+
19
+ ### Minor Changes
20
+
21
+ - a281fc5: fix: missing dependencies
22
+
23
+ ### Patch Changes
24
+
25
+ - Updated dependencies [a281fc5]
26
+ - @contractspec/integration.providers-impls@3.2.0
27
+ - @contractspec/lib.contracts-integrations@3.2.0
28
+ - @contractspec/lib.contracts-spec@3.2.0
29
+
3
30
  ## 3.1.1
4
31
 
5
32
  ### Patch Changes
@@ -160,6 +160,26 @@ async function synthesizeVoice(input) {
160
160
  const provider = createVoiceProvider(input);
161
161
  return provider.synthesize(input.synthesis);
162
162
  }
163
+
164
+ // src/voice-providers.feature.ts
165
+ import { defineFeature } from "@contractspec/lib.contracts-spec";
166
+ var VoiceProvidersFeature = defineFeature({
167
+ meta: {
168
+ key: "voice-providers",
169
+ version: "1.0.0",
170
+ title: "Voice Providers",
171
+ description: "Voice provider integration for TTS synthesis with multiple providers",
172
+ domain: "integration",
173
+ owners: ["@examples"],
174
+ tags: ["voice", "tts", "providers", "synthesis"],
175
+ stability: "experimental"
176
+ },
177
+ integrations: [{ key: "voice-providers.integration.tts", version: "1.0.0" }],
178
+ docs: [
179
+ "docs.examples.voice-providers",
180
+ "docs.examples.voice-providers.usage"
181
+ ]
182
+ });
163
183
  export {
164
184
  voiceSampleConnections,
165
185
  synthesizeVoice,
@@ -167,5 +187,6 @@ export {
167
187
  gradiumVoiceConnection,
168
188
  falVoiceConnection,
169
189
  example_default as example,
170
- createVoiceProvider
190
+ createVoiceProvider,
191
+ VoiceProvidersFeature
171
192
  };
@@ -0,0 +1,22 @@
1
+ // src/voice-providers.feature.ts
2
+ import { defineFeature } from "@contractspec/lib.contracts-spec";
3
+ var VoiceProvidersFeature = defineFeature({
4
+ meta: {
5
+ key: "voice-providers",
6
+ version: "1.0.0",
7
+ title: "Voice Providers",
8
+ description: "Voice provider integration for TTS synthesis with multiple providers",
9
+ domain: "integration",
10
+ owners: ["@examples"],
11
+ tags: ["voice", "tts", "providers", "synthesis"],
12
+ stability: "experimental"
13
+ },
14
+ integrations: [{ key: "voice-providers.integration.tts", version: "1.0.0" }],
15
+ docs: [
16
+ "docs.examples.voice-providers",
17
+ "docs.examples.voice-providers.usage"
18
+ ]
19
+ });
20
+ export {
21
+ VoiceProvidersFeature
22
+ };
package/dist/index.d.ts CHANGED
@@ -2,5 +2,6 @@ export * from './handlers/create-provider';
2
2
  export * from './handlers/list-voices';
3
3
  export * from './handlers/synthesize';
4
4
  export * from './connection.sample';
5
+ export * from './voice-providers.feature';
5
6
  export { default as example } from './example';
6
7
  import './docs';
package/dist/index.js CHANGED
@@ -161,6 +161,26 @@ async function synthesizeVoice(input) {
161
161
  const provider = createVoiceProvider(input);
162
162
  return provider.synthesize(input.synthesis);
163
163
  }
164
+
165
+ // src/voice-providers.feature.ts
166
+ import { defineFeature } from "@contractspec/lib.contracts-spec";
167
+ var VoiceProvidersFeature = defineFeature({
168
+ meta: {
169
+ key: "voice-providers",
170
+ version: "1.0.0",
171
+ title: "Voice Providers",
172
+ description: "Voice provider integration for TTS synthesis with multiple providers",
173
+ domain: "integration",
174
+ owners: ["@examples"],
175
+ tags: ["voice", "tts", "providers", "synthesis"],
176
+ stability: "experimental"
177
+ },
178
+ integrations: [{ key: "voice-providers.integration.tts", version: "1.0.0" }],
179
+ docs: [
180
+ "docs.examples.voice-providers",
181
+ "docs.examples.voice-providers.usage"
182
+ ]
183
+ });
164
184
  export {
165
185
  voiceSampleConnections,
166
186
  synthesizeVoice,
@@ -168,5 +188,6 @@ export {
168
188
  gradiumVoiceConnection,
169
189
  falVoiceConnection,
170
190
  example_default as example,
171
- createVoiceProvider
191
+ createVoiceProvider,
192
+ VoiceProvidersFeature
172
193
  };
@@ -160,6 +160,26 @@ async function synthesizeVoice(input) {
160
160
  const provider = createVoiceProvider(input);
161
161
  return provider.synthesize(input.synthesis);
162
162
  }
163
+
164
+ // src/voice-providers.feature.ts
165
+ import { defineFeature } from "@contractspec/lib.contracts-spec";
166
+ var VoiceProvidersFeature = defineFeature({
167
+ meta: {
168
+ key: "voice-providers",
169
+ version: "1.0.0",
170
+ title: "Voice Providers",
171
+ description: "Voice provider integration for TTS synthesis with multiple providers",
172
+ domain: "integration",
173
+ owners: ["@examples"],
174
+ tags: ["voice", "tts", "providers", "synthesis"],
175
+ stability: "experimental"
176
+ },
177
+ integrations: [{ key: "voice-providers.integration.tts", version: "1.0.0" }],
178
+ docs: [
179
+ "docs.examples.voice-providers",
180
+ "docs.examples.voice-providers.usage"
181
+ ]
182
+ });
163
183
  export {
164
184
  voiceSampleConnections,
165
185
  synthesizeVoice,
@@ -167,5 +187,6 @@ export {
167
187
  gradiumVoiceConnection,
168
188
  falVoiceConnection,
169
189
  example_default as example,
170
- createVoiceProvider
190
+ createVoiceProvider,
191
+ VoiceProvidersFeature
171
192
  };
@@ -0,0 +1,22 @@
1
+ // src/voice-providers.feature.ts
2
+ import { defineFeature } from "@contractspec/lib.contracts-spec";
3
+ var VoiceProvidersFeature = defineFeature({
4
+ meta: {
5
+ key: "voice-providers",
6
+ version: "1.0.0",
7
+ title: "Voice Providers",
8
+ description: "Voice provider integration for TTS synthesis with multiple providers",
9
+ domain: "integration",
10
+ owners: ["@examples"],
11
+ tags: ["voice", "tts", "providers", "synthesis"],
12
+ stability: "experimental"
13
+ },
14
+ integrations: [{ key: "voice-providers.integration.tts", version: "1.0.0" }],
15
+ docs: [
16
+ "docs.examples.voice-providers",
17
+ "docs.examples.voice-providers.usage"
18
+ ]
19
+ });
20
+ export {
21
+ VoiceProvidersFeature
22
+ };
@@ -0,0 +1 @@
1
+ export declare const VoiceProvidersFeature: import("@contractspec/lib.contracts-spec").FeatureModuleSpec;
@@ -0,0 +1,23 @@
1
+ // @bun
2
+ // src/voice-providers.feature.ts
3
+ import { defineFeature } from "@contractspec/lib.contracts-spec";
4
+ var VoiceProvidersFeature = defineFeature({
5
+ meta: {
6
+ key: "voice-providers",
7
+ version: "1.0.0",
8
+ title: "Voice Providers",
9
+ description: "Voice provider integration for TTS synthesis with multiple providers",
10
+ domain: "integration",
11
+ owners: ["@examples"],
12
+ tags: ["voice", "tts", "providers", "synthesis"],
13
+ stability: "experimental"
14
+ },
15
+ integrations: [{ key: "voice-providers.integration.tts", version: "1.0.0" }],
16
+ docs: [
17
+ "docs.examples.voice-providers",
18
+ "docs.examples.voice-providers.usage"
19
+ ]
20
+ });
21
+ export {
22
+ VoiceProvidersFeature
23
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@contractspec/example.voice-providers",
3
- "version": "3.1.1",
3
+ "version": "3.3.0",
4
4
  "description": "Voice provider example: Gradium and Fal text-to-speech integration patterns.",
5
5
  "type": "module",
6
6
  "types": "./dist/index.d.ts",
@@ -74,6 +74,13 @@
74
74
  "node": "./dist/node/run.js",
75
75
  "browser": "./dist/browser/run.js",
76
76
  "default": "./dist/run.js"
77
+ },
78
+ "./voice-providers.feature": {
79
+ "types": "./dist/voice-providers.feature.d.ts",
80
+ "bun": "./dist/voice-providers.feature.js",
81
+ "node": "./dist/node/voice-providers.feature.js",
82
+ "browser": "./dist/browser/voice-providers.feature.js",
83
+ "default": "./dist/voice-providers.feature.js"
77
84
  }
78
85
  },
79
86
  "scripts": {
@@ -92,14 +99,14 @@
92
99
  "typecheck": "tsc --noEmit"
93
100
  },
94
101
  "dependencies": {
95
- "@contractspec/integration.providers-impls": "3.1.1",
96
- "@contractspec/lib.contracts-spec": "3.1.1",
97
- "@contractspec/lib.contracts-integrations": "3.1.1"
102
+ "@contractspec/integration.providers-impls": "3.3.0",
103
+ "@contractspec/lib.contracts-spec": "3.3.0",
104
+ "@contractspec/lib.contracts-integrations": "3.3.0"
98
105
  },
99
106
  "devDependencies": {
100
- "@contractspec/tool.typescript": "3.1.0",
107
+ "@contractspec/tool.typescript": "3.3.0",
101
108
  "typescript": "^5.9.3",
102
- "@contractspec/tool.bun": "3.1.0"
109
+ "@contractspec/tool.bun": "3.3.0"
103
110
  },
104
111
  "publishConfig": {
105
112
  "access": "public",
@@ -173,6 +180,13 @@
173
180
  "node": "./dist/node/run.js",
174
181
  "browser": "./dist/browser/run.js",
175
182
  "default": "./dist/run.js"
183
+ },
184
+ "./voice-providers.feature": {
185
+ "types": "./dist/voice-providers.feature.d.ts",
186
+ "bun": "./dist/voice-providers.feature.js",
187
+ "node": "./dist/node/voice-providers.feature.js",
188
+ "browser": "./dist/browser/voice-providers.feature.js",
189
+ "default": "./dist/voice-providers.feature.js"
176
190
  }
177
191
  },
178
192
  "registry": "https://registry.npmjs.org/"
package/src/index.ts CHANGED
@@ -2,5 +2,6 @@ export * from './handlers/create-provider';
2
2
  export * from './handlers/list-voices';
3
3
  export * from './handlers/synthesize';
4
4
  export * from './connection.sample';
5
+ export * from './voice-providers.feature';
5
6
  export { default as example } from './example';
6
7
  import './docs';
@@ -0,0 +1,22 @@
1
+ import { defineFeature } from '@contractspec/lib.contracts-spec';
2
+
3
+ export const VoiceProvidersFeature = defineFeature({
4
+ meta: {
5
+ key: 'voice-providers',
6
+ version: '1.0.0',
7
+ title: 'Voice Providers',
8
+ description:
9
+ 'Voice provider integration for TTS synthesis with multiple providers',
10
+ domain: 'integration',
11
+ owners: ['@examples'],
12
+ tags: ['voice', 'tts', 'providers', 'synthesis'],
13
+ stability: 'experimental',
14
+ },
15
+
16
+ integrations: [{ key: 'voice-providers.integration.tts', version: '1.0.0' }],
17
+
18
+ docs: [
19
+ 'docs.examples.voice-providers',
20
+ 'docs.examples.voice-providers.usage',
21
+ ],
22
+ });