@startup-booster/move-mobx
Advanced tools
Comparing version 0.1.21 to 0.1.22
@@ -6,5 +6,5 @@ const { observable } = require('mobx'); | ||
/** @type {function(string): MoveMobxClient} */ | ||
const connect = url => { | ||
const connection = baseConnect(url); | ||
/** @type {function(string, MoveOptions): MoveMobxClient} */ | ||
const connect = (url, options = {}) => { | ||
const connection = baseConnect(url, options); | ||
@@ -68,4 +68,4 @@ const cleanup = new FinalizationRegistry(({ path, callback }) => { | ||
const ConnectionProvider = ({ url, renderBeforeConnection = false, children }) => { | ||
const connection = useMemo(() => connect(url), []); | ||
const ConnectionProvider = ({ url, renderBeforeConnection = false, options = {}, children }) => { | ||
const connection = useMemo(() => connect(url, options), []); | ||
const [connected, setConnected] = useState(false); | ||
@@ -72,0 +72,0 @@ |
{ | ||
"name": "@startup-booster/move-mobx", | ||
"version": "0.1.21", | ||
"version": "0.1.22", | ||
"main": "move-mobx.js", | ||
"license": "MIT", | ||
"dependencies": { | ||
"@startup-booster/move": "0.1.21" | ||
"@startup-booster/move": "0.1.22" | ||
}, | ||
@@ -9,0 +9,0 @@ "peerDependencies": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
4774
+ Added@startup-booster/move@0.1.22(transitive)
- Removed@startup-booster/move@0.1.21(transitive)
Updated@startup-booster/move@0.1.22