Skip to content

Commit

Permalink
fix(fix): spelling (#218)
Browse files Browse the repository at this point in the history
  • Loading branch information
cgilbe27 authored Aug 30, 2023
1 parent b15a382 commit 0e252f8
Show file tree
Hide file tree
Showing 9 changed files with 20 additions and 20 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,12 +77,12 @@ console.log("address: ", address)

```js
import {
IncentivizedTestent,
IncentivizedTestnet,
NibiruQueryClient,
NibiruSigningClient,
} from "@nibiruchain/nibijs"

const TEST_CHAIN = IncentivizedTestent(1)
const TEST_CHAIN = IncentivizedTestnet(1)
const queryClient = await NibiruQueryClient.connect(TEST_CHAIN.endptTm)

const perpParamsResp = await queryClient.nibiruExtensions.perp.params()
Expand Down Expand Up @@ -122,7 +122,7 @@ const txResp = await signingClient.sendTokens(fromAddr, toAddr, tokens, "auto")
#### Example: Transaction with arbitrary messages

```js
import { IncentivizedTestent, NibiruSigningClient, newCoin } from "@nibiruchain/nibijs"
import { IncentivizedTestnet, NibiruSigningClient, newCoin } from "@nibiruchain/nibijs"
import { Msg, TxMessage } from "@nibiruchain/nibijs/dist/msg"

const signer = await newSignerFromMnemonic(mnemonic!)
Expand Down
4 changes: 2 additions & 2 deletions examples/01_new-wallet-and-faucet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ import {
useFaucet,
WalletHD,
newRandomWallet,
IncentivizedTestent,
IncentivizedTestnet,
} from "@nibiruchain/nibijs"

const TEST_CHAIN = IncentivizedTestent(1)
const TEST_CHAIN = IncentivizedTestnet(1)

async function runExample() {
const wallet: WalletHD = await newRandomWallet()
Expand Down
4 changes: 2 additions & 2 deletions examples/02_queries.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import {
IncentivizedTestent,
IncentivizedTestnet,
NibiruQueryClient,
NibiruSigningClient,
} from "@nibiruchain/nibijs"

const TEST_CHAIN = IncentivizedTestent(1)
const TEST_CHAIN = IncentivizedTestnet(1)

async function runExample() {
const queryClient = await NibiruQueryClient.connect(TEST_CHAIN.endptTm)
Expand Down
4 changes: 2 additions & 2 deletions examples/03_messages.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import {
IncentivizedTestent,
IncentivizedTestnet,
NibiruSigningClient,
newCoin,
} from "@nibiruchain/nibijs"
import { Msg, TxMessage } from "@nibiruchain/nibijs/dist/msg"
import { newSignerFromMnemonic } from "@nibiruchain/nibijs/dist/tx"

const TEST_CHAIN = IncentivizedTestent(1)
const TEST_CHAIN = IncentivizedTestnet(1)

async function runExample() {
const mnemonic = "..." // fill in the blank
Expand Down
6 changes: 3 additions & 3 deletions packages/nibijs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,12 +77,12 @@ console.log("address: ", address)

```js
import {
IncentivizedTestent,
IncentivizedTestnet,
NibiruQueryClient,
NibiruSigningClient,
} from "@nibiruchain/nibijs"

const TEST_CHAIN = IncentivizedTestent(1)
const TEST_CHAIN = IncentivizedTestnet(1)
const queryClient = await NibiruQueryClient.connect(TEST_CHAIN.endptTm)

const perpParamsResp = await queryClient.nibiruExtensions.perp.params()
Expand Down Expand Up @@ -122,7 +122,7 @@ const txResp = await signingClient.sendTokens(fromAddr, toAddr, tokens, "auto")
#### Example: Transaction with arbitrary messages

```js
import { IncentivizedTestent, NibiruSigningClient, newCoin } from "@nibiruchain/nibijs"
import { IncentivizedTestnet, NibiruSigningClient, newCoin } from "@nibiruchain/nibijs"
import { Msg, TxMessage } from "@nibiruchain/nibijs/dist/msg"

const signer = await newSignerFromMnemonic(mnemonic!)
Expand Down
6 changes: 3 additions & 3 deletions packages/nibijs/docs/intro.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,12 +79,12 @@ console.log("address: ", address)

```js
import {
IncentivizedTestent,
IncentivizedTestnet,
NibiruQueryClient,
NibiruSigningClient,
} from "@nibiruchain/nibijs"

const TEST_CHAIN = IncentivizedTestent(1)
const TEST_CHAIN = IncentivizedTestnet(1)
const queryClient = await NibiruQueryClient.connect(TEST_CHAIN.endptTm)

const perpParamsResp = await queryClient.nibiruExtensions.perp.params()
Expand Down Expand Up @@ -124,7 +124,7 @@ const txResp = await signingClient.sendTokens(fromAddr, toAddr, tokens, "auto")
#### Example: Transaction with arbitrary messages

```js
import { IncentivizedTestent, NibiruSigningClient, newCoin } from "@nibiruchain/nibijs"
import { IncentivizedTestnet, NibiruSigningClient, newCoin } from "@nibiruchain/nibijs"
import { Msg, TxMessage } from "@nibiruchain/nibijs/dist/msg"

const signer = await newSignerFromMnemonic(mnemonic!)
Expand Down
6 changes: 3 additions & 3 deletions packages/nibijs/docs/modules.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
### Functions

- [Devnet](modules.md#devnet)
- [IncentivizedTestent](modules.md#incentivizedtestent)
- [IncentivizedTestnet](modules.md#IncentivizedTestnet)
- [assert](modules.md#assert)
- [chainToParts](modules.md#chaintoparts)
- [faucetUrlFromChain](modules.md#fauceturlfromchain)
Expand Down Expand Up @@ -252,9 +252,9 @@

---

### IncentivizedTestent
### IncentivizedTestnet

**IncentivizedTestent**(`chainNumber`): [`CustomChain`](classes/CustomChain.md)
**IncentivizedTestnet**(`chainNumber`): [`CustomChain`](classes/CustomChain.md)

#### Parameters

Expand Down
2 changes: 1 addition & 1 deletion packages/nibijs/src/chain/chain.ts
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ export const Localnet: Chain = {
feeDenom: "unibi",
}

export const IncentivizedTestent = (chainNumber: number) =>
export const IncentivizedTestnet = (chainNumber: number) =>
new CustomChain({
prefix: "nibiru",
shortName: "itn",
Expand Down
2 changes: 1 addition & 1 deletion packages/nibijs/src/test/helpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import {
CustomChain,
Devnet,
Event,
IncentivizedTestent,
IncentivizedTestnet,
Localnet,
} from "../chain"

Expand Down

0 comments on commit 0e252f8

Please sign in to comment.