New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

use-ens

Package Overview
Dependencies
Maintainers
1
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

use-ens - npm Package Compare versions

Comparing version 0.0.10 to 0.0.11

10

dist/index.js

@@ -12,8 +12,6 @@ import { useState, useEffect } from 'react';

if (provider && domain && !data) {
if (chainId) {
if (contractAddress || chainId === 1) {
getENS(provider, contractAddress)(domain, fetchOptions).then((data) => {
set(data);
});
}
if (chainId === 1 || contractAddress) {
getENS(provider, contractAddress)(domain, fetchOptions).then((data) => {
set(data);
});
}

@@ -20,0 +18,0 @@ else {

2

package.json
{
"name": "use-ens",
"version": "0.0.10",
"version": "0.0.11",
"description": "A React hook to fetch ENS records from a domain.",

@@ -5,0 +5,0 @@ "files": [

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