diff --git a/docs/content/references/ts-sdk/typescript/hello-iota.mdx b/docs/content/references/ts-sdk/typescript/hello-iota.mdx index cb0e4b79acc..686abee55a7 100644 --- a/docs/content/references/ts-sdk/typescript/hello-iota.mdx +++ b/docs/content/references/ts-sdk/typescript/hello-iota.mdx @@ -53,7 +53,7 @@ Create a new `index.js` file in the root of your project with the following code ```js import { getFullnodeUrl, IotaClient } from '@iota/iota-sdk/client'; -import { getFaucetHost, requestIotaFromFaucetv1 } from '@iota/iota-sdk/faucet'; +import { getFaucetHost, requestIotaFromFaucetV1 } from '@iota/iota-sdk/faucet'; import { NANOS_PER_IOTA } from '@iota/iota-sdk/utils'; // replace with your actual address, which is in the form 0x123... @@ -72,7 +72,7 @@ const iotaBefore = await iotaClient.getBalance({ owner: MY_ADDRESS, }); -await requestIotaFromFaucetv1({ +await requestIotaFromFaucetV1({ // use getFaucetHost to make sure you're using correct faucet address // you can also just use the address (see IOTA TypeScript SDK Quick Start for values) host: getFaucetHost('devnet'),