From 26f01ea1a392262c26e64be72093e20fbd4d87f2 Mon Sep 17 00:00:00 2001 From: VDaaS org Date: Mon, 13 Mar 2023 03:51:11 +0000 Subject: [PATCH] Update [vald sha: 3dcc1624ae1188d0ae6e43a51ecde1df02330e26] --- VALD_CLIENT_NODE_VERSION | 2 +- VALD_SHA | 2 +- index.d.ts | 8 +-- index.js | 4 +- package-lock.json | 76 ++++++++++++++--------------- package.json | 2 +- src/vald/v1/payload/payload_pb.d.ts | 8 +++ src/vald/v1/payload/payload_pb.js | 64 +++++++++++++++++++++++- 8 files changed, 117 insertions(+), 49 deletions(-) diff --git a/VALD_CLIENT_NODE_VERSION b/VALD_CLIENT_NODE_VERSION index f8a696c..661e7ae 100644 --- a/VALD_CLIENT_NODE_VERSION +++ b/VALD_CLIENT_NODE_VERSION @@ -1 +1 @@ -1.7.2 +1.7.3 diff --git a/VALD_SHA b/VALD_SHA index 12450b1..b40cb91 100644 --- a/VALD_SHA +++ b/VALD_SHA @@ -1 +1 @@ -49d8e88dfc47bd0a1f3a705d8551240947eb707c +3dcc1624ae1188d0ae6e43a51ecde1df02330e26 diff --git a/index.d.ts b/index.d.ts index 1d7ea59..9360d0e 100644 --- a/index.d.ts +++ b/index.d.ts @@ -1,9 +1,9 @@ -import v1_agent_core = require("./src/vald/v1/agent/core"); -import v1_payload = require("./src/vald/v1/payload"); import v1_vald = require("./src/vald/v1/vald"); +import v1_payload = require("./src/vald/v1/payload"); +import v1_agent_core = require("./src/vald/v1/agent/core"); declare const _default: { - v1_agent_core: typeof v1_agent_core, - v1_payload: typeof v1_payload, v1_vald: typeof v1_vald, + v1_payload: typeof v1_payload, + v1_agent_core: typeof v1_agent_core, }; export = _default; diff --git a/index.js b/index.js index 11e01e5..1f4787b 100644 --- a/index.js +++ b/index.js @@ -1,3 +1,3 @@ -module.exports.v1_agent_core = require("./src/vald/v1/agent/core"); -module.exports.v1_payload = require("./src/vald/v1/payload"); module.exports.v1_vald = require("./src/vald/v1/vald"); +module.exports.v1_payload = require("./src/vald/v1/payload"); +module.exports.v1_agent_core = require("./src/vald/v1/agent/core"); diff --git a/package-lock.json b/package-lock.json index 355e822..41dcb95 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "vald-client-node", - "version": "1.7.2", + "version": "1.7.3", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "vald-client-node", - "version": "1.7.2", + "version": "1.7.3", "license": "Apache-2.0", "dependencies": { "@grpc/grpc-js": "^1.7.1", @@ -628,9 +628,9 @@ } }, "node_modules/@grpc/grpc-js": { - "version": "1.8.11", - "resolved": "https://registry.npmjs.org/@grpc/grpc-js/-/grpc-js-1.8.11.tgz", - "integrity": "sha512-f/xC+6Z2QKsRJ+VSSFlt4hA5KSRm+PKvMWV8kMPkMgGlFidR6PeIkXrOasIY2roe+WROM6GFQLlgDKfeEZo2YQ==", + "version": "1.8.12", + "resolved": "https://registry.npmjs.org/@grpc/grpc-js/-/grpc-js-1.8.12.tgz", + "integrity": "sha512-MbUMvpVvakeKhdYux6gbSIPJaFMLNSY8jw4PqLI+FFztGrQRrYYAnHlR94+ncBQQewkpXQaW449m3tpH/B/ZnQ==", "dependencies": { "@grpc/proto-loader": "^0.7.0", "@types/node": ">=12.12.47" @@ -1184,9 +1184,9 @@ "integrity": "sha512-MqTGEo5bj5t157U6fA/BiDynNkn0YknVdh48CMPkTSpFTVmvao5UQmm7uEF6xBEo7qIMAlY/JSleYaE6VOdpaA==" }, "node_modules/@types/node": { - "version": "18.14.5", - "resolved": "https://registry.npmjs.org/@types/node/-/node-18.14.5.tgz", - "integrity": "sha512-CRT4tMK/DHYhw1fcCEBwME9CSaZNclxfzVMe7GsO6ULSwsttbj70wSiX6rZdIjGblu93sTJxLdhNIT85KKI7Qw==" + "version": "18.15.0", + "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.0.tgz", + "integrity": "sha512-z6nr0TTEOBGkzLGmbypWOGnpSpSIBorEhC4L+4HeQ2iezKCi4f77kyslRwvHeNitymGQ+oFyIWGP96l/DPSV9w==" }, "node_modules/@types/prettier": { "version": "2.7.2", @@ -1572,9 +1572,9 @@ } }, "node_modules/caniuse-lite": { - "version": "1.0.30001460", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001460.tgz", - "integrity": "sha512-Bud7abqjvEjipUkpLs4D7gR0l8hBYBHoa+tGtKJHvT2AYzLp1z7EmVkUT4ERpVUfca8S2HGIVs883D8pUH1ZzQ==", + "version": "1.0.30001464", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001464.tgz", + "integrity": "sha512-oww27MtUmusatpRpCGSOneQk2/l5czXANDSFvsc7VuOQ86s3ANhZetpwXNf1zY/zdfP63Xvjz325DAdAoES13g==", "dev": true, "funding": [ { @@ -1898,9 +1898,9 @@ } }, "node_modules/electron-to-chromium": { - "version": "1.4.317", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.317.tgz", - "integrity": "sha512-JhCRm9v30FMNzQSsjl4kXaygU+qHBD0Yh7mKxyjmF0V8VwYVB6qpBRX28GyAucrM9wDCpSUctT6FpMUQxbyKuA==", + "version": "1.4.328", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.328.tgz", + "integrity": "sha512-DE9tTy2PNmy1v55AZAO542ui+MLC2cvINMK4P2LXGsJdput/ThVG9t+QGecPuAZZSgC8XoI+Jh9M1OG9IoNSCw==", "dev": true }, "node_modules/emittery": { @@ -3449,9 +3449,9 @@ } }, "node_modules/minipass": { - "version": "4.2.4", - "resolved": "https://registry.npmjs.org/minipass/-/minipass-4.2.4.tgz", - "integrity": "sha512-lwycX3cBMTvcejsHITUgYj6Gy6A7Nh4Q6h9NP4sTHY1ccJlC7yKzDmiShEHsJ16Jf1nKGDEaiHxiltsJEvk0nQ==", + "version": "4.2.5", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-4.2.5.tgz", + "integrity": "sha512-+yQl7SX3bIT83Lhb4BVorMAHVuqsskxRdlmO9kTpyukp8vsm2Sn/fUOV9xlnG8/a5JsypJzap21lz/y3FBMJ8Q==", "dev": true, "engines": { "node": ">=8" @@ -3906,9 +3906,9 @@ "dev": true }, "node_modules/readable-stream": { - "version": "3.6.1", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.1.tgz", - "integrity": "sha512-+rQmrWMYGA90yenhTYsLWAsLsqVC8osOw6PKE1HDYiO0gdPeKe/xDHNzIAIn4C91YQ6oenEhfYqqc1883qHbjQ==", + "version": "3.6.2", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.2.tgz", + "integrity": "sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA==", "dev": true, "dependencies": { "inherits": "^2.0.3", @@ -5309,9 +5309,9 @@ } }, "@grpc/grpc-js": { - "version": "1.8.11", - "resolved": "https://registry.npmjs.org/@grpc/grpc-js/-/grpc-js-1.8.11.tgz", - "integrity": "sha512-f/xC+6Z2QKsRJ+VSSFlt4hA5KSRm+PKvMWV8kMPkMgGlFidR6PeIkXrOasIY2roe+WROM6GFQLlgDKfeEZo2YQ==", + "version": "1.8.12", + "resolved": "https://registry.npmjs.org/@grpc/grpc-js/-/grpc-js-1.8.12.tgz", + "integrity": "sha512-MbUMvpVvakeKhdYux6gbSIPJaFMLNSY8jw4PqLI+FFztGrQRrYYAnHlR94+ncBQQewkpXQaW449m3tpH/B/ZnQ==", "requires": { "@grpc/proto-loader": "^0.7.0", "@types/node": ">=12.12.47" @@ -5786,9 +5786,9 @@ "integrity": "sha512-MqTGEo5bj5t157U6fA/BiDynNkn0YknVdh48CMPkTSpFTVmvao5UQmm7uEF6xBEo7qIMAlY/JSleYaE6VOdpaA==" }, "@types/node": { - "version": "18.14.5", - "resolved": "https://registry.npmjs.org/@types/node/-/node-18.14.5.tgz", - "integrity": "sha512-CRT4tMK/DHYhw1fcCEBwME9CSaZNclxfzVMe7GsO6ULSwsttbj70wSiX6rZdIjGblu93sTJxLdhNIT85KKI7Qw==" + "version": "18.15.0", + "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.0.tgz", + "integrity": "sha512-z6nr0TTEOBGkzLGmbypWOGnpSpSIBorEhC4L+4HeQ2iezKCi4f77kyslRwvHeNitymGQ+oFyIWGP96l/DPSV9w==" }, "@types/prettier": { "version": "2.7.2", @@ -6088,9 +6088,9 @@ "dev": true }, "caniuse-lite": { - "version": "1.0.30001460", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001460.tgz", - "integrity": "sha512-Bud7abqjvEjipUkpLs4D7gR0l8hBYBHoa+tGtKJHvT2AYzLp1z7EmVkUT4ERpVUfca8S2HGIVs883D8pUH1ZzQ==", + "version": "1.0.30001464", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001464.tgz", + "integrity": "sha512-oww27MtUmusatpRpCGSOneQk2/l5czXANDSFvsc7VuOQ86s3ANhZetpwXNf1zY/zdfP63Xvjz325DAdAoES13g==", "dev": true }, "chalk": { @@ -6333,9 +6333,9 @@ } }, "electron-to-chromium": { - "version": "1.4.317", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.317.tgz", - "integrity": "sha512-JhCRm9v30FMNzQSsjl4kXaygU+qHBD0Yh7mKxyjmF0V8VwYVB6qpBRX28GyAucrM9wDCpSUctT6FpMUQxbyKuA==", + "version": "1.4.328", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.328.tgz", + "integrity": "sha512-DE9tTy2PNmy1v55AZAO542ui+MLC2cvINMK4P2LXGsJdput/ThVG9t+QGecPuAZZSgC8XoI+Jh9M1OG9IoNSCw==", "dev": true }, "emittery": { @@ -7525,9 +7525,9 @@ } }, "minipass": { - "version": "4.2.4", - "resolved": "https://registry.npmjs.org/minipass/-/minipass-4.2.4.tgz", - "integrity": "sha512-lwycX3cBMTvcejsHITUgYj6Gy6A7Nh4Q6h9NP4sTHY1ccJlC7yKzDmiShEHsJ16Jf1nKGDEaiHxiltsJEvk0nQ==", + "version": "4.2.5", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-4.2.5.tgz", + "integrity": "sha512-+yQl7SX3bIT83Lhb4BVorMAHVuqsskxRdlmO9kTpyukp8vsm2Sn/fUOV9xlnG8/a5JsypJzap21lz/y3FBMJ8Q==", "dev": true }, "minizlib": { @@ -7879,9 +7879,9 @@ "dev": true }, "readable-stream": { - "version": "3.6.1", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.1.tgz", - "integrity": "sha512-+rQmrWMYGA90yenhTYsLWAsLsqVC8osOw6PKE1HDYiO0gdPeKe/xDHNzIAIn4C91YQ6oenEhfYqqc1883qHbjQ==", + "version": "3.6.2", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.2.tgz", + "integrity": "sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA==", "dev": true, "requires": { "inherits": "^2.0.3", diff --git a/package.json b/package.json index 93fe8b0..da2226f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "vald-client-node", - "version": "1.7.2", + "version": "1.7.3", "description": "A gRPC client library for Vald", "main": "index.js", "types": "index.d.ts", diff --git a/src/vald/v1/payload/payload_pb.d.ts b/src/vald/v1/payload/payload_pb.d.ts index 6d55ad3..877f362 100644 --- a/src/vald/v1/payload/payload_pb.d.ts +++ b/src/vald/v1/payload/payload_pb.d.ts @@ -657,6 +657,9 @@ export namespace Update { getTimestamp(): number; setTimestamp(value: number): void; + getDisableBalancedUpdate(): boolean; + setDisableBalancedUpdate(value: boolean): void; + serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): Config.AsObject; static toObject(includeInstance: boolean, msg: Config): Config.AsObject; @@ -672,6 +675,7 @@ export namespace Update { skipStrictExistCheck: boolean, filters?: Filter.Config.AsObject, timestamp: number, + disableBalancedUpdate: boolean, } } } @@ -809,6 +813,9 @@ export namespace Upsert { getTimestamp(): number; setTimestamp(value: number): void; + getDisableBalancedUpdate(): boolean; + setDisableBalancedUpdate(value: boolean): void; + serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): Config.AsObject; static toObject(includeInstance: boolean, msg: Config): Config.AsObject; @@ -824,6 +831,7 @@ export namespace Upsert { skipStrictExistCheck: boolean, filters?: Filter.Config.AsObject, timestamp: number, + disableBalancedUpdate: boolean, } } } diff --git a/src/vald/v1/payload/payload_pb.js b/src/vald/v1/payload/payload_pb.js index a2acf05..1cb15b1 100644 --- a/src/vald/v1/payload/payload_pb.js +++ b/src/vald/v1/payload/payload_pb.js @@ -6153,7 +6153,8 @@ proto.payload.v1.Update.Config.toObject = function(includeInstance, msg) { var f, obj = { skipStrictExistCheck: jspb.Message.getBooleanFieldWithDefault(msg, 1, false), filters: (f = msg.getFilters()) && proto.payload.v1.Filter.Config.toObject(includeInstance, f), - timestamp: jspb.Message.getFieldWithDefault(msg, 3, 0) + timestamp: jspb.Message.getFieldWithDefault(msg, 3, 0), + disableBalancedUpdate: jspb.Message.getBooleanFieldWithDefault(msg, 4, false) }; if (includeInstance) { @@ -6203,6 +6204,10 @@ proto.payload.v1.Update.Config.deserializeBinaryFromReader = function(msg, reade var value = /** @type {number} */ (reader.readInt64()); msg.setTimestamp(value); break; + case 4: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setDisableBalancedUpdate(value); + break; default: reader.skipField(); break; @@ -6254,6 +6259,13 @@ proto.payload.v1.Update.Config.serializeBinaryToWriter = function(message, write f ); } + f = message.getDisableBalancedUpdate(); + if (f) { + writer.writeBool( + 4, + f + ); + } }; @@ -6330,6 +6342,24 @@ proto.payload.v1.Update.Config.prototype.setTimestamp = function(value) { }; +/** + * optional bool disable_balanced_update = 4; + * @return {boolean} + */ +proto.payload.v1.Update.Config.prototype.getDisableBalancedUpdate = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 4, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.payload.v1.Update.Config} returns this + */ +proto.payload.v1.Update.Config.prototype.setDisableBalancedUpdate = function(value) { + return jspb.Message.setProto3BooleanField(this, 4, value); +}; + + @@ -7240,7 +7270,8 @@ proto.payload.v1.Upsert.Config.toObject = function(includeInstance, msg) { var f, obj = { skipStrictExistCheck: jspb.Message.getBooleanFieldWithDefault(msg, 1, false), filters: (f = msg.getFilters()) && proto.payload.v1.Filter.Config.toObject(includeInstance, f), - timestamp: jspb.Message.getFieldWithDefault(msg, 3, 0) + timestamp: jspb.Message.getFieldWithDefault(msg, 3, 0), + disableBalancedUpdate: jspb.Message.getBooleanFieldWithDefault(msg, 4, false) }; if (includeInstance) { @@ -7290,6 +7321,10 @@ proto.payload.v1.Upsert.Config.deserializeBinaryFromReader = function(msg, reade var value = /** @type {number} */ (reader.readInt64()); msg.setTimestamp(value); break; + case 4: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setDisableBalancedUpdate(value); + break; default: reader.skipField(); break; @@ -7341,6 +7376,13 @@ proto.payload.v1.Upsert.Config.serializeBinaryToWriter = function(message, write f ); } + f = message.getDisableBalancedUpdate(); + if (f) { + writer.writeBool( + 4, + f + ); + } }; @@ -7417,6 +7459,24 @@ proto.payload.v1.Upsert.Config.prototype.setTimestamp = function(value) { }; +/** + * optional bool disable_balanced_update = 4; + * @return {boolean} + */ +proto.payload.v1.Upsert.Config.prototype.getDisableBalancedUpdate = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 4, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.payload.v1.Upsert.Config} returns this + */ +proto.payload.v1.Upsert.Config.prototype.setDisableBalancedUpdate = function(value) { + return jspb.Message.setProto3BooleanField(this, 4, value); +}; + +