@metatell/bot-realtime 0.0.2 → 0.0.4

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@metatell/bot-realtime",
3
- "version": "0.0.2",
3
+ "version": "0.0.4",
4
4
  "type": "module",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -22,7 +22,16 @@
22
22
  "license": "MIT",
23
23
  "dependencies": {
24
24
  "@livekit/rtc-node": "^0.13.18",
25
- "@metatell/bot-sdk": "0.0.2"
25
+ "@metatell/bot-sdk": "0.0.4"
26
+ },
27
+ "repository": {
28
+ "type": "git",
29
+ "url": "https://github.com/urth-inc/metatell-ai-bot",
30
+ "directory": "packages/realtime"
31
+ },
32
+ "publishConfig": {
33
+ "access": "public",
34
+ "registry": "https://registry.npmjs.org/"
26
35
  },
27
36
  "scripts": {
28
37
  "build": "tsc --build",
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=index.spec.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.spec.d.ts","sourceRoot":"","sources":["../src/index.spec.ts"],"names":[],"mappings":""}
@@ -1,31 +0,0 @@
1
- import { describe, expect, it } from 'vitest';
2
- import { ErrorCodes, LiveKitAdapter, MockAdapter, RealtimeError } from './index.js';
3
- describe('Realtime Index', () => {
4
- describe('exports', () => {
5
- it('should export ErrorCodes', () => {
6
- expect(ErrorCodes).toBeDefined();
7
- expect(typeof ErrorCodes).toBe('object');
8
- });
9
- it('should export RealtimeError', () => {
10
- expect(RealtimeError).toBeDefined();
11
- expect(typeof RealtimeError).toBe('function');
12
- });
13
- it('should export LiveKitAdapter', () => {
14
- expect(LiveKitAdapter).toBeDefined();
15
- expect(typeof LiveKitAdapter).toBe('function');
16
- });
17
- it('should export MockAdapter', () => {
18
- expect(MockAdapter).toBeDefined();
19
- expect(typeof MockAdapter).toBe('function');
20
- });
21
- });
22
- describe('RealtimeError', () => {
23
- it('should create RealtimeError with code and message', () => {
24
- const error = new RealtimeError('CONNECTION_FAILED', 'Failed to connect');
25
- expect(error).toBeInstanceOf(Error);
26
- expect(error.code).toBe('CONNECTION_FAILED');
27
- expect(error.message).toBe('Failed to connect');
28
- });
29
- });
30
- });
31
- //# sourceMappingURL=index.spec.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.spec.js","sourceRoot":"","sources":["../src/index.spec.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,QAAQ,CAAA;AAC7C,OAAO,EAAE,UAAU,EAAE,cAAc,EAAE,WAAW,EAAE,aAAa,EAAE,MAAM,YAAY,CAAA;AAEnF,QAAQ,CAAC,gBAAgB,EAAE,GAAG,EAAE;IAC9B,QAAQ,CAAC,SAAS,EAAE,GAAG,EAAE;QACvB,EAAE,CAAC,0BAA0B,EAAE,GAAG,EAAE;YAClC,MAAM,CAAC,UAAU,CAAC,CAAC,WAAW,EAAE,CAAA;YAChC,MAAM,CAAC,OAAO,UAAU,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAA;QAC1C,CAAC,CAAC,CAAA;QAEF,EAAE,CAAC,6BAA6B,EAAE,GAAG,EAAE;YACrC,MAAM,CAAC,aAAa,CAAC,CAAC,WAAW,EAAE,CAAA;YACnC,MAAM,CAAC,OAAO,aAAa,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,CAAA;QAC/C,CAAC,CAAC,CAAA;QAEF,EAAE,CAAC,8BAA8B,EAAE,GAAG,EAAE;YACtC,MAAM,CAAC,cAAc,CAAC,CAAC,WAAW,EAAE,CAAA;YACpC,MAAM,CAAC,OAAO,cAAc,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,CAAA;QAChD,CAAC,CAAC,CAAA;QAEF,EAAE,CAAC,2BAA2B,EAAE,GAAG,EAAE;YACnC,MAAM,CAAC,WAAW,CAAC,CAAC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