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

@based/client

Package Overview
Dependencies
Maintainers
1
Versions
139
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@based/client - npm Package Compare versions

Comparing version 1.2.0 to 1.2.1

7

dist/index.js

@@ -388,2 +388,5 @@ "use strict";

console.log('HELLO OBSERVABLE FUNCTIONS', JSON.stringify(fns, null, 2));
// const observables = fns.map((fn) => {
// return new Observable(this.client, <string>fn.name, fn.payload)
// })
// TODO: create observables for these fns and combine with below

@@ -400,2 +403,6 @@ return new observable_1.Observable(this.client, { $db: op.db, data: queryObj });

}
else if (op.fnCall) {
queryObj[k] = this.call(op.fnCall.name, op.fnCall.payload);
return;
}
const { id } = await this.set(op.set);

@@ -402,0 +409,0 @@ const getOpts = (0, utils_1.deepCopy)(op.get);

6

package.json
{
"name": "@based/client",
"version": "1.2.0",
"version": "1.2.1",
"main": "dist/index.js",

@@ -17,4 +17,4 @@ "browser": {

"@based/get-service": "0.2.7",
"@based/graphql": "^1.0.1",
"@based/types": "^1.0.0",
"@based/graphql": "^1.0.4",
"@based/types": "^1.0.1",
"@saulx/diff": "^1.1.3",

@@ -21,0 +21,0 @@ "@saulx/hash": "^1.1.0",

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