Comparing version 2.4.0 to 2.4.1
@@ -60,3 +60,3 @@ 'use strict'; | ||
this._linkingMiddleware.register('state', function (id, state) { | ||
return state.select(id); | ||
return id === undefined ? state : state.select(id); | ||
}); | ||
@@ -63,0 +63,0 @@ this._linkingMiddleware.register('theme', function (id, theme) { |
{ | ||
"name": "electrum", | ||
"version": "2.4.0", | ||
"version": "2.4.1", | ||
"description": "Electrum simplifies framework-agnostic declaration of React components.", | ||
@@ -39,4 +39,4 @@ "main": "lib/index.js", | ||
"electrum-field": "^1.0.1", | ||
"electrum-require-components": "^1.2.0", | ||
"electrum-store": "^1.0.3", | ||
"electrum-require-components": "^1.3.0", | ||
"electrum-store": "^1.0.4", | ||
"electrum-theme": "^1.1.3", | ||
@@ -43,0 +43,0 @@ "electrum-utils": "^1.0.0", |
@@ -31,3 +31,3 @@ 'use strict'; | ||
this._linkingMiddleware = new LinkingMiddleware (); | ||
this._linkingMiddleware.register ('state', (id, state) => state.select (id)); | ||
this._linkingMiddleware.register ('state', (id, state) => id === undefined ? state : state.select (id)); | ||
this._linkingMiddleware.register ('theme', (id, theme) => theme); | ||
@@ -34,0 +34,0 @@ this._injectingMiddleware = new InjectingMiddleware (); |
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
119109