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

@dittolive/ditto

Package Overview
Dependencies
Maintainers
7
Versions
615
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@dittolive/ditto - npm Package Compare versions

Comparing version 0.0.1-alpha.9 to 0.0.1-alpha.10

node/ditto.cjs.js

4

package.json
{
"name": "@dittolive/ditto",
"version": "0.0.1-alpha.9",
"version": "0.0.1-alpha.10",
"description": "Ditto let's you sync wothout the internet.'",

@@ -14,3 +14,3 @@ "homepage": "https://ditto.live",

"main": "node/ditto.js",
"main": "node/ditto.cjs.js",
"browser": "web/ditto.es6.js",

@@ -17,0 +17,0 @@ "browser/umd": "web/ditto.umd.js",

@@ -172,2 +172,11 @@ declare module "common" {

/**
* A configuration object specifying which network transports Ditto should use to sync data.
*
* For each websocket server that Ditto should connect to, add a string of the form "wss://…" to the websocketUrls
* array, provide it to the `Ditto` object with `setTransportConfig()`, then call `startSync()`.
*/
export interface TransportConfig {
websocketUrls: string[];
}
/**
* TODO: document.

@@ -179,3 +188,3 @@ */

setAccessLicense(accessLicense: string): void;
connectToWebsocketServer(address: string): void;
setTransportConfig(value: TransportConfig): void;
/**

@@ -190,10 +199,1 @@ * @deprecated use constructor form `await new Ditto(...)` instead. See

}
declare module "wasm" {
import { DittoCounter, DittoValue } from './@ditto.wasm.js';
export { DittoCounter as Counter, DittoValue as Value };
}
declare module "@dittolive/ditto" {
export * from "common";
export * from "wasm";
export { Ditto as default } from "common";
}

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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