@randajan/jet-base
Advanced tools
Comparing version 2.0.0 to 2.0.1
@@ -19,2 +19,12 @@ // src/base.js | ||
}; | ||
var config = (base, ...args) => { | ||
const priv = use(base); | ||
if (priv.state !== "pending") { | ||
base.throw("config", `state must be 'pending' insted of ${priv.state}`); | ||
} | ||
if (priv.config) { | ||
base.throw("config", "can be called just once"); | ||
} | ||
priv.config = args; | ||
}; | ||
@@ -21,0 +31,0 @@ // src/duty.js |
{ | ||
"name": "@randajan/jet-base", | ||
"version": "2.0.0", | ||
"version": "2.0.1", | ||
"description": "Ecosystem of types and related usefull tools.", | ||
@@ -5,0 +5,0 @@ "repository": "randajan/jet-base", |
Sorry, the diff of this file is not supported yet
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
37774
408