@tdxvolt/volt-client-grpc 0.18.8 → 0.18.9
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/lib/index.cjs +1 -4
- package/package.json +2 -2
- package/src/volt-client.js +1 -3
- package/src/volt-proto-literals.js +0 -1
package/lib/index.cjs
CHANGED
|
@@ -3789,7 +3789,6 @@ message InvokeResponse {
|
|
|
3789
3789
|
// The invocation id to match the originating request.
|
|
3790
3790
|
uint64 invoke_id = 1;
|
|
3791
3791
|
|
|
3792
|
-
// Key exchange details for the response payload encryption. Only necessary for the first response.
|
|
3793
3792
|
InvokeRequestKeyExchange key_exchange = 2;
|
|
3794
3793
|
|
|
3795
3794
|
// The initialisation vector for the response payload encryption. This will be a random 16 byte value, that is different for each response.
|
|
@@ -5515,9 +5514,7 @@ class VoltClient extends EventEmitter__default["default"] {
|
|
|
5515
5514
|
log("Attempt to load config from file %s", configPath);
|
|
5516
5515
|
try {
|
|
5517
5516
|
if (fs__default["default"].existsSync(configPath)) {
|
|
5518
|
-
const configContents = await readFile(
|
|
5519
|
-
new URL(configPath, (typeof document === 'undefined' ? new (require('u' + 'rl').URL)('file:' + __filename).href : (document.currentScript && document.currentScript.src || new URL('index.cjs', document.baseURI).href)))
|
|
5520
|
-
);
|
|
5517
|
+
const configContents = await readFile(configPath);
|
|
5521
5518
|
configJSON = JSON.parse(configContents);
|
|
5522
5519
|
} else {
|
|
5523
5520
|
// There is currently no file at the given configuration path.
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"publishConfig": {
|
|
4
4
|
"access": "public"
|
|
5
5
|
},
|
|
6
|
-
"version": "0.18.
|
|
6
|
+
"version": "0.18.9",
|
|
7
7
|
"description": "tdx Volt library for nodejs clients",
|
|
8
8
|
"type": "module",
|
|
9
9
|
"exports": {
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"author": "toby.ealden@gmail.com",
|
|
38
38
|
"license": "ISC",
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@tdxvolt/volt-client-web": "^0.18.
|
|
40
|
+
"@tdxvolt/volt-client-web": "^0.18.1",
|
|
41
41
|
"bent": "^7.3.12",
|
|
42
42
|
"builtin-modules": "^3.3.0",
|
|
43
43
|
"debug": "^4.1.1",
|
package/src/volt-client.js
CHANGED
|
@@ -97,9 +97,7 @@ export class VoltClient extends EventEmitter {
|
|
|
97
97
|
log("Attempt to load config from file %s", configPath);
|
|
98
98
|
try {
|
|
99
99
|
if (fs.existsSync(configPath)) {
|
|
100
|
-
const configContents = await readFile(
|
|
101
|
-
new URL(configPath, import.meta.url)
|
|
102
|
-
);
|
|
100
|
+
const configContents = await readFile(configPath);
|
|
103
101
|
configJSON = JSON.parse(configContents);
|
|
104
102
|
} else {
|
|
105
103
|
// There is currently no file at the given configuration path.
|
|
@@ -2747,7 +2747,6 @@ message InvokeResponse {
|
|
|
2747
2747
|
// The invocation id to match the originating request.
|
|
2748
2748
|
uint64 invoke_id = 1;
|
|
2749
2749
|
|
|
2750
|
-
// Key exchange details for the response payload encryption. Only necessary for the first response.
|
|
2751
2750
|
InvokeRequestKeyExchange key_exchange = 2;
|
|
2752
2751
|
|
|
2753
2752
|
// The initialisation vector for the response payload encryption. This will be a random 16 byte value, that is different for each response.
|