@sawport/peers-caller 1.0.0-alpha.4 → 1.0.0-alpha.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,8 @@
1
+ /**
2
+ * Standalone polyfill entry point
3
+ * Import this before importing @sawport/peers-caller if you encounter
4
+ * "n.nextTick is not a function" errors
5
+ */
6
+ export * from "./polyfills";
7
+ import "./polyfills";
8
+ //# sourceMappingURL=polyfill-entry.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"polyfill-entry.d.ts","sourceRoot":"","sources":["../src/polyfill-entry.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAGH,cAAc,aAAa,CAAC;AAG5B,OAAO,aAAa,CAAC"}
@@ -1,5 +1,11 @@
1
1
  /**
2
2
  * Browser polyfills for Node.js APIs required by simple-peer
3
+ * This file MUST be imported before any other modules that depend on Node.js APIs
3
4
  */
5
+ declare global {
6
+ var process: any;
7
+ var global: any;
8
+ var Buffer: any;
9
+ }
4
10
  export {};
5
11
  //# sourceMappingURL=polyfills.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"polyfills.d.ts","sourceRoot":"","sources":["../src/polyfills.ts"],"names":[],"mappings":"AAAA;;GAEG;AAuBH,OAAO,EAAE,CAAC"}
1
+ {"version":3,"file":"polyfills.d.ts","sourceRoot":"","sources":["../src/polyfills.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAGH,OAAO,CAAC,MAAM,CAAC;IACb,IAAI,OAAO,EAAE,GAAG,CAAC;IACjB,IAAI,MAAM,EAAE,GAAG,CAAC;IAChB,IAAI,MAAM,EAAE,GAAG,CAAC;CACjB;AAgID,OAAO,EAAE,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sawport/peers-caller",
3
- "version": "1.0.0-alpha.4",
3
+ "version": "1.0.0-alpha.6",
4
4
  "description": "WebRTC multi-peer video call library with mesh architecture supporting up to 4 participants",
5
5
  "type": "module",
6
6
  "main": "./dist/peers-caller.umd.js",