UNPKG

@simbachain/libsimba-js

Version:

libsimba-js is a library simplifying the use of SIMBAChain APIs. We aim to abstract away the various blockchain concepts, reducing the necessary time needed to get to working code.

188 lines (178 loc) 15.4 kB
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <base data-ice="baseUrl" href> <title data-ice="title">Source | libsimba-js</title> <link type="text/css" rel="stylesheet" href="css/style.css"> <link type="text/css" rel="stylesheet" href="css/prettify-tomorrow.css"> <script src="script/prettify/prettify.js"></script> <script src="script/manual.js"></script> <meta name="description" content="Simbachain Blockchain abstraction and interaction library"><meta property="twitter:card" content="summary"><meta property="twitter:title" content="libsimba-js"><meta property="twitter:description" content="Simbachain Blockchain abstraction and interaction library"></head> <body class="layout-container" data-ice="rootContainer"> <header> <a href="./">Home</a> <a href="identifiers.html">Reference</a> <a href="source.html">Source</a> <a href="test.html" data-ice="testLink">Test</a> <div class="search-box"> <span> <img src="./image/search.png"> <span class="search-input-edge"></span><input class="search-input"><span class="search-input-edge"></span> </span> <ul class="search-result"></ul> </div> <a style="position:relative; top:3px;" href="https://github.com/simbachain/libsimba-js"><img width="20px" src="./image/github.png"></a></header> <nav class="navigation" data-ice="nav"><div> <ul> <li data-ice="doc"><span data-ice="kind" class="kind-class">C</span><span data-ice="name"><span><a href="class/src/exceptions.js~BadMetadataException.html">BadMetadataException</a></span></span></li> <li data-ice="doc"><span data-ice="kind" class="kind-class">C</span><span data-ice="name"><span><a href="class/src/exceptions.js~BaseException.html">BaseException</a></span></span></li> <li data-ice="doc"><span data-ice="kind" class="kind-class">C</span><span data-ice="name"><span><a href="class/src/exceptions.js~GenerateTransactionException.html">GenerateTransactionException</a></span></span></li> <li data-ice="doc"><span data-ice="kind" class="kind-class">C</span><span data-ice="name"><span><a href="class/src/exceptions.js~GetRequestException.html">GetRequestException</a></span></span></li> <li data-ice="doc"><span data-ice="kind" class="kind-class">C</span><span data-ice="name"><span><a href="class/src/exceptions.js~GetTransactionsException.html">GetTransactionsException</a></span></span></li> <li data-ice="doc"><span data-ice="kind" class="kind-class">C</span><span data-ice="name"><span><a href="class/src/exceptions.js~MethodCallValidationMetadataException.html">MethodCallValidationMetadataException</a></span></span></li> <li data-ice="doc"><span data-ice="kind" class="kind-class">C</span><span data-ice="name"><span><a href="class/src/exceptions.js~MissingMetadataException.html">MissingMetadataException</a></span></span></li> <li data-ice="doc"><span data-ice="kind" class="kind-class">C</span><span data-ice="name"><span><a href="class/src/exceptions.js~NotImplementedException.html">NotImplementedException</a></span></span></li> <li data-ice="doc"><span data-ice="kind" class="kind-class">C</span><span data-ice="name"><span><a href="class/src/exceptions.js~NotInBrowserException.html">NotInBrowserException</a></span></span></li> <li data-ice="doc"><span data-ice="kind" class="kind-class">C</span><span data-ice="name"><span><a href="class/src/exceptions.js~PostRequestException.html">PostRequestException</a></span></span></li> <li data-ice="doc"><span data-ice="kind" class="kind-class">C</span><span data-ice="name"><span><a href="class/src/exceptions.js~RetriesExceededException.html">RetriesExceededException</a></span></span></li> <li data-ice="doc"><span data-ice="kind" class="kind-class">C</span><span data-ice="name"><span><a href="class/src/exceptions.js~SigningException.html">SigningException</a></span></span></li> <li data-ice="doc"><span data-ice="kind" class="kind-class">C</span><span data-ice="name"><span><a href="class/src/exceptions.js~SubmitTransactionException.html">SubmitTransactionException</a></span></span></li> <li data-ice="doc"><span data-ice="kind" class="kind-class">C</span><span data-ice="name"><span><a href="class/src/exceptions.js~TransactionStatusCheckException.html">TransactionStatusCheckException</a></span></span></li> <li data-ice="doc"><span data-ice="kind" class="kind-class">C</span><span data-ice="name"><span><a href="class/src/exceptions.js~UserRejectedSigningException.html">UserRejectedSigningException</a></span></span></li> <li data-ice="doc"><span data-ice="kind" class="kind-class">C</span><span data-ice="name"><span><a href="class/src/exceptions.js~WalletLockedException.html">WalletLockedException</a></span></span></li> <li data-ice="doc"><span data-ice="kind" class="kind-class">C</span><span data-ice="name"><span><a href="class/src/exceptions.js~WalletNotFoundException.html">WalletNotFoundException</a></span></span></li> <li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-getSimbaInstance">getSimbaInstance</a></span></span></li> <li data-ice="doc"><a data-ice="dirPath" class="nav-dir-path" href="identifiers.html#simba">simba</a><span data-ice="kind" class="kind-class">C</span><span data-ice="name"><span><a href="class/src/simba/pagedresponse.js~PagedResponse.html">PagedResponse</a></span></span></li> <li data-ice="doc"><span data-ice="kind" class="kind-class">C</span><span data-ice="name"><span><a href="class/src/simba/simba.js~Simbachain.html">Simbachain</a></span></span></li> <li data-ice="doc"><span data-ice="kind" class="kind-class">C</span><span data-ice="name"><span><a href="class/src/simba/simbabase.js~SimbaBase.html">SimbaBase</a></span></span></li> <li data-ice="doc"><a data-ice="dirPath" class="nav-dir-path" href="identifiers.html#wallet">wallet</a><span data-ice="kind" class="kind-class">C</span><span data-ice="name"><span><a href="class/src/wallet/localwallet.js~LocalWallet.html">LocalWallet</a></span></span></li> <li data-ice="doc"><span data-ice="kind" class="kind-class">C</span><span data-ice="name"><span><a href="class/src/wallet/pkwallet.js~PKWallet.html">PKWallet</a></span></span></li> <li data-ice="doc"><span data-ice="kind" class="kind-class">C</span><span data-ice="name"><span><a href="class/src/wallet/wallet.js~Wallet.html">Wallet</a></span></span></li> </ul> </div> </nav> <div class="content" data-ice="content"><h1>Source <img data-ice="coverageBadge" src="./badge.svg"><span data-ice="totalCoverageCount" class="total-coverage-count">110/163</span></h1> <table class="files-summary" data-ice="files" data-use-coverage="true"> <thead> <tr> <td>File</td> <td>Identifier</td> <td class="coverage">Document</td> <td style="display: none;">Size</td> <td style="display: none;">Lines</td> <td style="display: none;">Updated</td> </tr> </thead> <tbody> <tr data-ice="file"> <td data-ice="filePath"><span><a href="file/src/exceptions.js.html#errorLines=104,106,114,116,12,124,126,134,136,144,146,15,154,156,16,165,167,176,178,186,188,33,35,44,46,54,56,64,66,74,76,84,86,94,96">src/exceptions.js</a></span></td> <td data-ice="identifier" class="identifiers"><span><a href="class/src/exceptions.js~BadMetadataException.html">BadMetadataException</a></span> <span><a href="class/src/exceptions.js~BaseException.html">BaseException</a></span> <span><a href="class/src/exceptions.js~GenerateTransactionException.html">GenerateTransactionException</a></span> <span><a href="class/src/exceptions.js~GetRequestException.html">GetRequestException</a></span> <span><a href="class/src/exceptions.js~GetTransactionsException.html">GetTransactionsException</a></span> <span><a href="class/src/exceptions.js~MethodCallValidationMetadataException.html">MethodCallValidationMetadataException</a></span> <span><a href="class/src/exceptions.js~MissingMetadataException.html">MissingMetadataException</a></span> <span><a href="class/src/exceptions.js~NotImplementedException.html">NotImplementedException</a></span> <span><a href="class/src/exceptions.js~NotInBrowserException.html">NotInBrowserException</a></span> <span><a href="class/src/exceptions.js~PostRequestException.html">PostRequestException</a></span> <span><a href="class/src/exceptions.js~RetriesExceededException.html">RetriesExceededException</a></span> <span><a href="class/src/exceptions.js~SigningException.html">SigningException</a></span> <span><a href="class/src/exceptions.js~SubmitTransactionException.html">SubmitTransactionException</a></span> <span><a href="class/src/exceptions.js~TransactionStatusCheckException.html">TransactionStatusCheckException</a></span> <span><a href="class/src/exceptions.js~UserRejectedSigningException.html">UserRejectedSigningException</a></span> <span><a href="class/src/exceptions.js~WalletLockedException.html">WalletLockedException</a></span> <span><a href="class/src/exceptions.js~WalletNotFoundException.html">WalletNotFoundException</a></span></td> <td class="coverage"><span data-ice="coverage">33 %</span><span data-ice="coverageCount" class="coverage-count">18/53</span></td> <td style="display: none;" data-ice="size">5093 byte</td> <td style="display: none;" data-ice="lines">191</td> <td style="display: none;" data-ice="updated">2020-08-04 16:45:12 (UTC)</td> </tr> <tr data-ice="file"> <td data-ice="filePath"><span><a href="file/src/index.js.html">src/index.js</a></span></td> <td data-ice="identifier" class="identifiers"><span><a href="function/index.html#static-function-getSimbaInstance">getSimbaInstance</a></span></td> <td class="coverage"><span data-ice="coverage">100 %</span><span data-ice="coverageCount" class="coverage-count">1/1</span></td> <td style="display: none;" data-ice="size">1367 byte</td> <td style="display: none;" data-ice="lines">43</td> <td style="display: none;" data-ice="updated">2020-08-02 12:46:10 (UTC)</td> </tr> <tr data-ice="file"> <td data-ice="filePath"><span><a href="file/src/simba/index.js.html">src/simba/index.js</a></span></td> <td data-ice="identifier" class="identifiers">-</td> <td class="coverage"><span data-ice="coverage">-</span></td> <td style="display: none;" data-ice="size">120 byte</td> <td style="display: none;" data-ice="lines">7</td> <td style="display: none;" data-ice="updated">2020-08-02 12:46:10 (UTC)</td> </tr> <tr data-ice="file"> <td data-ice="filePath"><span><a href="file/src/simba/pagedresponse.js.html#errorLines=12,13,14,15,16,17">src/simba/pagedresponse.js</a></span></td> <td data-ice="identifier" class="identifiers"><span><a href="class/src/simba/pagedresponse.js~PagedResponse.html">PagedResponse</a></span></td> <td class="coverage"><span data-ice="coverage">60 %</span><span data-ice="coverageCount" class="coverage-count">9/15</span></td> <td style="display: none;" data-ice="size">1903 byte</td> <td style="display: none;" data-ice="lines">77</td> <td style="display: none;" data-ice="updated">2020-08-04 16:37:15 (UTC)</td> </tr> <tr data-ice="file"> <td data-ice="filePath"><span><a href="file/src/simba/simba.js.html#errorLines=15,43">src/simba/simba.js</a></span></td> <td data-ice="identifier" class="identifiers"><span><a href="class/src/simba/simba.js~Simbachain.html">Simbachain</a></span></td> <td class="coverage"><span data-ice="coverage">91 %</span><span data-ice="coverageCount" class="coverage-count">21/23</span></td> <td style="display: none;" data-ice="size">18488 byte</td> <td style="display: none;" data-ice="lines">573</td> <td style="display: none;" data-ice="updated">2020-08-04 16:36:53 (UTC)</td> </tr> <tr data-ice="file"> <td data-ice="filePath"><span><a href="file/src/simba/simbabase.js.html#errorLines=23,27,29,321,329">src/simba/simbabase.js</a></span></td> <td data-ice="identifier" class="identifiers"><span><a href="class/src/simba/simbabase.js~SimbaBase.html">SimbaBase</a></span></td> <td class="coverage"><span data-ice="coverage">84 %</span><span data-ice="coverageCount" class="coverage-count">28/33</span></td> <td style="display: none;" data-ice="size">18020 byte</td> <td style="display: none;" data-ice="lines">468</td> <td style="display: none;" data-ice="updated">2020-08-02 12:46:10 (UTC)</td> </tr> <tr data-ice="file"> <td data-ice="filePath"><span><a href="file/src/wallet/index.js.html">src/wallet/index.js</a></span></td> <td data-ice="identifier" class="identifiers">-</td> <td class="coverage"><span data-ice="coverage">-</span></td> <td style="display: none;" data-ice="size">170 byte</td> <td style="display: none;" data-ice="lines">9</td> <td style="display: none;" data-ice="updated">2020-08-02 12:46:10 (UTC)</td> </tr> <tr data-ice="file"> <td data-ice="filePath"><span><a href="file/src/wallet/localwallet.js.html#errorLines=22,45">src/wallet/localwallet.js</a></span></td> <td data-ice="identifier" class="identifiers"><span><a href="class/src/wallet/localwallet.js~LocalWallet.html">LocalWallet</a></span></td> <td class="coverage"><span data-ice="coverage">87 %</span><span data-ice="coverageCount" class="coverage-count">14/16</span></td> <td style="display: none;" data-ice="size">8041 byte</td> <td style="display: none;" data-ice="lines">206</td> <td style="display: none;" data-ice="updated">2020-08-02 12:46:10 (UTC)</td> </tr> <tr data-ice="file"> <td data-ice="filePath"><span><a href="file/src/wallet/pkwallet.js.html#errorLines=19,20">src/wallet/pkwallet.js</a></span></td> <td data-ice="identifier" class="identifiers"><span><a href="class/src/wallet/pkwallet.js~PKWallet.html">PKWallet</a></span></td> <td class="coverage"><span data-ice="coverage">84 %</span><span data-ice="coverageCount" class="coverage-count">11/13</span></td> <td style="display: none;" data-ice="size">5546 byte</td> <td style="display: none;" data-ice="lines">153</td> <td style="display: none;" data-ice="updated">2020-08-02 12:46:10 (UTC)</td> </tr> <tr data-ice="file"> <td data-ice="filePath"><span><a href="file/src/wallet/wallet.js.html#errorLines=15">src/wallet/wallet.js</a></span></td> <td data-ice="identifier" class="identifiers"><span><a href="class/src/wallet/wallet.js~Wallet.html">Wallet</a></span></td> <td class="coverage"><span data-ice="coverage">88 %</span><span data-ice="coverageCount" class="coverage-count">8/9</span></td> <td style="display: none;" data-ice="size">3340 byte</td> <td style="display: none;" data-ice="lines">101</td> <td style="display: none;" data-ice="updated">2020-08-02 12:46:10 (UTC)</td> </tr> </tbody> </table> </div> <footer class="footer"> Generated by <a href="https://esdoc.org">ESDoc<span data-ice="esdocVersion">(1.1.0)</span><img src="./image/esdoc-logo-mini-black.png"></a> </footer> <script src="script/search_index.js"></script> <script src="script/search.js"></script> <script src="script/pretty-print.js"></script> <script src="script/inherited-summary.js"></script> <script src="script/test-summary.js"></script> <script src="script/inner-link.js"></script> <script src="script/patch-for-local.js"></script> </body> </html>