@imqueue/rpc 2.0.0 → 2.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/package.json +3 -3
- package/src/IMQClient.js +17 -11
package/README.md
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
[](https://codebeat.co/projects/github-com-imqueue-rpc-master)
|
|
5
5
|
[](https://coveralls.io/github/imqueue/rpc?branch=master)
|
|
6
6
|
[](https://snyk.io/test/github/imqueue/rpc?targetFile=package.json)
|
|
7
|
-
[](https://rawgit.com/imqueue/rpc/master/LICENSE)
|
|
8
8
|
|
|
9
9
|
RPC-like client-service implementation over messaging queue. This module
|
|
10
10
|
provides base set of abstract classes and decorators to build services and
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@imqueue/rpc",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.4",
|
|
4
4
|
"description": "RPC-like client-service implementation over messaging queue",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"redis",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"clean-doc": "rm -rf docs",
|
|
26
26
|
"clean-benchmark": "rm -rf benchmark-result",
|
|
27
27
|
"clean": "npm run clean-tests && npm run clean-typedefs && npm run clean-maps && npm run clean-js && npm run clean-doc && npm run clean-benchmark",
|
|
28
|
-
"doc": "rm -rf docs && typedoc --excludePrivate --excludeExternals --hideGenerator --exclude \"**/+(debug|test|node_modules|docs|coverage|benchmark|.nyc_output)/**/*\" --
|
|
28
|
+
"doc": "rm -rf docs && typedoc --excludePrivate --excludeExternals --hideGenerator --exclude \"**/+(debug|test|node_modules|docs|coverage|benchmark|.nyc_output)/**/*\" --out ./docs . && /usr/bin/env node -e \"import('open').then(open => open.default('file://`pwd`/docs/index.html', { wait: false }));\""
|
|
29
29
|
},
|
|
30
30
|
"repository": {
|
|
31
31
|
"type": "git",
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"author": "imqueue.com <support@imqueue.com> (https://imqueue.com)",
|
|
39
39
|
"license": "GPL-3.0-only",
|
|
40
40
|
"dependencies": {
|
|
41
|
-
"@imqueue/core": "^2.0.
|
|
41
|
+
"@imqueue/core": "^2.0.2",
|
|
42
42
|
"@types/node": "^24.0.8",
|
|
43
43
|
"acorn": "^8.15.0",
|
|
44
44
|
"farmhash": "^4.0.2",
|
package/src/IMQClient.js
CHANGED
|
@@ -353,19 +353,25 @@ async function generator(name, options) {
|
|
|
353
353
|
let src = `/*!
|
|
354
354
|
* IMQ-RPC Service Client: ${description.service.name}
|
|
355
355
|
*
|
|
356
|
-
*
|
|
356
|
+
* I'm Queue Software Project
|
|
357
|
+
* Copyright (C) ${new Date().getFullYear()} imqueue.com <support@imqueue.com>
|
|
358
|
+
*
|
|
359
|
+
* This program is free software: you can redistribute it and/or modify
|
|
360
|
+
* it under the terms of the GNU General Public License as published by
|
|
361
|
+
* the Free Software Foundation, either version 3 of the License, or
|
|
362
|
+
* (at your option) any later version.
|
|
363
|
+
*
|
|
364
|
+
* This program is distributed in the hope that it will be useful,
|
|
365
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
366
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
367
|
+
* GNU General Public License for more details.
|
|
357
368
|
*
|
|
358
|
-
*
|
|
359
|
-
*
|
|
360
|
-
* copyright notice and this permission notice appear in all copies.
|
|
369
|
+
* You should have received a copy of the GNU General Public License
|
|
370
|
+
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
361
371
|
*
|
|
362
|
-
*
|
|
363
|
-
*
|
|
364
|
-
*
|
|
365
|
-
* INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
366
|
-
* LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
367
|
-
* OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
368
|
-
* PERFORMANCE OF THIS SOFTWARE.
|
|
372
|
+
* If you want to use this code in a closed source (commercial) project, you can
|
|
373
|
+
* purchase a proprietary commercial license. Please contact us at
|
|
374
|
+
* <support@imqueue.com> to get commercial licensing options.
|
|
369
375
|
*/
|
|
370
376
|
import {
|
|
371
377
|
IMQClient,
|