New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@automerge/automerge-repo-network-messagechannel

Package Overview
Dependencies
Maintainers
4
Versions
73
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@automerge/automerge-repo-network-messagechannel - npm Package Compare versions

Comparing version 1.0.2 to 1.0.3

typedoc.json

11

dist/index.d.ts

@@ -0,1 +1,8 @@

/**
* A `NetworkAdapter` which uses [`MessageChannel`](https://developer.mozilla.org/en-US/docs/Web/API/MessageChannel)
* to communicate with other peers. This is useful for communicating between
* browser tabs and web workers (including shared workers).
*
* @module
*/
import { type Message, NetworkAdapter, type PeerId } from "@automerge/automerge-repo";

@@ -6,2 +13,3 @@ import { MessagePortRef } from "./MessagePortRef.js";

channels: {};
/** @hidden */
messagePortRef: MessagePortRef;

@@ -14,3 +22,3 @@ constructor(messagePort: MessagePort, config?: MessageChannelNetworkAdapterConfig);

}
interface MessageChannelNetworkAdapterConfig {
export interface MessageChannelNetworkAdapterConfig {
/**

@@ -26,3 +34,2 @@ * This is an optional parameter to use a weak ref to reference the message port that is passed to

}
export {};
//# sourceMappingURL=index.d.ts.map

@@ -0,1 +1,8 @@

/**
* A `NetworkAdapter` which uses [`MessageChannel`](https://developer.mozilla.org/en-US/docs/Web/API/MessageChannel)
* to communicate with other peers. This is useful for communicating between
* browser tabs and web workers (including shared workers).
*
* @module
*/
import { NetworkAdapter, } from "@automerge/automerge-repo";

@@ -8,2 +15,3 @@ import { StrongMessagePortRef } from "./StrongMessagePortRef.js";

channels = {};
/** @hidden */
messagePortRef;

@@ -10,0 +18,0 @@ #startupComplete = false;

6

package.json
{
"name": "@automerge/automerge-repo-network-messagechannel",
"version": "1.0.2",
"version": "1.0.3",
"description": "MessageChannel network adapter for Automerge Repo",

@@ -17,3 +17,3 @@ "repository": "https://github.com/automerge/automerge-repo",

"dependencies": {
"@automerge/automerge-repo": "^1.0.2"
"@automerge/automerge-repo": "^1.0.3"
},

@@ -34,3 +34,3 @@ "peerDependencies": {

},
"gitHead": "c72b9ec33c3a1f7f39ad20cb4fa0d766afe42158"
"gitHead": "4f3391cd33cd0cabfebde48dbd56749ddb6922da"
}

@@ -0,1 +1,8 @@

/**
* A `NetworkAdapter` which uses [`MessageChannel`](https://developer.mozilla.org/en-US/docs/Web/API/MessageChannel)
* to communicate with other peers. This is useful for communicating between
* browser tabs and web workers (including shared workers).
*
* @module
*/
import {

@@ -16,2 +23,3 @@ type Message,

channels = {}
/** @hidden */
messagePortRef: MessagePortRef

@@ -130,3 +138,3 @@ #startupComplete = false

interface MessageChannelNetworkAdapterConfig {
export interface MessageChannelNetworkAdapterConfig {
/**

@@ -133,0 +141,0 @@ * This is an optional parameter to use a weak ref to reference the message port that is passed to

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc