From c71b3445510cef788fb2cf903da3a0312bf0f552 Mon Sep 17 00:00:00 2001 From: Evgeny Kuzyakov Date: Tue, 1 Oct 2019 11:21:05 -0700 Subject: [PATCH] Change from pending to unknown --- dist/nearlib.js | 3 +- dist/nearlib.min.js | 2 +- docs/nearlib/classes/_account_.account.md | 48 +++++++++---------- .../_account_creator_.accountcreator.md | 2 +- .../_account_creator_.localaccountcreator.md | 8 ++-- .../_account_creator_.urlaccountcreator.md | 8 ++-- .../classes/_connection_.connection.md | 10 ++-- docs/nearlib/classes/_contract_.contract.md | 6 +-- ..._key_store_.browserlocalstoragekeystore.md | 22 ++++----- ...s_in_memory_key_store_.inmemorykeystore.md | 16 +++---- .../classes/_key_stores_keystore_.keystore.md | 12 ++--- ...y_stores_merge_key_store_.mergekeystore.md | 16 +++---- ...keystore_.unencryptedfilesystemkeystore.md | 18 +++---- docs/nearlib/classes/_near_.near.md | 16 +++---- ...ders_json_rpc_provider_.jsonrpcprovider.md | 18 +++---- .../_providers_provider_.executionstatus.md | 8 ++-- ...roviders_provider_.finalexecutionstatus.md | 6 +-- .../classes/_providers_provider_.provider.md | 12 ++--- .../classes/_signer_.inmemorysigner.md | 12 ++--- docs/nearlib/classes/_signer_.signer.md | 8 ++-- .../classes/_transaction_.accesskey.md | 6 +-- .../_transaction_.accesskeypermission.md | 8 ++-- docs/nearlib/classes/_transaction_.action.md | 20 ++++---- docs/nearlib/classes/_transaction_.addkey.md | 6 +-- .../classes/_transaction_.createaccount.md | 2 +- .../classes/_transaction_.deleteaccount.md | 4 +- .../classes/_transaction_.deletekey.md | 4 +- .../classes/_transaction_.deploycontract.md | 4 +- .../_transaction_.fullaccesspermission.md | 2 +- .../classes/_transaction_.functioncall.md | 10 ++-- .../_transaction_.functioncallpermission.md | 8 ++-- docs/nearlib/classes/_transaction_.iaction.md | 2 +- .../classes/_transaction_.signature.md | 6 +-- .../_transaction_.signedtransaction.md | 8 ++-- docs/nearlib/classes/_transaction_.stake.md | 6 +-- .../classes/_transaction_.transaction.md | 14 +++--- .../nearlib/classes/_transaction_.transfer.md | 4 +- .../classes/_utils_enums_.assignable.md | 2 +- docs/nearlib/classes/_utils_enums_.enum.md | 4 +- .../classes/_utils_key_pair_.keypair.md | 12 ++--- .../_utils_key_pair_.keypaired25519.md | 18 +++---- .../classes/_utils_key_pair_.publickey.md | 12 ++--- .../classes/_utils_serialize_.binaryreader.md | 22 ++++----- .../classes/_utils_serialize_.binarywriter.md | 26 +++++----- .../classes/_wallet_account_.walletaccount.md | 24 +++++----- ...roviders_provider_.executionstatusbasic.md | 13 ++++- ...ers_provider_.finalexecutionstatusbasic.md | 6 +-- ..._provider_.legacyfinaltransactionstatus.md | 8 ++-- ...iders_provider_.legacytransactionstatus.md | 6 +-- .../nearlib/enums/_utils_key_pair_.keytype.md | 2 +- .../interfaces/_account_.accountstate.md | 8 ++-- ...ypted_file_system_keystore_.accountinfo.md | 4 +- .../_providers_provider_.blockheader.md | 18 +++---- .../_providers_provider_.blockresult.md | 4 +- .../_providers_provider_.executionoutcome.md | 8 ++-- ...viders_provider_.executionoutcomewithid.md | 4 +- ...oviders_provider_.finalexecutionoutcome.md | 6 +-- ..._provider_.legacyfinaltransactionresult.md | 4 +- ...roviders_provider_.legacytransactionlog.md | 4 +- ...iders_provider_.legacytransactionresult.md | 8 ++-- .../_providers_provider_.nodestatusresult.md | 8 ++-- .../_providers_provider_.syncinfo.md | 10 ++-- .../_providers_provider_.totalweight.md | 2 +- .../_providers_provider_.transaction.md | 8 ++-- .../interfaces/_utils_key_pair_.signature.md | 4 +- .../interfaces/_utils_network_.network.md | 6 +-- .../interfaces/_utils_web_.connectioninfo.md | 12 ++--- docs/nearlib/modules/_account_.md | 10 ++-- docs/nearlib/modules/_connection_.md | 4 +- ...stores_browser_local_storage_key_store_.md | 2 +- ...tores_unencrypted_file_system_keystore_.md | 20 ++++---- docs/nearlib/modules/_near_.md | 2 +- .../modules/_providers_json_rpc_provider_.md | 2 +- docs/nearlib/modules/_providers_provider_.md | 6 +-- docs/nearlib/modules/_transaction_.md | 24 +++++----- docs/nearlib/modules/_utils_key_pair_.md | 6 +-- docs/nearlib/modules/_utils_serialize_.md | 20 ++++---- docs/nearlib/modules/_utils_web_.md | 4 +- docs/nearlib/modules/_wallet_account_.md | 6 +-- lib/providers/provider.d.ts | 1 + lib/providers/provider.js | 3 +- src.ts/providers/provider.ts | 3 +- 82 files changed, 382 insertions(+), 369 deletions(-) diff --git a/dist/nearlib.js b/dist/nearlib.js index a96aa95d1c..e1454869ba 100644 --- a/dist/nearlib.js +++ b/dist/nearlib.js @@ -779,6 +779,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); const enums_1 = require("../utils/enums"); var ExecutionStatusBasic; (function (ExecutionStatusBasic) { + ExecutionStatusBasic["Unknown"] = "Unknown"; ExecutionStatusBasic["Pending"] = "Pending"; ExecutionStatusBasic["Failure"] = "Failure"; })(ExecutionStatusBasic = exports.ExecutionStatusBasic || (exports.ExecutionStatusBasic = {})); @@ -810,7 +811,7 @@ var LegacyTransactionStatus; function mapLegacyTransactionLog(tl) { let status; if (tl.result.status === LegacyTransactionStatus.Unknown) { - status = ExecutionStatusBasic.Pending; + status = ExecutionStatusBasic.Unknown; } else if (tl.result.status === LegacyTransactionStatus.Failed) { status = ExecutionStatusBasic.Failure; diff --git a/dist/nearlib.min.js b/dist/nearlib.min.js index fbd86e1a6e..259331051e 100644 --- a/dist/nearlib.min.js +++ b/dist/nearlib.min.js @@ -51,7 +51,7 @@ require("error-polyfill"),window.nearlib=require("./lib/index"),window.Buffer=Bu }).call(this,require("buffer").Buffer) },{"../utils/serialize":23,"../utils/web":24,"./provider":16,"buffer":32}],16:[function(require,module,exports){ (function (Buffer){ -"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const enums_1=require("../utils/enums");var ExecutionStatusBasic,FinalExecutionStatusBasic,LegacyFinalTransactionStatus,LegacyTransactionStatus;!function(t){t.Pending="Pending",t.Failure="Failure"}(ExecutionStatusBasic=exports.ExecutionStatusBasic||(exports.ExecutionStatusBasic={}));class ExecutionStatus extends enums_1.Enum{}exports.ExecutionStatus=ExecutionStatus,function(t){t.NotStarted="NotStarted",t.Started="Started",t.Failure="Failure"}(FinalExecutionStatusBasic=exports.FinalExecutionStatusBasic||(exports.FinalExecutionStatusBasic={}));class FinalExecutionStatus extends enums_1.Enum{}function mapLegacyTransactionLog(t){let a;return t.result.status===LegacyTransactionStatus.Unknown?a=ExecutionStatusBasic.Pending:t.result.status===LegacyTransactionStatus.Failed?a=ExecutionStatusBasic.Failure:t.result.status===LegacyTransactionStatus.Completed&&(a={SuccessValue:t.result.result||""}),{id:t.hash,outcome:{status:a,logs:t.result.logs,receipt_ids:t.result.receipts,gas_burnt:0}}}function adaptTransactionResult(t){if("transactions"in t){let a;if((t=t).status===LegacyFinalTransactionStatus.Unknown)a=FinalExecutionStatusBasic.NotStarted;else if(t.status===LegacyFinalTransactionStatus.Started)a=FinalExecutionStatusBasic.Started;else if(t.status===LegacyFinalTransactionStatus.Failed)a=FinalExecutionStatusBasic.Failure;else if(t.status===LegacyFinalTransactionStatus.Completed){let s="";for(let a=t.transactions.length-1;a>=0;--a){const e=t.transactions[a];if(e.result&&e.result.result&&e.result.result.length>0){s=e.result.result;break}}a={SuccessValue:s}}return{status:a,transaction:mapLegacyTransactionLog(t.transactions.splice(0,1)[0]),receipts:t.transactions.map(mapLegacyTransactionLog)}}return t}exports.FinalExecutionStatus=FinalExecutionStatus,function(t){t.Unknown="Unknown",t.Started="Started",t.Failed="Failed",t.Completed="Completed"}(LegacyFinalTransactionStatus||(LegacyFinalTransactionStatus={})),function(t){t.Unknown="Unknown",t.Completed="Completed",t.Failed="Failed"}(LegacyTransactionStatus||(LegacyTransactionStatus={})),exports.adaptTransactionResult=adaptTransactionResult;class Provider{}function getTransactionLastResult(t){if("object"==typeof t.status&&"string"==typeof t.status.SuccessValue){const a=Buffer.from(t.status.SuccessValue,"base64").toString();try{return JSON.parse(a)}catch(t){return a}}return null}exports.Provider=Provider,exports.getTransactionLastResult=getTransactionLastResult; +"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const enums_1=require("../utils/enums");var ExecutionStatusBasic,FinalExecutionStatusBasic,LegacyFinalTransactionStatus,LegacyTransactionStatus;!function(t){t.Unknown="Unknown",t.Pending="Pending",t.Failure="Failure"}(ExecutionStatusBasic=exports.ExecutionStatusBasic||(exports.ExecutionStatusBasic={}));class ExecutionStatus extends enums_1.Enum{}exports.ExecutionStatus=ExecutionStatus,function(t){t.NotStarted="NotStarted",t.Started="Started",t.Failure="Failure"}(FinalExecutionStatusBasic=exports.FinalExecutionStatusBasic||(exports.FinalExecutionStatusBasic={}));class FinalExecutionStatus extends enums_1.Enum{}function mapLegacyTransactionLog(t){let a;return t.result.status===LegacyTransactionStatus.Unknown?a=ExecutionStatusBasic.Unknown:t.result.status===LegacyTransactionStatus.Failed?a=ExecutionStatusBasic.Failure:t.result.status===LegacyTransactionStatus.Completed&&(a={SuccessValue:t.result.result||""}),{id:t.hash,outcome:{status:a,logs:t.result.logs,receipt_ids:t.result.receipts,gas_burnt:0}}}function adaptTransactionResult(t){if("transactions"in t){let a;if((t=t).status===LegacyFinalTransactionStatus.Unknown)a=FinalExecutionStatusBasic.NotStarted;else if(t.status===LegacyFinalTransactionStatus.Started)a=FinalExecutionStatusBasic.Started;else if(t.status===LegacyFinalTransactionStatus.Failed)a=FinalExecutionStatusBasic.Failure;else if(t.status===LegacyFinalTransactionStatus.Completed){let s="";for(let a=t.transactions.length-1;a>=0;--a){const e=t.transactions[a];if(e.result&&e.result.result&&e.result.result.length>0){s=e.result.result;break}}a={SuccessValue:s}}return{status:a,transaction:mapLegacyTransactionLog(t.transactions.splice(0,1)[0]),receipts:t.transactions.map(mapLegacyTransactionLog)}}return t}exports.FinalExecutionStatus=FinalExecutionStatus,function(t){t.Unknown="Unknown",t.Started="Started",t.Failed="Failed",t.Completed="Completed"}(LegacyFinalTransactionStatus||(LegacyFinalTransactionStatus={})),function(t){t.Unknown="Unknown",t.Completed="Completed",t.Failed="Failed"}(LegacyTransactionStatus||(LegacyTransactionStatus={})),exports.adaptTransactionResult=adaptTransactionResult;class Provider{}function getTransactionLastResult(t){if("object"==typeof t.status&&"string"==typeof t.status.SuccessValue){const a=Buffer.from(t.status.SuccessValue,"base64").toString();try{return JSON.parse(a)}catch(t){return a}}return null}exports.Provider=Provider,exports.getTransactionLastResult=getTransactionLastResult; }).call(this,require("buffer").Buffer) },{"../utils/enums":19,"buffer":32}],17:[function(require,module,exports){ diff --git a/docs/nearlib/classes/_account_.account.md b/docs/nearlib/classes/_account_.account.md index 01e6432738..5991c1a417 100644 --- a/docs/nearlib/classes/_account_.account.md +++ b/docs/nearlib/classes/_account_.account.md @@ -52,7 +52,7 @@ sidebar_label: "Account" \+ **new Account**(`connection`: [Connection](_connection_.connection.md), `accountId`: string): *[Account](_account_.account.md)* -*Defined in [account.ts:46](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/account.ts#L46)* +*Defined in [account.ts:46](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/account.ts#L46)* **Parameters:** @@ -69,7 +69,7 @@ Name | Type | • **_accessKey**: *[AccessKey](_transaction_.accesskey.md)* -*Defined in [account.ts:41](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/account.ts#L41)* +*Defined in [account.ts:41](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/account.ts#L41)* ___ @@ -77,7 +77,7 @@ ___ • **_ready**: *Promise‹void›* -*Defined in [account.ts:43](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/account.ts#L43)* +*Defined in [account.ts:43](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/account.ts#L43)* ___ @@ -85,7 +85,7 @@ ___ • **_state**: *[AccountState](../interfaces/_account_.accountstate.md)* -*Defined in [account.ts:40](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/account.ts#L40)* +*Defined in [account.ts:40](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/account.ts#L40)* ___ @@ -93,7 +93,7 @@ ___ • **accountId**: *string* -*Defined in [account.ts:39](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/account.ts#L39)* +*Defined in [account.ts:39](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/account.ts#L39)* ___ @@ -101,7 +101,7 @@ ___ • **connection**: *[Connection](_connection_.connection.md)* -*Defined in [account.ts:38](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/account.ts#L38)* +*Defined in [account.ts:38](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/account.ts#L38)* ## Accessors @@ -109,7 +109,7 @@ ___ • **get ready**(): *Promise‹void›* -*Defined in [account.ts:44](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/account.ts#L44)* +*Defined in [account.ts:44](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/account.ts#L44)* **Returns:** *Promise‹void›* @@ -119,7 +119,7 @@ ___ ▸ **addKey**(`publicKey`: string | [PublicKey](_utils_key_pair_.publickey.md), `contractId?`: string, `methodName?`: string, `amount?`: BN): *Promise‹[FinalExecutionOutcome](../interfaces/_providers_provider_.finalexecutionoutcome.md)›* -*Defined in [account.ts:163](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/account.ts#L163)* +*Defined in [account.ts:163](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/account.ts#L163)* **Parameters:** @@ -138,7 +138,7 @@ ___ ▸ **createAccount**(`newAccountId`: string, `publicKey`: string | [PublicKey](_utils_key_pair_.publickey.md), `amount`: BN): *Promise‹[FinalExecutionOutcome](../interfaces/_providers_provider_.finalexecutionoutcome.md)›* -*Defined in [account.ts:142](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/account.ts#L142)* +*Defined in [account.ts:142](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/account.ts#L142)* **Parameters:** @@ -156,7 +156,7 @@ ___ ▸ **createAndDeployContract**(`contractId`: string, `publicKey`: string | [PublicKey](_utils_key_pair_.publickey.md), `data`: Uint8Array, `amount`: BN): *Promise‹[Account](_account_.account.md)›* -*Defined in [account.ts:131](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/account.ts#L131)* +*Defined in [account.ts:131](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/account.ts#L131)* **Parameters:** @@ -175,7 +175,7 @@ ___ ▸ **deleteAccount**(`beneficiaryId`: string): *Promise‹[FinalExecutionOutcome](../interfaces/_providers_provider_.finalexecutionoutcome.md)›* -*Defined in [account.ts:147](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/account.ts#L147)* +*Defined in [account.ts:147](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/account.ts#L147)* **Parameters:** @@ -191,7 +191,7 @@ ___ ▸ **deleteKey**(`publicKey`: string | [PublicKey](_utils_key_pair_.publickey.md)): *Promise‹[FinalExecutionOutcome](../interfaces/_providers_provider_.finalexecutionoutcome.md)›* -*Defined in [account.ts:173](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/account.ts#L173)* +*Defined in [account.ts:173](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/account.ts#L173)* **Parameters:** @@ -207,7 +207,7 @@ ___ ▸ **deployContract**(`data`: Uint8Array): *Promise‹[FinalExecutionOutcome](../interfaces/_providers_provider_.finalexecutionoutcome.md)›* -*Defined in [account.ts:151](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/account.ts#L151)* +*Defined in [account.ts:151](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/account.ts#L151)* **Parameters:** @@ -223,7 +223,7 @@ ___ ▸ **fetchState**(): *Promise‹void›* -*Defined in [account.ts:53](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/account.ts#L53)* +*Defined in [account.ts:53](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/account.ts#L53)* **Returns:** *Promise‹void›* @@ -233,7 +233,7 @@ ___ ▸ **functionCall**(`contractId`: string, `methodName`: string, `args`: any, `gas`: number, `amount?`: BN): *Promise‹[FinalExecutionOutcome](../interfaces/_providers_provider_.finalexecutionoutcome.md)›* -*Defined in [account.ts:155](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/account.ts#L155)* +*Defined in [account.ts:155](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/account.ts#L155)* **Parameters:** @@ -253,7 +253,7 @@ ___ ▸ **getAccessKeys**(): *Promise‹any›* -*Defined in [account.ts:190](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/account.ts#L190)* +*Defined in [account.ts:190](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/account.ts#L190)* **Returns:** *Promise‹any›* @@ -263,7 +263,7 @@ ___ ▸ **getAccountDetails**(): *Promise‹any›* -*Defined in [account.ts:195](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/account.ts#L195)* +*Defined in [account.ts:195](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/account.ts#L195)* **Returns:** *Promise‹any›* @@ -273,7 +273,7 @@ ___ ▸ **printLogs**(`contractId`: string, `logs`: string[]): *void* -*Defined in [account.ts:72](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/account.ts#L72)* +*Defined in [account.ts:72](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/account.ts#L72)* **Parameters:** @@ -290,7 +290,7 @@ ___ ▸ **retryTxResult**(`txHash`: Uint8Array): *Promise‹[FinalExecutionOutcome](../interfaces/_providers_provider_.finalexecutionoutcome.md)›* -*Defined in [account.ts:78](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/account.ts#L78)* +*Defined in [account.ts:78](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/account.ts#L78)* **Parameters:** @@ -306,7 +306,7 @@ ___ ▸ **sendMoney**(`receiverId`: string, `amount`: BN): *Promise‹[FinalExecutionOutcome](../interfaces/_providers_provider_.finalexecutionoutcome.md)›* -*Defined in [account.ts:138](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/account.ts#L138)* +*Defined in [account.ts:138](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/account.ts#L138)* **Parameters:** @@ -323,7 +323,7 @@ ___ ▸ **signAndSendTransaction**(`receiverId`: string, `actions`: [Action](_transaction_.action.md)[]): *Promise‹[FinalExecutionOutcome](../interfaces/_providers_provider_.finalexecutionoutcome.md)›* -*Defined in [account.ts:94](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/account.ts#L94)* +*Defined in [account.ts:94](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/account.ts#L94)* **Parameters:** @@ -340,7 +340,7 @@ ___ ▸ **stake**(`publicKey`: string | [PublicKey](_utils_key_pair_.publickey.md), `amount`: BN): *Promise‹[FinalExecutionOutcome](../interfaces/_providers_provider_.finalexecutionoutcome.md)›* -*Defined in [account.ts:177](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/account.ts#L177)* +*Defined in [account.ts:177](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/account.ts#L177)* **Parameters:** @@ -357,7 +357,7 @@ ___ ▸ **state**(): *Promise‹[AccountState](../interfaces/_account_.accountstate.md)›* -*Defined in [account.ts:67](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/account.ts#L67)* +*Defined in [account.ts:67](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/account.ts#L67)* **Returns:** *Promise‹[AccountState](../interfaces/_account_.accountstate.md)›* @@ -367,7 +367,7 @@ ___ ▸ **viewFunction**(`contractId`: string, `methodName`: string, `args`: any): *Promise‹any›* -*Defined in [account.ts:181](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/account.ts#L181)* +*Defined in [account.ts:181](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/account.ts#L181)* **Parameters:** diff --git a/docs/nearlib/classes/_account_creator_.accountcreator.md b/docs/nearlib/classes/_account_creator_.accountcreator.md index 31e7947d59..b9530ee56e 100644 --- a/docs/nearlib/classes/_account_creator_.accountcreator.md +++ b/docs/nearlib/classes/_account_creator_.accountcreator.md @@ -26,7 +26,7 @@ Account creator provides interface to specific implementation to acutally create ▸ **createAccount**(`newAccountId`: string, `publicKey`: [PublicKey](_utils_key_pair_.publickey.md)): *Promise‹void›* -*Defined in [account_creator.ts:11](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/account_creator.ts#L11)* +*Defined in [account_creator.ts:11](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/account_creator.ts#L11)* **Parameters:** diff --git a/docs/nearlib/classes/_account_creator_.localaccountcreator.md b/docs/nearlib/classes/_account_creator_.localaccountcreator.md index 5929cd2c44..2e57e9a972 100644 --- a/docs/nearlib/classes/_account_creator_.localaccountcreator.md +++ b/docs/nearlib/classes/_account_creator_.localaccountcreator.md @@ -31,7 +31,7 @@ sidebar_label: "LocalAccountCreator" \+ **new LocalAccountCreator**(`masterAccount`: [Account](_account_.account.md), `initialBalance`: BN): *[LocalAccountCreator](_account_creator_.localaccountcreator.md)* -*Defined in [account_creator.ts:16](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/account_creator.ts#L16)* +*Defined in [account_creator.ts:16](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/account_creator.ts#L16)* **Parameters:** @@ -48,7 +48,7 @@ Name | Type | • **initialBalance**: *BN* -*Defined in [account_creator.ts:16](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/account_creator.ts#L16)* +*Defined in [account_creator.ts:16](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/account_creator.ts#L16)* ___ @@ -56,7 +56,7 @@ ___ • **masterAccount**: *[Account](_account_.account.md)* -*Defined in [account_creator.ts:15](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/account_creator.ts#L15)* +*Defined in [account_creator.ts:15](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/account_creator.ts#L15)* ## Methods @@ -66,7 +66,7 @@ ___ *Overrides [AccountCreator](_account_creator_.accountcreator.md).[createAccount](_account_creator_.accountcreator.md#abstract-createaccount)* -*Defined in [account_creator.ts:24](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/account_creator.ts#L24)* +*Defined in [account_creator.ts:24](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/account_creator.ts#L24)* **Parameters:** diff --git a/docs/nearlib/classes/_account_creator_.urlaccountcreator.md b/docs/nearlib/classes/_account_creator_.urlaccountcreator.md index c941dbc110..68d570d467 100644 --- a/docs/nearlib/classes/_account_creator_.urlaccountcreator.md +++ b/docs/nearlib/classes/_account_creator_.urlaccountcreator.md @@ -31,7 +31,7 @@ sidebar_label: "UrlAccountCreator" \+ **new UrlAccountCreator**(`connection`: [Connection](_connection_.connection.md), `helperUrl`: string): *[UrlAccountCreator](_account_creator_.urlaccountcreator.md)* -*Defined in [account_creator.ts:32](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/account_creator.ts#L32)* +*Defined in [account_creator.ts:32](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/account_creator.ts#L32)* **Parameters:** @@ -48,7 +48,7 @@ Name | Type | • **connection**: *[Connection](_connection_.connection.md)* -*Defined in [account_creator.ts:31](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/account_creator.ts#L31)* +*Defined in [account_creator.ts:31](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/account_creator.ts#L31)* ___ @@ -56,7 +56,7 @@ ___ • **helperConnection**: *[ConnectionInfo](../interfaces/_utils_web_.connectioninfo.md)* -*Defined in [account_creator.ts:32](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/account_creator.ts#L32)* +*Defined in [account_creator.ts:32](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/account_creator.ts#L32)* ## Methods @@ -66,7 +66,7 @@ ___ *Overrides [AccountCreator](_account_creator_.accountcreator.md).[createAccount](_account_creator_.accountcreator.md#abstract-createaccount)* -*Defined in [account_creator.ts:40](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/account_creator.ts#L40)* +*Defined in [account_creator.ts:40](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/account_creator.ts#L40)* **Parameters:** diff --git a/docs/nearlib/classes/_connection_.connection.md b/docs/nearlib/classes/_connection_.connection.md index 6154c3efb8..9448725c43 100644 --- a/docs/nearlib/classes/_connection_.connection.md +++ b/docs/nearlib/classes/_connection_.connection.md @@ -30,7 +30,7 @@ sidebar_label: "Connection" \+ **new Connection**(`networkId`: string, `provider`: [Provider](_providers_provider_.provider.md), `signer`: [Signer](_signer_.signer.md)): *[Connection](_connection_.connection.md)* -*Defined in [connection.ts:25](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/connection.ts#L25)* +*Defined in [connection.ts:25](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/connection.ts#L25)* **Parameters:** @@ -48,7 +48,7 @@ Name | Type | • **networkId**: *string* -*Defined in [connection.ts:23](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/connection.ts#L23)* +*Defined in [connection.ts:23](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/connection.ts#L23)* ___ @@ -56,7 +56,7 @@ ___ • **provider**: *[Provider](_providers_provider_.provider.md)* -*Defined in [connection.ts:24](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/connection.ts#L24)* +*Defined in [connection.ts:24](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/connection.ts#L24)* ___ @@ -64,7 +64,7 @@ ___ • **signer**: *[Signer](_signer_.signer.md)* -*Defined in [connection.ts:25](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/connection.ts#L25)* +*Defined in [connection.ts:25](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/connection.ts#L25)* ## Methods @@ -72,7 +72,7 @@ ___ ▸ **fromConfig**(`config`: any): *[Connection](_connection_.connection.md)* -*Defined in [connection.ts:33](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/connection.ts#L33)* +*Defined in [connection.ts:33](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/connection.ts#L33)* **Parameters:** diff --git a/docs/nearlib/classes/_contract_.contract.md b/docs/nearlib/classes/_contract_.contract.md index 63528054b7..2f6868cce2 100644 --- a/docs/nearlib/classes/_contract_.contract.md +++ b/docs/nearlib/classes/_contract_.contract.md @@ -25,7 +25,7 @@ sidebar_label: "Contract" \+ **new Contract**(`account`: [Account](_account_.account.md), `contractId`: string, `options`: object): *[Contract](_contract_.contract.md)* -*Defined in [contract.ts:9](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/contract.ts#L9)* +*Defined in [contract.ts:9](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/contract.ts#L9)* **Parameters:** @@ -48,7 +48,7 @@ Name | Type | • **account**: *[Account](_account_.account.md)* -*Defined in [contract.ts:8](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/contract.ts#L8)* +*Defined in [contract.ts:8](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/contract.ts#L8)* ___ @@ -56,4 +56,4 @@ ___ • **contractId**: *string* -*Defined in [contract.ts:9](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/contract.ts#L9)* +*Defined in [contract.ts:9](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/contract.ts#L9)* diff --git a/docs/nearlib/classes/_key_stores_browser_local_storage_key_store_.browserlocalstoragekeystore.md b/docs/nearlib/classes/_key_stores_browser_local_storage_key_store_.browserlocalstoragekeystore.md index a8f027cd47..a49a8702be 100644 --- a/docs/nearlib/classes/_key_stores_browser_local_storage_key_store_.browserlocalstoragekeystore.md +++ b/docs/nearlib/classes/_key_stores_browser_local_storage_key_store_.browserlocalstoragekeystore.md @@ -38,7 +38,7 @@ sidebar_label: "BrowserLocalStorageKeyStore" \+ **new BrowserLocalStorageKeyStore**(`localStorage`: any, `prefix`: string): *[BrowserLocalStorageKeyStore](_key_stores_browser_local_storage_key_store_.browserlocalstoragekeystore.md)* -*Defined in [key_stores/browser_local_storage_key_store.ts:10](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/key_stores/browser_local_storage_key_store.ts#L10)* +*Defined in [key_stores/browser_local_storage_key_store.ts:10](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/key_stores/browser_local_storage_key_store.ts#L10)* **Parameters:** @@ -55,7 +55,7 @@ Name | Type | Default | • **localStorage**: *any* -*Defined in [key_stores/browser_local_storage_key_store.ts:9](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/key_stores/browser_local_storage_key_store.ts#L9)* +*Defined in [key_stores/browser_local_storage_key_store.ts:9](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/key_stores/browser_local_storage_key_store.ts#L9)* ___ @@ -63,7 +63,7 @@ ___ • **prefix**: *string* -*Defined in [key_stores/browser_local_storage_key_store.ts:10](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/key_stores/browser_local_storage_key_store.ts#L10)* +*Defined in [key_stores/browser_local_storage_key_store.ts:10](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/key_stores/browser_local_storage_key_store.ts#L10)* ## Methods @@ -73,7 +73,7 @@ ___ *Overrides [KeyStore](_key_stores_keystore_.keystore.md).[clear](_key_stores_keystore_.keystore.md#abstract-clear)* -*Defined in [key_stores/browser_local_storage_key_store.ts:34](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/key_stores/browser_local_storage_key_store.ts#L34)* +*Defined in [key_stores/browser_local_storage_key_store.ts:34](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/key_stores/browser_local_storage_key_store.ts#L34)* **Returns:** *Promise‹void›* @@ -85,7 +85,7 @@ ___ *Overrides [KeyStore](_key_stores_keystore_.keystore.md).[getAccounts](_key_stores_keystore_.keystore.md#abstract-getaccounts)* -*Defined in [key_stores/browser_local_storage_key_store.ts:53](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/key_stores/browser_local_storage_key_store.ts#L53)* +*Defined in [key_stores/browser_local_storage_key_store.ts:53](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/key_stores/browser_local_storage_key_store.ts#L53)* **Parameters:** @@ -103,7 +103,7 @@ ___ *Overrides [KeyStore](_key_stores_keystore_.keystore.md).[getKey](_key_stores_keystore_.keystore.md#abstract-getkey)* -*Defined in [key_stores/browser_local_storage_key_store.ts:22](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/key_stores/browser_local_storage_key_store.ts#L22)* +*Defined in [key_stores/browser_local_storage_key_store.ts:22](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/key_stores/browser_local_storage_key_store.ts#L22)* **Parameters:** @@ -122,7 +122,7 @@ ___ *Overrides [KeyStore](_key_stores_keystore_.keystore.md).[getNetworks](_key_stores_keystore_.keystore.md#abstract-getnetworks)* -*Defined in [key_stores/browser_local_storage_key_store.ts:42](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/key_stores/browser_local_storage_key_store.ts#L42)* +*Defined in [key_stores/browser_local_storage_key_store.ts:42](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/key_stores/browser_local_storage_key_store.ts#L42)* **Returns:** *Promise‹string[]›* @@ -134,7 +134,7 @@ ___ *Overrides [KeyStore](_key_stores_keystore_.keystore.md).[removeKey](_key_stores_keystore_.keystore.md#abstract-removekey)* -*Defined in [key_stores/browser_local_storage_key_store.ts:30](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/key_stores/browser_local_storage_key_store.ts#L30)* +*Defined in [key_stores/browser_local_storage_key_store.ts:30](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/key_stores/browser_local_storage_key_store.ts#L30)* **Parameters:** @@ -153,7 +153,7 @@ ___ *Overrides [KeyStore](_key_stores_keystore_.keystore.md).[setKey](_key_stores_keystore_.keystore.md#abstract-setkey)* -*Defined in [key_stores/browser_local_storage_key_store.ts:18](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/key_stores/browser_local_storage_key_store.ts#L18)* +*Defined in [key_stores/browser_local_storage_key_store.ts:18](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/key_stores/browser_local_storage_key_store.ts#L18)* **Parameters:** @@ -171,7 +171,7 @@ ___ ▸ **storageKeyForSecretKey**(`networkId`: string, `accountId`: string): *string* -*Defined in [key_stores/browser_local_storage_key_store.ts:66](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/key_stores/browser_local_storage_key_store.ts#L66)* +*Defined in [key_stores/browser_local_storage_key_store.ts:66](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/key_stores/browser_local_storage_key_store.ts#L66)* **Parameters:** @@ -188,6 +188,6 @@ ___ ▸ **storageKeys**(): *IterableIterator‹string›* -*Defined in [key_stores/browser_local_storage_key_store.ts:70](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/key_stores/browser_local_storage_key_store.ts#L70)* +*Defined in [key_stores/browser_local_storage_key_store.ts:70](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/key_stores/browser_local_storage_key_store.ts#L70)* **Returns:** *IterableIterator‹string›* diff --git a/docs/nearlib/classes/_key_stores_in_memory_key_store_.inmemorykeystore.md b/docs/nearlib/classes/_key_stores_in_memory_key_store_.inmemorykeystore.md index 27df3fb51a..cba0f6d16b 100644 --- a/docs/nearlib/classes/_key_stores_in_memory_key_store_.inmemorykeystore.md +++ b/docs/nearlib/classes/_key_stores_in_memory_key_store_.inmemorykeystore.md @@ -37,7 +37,7 @@ Simple in-memory keystore for testing purposes. \+ **new InMemoryKeyStore**(): *[InMemoryKeyStore](_key_stores_in_memory_key_store_.inmemorykeystore.md)* -*Defined in [key_stores/in_memory_key_store.ts:10](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/key_stores/in_memory_key_store.ts#L10)* +*Defined in [key_stores/in_memory_key_store.ts:10](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/key_stores/in_memory_key_store.ts#L10)* **Returns:** *[InMemoryKeyStore](_key_stores_in_memory_key_store_.inmemorykeystore.md)* @@ -47,7 +47,7 @@ Simple in-memory keystore for testing purposes. • **keys**: *object* -*Defined in [key_stores/in_memory_key_store.ts:10](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/key_stores/in_memory_key_store.ts#L10)* +*Defined in [key_stores/in_memory_key_store.ts:10](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/key_stores/in_memory_key_store.ts#L10)* #### Type declaration: @@ -61,7 +61,7 @@ Simple in-memory keystore for testing purposes. *Overrides [KeyStore](_key_stores_keystore_.keystore.md).[clear](_key_stores_keystore_.keystore.md#abstract-clear)* -*Defined in [key_stores/in_memory_key_store.ts:33](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/key_stores/in_memory_key_store.ts#L33)* +*Defined in [key_stores/in_memory_key_store.ts:33](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/key_stores/in_memory_key_store.ts#L33)* **Returns:** *Promise‹void›* @@ -73,7 +73,7 @@ ___ *Overrides [KeyStore](_key_stores_keystore_.keystore.md).[getAccounts](_key_stores_keystore_.keystore.md#abstract-getaccounts)* -*Defined in [key_stores/in_memory_key_store.ts:46](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/key_stores/in_memory_key_store.ts#L46)* +*Defined in [key_stores/in_memory_key_store.ts:46](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/key_stores/in_memory_key_store.ts#L46)* **Parameters:** @@ -91,7 +91,7 @@ ___ *Overrides [KeyStore](_key_stores_keystore_.keystore.md).[getKey](_key_stores_keystore_.keystore.md#abstract-getkey)* -*Defined in [key_stores/in_memory_key_store.ts:21](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/key_stores/in_memory_key_store.ts#L21)* +*Defined in [key_stores/in_memory_key_store.ts:21](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/key_stores/in_memory_key_store.ts#L21)* **Parameters:** @@ -110,7 +110,7 @@ ___ *Overrides [KeyStore](_key_stores_keystore_.keystore.md).[getNetworks](_key_stores_keystore_.keystore.md#abstract-getnetworks)* -*Defined in [key_stores/in_memory_key_store.ts:37](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/key_stores/in_memory_key_store.ts#L37)* +*Defined in [key_stores/in_memory_key_store.ts:37](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/key_stores/in_memory_key_store.ts#L37)* **Returns:** *Promise‹string[]›* @@ -122,7 +122,7 @@ ___ *Overrides [KeyStore](_key_stores_keystore_.keystore.md).[removeKey](_key_stores_keystore_.keystore.md#abstract-removekey)* -*Defined in [key_stores/in_memory_key_store.ts:29](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/key_stores/in_memory_key_store.ts#L29)* +*Defined in [key_stores/in_memory_key_store.ts:29](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/key_stores/in_memory_key_store.ts#L29)* **Parameters:** @@ -141,7 +141,7 @@ ___ *Overrides [KeyStore](_key_stores_keystore_.keystore.md).[setKey](_key_stores_keystore_.keystore.md#abstract-setkey)* -*Defined in [key_stores/in_memory_key_store.ts:17](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/key_stores/in_memory_key_store.ts#L17)* +*Defined in [key_stores/in_memory_key_store.ts:17](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/key_stores/in_memory_key_store.ts#L17)* **Parameters:** diff --git a/docs/nearlib/classes/_key_stores_keystore_.keystore.md b/docs/nearlib/classes/_key_stores_keystore_.keystore.md index f83c0a8fb0..fcc38b9459 100644 --- a/docs/nearlib/classes/_key_stores_keystore_.keystore.md +++ b/docs/nearlib/classes/_key_stores_keystore_.keystore.md @@ -35,7 +35,7 @@ Key store interface for `InMemorySigner`. ▸ **clear**(): *Promise‹void›* -*Defined in [key_stores/keystore.ts:12](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/key_stores/keystore.ts#L12)* +*Defined in [key_stores/keystore.ts:12](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/key_stores/keystore.ts#L12)* **Returns:** *Promise‹void›* @@ -45,7 +45,7 @@ ___ ▸ **getAccounts**(`networkId`: string): *Promise‹string[]›* -*Defined in [key_stores/keystore.ts:14](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/key_stores/keystore.ts#L14)* +*Defined in [key_stores/keystore.ts:14](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/key_stores/keystore.ts#L14)* **Parameters:** @@ -61,7 +61,7 @@ ___ ▸ **getKey**(`networkId`: string, `accountId`: string): *Promise‹[KeyPair](_utils_key_pair_.keypair.md)›* -*Defined in [key_stores/keystore.ts:10](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/key_stores/keystore.ts#L10)* +*Defined in [key_stores/keystore.ts:10](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/key_stores/keystore.ts#L10)* **Parameters:** @@ -78,7 +78,7 @@ ___ ▸ **getNetworks**(): *Promise‹string[]›* -*Defined in [key_stores/keystore.ts:13](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/key_stores/keystore.ts#L13)* +*Defined in [key_stores/keystore.ts:13](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/key_stores/keystore.ts#L13)* **Returns:** *Promise‹string[]›* @@ -88,7 +88,7 @@ ___ ▸ **removeKey**(`networkId`: string, `accountId`: string): *Promise‹void›* -*Defined in [key_stores/keystore.ts:11](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/key_stores/keystore.ts#L11)* +*Defined in [key_stores/keystore.ts:11](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/key_stores/keystore.ts#L11)* **Parameters:** @@ -105,7 +105,7 @@ ___ ▸ **setKey**(`networkId`: string, `accountId`: string, `keyPair`: [KeyPair](_utils_key_pair_.keypair.md)): *Promise‹void›* -*Defined in [key_stores/keystore.ts:9](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/key_stores/keystore.ts#L9)* +*Defined in [key_stores/keystore.ts:9](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/key_stores/keystore.ts#L9)* **Parameters:** diff --git a/docs/nearlib/classes/_key_stores_merge_key_store_.mergekeystore.md b/docs/nearlib/classes/_key_stores_merge_key_store_.mergekeystore.md index 0b1bd986df..42ff963e94 100644 --- a/docs/nearlib/classes/_key_stores_merge_key_store_.mergekeystore.md +++ b/docs/nearlib/classes/_key_stores_merge_key_store_.mergekeystore.md @@ -37,7 +37,7 @@ Keystore which can be used to merge multiple key stores into one virtual key sto \+ **new MergeKeyStore**(`keyStores`: [KeyStore](_key_stores_keystore_.keystore.md)[]): *[MergeKeyStore](_key_stores_merge_key_store_.mergekeystore.md)* -*Defined in [key_stores/merge_key_store.ts:10](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/key_stores/merge_key_store.ts#L10)* +*Defined in [key_stores/merge_key_store.ts:10](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/key_stores/merge_key_store.ts#L10)* **Parameters:** @@ -53,7 +53,7 @@ Name | Type | Description | • **keyStores**: *[KeyStore](_key_stores_keystore_.keystore.md)[]* -*Defined in [key_stores/merge_key_store.ts:10](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/key_stores/merge_key_store.ts#L10)* +*Defined in [key_stores/merge_key_store.ts:10](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/key_stores/merge_key_store.ts#L10)* ## Methods @@ -63,7 +63,7 @@ Name | Type | Description | *Overrides [KeyStore](_key_stores_keystore_.keystore.md).[clear](_key_stores_keystore_.keystore.md#abstract-clear)* -*Defined in [key_stores/merge_key_store.ts:40](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/key_stores/merge_key_store.ts#L40)* +*Defined in [key_stores/merge_key_store.ts:40](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/key_stores/merge_key_store.ts#L40)* **Returns:** *Promise‹void›* @@ -75,7 +75,7 @@ ___ *Overrides [KeyStore](_key_stores_keystore_.keystore.md).[getAccounts](_key_stores_keystore_.keystore.md#abstract-getaccounts)* -*Defined in [key_stores/merge_key_store.ts:56](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/key_stores/merge_key_store.ts#L56)* +*Defined in [key_stores/merge_key_store.ts:56](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/key_stores/merge_key_store.ts#L56)* **Parameters:** @@ -93,7 +93,7 @@ ___ *Overrides [KeyStore](_key_stores_keystore_.keystore.md).[getKey](_key_stores_keystore_.keystore.md#abstract-getkey)* -*Defined in [key_stores/merge_key_store.ts:24](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/key_stores/merge_key_store.ts#L24)* +*Defined in [key_stores/merge_key_store.ts:24](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/key_stores/merge_key_store.ts#L24)* **Parameters:** @@ -112,7 +112,7 @@ ___ *Overrides [KeyStore](_key_stores_keystore_.keystore.md).[getNetworks](_key_stores_keystore_.keystore.md#abstract-getnetworks)* -*Defined in [key_stores/merge_key_store.ts:46](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/key_stores/merge_key_store.ts#L46)* +*Defined in [key_stores/merge_key_store.ts:46](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/key_stores/merge_key_store.ts#L46)* **Returns:** *Promise‹string[]›* @@ -124,7 +124,7 @@ ___ *Overrides [KeyStore](_key_stores_keystore_.keystore.md).[removeKey](_key_stores_keystore_.keystore.md#abstract-removekey)* -*Defined in [key_stores/merge_key_store.ts:34](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/key_stores/merge_key_store.ts#L34)* +*Defined in [key_stores/merge_key_store.ts:34](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/key_stores/merge_key_store.ts#L34)* **Parameters:** @@ -143,7 +143,7 @@ ___ *Overrides [KeyStore](_key_stores_keystore_.keystore.md).[setKey](_key_stores_keystore_.keystore.md#abstract-setkey)* -*Defined in [key_stores/merge_key_store.ts:20](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/key_stores/merge_key_store.ts#L20)* +*Defined in [key_stores/merge_key_store.ts:20](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/key_stores/merge_key_store.ts#L20)* **Parameters:** diff --git a/docs/nearlib/classes/_key_stores_unencrypted_file_system_keystore_.unencryptedfilesystemkeystore.md b/docs/nearlib/classes/_key_stores_unencrypted_file_system_keystore_.unencryptedfilesystemkeystore.md index 6dd42cac71..93ddf93077 100644 --- a/docs/nearlib/classes/_key_stores_unencrypted_file_system_keystore_.unencryptedfilesystemkeystore.md +++ b/docs/nearlib/classes/_key_stores_unencrypted_file_system_keystore_.unencryptedfilesystemkeystore.md @@ -36,7 +36,7 @@ sidebar_label: "UnencryptedFileSystemKeyStore" \+ **new UnencryptedFileSystemKeyStore**(`keyDir`: string): *[UnencryptedFileSystemKeyStore](_key_stores_unencrypted_file_system_keystore_.unencryptedfilesystemkeystore.md)* -*Defined in [key_stores/unencrypted_file_system_keystore.ts:57](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/key_stores/unencrypted_file_system_keystore.ts#L57)* +*Defined in [key_stores/unencrypted_file_system_keystore.ts:57](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/key_stores/unencrypted_file_system_keystore.ts#L57)* **Parameters:** @@ -52,7 +52,7 @@ Name | Type | • **keyDir**: *string* -*Defined in [key_stores/unencrypted_file_system_keystore.ts:57](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/key_stores/unencrypted_file_system_keystore.ts#L57)* +*Defined in [key_stores/unencrypted_file_system_keystore.ts:57](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/key_stores/unencrypted_file_system_keystore.ts#L57)* ## Methods @@ -62,7 +62,7 @@ Name | Type | *Overrides [KeyStore](_key_stores_keystore_.keystore.md).[clear](_key_stores_keystore_.keystore.md#abstract-clear)* -*Defined in [key_stores/unencrypted_file_system_keystore.ts:85](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/key_stores/unencrypted_file_system_keystore.ts#L85)* +*Defined in [key_stores/unencrypted_file_system_keystore.ts:85](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/key_stores/unencrypted_file_system_keystore.ts#L85)* **Returns:** *Promise‹void›* @@ -74,7 +74,7 @@ ___ *Overrides [KeyStore](_key_stores_keystore_.keystore.md).[getAccounts](_key_stores_keystore_.keystore.md#abstract-getaccounts)* -*Defined in [key_stores/unencrypted_file_system_keystore.ts:106](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/key_stores/unencrypted_file_system_keystore.ts#L106)* +*Defined in [key_stores/unencrypted_file_system_keystore.ts:106](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/key_stores/unencrypted_file_system_keystore.ts#L106)* **Parameters:** @@ -92,7 +92,7 @@ ___ *Overrides [KeyStore](_key_stores_keystore_.keystore.md).[getKey](_key_stores_keystore_.keystore.md#abstract-getkey)* -*Defined in [key_stores/unencrypted_file_system_keystore.ts:70](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/key_stores/unencrypted_file_system_keystore.ts#L70)* +*Defined in [key_stores/unencrypted_file_system_keystore.ts:70](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/key_stores/unencrypted_file_system_keystore.ts#L70)* **Parameters:** @@ -109,7 +109,7 @@ ___ ▸ **getKeyFilePath**(`networkId`: string, `accountId`: string): *string* -*Defined in [key_stores/unencrypted_file_system_keystore.ts:93](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/key_stores/unencrypted_file_system_keystore.ts#L93)* +*Defined in [key_stores/unencrypted_file_system_keystore.ts:93](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/key_stores/unencrypted_file_system_keystore.ts#L93)* **Parameters:** @@ -128,7 +128,7 @@ ___ *Overrides [KeyStore](_key_stores_keystore_.keystore.md).[getNetworks](_key_stores_keystore_.keystore.md#abstract-getnetworks)* -*Defined in [key_stores/unencrypted_file_system_keystore.ts:97](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/key_stores/unencrypted_file_system_keystore.ts#L97)* +*Defined in [key_stores/unencrypted_file_system_keystore.ts:97](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/key_stores/unencrypted_file_system_keystore.ts#L97)* **Returns:** *Promise‹string[]›* @@ -140,7 +140,7 @@ ___ *Overrides [KeyStore](_key_stores_keystore_.keystore.md).[removeKey](_key_stores_keystore_.keystore.md#abstract-removekey)* -*Defined in [key_stores/unencrypted_file_system_keystore.ts:79](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/key_stores/unencrypted_file_system_keystore.ts#L79)* +*Defined in [key_stores/unencrypted_file_system_keystore.ts:79](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/key_stores/unencrypted_file_system_keystore.ts#L79)* **Parameters:** @@ -159,7 +159,7 @@ ___ *Overrides [KeyStore](_key_stores_keystore_.keystore.md).[setKey](_key_stores_keystore_.keystore.md#abstract-setkey)* -*Defined in [key_stores/unencrypted_file_system_keystore.ts:64](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/key_stores/unencrypted_file_system_keystore.ts#L64)* +*Defined in [key_stores/unencrypted_file_system_keystore.ts:64](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/key_stores/unencrypted_file_system_keystore.ts#L64)* **Parameters:** diff --git a/docs/nearlib/classes/_near_.near.md b/docs/nearlib/classes/_near_.near.md index ab77383220..e3bac3a5ae 100644 --- a/docs/nearlib/classes/_near_.near.md +++ b/docs/nearlib/classes/_near_.near.md @@ -33,7 +33,7 @@ sidebar_label: "Near" \+ **new Near**(`config`: any): *[Near](_near_.near.md)* -*Defined in [near.ts:14](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/near.ts#L14)* +*Defined in [near.ts:14](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/near.ts#L14)* **Parameters:** @@ -49,7 +49,7 @@ Name | Type | • **accountCreator**: *[AccountCreator](_account_creator_.accountcreator.md)* -*Defined in [near.ts:14](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/near.ts#L14)* +*Defined in [near.ts:14](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/near.ts#L14)* ___ @@ -57,7 +57,7 @@ ___ • **config**: *any* -*Defined in [near.ts:12](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/near.ts#L12)* +*Defined in [near.ts:12](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/near.ts#L12)* ___ @@ -65,7 +65,7 @@ ___ • **connection**: *[Connection](_connection_.connection.md)* -*Defined in [near.ts:13](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/near.ts#L13)* +*Defined in [near.ts:13](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/near.ts#L13)* ## Methods @@ -73,7 +73,7 @@ ___ ▸ **account**(`accountId`: string): *Promise‹[Account](_account_.account.md)›* -*Defined in [near.ts:33](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/near.ts#L33)* +*Defined in [near.ts:33](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/near.ts#L33)* **Parameters:** @@ -89,7 +89,7 @@ ___ ▸ **createAccount**(`accountId`: string, `publicKey`: [PublicKey](_utils_key_pair_.publickey.md)): *Promise‹[Account](_account_.account.md)›* -*Defined in [near.ts:39](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/near.ts#L39)* +*Defined in [near.ts:39](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/near.ts#L39)* **Parameters:** @@ -106,7 +106,7 @@ ___ ▸ **loadContract**(`contractId`: string, `options`: object): *Promise‹[Contract](_contract_.contract.md)›* -*Defined in [near.ts:52](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/near.ts#L52)* +*Defined in [near.ts:52](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/near.ts#L52)* Backwards compatibility method. Use `new nearlib.Contract(yourAccount, contractId, { viewMethods, changeMethods })` instead. @@ -130,7 +130,7 @@ ___ ▸ **sendTokens**(`amount`: BN, `originator`: string, `receiver`: string): *Promise‹string›* -*Defined in [near.ts:64](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/near.ts#L64)* +*Defined in [near.ts:64](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/near.ts#L64)* Backwards compatibility method. Use `yourAccount.sendMoney` instead. diff --git a/docs/nearlib/classes/_providers_json_rpc_provider_.jsonrpcprovider.md b/docs/nearlib/classes/_providers_json_rpc_provider_.jsonrpcprovider.md index 1252333354..909df9b77d 100644 --- a/docs/nearlib/classes/_providers_json_rpc_provider_.jsonrpcprovider.md +++ b/docs/nearlib/classes/_providers_json_rpc_provider_.jsonrpcprovider.md @@ -36,7 +36,7 @@ sidebar_label: "JsonRpcProvider" \+ **new JsonRpcProvider**(`url?`: string, `network?`: [Network](../interfaces/_utils_network_.network.md)): *[JsonRpcProvider](_providers_json_rpc_provider_.jsonrpcprovider.md)* -*Defined in [providers/json-rpc-provider.ts:13](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/providers/json-rpc-provider.ts#L13)* +*Defined in [providers/json-rpc-provider.ts:13](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/providers/json-rpc-provider.ts#L13)* **Parameters:** @@ -53,7 +53,7 @@ Name | Type | • **connection**: *[ConnectionInfo](../interfaces/_utils_web_.connectioninfo.md)* -*Defined in [providers/json-rpc-provider.ts:13](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/providers/json-rpc-provider.ts#L13)* +*Defined in [providers/json-rpc-provider.ts:13](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/providers/json-rpc-provider.ts#L13)* ## Methods @@ -63,7 +63,7 @@ Name | Type | *Overrides [Provider](_providers_provider_.provider.md).[block](_providers_provider_.provider.md#abstract-block)* -*Defined in [providers/json-rpc-provider.ts:50](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/providers/json-rpc-provider.ts#L50)* +*Defined in [providers/json-rpc-provider.ts:50](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/providers/json-rpc-provider.ts#L50)* **Parameters:** @@ -81,7 +81,7 @@ ___ *Overrides [Provider](_providers_provider_.provider.md).[getNetwork](_providers_provider_.provider.md#abstract-getnetwork)* -*Defined in [providers/json-rpc-provider.ts:22](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/providers/json-rpc-provider.ts#L22)* +*Defined in [providers/json-rpc-provider.ts:22](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/providers/json-rpc-provider.ts#L22)* **Returns:** *Promise‹[Network](../interfaces/_utils_network_.network.md)›* @@ -93,7 +93,7 @@ ___ *Overrides [Provider](_providers_provider_.provider.md).[query](_providers_provider_.provider.md#abstract-query)* -*Defined in [providers/json-rpc-provider.ts:42](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/providers/json-rpc-provider.ts#L42)* +*Defined in [providers/json-rpc-provider.ts:42](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/providers/json-rpc-provider.ts#L42)* **Parameters:** @@ -110,7 +110,7 @@ ___ ▸ **sendJsonRpc**(`method`: string, `params`: any[]): *Promise‹any›* -*Defined in [providers/json-rpc-provider.ts:54](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/providers/json-rpc-provider.ts#L54)* +*Defined in [providers/json-rpc-provider.ts:54](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/providers/json-rpc-provider.ts#L54)* **Parameters:** @@ -129,7 +129,7 @@ ___ *Overrides [Provider](_providers_provider_.provider.md).[sendTransaction](_providers_provider_.provider.md#abstract-sendtransaction)* -*Defined in [providers/json-rpc-provider.ts:33](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/providers/json-rpc-provider.ts#L33)* +*Defined in [providers/json-rpc-provider.ts:33](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/providers/json-rpc-provider.ts#L33)* **Parameters:** @@ -147,7 +147,7 @@ ___ *Overrides [Provider](_providers_provider_.provider.md).[status](_providers_provider_.provider.md#abstract-status)* -*Defined in [providers/json-rpc-provider.ts:29](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/providers/json-rpc-provider.ts#L29)* +*Defined in [providers/json-rpc-provider.ts:29](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/providers/json-rpc-provider.ts#L29)* **Returns:** *Promise‹[NodeStatusResult](../interfaces/_providers_provider_.nodestatusresult.md)›* @@ -159,7 +159,7 @@ ___ *Overrides [Provider](_providers_provider_.provider.md).[txStatus](_providers_provider_.provider.md#abstract-txstatus)* -*Defined in [providers/json-rpc-provider.ts:38](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/providers/json-rpc-provider.ts#L38)* +*Defined in [providers/json-rpc-provider.ts:38](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/providers/json-rpc-provider.ts#L38)* **Parameters:** diff --git a/docs/nearlib/classes/_providers_provider_.executionstatus.md b/docs/nearlib/classes/_providers_provider_.executionstatus.md index 1a893ec58e..876f405d2f 100644 --- a/docs/nearlib/classes/_providers_provider_.executionstatus.md +++ b/docs/nearlib/classes/_providers_provider_.executionstatus.md @@ -30,7 +30,7 @@ sidebar_label: "ExecutionStatus" *Inherited from [Enum](_utils_enums_.enum.md).[constructor](_utils_enums_.enum.md#constructor)* -*Defined in [utils/enums.ts:4](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/utils/enums.ts#L4)* +*Defined in [utils/enums.ts:4](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/utils/enums.ts#L4)* **Parameters:** @@ -46,7 +46,7 @@ Name | Type | • **SuccessReceiptId**: *string* -*Defined in [providers/provider.ts:29](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/providers/provider.ts#L29)* +*Defined in [providers/provider.ts:30](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/providers/provider.ts#L30)* ___ @@ -54,7 +54,7 @@ ___ • **SuccessValue**: *string* -*Defined in [providers/provider.ts:28](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/providers/provider.ts#L28)* +*Defined in [providers/provider.ts:29](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/providers/provider.ts#L29)* ___ @@ -64,4 +64,4 @@ ___ *Inherited from [Enum](_utils_enums_.enum.md).[enum](_utils_enums_.enum.md#enum)* -*Defined in [utils/enums.ts:4](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/utils/enums.ts#L4)* +*Defined in [utils/enums.ts:4](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/utils/enums.ts#L4)* diff --git a/docs/nearlib/classes/_providers_provider_.finalexecutionstatus.md b/docs/nearlib/classes/_providers_provider_.finalexecutionstatus.md index d01e5d9840..55e78a2274 100644 --- a/docs/nearlib/classes/_providers_provider_.finalexecutionstatus.md +++ b/docs/nearlib/classes/_providers_provider_.finalexecutionstatus.md @@ -29,7 +29,7 @@ sidebar_label: "FinalExecutionStatus" *Inherited from [Enum](_utils_enums_.enum.md).[constructor](_utils_enums_.enum.md#constructor)* -*Defined in [utils/enums.ts:4](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/utils/enums.ts#L4)* +*Defined in [utils/enums.ts:4](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/utils/enums.ts#L4)* **Parameters:** @@ -45,7 +45,7 @@ Name | Type | • **SuccessValue**: *string* -*Defined in [providers/provider.ts:39](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/providers/provider.ts#L39)* +*Defined in [providers/provider.ts:40](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/providers/provider.ts#L40)* ___ @@ -55,4 +55,4 @@ ___ *Inherited from [Enum](_utils_enums_.enum.md).[enum](_utils_enums_.enum.md#enum)* -*Defined in [utils/enums.ts:4](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/utils/enums.ts#L4)* +*Defined in [utils/enums.ts:4](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/utils/enums.ts#L4)* diff --git a/docs/nearlib/classes/_providers_provider_.provider.md b/docs/nearlib/classes/_providers_provider_.provider.md index 170a72490a..6972c5866f 100644 --- a/docs/nearlib/classes/_providers_provider_.provider.md +++ b/docs/nearlib/classes/_providers_provider_.provider.md @@ -27,7 +27,7 @@ sidebar_label: "Provider" ▸ **block**(`height`: number): *Promise‹[BlockResult](../interfaces/_providers_provider_.blockresult.md)›* -*Defined in [providers/provider.ts:180](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/providers/provider.ts#L180)* +*Defined in [providers/provider.ts:181](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/providers/provider.ts#L181)* **Parameters:** @@ -43,7 +43,7 @@ ___ ▸ **getNetwork**(): *Promise‹[Network](../interfaces/_utils_network_.network.md)›* -*Defined in [providers/provider.ts:174](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/providers/provider.ts#L174)* +*Defined in [providers/provider.ts:175](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/providers/provider.ts#L175)* **Returns:** *Promise‹[Network](../interfaces/_utils_network_.network.md)›* @@ -53,7 +53,7 @@ ___ ▸ **query**(`path`: string, `data`: string): *Promise‹any›* -*Defined in [providers/provider.ts:179](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/providers/provider.ts#L179)* +*Defined in [providers/provider.ts:180](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/providers/provider.ts#L180)* **Parameters:** @@ -70,7 +70,7 @@ ___ ▸ **sendTransaction**(`signedTransaction`: [SignedTransaction](_transaction_.signedtransaction.md)): *Promise‹[FinalExecutionOutcome](../interfaces/_providers_provider_.finalexecutionoutcome.md)›* -*Defined in [providers/provider.ts:177](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/providers/provider.ts#L177)* +*Defined in [providers/provider.ts:178](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/providers/provider.ts#L178)* **Parameters:** @@ -86,7 +86,7 @@ ___ ▸ **status**(): *Promise‹[NodeStatusResult](../interfaces/_providers_provider_.nodestatusresult.md)›* -*Defined in [providers/provider.ts:175](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/providers/provider.ts#L175)* +*Defined in [providers/provider.ts:176](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/providers/provider.ts#L176)* **Returns:** *Promise‹[NodeStatusResult](../interfaces/_providers_provider_.nodestatusresult.md)›* @@ -96,7 +96,7 @@ ___ ▸ **txStatus**(`txHash`: Uint8Array): *Promise‹[FinalExecutionOutcome](../interfaces/_providers_provider_.finalexecutionoutcome.md)›* -*Defined in [providers/provider.ts:178](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/providers/provider.ts#L178)* +*Defined in [providers/provider.ts:179](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/providers/provider.ts#L179)* **Parameters:** diff --git a/docs/nearlib/classes/_signer_.inmemorysigner.md b/docs/nearlib/classes/_signer_.inmemorysigner.md index 9af8d9674d..6dabb7b12c 100644 --- a/docs/nearlib/classes/_signer_.inmemorysigner.md +++ b/docs/nearlib/classes/_signer_.inmemorysigner.md @@ -35,7 +35,7 @@ Signs using in memory key store. \+ **new InMemorySigner**(`keyStore`: [KeyStore](_key_stores_keystore_.keystore.md)): *[InMemorySigner](_signer_.inmemorysigner.md)* -*Defined in [signer.ts:47](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/signer.ts#L47)* +*Defined in [signer.ts:47](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/signer.ts#L47)* **Parameters:** @@ -51,7 +51,7 @@ Name | Type | • **keyStore**: *[KeyStore](_key_stores_keystore_.keystore.md)* -*Defined in [signer.ts:47](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/signer.ts#L47)* +*Defined in [signer.ts:47](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/signer.ts#L47)* ## Methods @@ -61,7 +61,7 @@ Name | Type | *Overrides [Signer](_signer_.signer.md).[createKey](_signer_.signer.md#abstract-createkey)* -*Defined in [signer.ts:54](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/signer.ts#L54)* +*Defined in [signer.ts:54](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/signer.ts#L54)* **Parameters:** @@ -80,7 +80,7 @@ ___ *Overrides [Signer](_signer_.signer.md).[getPublicKey](_signer_.signer.md#abstract-getpublickey)* -*Defined in [signer.ts:60](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/signer.ts#L60)* +*Defined in [signer.ts:60](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/signer.ts#L60)* **Parameters:** @@ -99,7 +99,7 @@ ___ *Overrides [Signer](_signer_.signer.md).[signHash](_signer_.signer.md#abstract-signhash)* -*Defined in [signer.ts:68](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/signer.ts#L68)* +*Defined in [signer.ts:68](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/signer.ts#L68)* **Parameters:** @@ -119,7 +119,7 @@ ___ *Inherited from [Signer](_signer_.signer.md).[signMessage](_signer_.signer.md#signmessage)* -*Defined in [signer.ts:38](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/signer.ts#L38)* +*Defined in [signer.ts:38](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/signer.ts#L38)* Signs given message, by first hashing with sha256. diff --git a/docs/nearlib/classes/_signer_.signer.md b/docs/nearlib/classes/_signer_.signer.md index ff9619fb9a..d6faafe1ad 100644 --- a/docs/nearlib/classes/_signer_.signer.md +++ b/docs/nearlib/classes/_signer_.signer.md @@ -27,7 +27,7 @@ General signing interface, can be used for in memory signing, RPC singing, exter ▸ **createKey**(`accountId`: string, `networkId?`: string): *Promise‹[PublicKey](_utils_key_pair_.publickey.md)›* -*Defined in [signer.ts:15](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/signer.ts#L15)* +*Defined in [signer.ts:15](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/signer.ts#L15)* Creates new key and returns public key. @@ -46,7 +46,7 @@ ___ ▸ **getPublicKey**(`accountId?`: string, `networkId?`: string): *Promise‹[PublicKey](_utils_key_pair_.publickey.md)›* -*Defined in [signer.ts:22](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/signer.ts#L22)* +*Defined in [signer.ts:22](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/signer.ts#L22)* Returns public key for given account / network. @@ -65,7 +65,7 @@ ___ ▸ **signHash**(`hash`: Uint8Array, `accountId?`: string, `networkId?`: string): *Promise‹[Signature](../interfaces/_utils_key_pair_.signature.md)›* -*Defined in [signer.ts:30](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/signer.ts#L30)* +*Defined in [signer.ts:30](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/signer.ts#L30)* Signs given hash. @@ -85,7 +85,7 @@ ___ ▸ **signMessage**(`message`: Uint8Array, `accountId?`: string, `networkId?`: string): *Promise‹[Signature](../interfaces/_utils_key_pair_.signature.md)›* -*Defined in [signer.ts:38](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/signer.ts#L38)* +*Defined in [signer.ts:38](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/signer.ts#L38)* Signs given message, by first hashing with sha256. diff --git a/docs/nearlib/classes/_transaction_.accesskey.md b/docs/nearlib/classes/_transaction_.accesskey.md index 2a5ea33a75..1f495e8f74 100644 --- a/docs/nearlib/classes/_transaction_.accesskey.md +++ b/docs/nearlib/classes/_transaction_.accesskey.md @@ -29,7 +29,7 @@ sidebar_label: "AccessKey" *Inherited from [Assignable](_utils_enums_.assignable.md).[constructor](_utils_enums_.assignable.md#constructor)* -*Defined in [utils/enums.ts:17](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/utils/enums.ts#L17)* +*Defined in [utils/enums.ts:17](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/utils/enums.ts#L17)* **Parameters:** @@ -45,7 +45,7 @@ Name | Type | • **nonce**: *number* -*Defined in [transaction.ts:25](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/transaction.ts#L25)* +*Defined in [transaction.ts:25](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/transaction.ts#L25)* ___ @@ -53,4 +53,4 @@ ___ • **permission**: *[AccessKeyPermission](_transaction_.accesskeypermission.md)* -*Defined in [transaction.ts:26](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/transaction.ts#L26)* +*Defined in [transaction.ts:26](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/transaction.ts#L26)* diff --git a/docs/nearlib/classes/_transaction_.accesskeypermission.md b/docs/nearlib/classes/_transaction_.accesskeypermission.md index c23f92cc0d..5acdeeecfc 100644 --- a/docs/nearlib/classes/_transaction_.accesskeypermission.md +++ b/docs/nearlib/classes/_transaction_.accesskeypermission.md @@ -30,7 +30,7 @@ sidebar_label: "AccessKeyPermission" *Inherited from [Enum](_utils_enums_.enum.md).[constructor](_utils_enums_.enum.md#constructor)* -*Defined in [utils/enums.ts:4](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/utils/enums.ts#L4)* +*Defined in [utils/enums.ts:4](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/utils/enums.ts#L4)* **Parameters:** @@ -48,7 +48,7 @@ Name | Type | *Inherited from [Enum](_utils_enums_.enum.md).[enum](_utils_enums_.enum.md#enum)* -*Defined in [utils/enums.ts:4](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/utils/enums.ts#L4)* +*Defined in [utils/enums.ts:4](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/utils/enums.ts#L4)* ___ @@ -56,7 +56,7 @@ ___ • **fullAccess**: *[FullAccessPermission](_transaction_.fullaccesspermission.md)* -*Defined in [transaction.ts:21](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/transaction.ts#L21)* +*Defined in [transaction.ts:21](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/transaction.ts#L21)* ___ @@ -64,4 +64,4 @@ ___ • **functionCall**: *[FunctionCallPermission](_transaction_.functioncallpermission.md)* -*Defined in [transaction.ts:20](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/transaction.ts#L20)* +*Defined in [transaction.ts:20](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/transaction.ts#L20)* diff --git a/docs/nearlib/classes/_transaction_.action.md b/docs/nearlib/classes/_transaction_.action.md index be9c1873b8..65896893c3 100644 --- a/docs/nearlib/classes/_transaction_.action.md +++ b/docs/nearlib/classes/_transaction_.action.md @@ -36,7 +36,7 @@ sidebar_label: "Action" *Inherited from [Enum](_utils_enums_.enum.md).[constructor](_utils_enums_.enum.md#constructor)* -*Defined in [utils/enums.ts:4](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/utils/enums.ts#L4)* +*Defined in [utils/enums.ts:4](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/utils/enums.ts#L4)* **Parameters:** @@ -52,7 +52,7 @@ Name | Type | • **addKey**: *[AddKey](_transaction_.addkey.md)* -*Defined in [transaction.ts:114](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/transaction.ts#L114)* +*Defined in [transaction.ts:114](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/transaction.ts#L114)* ___ @@ -60,7 +60,7 @@ ___ • **createAccount**: *[CreateAccount](_transaction_.createaccount.md)* -*Defined in [transaction.ts:109](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/transaction.ts#L109)* +*Defined in [transaction.ts:109](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/transaction.ts#L109)* ___ @@ -68,7 +68,7 @@ ___ • **deleteAccount**: *[DeleteAccount](_transaction_.deleteaccount.md)* -*Defined in [transaction.ts:116](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/transaction.ts#L116)* +*Defined in [transaction.ts:116](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/transaction.ts#L116)* ___ @@ -76,7 +76,7 @@ ___ • **deleteKey**: *[DeleteKey](_transaction_.deletekey.md)* -*Defined in [transaction.ts:115](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/transaction.ts#L115)* +*Defined in [transaction.ts:115](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/transaction.ts#L115)* ___ @@ -84,7 +84,7 @@ ___ • **deployContract**: *[DeployContract](_transaction_.deploycontract.md)* -*Defined in [transaction.ts:110](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/transaction.ts#L110)* +*Defined in [transaction.ts:110](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/transaction.ts#L110)* ___ @@ -94,7 +94,7 @@ ___ *Inherited from [Enum](_utils_enums_.enum.md).[enum](_utils_enums_.enum.md#enum)* -*Defined in [utils/enums.ts:4](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/utils/enums.ts#L4)* +*Defined in [utils/enums.ts:4](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/utils/enums.ts#L4)* ___ @@ -102,7 +102,7 @@ ___ • **functionCall**: *[FunctionCall](_transaction_.functioncall.md)* -*Defined in [transaction.ts:111](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/transaction.ts#L111)* +*Defined in [transaction.ts:111](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/transaction.ts#L111)* ___ @@ -110,7 +110,7 @@ ___ • **stake**: *[Stake](_transaction_.stake.md)* -*Defined in [transaction.ts:113](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/transaction.ts#L113)* +*Defined in [transaction.ts:113](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/transaction.ts#L113)* ___ @@ -118,4 +118,4 @@ ___ • **transfer**: *[Transfer](_transaction_.transfer.md)* -*Defined in [transaction.ts:112](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/transaction.ts#L112)* +*Defined in [transaction.ts:112](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/transaction.ts#L112)* diff --git a/docs/nearlib/classes/_transaction_.addkey.md b/docs/nearlib/classes/_transaction_.addkey.md index e961b56148..539116c3a7 100644 --- a/docs/nearlib/classes/_transaction_.addkey.md +++ b/docs/nearlib/classes/_transaction_.addkey.md @@ -29,7 +29,7 @@ sidebar_label: "AddKey" *Inherited from [Assignable](_utils_enums_.assignable.md).[constructor](_utils_enums_.assignable.md#constructor)* -*Defined in [utils/enums.ts:17](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/utils/enums.ts#L17)* +*Defined in [utils/enums.ts:17](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/utils/enums.ts#L17)* **Parameters:** @@ -45,7 +45,7 @@ Name | Type | • **accessKey**: *[AccessKey](_transaction_.accesskey.md)* -*Defined in [transaction.ts:44](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/transaction.ts#L44)* +*Defined in [transaction.ts:44](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/transaction.ts#L44)* ___ @@ -53,4 +53,4 @@ ___ • **publicKey**: *[PublicKey](_utils_key_pair_.publickey.md)* -*Defined in [transaction.ts:44](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/transaction.ts#L44)* +*Defined in [transaction.ts:44](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/transaction.ts#L44)* diff --git a/docs/nearlib/classes/_transaction_.createaccount.md b/docs/nearlib/classes/_transaction_.createaccount.md index c4285b5eb9..214f822a3b 100644 --- a/docs/nearlib/classes/_transaction_.createaccount.md +++ b/docs/nearlib/classes/_transaction_.createaccount.md @@ -24,7 +24,7 @@ sidebar_label: "CreateAccount" *Inherited from [Assignable](_utils_enums_.assignable.md).[constructor](_utils_enums_.assignable.md#constructor)* -*Defined in [utils/enums.ts:17](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/utils/enums.ts#L17)* +*Defined in [utils/enums.ts:17](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/utils/enums.ts#L17)* **Parameters:** diff --git a/docs/nearlib/classes/_transaction_.deleteaccount.md b/docs/nearlib/classes/_transaction_.deleteaccount.md index cd58e593bb..7a07acc283 100644 --- a/docs/nearlib/classes/_transaction_.deleteaccount.md +++ b/docs/nearlib/classes/_transaction_.deleteaccount.md @@ -28,7 +28,7 @@ sidebar_label: "DeleteAccount" *Inherited from [Assignable](_utils_enums_.assignable.md).[constructor](_utils_enums_.assignable.md#constructor)* -*Defined in [utils/enums.ts:17](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/utils/enums.ts#L17)* +*Defined in [utils/enums.ts:17](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/utils/enums.ts#L17)* **Parameters:** @@ -44,4 +44,4 @@ Name | Type | • **beneficiaryId**: *string* -*Defined in [transaction.ts:46](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/transaction.ts#L46)* +*Defined in [transaction.ts:46](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/transaction.ts#L46)* diff --git a/docs/nearlib/classes/_transaction_.deletekey.md b/docs/nearlib/classes/_transaction_.deletekey.md index c96e28bba2..8cc665c5a0 100644 --- a/docs/nearlib/classes/_transaction_.deletekey.md +++ b/docs/nearlib/classes/_transaction_.deletekey.md @@ -28,7 +28,7 @@ sidebar_label: "DeleteKey" *Inherited from [Assignable](_utils_enums_.assignable.md).[constructor](_utils_enums_.assignable.md#constructor)* -*Defined in [utils/enums.ts:17](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/utils/enums.ts#L17)* +*Defined in [utils/enums.ts:17](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/utils/enums.ts#L17)* **Parameters:** @@ -44,4 +44,4 @@ Name | Type | • **publicKey**: *[PublicKey](_utils_key_pair_.publickey.md)* -*Defined in [transaction.ts:45](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/transaction.ts#L45)* +*Defined in [transaction.ts:45](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/transaction.ts#L45)* diff --git a/docs/nearlib/classes/_transaction_.deploycontract.md b/docs/nearlib/classes/_transaction_.deploycontract.md index 2d8e565f63..650ce99d7f 100644 --- a/docs/nearlib/classes/_transaction_.deploycontract.md +++ b/docs/nearlib/classes/_transaction_.deploycontract.md @@ -28,7 +28,7 @@ sidebar_label: "DeployContract" *Inherited from [Assignable](_utils_enums_.assignable.md).[constructor](_utils_enums_.assignable.md#constructor)* -*Defined in [utils/enums.ts:17](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/utils/enums.ts#L17)* +*Defined in [utils/enums.ts:17](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/utils/enums.ts#L17)* **Parameters:** @@ -44,4 +44,4 @@ Name | Type | • **code**: *Uint8Array* -*Defined in [transaction.ts:40](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/transaction.ts#L40)* +*Defined in [transaction.ts:40](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/transaction.ts#L40)* diff --git a/docs/nearlib/classes/_transaction_.fullaccesspermission.md b/docs/nearlib/classes/_transaction_.fullaccesspermission.md index 3547caa47f..c48adb07cb 100644 --- a/docs/nearlib/classes/_transaction_.fullaccesspermission.md +++ b/docs/nearlib/classes/_transaction_.fullaccesspermission.md @@ -24,7 +24,7 @@ sidebar_label: "FullAccessPermission" *Inherited from [Assignable](_utils_enums_.assignable.md).[constructor](_utils_enums_.assignable.md#constructor)* -*Defined in [utils/enums.ts:17](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/utils/enums.ts#L17)* +*Defined in [utils/enums.ts:17](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/utils/enums.ts#L17)* **Parameters:** diff --git a/docs/nearlib/classes/_transaction_.functioncall.md b/docs/nearlib/classes/_transaction_.functioncall.md index 994dc567c9..02fcdcc337 100644 --- a/docs/nearlib/classes/_transaction_.functioncall.md +++ b/docs/nearlib/classes/_transaction_.functioncall.md @@ -31,7 +31,7 @@ sidebar_label: "FunctionCall" *Inherited from [Assignable](_utils_enums_.assignable.md).[constructor](_utils_enums_.assignable.md#constructor)* -*Defined in [utils/enums.ts:17](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/utils/enums.ts#L17)* +*Defined in [utils/enums.ts:17](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/utils/enums.ts#L17)* **Parameters:** @@ -47,7 +47,7 @@ Name | Type | • **args**: *Uint8Array* -*Defined in [transaction.ts:41](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/transaction.ts#L41)* +*Defined in [transaction.ts:41](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/transaction.ts#L41)* ___ @@ -55,7 +55,7 @@ ___ • **deposit**: *BN* -*Defined in [transaction.ts:41](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/transaction.ts#L41)* +*Defined in [transaction.ts:41](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/transaction.ts#L41)* ___ @@ -63,7 +63,7 @@ ___ • **gas**: *BN* -*Defined in [transaction.ts:41](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/transaction.ts#L41)* +*Defined in [transaction.ts:41](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/transaction.ts#L41)* ___ @@ -71,4 +71,4 @@ ___ • **methodName**: *string* -*Defined in [transaction.ts:41](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/transaction.ts#L41)* +*Defined in [transaction.ts:41](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/transaction.ts#L41)* diff --git a/docs/nearlib/classes/_transaction_.functioncallpermission.md b/docs/nearlib/classes/_transaction_.functioncallpermission.md index 43ab4dcf0f..41c92a5826 100644 --- a/docs/nearlib/classes/_transaction_.functioncallpermission.md +++ b/docs/nearlib/classes/_transaction_.functioncallpermission.md @@ -30,7 +30,7 @@ sidebar_label: "FunctionCallPermission" *Inherited from [Assignable](_utils_enums_.assignable.md).[constructor](_utils_enums_.assignable.md#constructor)* -*Defined in [utils/enums.ts:17](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/utils/enums.ts#L17)* +*Defined in [utils/enums.ts:17](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/utils/enums.ts#L17)* **Parameters:** @@ -46,7 +46,7 @@ Name | Type | • **allowance**? : *BN* -*Defined in [transaction.ts:12](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/transaction.ts#L12)* +*Defined in [transaction.ts:12](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/transaction.ts#L12)* ___ @@ -54,7 +54,7 @@ ___ • **methodNames**: *String[]* -*Defined in [transaction.ts:14](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/transaction.ts#L14)* +*Defined in [transaction.ts:14](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/transaction.ts#L14)* ___ @@ -62,4 +62,4 @@ ___ • **receiverId**: *string* -*Defined in [transaction.ts:13](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/transaction.ts#L13)* +*Defined in [transaction.ts:13](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/transaction.ts#L13)* diff --git a/docs/nearlib/classes/_transaction_.iaction.md b/docs/nearlib/classes/_transaction_.iaction.md index b9a08faaca..2105fccd3f 100644 --- a/docs/nearlib/classes/_transaction_.iaction.md +++ b/docs/nearlib/classes/_transaction_.iaction.md @@ -40,7 +40,7 @@ sidebar_label: "IAction" *Inherited from [Assignable](_utils_enums_.assignable.md).[constructor](_utils_enums_.assignable.md#constructor)* -*Defined in [utils/enums.ts:17](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/utils/enums.ts#L17)* +*Defined in [utils/enums.ts:17](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/utils/enums.ts#L17)* **Parameters:** diff --git a/docs/nearlib/classes/_transaction_.signature.md b/docs/nearlib/classes/_transaction_.signature.md index 5ca48471fa..653ca1eeb1 100644 --- a/docs/nearlib/classes/_transaction_.signature.md +++ b/docs/nearlib/classes/_transaction_.signature.md @@ -25,7 +25,7 @@ sidebar_label: "Signature" \+ **new Signature**(`signature`: Uint8Array): *[Signature](_transaction_.signature.md)* -*Defined in [transaction.ts:82](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/transaction.ts#L82)* +*Defined in [transaction.ts:82](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/transaction.ts#L82)* **Parameters:** @@ -41,7 +41,7 @@ Name | Type | • **data**: *Uint8Array* -*Defined in [transaction.ts:82](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/transaction.ts#L82)* +*Defined in [transaction.ts:82](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/transaction.ts#L82)* ___ @@ -49,4 +49,4 @@ ___ • **keyType**: *[KeyType](../enums/_utils_key_pair_.keytype.md)* -*Defined in [transaction.ts:81](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/transaction.ts#L81)* +*Defined in [transaction.ts:81](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/transaction.ts#L81)* diff --git a/docs/nearlib/classes/_transaction_.signedtransaction.md b/docs/nearlib/classes/_transaction_.signedtransaction.md index b00719c4bc..fdb7ca37b8 100644 --- a/docs/nearlib/classes/_transaction_.signedtransaction.md +++ b/docs/nearlib/classes/_transaction_.signedtransaction.md @@ -33,7 +33,7 @@ sidebar_label: "SignedTransaction" *Inherited from [Assignable](_utils_enums_.assignable.md).[constructor](_utils_enums_.assignable.md#constructor)* -*Defined in [utils/enums.ts:17](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/utils/enums.ts#L17)* +*Defined in [utils/enums.ts:17](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/utils/enums.ts#L17)* **Parameters:** @@ -49,7 +49,7 @@ Name | Type | • **signature**: *[Signature](_transaction_.signature.md)* -*Defined in [transaction.ts:101](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/transaction.ts#L101)* +*Defined in [transaction.ts:101](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/transaction.ts#L101)* ___ @@ -57,7 +57,7 @@ ___ • **transaction**: *[Transaction](_transaction_.transaction.md)* -*Defined in [transaction.ts:100](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/transaction.ts#L100)* +*Defined in [transaction.ts:100](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/transaction.ts#L100)* ## Methods @@ -65,6 +65,6 @@ ___ ▸ **encode**(): *Uint8Array* -*Defined in [transaction.ts:103](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/transaction.ts#L103)* +*Defined in [transaction.ts:103](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/transaction.ts#L103)* **Returns:** *Uint8Array* diff --git a/docs/nearlib/classes/_transaction_.stake.md b/docs/nearlib/classes/_transaction_.stake.md index 2876bbe7a7..c7f7b7bfd5 100644 --- a/docs/nearlib/classes/_transaction_.stake.md +++ b/docs/nearlib/classes/_transaction_.stake.md @@ -29,7 +29,7 @@ sidebar_label: "Stake" *Inherited from [Assignable](_utils_enums_.assignable.md).[constructor](_utils_enums_.assignable.md#constructor)* -*Defined in [utils/enums.ts:17](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/utils/enums.ts#L17)* +*Defined in [utils/enums.ts:17](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/utils/enums.ts#L17)* **Parameters:** @@ -45,7 +45,7 @@ Name | Type | • **publicKey**: *[PublicKey](_utils_key_pair_.publickey.md)* -*Defined in [transaction.ts:43](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/transaction.ts#L43)* +*Defined in [transaction.ts:43](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/transaction.ts#L43)* ___ @@ -53,4 +53,4 @@ ___ • **stake**: *BN* -*Defined in [transaction.ts:43](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/transaction.ts#L43)* +*Defined in [transaction.ts:43](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/transaction.ts#L43)* diff --git a/docs/nearlib/classes/_transaction_.transaction.md b/docs/nearlib/classes/_transaction_.transaction.md index 8efdf8a015..d6be1f404f 100644 --- a/docs/nearlib/classes/_transaction_.transaction.md +++ b/docs/nearlib/classes/_transaction_.transaction.md @@ -33,7 +33,7 @@ sidebar_label: "Transaction" *Inherited from [Assignable](_utils_enums_.assignable.md).[constructor](_utils_enums_.assignable.md#constructor)* -*Defined in [utils/enums.ts:17](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/utils/enums.ts#L17)* +*Defined in [utils/enums.ts:17](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/utils/enums.ts#L17)* **Parameters:** @@ -49,7 +49,7 @@ Name | Type | • **actions**: *[Action](_transaction_.action.md)[]* -*Defined in [transaction.ts:95](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/transaction.ts#L95)* +*Defined in [transaction.ts:95](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/transaction.ts#L95)* ___ @@ -57,7 +57,7 @@ ___ • **blockHash**: *Uint8Array* -*Defined in [transaction.ts:96](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/transaction.ts#L96)* +*Defined in [transaction.ts:96](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/transaction.ts#L96)* ___ @@ -65,7 +65,7 @@ ___ • **nonce**: *number* -*Defined in [transaction.ts:93](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/transaction.ts#L93)* +*Defined in [transaction.ts:93](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/transaction.ts#L93)* ___ @@ -73,7 +73,7 @@ ___ • **publicKey**: *[PublicKey](_utils_key_pair_.publickey.md)* -*Defined in [transaction.ts:92](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/transaction.ts#L92)* +*Defined in [transaction.ts:92](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/transaction.ts#L92)* ___ @@ -81,7 +81,7 @@ ___ • **receiverId**: *string* -*Defined in [transaction.ts:94](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/transaction.ts#L94)* +*Defined in [transaction.ts:94](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/transaction.ts#L94)* ___ @@ -89,4 +89,4 @@ ___ • **signerId**: *string* -*Defined in [transaction.ts:91](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/transaction.ts#L91)* +*Defined in [transaction.ts:91](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/transaction.ts#L91)* diff --git a/docs/nearlib/classes/_transaction_.transfer.md b/docs/nearlib/classes/_transaction_.transfer.md index 17aebf59fc..650832b5c0 100644 --- a/docs/nearlib/classes/_transaction_.transfer.md +++ b/docs/nearlib/classes/_transaction_.transfer.md @@ -28,7 +28,7 @@ sidebar_label: "Transfer" *Inherited from [Assignable](_utils_enums_.assignable.md).[constructor](_utils_enums_.assignable.md#constructor)* -*Defined in [utils/enums.ts:17](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/utils/enums.ts#L17)* +*Defined in [utils/enums.ts:17](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/utils/enums.ts#L17)* **Parameters:** @@ -44,4 +44,4 @@ Name | Type | • **deposit**: *BN* -*Defined in [transaction.ts:42](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/transaction.ts#L42)* +*Defined in [transaction.ts:42](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/transaction.ts#L42)* diff --git a/docs/nearlib/classes/_utils_enums_.assignable.md b/docs/nearlib/classes/_utils_enums_.assignable.md index 9fdf8a0e90..0b2a65dcad 100644 --- a/docs/nearlib/classes/_utils_enums_.assignable.md +++ b/docs/nearlib/classes/_utils_enums_.assignable.md @@ -32,7 +32,7 @@ sidebar_label: "Assignable" \+ **new Assignable**(`properties`: any): *[Assignable](_utils_enums_.assignable.md)* -*Defined in [utils/enums.ts:17](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/utils/enums.ts#L17)* +*Defined in [utils/enums.ts:17](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/utils/enums.ts#L17)* **Parameters:** diff --git a/docs/nearlib/classes/_utils_enums_.enum.md b/docs/nearlib/classes/_utils_enums_.enum.md index 79a441870f..445c29d194 100644 --- a/docs/nearlib/classes/_utils_enums_.enum.md +++ b/docs/nearlib/classes/_utils_enums_.enum.md @@ -32,7 +32,7 @@ sidebar_label: "Enum" \+ **new Enum**(`properties`: any): *[Enum](_utils_enums_.enum.md)* -*Defined in [utils/enums.ts:4](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/utils/enums.ts#L4)* +*Defined in [utils/enums.ts:4](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/utils/enums.ts#L4)* **Parameters:** @@ -48,4 +48,4 @@ Name | Type | • **enum**: *string* -*Defined in [utils/enums.ts:4](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/utils/enums.ts#L4)* +*Defined in [utils/enums.ts:4](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/utils/enums.ts#L4)* diff --git a/docs/nearlib/classes/_utils_key_pair_.keypair.md b/docs/nearlib/classes/_utils_key_pair_.keypair.md index 6ba7d3f97c..c80cdd0bd9 100644 --- a/docs/nearlib/classes/_utils_key_pair_.keypair.md +++ b/docs/nearlib/classes/_utils_key_pair_.keypair.md @@ -27,7 +27,7 @@ sidebar_label: "KeyPair" ▸ **getPublicKey**(): *[PublicKey](_utils_key_pair_.publickey.md)* -*Defined in [utils/key_pair.ts:71](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/utils/key_pair.ts#L71)* +*Defined in [utils/key_pair.ts:71](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/utils/key_pair.ts#L71)* **Returns:** *[PublicKey](_utils_key_pair_.publickey.md)* @@ -37,7 +37,7 @@ ___ ▸ **sign**(`message`: Uint8Array): *[Signature](../interfaces/_utils_key_pair_.signature.md)* -*Defined in [utils/key_pair.ts:68](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/utils/key_pair.ts#L68)* +*Defined in [utils/key_pair.ts:68](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/utils/key_pair.ts#L68)* **Parameters:** @@ -53,7 +53,7 @@ ___ ▸ **toString**(): *string* -*Defined in [utils/key_pair.ts:70](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/utils/key_pair.ts#L70)* +*Defined in [utils/key_pair.ts:70](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/utils/key_pair.ts#L70)* **Returns:** *string* @@ -63,7 +63,7 @@ ___ ▸ **verify**(`message`: Uint8Array, `signature`: Uint8Array): *boolean* -*Defined in [utils/key_pair.ts:69](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/utils/key_pair.ts#L69)* +*Defined in [utils/key_pair.ts:69](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/utils/key_pair.ts#L69)* **Parameters:** @@ -80,7 +80,7 @@ ___ ▸ **fromRandom**(`curve`: string): *[KeyPair](_utils_key_pair_.keypair.md)* -*Defined in [utils/key_pair.ts:73](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/utils/key_pair.ts#L73)* +*Defined in [utils/key_pair.ts:73](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/utils/key_pair.ts#L73)* **Parameters:** @@ -96,7 +96,7 @@ ___ ▸ **fromString**(`encodedKey`: string): *[KeyPair](_utils_key_pair_.keypair.md)* -*Defined in [utils/key_pair.ts:80](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/utils/key_pair.ts#L80)* +*Defined in [utils/key_pair.ts:80](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/utils/key_pair.ts#L80)* **Parameters:** diff --git a/docs/nearlib/classes/_utils_key_pair_.keypaired25519.md b/docs/nearlib/classes/_utils_key_pair_.keypaired25519.md index f77e3cd9ca..4d82083a19 100644 --- a/docs/nearlib/classes/_utils_key_pair_.keypaired25519.md +++ b/docs/nearlib/classes/_utils_key_pair_.keypaired25519.md @@ -39,7 +39,7 @@ generating key pairs, encoding key pairs, signing and verifying. \+ **new KeyPairEd25519**(`secretKey`: string): *[KeyPairEd25519](_utils_key_pair_.keypaired25519.md)* -*Defined in [utils/key_pair.ts:101](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/utils/key_pair.ts#L101)* +*Defined in [utils/key_pair.ts:101](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/utils/key_pair.ts#L101)* Construct an instance of key pair given a secret key. It's generally assumed that these are encoded in base58. @@ -58,7 +58,7 @@ Name | Type | Description | • **publicKey**: *[PublicKey](_utils_key_pair_.publickey.md)* -*Defined in [utils/key_pair.ts:100](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/utils/key_pair.ts#L100)* +*Defined in [utils/key_pair.ts:100](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/utils/key_pair.ts#L100)* ___ @@ -66,7 +66,7 @@ ___ • **secretKey**: *string* -*Defined in [utils/key_pair.ts:101](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/utils/key_pair.ts#L101)* +*Defined in [utils/key_pair.ts:101](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/utils/key_pair.ts#L101)* ## Methods @@ -76,7 +76,7 @@ ___ *Overrides [KeyPair](_utils_key_pair_.keypair.md).[getPublicKey](_utils_key_pair_.keypair.md#abstract-getpublickey)* -*Defined in [utils/key_pair.ts:143](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/utils/key_pair.ts#L143)* +*Defined in [utils/key_pair.ts:143](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/utils/key_pair.ts#L143)* **Returns:** *[PublicKey](_utils_key_pair_.publickey.md)* @@ -88,7 +88,7 @@ ___ *Overrides [KeyPair](_utils_key_pair_.keypair.md).[sign](_utils_key_pair_.keypair.md#abstract-sign)* -*Defined in [utils/key_pair.ts:130](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/utils/key_pair.ts#L130)* +*Defined in [utils/key_pair.ts:130](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/utils/key_pair.ts#L130)* **Parameters:** @@ -106,7 +106,7 @@ ___ *Overrides [KeyPair](_utils_key_pair_.keypair.md).[toString](_utils_key_pair_.keypair.md#abstract-tostring)* -*Defined in [utils/key_pair.ts:139](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/utils/key_pair.ts#L139)* +*Defined in [utils/key_pair.ts:139](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/utils/key_pair.ts#L139)* **Returns:** *string* @@ -118,7 +118,7 @@ ___ *Overrides [KeyPair](_utils_key_pair_.keypair.md).[verify](_utils_key_pair_.keypair.md#abstract-verify)* -*Defined in [utils/key_pair.ts:135](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/utils/key_pair.ts#L135)* +*Defined in [utils/key_pair.ts:135](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/utils/key_pair.ts#L135)* **Parameters:** @@ -137,7 +137,7 @@ ___ *Overrides [KeyPair](_utils_key_pair_.keypair.md).[fromRandom](_utils_key_pair_.keypair.md#static-fromrandom)* -*Defined in [utils/key_pair.ts:125](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/utils/key_pair.ts#L125)* +*Defined in [utils/key_pair.ts:125](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/utils/key_pair.ts#L125)* Generate a new random keypair. @@ -159,7 +159,7 @@ ___ *Inherited from [KeyPair](_utils_key_pair_.keypair.md).[fromString](_utils_key_pair_.keypair.md#static-fromstring)* -*Defined in [utils/key_pair.ts:80](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/utils/key_pair.ts#L80)* +*Defined in [utils/key_pair.ts:80](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/utils/key_pair.ts#L80)* **Parameters:** diff --git a/docs/nearlib/classes/_utils_key_pair_.publickey.md b/docs/nearlib/classes/_utils_key_pair_.publickey.md index 5651de337d..7682713f30 100644 --- a/docs/nearlib/classes/_utils_key_pair_.publickey.md +++ b/docs/nearlib/classes/_utils_key_pair_.publickey.md @@ -33,7 +33,7 @@ PublicKey representation that has type and bytes of the key. \+ **new PublicKey**(`keyType`: [KeyType](../enums/_utils_key_pair_.keytype.md), `data`: Uint8Array): *[PublicKey](_utils_key_pair_.publickey.md)* -*Defined in [utils/key_pair.ts:37](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/utils/key_pair.ts#L37)* +*Defined in [utils/key_pair.ts:37](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/utils/key_pair.ts#L37)* **Parameters:** @@ -50,7 +50,7 @@ Name | Type | • **data**: *Uint8Array* -*Defined in [utils/key_pair.ts:37](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/utils/key_pair.ts#L37)* +*Defined in [utils/key_pair.ts:37](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/utils/key_pair.ts#L37)* ___ @@ -58,7 +58,7 @@ ___ • **keyType**: *[KeyType](../enums/_utils_key_pair_.keytype.md)* -*Defined in [utils/key_pair.ts:36](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/utils/key_pair.ts#L36)* +*Defined in [utils/key_pair.ts:36](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/utils/key_pair.ts#L36)* ## Methods @@ -66,7 +66,7 @@ ___ ▸ **toString**(): *string* -*Defined in [utils/key_pair.ts:62](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/utils/key_pair.ts#L62)* +*Defined in [utils/key_pair.ts:62](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/utils/key_pair.ts#L62)* **Returns:** *string* @@ -76,7 +76,7 @@ ___ ▸ **from**(`value`: string | [PublicKey](_utils_key_pair_.publickey.md)): *[PublicKey](_utils_key_pair_.publickey.md)* -*Defined in [utils/key_pair.ts:44](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/utils/key_pair.ts#L44)* +*Defined in [utils/key_pair.ts:44](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/utils/key_pair.ts#L44)* **Parameters:** @@ -92,7 +92,7 @@ ___ ▸ **fromString**(`encodedKey`: string): *[PublicKey](_utils_key_pair_.publickey.md)* -*Defined in [utils/key_pair.ts:51](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/utils/key_pair.ts#L51)* +*Defined in [utils/key_pair.ts:51](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/utils/key_pair.ts#L51)* **Parameters:** diff --git a/docs/nearlib/classes/_utils_serialize_.binaryreader.md b/docs/nearlib/classes/_utils_serialize_.binaryreader.md index 7c007a75c3..f863065114 100644 --- a/docs/nearlib/classes/_utils_serialize_.binaryreader.md +++ b/docs/nearlib/classes/_utils_serialize_.binaryreader.md @@ -36,7 +36,7 @@ sidebar_label: "BinaryReader" \+ **new BinaryReader**(`buf`: Buffer): *[BinaryReader](_utils_serialize_.binaryreader.md)* -*Defined in [utils/serialize.ts:92](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/utils/serialize.ts#L92)* +*Defined in [utils/serialize.ts:92](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/utils/serialize.ts#L92)* **Parameters:** @@ -52,7 +52,7 @@ Name | Type | • **buf**: *Buffer* -*Defined in [utils/serialize.ts:91](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/utils/serialize.ts#L91)* +*Defined in [utils/serialize.ts:91](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/utils/serialize.ts#L91)* ___ @@ -60,7 +60,7 @@ ___ • **offset**: *number* -*Defined in [utils/serialize.ts:92](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/utils/serialize.ts#L92)* +*Defined in [utils/serialize.ts:92](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/utils/serialize.ts#L92)* ## Methods @@ -68,7 +68,7 @@ ___ ▸ **read_array**(`fn`: any): *any[]* -*Defined in [utils/serialize.ts:137](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/utils/serialize.ts#L137)* +*Defined in [utils/serialize.ts:137](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/utils/serialize.ts#L137)* **Parameters:** @@ -84,7 +84,7 @@ ___ ▸ **read_buffer**(`len`: number): *Buffer* -*Defined in [utils/serialize.ts:122](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/utils/serialize.ts#L122)* +*Defined in [utils/serialize.ts:122](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/utils/serialize.ts#L122)* **Parameters:** @@ -100,7 +100,7 @@ ___ ▸ **read_fixed_array**(`len`: number): *Uint8Array* -*Defined in [utils/serialize.ts:133](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/utils/serialize.ts#L133)* +*Defined in [utils/serialize.ts:133](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/utils/serialize.ts#L133)* **Parameters:** @@ -116,7 +116,7 @@ ___ ▸ **read_string**(): *string* -*Defined in [utils/serialize.ts:128](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/utils/serialize.ts#L128)* +*Defined in [utils/serialize.ts:128](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/utils/serialize.ts#L128)* **Returns:** *string* @@ -126,7 +126,7 @@ ___ ▸ **read_u128**(): *BN* -*Defined in [utils/serialize.ts:117](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/utils/serialize.ts#L117)* +*Defined in [utils/serialize.ts:117](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/utils/serialize.ts#L117)* **Returns:** *BN* @@ -136,7 +136,7 @@ ___ ▸ **read_u32**(): *number* -*Defined in [utils/serialize.ts:105](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/utils/serialize.ts#L105)* +*Defined in [utils/serialize.ts:105](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/utils/serialize.ts#L105)* **Returns:** *number* @@ -146,7 +146,7 @@ ___ ▸ **read_u64**(): *BN* -*Defined in [utils/serialize.ts:111](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/utils/serialize.ts#L111)* +*Defined in [utils/serialize.ts:111](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/utils/serialize.ts#L111)* **Returns:** *BN* @@ -156,6 +156,6 @@ ___ ▸ **read_u8**(): *number* -*Defined in [utils/serialize.ts:99](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/utils/serialize.ts#L99)* +*Defined in [utils/serialize.ts:99](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/utils/serialize.ts#L99)* **Returns:** *number* diff --git a/docs/nearlib/classes/_utils_serialize_.binarywriter.md b/docs/nearlib/classes/_utils_serialize_.binarywriter.md index b3a93bb744..018c87dfb1 100644 --- a/docs/nearlib/classes/_utils_serialize_.binarywriter.md +++ b/docs/nearlib/classes/_utils_serialize_.binarywriter.md @@ -38,7 +38,7 @@ sidebar_label: "BinaryWriter" \+ **new BinaryWriter**(): *[BinaryWriter](_utils_serialize_.binarywriter.md)* -*Defined in [utils/serialize.ts:24](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/utils/serialize.ts#L24)* +*Defined in [utils/serialize.ts:24](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/utils/serialize.ts#L24)* **Returns:** *[BinaryWriter](_utils_serialize_.binarywriter.md)* @@ -48,7 +48,7 @@ sidebar_label: "BinaryWriter" • **buf**: *Buffer* -*Defined in [utils/serialize.ts:23](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/utils/serialize.ts#L23)* +*Defined in [utils/serialize.ts:23](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/utils/serialize.ts#L23)* ___ @@ -56,7 +56,7 @@ ___ • **length**: *number* -*Defined in [utils/serialize.ts:24](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/utils/serialize.ts#L24)* +*Defined in [utils/serialize.ts:24](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/utils/serialize.ts#L24)* ## Methods @@ -64,7 +64,7 @@ ___ ▸ **maybe_resize**(): *void* -*Defined in [utils/serialize.ts:31](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/utils/serialize.ts#L31)* +*Defined in [utils/serialize.ts:31](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/utils/serialize.ts#L31)* **Returns:** *void* @@ -74,7 +74,7 @@ ___ ▸ **toArray**(): *Uint8Array* -*Defined in [utils/serialize.ts:85](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/utils/serialize.ts#L85)* +*Defined in [utils/serialize.ts:85](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/utils/serialize.ts#L85)* **Returns:** *Uint8Array* @@ -84,7 +84,7 @@ ___ ▸ **write_array**(`array`: any[], `fn`: any): *void* -*Defined in [utils/serialize.ts:76](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/utils/serialize.ts#L76)* +*Defined in [utils/serialize.ts:76](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/utils/serialize.ts#L76)* **Parameters:** @@ -101,7 +101,7 @@ ___ ▸ **write_buffer**(`buffer`: Buffer): *void* -*Defined in [utils/serialize.ts:59](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/utils/serialize.ts#L59)* +*Defined in [utils/serialize.ts:59](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/utils/serialize.ts#L59)* **Parameters:** @@ -117,7 +117,7 @@ ___ ▸ **write_fixed_array**(`array`: Uint8Array): *void* -*Defined in [utils/serialize.ts:72](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/utils/serialize.ts#L72)* +*Defined in [utils/serialize.ts:72](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/utils/serialize.ts#L72)* **Parameters:** @@ -133,7 +133,7 @@ ___ ▸ **write_string**(`str`: string): *void* -*Defined in [utils/serialize.ts:65](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/utils/serialize.ts#L65)* +*Defined in [utils/serialize.ts:65](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/utils/serialize.ts#L65)* **Parameters:** @@ -149,7 +149,7 @@ ___ ▸ **write_u128**(`value`: BN): *void* -*Defined in [utils/serialize.ts:54](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/utils/serialize.ts#L54)* +*Defined in [utils/serialize.ts:54](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/utils/serialize.ts#L54)* **Parameters:** @@ -165,7 +165,7 @@ ___ ▸ **write_u32**(`value`: number): *void* -*Defined in [utils/serialize.ts:43](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/utils/serialize.ts#L43)* +*Defined in [utils/serialize.ts:43](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/utils/serialize.ts#L43)* **Parameters:** @@ -181,7 +181,7 @@ ___ ▸ **write_u64**(`value`: BN): *void* -*Defined in [utils/serialize.ts:49](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/utils/serialize.ts#L49)* +*Defined in [utils/serialize.ts:49](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/utils/serialize.ts#L49)* **Parameters:** @@ -197,7 +197,7 @@ ___ ▸ **write_u8**(`value`: number): *void* -*Defined in [utils/serialize.ts:37](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/utils/serialize.ts#L37)* +*Defined in [utils/serialize.ts:37](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/utils/serialize.ts#L37)* **Parameters:** diff --git a/docs/nearlib/classes/_wallet_account_.walletaccount.md b/docs/nearlib/classes/_wallet_account_.walletaccount.md index 2db526362d..97db85a6a0 100644 --- a/docs/nearlib/classes/_wallet_account_.walletaccount.md +++ b/docs/nearlib/classes/_wallet_account_.walletaccount.md @@ -37,7 +37,7 @@ sidebar_label: "WalletAccount" \+ **new WalletAccount**(`near`: [Near](_near_.near.md), `appKeyPrefix`: string | null): *[WalletAccount](_wallet_account_.walletaccount.md)* -*Defined in [wallet-account.ts:18](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/wallet-account.ts#L18)* +*Defined in [wallet-account.ts:18](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/wallet-account.ts#L18)* **Parameters:** @@ -54,7 +54,7 @@ Name | Type | • **_authData**: *any* -*Defined in [wallet-account.ts:17](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/wallet-account.ts#L17)* +*Defined in [wallet-account.ts:17](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/wallet-account.ts#L17)* ___ @@ -62,7 +62,7 @@ ___ • **_authDataKey**: *string* -*Defined in [wallet-account.ts:15](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/wallet-account.ts#L15)* +*Defined in [wallet-account.ts:15](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/wallet-account.ts#L15)* ___ @@ -70,7 +70,7 @@ ___ • **_keyStore**: *[KeyStore](_key_stores_keystore_.keystore.md)* -*Defined in [wallet-account.ts:16](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/wallet-account.ts#L16)* +*Defined in [wallet-account.ts:16](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/wallet-account.ts#L16)* ___ @@ -78,7 +78,7 @@ ___ • **_networkId**: *string* -*Defined in [wallet-account.ts:18](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/wallet-account.ts#L18)* +*Defined in [wallet-account.ts:18](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/wallet-account.ts#L18)* ___ @@ -86,7 +86,7 @@ ___ • **_walletBaseUrl**: *string* -*Defined in [wallet-account.ts:14](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/wallet-account.ts#L14)* +*Defined in [wallet-account.ts:14](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/wallet-account.ts#L14)* ## Methods @@ -94,7 +94,7 @@ ___ ▸ **_completeSignInWithAccessKey**(): *Promise‹void›* -*Defined in [wallet-account.ts:84](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/wallet-account.ts#L84)* +*Defined in [wallet-account.ts:84](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/wallet-account.ts#L84)* Complete sign in for a given account id and public key. To be invoked by the app when getting a callback from the wallet. @@ -106,7 +106,7 @@ ___ ▸ **_moveKeyFromTempToPermanent**(`accountId`: string, `publicKey`: string): *Promise‹void›* -*Defined in [wallet-account.ts:97](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/wallet-account.ts#L97)* +*Defined in [wallet-account.ts:97](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/wallet-account.ts#L97)* **Parameters:** @@ -123,7 +123,7 @@ ___ ▸ **getAccountId**(): *any* -*Defined in [wallet-account.ts:46](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/wallet-account.ts#L46)* +*Defined in [wallet-account.ts:46](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/wallet-account.ts#L46)* Returns authorized Account ID. @@ -138,7 +138,7 @@ ___ ▸ **isSignedIn**(): *boolean* -*Defined in [wallet-account.ts:37](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/wallet-account.ts#L37)* +*Defined in [wallet-account.ts:37](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/wallet-account.ts#L37)* Returns true, if this WalletAccount is authorized with the wallet. @@ -153,7 +153,7 @@ ___ ▸ **requestSignIn**(`contractId`: string, `title`: string, `successUrl`: string, `failureUrl`: string): *Promise‹void›* -*Defined in [wallet-account.ts:63](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/wallet-account.ts#L63)* +*Defined in [wallet-account.ts:63](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/wallet-account.ts#L63)* Redirects current page to the wallet authentication page. @@ -181,7 +181,7 @@ ___ ▸ **signOut**(): *void* -*Defined in [wallet-account.ts:108](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/wallet-account.ts#L108)* +*Defined in [wallet-account.ts:108](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/wallet-account.ts#L108)* Sign out from the current account diff --git a/docs/nearlib/enums/_providers_provider_.executionstatusbasic.md b/docs/nearlib/enums/_providers_provider_.executionstatusbasic.md index f19741af78..a8027ae95a 100644 --- a/docs/nearlib/enums/_providers_provider_.executionstatusbasic.md +++ b/docs/nearlib/enums/_providers_provider_.executionstatusbasic.md @@ -10,6 +10,7 @@ sidebar_label: "ExecutionStatusBasic" * [Failure](_providers_provider_.executionstatusbasic.md#failure) * [Pending](_providers_provider_.executionstatusbasic.md#pending) +* [Unknown](_providers_provider_.executionstatusbasic.md#unknown) ## Enumeration members @@ -17,7 +18,7 @@ sidebar_label: "ExecutionStatusBasic" • **Failure**: = "Failure" -*Defined in [providers/provider.ts:24](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/providers/provider.ts#L24)* +*Defined in [providers/provider.ts:25](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/providers/provider.ts#L25)* ___ @@ -25,4 +26,12 @@ ___ • **Pending**: = "Pending" -*Defined in [providers/provider.ts:23](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/providers/provider.ts#L23)* +*Defined in [providers/provider.ts:24](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/providers/provider.ts#L24)* + +___ + +### Unknown + +• **Unknown**: = "Unknown" + +*Defined in [providers/provider.ts:23](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/providers/provider.ts#L23)* diff --git a/docs/nearlib/enums/_providers_provider_.finalexecutionstatusbasic.md b/docs/nearlib/enums/_providers_provider_.finalexecutionstatusbasic.md index 0076bbc5a9..d852892ae4 100644 --- a/docs/nearlib/enums/_providers_provider_.finalexecutionstatusbasic.md +++ b/docs/nearlib/enums/_providers_provider_.finalexecutionstatusbasic.md @@ -18,7 +18,7 @@ sidebar_label: "FinalExecutionStatusBasic" • **Failure**: = "Failure" -*Defined in [providers/provider.ts:35](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/providers/provider.ts#L35)* +*Defined in [providers/provider.ts:36](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/providers/provider.ts#L36)* ___ @@ -26,7 +26,7 @@ ___ • **NotStarted**: = "NotStarted" -*Defined in [providers/provider.ts:33](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/providers/provider.ts#L33)* +*Defined in [providers/provider.ts:34](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/providers/provider.ts#L34)* ___ @@ -34,4 +34,4 @@ ___ • **Started**: = "Started" -*Defined in [providers/provider.ts:34](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/providers/provider.ts#L34)* +*Defined in [providers/provider.ts:35](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/providers/provider.ts#L35)* diff --git a/docs/nearlib/enums/_providers_provider_.legacyfinaltransactionstatus.md b/docs/nearlib/enums/_providers_provider_.legacyfinaltransactionstatus.md index a5bc1b703a..0efa6a2d6a 100644 --- a/docs/nearlib/enums/_providers_provider_.legacyfinaltransactionstatus.md +++ b/docs/nearlib/enums/_providers_provider_.legacyfinaltransactionstatus.md @@ -19,7 +19,7 @@ sidebar_label: "LegacyFinalTransactionStatus" • **Completed**: = "Completed" -*Defined in [providers/provider.ts:99](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/providers/provider.ts#L99)* +*Defined in [providers/provider.ts:100](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/providers/provider.ts#L100)* ___ @@ -27,7 +27,7 @@ ___ • **Failed**: = "Failed" -*Defined in [providers/provider.ts:98](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/providers/provider.ts#L98)* +*Defined in [providers/provider.ts:99](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/providers/provider.ts#L99)* ___ @@ -35,7 +35,7 @@ ___ • **Started**: = "Started" -*Defined in [providers/provider.ts:97](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/providers/provider.ts#L97)* +*Defined in [providers/provider.ts:98](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/providers/provider.ts#L98)* ___ @@ -43,4 +43,4 @@ ___ • **Unknown**: = "Unknown" -*Defined in [providers/provider.ts:96](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/providers/provider.ts#L96)* +*Defined in [providers/provider.ts:97](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/providers/provider.ts#L97)* diff --git a/docs/nearlib/enums/_providers_provider_.legacytransactionstatus.md b/docs/nearlib/enums/_providers_provider_.legacytransactionstatus.md index 9a027e1ee2..183f31a472 100644 --- a/docs/nearlib/enums/_providers_provider_.legacytransactionstatus.md +++ b/docs/nearlib/enums/_providers_provider_.legacytransactionstatus.md @@ -18,7 +18,7 @@ sidebar_label: "LegacyTransactionStatus" • **Completed**: = "Completed" -*Defined in [providers/provider.ts:104](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/providers/provider.ts#L104)* +*Defined in [providers/provider.ts:105](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/providers/provider.ts#L105)* ___ @@ -26,7 +26,7 @@ ___ • **Failed**: = "Failed" -*Defined in [providers/provider.ts:105](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/providers/provider.ts#L105)* +*Defined in [providers/provider.ts:106](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/providers/provider.ts#L106)* ___ @@ -34,4 +34,4 @@ ___ • **Unknown**: = "Unknown" -*Defined in [providers/provider.ts:103](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/providers/provider.ts#L103)* +*Defined in [providers/provider.ts:104](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/providers/provider.ts#L104)* diff --git a/docs/nearlib/enums/_utils_key_pair_.keytype.md b/docs/nearlib/enums/_utils_key_pair_.keytype.md index 75e7dc44db..50f443d67d 100644 --- a/docs/nearlib/enums/_utils_key_pair_.keytype.md +++ b/docs/nearlib/enums/_utils_key_pair_.keytype.md @@ -18,4 +18,4 @@ All supported key types • **ED25519**: = 0 -*Defined in [utils/key_pair.ts:15](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/utils/key_pair.ts#L15)* +*Defined in [utils/key_pair.ts:15](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/utils/key_pair.ts#L15)* diff --git a/docs/nearlib/interfaces/_account_.accountstate.md b/docs/nearlib/interfaces/_account_.accountstate.md index 1f923f2f88..54351b2cd7 100644 --- a/docs/nearlib/interfaces/_account_.accountstate.md +++ b/docs/nearlib/interfaces/_account_.accountstate.md @@ -23,7 +23,7 @@ sidebar_label: "AccountState" • **account_id**: *string* -*Defined in [account.ts:31](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/account.ts#L31)* +*Defined in [account.ts:31](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/account.ts#L31)* ___ @@ -31,7 +31,7 @@ ___ • **amount**: *string* -*Defined in [account.ts:32](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/account.ts#L32)* +*Defined in [account.ts:32](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/account.ts#L32)* ___ @@ -39,7 +39,7 @@ ___ • **code_hash**: *string* -*Defined in [account.ts:34](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/account.ts#L34)* +*Defined in [account.ts:34](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/account.ts#L34)* ___ @@ -47,4 +47,4 @@ ___ • **staked**: *string* -*Defined in [account.ts:33](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/account.ts#L33)* +*Defined in [account.ts:33](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/account.ts#L33)* diff --git a/docs/nearlib/interfaces/_key_stores_unencrypted_file_system_keystore_.accountinfo.md b/docs/nearlib/interfaces/_key_stores_unencrypted_file_system_keystore_.accountinfo.md index 39a7e7f9f2..44ef98262a 100644 --- a/docs/nearlib/interfaces/_key_stores_unencrypted_file_system_keystore_.accountinfo.md +++ b/docs/nearlib/interfaces/_key_stores_unencrypted_file_system_keystore_.accountinfo.md @@ -23,7 +23,7 @@ Format of the account stored on disk. • **account_id**: *string* -*Defined in [key_stores/unencrypted_file_system_keystore.ts:29](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/key_stores/unencrypted_file_system_keystore.ts#L29)* +*Defined in [key_stores/unencrypted_file_system_keystore.ts:29](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/key_stores/unencrypted_file_system_keystore.ts#L29)* ___ @@ -31,4 +31,4 @@ ___ • **private_key**: *string* -*Defined in [key_stores/unencrypted_file_system_keystore.ts:30](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/key_stores/unencrypted_file_system_keystore.ts#L30)* +*Defined in [key_stores/unencrypted_file_system_keystore.ts:30](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/key_stores/unencrypted_file_system_keystore.ts#L30)* diff --git a/docs/nearlib/interfaces/_providers_provider_.blockheader.md b/docs/nearlib/interfaces/_providers_provider_.blockheader.md index 362f18374d..1c59af1c19 100644 --- a/docs/nearlib/interfaces/_providers_provider_.blockheader.md +++ b/docs/nearlib/interfaces/_providers_provider_.blockheader.md @@ -28,7 +28,7 @@ sidebar_label: "BlockHeader" • **approval_mask**: *string* -*Defined in [providers/provider.ts:65](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/providers/provider.ts#L65)* +*Defined in [providers/provider.ts:66](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/providers/provider.ts#L66)* ___ @@ -36,7 +36,7 @@ ___ • **approval_sigs**: *string* -*Defined in [providers/provider.ts:66](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/providers/provider.ts#L66)* +*Defined in [providers/provider.ts:67](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/providers/provider.ts#L67)* ___ @@ -44,7 +44,7 @@ ___ • **hash**: *string* -*Defined in [providers/provider.ts:67](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/providers/provider.ts#L67)* +*Defined in [providers/provider.ts:68](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/providers/provider.ts#L68)* ___ @@ -52,7 +52,7 @@ ___ • **height**: *number* -*Defined in [providers/provider.ts:68](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/providers/provider.ts#L68)* +*Defined in [providers/provider.ts:69](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/providers/provider.ts#L69)* ___ @@ -60,7 +60,7 @@ ___ • **prev_hash**: *string* -*Defined in [providers/provider.ts:69](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/providers/provider.ts#L69)* +*Defined in [providers/provider.ts:70](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/providers/provider.ts#L70)* ___ @@ -68,7 +68,7 @@ ___ • **prev_state_root**: *string* -*Defined in [providers/provider.ts:70](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/providers/provider.ts#L70)* +*Defined in [providers/provider.ts:71](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/providers/provider.ts#L71)* ___ @@ -76,7 +76,7 @@ ___ • **timestamp**: *number* -*Defined in [providers/provider.ts:71](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/providers/provider.ts#L71)* +*Defined in [providers/provider.ts:72](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/providers/provider.ts#L72)* ___ @@ -84,7 +84,7 @@ ___ • **total_weight**: *[TotalWeight](_providers_provider_.totalweight.md)* -*Defined in [providers/provider.ts:72](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/providers/provider.ts#L72)* +*Defined in [providers/provider.ts:73](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/providers/provider.ts#L73)* ___ @@ -92,4 +92,4 @@ ___ • **tx_root**: *string* -*Defined in [providers/provider.ts:73](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/providers/provider.ts#L73)* +*Defined in [providers/provider.ts:74](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/providers/provider.ts#L74)* diff --git a/docs/nearlib/interfaces/_providers_provider_.blockresult.md b/docs/nearlib/interfaces/_providers_provider_.blockresult.md index bfca968c41..b8c88416a3 100644 --- a/docs/nearlib/interfaces/_providers_provider_.blockresult.md +++ b/docs/nearlib/interfaces/_providers_provider_.blockresult.md @@ -21,7 +21,7 @@ sidebar_label: "BlockResult" • **header**: *[BlockHeader](_providers_provider_.blockheader.md)* -*Defined in [providers/provider.ts:114](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/providers/provider.ts#L114)* +*Defined in [providers/provider.ts:115](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/providers/provider.ts#L115)* ___ @@ -29,4 +29,4 @@ ___ • **transactions**: *[Transaction](_providers_provider_.transaction.md)[]* -*Defined in [providers/provider.ts:115](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/providers/provider.ts#L115)* +*Defined in [providers/provider.ts:116](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/providers/provider.ts#L116)* diff --git a/docs/nearlib/interfaces/_providers_provider_.executionoutcome.md b/docs/nearlib/interfaces/_providers_provider_.executionoutcome.md index 9f0015c966..a2c83cf318 100644 --- a/docs/nearlib/interfaces/_providers_provider_.executionoutcome.md +++ b/docs/nearlib/interfaces/_providers_provider_.executionoutcome.md @@ -23,7 +23,7 @@ sidebar_label: "ExecutionOutcome" • **gas_burnt**: *number* -*Defined in [providers/provider.ts:51](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/providers/provider.ts#L51)* +*Defined in [providers/provider.ts:52](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/providers/provider.ts#L52)* ___ @@ -31,7 +31,7 @@ ___ • **logs**: *string[]* -*Defined in [providers/provider.ts:49](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/providers/provider.ts#L49)* +*Defined in [providers/provider.ts:50](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/providers/provider.ts#L50)* ___ @@ -39,7 +39,7 @@ ___ • **receipt_ids**: *string[]* -*Defined in [providers/provider.ts:50](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/providers/provider.ts#L50)* +*Defined in [providers/provider.ts:51](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/providers/provider.ts#L51)* ___ @@ -47,4 +47,4 @@ ___ • **status**: *[ExecutionStatus](../classes/_providers_provider_.executionstatus.md) | [ExecutionStatusBasic](../enums/_providers_provider_.executionstatusbasic.md)* -*Defined in [providers/provider.ts:48](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/providers/provider.ts#L48)* +*Defined in [providers/provider.ts:49](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/providers/provider.ts#L49)* diff --git a/docs/nearlib/interfaces/_providers_provider_.executionoutcomewithid.md b/docs/nearlib/interfaces/_providers_provider_.executionoutcomewithid.md index 15c7e44f15..336c74434e 100644 --- a/docs/nearlib/interfaces/_providers_provider_.executionoutcomewithid.md +++ b/docs/nearlib/interfaces/_providers_provider_.executionoutcomewithid.md @@ -21,7 +21,7 @@ sidebar_label: "ExecutionOutcomeWithId" • **id**: *string* -*Defined in [providers/provider.ts:43](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/providers/provider.ts#L43)* +*Defined in [providers/provider.ts:44](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/providers/provider.ts#L44)* ___ @@ -29,4 +29,4 @@ ___ • **outcome**: *[ExecutionOutcome](_providers_provider_.executionoutcome.md)* -*Defined in [providers/provider.ts:44](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/providers/provider.ts#L44)* +*Defined in [providers/provider.ts:45](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/providers/provider.ts#L45)* diff --git a/docs/nearlib/interfaces/_providers_provider_.finalexecutionoutcome.md b/docs/nearlib/interfaces/_providers_provider_.finalexecutionoutcome.md index c37eaa8141..23a1c10707 100644 --- a/docs/nearlib/interfaces/_providers_provider_.finalexecutionoutcome.md +++ b/docs/nearlib/interfaces/_providers_provider_.finalexecutionoutcome.md @@ -22,7 +22,7 @@ sidebar_label: "FinalExecutionOutcome" • **receipts**: *[ExecutionOutcomeWithId](_providers_provider_.executionoutcomewithid.md)[]* -*Defined in [providers/provider.ts:57](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/providers/provider.ts#L57)* +*Defined in [providers/provider.ts:58](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/providers/provider.ts#L58)* ___ @@ -30,7 +30,7 @@ ___ • **status**: *[FinalExecutionStatus](../classes/_providers_provider_.finalexecutionstatus.md) | [FinalExecutionStatusBasic](../enums/_providers_provider_.finalexecutionstatusbasic.md)* -*Defined in [providers/provider.ts:55](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/providers/provider.ts#L55)* +*Defined in [providers/provider.ts:56](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/providers/provider.ts#L56)* ___ @@ -38,4 +38,4 @@ ___ • **transaction**: *[ExecutionOutcomeWithId](_providers_provider_.executionoutcomewithid.md)* -*Defined in [providers/provider.ts:56](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/providers/provider.ts#L56)* +*Defined in [providers/provider.ts:57](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/providers/provider.ts#L57)* diff --git a/docs/nearlib/interfaces/_providers_provider_.legacyfinaltransactionresult.md b/docs/nearlib/interfaces/_providers_provider_.legacyfinaltransactionresult.md index cda117b61c..7123407225 100644 --- a/docs/nearlib/interfaces/_providers_provider_.legacyfinaltransactionresult.md +++ b/docs/nearlib/interfaces/_providers_provider_.legacyfinaltransactionresult.md @@ -21,7 +21,7 @@ sidebar_label: "LegacyFinalTransactionResult" • **status**: *[LegacyFinalTransactionStatus](../enums/_providers_provider_.legacyfinaltransactionstatus.md)* -*Defined in [providers/provider.ts:109](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/providers/provider.ts#L109)* +*Defined in [providers/provider.ts:110](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/providers/provider.ts#L110)* ___ @@ -29,4 +29,4 @@ ___ • **transactions**: *[LegacyTransactionLog](_providers_provider_.legacytransactionlog.md)[]* -*Defined in [providers/provider.ts:110](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/providers/provider.ts#L110)* +*Defined in [providers/provider.ts:111](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/providers/provider.ts#L111)* diff --git a/docs/nearlib/interfaces/_providers_provider_.legacytransactionlog.md b/docs/nearlib/interfaces/_providers_provider_.legacytransactionlog.md index 5e30ef06c9..9659da7bd1 100644 --- a/docs/nearlib/interfaces/_providers_provider_.legacytransactionlog.md +++ b/docs/nearlib/interfaces/_providers_provider_.legacytransactionlog.md @@ -21,7 +21,7 @@ sidebar_label: "LegacyTransactionLog" • **hash**: *string* -*Defined in [providers/provider.ts:84](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/providers/provider.ts#L84)* +*Defined in [providers/provider.ts:85](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/providers/provider.ts#L85)* ___ @@ -29,4 +29,4 @@ ___ • **result**: *[LegacyTransactionResult](_providers_provider_.legacytransactionresult.md)* -*Defined in [providers/provider.ts:85](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/providers/provider.ts#L85)* +*Defined in [providers/provider.ts:86](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/providers/provider.ts#L86)* diff --git a/docs/nearlib/interfaces/_providers_provider_.legacytransactionresult.md b/docs/nearlib/interfaces/_providers_provider_.legacytransactionresult.md index 109277f694..d42197a6bd 100644 --- a/docs/nearlib/interfaces/_providers_provider_.legacytransactionresult.md +++ b/docs/nearlib/interfaces/_providers_provider_.legacytransactionresult.md @@ -23,7 +23,7 @@ sidebar_label: "LegacyTransactionResult" • **logs**: *string[]* -*Defined in [providers/provider.ts:90](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/providers/provider.ts#L90)* +*Defined in [providers/provider.ts:91](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/providers/provider.ts#L91)* ___ @@ -31,7 +31,7 @@ ___ • **receipts**: *string[]* -*Defined in [providers/provider.ts:91](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/providers/provider.ts#L91)* +*Defined in [providers/provider.ts:92](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/providers/provider.ts#L92)* ___ @@ -39,7 +39,7 @@ ___ • **result**? : *string* -*Defined in [providers/provider.ts:92](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/providers/provider.ts#L92)* +*Defined in [providers/provider.ts:93](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/providers/provider.ts#L93)* ___ @@ -47,4 +47,4 @@ ___ • **status**: *[LegacyTransactionStatus](../enums/_providers_provider_.legacytransactionstatus.md)* -*Defined in [providers/provider.ts:89](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/providers/provider.ts#L89)* +*Defined in [providers/provider.ts:90](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/providers/provider.ts#L90)* diff --git a/docs/nearlib/interfaces/_providers_provider_.nodestatusresult.md b/docs/nearlib/interfaces/_providers_provider_.nodestatusresult.md index 70dd2032e2..ab0a49bad7 100644 --- a/docs/nearlib/interfaces/_providers_provider_.nodestatusresult.md +++ b/docs/nearlib/interfaces/_providers_provider_.nodestatusresult.md @@ -23,7 +23,7 @@ sidebar_label: "NodeStatusResult" • **chain_id**: *string* -*Defined in [providers/provider.ts:16](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/providers/provider.ts#L16)* +*Defined in [providers/provider.ts:16](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/providers/provider.ts#L16)* ___ @@ -31,7 +31,7 @@ ___ • **rpc_addr**: *string* -*Defined in [providers/provider.ts:17](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/providers/provider.ts#L17)* +*Defined in [providers/provider.ts:17](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/providers/provider.ts#L17)* ___ @@ -39,7 +39,7 @@ ___ • **sync_info**: *[SyncInfo](_providers_provider_.syncinfo.md)* -*Defined in [providers/provider.ts:18](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/providers/provider.ts#L18)* +*Defined in [providers/provider.ts:18](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/providers/provider.ts#L18)* ___ @@ -47,4 +47,4 @@ ___ • **validators**: *string[]* -*Defined in [providers/provider.ts:19](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/providers/provider.ts#L19)* +*Defined in [providers/provider.ts:19](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/providers/provider.ts#L19)* diff --git a/docs/nearlib/interfaces/_providers_provider_.syncinfo.md b/docs/nearlib/interfaces/_providers_provider_.syncinfo.md index 89e59c8c1a..680b25aaa8 100644 --- a/docs/nearlib/interfaces/_providers_provider_.syncinfo.md +++ b/docs/nearlib/interfaces/_providers_provider_.syncinfo.md @@ -24,7 +24,7 @@ sidebar_label: "SyncInfo" • **latest_block_hash**: *string* -*Defined in [providers/provider.ts:8](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/providers/provider.ts#L8)* +*Defined in [providers/provider.ts:8](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/providers/provider.ts#L8)* ___ @@ -32,7 +32,7 @@ ___ • **latest_block_height**: *number* -*Defined in [providers/provider.ts:9](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/providers/provider.ts#L9)* +*Defined in [providers/provider.ts:9](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/providers/provider.ts#L9)* ___ @@ -40,7 +40,7 @@ ___ • **latest_block_time**: *string* -*Defined in [providers/provider.ts:10](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/providers/provider.ts#L10)* +*Defined in [providers/provider.ts:10](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/providers/provider.ts#L10)* ___ @@ -48,7 +48,7 @@ ___ • **latest_state_root**: *string* -*Defined in [providers/provider.ts:11](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/providers/provider.ts#L11)* +*Defined in [providers/provider.ts:11](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/providers/provider.ts#L11)* ___ @@ -56,4 +56,4 @@ ___ • **syncing**: *boolean* -*Defined in [providers/provider.ts:12](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/providers/provider.ts#L12)* +*Defined in [providers/provider.ts:12](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/providers/provider.ts#L12)* diff --git a/docs/nearlib/interfaces/_providers_provider_.totalweight.md b/docs/nearlib/interfaces/_providers_provider_.totalweight.md index 69127b8cda..b299dab49d 100644 --- a/docs/nearlib/interfaces/_providers_provider_.totalweight.md +++ b/docs/nearlib/interfaces/_providers_provider_.totalweight.md @@ -20,4 +20,4 @@ sidebar_label: "TotalWeight" • **num**: *number* -*Defined in [providers/provider.ts:61](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/providers/provider.ts#L61)* +*Defined in [providers/provider.ts:62](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/providers/provider.ts#L62)* diff --git a/docs/nearlib/interfaces/_providers_provider_.transaction.md b/docs/nearlib/interfaces/_providers_provider_.transaction.md index 267eebd382..edb3296c63 100644 --- a/docs/nearlib/interfaces/_providers_provider_.transaction.md +++ b/docs/nearlib/interfaces/_providers_provider_.transaction.md @@ -23,7 +23,7 @@ sidebar_label: "Transaction" • **body**: *any* -*Defined in [providers/provider.ts:80](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/providers/provider.ts#L80)* +*Defined in [providers/provider.ts:81](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/providers/provider.ts#L81)* ___ @@ -31,7 +31,7 @@ ___ • **hash**: *string* -*Defined in [providers/provider.ts:77](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/providers/provider.ts#L77)* +*Defined in [providers/provider.ts:78](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/providers/provider.ts#L78)* ___ @@ -39,7 +39,7 @@ ___ • **public_key**: *string* -*Defined in [providers/provider.ts:78](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/providers/provider.ts#L78)* +*Defined in [providers/provider.ts:79](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/providers/provider.ts#L79)* ___ @@ -47,4 +47,4 @@ ___ • **signature**: *string* -*Defined in [providers/provider.ts:79](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/providers/provider.ts#L79)* +*Defined in [providers/provider.ts:80](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/providers/provider.ts#L80)* diff --git a/docs/nearlib/interfaces/_utils_key_pair_.signature.md b/docs/nearlib/interfaces/_utils_key_pair_.signature.md index 7d93d588f7..3edffee0bd 100644 --- a/docs/nearlib/interfaces/_utils_key_pair_.signature.md +++ b/docs/nearlib/interfaces/_utils_key_pair_.signature.md @@ -21,7 +21,7 @@ sidebar_label: "Signature" • **publicKey**: *[PublicKey](../classes/_utils_key_pair_.publickey.md)* -*Defined in [utils/key_pair.ts:10](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/utils/key_pair.ts#L10)* +*Defined in [utils/key_pair.ts:10](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/utils/key_pair.ts#L10)* ___ @@ -29,4 +29,4 @@ ___ • **signature**: *Uint8Array* -*Defined in [utils/key_pair.ts:9](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/utils/key_pair.ts#L9)* +*Defined in [utils/key_pair.ts:9](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/utils/key_pair.ts#L9)* diff --git a/docs/nearlib/interfaces/_utils_network_.network.md b/docs/nearlib/interfaces/_utils_network_.network.md index 23db068a3b..06bc585964 100644 --- a/docs/nearlib/interfaces/_utils_network_.network.md +++ b/docs/nearlib/interfaces/_utils_network_.network.md @@ -22,7 +22,7 @@ sidebar_label: "Network" • **_defaultProvider**? : *function* -*Defined in [utils/network.ts:6](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/utils/network.ts#L6)* +*Defined in [utils/network.ts:6](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/utils/network.ts#L6)* #### Type declaration: @@ -40,7 +40,7 @@ ___ • **chainId**: *string* -*Defined in [utils/network.ts:5](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/utils/network.ts#L5)* +*Defined in [utils/network.ts:5](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/utils/network.ts#L5)* ___ @@ -48,4 +48,4 @@ ___ • **name**: *string* -*Defined in [utils/network.ts:4](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/utils/network.ts#L4)* +*Defined in [utils/network.ts:4](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/utils/network.ts#L4)* diff --git a/docs/nearlib/interfaces/_utils_web_.connectioninfo.md b/docs/nearlib/interfaces/_utils_web_.connectioninfo.md index 723c22d8b3..75182c02cb 100644 --- a/docs/nearlib/interfaces/_utils_web_.connectioninfo.md +++ b/docs/nearlib/interfaces/_utils_web_.connectioninfo.md @@ -25,7 +25,7 @@ sidebar_label: "ConnectionInfo" • **allowInsecure**? : *boolean* -*Defined in [utils/web.ts:9](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/utils/web.ts#L9)* +*Defined in [utils/web.ts:9](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/utils/web.ts#L9)* ___ @@ -33,7 +33,7 @@ ___ • **headers**? : *object* -*Defined in [utils/web.ts:11](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/utils/web.ts#L11)* +*Defined in [utils/web.ts:11](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/utils/web.ts#L11)* #### Type declaration: @@ -45,7 +45,7 @@ ___ • **password**? : *string* -*Defined in [utils/web.ts:8](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/utils/web.ts#L8)* +*Defined in [utils/web.ts:8](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/utils/web.ts#L8)* ___ @@ -53,7 +53,7 @@ ___ • **timeout**? : *number* -*Defined in [utils/web.ts:10](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/utils/web.ts#L10)* +*Defined in [utils/web.ts:10](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/utils/web.ts#L10)* ___ @@ -61,7 +61,7 @@ ___ • **url**: *string* -*Defined in [utils/web.ts:6](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/utils/web.ts#L6)* +*Defined in [utils/web.ts:6](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/utils/web.ts#L6)* ___ @@ -69,4 +69,4 @@ ___ • **user**? : *string* -*Defined in [utils/web.ts:7](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/utils/web.ts#L7)* +*Defined in [utils/web.ts:7](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/utils/web.ts#L7)* diff --git a/docs/nearlib/modules/_account_.md b/docs/nearlib/modules/_account_.md index bd6ff8e4b8..a076ed1dbd 100644 --- a/docs/nearlib/modules/_account_.md +++ b/docs/nearlib/modules/_account_.md @@ -31,7 +31,7 @@ sidebar_label: "account" • **DEFAULT_FUNC_CALL_AMOUNT**: *2000000* = 2000000 -*Defined in [account.ts:14](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/account.ts#L14)* +*Defined in [account.ts:14](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/account.ts#L14)* ___ @@ -39,7 +39,7 @@ ___ • **TX_STATUS_RETRY_NUMBER**: *10* = 10 -*Defined in [account.ts:17](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/account.ts#L17)* +*Defined in [account.ts:17](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/account.ts#L17)* ___ @@ -47,7 +47,7 @@ ___ • **TX_STATUS_RETRY_WAIT**: *500* = 500 -*Defined in [account.ts:20](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/account.ts#L20)* +*Defined in [account.ts:20](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/account.ts#L20)* ___ @@ -55,7 +55,7 @@ ___ • **TX_STATUS_RETRY_WAIT_BACKOFF**: *1.5* = 1.5 -*Defined in [account.ts:23](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/account.ts#L23)* +*Defined in [account.ts:23](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/account.ts#L23)* ## Functions @@ -63,7 +63,7 @@ ___ ▸ **sleep**(`millis`: number): *Promise‹any›* -*Defined in [account.ts:26](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/account.ts#L26)* +*Defined in [account.ts:26](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/account.ts#L26)* **Parameters:** diff --git a/docs/nearlib/modules/_connection_.md b/docs/nearlib/modules/_connection_.md index 6b6a99ba51..65ca8252c0 100644 --- a/docs/nearlib/modules/_connection_.md +++ b/docs/nearlib/modules/_connection_.md @@ -21,7 +21,7 @@ sidebar_label: "connection" ▸ **getProvider**(`config`: any): *[Provider](../classes/_providers_provider_.provider.md)* -*Defined in [connection.ts:6](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/connection.ts#L6)* +*Defined in [connection.ts:6](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/connection.ts#L6)* **Parameters:** @@ -37,7 +37,7 @@ ___ ▸ **getSigner**(`networkId`: string, `config`: any): *[Signer](../classes/_signer_.signer.md)* -*Defined in [connection.ts:13](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/connection.ts#L13)* +*Defined in [connection.ts:13](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/connection.ts#L13)* **Parameters:** diff --git a/docs/nearlib/modules/_key_stores_browser_local_storage_key_store_.md b/docs/nearlib/modules/_key_stores_browser_local_storage_key_store_.md index 57208a901d..ce6cf3abe1 100644 --- a/docs/nearlib/modules/_key_stores_browser_local_storage_key_store_.md +++ b/docs/nearlib/modules/_key_stores_browser_local_storage_key_store_.md @@ -20,4 +20,4 @@ sidebar_label: "key_stores/browser_local_storage_key_store" • **LOCAL_STORAGE_KEY_PREFIX**: *"nearlib:keystore:"* = "nearlib:keystore:" -*Defined in [key_stores/browser_local_storage_key_store.ts:6](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/key_stores/browser_local_storage_key_store.ts#L6)* +*Defined in [key_stores/browser_local_storage_key_store.ts:6](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/key_stores/browser_local_storage_key_store.ts#L6)* diff --git a/docs/nearlib/modules/_key_stores_unencrypted_file_system_keystore_.md b/docs/nearlib/modules/_key_stores_unencrypted_file_system_keystore_.md index 65812fa138..cb7fc48496 100644 --- a/docs/nearlib/modules/_key_stores_unencrypted_file_system_keystore_.md +++ b/docs/nearlib/modules/_key_stores_unencrypted_file_system_keystore_.md @@ -36,7 +36,7 @@ sidebar_label: "key_stores/unencrypted_file_system_keystore" • **exists**: *Function* = promisify(fs.exists) -*Defined in [key_stores/unencrypted_file_system_keystore.ts:18](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/key_stores/unencrypted_file_system_keystore.ts#L18)* +*Defined in [key_stores/unencrypted_file_system_keystore.ts:18](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/key_stores/unencrypted_file_system_keystore.ts#L18)* ___ @@ -44,7 +44,7 @@ ___ • **mkdir**: *Function* = promisify(fs.mkdir) -*Defined in [key_stores/unencrypted_file_system_keystore.ts:23](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/key_stores/unencrypted_file_system_keystore.ts#L23)* +*Defined in [key_stores/unencrypted_file_system_keystore.ts:23](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/key_stores/unencrypted_file_system_keystore.ts#L23)* ___ @@ -52,7 +52,7 @@ ___ • **readFile**: *Function* = promisify(fs.readFile) -*Defined in [key_stores/unencrypted_file_system_keystore.ts:19](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/key_stores/unencrypted_file_system_keystore.ts#L19)* +*Defined in [key_stores/unencrypted_file_system_keystore.ts:19](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/key_stores/unencrypted_file_system_keystore.ts#L19)* ___ @@ -60,7 +60,7 @@ ___ • **readdir**: *Function* = promisify(fs.readdir) -*Defined in [key_stores/unencrypted_file_system_keystore.ts:22](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/key_stores/unencrypted_file_system_keystore.ts#L22)* +*Defined in [key_stores/unencrypted_file_system_keystore.ts:22](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/key_stores/unencrypted_file_system_keystore.ts#L22)* ___ @@ -68,7 +68,7 @@ ___ • **unlink**: *Function* = promisify(fs.unlink) -*Defined in [key_stores/unencrypted_file_system_keystore.ts:21](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/key_stores/unencrypted_file_system_keystore.ts#L21)* +*Defined in [key_stores/unencrypted_file_system_keystore.ts:21](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/key_stores/unencrypted_file_system_keystore.ts#L21)* ___ @@ -76,7 +76,7 @@ ___ • **writeFile**: *Function* = promisify(fs.writeFile) -*Defined in [key_stores/unencrypted_file_system_keystore.ts:20](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/key_stores/unencrypted_file_system_keystore.ts#L20)* +*Defined in [key_stores/unencrypted_file_system_keystore.ts:20](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/key_stores/unencrypted_file_system_keystore.ts#L20)* ## Functions @@ -84,7 +84,7 @@ ___ ▸ **ensureDir**(`path`: string): *Promise‹void›* -*Defined in [key_stores/unencrypted_file_system_keystore.ts:38](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/key_stores/unencrypted_file_system_keystore.ts#L38)* +*Defined in [key_stores/unencrypted_file_system_keystore.ts:38](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/key_stores/unencrypted_file_system_keystore.ts#L38)* **Parameters:** @@ -100,7 +100,7 @@ ___ ▸ **loadJsonFile**(`path`: string): *Promise‹any›* -*Defined in [key_stores/unencrypted_file_system_keystore.ts:33](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/key_stores/unencrypted_file_system_keystore.ts#L33)* +*Defined in [key_stores/unencrypted_file_system_keystore.ts:33](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/key_stores/unencrypted_file_system_keystore.ts#L33)* **Parameters:** @@ -116,7 +116,7 @@ ___ ▸ **promisify**(`fn`: any): *Function* -*Defined in [key_stores/unencrypted_file_system_keystore.ts:9](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/key_stores/unencrypted_file_system_keystore.ts#L9)* +*Defined in [key_stores/unencrypted_file_system_keystore.ts:9](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/key_stores/unencrypted_file_system_keystore.ts#L9)* **Parameters:** @@ -132,7 +132,7 @@ ___ ▸ **readKeyFile**(`path`: string): *Promise‹[string, [KeyPair](../classes/_utils_key_pair_.keypair.md)]›* -*Defined in [key_stores/unencrypted_file_system_keystore.ts:46](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/key_stores/unencrypted_file_system_keystore.ts#L46)* +*Defined in [key_stores/unencrypted_file_system_keystore.ts:46](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/key_stores/unencrypted_file_system_keystore.ts#L46)* **Parameters:** diff --git a/docs/nearlib/modules/_near_.md b/docs/nearlib/modules/_near_.md index c8c6e41cef..7b1073dedf 100644 --- a/docs/nearlib/modules/_near_.md +++ b/docs/nearlib/modules/_near_.md @@ -20,7 +20,7 @@ sidebar_label: "near" ▸ **connect**(`config`: any): *Promise‹[Near](../classes/_near_.near.md)›* -*Defined in [near.ts:72](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/near.ts#L72)* +*Defined in [near.ts:72](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/near.ts#L72)* **Parameters:** diff --git a/docs/nearlib/modules/_providers_json_rpc_provider_.md b/docs/nearlib/modules/_providers_json_rpc_provider_.md index 7da7b77058..ba3d07a138 100644 --- a/docs/nearlib/modules/_providers_json_rpc_provider_.md +++ b/docs/nearlib/modules/_providers_json_rpc_provider_.md @@ -20,4 +20,4 @@ sidebar_label: "providers/json-rpc-provider" • **_nextId**: *number* = 123 -*Defined in [providers/json-rpc-provider.ts:10](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/providers/json-rpc-provider.ts#L10)* +*Defined in [providers/json-rpc-provider.ts:10](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/providers/json-rpc-provider.ts#L10)* diff --git a/docs/nearlib/modules/_providers_provider_.md b/docs/nearlib/modules/_providers_provider_.md index 83bcd4df74..53148d7283 100644 --- a/docs/nearlib/modules/_providers_provider_.md +++ b/docs/nearlib/modules/_providers_provider_.md @@ -46,7 +46,7 @@ sidebar_label: "providers/provider" ▸ **adaptTransactionResult**(`txResult`: [FinalExecutionOutcome](../interfaces/_providers_provider_.finalexecutionoutcome.md) | [LegacyFinalTransactionResult](../interfaces/_providers_provider_.legacyfinaltransactionresult.md)): *[FinalExecutionOutcome](../interfaces/_providers_provider_.finalexecutionoutcome.md)* -*Defined in [providers/provider.ts:140](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/providers/provider.ts#L140)* +*Defined in [providers/provider.ts:141](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/providers/provider.ts#L141)* **Parameters:** @@ -62,7 +62,7 @@ ___ ▸ **getTransactionLastResult**(`txResult`: [FinalExecutionOutcome](../interfaces/_providers_provider_.finalexecutionoutcome.md)): *any* -*Defined in [providers/provider.ts:183](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/providers/provider.ts#L183)* +*Defined in [providers/provider.ts:184](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/providers/provider.ts#L184)* **Parameters:** @@ -78,7 +78,7 @@ ___ ▸ **mapLegacyTransactionLog**(`tl`: [LegacyTransactionLog](../interfaces/_providers_provider_.legacytransactionlog.md)): *[ExecutionOutcomeWithId](../interfaces/_providers_provider_.executionoutcomewithid.md)* -*Defined in [providers/provider.ts:118](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/providers/provider.ts#L118)* +*Defined in [providers/provider.ts:119](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/providers/provider.ts#L119)* **Parameters:** diff --git a/docs/nearlib/modules/_transaction_.md b/docs/nearlib/modules/_transaction_.md index 1564bd2c47..05cba0523f 100644 --- a/docs/nearlib/modules/_transaction_.md +++ b/docs/nearlib/modules/_transaction_.md @@ -122,7 +122,7 @@ sidebar_label: "transaction" ]}], ]) -*Defined in [transaction.ts:119](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/transaction.ts#L119)* +*Defined in [transaction.ts:119](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/transaction.ts#L119)* ## Functions @@ -130,7 +130,7 @@ sidebar_label: "transaction" ▸ **addKey**(`publicKey`: [PublicKey](../classes/_utils_key_pair_.publickey.md), `accessKey`: [AccessKey](../classes/_transaction_.accesskey.md)): *[Action](../classes/_transaction_.action.md)* -*Defined in [transaction.ts:68](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/transaction.ts#L68)* +*Defined in [transaction.ts:68](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/transaction.ts#L68)* **Parameters:** @@ -147,7 +147,7 @@ ___ ▸ **createAccount**(): *[Action](../classes/_transaction_.action.md)* -*Defined in [transaction.ts:48](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/transaction.ts#L48)* +*Defined in [transaction.ts:48](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/transaction.ts#L48)* **Returns:** *[Action](../classes/_transaction_.action.md)* @@ -157,7 +157,7 @@ ___ ▸ **deleteAccount**(`beneficiaryId`: string): *[Action](../classes/_transaction_.action.md)* -*Defined in [transaction.ts:76](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/transaction.ts#L76)* +*Defined in [transaction.ts:76](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/transaction.ts#L76)* **Parameters:** @@ -173,7 +173,7 @@ ___ ▸ **deleteKey**(`publicKey`: [PublicKey](../classes/_utils_key_pair_.publickey.md)): *[Action](../classes/_transaction_.action.md)* -*Defined in [transaction.ts:72](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/transaction.ts#L72)* +*Defined in [transaction.ts:72](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/transaction.ts#L72)* **Parameters:** @@ -189,7 +189,7 @@ ___ ▸ **deployContract**(`code`: Uint8Array): *[Action](../classes/_transaction_.action.md)* -*Defined in [transaction.ts:52](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/transaction.ts#L52)* +*Defined in [transaction.ts:52](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/transaction.ts#L52)* **Parameters:** @@ -205,7 +205,7 @@ ___ ▸ **fullAccessKey**(): *[AccessKey](../classes/_transaction_.accesskey.md)* -*Defined in [transaction.ts:29](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/transaction.ts#L29)* +*Defined in [transaction.ts:29](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/transaction.ts#L29)* **Returns:** *[AccessKey](../classes/_transaction_.accesskey.md)* @@ -215,7 +215,7 @@ ___ ▸ **functionCall**(`methodName`: string, `args`: Uint8Array, `gas`: number, `deposit`: BN): *[Action](../classes/_transaction_.action.md)* -*Defined in [transaction.ts:56](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/transaction.ts#L56)* +*Defined in [transaction.ts:56](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/transaction.ts#L56)* **Parameters:** @@ -234,7 +234,7 @@ ___ ▸ **functionCallAccessKey**(`receiverId`: string, `methodNames`: String[], `allowance?`: BN): *[AccessKey](../classes/_transaction_.accesskey.md)* -*Defined in [transaction.ts:33](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/transaction.ts#L33)* +*Defined in [transaction.ts:33](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/transaction.ts#L33)* **Parameters:** @@ -252,7 +252,7 @@ ___ ▸ **signTransaction**(`receiverId`: string, `nonce`: number, `actions`: [Action](../classes/_transaction_.action.md)[], `blockHash`: Uint8Array, `signer`: [Signer](../classes/_signer_.signer.md), `accountId?`: string, `networkId?`: string): *Promise‹[Uint8Array, [SignedTransaction](../classes/_transaction_.signedtransaction.md)]›* -*Defined in [transaction.ts:193](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/transaction.ts#L193)* +*Defined in [transaction.ts:193](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/transaction.ts#L193)* **Parameters:** @@ -274,7 +274,7 @@ ___ ▸ **stake**(`stake`: BN, `publicKey`: [PublicKey](../classes/_utils_key_pair_.publickey.md)): *[Action](../classes/_transaction_.action.md)* -*Defined in [transaction.ts:64](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/transaction.ts#L64)* +*Defined in [transaction.ts:64](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/transaction.ts#L64)* **Parameters:** @@ -291,7 +291,7 @@ ___ ▸ **transfer**(`deposit`: BN): *[Action](../classes/_transaction_.action.md)* -*Defined in [transaction.ts:60](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/transaction.ts#L60)* +*Defined in [transaction.ts:60](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/transaction.ts#L60)* **Parameters:** diff --git a/docs/nearlib/modules/_utils_key_pair_.md b/docs/nearlib/modules/_utils_key_pair_.md index 9bfd8cda32..4f635a771d 100644 --- a/docs/nearlib/modules/_utils_key_pair_.md +++ b/docs/nearlib/modules/_utils_key_pair_.md @@ -35,7 +35,7 @@ sidebar_label: "utils/key_pair" Ƭ **Arrayish**: *string | ArrayLike‹number›* -*Defined in [utils/key_pair.ts:6](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/utils/key_pair.ts#L6)* +*Defined in [utils/key_pair.ts:6](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/utils/key_pair.ts#L6)* ## Functions @@ -43,7 +43,7 @@ sidebar_label: "utils/key_pair" ▸ **key_type_to_str**(`keyType`: [KeyType](../enums/_utils_key_pair_.keytype.md)): *String* -*Defined in [utils/key_pair.ts:18](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/utils/key_pair.ts#L18)* +*Defined in [utils/key_pair.ts:18](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/utils/key_pair.ts#L18)* **Parameters:** @@ -59,7 +59,7 @@ ___ ▸ **str_to_key_type**(`keyType`: string): *[KeyType](../enums/_utils_key_pair_.keytype.md)* -*Defined in [utils/key_pair.ts:25](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/utils/key_pair.ts#L25)* +*Defined in [utils/key_pair.ts:25](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/utils/key_pair.ts#L25)* **Parameters:** diff --git a/docs/nearlib/modules/_utils_serialize_.md b/docs/nearlib/modules/_utils_serialize_.md index 5411f4b38a..1e446c20a7 100644 --- a/docs/nearlib/modules/_utils_serialize_.md +++ b/docs/nearlib/modules/_utils_serialize_.md @@ -36,7 +36,7 @@ sidebar_label: "utils/serialize" Ƭ **Schema**: *Map‹Function, any›* -*Defined in [utils/serialize.ts:19](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/utils/serialize.ts#L19)* +*Defined in [utils/serialize.ts:19](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/utils/serialize.ts#L19)* ## Variables @@ -44,7 +44,7 @@ sidebar_label: "utils/serialize" • **INITIAL_LENGTH**: *1024* = 1024 -*Defined in [utils/serialize.ts:17](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/utils/serialize.ts#L17)* +*Defined in [utils/serialize.ts:17](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/utils/serialize.ts#L17)* ## Functions @@ -52,7 +52,7 @@ sidebar_label: "utils/serialize" ▸ **base_decode**(`value`: string): *Uint8Array* -*Defined in [utils/serialize.ts:13](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/utils/serialize.ts#L13)* +*Defined in [utils/serialize.ts:13](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/utils/serialize.ts#L13)* **Parameters:** @@ -68,7 +68,7 @@ ___ ▸ **base_encode**(`value`: Uint8Array | string): *string* -*Defined in [utils/serialize.ts:6](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/utils/serialize.ts#L6)* +*Defined in [utils/serialize.ts:6](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/utils/serialize.ts#L6)* **Parameters:** @@ -84,7 +84,7 @@ ___ ▸ **deserialize**(`schema`: [Schema](_utils_serialize_.md#schema), `classType`: any, `buffer`: Buffer): *any* -*Defined in [utils/serialize.ts:228](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/utils/serialize.ts#L228)* +*Defined in [utils/serialize.ts:228](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/utils/serialize.ts#L228)* **Parameters:** @@ -102,7 +102,7 @@ ___ ▸ **deserializeField**(`schema`: [Schema](_utils_serialize_.md#schema), `fieldType`: any, `reader`: any): *any* -*Defined in [utils/serialize.ts:206](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/utils/serialize.ts#L206)* +*Defined in [utils/serialize.ts:206](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/utils/serialize.ts#L206)* **Parameters:** @@ -120,7 +120,7 @@ ___ ▸ **deserializeStruct**(`schema`: [Schema](_utils_serialize_.md#schema), `classType`: any, `reader`: any): *any* -*Defined in [utils/serialize.ts:220](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/utils/serialize.ts#L220)* +*Defined in [utils/serialize.ts:220](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/utils/serialize.ts#L220)* **Parameters:** @@ -138,7 +138,7 @@ ___ ▸ **serialize**(`schema`: [Schema](_utils_serialize_.md#schema), `obj`: any): *Uint8Array* -*Defined in [utils/serialize.ts:200](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/utils/serialize.ts#L200)* +*Defined in [utils/serialize.ts:200](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/utils/serialize.ts#L200)* **Parameters:** @@ -155,7 +155,7 @@ ___ ▸ **serializeField**(`schema`: [Schema](_utils_serialize_.md#schema), `value`: any, `fieldType`: any, `writer`: any): *void* -*Defined in [utils/serialize.ts:147](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/utils/serialize.ts#L147)* +*Defined in [utils/serialize.ts:147](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/utils/serialize.ts#L147)* **Parameters:** @@ -174,7 +174,7 @@ ___ ▸ **serializeStruct**(`schema`: [Schema](_utils_serialize_.md#schema), `obj`: any, `writer`: any): *void* -*Defined in [utils/serialize.ts:174](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/utils/serialize.ts#L174)* +*Defined in [utils/serialize.ts:174](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/utils/serialize.ts#L174)* **Parameters:** diff --git a/docs/nearlib/modules/_utils_web_.md b/docs/nearlib/modules/_utils_web_.md index 2ac8152900..048abdff06 100644 --- a/docs/nearlib/modules/_utils_web_.md +++ b/docs/nearlib/modules/_utils_web_.md @@ -24,7 +24,7 @@ sidebar_label: "utils/web" • **fetch**: *any* = (typeof window === 'undefined' || window.name === 'nodejs') ? require('node-fetch') : window.fetch -*Defined in [utils/web.ts:14](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/utils/web.ts#L14)* +*Defined in [utils/web.ts:14](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/utils/web.ts#L14)* ## Functions @@ -32,7 +32,7 @@ sidebar_label: "utils/web" ▸ **fetchJson**(`connection`: string | [ConnectionInfo](../interfaces/_utils_web_.connectioninfo.md), `json?`: string): *Promise‹any›* -*Defined in [utils/web.ts:16](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/utils/web.ts#L16)* +*Defined in [utils/web.ts:16](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/utils/web.ts#L16)* **Parameters:** diff --git a/docs/nearlib/modules/_wallet_account_.md b/docs/nearlib/modules/_wallet_account_.md index df065d44ec..32a17d8aee 100644 --- a/docs/nearlib/modules/_wallet_account_.md +++ b/docs/nearlib/modules/_wallet_account_.md @@ -22,7 +22,7 @@ sidebar_label: "wallet-account" • **LOCAL_STORAGE_KEY_SUFFIX**: *"_wallet_auth_key"* = "_wallet_auth_key" -*Defined in [wallet-account.ts:10](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/wallet-account.ts#L10)* +*Defined in [wallet-account.ts:10](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/wallet-account.ts#L10)* ___ @@ -30,7 +30,7 @@ ___ • **LOGIN_WALLET_URL_SUFFIX**: *"/login/"* = "/login/" -*Defined in [wallet-account.ts:8](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/wallet-account.ts#L8)* +*Defined in [wallet-account.ts:8](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/wallet-account.ts#L8)* ___ @@ -38,4 +38,4 @@ ___ • **PENDING_ACCESS_KEY_PREFIX**: *"pending_key"* = "pending_key" -*Defined in [wallet-account.ts:11](https://github.com/nearprotocol/nearlib/blob/57ba3df/src.ts/wallet-account.ts#L11)* +*Defined in [wallet-account.ts:11](https://github.com/nearprotocol/nearlib/blob/a23e44a/src.ts/wallet-account.ts#L11)* diff --git a/lib/providers/provider.d.ts b/lib/providers/provider.d.ts index 1462a4b152..2b5199fc95 100644 --- a/lib/providers/provider.d.ts +++ b/lib/providers/provider.d.ts @@ -15,6 +15,7 @@ export interface NodeStatusResult { validators: string[]; } export declare enum ExecutionStatusBasic { + Unknown = "Unknown", Pending = "Pending", Failure = "Failure" } diff --git a/lib/providers/provider.js b/lib/providers/provider.js index 9af7d29b91..c324feb78d 100644 --- a/lib/providers/provider.js +++ b/lib/providers/provider.js @@ -3,6 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); const enums_1 = require("../utils/enums"); var ExecutionStatusBasic; (function (ExecutionStatusBasic) { + ExecutionStatusBasic["Unknown"] = "Unknown"; ExecutionStatusBasic["Pending"] = "Pending"; ExecutionStatusBasic["Failure"] = "Failure"; })(ExecutionStatusBasic = exports.ExecutionStatusBasic || (exports.ExecutionStatusBasic = {})); @@ -34,7 +35,7 @@ var LegacyTransactionStatus; function mapLegacyTransactionLog(tl) { let status; if (tl.result.status === LegacyTransactionStatus.Unknown) { - status = ExecutionStatusBasic.Pending; + status = ExecutionStatusBasic.Unknown; } else if (tl.result.status === LegacyTransactionStatus.Failed) { status = ExecutionStatusBasic.Failure; diff --git a/src.ts/providers/provider.ts b/src.ts/providers/provider.ts index 7b6c466071..b2f57fb038 100644 --- a/src.ts/providers/provider.ts +++ b/src.ts/providers/provider.ts @@ -20,6 +20,7 @@ export interface NodeStatusResult { } export enum ExecutionStatusBasic { + Unknown = 'Unknown', Pending = 'Pending', Failure = 'Failure', } @@ -118,7 +119,7 @@ export interface BlockResult { function mapLegacyTransactionLog(tl: LegacyTransactionLog): ExecutionOutcomeWithId { let status; if (tl.result.status === LegacyTransactionStatus.Unknown) { - status = ExecutionStatusBasic.Pending; + status = ExecutionStatusBasic.Unknown; } else if (tl.result.status === LegacyTransactionStatus.Failed) { status = ExecutionStatusBasic.Failure; } else if (tl.result.status === LegacyTransactionStatus.Completed) {