vrpc 3.14.0 → 3.16.0

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/index.js CHANGED
@@ -1,8 +1,8 @@
1
1
  'use strict'
2
- module.exports = {
3
- VrpcNative: require('./vrpc/VrpcNative'),
4
- VrpcClient: require('./vrpc/VrpcClient'),
5
- VrpcAdapter: require('./vrpc/VrpcAdapter'),
6
- VrpcAgent: require('./vrpc/VrpcAgent'),
7
- VrpcPersistor: require('./vrpc/VrpcPersistor')
8
- }
2
+ // one assignment per name: Node detects them as named exports, so
3
+ // `import { VrpcClient } from 'vrpc'` works from ES modules, too
4
+ exports.VrpcNative = require('./vrpc/VrpcNative')
5
+ exports.VrpcClient = require('./vrpc/VrpcClient')
6
+ exports.VrpcAdapter = require('./vrpc/VrpcAdapter')
7
+ exports.VrpcAgent = require('./vrpc/VrpcAgent')
8
+ exports.VrpcPersistor = require('./vrpc/VrpcPersistor')
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "vrpc",
3
- "version": "3.14.0",
4
- "description": "Variadic Remote Procedure Calls",
3
+ "version": "3.16.0",
4
+ "description": "Remote objects over MQTT: call classes in other programs as if they were local - Node.js, browser, C++, Python, Arduino",
5
5
  "main": "index.js",
6
6
  "directories": {
7
7
  "example": "examples",
@@ -11,11 +11,14 @@
11
11
  "scripts": {
12
12
  "build:addon": "ln -sf binding.gyp.no-auto binding.gyp && node-gyp rebuild && rm binding.gyp",
13
13
  "build:browser": "./node_modules/.bin/webpack --stats-error-details",
14
- "build:doc": "./node_modules/.bin/jsdoc2md -f vrpc/VrpcAdapter.js vrpc/VrpcAgent.js vrpc/VrpcClient.js vrpc/VrpcNative.js --param-list-format=list --separators > docs/api.md",
15
- "test": "npm run test:adapter && npm run test:reconnect && npm run test:agent && npm run test:client && npm run test:persistor && npm run test:lifecycle && npm run test:legacy-runtime && npm run test:production",
14
+ "build:doc": "node scripts/build-docs.js",
15
+ "check:links": "node scripts/check-links.js",
16
+ "test": "npm run test:adapter && npm run test:subscriptions && npm run test:examples && npm run test:reconnect && npm run test:agent && npm run test:client && npm run test:persistor && npm run test:lifecycle && npm run test:legacy-runtime && npm run test:production",
16
17
  "test:adapter": "./node_modules/.bin/mocha tests/adapter/*.js --exit",
17
18
  "test:native": "./node_modules/.bin/mocha tests/native/*.js --exit",
18
19
  "test:reconnect": "./node_modules/.bin/mocha tests/reconnect/*.spec.js --exit",
20
+ "test:subscriptions": "./node_modules/.bin/mocha tests/subscriptions/*.spec.js --exit",
21
+ "test:examples": "./node_modules/.bin/mocha tests/examples/*.spec.js --exit",
19
22
  "test:agent": "tests/agent/test.sh",
20
23
  "test:client": "tests/client/test.sh",
21
24
  "test:performance": "tests/performance/test.sh",
@@ -28,27 +31,32 @@
28
31
  "vrpc-agent-js": "./vrpc/vrpc-agent-js"
29
32
  },
30
33
  "keywords": [
31
- "communication",
32
- "iot",
34
+ "rpc",
33
35
  "mqtt",
36
+ "remote objects",
37
+ "remote procedure call",
38
+ "mqtt-rpc",
39
+ "iot",
34
40
  "edge-to-cloud",
35
- "rpc",
36
- "remote procedural calls",
37
- "language binding",
38
- "C++",
39
- "C++ embedding",
40
- "header-only"
41
+ "events",
42
+ "microservices",
43
+ "browser",
44
+ "react",
45
+ "arduino",
46
+ "esp32",
47
+ "python",
48
+ "c++"
41
49
  ],
42
50
  "repository": {
43
51
  "type": "git",
44
- "url": "git+https://github.com/heisenware/vrpc.git"
52
+ "url": "git+https://github.com/heisenware/vrpc-js.git"
45
53
  },
46
54
  "author": "Burkhard C. Heisen <burkhard.heisen@heisenware.com>",
47
55
  "license": "MIT",
48
56
  "bugs": {
49
- "url": "https://github.com/heisenware/vrpc/issues"
57
+ "url": "https://github.com/heisenware/vrpc-js/issues"
50
58
  },
51
- "homepage": "https://docs.heisenware.com/developers/vrpc",
59
+ "homepage": "https://vrpc.io",
52
60
  "devDependencies": {
53
61
  "@heisenware/storage": "^3.0.2",
54
62
  "assert": "^2.1.0",