Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@startup-booster/move

Package Overview
Dependencies
Maintainers
4
Versions
54
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@startup-booster/move - npm Package Compare versions

Comparing version 0.1.23 to 0.1.24

3

move.d.ts

@@ -28,2 +28,5 @@ type MoveEvent = 'connect' | 'disconnect';

login(auth: any): Promise<void>;
logout(): Promise<void>
// TODO:

@@ -30,0 +33,0 @@ // insert(path: string, index: number, value: any): Promise<void>;

@@ -6,3 +6,3 @@ const { EventEmitter } = require('events');

/** @type {function(string, MoveOptions): MoveClient} */
const connect = (url, options = {}) => {
const connect = (url, options) => {
const eventEmitter = new EventEmitter();

@@ -12,4 +12,2 @@ const listeners = {};

path: '/move',
auth: options.auth,
query: options.query,
});

@@ -66,2 +64,6 @@

// once the server sends us an updated value
if (options.onConnect) {
options.onConnect(move);
}
for (const path in listeners) {

@@ -202,2 +204,10 @@ rpc('listen', path);

},
async login(auth) {
return rpc('login', auth);
},
async logout() {
return rpc('logout');
},
};

@@ -204,0 +214,0 @@

2

package.json
{
"name": "@startup-booster/move",
"version": "0.1.23",
"version": "0.1.24",
"main": "move.js",

@@ -5,0 +5,0 @@ "license": "MIT",

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