From 602dd8854a582a357a341f0b65c757db87afb9d7 Mon Sep 17 00:00:00 2001 From: denbite Date: Mon, 18 Nov 2024 10:39:00 +0100 Subject: [PATCH] docs: add missing ending for example block --- packages/near-sdk-js/lib/api.d.ts | 1 + packages/near-sdk-js/lib/api.js | 1 + packages/near-sdk-js/src/api.ts | 1 + 3 files changed, 3 insertions(+) diff --git a/packages/near-sdk-js/lib/api.d.ts b/packages/near-sdk-js/lib/api.d.ts index 9f7bcffe..75f8d75d 100644 --- a/packages/near-sdk-js/lib/api.d.ts +++ b/packages/near-sdk-js/lib/api.d.ts @@ -496,6 +496,7 @@ export declare function promiseBatchThen(promiseIndex: PromiseIndex, accountId: * const promise = near.promiseBatchCreate("receiver.near"); * * near.promiseBatchActionCreateAccount(promise); + * ``` */ export declare function promiseBatchActionCreateAccount(promiseIndex: PromiseIndex): void; /** diff --git a/packages/near-sdk-js/lib/api.js b/packages/near-sdk-js/lib/api.js index 1a7570e5..ea37d756 100644 --- a/packages/near-sdk-js/lib/api.js +++ b/packages/near-sdk-js/lib/api.js @@ -597,6 +597,7 @@ export function promiseBatchThen(promiseIndex, accountId) { * const promise = near.promiseBatchCreate("receiver.near"); * * near.promiseBatchActionCreateAccount(promise); + * ``` */ export function promiseBatchActionCreateAccount(promiseIndex) { env.promise_batch_action_create_account(promiseIndex); diff --git a/packages/near-sdk-js/src/api.ts b/packages/near-sdk-js/src/api.ts index f20fdc40..a30ec194 100644 --- a/packages/near-sdk-js/src/api.ts +++ b/packages/near-sdk-js/src/api.ts @@ -846,6 +846,7 @@ export function promiseBatchThen( * const promise = near.promiseBatchCreate("receiver.near"); * * near.promiseBatchActionCreateAccount(promise); + * ``` */ export function promiseBatchActionCreateAccount( promiseIndex: PromiseIndex