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.0 to 0.3.1

3

lib/definition/PropertyDefinition.js

@@ -47,3 +47,4 @@ const utils = require("../utils.js")

if(utils.typeName(this.type) != utils.typeName(oldProperty.type)) typeChanged = true
if(this.of && utils.typeName(this.of.type) != utils.typeName(oldProperty.of.type)) typeChanged = true
if((this.of && utils.typeName(this.of.type)) != (oldProperty.of && utils.typeName(oldProperty.of.type)))
typeChanged = true
if(typeChanged) {

@@ -50,0 +51,0 @@ changes.push({

@@ -45,2 +45,3 @@ const { prepareParameters, processReturn, preFilterParameters } = require("./params.js")

if(parameters._commandId) command.id = parameters._commandId
console.log("CALL COMMAND", JSON.stringify(command, null, " "))
return this.service.app.command(command)

@@ -47,0 +48,0 @@ }

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

this.reactiveServer = new ReactiveDao.ReactiveServer( async (sessionId, connection) => {
const cuid = (Math.random()*10000)|0
let ip = getIp(connection)

@@ -52,5 +53,8 @@

/// User or roles changed, rebuilding dao
console.log("CUID", cuid)
console.log("session", sessionId, " old data roles:", credentials.roles,
"user:", credentials.user, "rebuilding dao!")
credentials.roles = newSess.roles || []
credentials.user = newSess.user || null
console.log("session", sessionId, " new roles", newSess.roles, "or user", newSess.user, "rebuilding dao!")
console.log("session", sessionId, " new roles", newSess.roles, "or user", newSess.user, "rebuilding dao!")
const oldDao = currentDao

@@ -57,0 +61,0 @@ currentDao = new Dao(config, {...credentials})

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