bedrock-did-io
Advanced tools
Comparing version 6.0.0 to 6.0.1
# bedrock-did-io ChangeLog | ||
## 6.0.1 - 2022-02-10 | ||
### Fixed | ||
- Create `didIo` early before bedrock initializes, but update its internal | ||
cache during bedrock init. This approach allows the `didIo` symbol to be | ||
accessed (and even potentially used with a temporary cache) prior to | ||
bedrock initialization -- as a number of modules are presently doing. A | ||
future version should remove this and modules should update. | ||
## 6.0.0 - 2022-02-10 | ||
@@ -4,0 +13,0 @@ |
@@ -11,7 +11,10 @@ /*! | ||
export let didIo; | ||
// create default cached resolver; to be updated w/bedrock cache config on | ||
// bedrock init | ||
export const didIo = new CachedResolver(); | ||
bedrock.events.on('bedrock.init', () => { | ||
const {config: {'did-io': cfg}} = bedrock; | ||
didIo = new CachedResolver(cfg.cache); | ||
// update cache w/ bedrock configured value | ||
didIo._cache = new CachedResolver(cfg.cache); | ||
}); | ||
@@ -18,0 +21,0 @@ |
{ | ||
"name": "bedrock-did-io", | ||
"version": "6.0.0", | ||
"version": "6.0.1", | ||
"description": "Bedrock DID Client", | ||
@@ -5,0 +5,0 @@ "main": "./lib", |
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
12105
82