Skip to content

Commit

Permalink
fix some typos in doc (#14391)
Browse files Browse the repository at this point in the history
fix some typos in doc
  • Loading branch information
vuittont60 authored Oct 24, 2023
1 parent afd444c commit 767885c
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions sdk/docs/pages/kiosk/from-v1.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -260,19 +260,19 @@ const attachStrongRoyalties = async () => {

// The environment on which we're referecing the rules package.
// Use `mainnetEnvironment` for mainnet.
const enviroment = testnetEnvironment;
const environment = testnetEnvironment;

const tx = new TransactionBlock();

attachKioskLockRule(tx, type, policyId, policyCapId, enviroment);
attachKioskLockRule(tx, type, policyId, policyCapId, environment);
attachRoyaltyRule(
tx,
type,
policyId,
policyCapId,
percentageToBasisPoints(percentage),
minAmount,
enviroment,
environment,
);

// ... continue to sign and execute the transaction
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ Removes the listing, keeping the item placed in the kiosk.
const itemId = '0xHeroAddress';
const itemType = '0x..::hero::Hero';

/// asume `kioskClient` and `cap` are supplied to the function as explained in the previous section.
/// assume `kioskClient` and `cap` are supplied to the function as explained in the previous section.
const txb = new TransactionBlock();
const kioskTx = new KioskTransaction({ transactionBlock: txb, kioskClient, cap });

Expand Down Expand Up @@ -187,7 +187,7 @@ ownerCap. The return of the item happens automatically after the execution of th
const itemId = '0xHeroAddress';
const itemType = '0x..::hero::Hero';

/// asume `kioskClient` and `cap` are supplied to the function as explained in the previous section.
/// assume `kioskClient` and `cap` are supplied to the function as explained in the previous section.
const txb = new TransactionBlock();
const kioskTx = new KioskTransaction({ transactionBlock: txb, kioskClient, cap });

Expand Down
2 changes: 1 addition & 1 deletion sdk/docs/pages/typescript/faucet.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Use `requestSuiFromFaucetV0` in your TypeScript code to request SUI from the net
```typescript
await requestSuiFromFaucetV0({
host: getFaucetHost('testnet'),
recipient: <RECEPIENT_ADDRESS>,
recipient: <RECIPIENT_ADDRESS>,
});
```

Expand Down
2 changes: 1 addition & 1 deletion sdk/docs/pages/typescript/sui-client.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ with a local validator, a Full node, and a faucet server. Refer to

## Manually calling unsupported RPC methods

You can use `SuiClient` to call any RPC method the node you're connectiong to exposes. Most RPC
You can use `SuiClient` to call any RPC method the node you're connecting to exposes. Most RPC
methods are built into `SuiClient`, but you can use `call` to leverage any methods available in the
RPC.

Expand Down

0 comments on commit 767885c

Please sign in to comment.