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

@live-change/framework

Package Overview
Dependencies
Maintainers
1
Versions
302
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@live-change/framework - npm Package Compare versions

Comparing version 0.3.10 to 0.3.11

11

lib/runtime/Model.js

@@ -14,5 +14,4 @@ const ReaderModel = require("./ReaderModel.js")

const res = await this.service.dao.request(
['database', 'update'], this.service.databaseName, this.tableName, id, operations)
const [newObj, oldObj] = res
return [newObj, oldObj]
['database', 'update'], this.service.databaseName, this.tableName, id, operations, options)
return res
}

@@ -23,3 +22,3 @@

const res = await this.service.dao.request(
['database', 'delete'], this.service.databaseName, this.tableName, id)
['database', 'delete'], this.service.databaseName, this.tableName, id, options)
}

@@ -29,3 +28,3 @@

if(!data.id) throw new Error("id must be generated before creation of object")
let prepData = {...data}
let prepData = { ...data }
for(let key in this.definition.properties) {

@@ -41,3 +40,3 @@ if(!prepData.hasOwnProperty(key)) {

const res = await this.service.dao.request(
['database', 'put'], this.service.databaseName, this.tableName, prepData)
['database', 'put'], this.service.databaseName, this.tableName, prepData, options)
return res

@@ -44,0 +43,0 @@ }

{
"name": "@live-change/framework",
"version": "0.3.10",
"version": "0.3.11",
"description": "Live Change Framework - ultimate solution for real time mobile/web apps",

@@ -5,0 +5,0 @@ "main": "index.js",

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