@formant/realtime-sdk 1.4.4 → 1.4.6

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.
@@ -0,0 +1,3 @@
1
+ // index.d.ts
2
+ export * from "./api/signaling/v1/signaling_grpc_web_pb";
3
+ export * from "./api/signaling/v1/signaling_pb";
@@ -0,0 +1,14 @@
1
+ // Import everything from signaling_pb.js
2
+ const signalingPb = require("./api/signaling/v1/signaling_pb.js");
3
+
4
+ // Import everything from signaling_grpc_web_pb.js
5
+ const signalingGrpcWebPb = require("./api/signaling/v1/signaling_grpc_web_pb.js");
6
+
7
+ // Combine all exports into a single object
8
+ const combinedExports = {
9
+ ...signalingPb,
10
+ ...signalingGrpcWebPb,
11
+ };
12
+
13
+ // Export the combined object as the default export
14
+ module.exports = combinedExports;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@formant/realtime-sdk",
3
- "version": "1.4.4",
3
+ "version": "1.4.6",
4
4
  "license": "MIT",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/realtime-sdk/src/index.d.ts",