@browser-network/network
Advanced tools
Comparing version 0.0.9 to 0.0.10
@@ -27,3 +27,3 @@ /// <reference types="node" /> | ||
}; | ||
export declare class Network extends TypedEventEmitter<Events> { | ||
export default class Network extends TypedEventEmitter<Events> { | ||
config: NetworkConfig; | ||
@@ -30,0 +30,0 @@ address: t.Address; |
@@ -100,3 +100,2 @@ var __extends = (this && this.__extends) || (function () { | ||
exports.__esModule = true; | ||
exports.Network = void 0; | ||
var axios_1 = __importDefault(require("axios")); | ||
@@ -742,3 +741,3 @@ // Tried using crypto.randomUUID() but browserify like 10x's the build | ||
}(TypedEventEmitter_1["default"])); | ||
exports.Network = Network; | ||
exports["default"] = Network; | ||
}); |
{ | ||
"name": "@browser-network/network", | ||
"version": "0.0.9", | ||
"version": "0.0.10", | ||
"description": "A WebRTC based direct peer to peer network in the browser.", | ||
@@ -5,0 +5,0 @@ "main": "./dist/src/index.js", |
@@ -150,3 +150,3 @@ # Distributed Browser Network | ||
const network = window.network = new Network.Network({ | ||
const network = window.network = new Network.default({ | ||
switchAddress: 'http://localhost:5678', // default address of switchboard | ||
@@ -153,0 +153,0 @@ secret: Bnc.generateSecret(), |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1567323
29224