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

ethr-did-resolver

Package Overview
Dependencies
Maintainers
1
Versions
84
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ethr-did-resolver - npm Package Compare versions

Comparing version 0.0.6 to 0.0.7

2

lib/register.js

@@ -208,3 +208,3 @@ 'use strict';

_context2.next = 7;
return eth.getLogs({ address: registryAddress, fromBlock: previousChange, toBlock: previousChange });
return eth.getLogs({ address: registryAddress, topics: [null, '0x000000000000000000000000' + identity.slice(2)], fromBlock: previousChange, toBlock: previousChange });

@@ -211,0 +211,0 @@ case 7:

{
"name": "ethr-did-resolver",
"version": "0.0.6",
"version": "0.0.7",
"description": "Resolve DID documents around ethereum addresses",

@@ -5,0 +5,0 @@ "main": "lib/register.js",

@@ -136,3 +136,3 @@ import { registerMethod } from 'did-resolver'

while (previousChange) {
const logs = await eth.getLogs({address: registryAddress, fromBlock: previousChange, toBlock: previousChange})
const logs = await eth.getLogs({address: registryAddress, topics: [null, `0x000000000000000000000000${identity.slice(2)}`], fromBlock: previousChange, toBlock: previousChange})
const events = logDecoder(logs)

@@ -139,0 +139,0 @@ previousChange = undefined

Sorry, the diff of this file is too big to display

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