Skip to content

Commit

Permalink
chore(release): 9.0.0 [skip ci]
Browse files Browse the repository at this point in the history
# [9.0.0](v8.0.2...v9.0.0) (2022-07-29)

### chore

* **esm/cjs:** review transpilation, introduce cross-fetch ([ed6ca7f](ed6ca7f))

### BREAKING CHANGES

* **esm/cjs:** module format review esm/cjs both to be working
  • Loading branch information
semantic-release-bot committed Jul 29, 2022
1 parent f2e8d93 commit 7846015
Show file tree
Hide file tree
Showing 66 changed files with 8,771 additions and 2,269 deletions.
12 changes: 12 additions & 0 deletions HISTORY.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
# [9.0.0](https://github.com/hexonet/node-sdk/compare/v8.0.2...v9.0.0) (2022-07-29)


### chore

* **esm/cjs:** review transpilation, introduce cross-fetch ([ed6ca7f](https://github.com/hexonet/node-sdk/commit/ed6ca7fa0333c30fc9c68eddd1d34b036802f2bb))


### BREAKING CHANGES

* **esm/cjs:** module format review esm/cjs both to be working

## [8.0.2](https://github.com/hexonet/node-sdk/compare/v8.0.1...v8.0.2) (2022-06-10)

### Bug Fixes
Expand Down
62 changes: 53 additions & 9 deletions docs/docco/src/apiclient.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,21 @@
<div id="jump_page">


<a class="source" href="apiclient.spec.html">
src/apiclient.spec.ts
</a>


<a class="source" href="apiclient.html">
src/apiclient.ts
</a>


<a class="source" href="column.spec.html">
src/column.spec.ts
</a>


<a class="source" href="column.html">
src/column.ts
</a>
Expand All @@ -35,6 +45,11 @@
</a>


<a class="source" href="index.spec.html">
src/index.spec.ts
</a>


<a class="source" href="index.html">
src/index.ts
</a>
Expand All @@ -45,31 +60,61 @@
</a>


<a class="source" href="record.spec.html">
src/record.spec.ts
</a>


<a class="source" href="record.html">
src/record.ts
</a>


<a class="source" href="response.spec.html">
src/response.spec.ts
</a>


<a class="source" href="response.html">
src/response.ts
</a>


<a class="source" href="responseparser.spec.html">
src/responseparser.spec.ts
</a>


<a class="source" href="responseparser.html">
src/responseparser.ts
</a>


<a class="source" href="responsetemplate.spec.html">
src/responsetemplate.spec.ts
</a>


<a class="source" href="responsetemplate.html">
src/responsetemplate.ts
</a>


<a class="source" href="responsetemplatemanager.spec.html">
src/responsetemplatemanager.spec.ts
</a>


<a class="source" href="responsetemplatemanager.html">
src/responsetemplatemanager.ts
</a>


<a class="source" href="socketconfig.spec.html">
src/socketconfig.spec.ts
</a>


<a class="source" href="socketconfig.html">
src/socketconfig.ts
</a>
Expand Down Expand Up @@ -98,16 +143,16 @@ <h1>apiclient.ts</h1>

</div>

<div class="content"><div class='highlight'><pre><span class="hljs-keyword">import</span> packageInfo <span class="hljs-keyword">from</span> <span class="hljs-string">&quot;../package.json&quot;</span> assert { <span class="hljs-attr">type</span>: <span class="hljs-string">&quot;json&quot;</span> };
<span class="hljs-keyword">import</span> fetch <span class="hljs-keyword">from</span> <span class="hljs-string">&quot;node-fetch&quot;</span>;
<span class="hljs-keyword">import</span> { <span class="hljs-title class_">Logger</span> } <span class="hljs-keyword">from</span> <span class="hljs-string">&quot;./logger&quot;</span>;
<span class="hljs-keyword">import</span> { <span class="hljs-title class_">Response</span> } <span class="hljs-keyword">from</span> <span class="hljs-string">&quot;./response&quot;</span>;
<span class="hljs-keyword">import</span> { <span class="hljs-title class_">ResponseTemplateManager</span> } <span class="hljs-keyword">from</span> <span class="hljs-string">&quot;./responsetemplatemanager&quot;</span>;
<span class="hljs-keyword">import</span> { fixedURLEnc, <span class="hljs-title class_">SocketConfig</span> } <span class="hljs-keyword">from</span> <span class="hljs-string">&quot;./socketconfig&quot;</span>;
<div class="content"><div class='highlight'><pre><span class="hljs-keyword">import</span> fetch <span class="hljs-keyword">from</span> <span class="hljs-string">&quot;cross-fetch&quot;</span>;
<span class="hljs-keyword">import</span> { <span class="hljs-title class_">Logger</span> } <span class="hljs-keyword">from</span> <span class="hljs-string">&quot;./logger.js&quot;</span>;
<span class="hljs-keyword">import</span> { <span class="hljs-title class_">Response</span> } <span class="hljs-keyword">from</span> <span class="hljs-string">&quot;./response.js&quot;</span>;
<span class="hljs-keyword">import</span> { <span class="hljs-title class_">ResponseTemplateManager</span> } <span class="hljs-keyword">from</span> <span class="hljs-string">&quot;./responsetemplatemanager.js&quot;</span>;
<span class="hljs-keyword">import</span> { fixedURLEnc, <span class="hljs-title class_">SocketConfig</span> } <span class="hljs-keyword">from</span> <span class="hljs-string">&quot;./socketconfig.js&quot;</span>;

<span class="hljs-keyword">export</span> <span class="hljs-keyword">const</span> <span class="hljs-variable constant_">ISPAPI_CONNECTION_URL_PROXY</span> = <span class="hljs-string">&quot;http://127.0.0.1/api/call.cgi&quot;</span>;
<span class="hljs-keyword">export</span> <span class="hljs-keyword">const</span> <span class="hljs-variable constant_">ISPAPI_CONNECTION_URL_LIVE</span> = <span class="hljs-string">&quot;https://api.ispapi.net/api/call.cgi&quot;</span>;
<span class="hljs-keyword">export</span> <span class="hljs-keyword">const</span> <span class="hljs-variable constant_">ISPAPI_CONNECTION_URL_OTE</span> = <span class="hljs-string">&quot;https://api-ote.ispapi.net/api/call.cgi&quot;</span>;
<span class="hljs-keyword">export</span> <span class="hljs-keyword">const</span> <span class="hljs-variable constant_">ISPAPI_CONNECTION_URL_OTE</span> =
<span class="hljs-string">&quot;https://api-ote.ispapi.net/api/call.cgi&quot;</span>;

<span class="hljs-keyword">const</span> rtm = <span class="hljs-title class_">ResponseTemplateManager</span>.<span class="hljs-title function_">getInstance</span>();

Expand Down Expand Up @@ -287,7 +332,7 @@ <h1>apiclient.ts</h1>
* <span class="hljs-doctag">@returns</span> module version
*/</span>
<span class="hljs-keyword">public</span> <span class="hljs-title function_">getVersion</span>(): <span class="hljs-built_in">string</span> {
<span class="hljs-keyword">return</span> packageInfo.<span class="hljs-property">version</span>;
<span class="hljs-keyword">return</span> <span class="hljs-string">&quot;8.0.2&quot;</span>;
}

<span class="hljs-comment">/**
Expand Down Expand Up @@ -789,7 +834,6 @@ <h1>apiclient.ts</h1>
<span class="hljs-attr">COMMAND</span>: <span class="hljs-string">&quot;ConvertIDN&quot;</span>,
<span class="hljs-attr">DOMAIN</span>: toconvert,
});
<span class="hljs-variable language_">console</span>.<span class="hljs-title function_">dir</span>(r.<span class="hljs-title function_">getPlain</span>());
<span class="hljs-keyword">if</span> (r.<span class="hljs-title function_">isSuccess</span>()) {
<span class="hljs-keyword">const</span> col = r.<span class="hljs-title function_">getColumn</span>(<span class="hljs-string">&quot;ACE&quot;</span>);
<span class="hljs-keyword">if</span> (col) {
Expand Down
Loading

0 comments on commit 7846015

Please sign in to comment.