@escapeaihq/client-core 0.4.0 → 0.4.1
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/audio.js +2 -2
- package/dist/index.js +6 -6
- package/package.json +2 -2
package/dist/audio.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { BYTES_PER_SAMPLE, HELLO_VERSION, SAMPLE_RATE, SAMPLES_PER_FRAME, TAG_AI, TAG_MIC, encodeAudioFrame, decodeAudioFrame, buildBargeInMessage, buildPlaybackPositionMessage, } from './audioProtocol';
|
|
2
|
-
import { VisemeScheduler } from './visemeScheduler';
|
|
1
|
+
import { BYTES_PER_SAMPLE, HELLO_VERSION, SAMPLE_RATE, SAMPLES_PER_FRAME, TAG_AI, TAG_MIC, encodeAudioFrame, decodeAudioFrame, buildBargeInMessage, buildPlaybackPositionMessage, } from './audioProtocol.js';
|
|
2
|
+
import { VisemeScheduler } from './visemeScheduler.js';
|
|
3
3
|
const FLOAT_DIVISOR = 32768;
|
|
4
4
|
const floatTo16BitPCM = (input) => {
|
|
5
5
|
const output = new Int16Array(input.length);
|
package/dist/index.js
CHANGED
|
@@ -19,10 +19,10 @@
|
|
|
19
19
|
* adding a new export, grep this src/ tree for the symbol name to avoid
|
|
20
20
|
* a fresh collision.
|
|
21
21
|
*/
|
|
22
|
-
export * from './audioProtocol';
|
|
23
|
-
export * from './audio';
|
|
24
|
-
export * from './visemeScheduler';
|
|
25
|
-
export * from './visemeGeometry';
|
|
26
|
-
export * from './websocket';
|
|
27
|
-
export * from './api';
|
|
22
|
+
export * from './audioProtocol.js';
|
|
23
|
+
export * from './audio.js';
|
|
24
|
+
export * from './visemeScheduler.js';
|
|
25
|
+
export * from './visemeGeometry.js';
|
|
26
|
+
export * from './websocket.js';
|
|
27
|
+
export * from './api.js';
|
|
28
28
|
//# sourceMappingURL=index.js.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@escapeaihq/client-core",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.1",
|
|
4
4
|
"description": "Framework-agnostic Seer client library: audio I/O, viseme lip-sync, WebSocket framing, REST. Consumed by both seer-agent's React web/ and the Vue Escape web-app.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"private": false,
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"README.md"
|
|
21
21
|
],
|
|
22
22
|
"scripts": {
|
|
23
|
-
"build": "tsc -p tsconfig.build.json",
|
|
23
|
+
"build": "tsc -p tsconfig.build.json && node scripts/add-ext.mjs",
|
|
24
24
|
"clean": "rm -rf dist",
|
|
25
25
|
"typecheck": "tsc -p tsconfig.json --noEmit",
|
|
26
26
|
"test": "jest",
|