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

@bity/data-stores

Package Overview
Dependencies
Maintainers
3
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bity/data-stores - npm Package Compare versions

Comparing version 0.0.8 to 0.0.9

3

base-data-store/daemon-factory.js

@@ -82,4 +82,3 @@ export default function createDaemon(options = {}) {

}).catch(error => {
console.error(error);
onDataLoadingFailed(store);
onDataLoadingFailed(store, error);

@@ -86,0 +85,0 @@ if (!hasDataListeners()) {

@@ -35,5 +35,6 @@ export default function createData(options = {}) {

function onDataLoadingFailed(store) {
function onDataLoadingFailed(store, error) {
store.dispatch({
type: DATA_LOADING_FAILED
type: DATA_LOADING_FAILED,
payload: error
});

@@ -46,3 +47,4 @@ }

return { ...state,
isDataLoading: true
isDataLoading: true,
error: undefined
};

@@ -53,3 +55,4 @@

isDataLoading: false,
data: action.payload
data: action.payload,
error: undefined
};

@@ -59,3 +62,4 @@

return { ...state,
isDataLoading: false
isDataLoading: false,
error: action.payload
};

@@ -62,0 +66,0 @@

@@ -114,6 +114,3 @@ import { DIRECTIONS } from '@bity/models/data/currencies';

// based on our original selection
order.directionToBasePriceOn = directionToBasePriceOn; // Required to tell the difference between an order set by user or by the
// request.
order.isRemotelyFetched = true;
order.directionToBasePriceOn = directionToBasePriceOn;
return order;

@@ -120,0 +117,0 @@ });

{
"name": "@bity/data-stores",
"version": "0.0.8",
"version": "0.0.9",
"description": "",

@@ -5,0 +5,0 @@ "scripts": {

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