diff --git a/packages/opamp-client-node/lib/generated/anyvalue_pb.d.ts b/packages/opamp-client-node/lib/generated/anyvalue_pb.d.ts index 9f685d2f..8dcaf864 100644 --- a/packages/opamp-client-node/lib/generated/anyvalue_pb.d.ts +++ b/packages/opamp-client-node/lib/generated/anyvalue_pb.d.ts @@ -18,11 +18,11 @@ // - Change of go_package to reference a package in this repo. // - Removal of gogoproto usage. -// @generated by protoc-gen-es v2.2.5 with parameter "target=js+dts,js_import_style=legacy_commonjs" +// @generated by protoc-gen-es v2.7.0 with parameter "target=js+dts,js_import_style=legacy_commonjs" // @generated from file anyvalue.proto (package opamp.proto, syntax proto3) /* eslint-disable */ -import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1"; +import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2"; import type { Message } from "@bufbuild/protobuf"; /** diff --git a/packages/opamp-client-node/lib/generated/anyvalue_pb.js b/packages/opamp-client-node/lib/generated/anyvalue_pb.js index 75205442..26077f25 100644 --- a/packages/opamp-client-node/lib/generated/anyvalue_pb.js +++ b/packages/opamp-client-node/lib/generated/anyvalue_pb.js @@ -18,14 +18,14 @@ // - Change of go_package to reference a package in this repo. // - Removal of gogoproto usage. -// @generated by protoc-gen-es v2.2.5 with parameter "target=js+dts,js_import_style=legacy_commonjs" +// @generated by protoc-gen-es v2.7.0 with parameter "target=js+dts,js_import_style=legacy_commonjs" // @generated from file anyvalue.proto (package opamp.proto, syntax proto3) /* eslint-disable */ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); -const { fileDesc, messageDesc } = require("@bufbuild/protobuf/codegenv1"); +const { fileDesc, messageDesc } = require("@bufbuild/protobuf/codegenv2"); /** * Describes the file anyvalue.proto. diff --git a/packages/opamp-client-node/lib/generated/opamp_pb.d.ts b/packages/opamp-client-node/lib/generated/opamp_pb.d.ts index 526ffbfd..d13b6a0a 100644 --- a/packages/opamp-client-node/lib/generated/opamp_pb.d.ts +++ b/packages/opamp-client-node/lib/generated/opamp_pb.d.ts @@ -14,11 +14,11 @@ // OpAMP: Open Agent Management Protocol (https://github.com/open-telemetry/opamp-spec) -// @generated by protoc-gen-es v2.2.5 with parameter "target=js+dts,js_import_style=legacy_commonjs" +// @generated by protoc-gen-es v2.7.0 with parameter "target=js+dts,js_import_style=legacy_commonjs" // @generated from file opamp.proto (package opamp.proto, syntax proto3) /* eslint-disable */ -import type { GenEnum, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1"; +import type { GenEnum, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2"; import type { Message } from "@bufbuild/protobuf"; import type { KeyValue } from "./anyvalue_pb"; diff --git a/packages/opamp-client-node/lib/generated/opamp_pb.js b/packages/opamp-client-node/lib/generated/opamp_pb.js index f25dc9b1..281cf61d 100644 --- a/packages/opamp-client-node/lib/generated/opamp_pb.js +++ b/packages/opamp-client-node/lib/generated/opamp_pb.js @@ -14,14 +14,14 @@ // OpAMP: Open Agent Management Protocol (https://github.com/open-telemetry/opamp-spec) -// @generated by protoc-gen-es v2.2.5 with parameter "target=js+dts,js_import_style=legacy_commonjs" +// @generated by protoc-gen-es v2.7.0 with parameter "target=js+dts,js_import_style=legacy_commonjs" // @generated from file opamp.proto (package opamp.proto, syntax proto3) /* eslint-disable */ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); -const { enumDesc, fileDesc, messageDesc, tsEnum } = require("@bufbuild/protobuf/codegenv1"); +const { enumDesc, fileDesc, messageDesc, tsEnum } = require("@bufbuild/protobuf/codegenv2"); const { file_anyvalue } = require("./anyvalue_pb"); /** diff --git a/packages/opamp-client-node/package-lock.json b/packages/opamp-client-node/package-lock.json index 3fef98e9..abe25fd6 100644 --- a/packages/opamp-client-node/package-lock.json +++ b/packages/opamp-client-node/package-lock.json @@ -26,9 +26,9 @@ } }, "node_modules/@bufbuild/buf": { - "version": "1.56.0", - "resolved": "https://registry.npmjs.org/@bufbuild/buf/-/buf-1.56.0.tgz", - "integrity": "sha512-1xQWOf3FCDDTi+5B/VScQ73EP6ACwQPCP4ODvCq2L6IVgFtvYX49ur6cQ2qCM8yFitIHESm/Nbff93sh+V/Iog==", + "version": "1.57.0", + "resolved": "https://registry.npmjs.org/@bufbuild/buf/-/buf-1.57.0.tgz", + "integrity": "sha512-dQgrxSh+3gilB3fJam+Dn39ve/3YU8IPt03WvKqQdldwC5GhGHRHgl7tivVLOP+RyBHs1jnDK7lknXFGLGV65g==", "dev": true, "hasInstallScript": true, "license": "Apache-2.0", @@ -41,19 +41,19 @@ "node": ">=12" }, "optionalDependencies": { - "@bufbuild/buf-darwin-arm64": "1.56.0", - "@bufbuild/buf-darwin-x64": "1.56.0", - "@bufbuild/buf-linux-aarch64": "1.56.0", - "@bufbuild/buf-linux-armv7": "1.56.0", - "@bufbuild/buf-linux-x64": "1.56.0", - "@bufbuild/buf-win32-arm64": "1.56.0", - "@bufbuild/buf-win32-x64": "1.56.0" + "@bufbuild/buf-darwin-arm64": "1.57.0", + "@bufbuild/buf-darwin-x64": "1.57.0", + "@bufbuild/buf-linux-aarch64": "1.57.0", + "@bufbuild/buf-linux-armv7": "1.57.0", + "@bufbuild/buf-linux-x64": "1.57.0", + "@bufbuild/buf-win32-arm64": "1.57.0", + "@bufbuild/buf-win32-x64": "1.57.0" } }, "node_modules/@bufbuild/buf-darwin-arm64": { - "version": "1.56.0", - "resolved": "https://registry.npmjs.org/@bufbuild/buf-darwin-arm64/-/buf-darwin-arm64-1.56.0.tgz", - "integrity": "sha512-9neaI9gx1sxOGl9xrL7kw6H+0WmVAFlIQTIDc3vt1qRhfgOt/8AWOHSOWppGTRjNiB0qh6Xie1LYHv/jgDVN0g==", + "version": "1.57.0", + "resolved": "https://registry.npmjs.org/@bufbuild/buf-darwin-arm64/-/buf-darwin-arm64-1.57.0.tgz", + "integrity": "sha512-XKmb6cb1n23+5cgiwHqNRuGnrDv4yTBAsakjw3b/wP5WahIdloS/6ixoC1FdxuLt79fDqdhXbvCCeM0QOBAmRg==", "cpu": [ "arm64" ], @@ -68,9 +68,9 @@ } }, "node_modules/@bufbuild/buf-darwin-x64": { - "version": "1.56.0", - "resolved": "https://registry.npmjs.org/@bufbuild/buf-darwin-x64/-/buf-darwin-x64-1.56.0.tgz", - "integrity": "sha512-nRHPMXV8fr/lqU+u/1GGsUg7OvNcxJuCJoJpfRoRg38b+NPzOz2FkQAs5OEJzzprQB5aftn5//cl8YXjgvTuFA==", + "version": "1.57.0", + "resolved": "https://registry.npmjs.org/@bufbuild/buf-darwin-x64/-/buf-darwin-x64-1.57.0.tgz", + "integrity": "sha512-lCu5DJ63VfzTsoKz8iA8ZJMUTECaJABHEoQdlWnhh9MpoPr5Sd1l+uZvh0m1eBO9sVrKPAZFmYsjLGc/tpmbPA==", "cpu": [ "x64" ], @@ -85,9 +85,9 @@ } }, "node_modules/@bufbuild/buf-linux-aarch64": { - "version": "1.56.0", - "resolved": "https://registry.npmjs.org/@bufbuild/buf-linux-aarch64/-/buf-linux-aarch64-1.56.0.tgz", - "integrity": "sha512-+td559RuKNwYDnq49NrIDGJ4F73Ra4QzVVbsC+UeveA0HMnIGRzFbchGjHtNJyaZsI57sXJ7dCHH0iFV3jcYwQ==", + "version": "1.57.0", + "resolved": "https://registry.npmjs.org/@bufbuild/buf-linux-aarch64/-/buf-linux-aarch64-1.57.0.tgz", + "integrity": "sha512-LjFsPinUzvJ7BiHzlzQm1Dv5EQLUCFPtsxROVgluhX9iQOxxDtwbjsv0E/toKsJk35PQXwAsVKJlswR1CZ9bFQ==", "cpu": [ "arm64" ], @@ -102,9 +102,9 @@ } }, "node_modules/@bufbuild/buf-linux-armv7": { - "version": "1.56.0", - "resolved": "https://registry.npmjs.org/@bufbuild/buf-linux-armv7/-/buf-linux-armv7-1.56.0.tgz", - "integrity": "sha512-9v3zmos6wRTBc4QeIg4rfDmPzmTgtUTRCbhr87qws/yddIT8cFtHHhy1whnozBNqtmYOdwZNBNx/QXqGGcRuKw==", + "version": "1.57.0", + "resolved": "https://registry.npmjs.org/@bufbuild/buf-linux-armv7/-/buf-linux-armv7-1.57.0.tgz", + "integrity": "sha512-sHThZvZgXiyQtAZEviZG4EDuc4MhZhrBrRmGR3uLRWiZ1BTVr6LCtOto3AWoXvcyORTfmEpAMLSFb/XfoO7NIg==", "cpu": [ "arm" ], @@ -119,9 +119,9 @@ } }, "node_modules/@bufbuild/buf-linux-x64": { - "version": "1.56.0", - "resolved": "https://registry.npmjs.org/@bufbuild/buf-linux-x64/-/buf-linux-x64-1.56.0.tgz", - "integrity": "sha512-3jZHHBol1fuichNke7LJtHJUdw314XBj6OuJHY6IufsaaVIj1mtM2DPbGiDhYB453J7FiV/buadctKBxAAHclg==", + "version": "1.57.0", + "resolved": "https://registry.npmjs.org/@bufbuild/buf-linux-x64/-/buf-linux-x64-1.57.0.tgz", + "integrity": "sha512-QdrvXX2JNMf0385egPSsOJZkOsOBca7LDFll1doC7Fo2W8cP//KXvVqPIMNA1Blq/sHyx7J8sbbf0w/iQo7kVw==", "cpu": [ "x64" ], @@ -136,9 +136,9 @@ } }, "node_modules/@bufbuild/buf-win32-arm64": { - "version": "1.56.0", - "resolved": "https://registry.npmjs.org/@bufbuild/buf-win32-arm64/-/buf-win32-arm64-1.56.0.tgz", - "integrity": "sha512-KMGzSf9rIbT01Jb2685JovwRRYEdL7Zbs6ZrjyhIHBgKK6cBwz1AJvEaDrWMEzCdv+opQwjgM6UdtA4e9BWP1A==", + "version": "1.57.0", + "resolved": "https://registry.npmjs.org/@bufbuild/buf-win32-arm64/-/buf-win32-arm64-1.57.0.tgz", + "integrity": "sha512-TRPzAiSwlQHwJmb3BD1Yzn7dREjbkebnMJ9R/AAn8uB4dE4eJqo8vG4L5t5laARkaCvt7EwlUghwXLdJvXHoQQ==", "cpu": [ "arm64" ], @@ -153,9 +153,9 @@ } }, "node_modules/@bufbuild/buf-win32-x64": { - "version": "1.56.0", - "resolved": "https://registry.npmjs.org/@bufbuild/buf-win32-x64/-/buf-win32-x64-1.56.0.tgz", - "integrity": "sha512-19LFOCyFFVTaaqNGtYTpiF67fcpneWZFlm8UNU+Xs87Kh+N5i/LjDjNytnpFT6snwU4/S+UUkq7WgS6UPjqXIg==", + "version": "1.57.0", + "resolved": "https://registry.npmjs.org/@bufbuild/buf-win32-x64/-/buf-win32-x64-1.57.0.tgz", + "integrity": "sha512-2yGkSo4ei/IIeh1wkzJo0JIoZhn0KdrhlTUlcJbqgvaJ5UXZsGQFE3pZ2zh2gmcx2qSRUthzrBs2c5PL8lvl7g==", "cpu": [ "x64" ], @@ -170,29 +170,29 @@ } }, "node_modules/@bufbuild/protobuf": { - "version": "2.6.3", - "resolved": "https://registry.npmjs.org/@bufbuild/protobuf/-/protobuf-2.6.3.tgz", - "integrity": "sha512-w/gJKME9mYN7ZoUAmSMAWXk4hkVpxRKvEJCb3dV5g9wwWdxTJJ0ayOJAVcNxtdqaxDyFuC0uz4RSGVacJ030PQ==", + "version": "2.7.0", + "resolved": "https://registry.npmjs.org/@bufbuild/protobuf/-/protobuf-2.7.0.tgz", + "integrity": "sha512-qn6tAIZEw5i/wiESBF4nQxZkl86aY4KoO0IkUa2Lh+rya64oTOdJQFlZuMwI1Qz9VBJQrQC4QlSA2DNek5gCOA==", "license": "(Apache-2.0 AND BSD-3-Clause)" }, "node_modules/@bufbuild/protoc-gen-es": { - "version": "2.6.3", - "resolved": "https://registry.npmjs.org/@bufbuild/protoc-gen-es/-/protoc-gen-es-2.6.3.tgz", - "integrity": "sha512-20o4U/Th0yLK/ayQGJ8hwh+fmcI/2PWZFkTS4gv08AtOx31YA05/X/wbn+pLZLJCDP2ik4KTIWuV1j4gERs15A==", + "version": "2.7.0", + "resolved": "https://registry.npmjs.org/@bufbuild/protoc-gen-es/-/protoc-gen-es-2.7.0.tgz", + "integrity": "sha512-xVz0PCo4Q/MzVvYtCmr4MgAb1/q7EXSHNh/eSwJRs3KfTG5GbT0YUY+J53+aVjQB6ELIIXvAkvOPX2WHa0Bbgw==", "dev": true, "license": "Apache-2.0", "dependencies": { - "@bufbuild/protobuf": "2.6.3", - "@bufbuild/protoplugin": "2.6.3" + "@bufbuild/protobuf": "2.7.0", + "@bufbuild/protoplugin": "2.7.0" }, "bin": { "protoc-gen-es": "bin/protoc-gen-es" }, "engines": { - "node": ">=14" + "node": ">=20" }, "peerDependencies": { - "@bufbuild/protobuf": "2.6.3" + "@bufbuild/protobuf": "2.7.0" }, "peerDependenciesMeta": { "@bufbuild/protobuf": { @@ -201,13 +201,13 @@ } }, "node_modules/@bufbuild/protoplugin": { - "version": "2.6.3", - "resolved": "https://registry.npmjs.org/@bufbuild/protoplugin/-/protoplugin-2.6.3.tgz", - "integrity": "sha512-VceMuxeRukxGeABfo34SXq0VqY1MU+mzS+PBf0HAWo97ylFut8F6sQ3mV0tKiM08UQ/xQco7lxCn83BkoxrWrA==", + "version": "2.7.0", + "resolved": "https://registry.npmjs.org/@bufbuild/protoplugin/-/protoplugin-2.7.0.tgz", + "integrity": "sha512-yUdg8hXzFGR6K8ren7aXly2hT9BxClId814VB142YeZPatY0wqD3c0D8KfIz5nIeMdoPt0/Pm/RycFJCNGMD6w==", "dev": true, "license": "Apache-2.0", "dependencies": { - "@bufbuild/protobuf": "2.6.3", + "@bufbuild/protobuf": "2.7.0", "@typescript/vfs": "^1.5.2", "typescript": "5.4.5" } diff --git a/packages/opamp-client-node/types/generated/anyvalue_pb.d.ts b/packages/opamp-client-node/types/generated/anyvalue_pb.d.ts index 1aeb915a..513ca5f4 100644 --- a/packages/opamp-client-node/types/generated/anyvalue_pb.d.ts +++ b/packages/opamp-client-node/types/generated/anyvalue_pb.d.ts @@ -7,19 +7,31 @@ export const file_anyvalue: import("@bufbuild/protobuf").DescFile; * Describes the message opamp.proto.AnyValue. * Use `create(AnyValueSchema)` to create a new message. */ -export const AnyValueSchema: import("@bufbuild/protobuf/codegenv1").GenMessage; +export const AnyValueSchema: import("@bufbuild/protobuf/codegenv2").GenMessage; /** * Describes the message opamp.proto.ArrayValue. * Use `create(ArrayValueSchema)` to create a new message. */ -export const ArrayValueSchema: import("@bufbuild/protobuf/codegenv1").GenMessage; +export const ArrayValueSchema: import("@bufbuild/protobuf/codegenv2").GenMessage; /** * Describes the message opamp.proto.KeyValueList. * Use `create(KeyValueListSchema)` to create a new message. */ -export const KeyValueListSchema: import("@bufbuild/protobuf/codegenv1").GenMessage; +export const KeyValueListSchema: import("@bufbuild/protobuf/codegenv2").GenMessage; /** * Describes the message opamp.proto.KeyValue. * Use `create(KeyValueSchema)` to create a new message. */ -export const KeyValueSchema: import("@bufbuild/protobuf/codegenv1").GenMessage; +export const KeyValueSchema: import("@bufbuild/protobuf/codegenv2").GenMessage; diff --git a/packages/opamp-client-node/types/generated/opamp_pb.d.ts b/packages/opamp-client-node/types/generated/opamp_pb.d.ts index 593ff1cb..1de62fe5 100644 --- a/packages/opamp-client-node/types/generated/opamp_pb.d.ts +++ b/packages/opamp-client-node/types/generated/opamp_pb.d.ts @@ -7,176 +7,278 @@ export const file_opamp: import("@bufbuild/protobuf").DescFile; * Describes the message opamp.proto.AgentToServer. * Use `create(AgentToServerSchema)` to create a new message. */ -export const AgentToServerSchema: import("@bufbuild/protobuf/codegenv1").GenMessage; +export const AgentToServerSchema: import("@bufbuild/protobuf/codegenv2").GenMessage; /** * Describes the message opamp.proto.AgentDisconnect. * Use `create(AgentDisconnectSchema)` to create a new message. */ -export const AgentDisconnectSchema: import("@bufbuild/protobuf/codegenv1").GenMessage; +export const AgentDisconnectSchema: import("@bufbuild/protobuf/codegenv2").GenMessage; /** * Describes the message opamp.proto.ConnectionSettingsRequest. * Use `create(ConnectionSettingsRequestSchema)` to create a new message. */ -export const ConnectionSettingsRequestSchema: import("@bufbuild/protobuf/codegenv1").GenMessage; +export const ConnectionSettingsRequestSchema: import("@bufbuild/protobuf/codegenv2").GenMessage; /** * Describes the message opamp.proto.OpAMPConnectionSettingsRequest. * Use `create(OpAMPConnectionSettingsRequestSchema)` to create a new message. */ -export const OpAMPConnectionSettingsRequestSchema: import("@bufbuild/protobuf/codegenv1").GenMessage; +export const OpAMPConnectionSettingsRequestSchema: import("@bufbuild/protobuf/codegenv2").GenMessage; /** * Describes the message opamp.proto.CertificateRequest. * Use `create(CertificateRequestSchema)` to create a new message. */ -export const CertificateRequestSchema: import("@bufbuild/protobuf/codegenv1").GenMessage; +export const CertificateRequestSchema: import("@bufbuild/protobuf/codegenv2").GenMessage; /** * Describes the message opamp.proto.AvailableComponents. * Use `create(AvailableComponentsSchema)` to create a new message. */ -export const AvailableComponentsSchema: import("@bufbuild/protobuf/codegenv1").GenMessage; +export const AvailableComponentsSchema: import("@bufbuild/protobuf/codegenv2").GenMessage; /** * Describes the message opamp.proto.ComponentDetails. * Use `create(ComponentDetailsSchema)` to create a new message. */ -export const ComponentDetailsSchema: import("@bufbuild/protobuf/codegenv1").GenMessage; +export const ComponentDetailsSchema: import("@bufbuild/protobuf/codegenv2").GenMessage; /** * Describes the message opamp.proto.ServerToAgent. * Use `create(ServerToAgentSchema)` to create a new message. */ -export const ServerToAgentSchema: import("@bufbuild/protobuf/codegenv1").GenMessage; +export const ServerToAgentSchema: import("@bufbuild/protobuf/codegenv2").GenMessage; /** * Describes the message opamp.proto.OpAMPConnectionSettings. * Use `create(OpAMPConnectionSettingsSchema)` to create a new message. */ -export const OpAMPConnectionSettingsSchema: import("@bufbuild/protobuf/codegenv1").GenMessage; +export const OpAMPConnectionSettingsSchema: import("@bufbuild/protobuf/codegenv2").GenMessage; /** * Describes the message opamp.proto.TelemetryConnectionSettings. * Use `create(TelemetryConnectionSettingsSchema)` to create a new message. */ -export const TelemetryConnectionSettingsSchema: import("@bufbuild/protobuf/codegenv1").GenMessage; +export const TelemetryConnectionSettingsSchema: import("@bufbuild/protobuf/codegenv2").GenMessage; /** * Describes the message opamp.proto.OtherConnectionSettings. * Use `create(OtherConnectionSettingsSchema)` to create a new message. */ -export const OtherConnectionSettingsSchema: import("@bufbuild/protobuf/codegenv1").GenMessage; +export const OtherConnectionSettingsSchema: import("@bufbuild/protobuf/codegenv2").GenMessage; /** * Describes the message opamp.proto.Headers. * Use `create(HeadersSchema)` to create a new message. */ -export const HeadersSchema: import("@bufbuild/protobuf/codegenv1").GenMessage; +export const HeadersSchema: import("@bufbuild/protobuf/codegenv2").GenMessage; /** * Describes the message opamp.proto.Header. * Use `create(HeaderSchema)` to create a new message. */ -export const HeaderSchema: import("@bufbuild/protobuf/codegenv1").GenMessage; +export const HeaderSchema: import("@bufbuild/protobuf/codegenv2").GenMessage; /** * Describes the message opamp.proto.TLSCertificate. * Use `create(TLSCertificateSchema)` to create a new message. */ -export const TLSCertificateSchema: import("@bufbuild/protobuf/codegenv1").GenMessage; +export const TLSCertificateSchema: import("@bufbuild/protobuf/codegenv2").GenMessage; /** * Describes the message opamp.proto.ConnectionSettingsOffers. * Use `create(ConnectionSettingsOffersSchema)` to create a new message. */ -export const ConnectionSettingsOffersSchema: import("@bufbuild/protobuf/codegenv1").GenMessage; +export const ConnectionSettingsOffersSchema: import("@bufbuild/protobuf/codegenv2").GenMessage; /** * Describes the message opamp.proto.PackagesAvailable. * Use `create(PackagesAvailableSchema)` to create a new message. */ -export const PackagesAvailableSchema: import("@bufbuild/protobuf/codegenv1").GenMessage; +export const PackagesAvailableSchema: import("@bufbuild/protobuf/codegenv2").GenMessage; /** * Describes the message opamp.proto.PackageAvailable. * Use `create(PackageAvailableSchema)` to create a new message. */ -export const PackageAvailableSchema: import("@bufbuild/protobuf/codegenv1").GenMessage; +export const PackageAvailableSchema: import("@bufbuild/protobuf/codegenv2").GenMessage; /** * Describes the message opamp.proto.DownloadableFile. * Use `create(DownloadableFileSchema)` to create a new message. */ -export const DownloadableFileSchema: import("@bufbuild/protobuf/codegenv1").GenMessage; +export const DownloadableFileSchema: import("@bufbuild/protobuf/codegenv2").GenMessage; /** * Describes the message opamp.proto.ServerErrorResponse. * Use `create(ServerErrorResponseSchema)` to create a new message. */ -export const ServerErrorResponseSchema: import("@bufbuild/protobuf/codegenv1").GenMessage; +export const ServerErrorResponseSchema: import("@bufbuild/protobuf/codegenv2").GenMessage; /** * Describes the message opamp.proto.RetryInfo. * Use `create(RetryInfoSchema)` to create a new message. */ -export const RetryInfoSchema: import("@bufbuild/protobuf/codegenv1").GenMessage; +export const RetryInfoSchema: import("@bufbuild/protobuf/codegenv2").GenMessage; /** * Describes the message opamp.proto.ServerToAgentCommand. * Use `create(ServerToAgentCommandSchema)` to create a new message. */ -export const ServerToAgentCommandSchema: import("@bufbuild/protobuf/codegenv1").GenMessage; +export const ServerToAgentCommandSchema: import("@bufbuild/protobuf/codegenv2").GenMessage; /** * Describes the message opamp.proto.AgentDescription. * Use `create(AgentDescriptionSchema)` to create a new message. */ -export const AgentDescriptionSchema: import("@bufbuild/protobuf/codegenv1").GenMessage; +export const AgentDescriptionSchema: import("@bufbuild/protobuf/codegenv2").GenMessage; /** * Describes the message opamp.proto.ComponentHealth. * Use `create(ComponentHealthSchema)` to create a new message. */ -export const ComponentHealthSchema: import("@bufbuild/protobuf/codegenv1").GenMessage; +export const ComponentHealthSchema: import("@bufbuild/protobuf/codegenv2").GenMessage; /** * Describes the message opamp.proto.EffectiveConfig. * Use `create(EffectiveConfigSchema)` to create a new message. */ -export const EffectiveConfigSchema: import("@bufbuild/protobuf/codegenv1").GenMessage; +export const EffectiveConfigSchema: import("@bufbuild/protobuf/codegenv2").GenMessage; /** * Describes the message opamp.proto.RemoteConfigStatus. * Use `create(RemoteConfigStatusSchema)` to create a new message. */ -export const RemoteConfigStatusSchema: import("@bufbuild/protobuf/codegenv1").GenMessage; +export const RemoteConfigStatusSchema: import("@bufbuild/protobuf/codegenv2").GenMessage; /** * Describes the message opamp.proto.PackageStatuses. * Use `create(PackageStatusesSchema)` to create a new message. */ -export const PackageStatusesSchema: import("@bufbuild/protobuf/codegenv1").GenMessage; +export const PackageStatusesSchema: import("@bufbuild/protobuf/codegenv2").GenMessage; /** * Describes the message opamp.proto.PackageStatus. * Use `create(PackageStatusSchema)` to create a new message. */ -export const PackageStatusSchema: import("@bufbuild/protobuf/codegenv1").GenMessage; +export const PackageStatusSchema: import("@bufbuild/protobuf/codegenv2").GenMessage; /** * Describes the message opamp.proto.PackageDownloadDetails. * Use `create(PackageDownloadDetailsSchema)` to create a new message. */ -export const PackageDownloadDetailsSchema: import("@bufbuild/protobuf/codegenv1").GenMessage; +export const PackageDownloadDetailsSchema: import("@bufbuild/protobuf/codegenv2").GenMessage; /** * Describes the message opamp.proto.AgentIdentification. * Use `create(AgentIdentificationSchema)` to create a new message. */ -export const AgentIdentificationSchema: import("@bufbuild/protobuf/codegenv1").GenMessage; +export const AgentIdentificationSchema: import("@bufbuild/protobuf/codegenv2").GenMessage; /** * Describes the message opamp.proto.AgentRemoteConfig. * Use `create(AgentRemoteConfigSchema)` to create a new message. */ -export const AgentRemoteConfigSchema: import("@bufbuild/protobuf/codegenv1").GenMessage; +export const AgentRemoteConfigSchema: import("@bufbuild/protobuf/codegenv2").GenMessage; /** * Describes the message opamp.proto.AgentConfigMap. * Use `create(AgentConfigMapSchema)` to create a new message. */ -export const AgentConfigMapSchema: import("@bufbuild/protobuf/codegenv1").GenMessage; +export const AgentConfigMapSchema: import("@bufbuild/protobuf/codegenv2").GenMessage; /** * Describes the message opamp.proto.AgentConfigFile. * Use `create(AgentConfigFileSchema)` to create a new message. */ -export const AgentConfigFileSchema: import("@bufbuild/protobuf/codegenv1").GenMessage; +export const AgentConfigFileSchema: import("@bufbuild/protobuf/codegenv2").GenMessage; /** * Describes the message opamp.proto.CustomCapabilities. * Use `create(CustomCapabilitiesSchema)` to create a new message. */ -export const CustomCapabilitiesSchema: import("@bufbuild/protobuf/codegenv1").GenMessage; +export const CustomCapabilitiesSchema: import("@bufbuild/protobuf/codegenv2").GenMessage; /** * Describes the message opamp.proto.CustomMessage. * Use `create(CustomMessageSchema)` to create a new message. */ -export const CustomMessageSchema: import("@bufbuild/protobuf/codegenv1").GenMessage; +export const CustomMessageSchema: import("@bufbuild/protobuf/codegenv2").GenMessage; /** * Describes the enum opamp.proto.AgentToServerFlags. */ -export const AgentToServerFlagsSchema: import("@bufbuild/protobuf/codegenv1").GenEnum; +export const AgentToServerFlagsSchema: import("@bufbuild/protobuf/codegenv2").GenEnum; /** * @generated from enum opamp.proto.AgentToServerFlags */ @@ -187,7 +289,7 @@ export const AgentToServerFlags: { /** * Describes the enum opamp.proto.ServerToAgentFlags. */ -export const ServerToAgentFlagsSchema: import("@bufbuild/protobuf/codegenv1").GenEnum; +export const ServerToAgentFlagsSchema: import("@bufbuild/protobuf/codegenv2").GenEnum; /** * @generated from enum opamp.proto.ServerToAgentFlags */ @@ -198,7 +300,7 @@ export const ServerToAgentFlags: { /** * Describes the enum opamp.proto.ServerCapabilities. */ -export const ServerCapabilitiesSchema: import("@bufbuild/protobuf/codegenv1").GenEnum; +export const ServerCapabilitiesSchema: import("@bufbuild/protobuf/codegenv2").GenEnum; /** * @generated from enum opamp.proto.ServerCapabilities */ @@ -209,7 +311,7 @@ export const ServerCapabilities: { /** * Describes the enum opamp.proto.PackageType. */ -export const PackageTypeSchema: import("@bufbuild/protobuf/codegenv1").GenEnum; +export const PackageTypeSchema: import("@bufbuild/protobuf/codegenv2").GenEnum; /** * The type of the package, either an addon or a top-level package. * Status: [Beta] @@ -223,7 +325,7 @@ export const PackageType: { /** * Describes the enum opamp.proto.ServerErrorResponseType. */ -export const ServerErrorResponseTypeSchema: import("@bufbuild/protobuf/codegenv1").GenEnum; +export const ServerErrorResponseTypeSchema: import("@bufbuild/protobuf/codegenv2").GenEnum; /** * @generated from enum opamp.proto.ServerErrorResponseType */ @@ -234,7 +336,7 @@ export const ServerErrorResponseType: { /** * Describes the enum opamp.proto.CommandType. */ -export const CommandTypeSchema: import("@bufbuild/protobuf/codegenv1").GenEnum; +export const CommandTypeSchema: import("@bufbuild/protobuf/codegenv2").GenEnum; /** * Status: [Beta] * @@ -247,7 +349,7 @@ export const CommandType: { /** * Describes the enum opamp.proto.AgentCapabilities. */ -export const AgentCapabilitiesSchema: import("@bufbuild/protobuf/codegenv1").GenEnum; +export const AgentCapabilitiesSchema: import("@bufbuild/protobuf/codegenv2").GenEnum; /** * @generated from enum opamp.proto.AgentCapabilities */ @@ -258,7 +360,7 @@ export const AgentCapabilities: { /** * Describes the enum opamp.proto.RemoteConfigStatuses. */ -export const RemoteConfigStatusesSchema: import("@bufbuild/protobuf/codegenv1").GenEnum; +export const RemoteConfigStatusesSchema: import("@bufbuild/protobuf/codegenv2").GenEnum; /** * @generated from enum opamp.proto.RemoteConfigStatuses */ @@ -269,7 +371,7 @@ export const RemoteConfigStatuses: { /** * Describes the enum opamp.proto.PackageStatusEnum. */ -export const PackageStatusEnumSchema: import("@bufbuild/protobuf/codegenv1").GenEnum; +export const PackageStatusEnumSchema: import("@bufbuild/protobuf/codegenv2").GenEnum; /** * The status of this package. * Status: [Beta] diff --git a/packages/opamp-client-node/types/opamp-client.d.ts b/packages/opamp-client-node/types/opamp-client.d.ts index edef7b95..be90d326 100644 --- a/packages/opamp-client-node/types/opamp-client.d.ts +++ b/packages/opamp-client-node/types/opamp-client.d.ts @@ -202,7 +202,7 @@ declare class OpAMPClient { identifyingAttributes?: object; nonIdentifyingAttributes?: object; }): void; - _agentDescriptionSer: Uint8Array; + _agentDescriptionSer: any; /** * Dev Note: This client manages the `instanceUid`, so I'm not sure if this * API method is useful. The instanceUid *can* be changed by the OpAMP