From 2f9a2f49ebd8957a785bef8dc05cc1e17b8c1331 Mon Sep 17 00:00:00 2001 From: Tim McMackin Date: Mon, 29 May 2023 10:48:44 -0400 Subject: [PATCH] Remove references to web3.js unless we are using it directly --- packages/nft-checkout/README.md | 2 +- packages/provider/README.md | 2 +- packages/provider/src/provider.ts | 2 +- packages/providers-evm/README.md | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/nft-checkout/README.md b/packages/nft-checkout/README.md index e7a4461a8..1fed1aaf6 100644 --- a/packages/nft-checkout/README.md +++ b/packages/nft-checkout/README.md @@ -22,7 +22,7 @@ import { utils } from "ethers"; const CONTRACT_ADDRESS = "0x77fedfb705c8bac2e03aad2ad8a8fe83e3e20fa1" const sendTransaction = async () => { - // Connect to the Metamask wallet in the browser using Web3.js, using the MetamaskProvider interface to limit bundle size. + // Connect to the Metamask wallet in the browser, using the MetamaskProvider interface to limit bundle size. const provider = await createProvider(MetamaskProvider) // Initialize the object that represents the transaction operation, in this case on EVM. diff --git a/packages/provider/README.md b/packages/provider/README.md index fe39bda0a..aa6a7a28f 100644 --- a/packages/provider/README.md +++ b/packages/provider/README.md @@ -23,7 +23,7 @@ import { createProvider } from '@rarimo/provider' import { MetamaskProvider } from '@rarimo/providers-evm' const getMetamaskWalletAddress = async () => { - // Connect to the Metamask wallet in the browser using Web3.js, using the MetamaskProvider interface to limit bundle size. + // Connect to the Metamask wallet in the browser, using the MetamaskProvider interface to limit bundle size. const provider = await createProvider(MetamaskProvider) await provider.connect() diff --git a/packages/provider/src/provider.ts b/packages/provider/src/provider.ts index 9a8c28b57..d2ba70865 100644 --- a/packages/provider/src/provider.ts +++ b/packages/provider/src/provider.ts @@ -30,7 +30,7 @@ export type CreateProviderOpts = { * import { MetamaskProvider } from '@rarimo/providers-evm' * * const getMetamaskWalletAddress = async () => { - * // Connect to the Metamask wallet in the browser using Web3.js, using the MetamaskProvider interface to limit bundle size. + * // Connect to the Metamask wallet in the browser, using the MetamaskProvider interface to limit bundle size. * const provider = await createProvider(MetamaskProvider) * * // Get the address of the wallet diff --git a/packages/providers-evm/README.md b/packages/providers-evm/README.md index 388d6787c..6528c10e6 100644 --- a/packages/providers-evm/README.md +++ b/packages/providers-evm/README.md @@ -17,7 +17,7 @@ import { createProvider } from '@rarimo/provider' import { MetamaskProvider } from '@rarimo/providers-evm' const getMetamaskWalletAddress = async () => { - // Connect to the Metamask wallet in the browser using Web3.js, using the MetamaskProvider interface to limit bundle size. + // Connect to the Metamask wallet in the browser, using the MetamaskProvider interface to limit bundle size. const provider = await createProvider(MetamaskProvider) await provider.connect()