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
316
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.2.6 to 0.2.7

1

lib/processors/draftGenerator.js

@@ -163,2 +163,3 @@ const utils = require("../utils.js")

daoPath({ draft }) {
if(!draft) return null
return modelRuntime().path(draft)

@@ -165,0 +166,0 @@ }

2

lib/runtime/Model.js

@@ -35,3 +35,3 @@ const ReactiveDao = require("@live-change/dao")

const mapper = async (res) => input.table(tableName).object(res.to).get()
await input.index(indexName).range(range).onChange(async (obj, oldObj) => {
await (await input.index(indexName)).range(range).onChange(async (obj, oldObj) => {
output.change(obj && await mapper(obj), oldObj && await mapper(oldObj))

@@ -38,0 +38,0 @@ })

@@ -181,3 +181,3 @@ const Model = require("./Model.js")

await emit.commit()
return resultpodpie
return result
})

@@ -184,0 +184,0 @@ }

@@ -37,2 +37,3 @@ const ReactiveDao = require('@live-change/dao')

const preparedParameters = await prepareParameters(parameters, this.definition.properties, this.service)
if(!this.definition.get) throw new Error(`get method undefined in view ${this.service.name}/${this.name}`)
return this.definition.get(preparedParameters, context)

@@ -39,0 +40,0 @@ }

{
"name": "@live-change/framework",
"version": "0.2.6",
"version": "0.2.7",
"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