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

wappsto-redux

Package Overview
Dependencies
Maintainers
1
Versions
52
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

wappsto-redux - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

LICENSE

3

actions/stream.js

@@ -143,2 +143,5 @@ import querystring from 'querystring';

}
if(window && window.location && window.location.origin && !url.startsWith('http')){
url = window.location.origin.replace('http', 'ws') + url;
}
let ws = new WebSocket(url);

@@ -145,0 +148,0 @@

2

config.js
export default {
baseUrl: "https://wappsto.com/services"
baseUrl: "/services"
}
{
"name": "wappsto-redux",
"version": "1.0.1",
"version": "1.0.2",
"description": "",

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

@@ -21,3 +21,3 @@ import { combineReducers } from 'redux';

export default rootReducer = (state, action) => {
export default function rootReducer(state, action){
if (action.type === REMOVE_SESSION) {

@@ -24,0 +24,0 @@ state = undefined;

export function parse(json){
if(json.constructor === Object && json.meta.type === "idlist"){
if(!json || (json.constructor === Object && json.meta.type === "idlist")){
return [];

@@ -4,0 +4,0 @@ }

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