@rtsee/core 0.0.78 → 0.0.80

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.
@@ -1,12 +1,12 @@
1
1
  import { IPeer } from "@rtsee/core";
2
2
  export interface IRTSeeCallOptions {
3
- chatId?: string;
3
+ chatId: string;
4
+ callerId: string;
4
5
  }
5
- export interface IRTSeeCall {
6
+ export interface IRTSeeCall<T = any> {
7
+ id: string;
6
8
  roomId: string;
7
- callerId: string;
8
- calleeId: string;
9
- caller?: IPeer;
10
- messengerChatId?: string;
9
+ members: IPeer[];
10
+ data?: T;
11
11
  }
12
12
  //# sourceMappingURL=Call.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Call.d.ts","sourceRoot":"","sources":["../../src/interfaces/Call.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AAEpC,MAAM,WAAW,iBAAiB;IAChC,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAGD,MAAM,WAAW,UAAU;IACzB,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,CAAC,EAAE,KAAK,CAAC;IACf,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B"}
1
+ {"version":3,"file":"Call.d.ts","sourceRoot":"","sources":["../../src/interfaces/Call.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AAEpC,MAAM,WAAW,iBAAiB;IAChC,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,WAAW,UAAU,CAAC,CAAC,GAAG,GAAG;IACjC,EAAE,EAAE,MAAM,CAAC;IACX,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,KAAK,EAAE,CAAC;IACjB,IAAI,CAAC,EAAE,CAAC,CAAC;CACV"}
@@ -1,6 +1,7 @@
1
- import { IPeer, IRTSeeCallOptions } from "@rtsee/core";
1
+ import { IPeer, IRTSeeCallOptions, IRTSeeConferenceRoom } from "@rtsee/core";
2
2
  export interface IRTSeeConference {
3
- call: (calleeId: string, callOptions?: IRTSeeCallOptions) => Promise<void>;
3
+ call: (chatRoomId: string, callOptions?: IRTSeeCallOptions) => Promise<void>;
4
4
  connect: (roomId: string, data: IPeer) => Promise<boolean>;
5
+ createRoom: (room: Omit<IRTSeeConferenceRoom, 'id'>) => void;
5
6
  }
6
7
  //# sourceMappingURL=Conference.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Conference.d.ts","sourceRoot":"","sources":["../../src/interfaces/Conference.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAEvD,MAAM,WAAW,gBAAgB;IAC/B,IAAI,EAAE,CAAC,QAAQ,EAAE,MAAM,EAAE,WAAW,CAAC,EAAE,iBAAiB,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IAC3E,OAAO,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,KAAK,KAAK,OAAO,CAAC,OAAO,CAAC,CAAC;CAC5D"}
1
+ {"version":3,"file":"Conference.d.ts","sourceRoot":"","sources":["../../src/interfaces/Conference.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,KAAK,EAAE,iBAAiB,EAAE,oBAAoB,EAAC,MAAM,aAAa,CAAC;AAE3E,MAAM,WAAW,gBAAgB;IAC/B,IAAI,EAAE,CAAC,UAAU,EAAE,MAAM,EAAE,WAAW,CAAC,EAAE,iBAAiB,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IAC7E,OAAO,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,KAAK,KAAK,OAAO,CAAC,OAAO,CAAC,CAAC;IAC3D,UAAU,EAAE,CAAC,IAAI,EAAE,IAAI,CAAC,oBAAoB,EAAE,IAAI,CAAC,KAAK,IAAI,CAAC;CAC9D"}
@@ -0,0 +1,6 @@
1
+ export interface IRTSeeConferenceRoom<T = any> {
2
+ id: string;
3
+ chatId: string;
4
+ data?: T;
5
+ }
6
+ //# sourceMappingURL=ConferenceRoom.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ConferenceRoom.d.ts","sourceRoot":"","sources":["../../src/interfaces/ConferenceRoom.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,oBAAoB,CAAC,CAAC,GAAG,GAAG;IAC3C,EAAE,EAAE,MAAM,CAAC;IACX,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,CAAC,CAAC;CACV"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=ConferenceRoom.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ConferenceRoom.js","sourceRoot":"","sources":["../../src/interfaces/ConferenceRoom.ts"],"names":[],"mappings":""}
@@ -1,6 +1,7 @@
1
- import { IPeer, IRTSeeCall, IRTSeeCallOptions } from "@rtsee/core";
1
+ import { IPeer, IRTSeeCallOptions, IRTSeeConferenceRoom, IRTSeeCall } from "@rtsee/core";
2
2
  export interface IRTSeeMessenger {
3
- onCallCreated: (call: IRTSeeCall, callOptions: IRTSeeCallOptions) => void;
3
+ onCallCreated: (call: Omit<IRTSeeCall, 'id' | 'members'>, callOptions: IRTSeeCallOptions) => void;
4
+ onRoomCreated: (room: IRTSeeConferenceRoom) => Promise<void>;
4
5
  openChatByPeer: (client: IPeer) => void;
5
6
  }
6
7
  //# sourceMappingURL=Messenger.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Messenger.d.ts","sourceRoot":"","sources":["../../src/interfaces/Messenger.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,UAAU,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAEnE,MAAM,WAAW,eAAe;IAC9B,aAAa,EAAE,CAAC,IAAI,EAAE,UAAU,EAAE,WAAW,EAAE,iBAAiB,KAAK,IAAI,CAAC;IAC1E,cAAc,EAAE,CAAC,MAAM,EAAE,KAAK,KAAK,IAAI,CAAC;CACzC"}
1
+ {"version":3,"file":"Messenger.d.ts","sourceRoot":"","sources":["../../src/interfaces/Messenger.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,iBAAiB,EAAE,oBAAoB,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAEzF,MAAM,WAAW,eAAe;IAC9B,aAAa,EAAE,CAAC,IAAI,EAAE,IAAI,CAAC,UAAU,EAAE,IAAI,GAAG,SAAS,CAAC,EAAE,WAAW,EAAE,iBAAiB,KAAK,IAAI,CAAC;IAClG,aAAa,EAAE,CAAC,IAAI,EAAE,oBAAoB,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IAC7D,cAAc,EAAE,CAAC,MAAM,EAAE,KAAK,KAAK,IAAI,CAAC;CACzC"}
@@ -10,4 +10,5 @@ export * from "./Conference";
10
10
  export * from "./Messenger";
11
11
  export * from "./Events";
12
12
  export * from "./RTSeePresentation";
13
+ export * from "./ConferenceRoom";
13
14
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/interfaces/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAC;AACvB,cAAc,4BAA4B,CAAC;AAC3C,cAAc,cAAc,CAAC;AAC7B,cAAc,oBAAoB,CAAC;AACnC,cAAc,iBAAiB,CAAC;AAChC,cAAc,sBAAsB,CAAC;AACrC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,QAAQ,CAAC;AACvB,cAAc,cAAc,CAAC;AAC7B,cAAc,aAAa,CAAC;AAC5B,cAAc,UAAU,CAAC;AACzB,cAAc,qBAAqB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/interfaces/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAC;AACvB,cAAc,4BAA4B,CAAC;AAC3C,cAAc,cAAc,CAAC;AAC7B,cAAc,oBAAoB,CAAC;AACnC,cAAc,iBAAiB,CAAC;AAChC,cAAc,sBAAsB,CAAC;AACrC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,QAAQ,CAAC;AACvB,cAAc,cAAc,CAAC;AAC7B,cAAc,aAAa,CAAC;AAC5B,cAAc,UAAU,CAAC;AACzB,cAAc,qBAAqB,CAAC;AACpC,cAAc,kBAAkB,CAAC"}
@@ -26,4 +26,5 @@ __exportStar(require("./Conference"), exports);
26
26
  __exportStar(require("./Messenger"), exports);
27
27
  __exportStar(require("./Events"), exports);
28
28
  __exportStar(require("./RTSeePresentation"), exports);
29
+ __exportStar(require("./ConferenceRoom"), exports);
29
30
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/interfaces/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yCAAuB;AACvB,6DAA2C;AAC3C,+CAA6B;AAC7B,qDAAmC;AACnC,kDAAgC;AAChC,uDAAqC;AACrC,gEAA8C;AAC9C,yCAAuB;AACvB,+CAA6B;AAC7B,8CAA4B;AAC5B,2CAAyB;AACzB,sDAAoC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/interfaces/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yCAAuB;AACvB,6DAA2C;AAC3C,+CAA6B;AAC7B,qDAAmC;AACnC,kDAAgC;AAChC,uDAAqC;AACrC,gEAA8C;AAC9C,yCAAuB;AACvB,+CAA6B;AAC7B,8CAA4B;AAC5B,2CAAyB;AACzB,sDAAoC;AACpC,mDAAiC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rtsee/core",
3
- "version": "0.0.78",
3
+ "version": "0.0.80",
4
4
  "license": "ISC",
5
5
  "private": false,
6
6
  "main": "dist/index",
@@ -31,5 +31,5 @@
31
31
  "publishConfig": {
32
32
  "access": "public"
33
33
  },
34
- "gitHead": "2feaa4064bb068d2b23448ec28e277159401855e"
34
+ "gitHead": "785ce4b3f963ce334f767dc6499b9e029c5a28c2"
35
35
  }