vrpc 2.5.1 → 3.0.0-alpha.3
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/CHANGELOG.md +66 -0
- package/README.md +31 -56
- package/binding.gyp.no-auto +4 -26
- package/browser/vrpc.js +1 -1
- package/index.js +2 -2
- package/package.json +12 -16
- package/vrpc/VrpcAdapter.js +202 -193
- package/vrpc/VrpcAgent.js +86 -80
- package/vrpc/{VrpcRemote.js → VrpcClient.js} +302 -425
- package/vrpc/VrpcNative.js +307 -0
- package/vrpc/{vrpc.hpp → adapter.hpp} +1001 -1115
- package/vrpc/addon.cpp +5 -5
- package/vrpc/json.hpp +1769 -870
- package/vrpc/vrpc-agent-js +4 -4
- package/README.rst +0 -18
- package/third_party/include/catch.hpp +0 -12749
- package/third_party/install.sh +0 -22
- package/vrpc/VrpcLocal.js +0 -264
- package/vrpc/VrpcLocal.py +0 -171
- package/vrpc/__init__.py +0 -1
- package/vrpc/module.cpp +0 -183
package/vrpc/vrpc-agent-js
CHANGED
|
@@ -44,9 +44,9 @@ parser.add_argument(
|
|
|
44
44
|
parser.add_argument(
|
|
45
45
|
['-f', '--file'],
|
|
46
46
|
{
|
|
47
|
-
help: 'Name of the
|
|
47
|
+
help: 'Name of the adapter file (Default is \'PATH/adapter.js\')',
|
|
48
48
|
type: 'string',
|
|
49
|
-
default: './
|
|
49
|
+
default: './adapter.js'
|
|
50
50
|
}
|
|
51
51
|
)
|
|
52
52
|
parser.add_argument(
|
|
@@ -77,11 +77,11 @@ parser.add_argument(
|
|
|
77
77
|
|
|
78
78
|
const args = parser.parse_args()
|
|
79
79
|
|
|
80
|
-
// Load the
|
|
80
|
+
// Load the adapter
|
|
81
81
|
try {
|
|
82
82
|
require(path.join(process.cwd(), args.file))
|
|
83
83
|
} catch (err) {
|
|
84
|
-
console.error('Could not find \'
|
|
84
|
+
console.error('Could not find \'adapter.js\' file')
|
|
85
85
|
process.exit(1)
|
|
86
86
|
}
|
|
87
87
|
|
package/README.rst
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
VRPC - Variadic Remote Procedure Calls
|
|
2
|
-
======================================
|
|
3
|
-
|
|
4
|
-
|Build Status| |GitHub license| |Semver| |GitHub Releases| |GitHub
|
|
5
|
-
Issues|
|
|
6
|
-
|
|
7
|
-
Visit our website: https://vrpc.io
|
|
8
|
-
|
|
9
|
-
.. |Build Status| image:: https://travis-ci.com/heisenware/vrpc.svg?branch=master
|
|
10
|
-
:target: https://travis-ci.com/heisenware/vrpc
|
|
11
|
-
.. |GitHub license| image:: https://img.shields.io/badge/license-MIT-blue.svg
|
|
12
|
-
:target: https://raw.githubusercontent.com/heisenware/vrpc/master/LICENSE
|
|
13
|
-
.. |Semver| image:: https://img.shields.io/badge/semver-2.0.0-blue
|
|
14
|
-
:target: https://semver.org/spec/v2.0.0.html
|
|
15
|
-
.. |GitHub Releases| image:: https://img.shields.io/github/tag/heisenware/vrpc.svg
|
|
16
|
-
:target: https://github.com/heisenware/vrpc/tag
|
|
17
|
-
.. |GitHub Issues| image:: https://img.shields.io/github/issues/heisenware/vrpc.svg
|
|
18
|
-
:target: http://github.com/heisenware/vrpc/issues
|