2017-05-29 01:46:00 +03:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="en">
|
|
|
|
<head>
|
|
|
|
<meta charset="utf-8">
|
2017-05-29 02:00:21 +03:00
|
|
|
<meta name="viewport" content="width=device-width,initial-scale=1">
|
|
|
|
<title>Global - Documentation</title>
|
2017-05-29 01:46:00 +03:00
|
|
|
|
2017-05-29 02:00:21 +03:00
|
|
|
<script src="scripts/prettify/prettify.js"></script>
|
|
|
|
<script src="scripts/prettify/lang-css.js"></script>
|
2017-05-29 01:46:00 +03:00
|
|
|
<!--[if lt IE 9]>
|
|
|
|
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
|
|
|
|
<![endif]-->
|
2017-05-29 02:00:21 +03:00
|
|
|
<link type="text/css" rel="stylesheet" href="https://code.ionicframework.com/ionicons/2.0.1/css/ionicons.min.css">
|
2017-05-29 01:46:00 +03:00
|
|
|
<link type="text/css" rel="stylesheet" href="styles/prettify-tomorrow.css">
|
|
|
|
<link type="text/css" rel="stylesheet" href="styles/jsdoc-default.css">
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
|
2017-05-29 02:00:21 +03:00
|
|
|
<input type="checkbox" id="nav-trigger" class="nav-trigger" />
|
|
|
|
<label for="nav-trigger" class="navicon-button x">
|
|
|
|
<div class="navicon"></div>
|
|
|
|
</label>
|
|
|
|
|
|
|
|
<label for="nav-trigger" class="overlay"></label>
|
|
|
|
|
|
|
|
<nav>
|
2017-05-30 16:03:39 +03:00
|
|
|
<li class="nav-link nav-home-link"><a href="index.html">Home</a></li><li class="nav-heading"><a href="global.html">Globals</a></li><li class="nav-item"><span class="nav-item-type type-function">F</span><span class="nav-item-name"><a href="global.html#connect">connect</a></span></li><li class="nav-item"><span class="nav-item-type type-function">F</span><span class="nav-item-name"><a href="global.html#createPackage">createPackage</a></span></li><li class="nav-item"><span class="nav-item-type type-function">F</span><span class="nav-item-name"><a href="global.html#decrypt">decrypt</a></span></li><li class="nav-item"><span class="nav-item-type type-function">F</span><span class="nav-item-name"><a href="global.html#decryptJSON">decryptJSON</a></span></li><li class="nav-item"><span class="nav-item-type type-function">F</span><span class="nav-item-name"><a href="global.html#encrypt">encrypt</a></span></li><li class="nav-item"><span class="nav-item-type type-member">M</span><span class="nav-item-name"><a href="global.html#http">http</a></span></li><li class="nav-item"><span class="nav-item-type type-function">F</span><span class="nav-item-name"><a href="global.html#isVerification">isVerification</a></span></li><li class="nav-item"><span class="nav-item-type type-function">F</span><span class="nav-item-name"><a href="global.html#mergerString">mergerString</a></span></li><li class="nav-item"><span class="nav-item-type type-function">F</span><span class="nav-item-name"><a href="global.html#send">send</a></span></li>
|
2017-05-29 02:00:21 +03:00
|
|
|
</nav>
|
2017-05-29 01:46:00 +03:00
|
|
|
|
2017-05-29 02:00:21 +03:00
|
|
|
<div id="main">
|
|
|
|
|
2017-05-29 01:46:00 +03:00
|
|
|
<h1 class="page-title">Global</h1>
|
2017-05-29 02:00:21 +03:00
|
|
|
|
2017-05-29 01:46:00 +03:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<section>
|
|
|
|
|
|
|
|
<header>
|
|
|
|
|
2017-05-29 02:00:21 +03:00
|
|
|
<h2>
|
|
|
|
|
|
|
|
</h2>
|
2017-05-29 01:46:00 +03:00
|
|
|
|
|
|
|
|
|
|
|
</header>
|
|
|
|
|
|
|
|
<article>
|
|
|
|
<div class="container-overview">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<dl class="details">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<h3 class="subsection-title">Members</h3>
|
|
|
|
|
|
|
|
|
|
|
|
|
2017-05-29 02:00:21 +03:00
|
|
|
<div class="section-members">
|
2017-05-29 01:46:00 +03:00
|
|
|
<h4 class="name" id="http"><span class="type-signature"></span>http<span class="type-signature"></span></h4>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<dl class="details">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<dt class="tag-author">Author:</dt>
|
|
|
|
<dd class="tag-author">
|
|
|
|
<ul>
|
|
|
|
<li><a href="mailto:info@valentineus.link">Valentin Popov</a></li>
|
|
|
|
</ul>
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<dt class="tag-license">License:</dt>
|
|
|
|
<dd class="tag-license"><ul class="dummy"><li>See LICENSE.md file included in this distribution.</li></ul></dd>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<dt class="tag-source">Source:</dt>
|
|
|
|
<dd class="tag-source"><ul class="dummy"><li>
|
2017-05-30 16:03:39 +03:00
|
|
|
<a href="index.js.html">index.js</a>, <a href="index.js.html#line6">line 6</a>
|
2017-05-29 01:46:00 +03:00
|
|
|
</li></ul></dd>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2017-05-29 02:00:21 +03:00
|
|
|
|
|
|
|
</div>
|
|
|
|
|
2017-05-29 01:46:00 +03:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<h3 class="subsection-title">Methods</h3>
|
|
|
|
|
|
|
|
|
|
|
|
|
2017-05-29 02:00:21 +03:00
|
|
|
<div class="section-method">
|
2017-05-29 01:46:00 +03:00
|
|
|
|
|
|
|
|
|
|
|
|
2017-05-30 16:03:39 +03:00
|
|
|
<h4 class="name" id="connect"><span class="type-signature"></span>connect<span class="signature">(uuid, callback)</span><span class="type-signature"></span></h4>
|
2017-05-29 01:46:00 +03:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="description">
|
2017-05-30 16:03:39 +03:00
|
|
|
Connects to the server and returns the connection data.
|
2017-05-29 01:46:00 +03:00
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2017-05-29 02:00:21 +03:00
|
|
|
<dl class="details">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<dt class="tag-source">Source:</dt>
|
|
|
|
<dd class="tag-source"><ul class="dummy"><li>
|
2017-05-30 16:03:39 +03:00
|
|
|
<a href="index.js.html">index.js</a>, <a href="index.js.html#line14">line 14</a>
|
2017-05-29 02:00:21 +03:00
|
|
|
</li></ul></dd>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2017-05-29 01:46:00 +03:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<h5>Parameters:</h5>
|
|
|
|
|
|
|
|
|
|
|
|
<table class="params">
|
|
|
|
<thead>
|
|
|
|
<tr>
|
|
|
|
|
|
|
|
<th>Name</th>
|
|
|
|
|
|
|
|
|
|
|
|
<th>Type</th>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<th class="last">Description</th>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
|
|
|
|
<tbody>
|
|
|
|
|
|
|
|
|
|
|
|
<tr>
|
|
|
|
|
2017-05-30 16:03:39 +03:00
|
|
|
<td class="name"><code>uuid</code></td>
|
2017-05-29 01:46:00 +03:00
|
|
|
|
|
|
|
|
|
|
|
<td class="type">
|
|
|
|
|
|
|
|
|
2017-05-29 02:00:21 +03:00
|
|
|
<span class="param-type"><code>String</code></span>
|
2017-05-29 01:46:00 +03:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</td>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2017-05-29 02:00:21 +03:00
|
|
|
<td class="description last">
|
2017-05-30 16:03:39 +03:00
|
|
|
The bot UUID.
|
2017-05-29 02:00:21 +03:00
|
|
|
|
|
|
|
</td>
|
2017-05-29 01:46:00 +03:00
|
|
|
</tr>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<tr>
|
|
|
|
|
2017-05-30 16:03:39 +03:00
|
|
|
<td class="name"><code>callback</code></td>
|
2017-05-29 01:46:00 +03:00
|
|
|
|
|
|
|
|
|
|
|
<td class="type">
|
|
|
|
|
|
|
|
|
2017-05-30 16:03:39 +03:00
|
|
|
<span class="param-type"><code>requestCallback</code></span>
|
2017-05-29 01:46:00 +03:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</td>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2017-05-29 02:00:21 +03:00
|
|
|
<td class="description last">
|
2017-05-30 16:03:39 +03:00
|
|
|
The callback that handles the response.
|
2017-05-29 02:00:21 +03:00
|
|
|
|
2017-05-29 01:46:00 +03:00
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2017-05-29 02:00:21 +03:00
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<div class="section-method">
|
2017-05-29 01:46:00 +03:00
|
|
|
|
2017-05-29 02:00:21 +03:00
|
|
|
|
2017-05-29 01:46:00 +03:00
|
|
|
|
2017-05-30 16:03:39 +03:00
|
|
|
<h4 class="name" id="createPackage"><span class="type-signature"></span>createPackage<span class="signature">(raw)</span><span class="type-signature"> → {String}</span></h4>
|
2017-05-29 01:46:00 +03:00
|
|
|
|
2017-05-29 02:00:21 +03:00
|
|
|
|
2017-05-29 01:46:00 +03:00
|
|
|
|
|
|
|
|
|
|
|
|
2017-05-29 02:00:21 +03:00
|
|
|
<div class="description">
|
2017-05-30 16:03:39 +03:00
|
|
|
Creates an encrypted package to send.
|
2017-05-29 02:00:21 +03:00
|
|
|
</div>
|
2017-05-29 01:46:00 +03:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2017-05-29 02:00:21 +03:00
|
|
|
<dl class="details">
|
2017-05-29 01:46:00 +03:00
|
|
|
|
2017-05-29 02:00:21 +03:00
|
|
|
|
2017-05-29 01:46:00 +03:00
|
|
|
|
2017-05-29 02:00:21 +03:00
|
|
|
|
2017-05-29 01:46:00 +03:00
|
|
|
|
2017-05-29 02:00:21 +03:00
|
|
|
|
2017-05-29 01:46:00 +03:00
|
|
|
|
2017-05-29 02:00:21 +03:00
|
|
|
|
2017-05-29 01:46:00 +03:00
|
|
|
|
2017-05-29 02:00:21 +03:00
|
|
|
|
2017-05-29 01:46:00 +03:00
|
|
|
|
2017-05-29 02:00:21 +03:00
|
|
|
|
2017-05-29 01:46:00 +03:00
|
|
|
|
|
|
|
|
|
|
|
|
2017-05-29 02:00:21 +03:00
|
|
|
|
2017-05-29 01:46:00 +03:00
|
|
|
|
2017-05-29 02:00:21 +03:00
|
|
|
|
2017-05-29 01:46:00 +03:00
|
|
|
|
2017-05-29 02:00:21 +03:00
|
|
|
|
2017-05-29 01:46:00 +03:00
|
|
|
|
|
|
|
|
|
|
|
|
2017-05-29 02:00:21 +03:00
|
|
|
|
2017-05-29 01:46:00 +03:00
|
|
|
|
2017-05-29 02:00:21 +03:00
|
|
|
|
|
|
|
<dt class="tag-source">Source:</dt>
|
|
|
|
<dd class="tag-source"><ul class="dummy"><li>
|
2017-05-30 16:03:39 +03:00
|
|
|
<a href="index.js.html">index.js</a>, <a href="index.js.html#line139">line 139</a>
|
2017-05-29 02:00:21 +03:00
|
|
|
</li></ul></dd>
|
2017-05-29 01:46:00 +03:00
|
|
|
|
|
|
|
|
2017-05-29 02:00:21 +03:00
|
|
|
|
2017-05-29 01:46:00 +03:00
|
|
|
|
2017-05-29 02:00:21 +03:00
|
|
|
|
2017-05-29 01:46:00 +03:00
|
|
|
|
2017-05-29 02:00:21 +03:00
|
|
|
|
|
|
|
</dl>
|
2017-05-29 01:46:00 +03:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<h5>Parameters:</h5>
|
|
|
|
|
|
|
|
|
|
|
|
<table class="params">
|
|
|
|
<thead>
|
|
|
|
<tr>
|
|
|
|
|
|
|
|
<th>Name</th>
|
|
|
|
|
|
|
|
|
|
|
|
<th>Type</th>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<th class="last">Description</th>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
|
|
|
|
<tbody>
|
|
|
|
|
|
|
|
|
|
|
|
<tr>
|
|
|
|
|
|
|
|
<td class="name"><code>raw</code></td>
|
|
|
|
|
|
|
|
|
|
|
|
<td class="type">
|
|
|
|
|
|
|
|
|
2017-05-30 16:03:39 +03:00
|
|
|
<span class="param-type"><code>Object</code></span>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</td>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<td class="description last">
|
|
|
|
The data to send.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<table class="params">
|
|
|
|
<thead>
|
|
|
|
<tr>
|
|
|
|
|
|
|
|
<th>Name</th>
|
|
|
|
|
|
|
|
|
|
|
|
<th>Type</th>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<th class="last">Description</th>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
|
|
|
|
<tbody>
|
|
|
|
|
|
|
|
|
|
|
|
<tr>
|
|
|
|
|
|
|
|
<td class="name"><code>cuid</code></td>
|
|
|
|
|
|
|
|
|
|
|
|
<td class="type">
|
|
|
|
|
|
|
|
|
2017-05-29 02:00:21 +03:00
|
|
|
<span class="param-type"><code>String</code></span>
|
2017-05-29 01:46:00 +03:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</td>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2017-05-29 02:00:21 +03:00
|
|
|
<td class="description last">
|
2017-05-30 16:03:39 +03:00
|
|
|
Session identifier.
|
|
|
|
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<tr>
|
|
|
|
|
|
|
|
<td class="name"><code>text</code></td>
|
|
|
|
|
|
|
|
|
|
|
|
<td class="type">
|
|
|
|
|
|
|
|
|
|
|
|
<span class="param-type"><code>String</code></span>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</td>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<td class="description last">
|
|
|
|
Message text.
|
|
|
|
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
|
2017-05-29 02:00:21 +03:00
|
|
|
|
|
|
|
</td>
|
2017-05-29 01:46:00 +03:00
|
|
|
</tr>
|
|
|
|
|
|
|
|
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2017-05-29 02:00:21 +03:00
|
|
|
<div class="section-returns">
|
|
|
|
<h5>Returns:</h5>
|
2017-05-29 01:46:00 +03:00
|
|
|
|
2017-05-29 02:00:21 +03:00
|
|
|
|
2017-05-29 01:46:00 +03:00
|
|
|
|
2017-05-29 02:00:21 +03:00
|
|
|
<dl class="param-type">
|
|
|
|
<dt>
|
|
|
|
Type:
|
|
|
|
</dt>
|
|
|
|
<dd>
|
|
|
|
|
|
|
|
<span class="param-type"><code>String</code></span>
|
2017-05-29 01:46:00 +03:00
|
|
|
|
|
|
|
|
2017-05-29 02:00:21 +03:00
|
|
|
</dd>
|
|
|
|
</dl>
|
2017-05-29 01:46:00 +03:00
|
|
|
|
|
|
|
|
2017-05-29 02:00:21 +03:00
|
|
|
<div class="param-desc">
|
2017-05-30 16:03:39 +03:00
|
|
|
- Encrypted string.
|
2017-05-29 02:00:21 +03:00
|
|
|
</div>
|
2017-05-29 01:46:00 +03:00
|
|
|
|
|
|
|
|
2017-05-29 02:00:21 +03:00
|
|
|
</div>
|
2017-05-29 01:46:00 +03:00
|
|
|
|
|
|
|
|
|
|
|
|
2017-05-29 02:00:21 +03:00
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<div class="section-method">
|
2017-05-29 01:46:00 +03:00
|
|
|
|
2017-05-29 02:00:21 +03:00
|
|
|
|
2017-05-29 01:46:00 +03:00
|
|
|
|
2017-05-30 16:03:39 +03:00
|
|
|
<h4 class="name" id="decrypt"><span class="type-signature"></span>decrypt<span class="signature">(raw)</span><span class="type-signature"> → {String}</span></h4>
|
2017-05-29 01:46:00 +03:00
|
|
|
|
2017-05-29 02:00:21 +03:00
|
|
|
|
2017-05-29 01:46:00 +03:00
|
|
|
|
|
|
|
|
|
|
|
|
2017-05-29 02:00:21 +03:00
|
|
|
<div class="description">
|
2017-05-30 16:03:39 +03:00
|
|
|
Decrypts the incoming data.
|
2017-05-29 02:00:21 +03:00
|
|
|
</div>
|
2017-05-29 01:46:00 +03:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2017-05-29 02:00:21 +03:00
|
|
|
<dl class="details">
|
2017-05-29 01:46:00 +03:00
|
|
|
|
2017-05-29 02:00:21 +03:00
|
|
|
|
2017-05-29 01:46:00 +03:00
|
|
|
|
2017-05-29 02:00:21 +03:00
|
|
|
|
2017-05-29 01:46:00 +03:00
|
|
|
|
2017-05-29 02:00:21 +03:00
|
|
|
|
2017-05-29 01:46:00 +03:00
|
|
|
|
2017-05-29 02:00:21 +03:00
|
|
|
|
2017-05-29 01:46:00 +03:00
|
|
|
|
2017-05-29 02:00:21 +03:00
|
|
|
|
2017-05-29 01:46:00 +03:00
|
|
|
|
2017-05-29 02:00:21 +03:00
|
|
|
|
2017-05-29 01:46:00 +03:00
|
|
|
|
|
|
|
|
|
|
|
|
2017-05-29 02:00:21 +03:00
|
|
|
|
2017-05-29 01:46:00 +03:00
|
|
|
|
2017-05-29 02:00:21 +03:00
|
|
|
|
2017-05-29 01:46:00 +03:00
|
|
|
|
2017-05-29 02:00:21 +03:00
|
|
|
|
2017-05-29 01:46:00 +03:00
|
|
|
|
|
|
|
|
|
|
|
|
2017-05-29 02:00:21 +03:00
|
|
|
|
2017-05-29 01:46:00 +03:00
|
|
|
|
2017-05-29 02:00:21 +03:00
|
|
|
|
|
|
|
<dt class="tag-source">Source:</dt>
|
|
|
|
<dd class="tag-source"><ul class="dummy"><li>
|
2017-05-30 16:03:39 +03:00
|
|
|
<a href="index.js.html">index.js</a>, <a href="index.js.html#line91">line 91</a>
|
2017-05-29 02:00:21 +03:00
|
|
|
</li></ul></dd>
|
2017-05-29 01:46:00 +03:00
|
|
|
|
|
|
|
|
2017-05-29 02:00:21 +03:00
|
|
|
|
2017-05-29 01:46:00 +03:00
|
|
|
|
2017-05-29 02:00:21 +03:00
|
|
|
|
2017-05-29 01:46:00 +03:00
|
|
|
|
2017-05-29 02:00:21 +03:00
|
|
|
|
|
|
|
</dl>
|
2017-05-29 01:46:00 +03:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<h5>Parameters:</h5>
|
|
|
|
|
|
|
|
|
|
|
|
<table class="params">
|
|
|
|
<thead>
|
|
|
|
<tr>
|
|
|
|
|
|
|
|
<th>Name</th>
|
|
|
|
|
|
|
|
|
|
|
|
<th>Type</th>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<th class="last">Description</th>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
|
|
|
|
<tbody>
|
|
|
|
|
|
|
|
|
|
|
|
<tr>
|
|
|
|
|
|
|
|
<td class="name"><code>raw</code></td>
|
|
|
|
|
|
|
|
|
|
|
|
<td class="type">
|
|
|
|
|
|
|
|
|
2017-05-29 02:00:21 +03:00
|
|
|
<span class="param-type"><code>String</code></span>
|
2017-05-29 01:46:00 +03:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</td>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2017-05-29 02:00:21 +03:00
|
|
|
<td class="description last">
|
|
|
|
Encrypted data.
|
|
|
|
|
|
|
|
</td>
|
2017-05-29 01:46:00 +03:00
|
|
|
</tr>
|
|
|
|
|
|
|
|
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2017-05-29 02:00:21 +03:00
|
|
|
<div class="section-returns">
|
|
|
|
<h5>Returns:</h5>
|
2017-05-29 01:46:00 +03:00
|
|
|
|
2017-05-29 02:00:21 +03:00
|
|
|
|
2017-05-29 01:46:00 +03:00
|
|
|
|
2017-05-29 02:00:21 +03:00
|
|
|
<dl class="param-type">
|
|
|
|
<dt>
|
|
|
|
Type:
|
|
|
|
</dt>
|
|
|
|
<dd>
|
|
|
|
|
2017-05-30 16:03:39 +03:00
|
|
|
<span class="param-type"><code>String</code></span>
|
2017-05-29 01:46:00 +03:00
|
|
|
|
|
|
|
|
2017-05-29 02:00:21 +03:00
|
|
|
</dd>
|
|
|
|
</dl>
|
2017-05-29 01:46:00 +03:00
|
|
|
|
|
|
|
|
2017-05-29 02:00:21 +03:00
|
|
|
<div class="param-desc">
|
2017-05-30 16:03:39 +03:00
|
|
|
- Decrypted string.
|
2017-05-29 02:00:21 +03:00
|
|
|
</div>
|
2017-05-29 01:46:00 +03:00
|
|
|
|
|
|
|
|
2017-05-29 02:00:21 +03:00
|
|
|
</div>
|
2017-05-29 01:46:00 +03:00
|
|
|
|
|
|
|
|
|
|
|
|
2017-05-29 02:00:21 +03:00
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<div class="section-method">
|
2017-05-29 01:46:00 +03:00
|
|
|
|
2017-05-29 02:00:21 +03:00
|
|
|
|
2017-05-29 01:46:00 +03:00
|
|
|
|
2017-05-30 16:03:39 +03:00
|
|
|
<h4 class="name" id="decryptJSON"><span class="type-signature"></span>decryptJSON<span class="signature">(raw)</span><span class="type-signature"> → {Object}</span></h4>
|
2017-05-29 01:46:00 +03:00
|
|
|
|
2017-05-29 02:00:21 +03:00
|
|
|
|
2017-05-29 01:46:00 +03:00
|
|
|
|
|
|
|
|
|
|
|
|
2017-05-29 02:00:21 +03:00
|
|
|
<div class="description">
|
2017-05-30 16:03:39 +03:00
|
|
|
Decrypts an encrypted JSON object.
|
2017-05-29 02:00:21 +03:00
|
|
|
</div>
|
2017-05-29 01:46:00 +03:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2017-05-29 02:00:21 +03:00
|
|
|
<dl class="details">
|
2017-05-29 01:46:00 +03:00
|
|
|
|
2017-05-29 02:00:21 +03:00
|
|
|
|
2017-05-29 01:46:00 +03:00
|
|
|
|
2017-05-29 02:00:21 +03:00
|
|
|
|
2017-05-29 01:46:00 +03:00
|
|
|
|
2017-05-29 02:00:21 +03:00
|
|
|
|
2017-05-29 01:46:00 +03:00
|
|
|
|
2017-05-29 02:00:21 +03:00
|
|
|
|
2017-05-29 01:46:00 +03:00
|
|
|
|
2017-05-29 02:00:21 +03:00
|
|
|
|
2017-05-29 01:46:00 +03:00
|
|
|
|
2017-05-29 02:00:21 +03:00
|
|
|
|
2017-05-29 01:46:00 +03:00
|
|
|
|
|
|
|
|
|
|
|
|
2017-05-29 02:00:21 +03:00
|
|
|
|
2017-05-29 01:46:00 +03:00
|
|
|
|
2017-05-29 02:00:21 +03:00
|
|
|
|
2017-05-29 01:46:00 +03:00
|
|
|
|
2017-05-29 02:00:21 +03:00
|
|
|
|
2017-05-29 01:46:00 +03:00
|
|
|
|
|
|
|
|
|
|
|
|
2017-05-29 02:00:21 +03:00
|
|
|
|
2017-05-29 01:46:00 +03:00
|
|
|
|
2017-05-29 02:00:21 +03:00
|
|
|
|
|
|
|
<dt class="tag-source">Source:</dt>
|
|
|
|
<dd class="tag-source"><ul class="dummy"><li>
|
2017-05-30 16:03:39 +03:00
|
|
|
<a href="index.js.html">index.js</a>, <a href="index.js.html#line105">line 105</a>
|
2017-05-29 02:00:21 +03:00
|
|
|
</li></ul></dd>
|
2017-05-29 01:46:00 +03:00
|
|
|
|
|
|
|
|
2017-05-29 02:00:21 +03:00
|
|
|
|
2017-05-29 01:46:00 +03:00
|
|
|
|
2017-05-29 02:00:21 +03:00
|
|
|
|
2017-05-29 01:46:00 +03:00
|
|
|
|
2017-05-29 02:00:21 +03:00
|
|
|
|
|
|
|
</dl>
|
2017-05-29 01:46:00 +03:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<h5>Parameters:</h5>
|
|
|
|
|
|
|
|
|
|
|
|
<table class="params">
|
|
|
|
<thead>
|
|
|
|
<tr>
|
|
|
|
|
|
|
|
<th>Name</th>
|
|
|
|
|
|
|
|
|
|
|
|
<th>Type</th>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<th class="last">Description</th>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
|
|
|
|
<tbody>
|
|
|
|
|
|
|
|
|
|
|
|
<tr>
|
|
|
|
|
|
|
|
<td class="name"><code>raw</code></td>
|
|
|
|
|
|
|
|
|
|
|
|
<td class="type">
|
|
|
|
|
|
|
|
|
2017-05-29 02:00:21 +03:00
|
|
|
<span class="param-type"><code>String</code></span>
|
2017-05-29 01:46:00 +03:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</td>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2017-05-29 02:00:21 +03:00
|
|
|
<td class="description last">
|
2017-05-30 16:03:39 +03:00
|
|
|
Encrypted data.
|
2017-05-29 02:00:21 +03:00
|
|
|
|
|
|
|
</td>
|
2017-05-29 01:46:00 +03:00
|
|
|
</tr>
|
|
|
|
|
|
|
|
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2017-05-29 02:00:21 +03:00
|
|
|
<div class="section-returns">
|
|
|
|
<h5>Returns:</h5>
|
2017-05-29 01:46:00 +03:00
|
|
|
|
2017-05-29 02:00:21 +03:00
|
|
|
|
2017-05-29 01:46:00 +03:00
|
|
|
|
2017-05-29 02:00:21 +03:00
|
|
|
<dl class="param-type">
|
|
|
|
<dt>
|
|
|
|
Type:
|
|
|
|
</dt>
|
|
|
|
<dd>
|
|
|
|
|
2017-05-30 16:03:39 +03:00
|
|
|
<span class="param-type"><code>Object</code></span>
|
2017-05-29 01:46:00 +03:00
|
|
|
|
|
|
|
|
2017-05-29 02:00:21 +03:00
|
|
|
</dd>
|
|
|
|
</dl>
|
2017-05-29 01:46:00 +03:00
|
|
|
|
|
|
|
|
2017-05-29 02:00:21 +03:00
|
|
|
<div class="param-desc">
|
2017-05-30 16:03:39 +03:00
|
|
|
- Decrypted JSON.
|
2017-05-29 02:00:21 +03:00
|
|
|
</div>
|
2017-05-29 01:46:00 +03:00
|
|
|
|
|
|
|
|
2017-05-29 02:00:21 +03:00
|
|
|
</div>
|
2017-05-29 01:46:00 +03:00
|
|
|
|
|
|
|
|
|
|
|
|
2017-05-29 02:00:21 +03:00
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<div class="section-method">
|
2017-05-29 01:46:00 +03:00
|
|
|
|
2017-05-29 02:00:21 +03:00
|
|
|
|
2017-05-29 01:46:00 +03:00
|
|
|
|
2017-05-30 16:03:39 +03:00
|
|
|
<h4 class="name" id="encrypt"><span class="type-signature"></span>encrypt<span class="signature">(raw)</span><span class="type-signature"> → {String}</span></h4>
|
2017-05-29 01:46:00 +03:00
|
|
|
|
2017-05-29 02:00:21 +03:00
|
|
|
|
2017-05-29 01:46:00 +03:00
|
|
|
|
|
|
|
|
|
|
|
|
2017-05-29 02:00:21 +03:00
|
|
|
<div class="description">
|
2017-05-30 16:03:39 +03:00
|
|
|
Encrypts the incoming data.
|
2017-05-29 02:00:21 +03:00
|
|
|
</div>
|
2017-05-29 01:46:00 +03:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2017-05-29 02:00:21 +03:00
|
|
|
<dl class="details">
|
2017-05-29 01:46:00 +03:00
|
|
|
|
2017-05-29 02:00:21 +03:00
|
|
|
|
2017-05-29 01:46:00 +03:00
|
|
|
|
2017-05-29 02:00:21 +03:00
|
|
|
|
2017-05-29 01:46:00 +03:00
|
|
|
|
2017-05-29 02:00:21 +03:00
|
|
|
|
2017-05-29 01:46:00 +03:00
|
|
|
|
2017-05-29 02:00:21 +03:00
|
|
|
|
2017-05-29 01:46:00 +03:00
|
|
|
|
2017-05-29 02:00:21 +03:00
|
|
|
|
2017-05-29 01:46:00 +03:00
|
|
|
|
2017-05-29 02:00:21 +03:00
|
|
|
|
2017-05-29 01:46:00 +03:00
|
|
|
|
|
|
|
|
|
|
|
|
2017-05-29 02:00:21 +03:00
|
|
|
|
2017-05-29 01:46:00 +03:00
|
|
|
|
2017-05-29 02:00:21 +03:00
|
|
|
|
2017-05-29 01:46:00 +03:00
|
|
|
|
2017-05-29 02:00:21 +03:00
|
|
|
|
2017-05-29 01:46:00 +03:00
|
|
|
|
|
|
|
|
|
|
|
|
2017-05-29 02:00:21 +03:00
|
|
|
|
2017-05-29 01:46:00 +03:00
|
|
|
|
2017-05-29 02:00:21 +03:00
|
|
|
|
|
|
|
<dt class="tag-source">Source:</dt>
|
|
|
|
<dd class="tag-source"><ul class="dummy"><li>
|
2017-05-30 16:03:39 +03:00
|
|
|
<a href="index.js.html">index.js</a>, <a href="index.js.html#line77">line 77</a>
|
2017-05-29 02:00:21 +03:00
|
|
|
</li></ul></dd>
|
2017-05-29 01:46:00 +03:00
|
|
|
|
|
|
|
|
2017-05-29 02:00:21 +03:00
|
|
|
|
2017-05-29 01:46:00 +03:00
|
|
|
|
2017-05-29 02:00:21 +03:00
|
|
|
|
2017-05-29 01:46:00 +03:00
|
|
|
|
2017-05-29 02:00:21 +03:00
|
|
|
|
|
|
|
</dl>
|
2017-05-29 01:46:00 +03:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<h5>Parameters:</h5>
|
|
|
|
|
|
|
|
|
|
|
|
<table class="params">
|
|
|
|
<thead>
|
|
|
|
<tr>
|
|
|
|
|
|
|
|
<th>Name</th>
|
|
|
|
|
|
|
|
|
|
|
|
<th>Type</th>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<th class="last">Description</th>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
|
|
|
|
<tbody>
|
|
|
|
|
|
|
|
|
|
|
|
<tr>
|
|
|
|
|
|
|
|
<td class="name"><code>raw</code></td>
|
|
|
|
|
|
|
|
|
|
|
|
<td class="type">
|
|
|
|
|
|
|
|
|
2017-05-29 02:00:21 +03:00
|
|
|
<span class="param-type"><code>String</code></span>
|
2017-05-29 01:46:00 +03:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</td>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2017-05-29 02:00:21 +03:00
|
|
|
<td class="description last">
|
2017-05-30 16:03:39 +03:00
|
|
|
Decrypted data.
|
2017-05-29 02:00:21 +03:00
|
|
|
|
|
|
|
</td>
|
2017-05-29 01:46:00 +03:00
|
|
|
</tr>
|
|
|
|
|
|
|
|
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2017-05-29 02:00:21 +03:00
|
|
|
<div class="section-returns">
|
|
|
|
<h5>Returns:</h5>
|
2017-05-29 01:46:00 +03:00
|
|
|
|
2017-05-29 02:00:21 +03:00
|
|
|
|
2017-05-29 01:46:00 +03:00
|
|
|
|
2017-05-29 02:00:21 +03:00
|
|
|
<dl class="param-type">
|
|
|
|
<dt>
|
|
|
|
Type:
|
|
|
|
</dt>
|
|
|
|
<dd>
|
|
|
|
|
|
|
|
<span class="param-type"><code>String</code></span>
|
2017-05-29 01:46:00 +03:00
|
|
|
|
|
|
|
|
2017-05-29 02:00:21 +03:00
|
|
|
</dd>
|
|
|
|
</dl>
|
2017-05-29 01:46:00 +03:00
|
|
|
|
|
|
|
|
2017-05-29 02:00:21 +03:00
|
|
|
<div class="param-desc">
|
2017-05-30 16:03:39 +03:00
|
|
|
- Encrypted string.
|
2017-05-29 02:00:21 +03:00
|
|
|
</div>
|
2017-05-29 01:46:00 +03:00
|
|
|
|
|
|
|
|
2017-05-29 02:00:21 +03:00
|
|
|
</div>
|
2017-05-29 01:46:00 +03:00
|
|
|
|
|
|
|
|
|
|
|
|
2017-05-29 02:00:21 +03:00
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<div class="section-method">
|
2017-05-29 01:46:00 +03:00
|
|
|
|
2017-05-29 02:00:21 +03:00
|
|
|
|
2017-05-29 01:46:00 +03:00
|
|
|
|
2017-05-30 16:03:39 +03:00
|
|
|
<h4 class="name" id="isVerification"><span class="type-signature"></span>isVerification<span class="signature">(data)</span><span class="type-signature"> → {Boolean}</span></h4>
|
2017-05-29 01:46:00 +03:00
|
|
|
|
2017-05-29 02:00:21 +03:00
|
|
|
|
2017-05-29 01:46:00 +03:00
|
|
|
|
|
|
|
|
|
|
|
|
2017-05-29 02:00:21 +03:00
|
|
|
<div class="description">
|
|
|
|
Validation UUID format string.
|
|
|
|
</div>
|
2017-05-29 01:46:00 +03:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2017-05-29 02:00:21 +03:00
|
|
|
<dl class="details">
|
2017-05-29 01:46:00 +03:00
|
|
|
|
2017-05-29 02:00:21 +03:00
|
|
|
|
2017-05-29 01:46:00 +03:00
|
|
|
|
2017-05-29 02:00:21 +03:00
|
|
|
|
2017-05-29 01:46:00 +03:00
|
|
|
|
2017-05-29 02:00:21 +03:00
|
|
|
|
2017-05-29 01:46:00 +03:00
|
|
|
|
2017-05-29 02:00:21 +03:00
|
|
|
|
2017-05-29 01:46:00 +03:00
|
|
|
|
2017-05-29 02:00:21 +03:00
|
|
|
|
2017-05-29 01:46:00 +03:00
|
|
|
|
2017-05-29 02:00:21 +03:00
|
|
|
|
2017-05-29 01:46:00 +03:00
|
|
|
|
|
|
|
|
|
|
|
|
2017-05-29 02:00:21 +03:00
|
|
|
|
2017-05-29 01:46:00 +03:00
|
|
|
|
2017-05-29 02:00:21 +03:00
|
|
|
|
2017-05-29 01:46:00 +03:00
|
|
|
|
2017-05-29 02:00:21 +03:00
|
|
|
|
2017-05-29 01:46:00 +03:00
|
|
|
|
|
|
|
|
|
|
|
|
2017-05-29 02:00:21 +03:00
|
|
|
|
2017-05-29 01:46:00 +03:00
|
|
|
|
2017-05-29 02:00:21 +03:00
|
|
|
|
|
|
|
<dt class="tag-source">Source:</dt>
|
|
|
|
<dd class="tag-source"><ul class="dummy"><li>
|
2017-05-30 16:03:39 +03:00
|
|
|
<a href="index.js.html">index.js</a>, <a href="index.js.html#line164">line 164</a>
|
2017-05-29 02:00:21 +03:00
|
|
|
</li></ul></dd>
|
2017-05-29 01:46:00 +03:00
|
|
|
|
|
|
|
|
2017-05-29 02:00:21 +03:00
|
|
|
|
2017-05-29 01:46:00 +03:00
|
|
|
|
2017-05-29 02:00:21 +03:00
|
|
|
|
2017-05-29 01:46:00 +03:00
|
|
|
|
2017-05-29 02:00:21 +03:00
|
|
|
|
|
|
|
</dl>
|
2017-05-29 01:46:00 +03:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<h5>Parameters:</h5>
|
|
|
|
|
|
|
|
|
|
|
|
<table class="params">
|
|
|
|
<thead>
|
|
|
|
<tr>
|
|
|
|
|
|
|
|
<th>Name</th>
|
|
|
|
|
|
|
|
|
|
|
|
<th>Type</th>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<th class="last">Description</th>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
|
|
|
|
<tbody>
|
|
|
|
|
|
|
|
|
|
|
|
<tr>
|
|
|
|
|
|
|
|
<td class="name"><code>data</code></td>
|
|
|
|
|
|
|
|
|
|
|
|
<td class="type">
|
|
|
|
|
|
|
|
|
2017-05-29 02:00:21 +03:00
|
|
|
<span class="param-type"><code>String</code></span>
|
2017-05-29 01:46:00 +03:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</td>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2017-05-29 02:00:21 +03:00
|
|
|
<td class="description last">
|
|
|
|
The string to check.
|
|
|
|
|
|
|
|
</td>
|
2017-05-29 01:46:00 +03:00
|
|
|
</tr>
|
|
|
|
|
|
|
|
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2017-05-29 02:00:21 +03:00
|
|
|
<div class="section-returns">
|
|
|
|
<h5>Returns:</h5>
|
2017-05-29 01:46:00 +03:00
|
|
|
|
2017-05-29 02:00:21 +03:00
|
|
|
|
2017-05-29 01:46:00 +03:00
|
|
|
|
2017-05-29 02:00:21 +03:00
|
|
|
<dl class="param-type">
|
|
|
|
<dt>
|
|
|
|
Type:
|
|
|
|
</dt>
|
|
|
|
<dd>
|
|
|
|
|
|
|
|
<span class="param-type"><code>Boolean</code></span>
|
2017-05-29 01:46:00 +03:00
|
|
|
|
|
|
|
|
2017-05-29 02:00:21 +03:00
|
|
|
</dd>
|
|
|
|
</dl>
|
2017-05-29 01:46:00 +03:00
|
|
|
|
|
|
|
|
|
|
|
|
2017-05-29 02:00:21 +03:00
|
|
|
</div>
|
2017-05-29 01:46:00 +03:00
|
|
|
|
|
|
|
|
|
|
|
|
2017-05-29 02:00:21 +03:00
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<div class="section-method">
|
2017-05-29 01:46:00 +03:00
|
|
|
|
2017-05-29 02:00:21 +03:00
|
|
|
|
2017-05-29 01:46:00 +03:00
|
|
|
|
2017-05-30 16:03:39 +03:00
|
|
|
<h4 class="name" id="mergerString"><span class="type-signature"></span>mergerString<span class="signature">(raw)</span><span class="type-signature"> → {String}</span></h4>
|
2017-05-29 01:46:00 +03:00
|
|
|
|
2017-05-29 02:00:21 +03:00
|
|
|
|
2017-05-29 01:46:00 +03:00
|
|
|
|
|
|
|
|
|
|
|
|
2017-05-29 02:00:21 +03:00
|
|
|
<div class="description">
|
2017-05-30 16:03:39 +03:00
|
|
|
Merge and convert a string.
|
2017-05-29 02:00:21 +03:00
|
|
|
</div>
|
2017-05-29 01:46:00 +03:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2017-05-29 02:00:21 +03:00
|
|
|
<dl class="details">
|
2017-05-29 01:46:00 +03:00
|
|
|
|
2017-05-29 02:00:21 +03:00
|
|
|
|
2017-05-29 01:46:00 +03:00
|
|
|
|
2017-05-29 02:00:21 +03:00
|
|
|
|
2017-05-29 01:46:00 +03:00
|
|
|
|
2017-05-29 02:00:21 +03:00
|
|
|
|
2017-05-29 01:46:00 +03:00
|
|
|
|
2017-05-29 02:00:21 +03:00
|
|
|
|
2017-05-29 01:46:00 +03:00
|
|
|
|
2017-05-29 02:00:21 +03:00
|
|
|
|
2017-05-29 01:46:00 +03:00
|
|
|
|
2017-05-29 02:00:21 +03:00
|
|
|
|
2017-05-29 01:46:00 +03:00
|
|
|
|
|
|
|
|
|
|
|
|
2017-05-29 02:00:21 +03:00
|
|
|
|
2017-05-29 01:46:00 +03:00
|
|
|
|
2017-05-29 02:00:21 +03:00
|
|
|
|
2017-05-29 01:46:00 +03:00
|
|
|
|
2017-05-29 02:00:21 +03:00
|
|
|
|
2017-05-29 01:46:00 +03:00
|
|
|
|
|
|
|
|
|
|
|
|
2017-05-29 02:00:21 +03:00
|
|
|
|
2017-05-29 01:46:00 +03:00
|
|
|
|
2017-05-29 02:00:21 +03:00
|
|
|
|
|
|
|
<dt class="tag-source">Source:</dt>
|
|
|
|
<dd class="tag-source"><ul class="dummy"><li>
|
2017-05-30 16:03:39 +03:00
|
|
|
<a href="index.js.html">index.js</a>, <a href="index.js.html#line119">line 119</a>
|
2017-05-29 02:00:21 +03:00
|
|
|
</li></ul></dd>
|
2017-05-29 01:46:00 +03:00
|
|
|
|
|
|
|
|
2017-05-29 02:00:21 +03:00
|
|
|
|
2017-05-29 01:46:00 +03:00
|
|
|
|
2017-05-29 02:00:21 +03:00
|
|
|
|
2017-05-29 01:46:00 +03:00
|
|
|
|
2017-05-29 02:00:21 +03:00
|
|
|
|
|
|
|
</dl>
|
2017-05-29 01:46:00 +03:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<h5>Parameters:</h5>
|
|
|
|
|
|
|
|
|
|
|
|
<table class="params">
|
|
|
|
<thead>
|
|
|
|
<tr>
|
|
|
|
|
|
|
|
<th>Name</th>
|
|
|
|
|
|
|
|
|
|
|
|
<th>Type</th>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<th class="last">Description</th>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
|
|
|
|
<tbody>
|
|
|
|
|
|
|
|
|
|
|
|
<tr>
|
|
|
|
|
2017-05-30 16:03:39 +03:00
|
|
|
<td class="name"><code>raw</code></td>
|
2017-05-29 01:46:00 +03:00
|
|
|
|
|
|
|
|
|
|
|
<td class="type">
|
|
|
|
|
|
|
|
|
2017-05-29 02:00:21 +03:00
|
|
|
<span class="param-type"><code>String</code></span>
|
2017-05-29 01:46:00 +03:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</td>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2017-05-29 02:00:21 +03:00
|
|
|
<td class="description last">
|
2017-05-30 16:03:39 +03:00
|
|
|
The string to convert.
|
2017-05-29 02:00:21 +03:00
|
|
|
|
|
|
|
</td>
|
2017-05-29 01:46:00 +03:00
|
|
|
</tr>
|
|
|
|
|
|
|
|
|
2017-05-30 16:03:39 +03:00
|
|
|
</tbody>
|
|
|
|
</table>
|
2017-05-29 01:46:00 +03:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2017-05-30 16:03:39 +03:00
|
|
|
<div class="section-returns">
|
|
|
|
<h5>Returns:</h5>
|
2017-05-29 01:46:00 +03:00
|
|
|
|
2017-05-30 16:03:39 +03:00
|
|
|
|
2017-05-29 01:46:00 +03:00
|
|
|
|
2017-05-30 16:03:39 +03:00
|
|
|
<dl class="param-type">
|
|
|
|
<dt>
|
|
|
|
Type:
|
|
|
|
</dt>
|
|
|
|
<dd>
|
|
|
|
|
|
|
|
<span class="param-type"><code>String</code></span>
|
2017-05-29 01:46:00 +03:00
|
|
|
|
|
|
|
|
2017-05-30 16:03:39 +03:00
|
|
|
</dd>
|
|
|
|
</dl>
|
2017-05-29 01:46:00 +03:00
|
|
|
|
|
|
|
|
2017-05-30 16:03:39 +03:00
|
|
|
<div class="param-desc">
|
|
|
|
- The converted string.
|
|
|
|
</div>
|
2017-05-29 01:46:00 +03:00
|
|
|
|
2017-05-30 16:03:39 +03:00
|
|
|
|
|
|
|
</div>
|
2017-05-29 01:46:00 +03:00
|
|
|
|
|
|
|
|
|
|
|
|
2017-05-29 02:00:21 +03:00
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<div class="section-method">
|
2017-05-29 01:46:00 +03:00
|
|
|
|
|
|
|
|
|
|
|
|
2017-05-29 02:00:21 +03:00
|
|
|
<h4 class="name" id="send"><span class="type-signature"></span>send<span class="signature">(raw, callback)</span><span class="type-signature"></span></h4>
|
2017-05-29 01:46:00 +03:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2017-05-29 02:00:21 +03:00
|
|
|
<div class="description">
|
|
|
|
Send a message to the server and return a response.
|
|
|
|
</div>
|
2017-05-29 01:46:00 +03:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2017-05-29 02:00:21 +03:00
|
|
|
<dl class="details">
|
2017-05-29 01:46:00 +03:00
|
|
|
|
2017-05-29 02:00:21 +03:00
|
|
|
|
2017-05-29 01:46:00 +03:00
|
|
|
|
2017-05-29 02:00:21 +03:00
|
|
|
|
2017-05-29 01:46:00 +03:00
|
|
|
|
2017-05-29 02:00:21 +03:00
|
|
|
|
2017-05-29 01:46:00 +03:00
|
|
|
|
2017-05-29 02:00:21 +03:00
|
|
|
|
2017-05-29 01:46:00 +03:00
|
|
|
|
2017-05-29 02:00:21 +03:00
|
|
|
|
2017-05-29 01:46:00 +03:00
|
|
|
|
2017-05-29 02:00:21 +03:00
|
|
|
|
2017-05-29 01:46:00 +03:00
|
|
|
|
2017-05-29 02:00:21 +03:00
|
|
|
|
2017-05-29 01:46:00 +03:00
|
|
|
|
2017-05-29 02:00:21 +03:00
|
|
|
|
2017-05-29 01:46:00 +03:00
|
|
|
|
2017-05-29 02:00:21 +03:00
|
|
|
|
2017-05-29 01:46:00 +03:00
|
|
|
|
2017-05-29 02:00:21 +03:00
|
|
|
|
2017-05-29 01:46:00 +03:00
|
|
|
|
|
|
|
|
|
|
|
|
2017-05-29 02:00:21 +03:00
|
|
|
|
2017-05-29 01:46:00 +03:00
|
|
|
|
2017-05-29 02:00:21 +03:00
|
|
|
|
|
|
|
<dt class="tag-source">Source:</dt>
|
|
|
|
<dd class="tag-source"><ul class="dummy"><li>
|
2017-05-30 16:03:39 +03:00
|
|
|
<a href="index.js.html">index.js</a>, <a href="index.js.html#line47">line 47</a>
|
2017-05-29 02:00:21 +03:00
|
|
|
</li></ul></dd>
|
2017-05-29 01:46:00 +03:00
|
|
|
|
|
|
|
|
2017-05-29 02:00:21 +03:00
|
|
|
|
2017-05-29 01:46:00 +03:00
|
|
|
|
2017-05-29 02:00:21 +03:00
|
|
|
|
2017-05-29 01:46:00 +03:00
|
|
|
|
2017-05-29 02:00:21 +03:00
|
|
|
|
|
|
|
</dl>
|
2017-05-29 01:46:00 +03:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<h5>Parameters:</h5>
|
|
|
|
|
|
|
|
|
|
|
|
<table class="params">
|
|
|
|
<thead>
|
|
|
|
<tr>
|
|
|
|
|
|
|
|
<th>Name</th>
|
|
|
|
|
|
|
|
|
|
|
|
<th>Type</th>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<th class="last">Description</th>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
|
|
|
|
<tbody>
|
|
|
|
|
|
|
|
|
|
|
|
<tr>
|
|
|
|
|
|
|
|
<td class="name"><code>raw</code></td>
|
|
|
|
|
|
|
|
|
|
|
|
<td class="type">
|
|
|
|
|
|
|
|
|
2017-05-29 02:00:21 +03:00
|
|
|
<span class="param-type"><code>Object</code></span>
|
2017-05-29 01:46:00 +03:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</td>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2017-05-29 02:00:21 +03:00
|
|
|
<td class="description last">
|
|
|
|
The data to send.
|
2017-05-29 01:46:00 +03:00
|
|
|
|
2017-05-29 02:00:21 +03:00
|
|
|
|
2017-05-29 01:46:00 +03:00
|
|
|
|
|
|
|
<table class="params">
|
|
|
|
<thead>
|
|
|
|
<tr>
|
|
|
|
|
|
|
|
<th>Name</th>
|
|
|
|
|
|
|
|
|
|
|
|
<th>Type</th>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<th class="last">Description</th>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
|
|
|
|
<tbody>
|
|
|
|
|
|
|
|
|
|
|
|
<tr>
|
|
|
|
|
|
|
|
<td class="name"><code>cuid</code></td>
|
|
|
|
|
|
|
|
|
|
|
|
<td class="type">
|
|
|
|
|
|
|
|
|
2017-05-29 02:00:21 +03:00
|
|
|
<span class="param-type"><code>String</code></span>
|
2017-05-29 01:46:00 +03:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</td>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2017-05-29 02:00:21 +03:00
|
|
|
<td class="description last">
|
|
|
|
Session identifier.
|
|
|
|
|
|
|
|
</td>
|
2017-05-29 01:46:00 +03:00
|
|
|
</tr>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<tr>
|
|
|
|
|
|
|
|
<td class="name"><code>text</code></td>
|
|
|
|
|
|
|
|
|
|
|
|
<td class="type">
|
|
|
|
|
|
|
|
|
2017-05-29 02:00:21 +03:00
|
|
|
<span class="param-type"><code>String</code></span>
|
2017-05-29 01:46:00 +03:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</td>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2017-05-29 02:00:21 +03:00
|
|
|
<td class="description last">
|
|
|
|
Message text.
|
|
|
|
|
|
|
|
</td>
|
2017-05-29 01:46:00 +03:00
|
|
|
</tr>
|
|
|
|
|
|
|
|
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
|
2017-05-29 02:00:21 +03:00
|
|
|
|
2017-05-29 01:46:00 +03:00
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<tr>
|
|
|
|
|
|
|
|
<td class="name"><code>callback</code></td>
|
|
|
|
|
|
|
|
|
|
|
|
<td class="type">
|
|
|
|
|
|
|
|
|
2017-05-29 02:00:21 +03:00
|
|
|
<span class="param-type"><code>requestCallback</code></span>
|
2017-05-29 01:46:00 +03:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</td>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2017-05-29 02:00:21 +03:00
|
|
|
<td class="description last">
|
|
|
|
The callback that handles the response.
|
|
|
|
|
|
|
|
</td>
|
2017-05-29 01:46:00 +03:00
|
|
|
</tr>
|
|
|
|
|
|
|
|
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2017-05-29 02:00:21 +03:00
|
|
|
</div>
|
2017-05-29 01:46:00 +03:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
|
|
|
|
|
|
</section>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<br class="clear">
|
|
|
|
|
|
|
|
<footer>
|
2017-06-04 19:03:38 +00:00
|
|
|
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.3</a> on Sun Jun 04 2017 19:03:12 GMT+0000 (UTC) using the Minami theme.
|
2017-05-29 01:46:00 +03:00
|
|
|
</footer>
|
|
|
|
|
2017-05-29 02:00:21 +03:00
|
|
|
<script>prettyPrint();</script>
|
|
|
|
<script src="scripts/linenumber.js"></script>
|
2017-05-29 01:46:00 +03:00
|
|
|
</body>
|
|
|
|
</html>
|