Skip to content

Commit

Permalink
fix: Remove hardcoded require
Browse files Browse the repository at this point in the history
  • Loading branch information
richtera committed Sep 14, 2023
1 parent bfa4258 commit 5279278
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
*/

import { hexToNumber, isAddress, leftPad, toHex } from 'web3-utils';
import HttpProvider from 'web3-providers-http';

import { ProviderWrapper } from './provider/providerWrapper';

Expand Down Expand Up @@ -62,9 +63,6 @@ import { getData } from './lib/getData';
import { supportsInterface, checkPermissions } from './lib/detector';
import { decodeMappingKey } from './lib/decodeMappingKey';

/* eslint-disable-next-line */
const HttpProvider = require('web3-providers-http');

export {
ERC725JSONSchema,
ERC725JSONSchemaKeyType,
Expand Down

0 comments on commit 5279278

Please sign in to comment.