Skip to content

Commit

Permalink
chores: Rebuilt and published new version.
Browse files Browse the repository at this point in the history
  • Loading branch information
CookieGMVN committed Aug 22, 2024
2 parents 882877b + b941e61 commit cb27fb9
Show file tree
Hide file tree
Showing 23 changed files with 1,159 additions and 1,375 deletions.
9 changes: 4 additions & 5 deletions dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

31 changes: 17 additions & 14 deletions docs/classes/MB.default.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ <h4>Hierarchy</h4>
<ul class="tsd-hierarchy">
<li><span class="target">default</span></li></ul></section><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/CookieGMVN/MBBank/blob/2cbd491/src/MB.ts#L41">MB.ts:41</a></li></ul></aside>
<li>Defined in <a href="https://github.com/HadesD/MBBank/blob/612e336/src/MB.ts#L41">MB.ts:41</a></li></ul></aside>
<section class="tsd-panel-group tsd-index-group">
<section class="tsd-panel tsd-index-panel">
<details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">
Expand Down Expand Up @@ -83,7 +83,7 @@ <h5><span class="tsd-kind-property">password</span><span class="tsd-signature-sy
<h4 class="tsd-returns-title">Returns <a href="MB.default.html" class="tsd-signature-type tsd-kind-class">default</a></h4>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/CookieGMVN/MBBank/blob/2cbd491/src/MB.ts#L79">MB.ts:79</a></li></ul></aside></li></ul></section></section>
<li>Defined in <a href="https://github.com/HadesD/MBBank/blob/612e336/src/MB.ts#L82">MB.ts:82</a></li></ul></aside></li></ul></section></section>
<section class="tsd-panel-group tsd-member-group">
<h2>Properties</h2>
<section class="tsd-panel tsd-member"><a id="username" class="tsd-anchor"></a>
Expand All @@ -93,44 +93,47 @@ <h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagReadonly">Readonly</code
</div>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/CookieGMVN/MBBank/blob/2cbd491/src/MB.ts#L46">MB.ts:46</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/HadesD/MBBank/blob/612e336/src/MB.ts#L46">MB.ts:46</a></li></ul></aside></section>
<section class="tsd-panel tsd-member"><a id="password" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagReadonly">Readonly</code> <span>password</span><a href="#password" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">password</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div>
<div class="tsd-comment tsd-typography"><p>Your MB account password.</p>
</div>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/CookieGMVN/MBBank/blob/2cbd491/src/MB.ts#L52">MB.ts:52</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/HadesD/MBBank/blob/612e336/src/MB.ts#L52">MB.ts:52</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-is-private"><a id="sessionId" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>session<wbr/>Id</span><a href="#sessionId" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">session<wbr/>Id</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span></div>
<div class="tsd-comment tsd-typography"><p>MB-returned Session ID. Use it to validate the request.</p>
</div>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/CookieGMVN/MBBank/blob/2cbd491/src/MB.ts#L58">MB.ts:58</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/HadesD/MBBank/blob/612e336/src/MB.ts#L58">MB.ts:58</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-is-private"><a id="deviceId" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>device<wbr/>Id</span><a href="#deviceId" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">device<wbr/>Id</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> = ...</span></div>
<div class="tsd-comment tsd-typography"><p>Your non-unique, time-based Device ID.</p>
</div>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/CookieGMVN/MBBank/blob/2cbd491/src/MB.ts#L64">MB.ts:64</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/HadesD/MBBank/blob/612e336/src/MB.ts#L64">MB.ts:64</a></li></ul></aside></section>
<section class="tsd-panel tsd-member"><a id="client" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>client</span><a href="#client" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">client</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type ">Client</span><span class="tsd-signature-symbol"> = ...</span></div>
<div class="tsd-comment tsd-typography"><p>Undici client. Use it for sending the request to API.</p>
</div>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/CookieGMVN/MBBank/blob/2cbd491/src/MB.ts#L69">MB.ts:69</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/HadesD/MBBank/blob/612e336/src/MB.ts#L69">MB.ts:69</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-is-private"><a id="wasmData" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>wasm<wbr/>Data</span><a href="#wasmData" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">wasm<wbr/>Data</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type ">Buffer</span></div><aside class="tsd-sources">
<div class="tsd-signature"><span class="tsd-kind-property">wasm<wbr/>Data</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type ">Buffer</span></div>
<div class="tsd-comment tsd-typography"><p>WASM Buffer, downloaded from MB.</p>
</div>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/CookieGMVN/MBBank/blob/2cbd491/src/MB.ts#L71">MB.ts:71</a></li></ul></aside></section></section>
<li>Defined in <a href="https://github.com/HadesD/MBBank/blob/612e336/src/MB.ts#L74">MB.ts:74</a></li></ul></aside></section></section>
<section class="tsd-panel-group tsd-member-group">
<h2>Methods</h2>
<section class="tsd-panel tsd-member tsd-is-private"><a id="login" class="tsd-anchor"></a>
Expand All @@ -143,7 +146,7 @@ <h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type ">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">&gt;</span></h4>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/CookieGMVN/MBBank/blob/2cbd491/src/MB.ts#L89">MB.ts:89</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/HadesD/MBBank/blob/612e336/src/MB.ts#L92">MB.ts:92</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-private"><a id="getRefNo" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>get<wbr/>Ref<wbr/>No</span><a href="#getRefNo" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-private">
Expand All @@ -155,7 +158,7 @@ <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</s

<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/CookieGMVN/MBBank/blob/2cbd491/src/MB.ts#L193">MB.ts:193</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/HadesD/MBBank/blob/612e336/src/MB.ts#L195">MB.ts:195</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-private"><a id="mbRequest" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>mb<wbr/>Request</span><a href="#mbRequest" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-private">
Expand All @@ -175,7 +178,7 @@ <h5><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-
<h5><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-property">headers</span><span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">object</span></h5></li></ul></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type ">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/CookieGMVN/MBBank/blob/2cbd491/src/MB.ts#L197">MB.ts:197</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/HadesD/MBBank/blob/612e336/src/MB.ts#L199">MB.ts:199</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="getBalance" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>get<wbr/>Balance</span><a href="#getBalance" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
Expand All @@ -187,7 +190,7 @@ <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type ">Promise<

<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/CookieGMVN/MBBank/blob/2cbd491/src/MB.ts#L243">MB.ts:243</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/HadesD/MBBank/blob/612e336/src/MB.ts#L245">MB.ts:245</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="getTransactionsHistory" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>get<wbr/>Transactions<wbr/>History</span><a href="#getTransactionsHistory" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
Expand Down Expand Up @@ -227,7 +230,7 @@ <h4>Example</h4><p>If you want to get transactions history from account &quot;12
</code><button>Copy</button></pre>
</div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/CookieGMVN/MBBank/blob/2cbd491/src/MB.ts#L297">MB.ts:297</a></li></ul></aside></li></ul></section></section></div>
<li>Defined in <a href="https://github.com/HadesD/MBBank/blob/612e336/src/MB.ts#L299">MB.ts:299</a></li></ul></aside></li></ul></section></section></div>
<div class="col-sidebar">
<div class="page-menu">
<div class="tsd-navigation settings">
Expand Down
2 changes: 1 addition & 1 deletion docs/functions/typings_ReplaceColor.default.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ <h4 class="tsd-parameters-title">Parameters</h4>
<h5><span class="tsd-kind-parameter">data</span>: <a href="../interfaces/typings_ReplaceColor.replaceData.html" class="tsd-signature-type tsd-kind-interface">replaceData</a></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type ">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type ">Jimp</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/CookieGMVN/MBBank/blob/2cbd491/src/typings/ReplaceColor.d.ts#L28">typings/ReplaceColor.d.ts:28</a></li></ul></aside></li></ul></section></div>
<li>Defined in <a href="https://github.com/HadesD/MBBank/blob/612e336/src/typings/ReplaceColor.d.ts#L28">typings/ReplaceColor.d.ts:28</a></li></ul></aside></li></ul></section></div>
<div class="col-sidebar">
<div class="page-menu">
<div class="tsd-navigation settings">
Expand Down
2 changes: 1 addition & 1 deletion docs/functions/utils_Global.generateDeviceId.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ <h1>Function generateDeviceId</h1></div>
<li class="tsd-description">
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/CookieGMVN/MBBank/blob/2cbd491/src/utils/Global.ts#L31">utils/Global.ts:31</a></li></ul></aside></li></ul></section></div>
<li>Defined in <a href="https://github.com/HadesD/MBBank/blob/612e336/src/utils/Global.ts#L31">utils/Global.ts:31</a></li></ul></aside></li></ul></section></div>
<div class="col-sidebar">
<div class="page-menu">
<div class="tsd-navigation settings">
Expand Down
2 changes: 1 addition & 1 deletion docs/functions/utils_Global.getTimeNow.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ <h1>Function getTimeNow</h1></div>
<li class="tsd-description">
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/CookieGMVN/MBBank/blob/2cbd491/src/utils/Global.ts#L27">utils/Global.ts:27</a></li></ul></aside></li></ul></section></div>
<li>Defined in <a href="https://github.com/HadesD/MBBank/blob/612e336/src/utils/Global.ts#L27">utils/Global.ts:27</a></li></ul></aside></li></ul></section></div>
<div class="col-sidebar">
<div class="page-menu">
<div class="tsd-navigation settings">
Expand Down
2 changes: 1 addition & 1 deletion docs/functions/utils_LoadWasm.default.html
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ <h5><span class="tsd-kind-parameter">requestData</span>: <span class="tsd-signat
<h5><span class="tsd-kind-parameter">args1</span>: <span class="tsd-signature-type">string</span></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type ">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/CookieGMVN/MBBank/blob/2cbd491/src/utils/LoadWasm.ts#L610">utils/LoadWasm.ts:610</a></li></ul></aside></li></ul></section></div>
<li>Defined in <a href="https://github.com/HadesD/MBBank/blob/612e336/src/utils/LoadWasm.ts#L610">utils/LoadWasm.ts:610</a></li></ul></aside></li></ul></section></div>
<div class="col-sidebar">
<div class="page-menu">
<div class="tsd-navigation settings">
Expand Down
10 changes: 5 additions & 5 deletions docs/interfaces/typings_MBApi.BalanceData.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ <h4>Hierarchy</h4>
<ul class="tsd-hierarchy">
<li><span class="target">BalanceData</span></li></ul></section><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/CookieGMVN/MBBank/blob/2cbd491/src/typings/MBApi.ts#L25">typings/MBApi.ts:25</a></li></ul></aside>
<li>Defined in <a href="https://github.com/HadesD/MBBank/blob/612e336/src/typings/MBApi.ts#L25">typings/MBApi.ts:25</a></li></ul></aside>
<section class="tsd-panel-group tsd-index-group">
<section class="tsd-panel tsd-index-panel">
<details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">
Expand All @@ -40,22 +40,22 @@ <h2>Properties</h2>
<h3 class="tsd-anchor-link"><span>number</span><a href="#number" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><g stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round" id="icon-anchor"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></g></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">number</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/CookieGMVN/MBBank/blob/2cbd491/src/typings/MBApi.ts#L26">typings/MBApi.ts:26</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/HadesD/MBBank/blob/612e336/src/typings/MBApi.ts#L26">typings/MBApi.ts:26</a></li></ul></aside></section>
<section class="tsd-panel tsd-member"><a id="name" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>name</span><a href="#name" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">name</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/CookieGMVN/MBBank/blob/2cbd491/src/typings/MBApi.ts#L27">typings/MBApi.ts:27</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/HadesD/MBBank/blob/612e336/src/typings/MBApi.ts#L27">typings/MBApi.ts:27</a></li></ul></aside></section>
<section class="tsd-panel tsd-member"><a id="currency" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>currency</span><a href="#currency" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">currency</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/CookieGMVN/MBBank/blob/2cbd491/src/typings/MBApi.ts#L28">typings/MBApi.ts:28</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/HadesD/MBBank/blob/612e336/src/typings/MBApi.ts#L28">typings/MBApi.ts:28</a></li></ul></aside></section>
<section class="tsd-panel tsd-member"><a id="balance" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>balance</span><a href="#balance" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">balance</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/CookieGMVN/MBBank/blob/2cbd491/src/typings/MBApi.ts#L29">typings/MBApi.ts:29</a></li></ul></aside></section></section></div>
<li>Defined in <a href="https://github.com/HadesD/MBBank/blob/612e336/src/typings/MBApi.ts#L29">typings/MBApi.ts:29</a></li></ul></aside></section></section></div>
<div class="col-sidebar">
<div class="page-menu">
<div class="tsd-navigation settings">
Expand Down
Loading

0 comments on commit cb27fb9

Please sign in to comment.