Skip to content

Commit

Permalink
post-release updates
Browse files Browse the repository at this point in the history
  • Loading branch information
albho committed Jan 15, 2024
1 parent 5179795 commit f393681
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 4 deletions.
2 changes: 1 addition & 1 deletion binding/web/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -160,4 +160,4 @@ await falcon.terminate();

## Demo

For example usage refer to our [Web demo application](../../demo/web).
For example usage refer to our [Web demo application](https://github.com/Picovoice/falcon/tree/main/demo/web).
5 changes: 4 additions & 1 deletion binding/web/test/falcon.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,10 @@ const validateMetadata = (
) => {
expect(segments.length).to.be.eq(expectedSegments.length);
for (let i = 0; i < segments.length; i += 1) {
expect(segments[i].startSec).to.be.closeTo(expectedSegments[i].startSec, 0.1);
expect(segments[i].startSec).to.be.closeTo(
expectedSegments[i].startSec,
0.1
);
expect(segments[i].endSec).to.be.closeTo(expectedSegments[i].endSec, 0.1);
expect(segments[i].speakerTag).to.be.eq(expectedSegments[i].speakerTag);
}
Expand Down
2 changes: 1 addition & 1 deletion demo/web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"author": "Picovoice Inc",
"license": "Apache-2.0",
"dependencies": {
"@picovoice/falcon-web": "file:../../binding/web",
"@picovoice/falcon-web": "~1.0.0",
"@picovoice/web-voice-processor": "~4.0.8"
},
"devDependencies": {
Expand Down
4 changes: 3 additions & 1 deletion demo/web/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,10 @@
# yarn lockfile v1


"@picovoice/falcon-web@file:../../binding/web":
"@picovoice/falcon-web@~1.0.0":
version "1.0.0"
resolved "https://registry.yarnpkg.com/@picovoice/falcon-web/-/falcon-web-1.0.0.tgz#fb3380dd80949ba3fd76684d8f5fadc648a7d500"
integrity sha512-XvQwKRNyYC0gDiHd1l6BoqKvmVHxRaeCH9aKTvhqW/cNvkKUuDW6wvs1fsVgH7l/rB9BEp94LxxQDJxpsbtDew==
dependencies:
"@picovoice/web-utils" "=1.3.2"

Expand Down

0 comments on commit f393681

Please sign in to comment.