diff --git a/README.md b/README.md index 9bf9e3f..fe925de 100644 --- a/README.md +++ b/README.md @@ -181,7 +181,7 @@ broadcastchannel.publish('my events', 'hello from tab B') // => A: 'hello from t

Subscribe to global publish events.

broadcastchannel.unsubscribe(room: string, f: function(any):any)

Unsubscribe from publish global events.

-broadcastchannel.publish(room: string, data: any)
+broadcastchannel.publish(room: string, data: any, origin: any)

Publish data to all subscribers (including subscribers on this tab)

@@ -1098,6 +1098,7 @@ library has some insane environment where global Promise objects are overwritten
random.rand
random.uint32
+random.uint53
random.oneOf(arr: Array<T>): T
random.uuidv4
diff --git a/package-lock.json b/package-lock.json index a48ef30..61092c8 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "lib0", - "version": "0.2.49", + "version": "0.2.50", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "lib0", - "version": "0.2.49", + "version": "0.2.50", "license": "MIT", "dependencies": { "isomorphic.js": "^0.2.4" diff --git a/package.json b/package.json index 1824047..f3d477c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "lib0", - "version": "0.2.49", + "version": "0.2.50", "description": "", "sideEffects": false, "type": "module",