From 7e4090cf43f7103516ff3fcf875773e625a4301c Mon Sep 17 00:00:00 2001 From: Vivek Jain Date: Fri, 13 Dec 2024 14:45:35 +0530 Subject: [PATCH] Minor fixes --- docs/content/developer/dev-cheat-sheet.mdx | 2 +- docs/content/sidebars/ts-sdk.js | 2 +- docs/site/docusaurus.config.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/content/developer/dev-cheat-sheet.mdx b/docs/content/developer/dev-cheat-sheet.mdx index aa067459d45..71d1fb88b31 100644 --- a/docs/content/developer/dev-cheat-sheet.mdx +++ b/docs/content/developer/dev-cheat-sheet.mdx @@ -36,7 +36,7 @@ Quick reference on best practices for IOTA Network developers. | **Topic** | **Description** | |-|-| -| **Optimal performance** | For optimal performance and data consistency, apps should use the wallet's [`signTransactionBlock`](../references/ts-sdk/dapp-kit/index.mdx) API to sign transactions and then submit them via [`execute_transactionBlock`](/iota-api-ref#iota_executetransactionblock) on the app's full node. This ensures immediate read-after-write consistency, as the app's full node reflects writes instantly, avoiding delays from checkpointing. | +| **Optimal performance** | For optimal performance and data consistency, apps should use the wallet's [`signTransactionBlock`](../ts-sdk/dapp-kit/index.mdx) API to sign transactions and then submit them via [`execute_transactionBlock`](/iota-api-ref#iota_executetransactionblock) on the app's full node. This ensures immediate read-after-write consistency, as the app's full node reflects writes instantly, avoiding delays from checkpointing. | | **Lower latency** | For lower latency, use [`executeTransactionBlock`](/iota-api-ref#iota_executetransactionblock) with `"showEffects": false` and `"showEvents": false` if your app only needs confirmation of a transaction without immediate access to its effects or events.| | **Local cache** | Apps should implement a local cache for frequently read data rather than over-fetching from the full node. | | **Transaction cache**| Whenever possible,use programmable transaction blocks to compose on-chain functionality instead of deploying new contracts, enabling batching and lowering gas fees. | diff --git a/docs/content/sidebars/ts-sdk.js b/docs/content/sidebars/ts-sdk.js index ac6e746e291..66c95ad3456 100644 --- a/docs/content/sidebars/ts-sdk.js +++ b/docs/content/sidebars/ts-sdk.js @@ -3,7 +3,7 @@ // SPDX-License-Identifier: Apache-2.0 import typedocSidebar from '../ts-sdk/api/typedoc-sidebar.cjs'; -const references = [ +const tsSDK = [ { type: 'category', label: 'Typescript SDK', diff --git a/docs/site/docusaurus.config.js b/docs/site/docusaurus.config.js index 4eddae4d567..221d7023d76 100644 --- a/docs/site/docusaurus.config.js +++ b/docs/site/docusaurus.config.js @@ -252,7 +252,7 @@ const config = { }, { label: "TS SDK", - to: "references/ts-sdk/typescript/", + to: "ts-sdk/typescript/", }, { label: "IOTA Identity",