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

@startup-booster/move-mobx

Package Overview
Dependencies
Maintainers
4
Versions
55
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@startup-booster/move-mobx - npm Package Compare versions

Comparing version 0.1.19 to 0.1.21

22

move-mobx.js

@@ -63,7 +63,7 @@ const { observable } = require('mobx');

const ConnectionContext = createContext({
connection: /** @type {MoveMobxClient} */(null),
connected: false
connection: /** @type {MoveMobxClient} */ (null),
connected: false,
});
const ConnectionProvider = ({url, renderBeforeConnection = false, children}) => {
const ConnectionProvider = ({ url, renderBeforeConnection = false, children }) => {
const connection = useMemo(() => connect(url), []);

@@ -91,7 +91,3 @@ const [connected, setConnected] = useState(false);

const useMoveValue = (
connection,
path,
{ defaultValue = undefined, previewSet = true } = {},
) => {
const useMoveValue = (connection, path, { defaultValue = undefined, previewSet = true } = {}) => {
return useMemo(() => {

@@ -131,3 +127,3 @@ const x = () => {

return connection.collectionRef(collection, { defaultValue, previewSet })
return connection.collectionRef(collection, { defaultValue, previewSet });
};

@@ -137,4 +133,4 @@ const result = x();

return result;
}, [connection, collection, defaultValue, previewSet])
}
}, [connection, collection, defaultValue, previewSet]);
};

@@ -146,3 +142,3 @@ module.exports = {

useMoveCollection,
ConnectionProvider
}
ConnectionProvider,
};
{
"name": "@startup-booster/move-mobx",
"version": "0.1.19",
"version": "0.1.21",
"main": "move-mobx.js",
"license": "MIT",
"dependencies": {
"@startup-booster/move": "0.1.19"
"@startup-booster/move": "0.1.21"
},

@@ -9,0 +9,0 @@ "peerDependencies": {

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