From f1ec117062b11725c8fb10190d04eec465b8c596 Mon Sep 17 00:00:00 2001 From: Josh Date: Thu, 7 Nov 2024 17:50:26 -0800 Subject: [PATCH] fix: resolve broken links in cookbook --- packages/cookbook/README.md | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/packages/cookbook/README.md b/packages/cookbook/README.md index 8d844d9405..4b3aa6f5aa 100644 --- a/packages/cookbook/README.md +++ b/packages/cookbook/README.md @@ -5,18 +5,17 @@ Collection of common use cases for [`near-api-js`](https://github.com/near/near- | | | |-----------------------------------------------------------------| ---------------------------------------------------------------------------------------------------------------- | | **ACCOUNTS** | | -| [Create Account](./accounts/create-testnet-account.js) | Create [NEAR accounts](https://docs.near.org/concepts/basics/account) without using NEAR Wallet. | +| [Create Account](./accounts/create-testnet-account.ts) | Create [NEAR accounts](https://docs.near.org/concepts/basics/account) without using NEAR Wallet. | | [Access Key Rotation](./accounts/access-keys/README.md) | Create and delete [access keys](https://docs.near.org/concepts/basics/account#access-keys) for added security. | | **TRANSACTIONS** | | -| [Get Transaction Status](./transactions/get-tx-status.js) | Gets transaction status using a tx hash and associated account/contract ID. | -| [Recent Transaction Details](./transactions/get-tx-detail.js) | Get recent transaction details without using an [indexing](https://docs.near.org/docs/concepts/indexer) service. | -| [Batch Transactions](./transactions/batch-transactions.js) | Sign and send multiple [transactions](https://docs.near.org/docs/concepts/transaction). | +| [Get Transaction Status](./transactions/get-tx-status.ts) | Gets transaction status using a tx hash and associated account/contract ID. | +| [Batch Transactions](./transactions/batch-transactions.ts) | Sign and send multiple [transactions](https://docs.near.org/docs/concepts/transaction). | | **UTILS** | | -| [Deploy Contract](./utils/deploy-contract.js) | Deploys a contract using a pre-compiled .wasm file | -| [Calculate Gas](./utils/calculate-gas.js) | Calculate [gas burnt](https://docs.near.org/docs/concepts/gas) from any contract call. | -| [Read State w/o Account](./utils/get-state.js) | Read state of a contract without instantiating an account. | -| [Wrap](./utils/wrap-near.js) & [Unwrap](./utils/unwrap-near.js) NEAR | Wrap and unwrap NEAR using the `wrap.near` smart contract. | -| [Verify Signature](./utils/verify-signature.js) | Verify a key pair signature. | +| [Deploy Contract](./utils/deploy-contract.ts) | Deploys a contract using a pre-compiled .wasm file | +| [Calculate Gas](./utils/calculate-gas.ts) | Calculate [gas burnt](https://docs.near.org/docs/concepts/gas) from any contract call. | +| [Read State w/o Account](./utils/get-state.ts) | Read state of a contract without instantiating an account. | +| [Wrap](./utils/wrap-near.ts) & [Unwrap](./utils/unwrap-near.ts) NEAR | Wrap and unwrap NEAR using the `wrap.near` smart contract. | +| [Verify Signature](./utils/verify-signature.ts) | Verify a key pair signature. | ## Requirements