@gjsify/resolve-npm 0.64.30 → 0.64.31

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.
@@ -104,6 +104,13 @@ export const GJS_GLOBALS_GROUPS = {
104
104
  'SpeechSynthesisVoice',
105
105
  'SpeechSynthesisEvent',
106
106
  'SpeechSynthesisErrorEvent',
107
+ 'SpeechRecognition',
108
+ 'SpeechRecognitionEvent',
109
+ 'SpeechRecognitionErrorEvent',
110
+ 'SpeechRecognitionResultList',
111
+ 'SpeechRecognitionResult',
112
+ 'SpeechRecognitionAlternative',
113
+ 'SpeechRecognitionPhrase',
107
114
  'MediaDevices',
108
115
  'RTCPeerConnection',
109
116
  'RTCSessionDescription',
@@ -273,6 +280,15 @@ export const GJS_GLOBALS_MAP = {
273
280
  SpeechSynthesisEvent: '@gjsify/speech-synthesis/register',
274
281
  SpeechSynthesisErrorEvent: '@gjsify/speech-synthesis/register',
275
282
 
283
+ // --- Web Speech recognition (sherpa-onnx streaming zipformer backend) ---
284
+ SpeechRecognition: '@gjsify/speech-recognition/register',
285
+ SpeechRecognitionEvent: '@gjsify/speech-recognition/register',
286
+ SpeechRecognitionErrorEvent: '@gjsify/speech-recognition/register',
287
+ SpeechRecognitionResultList: '@gjsify/speech-recognition/register',
288
+ SpeechRecognitionResult: '@gjsify/speech-recognition/register',
289
+ SpeechRecognitionAlternative: '@gjsify/speech-recognition/register',
290
+ SpeechRecognitionPhrase: '@gjsify/speech-recognition/register',
291
+
276
292
  // --- WebRTC (GStreamer webrtcbin backend) -------------------------------
277
293
  MediaDevices: '@gjsify/webrtc/register/media-devices',
278
294
  RTCPeerConnection: '@gjsify/webrtc/register/peer-connection',
@@ -488,6 +504,13 @@ export const BROWSER_NATIVE_IDENTS = new Set([
488
504
  'SpeechSynthesisVoice',
489
505
  'SpeechSynthesisEvent',
490
506
  'SpeechSynthesisErrorEvent',
507
+ 'SpeechRecognition',
508
+ 'SpeechRecognitionEvent',
509
+ 'SpeechRecognitionErrorEvent',
510
+ 'SpeechRecognitionResultList',
511
+ 'SpeechRecognitionResult',
512
+ 'SpeechRecognitionAlternative',
513
+ 'SpeechRecognitionPhrase',
491
514
  'MediaDevices',
492
515
  'RTCPeerConnection',
493
516
  'RTCSessionDescription',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gjsify/resolve-npm",
3
- "version": "0.64.30",
3
+ "version": "0.64.31",
4
4
  "description": "Resolve NPM package aliases",
5
5
  "type": "module",
6
6
  "main": "lib/index.mjs",