@absolutejs/voice 0.0.22-beta.548 → 0.0.22-beta.549
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/index.js +6 -0
- package/dist/testing/index.js +6 -0
- package/package.json +2 -1
package/dist/index.js
CHANGED
|
@@ -24498,9 +24498,15 @@ var createTwilioMediaStreamBridge = (socket, options) => {
|
|
|
24498
24498
|
const normalizedOnTurn = normalizeOnTurn(options.onTurn);
|
|
24499
24499
|
const route = {
|
|
24500
24500
|
correctTurn: options.correctTurn,
|
|
24501
|
+
onCallEnd: options.onCallEnd,
|
|
24502
|
+
onCallStart: options.onCallStart,
|
|
24501
24503
|
onComplete: options.onComplete,
|
|
24502
24504
|
onError: options.onError,
|
|
24505
|
+
onEscalation: options.onEscalation,
|
|
24506
|
+
onNoAnswer: options.onNoAnswer,
|
|
24503
24507
|
onSession: options.onSession,
|
|
24508
|
+
onTransfer: options.onTransfer,
|
|
24509
|
+
onVoicemail: options.onVoicemail,
|
|
24504
24510
|
onTurn: async (input) => {
|
|
24505
24511
|
bridgeState.reviewRecorder?.recordVoiceMessage({
|
|
24506
24512
|
turn: input.turn,
|
package/dist/testing/index.js
CHANGED
|
@@ -13034,9 +13034,15 @@ var createTwilioMediaStreamBridge = (socket, options) => {
|
|
|
13034
13034
|
const normalizedOnTurn = normalizeOnTurn(options.onTurn);
|
|
13035
13035
|
const route = {
|
|
13036
13036
|
correctTurn: options.correctTurn,
|
|
13037
|
+
onCallEnd: options.onCallEnd,
|
|
13038
|
+
onCallStart: options.onCallStart,
|
|
13037
13039
|
onComplete: options.onComplete,
|
|
13038
13040
|
onError: options.onError,
|
|
13041
|
+
onEscalation: options.onEscalation,
|
|
13042
|
+
onNoAnswer: options.onNoAnswer,
|
|
13039
13043
|
onSession: options.onSession,
|
|
13044
|
+
onTransfer: options.onTransfer,
|
|
13045
|
+
onVoicemail: options.onVoicemail,
|
|
13040
13046
|
onTurn: async (input) => {
|
|
13041
13047
|
bridgeState.reviewRecorder?.recordVoiceMessage({
|
|
13042
13048
|
turn: input.turn,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@absolutejs/voice",
|
|
3
|
-
"version": "0.0.22-beta.
|
|
3
|
+
"version": "0.0.22-beta.549",
|
|
4
4
|
"description": "Voice primitives and Elysia plugin for AbsoluteJS",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -16,6 +16,7 @@
|
|
|
16
16
|
"author": "Alex Kahn",
|
|
17
17
|
"scripts": {
|
|
18
18
|
"build": "rm -rf dist && bun build ./src/index.ts ./src/client/index.ts ./src/react/index.ts ./src/vue/index.ts ./src/svelte/index.ts ./src/angular/index.ts ./src/testing/index.ts ./src/drizzle/index.ts --outdir dist --target bun --external elysia --external react --external vue --external @angular/core --external @absolutejs/absolute --external @absolutejs/ai --external @absolutejs/media --external drizzle-orm && bun build ./src/client/htmxBootstrap.ts --outdir dist/client --target browser --format esm && bun build ./src/embed/index.ts --outfile dist/embed/voice-widget.js --target browser --format iife --minify && bun build ./src/embed/index.ts --outdir dist/embed --target browser --format esm && tsc --emitDeclarationOnly --project tsconfig.json",
|
|
19
|
+
"config": "absolute config",
|
|
19
20
|
"format": "absolute prettier --write",
|
|
20
21
|
"knip": "knip",
|
|
21
22
|
"lint": "absolute eslint",
|