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

bedrock-did-io

Package Overview
Dependencies
Maintainers
6
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bedrock-did-io - npm Package Compare versions

Comparing version 6.0.0 to 6.0.1

9

CHANGELOG.md
# 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 @@

7

lib/main.js

@@ -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",

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