diff --git a/binding/angular/package.json b/binding/angular/package.json index d8d0362d1..339fdbe22 100644 --- a/binding/angular/package.json +++ b/binding/angular/package.json @@ -35,7 +35,7 @@ "@angular/cli": "~13.3.9", "@angular/compiler-cli": "~13.3.0", "@picovoice/rhino-web": "~2.2.0", - "@picovoice/web-voice-processor": "~4.0.6", + "@picovoice/web-voice-processor": "~4.0.8", "@types/node": "^12.11.1", "@typescript-eslint/eslint-plugin": "^5.27.1", "@typescript-eslint/parser": "^5.27.1", diff --git a/binding/angular/projects/rhino-angular/package.json b/binding/angular/projects/rhino-angular/package.json index 3c0db7f08..4edf7c41a 100644 --- a/binding/angular/projects/rhino-angular/package.json +++ b/binding/angular/projects/rhino-angular/package.json @@ -1,11 +1,11 @@ { "name": "@picovoice/rhino-angular", "description": "Angular service for Rhino Web SDK", - "version": "2.2.0", + "version": "2.2.1", "peerDependencies": { "@angular/common": ">=13.0.0", "@angular/core": ">=13.0.0", - "@picovoice/web-voice-processor": "~4.0.6" + "@picovoice/web-voice-processor": "~4.0.8" }, "keywords": [ "rhino", @@ -22,7 +22,7 @@ "author": "Picovoice Inc", "license": "Apache-2.0", "dependencies": { - "@picovoice/rhino-web": "=2.2.0", + "@picovoice/rhino-web": "=2.2.1", "tslib": "^2.3.0" } } diff --git a/binding/angular/yarn.lock b/binding/angular/yarn.lock index 96d4509a5..937aedbe6 100644 --- a/binding/angular/yarn.lock +++ b/binding/angular/yarn.lock @@ -1676,10 +1676,12 @@ dependencies: commander "^9.2.0" -"@picovoice/web-voice-processor@~4.0.6": - version "4.0.6" - resolved "https://registry.yarnpkg.com/@picovoice/web-voice-processor/-/web-voice-processor-4.0.6.tgz#4769283b82f64d3625794f7290d47c6d477a3f41" - integrity sha512-Ykfy6hrWFpOklfeN7rSJb5CGim8wDu7J+l8imRYyQxWHWVV1Wu5S8FW69zkJmwiDG2Wx+M2+h0SCMS+hNM5qow== +"@picovoice/web-voice-processor@~4.0.8": + version "4.0.8" + resolved "https://registry.yarnpkg.com/@picovoice/web-voice-processor/-/web-voice-processor-4.0.8.tgz#95247a5393cac4d16490a53feb0f413c902ee5fa" + integrity sha512-/OSHn8YKniMo0jP5EwGimLOxvLQl/Yx4Hs+LydNmoSu4hfBrDdzhhfhB79118uDiK4aUUKx2A/RAD9TG0mQ/ng== + dependencies: + "@picovoice/web-utils" "=1.3.1" "@rollup/plugin-json@^4.1.0": version "4.1.0" diff --git a/binding/react/package.json b/binding/react/package.json index 5fb68b363..3651ce786 100644 --- a/binding/react/package.json +++ b/binding/react/package.json @@ -1,6 +1,6 @@ { "name": "@picovoice/rhino-react", - "version": "2.2.0", + "version": "2.2.1", "description": "React component for Rhino Web SDK", "entry": "src/index.ts", "module": "dist/esm/index.js", @@ -39,7 +39,7 @@ "@babel/plugin-transform-runtime": "^7.21.0", "@babel/preset-env": "^7.20.2", "@babel/runtime": "^7.21.0", - "@picovoice/web-voice-processor": "~4.0.6", + "@picovoice/web-voice-processor": "~4.0.8", "@rollup/plugin-babel": "^6.0.3", "@rollup/plugin-commonjs": "^24.0.1", "@rollup/plugin-node-resolve": "^15.0.1", @@ -68,7 +68,7 @@ "vite": "^3.2.5" }, "peerDependencies": { - "@picovoice/web-voice-processor": "~4.0.6", + "@picovoice/web-voice-processor": "~4.0.8", "react": ">=17", "react-dom": ">=17" }, diff --git a/binding/react/yarn.lock b/binding/react/yarn.lock index babd9155e..17f312ce3 100644 --- a/binding/react/yarn.lock +++ b/binding/react/yarn.lock @@ -1252,10 +1252,12 @@ dependencies: commander "^9.2.0" -"@picovoice/web-voice-processor@~4.0.6": - version "4.0.6" - resolved "https://registry.yarnpkg.com/@picovoice/web-voice-processor/-/web-voice-processor-4.0.6.tgz#4769283b82f64d3625794f7290d47c6d477a3f41" - integrity sha512-Ykfy6hrWFpOklfeN7rSJb5CGim8wDu7J+l8imRYyQxWHWVV1Wu5S8FW69zkJmwiDG2Wx+M2+h0SCMS+hNM5qow== +"@picovoice/web-voice-processor@~4.0.8": + version "4.0.8" + resolved "https://registry.yarnpkg.com/@picovoice/web-voice-processor/-/web-voice-processor-4.0.8.tgz#95247a5393cac4d16490a53feb0f413c902ee5fa" + integrity sha512-/OSHn8YKniMo0jP5EwGimLOxvLQl/Yx4Hs+LydNmoSu4hfBrDdzhhfhB79118uDiK4aUUKx2A/RAD9TG0mQ/ng== + dependencies: + "@picovoice/web-utils" "=1.3.1" "@rollup/plugin-babel@^6.0.3": version "6.0.3" diff --git a/binding/vue/package.json b/binding/vue/package.json index 42ee67627..3e9b39c28 100644 --- a/binding/vue/package.json +++ b/binding/vue/package.json @@ -1,6 +1,6 @@ { "name": "@picovoice/rhino-vue", - "version": "2.2.0", + "version": "2.2.1", "description": "Vue binding for Rhino Web SDK", "author": "Picovoice Inc", "license": "Apache-2.0", @@ -25,7 +25,7 @@ "@babel/plugin-transform-runtime": "^7.21.0", "@babel/preset-env": "^7.20.2", "@babel/runtime": "^7.21.0", - "@picovoice/web-voice-processor": "~4.0.6", + "@picovoice/web-voice-processor": "~4.0.8", "@rollup/plugin-babel": "^6.0.3", "@rollup/plugin-commonjs": "^24.0.1", "@rollup/plugin-node-resolve": "^15.0.1", @@ -52,7 +52,7 @@ "vue": "^3.2.47" }, "peerDependencies": { - "@picovoice/web-voice-processor": "~4.0.6", + "@picovoice/web-voice-processor": "~4.0.8", "vue": "^2.6.11 || ^3.0.0" }, "dependencies": { diff --git a/binding/vue/yarn.lock b/binding/vue/yarn.lock index cbdcea5f2..570d5b8ae 100644 --- a/binding/vue/yarn.lock +++ b/binding/vue/yarn.lock @@ -1245,10 +1245,12 @@ dependencies: commander "^9.2.0" -"@picovoice/web-voice-processor@~4.0.6": - version "4.0.6" - resolved "https://registry.yarnpkg.com/@picovoice/web-voice-processor/-/web-voice-processor-4.0.6.tgz#4769283b82f64d3625794f7290d47c6d477a3f41" - integrity sha512-Ykfy6hrWFpOklfeN7rSJb5CGim8wDu7J+l8imRYyQxWHWVV1Wu5S8FW69zkJmwiDG2Wx+M2+h0SCMS+hNM5qow== +"@picovoice/web-voice-processor@~4.0.8": + version "4.0.8" + resolved "https://registry.yarnpkg.com/@picovoice/web-voice-processor/-/web-voice-processor-4.0.8.tgz#95247a5393cac4d16490a53feb0f413c902ee5fa" + integrity sha512-/OSHn8YKniMo0jP5EwGimLOxvLQl/Yx4Hs+LydNmoSu4hfBrDdzhhfhB79118uDiK4aUUKx2A/RAD9TG0mQ/ng== + dependencies: + "@picovoice/web-utils" "=1.3.1" "@rollup/plugin-babel@^6.0.3": version "6.0.3" diff --git a/binding/web/package.json b/binding/web/package.json index 9a448e4f8..e98250226 100644 --- a/binding/web/package.json +++ b/binding/web/package.json @@ -3,7 +3,7 @@ "description": "Rhino Speech-to-Intent engine for web browsers (via WebAssembly)", "author": "Picovoice Inc", "license": "Apache-2.0", - "version": "2.2.0", + "version": "2.2.1", "keywords": [ "rhino", "web", diff --git a/binding/web/src/rhino.ts b/binding/web/src/rhino.ts index cf44c77ea..a31c2894e 100644 --- a/binding/web/src/rhino.ts +++ b/binding/web/src/rhino.ts @@ -127,9 +127,6 @@ export class Rhino { private _wasmMemory: WebAssembly.Memory | undefined; private readonly _pvFree: pv_free_type; - private readonly _memoryBuffer: Int16Array; - private readonly _memoryBufferUint8: Uint8Array; - private readonly _memoryBufferView: DataView; private readonly _processMutex: Mutex; private readonly _contextAddress: number; @@ -184,9 +181,6 @@ export class Rhino { this._slotsAddressAddressAddress = handleWasm.slotsAddressAddressAddress; this._valuesAddressAddressAddress = handleWasm.valuesAddressAddressAddress; - this._memoryBuffer = new Int16Array(handleWasm.memory.buffer); - this._memoryBufferUint8 = new Uint8Array(handleWasm.memory.buffer); - this._memoryBufferView = new DataView(handleWasm.memory.buffer); this._processMutex = new Mutex(); this._inferenceCallback = inferenceCallback; @@ -351,8 +345,9 @@ export class Rhino { if (this._wasmMemory === undefined) { throw new Error('Attempted to call Rhino process after release.'); } + const memoryBuffer = new Int16Array(this._wasmMemory.buffer); - this._memoryBuffer.set( + memoryBuffer.set( pcm, this._inputBufferAddress / Int16Array.BYTES_PER_ELEMENT ); @@ -362,16 +357,20 @@ export class Rhino { this._inputBufferAddress, this._isFinalizedAddress ); + + let memoryBufferUint8 = new Uint8Array(this._wasmMemory.buffer); + const memoryBufferView = new DataView(this._wasmMemory.buffer); + if (status !== PV_STATUS_SUCCESS) { throw new Error( `'pv_rhino_process' failed with status ${arrayBufferToStringAtIndex( - this._memoryBufferUint8, + memoryBufferUint8, await this._pvStatusToString(status) )}` ); } - const isFinalized = this._memoryBufferView.getUint8( + const isFinalized = memoryBufferView.getUint8( this._isFinalizedAddress ); @@ -383,13 +382,13 @@ export class Rhino { if (status !== PV_STATUS_SUCCESS) { throw new Error( `'pv_rhino_is_understood' failed with status ${arrayBufferToStringAtIndex( - this._memoryBufferUint8, + memoryBufferUint8, await this._pvStatusToString(status) )}` ); } - const isUnderstood = this._memoryBufferView.getUint8( + const isUnderstood = memoryBufferView.getUint8( this._isUnderstoodAddress ); @@ -410,22 +409,22 @@ export class Rhino { if (status !== PV_STATUS_SUCCESS) { throw new Error( `'pv_rhino_get_intent' failed with status ${arrayBufferToStringAtIndex( - this._memoryBufferUint8, + memoryBufferUint8, await this._pvStatusToString(status) )}` ); } - const intentAddress = this._memoryBufferView.getInt32( + const intentAddress = memoryBufferView.getInt32( this._intentAddressAddress, true ); intent = arrayBufferToStringAtIndex( - this._memoryBufferUint8, + memoryBufferUint8, intentAddress ); - const numSlots = this._memoryBufferView.getInt32( + const numSlots = memoryBufferView.getInt32( this._numSlotsAddress, true ); @@ -445,12 +444,12 @@ export class Rhino { slots[slot] = value; } - const slotsAddressAddress = this._memoryBufferView.getInt32( + const slotsAddressAddress = memoryBufferView.getInt32( this._slotsAddressAddressAddress, true ); - const valuesAddressAddress = this._memoryBufferView.getInt32( + const valuesAddressAddress = memoryBufferView.getInt32( this._valuesAddressAddressAddress, true ); @@ -461,9 +460,10 @@ export class Rhino { valuesAddressAddress ); if (status !== PV_STATUS_SUCCESS) { + memoryBufferUint8 = new Uint8Array(this._wasmMemory.buffer); throw new Error( `'pv_rhino_free_slots_values' failed with status ${arrayBufferToStringAtIndex( - this._memoryBufferUint8, + memoryBufferUint8, await this._pvStatusToString(status) )}` ); @@ -472,9 +472,10 @@ export class Rhino { status = await this._pvRhinoReset(this._objectAddress); if (status !== PV_STATUS_SUCCESS) { + memoryBufferUint8 = new Uint8Array(this._wasmMemory.buffer); throw new Error( `'pv_rhino_process' failed with status ${arrayBufferToStringAtIndex( - this._memoryBufferUint8, + memoryBufferUint8, await this._pvStatusToString(status) )}` ); @@ -507,31 +508,37 @@ export class Rhino { } private _getSlot(index: number): string { - const slotsAddressAddress = this._memoryBufferView.getInt32( + const memoryBufferUint8 = new Uint8Array(this._wasmMemory.buffer); + const memoryBufferView = new DataView(this._wasmMemory.buffer); + + const slotsAddressAddress = memoryBufferView.getInt32( this._slotsAddressAddressAddress, true ); - const slotAddress = this._memoryBufferView.getInt32( + const slotAddress = memoryBufferView.getInt32( slotsAddressAddress + index * Int32Array.BYTES_PER_ELEMENT, true ); - return arrayBufferToStringAtIndex(this._memoryBufferUint8, slotAddress); + return arrayBufferToStringAtIndex(memoryBufferUint8, slotAddress); } private _getSlotValue(index: number): string { - const valuesAddressAddress = this._memoryBufferView.getInt32( + const memoryBufferUint8 = new Uint8Array(this._wasmMemory.buffer); + const memoryBufferView = new DataView(this._wasmMemory.buffer); + + const valuesAddressAddress = memoryBufferView.getInt32( this._valuesAddressAddressAddress, true ); - const valueAddress = this._memoryBufferView.getInt32( + const valueAddress = memoryBufferView.getInt32( valuesAddressAddress + index * Int32Array.BYTES_PER_ELEMENT, true ); - return arrayBufferToStringAtIndex(this._memoryBufferUint8, valueAddress); + return arrayBufferToStringAtIndex(memoryBufferUint8, valueAddress); } /** @@ -540,9 +547,10 @@ export class Rhino { public async reset(): Promise { const status = await this._pvRhinoReset(this._objectAddress); if (status !== PV_STATUS_SUCCESS) { + const memoryBufferUint8 = new Uint8Array(this._wasmMemory.buffer); throw new Error( `'pv_rhino_process' failed with status ${arrayBufferToStringAtIndex( - this._memoryBufferUint8, + memoryBufferUint8, await this._pvStatusToString(status) )}` ); diff --git a/demo/angular/package.json b/demo/angular/package.json index 4fee1688d..81ae8f371 100644 --- a/demo/angular/package.json +++ b/demo/angular/package.json @@ -18,8 +18,8 @@ "@angular/platform-browser": "^15.0.3", "@angular/platform-browser-dynamic": "^15.0.3", "@angular/router": "^15.0.3", - "@picovoice/rhino-angular": "~2.2.0", - "@picovoice/web-voice-processor": "~4.0.6", + "@picovoice/rhino-angular": "~2.2.1", + "@picovoice/web-voice-processor": "~4.0.8", "rxjs": "~7.5.0", "tslib": "^2.3.0", "zone.js": "~0.11.4" diff --git a/demo/angular/yarn.lock b/demo/angular/yarn.lock index 7e95b118c..2bdbc735e 100644 --- a/demo/angular/yarn.lock +++ b/demo/angular/yarn.lock @@ -1534,18 +1534,18 @@ read-package-json-fast "^3.0.0" which "^3.0.0" -"@picovoice/rhino-angular@~2.2.0": - version "2.2.0" - resolved "https://registry.yarnpkg.com/@picovoice/rhino-angular/-/rhino-angular-2.2.0.tgz#c073e481c775cda4170ba23204c9949dea231951" - integrity sha512-LL7VhnV5uNPAdEaQPxQVRTabN38tIMiplnb26x254qKd+4Tkc+sj7w8DqyregOCCoFTWM0+Z21ktcg8ZxLNwwQ== +"@picovoice/rhino-angular@~2.2.1": + version "2.2.1" + resolved "https://registry.yarnpkg.com/@picovoice/rhino-angular/-/rhino-angular-2.2.1.tgz#067b24d16f4798febe4d55a2d3bc7bac62ab8b2f" + integrity sha512-XCj2Pu8egElhY7JlJO9K2DWJ7BdUP/e9DQxGXcCayj9AYWPdzXWHtesLcz42Wy7kl9lMyRHejvrxHEGfDPK5+Q== dependencies: - "@picovoice/rhino-web" "=2.2.0" + "@picovoice/rhino-web" "=2.2.1" tslib "^2.3.0" -"@picovoice/rhino-web@=2.2.0": - version "2.2.0" - resolved "https://registry.yarnpkg.com/@picovoice/rhino-web/-/rhino-web-2.2.0.tgz#fb221654e3c0977b8b1b417f42bf0eb510cf6750" - integrity sha512-2ckCNq9ayVQ6GKEZ0OFXy7NIdEIOiyXsGQPjDfHRDKhMf7EATnR4AgVIEXLwKCSg8WfFCZkXOw33E3V47QEUAA== +"@picovoice/rhino-web@=2.2.1": + version "2.2.1" + resolved "https://registry.yarnpkg.com/@picovoice/rhino-web/-/rhino-web-2.2.1.tgz#68ece011d99ecd638e8935147c8e443c294becf5" + integrity sha512-kwNNvuUt+6x/kfLplLeCV1J2RbTZEkKwe5WoyY6yZbtJB1Tb/+HcWlNaeSU1kLTegxZ6UL+ETT/gay4psDKLmQ== dependencies: "@picovoice/web-utils" "=1.3.1" @@ -1556,10 +1556,12 @@ dependencies: commander "^9.2.0" -"@picovoice/web-voice-processor@~4.0.6": - version "4.0.6" - resolved "https://registry.yarnpkg.com/@picovoice/web-voice-processor/-/web-voice-processor-4.0.6.tgz#4769283b82f64d3625794f7290d47c6d477a3f41" - integrity sha512-Ykfy6hrWFpOklfeN7rSJb5CGim8wDu7J+l8imRYyQxWHWVV1Wu5S8FW69zkJmwiDG2Wx+M2+h0SCMS+hNM5qow== +"@picovoice/web-voice-processor@~4.0.8": + version "4.0.8" + resolved "https://registry.yarnpkg.com/@picovoice/web-voice-processor/-/web-voice-processor-4.0.8.tgz#95247a5393cac4d16490a53feb0f413c902ee5fa" + integrity sha512-/OSHn8YKniMo0jP5EwGimLOxvLQl/Yx4Hs+LydNmoSu4hfBrDdzhhfhB79118uDiK4aUUKx2A/RAD9TG0mQ/ng== + dependencies: + "@picovoice/web-utils" "=1.3.1" "@schematics/angular@15.1.3": version "15.1.3" diff --git a/demo/react/package.json b/demo/react/package.json index c28af43e3..3e8f4ed67 100644 --- a/demo/react/package.json +++ b/demo/react/package.json @@ -4,8 +4,8 @@ "private": true, "description": "Rhino React demo (made with Create React App)", "dependencies": { - "@picovoice/rhino-react": "~2.2.0", - "@picovoice/web-voice-processor": "~4.0.6", + "@picovoice/rhino-react": "~2.2.1", + "@picovoice/web-voice-processor": "~4.0.8", "@types/node": "^14.14.41", "@types/react": "^18.0.17", "@types/react-dom": "^18.0.6", diff --git a/demo/react/yarn.lock b/demo/react/yarn.lock index db6b137bf..ba4b59482 100644 --- a/demo/react/yarn.lock +++ b/demo/react/yarn.lock @@ -1545,10 +1545,10 @@ "@nodelib/fs.scandir" "2.1.5" fastq "^1.6.0" -"@picovoice/rhino-react@~2.2.0": - version "2.2.0" - resolved "https://registry.yarnpkg.com/@picovoice/rhino-react/-/rhino-react-2.2.0.tgz#0e1b6a23ab4434919608ebc1e36eacfe3dfd301b" - integrity sha512-RPcCHqTvXg5Efam2PxUdIQ8Gsyu99hEmqyV4bQFw4plw4h4NssOxIC9+ChhhBpQiLDWMYB66dG0ICqgMtwvsQQ== +"@picovoice/rhino-react@~2.2.1": + version "2.2.1" + resolved "https://registry.yarnpkg.com/@picovoice/rhino-react/-/rhino-react-2.2.1.tgz#dc16aed3d238ba72419dfeab5e5e3e857f52a035" + integrity sha512-57FmphhDcP5/4WG/bZPXwG50x2YyvuS3jkGYOkaJA6o+IurdF7TpZ1SylSOPg99RWz4UUwdYDRDokFT5ATVVYQ== dependencies: "@picovoice/rhino-web" "=2.2.0" @@ -1566,10 +1566,12 @@ dependencies: commander "^9.2.0" -"@picovoice/web-voice-processor@~4.0.6": - version "4.0.6" - resolved "https://registry.yarnpkg.com/@picovoice/web-voice-processor/-/web-voice-processor-4.0.6.tgz#4769283b82f64d3625794f7290d47c6d477a3f41" - integrity sha512-Ykfy6hrWFpOklfeN7rSJb5CGim8wDu7J+l8imRYyQxWHWVV1Wu5S8FW69zkJmwiDG2Wx+M2+h0SCMS+hNM5qow== +"@picovoice/web-voice-processor@~4.0.8": + version "4.0.8" + resolved "https://registry.yarnpkg.com/@picovoice/web-voice-processor/-/web-voice-processor-4.0.8.tgz#95247a5393cac4d16490a53feb0f413c902ee5fa" + integrity sha512-/OSHn8YKniMo0jP5EwGimLOxvLQl/Yx4Hs+LydNmoSu4hfBrDdzhhfhB79118uDiK4aUUKx2A/RAD9TG0mQ/ng== + dependencies: + "@picovoice/web-utils" "=1.3.1" "@pmmmwh/react-refresh-webpack-plugin@^0.5.3": version "0.5.10" diff --git a/demo/vue/package.json b/demo/vue/package.json index d78b9faa1..91fb8bacb 100644 --- a/demo/vue/package.json +++ b/demo/vue/package.json @@ -12,8 +12,8 @@ "lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore" }, "dependencies": { - "@picovoice/rhino-vue": "~2.2.0", - "@picovoice/web-voice-processor": "~4.0.6", + "@picovoice/rhino-vue": "~2.2.1", + "@picovoice/web-voice-processor": "~4.0.8", "vue": "^3.2.45" }, "devDependencies": { diff --git a/demo/vue/yarn.lock b/demo/vue/yarn.lock index fc57992f9..5449d0fde 100644 --- a/demo/vue/yarn.lock +++ b/demo/vue/yarn.lock @@ -77,10 +77,10 @@ "@nodelib/fs.scandir" "2.1.5" fastq "^1.6.0" -"@picovoice/rhino-vue@~2.2.0": - version "2.2.0" - resolved "https://registry.yarnpkg.com/@picovoice/rhino-vue/-/rhino-vue-2.2.0.tgz#3530d03bc1ff5cbc70ab4c3373970597f415aad0" - integrity sha512-4bjurhNxfO49OP23hdLTPPR4AEC0bRUFyYMG+WeoIOYULVQFSqN3CMe5G6Qo8tdPK018JluwsOoxOEDfaAi4NA== +"@picovoice/rhino-vue@~2.2.1": + version "2.2.1" + resolved "https://registry.yarnpkg.com/@picovoice/rhino-vue/-/rhino-vue-2.2.1.tgz#031841d9cd391f078ccfc868d877c70baf5bf5a8" + integrity sha512-VEtCTkvKDCke28/Nm93+eTXhGJAjipouKV46/3gJNjdRFOxIALhxW/3MXyb19CCkZJRLZ1pjcaHeqLbWoW/p8g== dependencies: "@picovoice/rhino-web" "=2.2.0" @@ -98,10 +98,12 @@ dependencies: commander "^9.2.0" -"@picovoice/web-voice-processor@~4.0.6": - version "4.0.6" - resolved "https://registry.yarnpkg.com/@picovoice/web-voice-processor/-/web-voice-processor-4.0.6.tgz#4769283b82f64d3625794f7290d47c6d477a3f41" - integrity sha512-Ykfy6hrWFpOklfeN7rSJb5CGim8wDu7J+l8imRYyQxWHWVV1Wu5S8FW69zkJmwiDG2Wx+M2+h0SCMS+hNM5qow== +"@picovoice/web-voice-processor@~4.0.8": + version "4.0.8" + resolved "https://registry.yarnpkg.com/@picovoice/web-voice-processor/-/web-voice-processor-4.0.8.tgz#95247a5393cac4d16490a53feb0f413c902ee5fa" + integrity sha512-/OSHn8YKniMo0jP5EwGimLOxvLQl/Yx4Hs+LydNmoSu4hfBrDdzhhfhB79118uDiK4aUUKx2A/RAD9TG0mQ/ng== + dependencies: + "@picovoice/web-utils" "=1.3.1" "@rollup/plugin-commonjs@^23.0.3": version "23.0.7" diff --git a/demo/web/package.json b/demo/web/package.json index 8888d6ea5..e6a11c214 100644 --- a/demo/web/package.json +++ b/demo/web/package.json @@ -22,8 +22,8 @@ "author": "Picovoice Inc", "license": "Apache-2.0", "dependencies": { - "@picovoice/rhino-web": "~2.2.0", - "@picovoice/web-voice-processor": "~4.0.6" + "@picovoice/rhino-web": "~2.2.1", + "@picovoice/web-voice-processor": "~4.0.8" }, "devDependencies": { "http-server": "^14.0.0" diff --git a/demo/web/yarn.lock b/demo/web/yarn.lock index 9a6d760c1..76c6bf27a 100644 --- a/demo/web/yarn.lock +++ b/demo/web/yarn.lock @@ -2,10 +2,10 @@ # yarn lockfile v1 -"@picovoice/rhino-web@~2.2.0": - version "2.2.0" - resolved "https://registry.yarnpkg.com/@picovoice/rhino-web/-/rhino-web-2.2.0.tgz#fb221654e3c0977b8b1b417f42bf0eb510cf6750" - integrity sha512-2ckCNq9ayVQ6GKEZ0OFXy7NIdEIOiyXsGQPjDfHRDKhMf7EATnR4AgVIEXLwKCSg8WfFCZkXOw33E3V47QEUAA== +"@picovoice/rhino-web@~2.2.1": + version "2.2.1" + resolved "https://registry.yarnpkg.com/@picovoice/rhino-web/-/rhino-web-2.2.1.tgz#68ece011d99ecd638e8935147c8e443c294becf5" + integrity sha512-kwNNvuUt+6x/kfLplLeCV1J2RbTZEkKwe5WoyY6yZbtJB1Tb/+HcWlNaeSU1kLTegxZ6UL+ETT/gay4psDKLmQ== dependencies: "@picovoice/web-utils" "=1.3.1" @@ -16,10 +16,12 @@ dependencies: commander "^9.2.0" -"@picovoice/web-voice-processor@~4.0.6": - version "4.0.6" - resolved "https://registry.yarnpkg.com/@picovoice/web-voice-processor/-/web-voice-processor-4.0.6.tgz#4769283b82f64d3625794f7290d47c6d477a3f41" - integrity sha512-Ykfy6hrWFpOklfeN7rSJb5CGim8wDu7J+l8imRYyQxWHWVV1Wu5S8FW69zkJmwiDG2Wx+M2+h0SCMS+hNM5qow== +"@picovoice/web-voice-processor@~4.0.8": + version "4.0.8" + resolved "https://registry.yarnpkg.com/@picovoice/web-voice-processor/-/web-voice-processor-4.0.8.tgz#95247a5393cac4d16490a53feb0f413c902ee5fa" + integrity sha512-/OSHn8YKniMo0jP5EwGimLOxvLQl/Yx4Hs+LydNmoSu4hfBrDdzhhfhB79118uDiK4aUUKx2A/RAD9TG0mQ/ng== + dependencies: + "@picovoice/web-utils" "=1.3.1" ansi-styles@^4.1.0: version "4.3.0"