From 7bdb98f1aa14ffd73a0836f55ff0f7de63929911 Mon Sep 17 00:00:00 2001 From: HananINouman Date: Fri, 24 May 2024 15:02:05 +0300 Subject: [PATCH] update sdk examples lines --- docs/sdk/classes/Client.md | 11 +++++++---- docs/sdk/functions/validateClusterLock.md | 2 +- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/docs/sdk/classes/Client.md b/docs/sdk/classes/Client.md index 2fc574dc2c..d0f88a7299 100644 --- a/docs/sdk/classes/Client.md +++ b/docs/sdk/classes/Client.md @@ -54,6 +54,9 @@ terms and conditions acceptance success message. On unverified signature or wrong hash. +An example of how to use acceptObolLatestTermsAndConditions: +[acceptObolLatestTermsAndConditions](https://github.com/ObolNetwork/obol-sdk-examples/blob/main/TS-Example/index.ts#L44) + #### Source index.ts:59 @@ -83,7 +86,7 @@ config_hash. On duplicate entries, missing or wrong cluster keys. An example of how to use createClusterDefinition: -[createObolCluster](https://github.com/ObolNetwork/obol-sdk-examples/blob/main/TS-Example/index.ts) +[createObolCluster](https://github.com/ObolNetwork/obol-sdk-examples/blob/main/TS-Example/index.ts#L59) #### Source @@ -115,7 +118,7 @@ The cluster definition. On unauthorized, duplicate entries, missing keys, not found cluster or invalid data. An example of how to use acceptClusterDefinition: -[acceptClusterDefinition](https://github.com/ObolNetwork/obol-sdk-examples/blob/main/TS-Example/index.ts) +[acceptClusterDefinition](https://github.com/ObolNetwork/obol-sdk-examples/blob/main/TS-Example/index.ts#L106) #### Source @@ -144,7 +147,7 @@ The cluster definition for config hash On not found config hash. An example of how to use getClusterDefinition: -[getObolClusterDefinition](https://github.com/ObolNetwork/obol-sdk-examples/blob/main/TS-Example/index.ts) +[getObolClusterDefinition](https://github.com/ObolNetwork/obol-sdk-examples/blob/main/TS-Example/index.ts#L74) #### Source @@ -173,7 +176,7 @@ The matched cluster details (lock) from DB On not found cluster definition or lock. An example of how to use getClusterLock: -[getObolClusterLock](https://github.com/ObolNetwork/obol-sdk-examples/blob/main/TS-Example/index.ts) +[getObolClusterLock](https://github.com/ObolNetwork/obol-sdk-examples/blob/main/TS-Example/index.ts#L89) #### Source diff --git a/docs/sdk/functions/validateClusterLock.md b/docs/sdk/functions/validateClusterLock.md index 4c8ff72c31..62d62baabc 100644 --- a/docs/sdk/functions/validateClusterLock.md +++ b/docs/sdk/functions/validateClusterLock.md @@ -19,7 +19,7 @@ boolean result to indicate if lock is valid on missing keys or values. An example of how to use validateClusterLock: -[validateClusterLock](https://github.com/ObolNetwork/obol-sdk-examples/blob/main/TS-Example/index.ts) +[validateClusterLock](https://github.com/ObolNetwork/obol-sdk-examples/blob/main/TS-Example/index.ts#L127) ## Source