diff --git a/src/Resolution.ts b/src/Resolution.ts index 3559e6de..56dce482 100644 --- a/src/Resolution.ts +++ b/src/Resolution.ts @@ -533,7 +533,7 @@ export default class Resolution { * @param ticker - currency ticker (USDT, FTM, etc.) * @param chain - chain version, usually means blockchain ( ERC20, BEP2, OMNI, etc. ) * @throws [[ResolutionError]] if address is not found - * @returns A promise that resolves in an adress + * @returns A promise that resolves in an address */ async multiChainAddr( domain: string, diff --git a/src/contracts/ens/newResolver.ts b/src/contracts/ens/newResolver.ts index 61a0a05e..e6b197d3 100644 --- a/src/contracts/ens/newResolver.ts +++ b/src/contracts/ens/newResolver.ts @@ -73,7 +73,7 @@ export default [ stateMutability: 'nonpayable', type: 'function', }, - // This funciton is defined, however there is other version with 2 arguments + // This function is defined, however there is other version with 2 arguments // that we prefer to use all the time to be consistent // { // constant: true, diff --git a/src/tests/Resolution.test.ts b/src/tests/Resolution.test.ts index e3aedb47..9bb51124 100644 --- a/src/tests/Resolution.test.ts +++ b/src/tests/Resolution.test.ts @@ -146,7 +146,7 @@ describe('Resolution', () => { }, ens: {url: l1Url}, }); - // We need to manually restore the function as jest.restoreAllMocks and simillar works only with spyOn + // We need to manually restore the function as jest.restoreAllMocks and similar works only with spyOn Uns.autoNetwork = UnsGetNetworkOriginal; Ens.autoNetwork = EnsGetNetworkOriginal; expect( @@ -317,7 +317,7 @@ describe('Resolution', () => { ).toBe(1); }); - it('should fail because provided url failled net_version call', async () => { + it('should fail because provided url failed net_version call', async () => { const mockedProvider = new FetchProvider( NamingServiceName.UNS, 'https://google.com', @@ -578,7 +578,7 @@ describe('Resolution', () => { describe('.ipfsHash', () => { skipItInLive( - 'should prioritize new keys over depricated ones', + 'should prioritize new keys over deprecated ones', async () => { const spies = mockAsyncMethods(uns, { get: {