@automerge/automerge-repo-network-broadcastchannel 1.1.3 → 1.1.5
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.
- package/package.json +3 -3
- package/test/index.test.ts +2 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@automerge/automerge-repo-network-broadcastchannel",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.5",
|
|
4
4
|
"description": "BroadcastChannel network adapter for Automerge Repo",
|
|
5
5
|
"repository": "https://github.com/automerge/automerge-repo/tree/master/packages/automerge-repo-network-broadcastchannel",
|
|
6
6
|
"author": "Peter van Hardenberg <pvh@pvh.ca>",
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
"test": "vitest"
|
|
14
14
|
},
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"@automerge/automerge-repo": "1.1.
|
|
16
|
+
"@automerge/automerge-repo": "1.1.5"
|
|
17
17
|
},
|
|
18
18
|
"watch": {
|
|
19
19
|
"build": {
|
|
@@ -26,5 +26,5 @@
|
|
|
26
26
|
"publishConfig": {
|
|
27
27
|
"access": "public"
|
|
28
28
|
},
|
|
29
|
-
"gitHead": "
|
|
29
|
+
"gitHead": "64edfaea5e53e77cd9158fc1df52fea85801db71"
|
|
30
30
|
}
|
package/test/index.test.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { PeerId } from "@automerge/automerge-repo"
|
|
2
2
|
import { describe, it } from "vitest"
|
|
3
3
|
import {
|
|
4
|
-
|
|
4
|
+
runNetworkAdapterTests,
|
|
5
5
|
type SetupFn,
|
|
6
6
|
} from "../../automerge-repo/src/helpers/tests/network-adapter-tests.js"
|
|
7
7
|
import { BroadcastChannelNetworkAdapter } from "../src/index.js"
|
|
@@ -15,7 +15,7 @@ describe("BroadcastChannel", () => {
|
|
|
15
15
|
return { adapters: [a, b, c] }
|
|
16
16
|
}
|
|
17
17
|
|
|
18
|
-
|
|
18
|
+
runNetworkAdapterTests(setup)
|
|
19
19
|
|
|
20
20
|
it("allows a channel name to be specified in the options and limits messages to that channel", async () => {
|
|
21
21
|
const a = new BroadcastChannelNetworkAdapter()
|