From 6b0d009609be88b94f78d98fb1d888b168fac924 Mon Sep 17 00:00:00 2001 From: Sebastijan K <58827427+sebastijankuzner@users.noreply.github.com> Date: Mon, 10 Jul 2023 16:31:03 +0200 Subject: [PATCH] merge: cherry pick from develop (#4784) * fix(core-database): remove delegate registration expression (#4781) * Remove delegate registration expression * Fix tests * Fix integration tests * deps(p2p): update protobufjs (#4782) * Update protobufjs * Add protobufjs-cli * Generate protos --- .../core-api/handlers/transactions.test.ts | 4 +- .../core-database/transaction-filter.test.ts | 46 +- .../core-database/src/transaction-filter.ts | 23 - packages/core-p2p/package.json | 5 +- .../socket-server/codecs/proto/protos.d.ts | 155 +++ .../src/socket-server/codecs/proto/protos.js | 902 +++++++++++++----- yarn.lock | 226 ++++- 7 files changed, 1023 insertions(+), 338 deletions(-) diff --git a/__tests__/integration/core-api/handlers/transactions.test.ts b/__tests__/integration/core-api/handlers/transactions.test.ts index 4f6ebc01d8..180c1329d0 100644 --- a/__tests__/integration/core-api/handlers/transactions.test.ts +++ b/__tests__/integration/core-api/handlers/transactions.test.ts @@ -208,7 +208,7 @@ describe("API 2.0 - Transactions", () => { const response = await api.request("GET", "transactions", { recipientId: recipientAddress }); expect(response).toBeSuccessfulResponse(); expect(response.data.data).toBeArray(); - expect(response.data.data).toHaveLength(3); + expect(response.data.data).toHaveLength(2); for (const transaction of response.data.data) { api.expectTransaction(transaction); @@ -224,7 +224,7 @@ describe("API 2.0 - Transactions", () => { expect(response).toBeSuccessfulResponse(); expect(response.data.data).toBeArray(); - expect(response.data.data).toHaveLength(6); + expect(response.data.data).toHaveLength(4); for (const transaction of response.data.data) { api.expectTransaction(transaction); diff --git a/__tests__/unit/core-database/transaction-filter.test.ts b/__tests__/unit/core-database/transaction-filter.test.ts index 6a197309c8..55be3523f3 100644 --- a/__tests__/unit/core-database/transaction-filter.test.ts +++ b/__tests__/unit/core-database/transaction-filter.test.ts @@ -26,7 +26,7 @@ describe("TransactionFilter.getExpression", () => { }); describe("TransactionCriteria.address", () => { - it("should compare senderPublicKey, recipientId, multipayment recipientId, delegate registration sender", async () => { + it("should compare senderPublicKey, recipientId, multipayment recipientId", async () => { walletRepository.hasByAddress.mockReturnValue(true); walletRepository.findByAddress .mockReturnValueOnce({ @@ -58,14 +58,6 @@ describe("TransactionFilter.getExpression", () => { { property: "asset", op: "contains", value: { payments: [{ recipientId: "123" }] } }, ], }, - { - op: "and", - expressions: [ - { property: "typeGroup", op: "equal", value: Enums.TransactionTypeGroup.Core }, - { property: "type", op: "equal", value: Enums.TransactionType.DelegateRegistration }, - { property: "senderPublicKey", op: "equal", value: "456" }, - ], - }, ], }); }); @@ -125,7 +117,7 @@ describe("TransactionFilter.getExpression", () => { }); describe("TransactionCriteria.recipientId", () => { - it("should compare using equal expression and include multipayment and include delegate registration transaction", async () => { + it("should compare using equal expression and include multipayment", async () => { walletRepository.hasByAddress.mockReturnValue(true); walletRepository.findByAddress.mockReturnValueOnce({ getPublicKey: () => { @@ -136,40 +128,6 @@ describe("TransactionFilter.getExpression", () => { const transactionFilter = container.resolve(TransactionFilter); const expression = await transactionFilter.getExpression({ recipientId: "123" }); - expect(walletRepository.hasByAddress).toBeCalledWith("123"); - expect(walletRepository.findByAddress).toBeCalledWith("123"); - expect(expression).toEqual({ - op: "or", - expressions: [ - { property: "recipientId", op: "equal", value: "123" }, - { - op: "and", - expressions: [ - { property: "typeGroup", op: "equal", value: Enums.TransactionTypeGroup.Core }, - { property: "type", op: "equal", value: Enums.TransactionType.MultiPayment }, - { property: "asset", op: "contains", value: { payments: [{ recipientId: "123" }] } }, - ], - }, - { - op: "and", - expressions: [ - { property: "typeGroup", op: "equal", value: Enums.TransactionTypeGroup.Core }, - { property: "type", op: "equal", value: Enums.TransactionType.DelegateRegistration }, - { property: "senderPublicKey", op: "equal", value: "456" }, - ], - }, - ], - }); - }); - - it("should compare using equal expression and include multipayment when wallet not found", async () => { - walletRepository.hasByAddress.mockReturnValue(false); - - const transactionFilter = container.resolve(TransactionFilter); - const expression = await transactionFilter.getExpression({ recipientId: "123" }); - - expect(walletRepository.hasByAddress).toBeCalledWith("123"); - expect(walletRepository.findByAddress).not.toBeCalled(); expect(expression).toEqual({ op: "or", expressions: [ diff --git a/packages/core-database/src/transaction-filter.ts b/packages/core-database/src/transaction-filter.ts index 922ab9bbf1..d17ce01044 100644 --- a/packages/core-database/src/transaction-filter.ts +++ b/packages/core-database/src/transaction-filter.ts @@ -142,29 +142,6 @@ export class TransactionFilter implements Contracts.Database.TransactionFilter { ], }; - if (this.walletRepository.hasByAddress(criteria)) { - const recipientWallet = this.walletRepository.findByAddress(criteria); - if (recipientWallet && recipientWallet.getPublicKey()) { - const delegateRegistrationExpression: Contracts.Search.AndExpression = { - op: "and", - expressions: [ - { op: "equal", property: "typeGroup", value: Enums.TransactionTypeGroup.Core }, - { op: "equal", property: "type", value: Enums.TransactionType.DelegateRegistration }, - { op: "equal", property: "senderPublicKey", value: recipientWallet.getPublicKey() }, - ], - }; - - return { - op: "or", - expressions: [ - recipientIdExpression, - multipaymentRecipientIdExpression, - delegateRegistrationExpression, - ], - }; - } - } - return { op: "or", expressions: [recipientIdExpression, multipaymentRecipientIdExpression], diff --git a/packages/core-p2p/package.json b/packages/core-p2p/package.json index 38b81345c7..4c2c92aa6c 100644 --- a/packages/core-p2p/package.json +++ b/packages/core-p2p/package.json @@ -44,7 +44,7 @@ "joi": "17.4.2", "pluralize": "8.0.0", "pretty-ms": "7.0.1", - "protobufjs": "6.11.3", + "protobufjs": "7.2.4", "rate-limiter-flexible": "1.3.2", "semver": "6.3.0", "ws": "7.5.5" @@ -54,7 +54,8 @@ "@types/fs-extra": "8.1.2", "@types/hapi__sntp": "3.1.2", "@types/ip": "1.1.0", - "@types/semver": "6.2.3" + "@types/semver": "6.2.3", + "protobufjs-cli": "1.1.1" }, "engines": { "node": ">=10.x" diff --git a/packages/core-p2p/src/socket-server/codecs/proto/protos.d.ts b/packages/core-p2p/src/socket-server/codecs/proto/protos.d.ts index 28dceae7b8..69bdfa2978 100644 --- a/packages/core-p2p/src/socket-server/codecs/proto/protos.d.ts +++ b/packages/core-p2p/src/socket-server/codecs/proto/protos.d.ts @@ -1,4 +1,5 @@ import * as $protobuf from "protobufjs"; +import Long = require("long"); /** Namespace blocks. */ export namespace blocks { @@ -96,6 +97,13 @@ export namespace blocks { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for PostBlockRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a PostBlockResponse. */ @@ -192,6 +200,13 @@ export namespace blocks { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for PostBlockResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a GetBlocksRequest. */ @@ -306,6 +321,13 @@ export namespace blocks { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for GetBlocksRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a GetBlocksResponse. */ @@ -396,6 +418,13 @@ export namespace blocks { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for GetBlocksResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } namespace GetBlocksResponse { @@ -578,6 +607,13 @@ export namespace blocks { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for BlockHeader + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } } } @@ -673,6 +709,13 @@ export namespace peer { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for GetPeersRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a GetPeersResponse. */ @@ -763,6 +806,13 @@ export namespace peer { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for GetPeersResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } namespace GetPeersResponse { @@ -861,6 +911,13 @@ export namespace peer { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for Peer + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } } @@ -958,6 +1015,13 @@ export namespace peer { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for GetCommonBlocksRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a GetCommonBlocksResponse. */ @@ -1048,6 +1112,13 @@ export namespace peer { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for GetCommonBlocksResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } namespace GetCommonBlocksResponse { @@ -1146,6 +1217,13 @@ export namespace peer { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for Common + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } } @@ -1237,6 +1315,13 @@ export namespace peer { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for GetStatusRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a GetStatusResponse. */ @@ -1333,6 +1418,13 @@ export namespace peer { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for GetStatusResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } namespace GetStatusResponse { @@ -1443,6 +1535,13 @@ export namespace peer { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for State + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } namespace State { @@ -1619,6 +1718,13 @@ export namespace peer { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for BlockHeader + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } } @@ -1722,6 +1828,13 @@ export namespace peer { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for Config + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } namespace Config { @@ -1838,6 +1951,13 @@ export namespace peer { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for Network + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } namespace Network { @@ -1936,6 +2056,13 @@ export namespace peer { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for Token + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } } @@ -2039,6 +2166,13 @@ export namespace peer { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for Plugin + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } } } @@ -2135,6 +2269,13 @@ export namespace shared { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for Headers + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } } @@ -2235,6 +2376,13 @@ export namespace transactions { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for PostTransactionsRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a PostTransactionsResponse. */ @@ -2325,5 +2473,12 @@ export namespace transactions { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for PostTransactionsResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } } diff --git a/packages/core-p2p/src/socket-server/codecs/proto/protos.js b/packages/core-p2p/src/socket-server/codecs/proto/protos.js index fa117ec886..b2fa43ef55 100644 --- a/packages/core-p2p/src/socket-server/codecs/proto/protos.js +++ b/packages/core-p2p/src/socket-server/codecs/proto/protos.js @@ -121,12 +121,14 @@ $root.blocks = (function() { while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.block = reader.bytes(); - break; - case 2: - message.headers = $root.shared.Headers.decode(reader, reader.uint32()); - break; + case 1: { + message.block = reader.bytes(); + break; + } + case 2: { + message.headers = $root.shared.Headers.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -188,7 +190,7 @@ $root.blocks = (function() { if (object.block != null) if (typeof object.block === "string") $util.base64.decode(object.block, message.block = $util.newBuffer($util.base64.length(object.block)), 0); - else if (object.block.length) + else if (object.block.length >= 0) message.block = object.block; if (object.headers != null) { if (typeof object.headers !== "object") @@ -239,6 +241,21 @@ $root.blocks = (function() { return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for PostBlockRequest + * @function getTypeUrl + * @memberof blocks.PostBlockRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + PostBlockRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/blocks.PostBlockRequest"; + }; + return PostBlockRequest; })(); @@ -345,12 +362,14 @@ $root.blocks = (function() { while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.status = reader.bool(); - break; - case 2: - message.height = reader.uint32(); - break; + case 1: { + message.status = reader.bool(); + break; + } + case 2: { + message.height = reader.uint32(); + break; + } default: reader.skipType(tag & 7); break; @@ -449,6 +468,21 @@ $root.blocks = (function() { return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for PostBlockResponse + * @function getTypeUrl + * @memberof blocks.PostBlockResponse + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + PostBlockResponse.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/blocks.PostBlockResponse"; + }; + return PostBlockResponse; })(); @@ -588,21 +622,26 @@ $root.blocks = (function() { while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.lastBlockHeight = reader.uint32(); - break; - case 2: - message.blockLimit = reader.uint32(); - break; - case 3: - message.headersOnly = reader.bool(); - break; - case 4: - message.serialized = reader.bool(); - break; - case 5: - message.headers = $root.shared.Headers.decode(reader, reader.uint32()); - break; + case 1: { + message.lastBlockHeight = reader.uint32(); + break; + } + case 2: { + message.blockLimit = reader.uint32(); + break; + } + case 3: { + message.headersOnly = reader.bool(); + break; + } + case 4: { + message.serialized = reader.bool(); + break; + } + case 5: { + message.headers = $root.shared.Headers.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -730,6 +769,21 @@ $root.blocks = (function() { return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for GetBlocksRequest + * @function getTypeUrl + * @memberof blocks.GetBlocksRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + GetBlocksRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/blocks.GetBlocksRequest"; + }; + return GetBlocksRequest; })(); @@ -825,9 +879,10 @@ $root.blocks = (function() { while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.blocks = reader.bytes(); - break; + case 1: { + message.blocks = reader.bytes(); + break; + } default: reader.skipType(tag & 7); break; @@ -884,7 +939,7 @@ $root.blocks = (function() { if (object.blocks != null) if (typeof object.blocks === "string") $util.base64.decode(object.blocks, message.blocks = $util.newBuffer($util.base64.length(object.blocks)), 0); - else if (object.blocks.length) + else if (object.blocks.length >= 0) message.blocks = object.blocks; return message; }; @@ -926,6 +981,21 @@ $root.blocks = (function() { return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for GetBlocksResponse + * @function getTypeUrl + * @memberof blocks.GetBlocksResponse + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + GetBlocksResponse.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/blocks.GetBlocksResponse"; + }; + GetBlocksResponse.BlockHeader = (function() { /** @@ -1183,54 +1253,70 @@ $root.blocks = (function() { while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.id = reader.string(); - break; - case 2: - message.idHex = reader.string(); - break; - case 3: - message.version = reader.uint32(); - break; - case 4: - message.timestamp = reader.uint32(); - break; - case 5: - message.previousBlock = reader.string(); - break; - case 6: - message.previousBlockHex = reader.string(); - break; - case 7: - message.height = reader.uint32(); - break; - case 8: - message.numberOfTransactions = reader.uint32(); - break; - case 9: - message.totalAmount = reader.string(); - break; - case 10: - message.totalFee = reader.string(); - break; - case 11: - message.reward = reader.string(); - break; - case 12: - message.payloadLength = reader.uint32(); - break; - case 13: - message.payloadHash = reader.string(); - break; - case 14: - message.generatorPublicKey = reader.string(); - break; - case 15: - message.blockSignature = reader.string(); - break; - case 16: - message.transactions = reader.bytes(); - break; + case 1: { + message.id = reader.string(); + break; + } + case 2: { + message.idHex = reader.string(); + break; + } + case 3: { + message.version = reader.uint32(); + break; + } + case 4: { + message.timestamp = reader.uint32(); + break; + } + case 5: { + message.previousBlock = reader.string(); + break; + } + case 6: { + message.previousBlockHex = reader.string(); + break; + } + case 7: { + message.height = reader.uint32(); + break; + } + case 8: { + message.numberOfTransactions = reader.uint32(); + break; + } + case 9: { + message.totalAmount = reader.string(); + break; + } + case 10: { + message.totalFee = reader.string(); + break; + } + case 11: { + message.reward = reader.string(); + break; + } + case 12: { + message.payloadLength = reader.uint32(); + break; + } + case 13: { + message.payloadHash = reader.string(); + break; + } + case 14: { + message.generatorPublicKey = reader.string(); + break; + } + case 15: { + message.blockSignature = reader.string(); + break; + } + case 16: { + message.transactions = reader.bytes(); + break; + } default: reader.skipType(tag & 7); break; @@ -1362,7 +1448,7 @@ $root.blocks = (function() { if (object.transactions != null) if (typeof object.transactions === "string") $util.base64.decode(object.transactions, message.transactions = $util.newBuffer($util.base64.length(object.transactions)), 0); - else if (object.transactions.length) + else if (object.transactions.length >= 0) message.transactions = object.transactions; return message; }; @@ -1450,6 +1536,21 @@ $root.blocks = (function() { return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for BlockHeader + * @function getTypeUrl + * @memberof blocks.GetBlocksResponse.BlockHeader + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + BlockHeader.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/blocks.GetBlocksResponse.BlockHeader"; + }; + return BlockHeader; })(); @@ -1560,9 +1661,10 @@ $root.peer = (function() { while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.headers = $root.shared.Headers.decode(reader, reader.uint32()); - break; + case 1: { + message.headers = $root.shared.Headers.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -1657,6 +1759,21 @@ $root.peer = (function() { return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for GetPeersRequest + * @function getTypeUrl + * @memberof peer.GetPeersRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + GetPeersRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/peer.GetPeersRequest"; + }; + return GetPeersRequest; })(); @@ -1754,11 +1871,12 @@ $root.peer = (function() { while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - if (!(message.peers && message.peers.length)) - message.peers = []; - message.peers.push($root.peer.GetPeersResponse.Peer.decode(reader, reader.uint32())); - break; + case 1: { + if (!(message.peers && message.peers.length)) + message.peers = []; + message.peers.push($root.peer.GetPeersResponse.Peer.decode(reader, reader.uint32())); + break; + } default: reader.skipType(tag & 7); break; @@ -1865,6 +1983,21 @@ $root.peer = (function() { return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for GetPeersResponse + * @function getTypeUrl + * @memberof peer.GetPeersResponse + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + GetPeersResponse.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/peer.GetPeersResponse"; + }; + GetPeersResponse.Peer = (function() { /** @@ -1968,12 +2101,14 @@ $root.peer = (function() { while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.ip = reader.string(); - break; - case 2: - message.port = reader.uint32(); - break; + case 1: { + message.ip = reader.string(); + break; + } + case 2: { + message.port = reader.uint32(); + break; + } default: reader.skipType(tag & 7); break; @@ -2072,6 +2207,21 @@ $root.peer = (function() { return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for Peer + * @function getTypeUrl + * @memberof peer.GetPeersResponse.Peer + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + Peer.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/peer.GetPeersResponse.Peer"; + }; + return Peer; })(); @@ -2183,14 +2333,16 @@ $root.peer = (function() { while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - if (!(message.ids && message.ids.length)) - message.ids = []; - message.ids.push(reader.string()); - break; - case 2: - message.headers = $root.shared.Headers.decode(reader, reader.uint32()); - break; + case 1: { + if (!(message.ids && message.ids.length)) + message.ids = []; + message.ids.push(reader.string()); + break; + } + case 2: { + message.headers = $root.shared.Headers.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -2306,6 +2458,21 @@ $root.peer = (function() { return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for GetCommonBlocksRequest + * @function getTypeUrl + * @memberof peer.GetCommonBlocksRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + GetCommonBlocksRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/peer.GetCommonBlocksRequest"; + }; + return GetCommonBlocksRequest; })(); @@ -2401,9 +2568,10 @@ $root.peer = (function() { while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.common = $root.peer.GetCommonBlocksResponse.Common.decode(reader, reader.uint32()); - break; + case 1: { + message.common = $root.peer.GetCommonBlocksResponse.Common.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -2498,6 +2666,21 @@ $root.peer = (function() { return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for GetCommonBlocksResponse + * @function getTypeUrl + * @memberof peer.GetCommonBlocksResponse + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + GetCommonBlocksResponse.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/peer.GetCommonBlocksResponse"; + }; + GetCommonBlocksResponse.Common = (function() { /** @@ -2601,12 +2784,14 @@ $root.peer = (function() { while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.height = reader.uint32(); - break; - case 2: - message.id = reader.string(); - break; + case 1: { + message.height = reader.uint32(); + break; + } + case 2: { + message.id = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -2705,6 +2890,21 @@ $root.peer = (function() { return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for Common + * @function getTypeUrl + * @memberof peer.GetCommonBlocksResponse.Common + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + Common.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/peer.GetCommonBlocksResponse.Common"; + }; + return Common; })(); @@ -2803,9 +3003,10 @@ $root.peer = (function() { while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.headers = $root.shared.Headers.decode(reader, reader.uint32()); - break; + case 1: { + message.headers = $root.shared.Headers.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -2900,6 +3101,21 @@ $root.peer = (function() { return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for GetStatusRequest + * @function getTypeUrl + * @memberof peer.GetStatusRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + GetStatusRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/peer.GetStatusRequest"; + }; + return GetStatusRequest; })(); @@ -3006,12 +3222,14 @@ $root.peer = (function() { while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.state = $root.peer.GetStatusResponse.State.decode(reader, reader.uint32()); - break; - case 2: - message.config = $root.peer.GetStatusResponse.Config.decode(reader, reader.uint32()); - break; + case 1: { + message.state = $root.peer.GetStatusResponse.State.decode(reader, reader.uint32()); + break; + } + case 2: { + message.config = $root.peer.GetStatusResponse.Config.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -3120,6 +3338,21 @@ $root.peer = (function() { return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for GetStatusResponse + * @function getTypeUrl + * @memberof peer.GetStatusResponse + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + GetStatusResponse.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/peer.GetStatusResponse"; + }; + GetStatusResponse.State = (function() { /** @@ -3245,18 +3478,22 @@ $root.peer = (function() { while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.height = reader.uint32(); - break; - case 2: - message.forgingAllowed = reader.bool(); - break; - case 3: - message.currentSlot = reader.uint32(); - break; - case 4: - message.header = $root.peer.GetStatusResponse.State.BlockHeader.decode(reader, reader.uint32()); - break; + case 1: { + message.height = reader.uint32(); + break; + } + case 2: { + message.forgingAllowed = reader.bool(); + break; + } + case 3: { + message.currentSlot = reader.uint32(); + break; + } + case 4: { + message.header = $root.peer.GetStatusResponse.State.BlockHeader.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -3376,6 +3613,21 @@ $root.peer = (function() { return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for State + * @function getTypeUrl + * @memberof peer.GetStatusResponse.State + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + State.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/peer.GetStatusResponse.State"; + }; + State.BlockHeader = (function() { /** @@ -3622,51 +3874,66 @@ $root.peer = (function() { while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.id = reader.string(); - break; - case 2: - message.idHex = reader.string(); - break; - case 3: - message.version = reader.uint32(); - break; - case 4: - message.timestamp = reader.uint32(); - break; - case 5: - message.previousBlock = reader.string(); - break; - case 6: - message.previousBlockHex = reader.string(); - break; - case 7: - message.height = reader.uint32(); - break; - case 8: - message.numberOfTransactions = reader.uint32(); - break; - case 9: - message.totalAmount = reader.string(); - break; - case 10: - message.totalFee = reader.string(); - break; - case 11: - message.reward = reader.string(); - break; - case 12: - message.payloadLength = reader.uint32(); - break; - case 13: - message.payloadHash = reader.string(); - break; - case 14: - message.generatorPublicKey = reader.string(); - break; - case 15: - message.blockSignature = reader.string(); - break; + case 1: { + message.id = reader.string(); + break; + } + case 2: { + message.idHex = reader.string(); + break; + } + case 3: { + message.version = reader.uint32(); + break; + } + case 4: { + message.timestamp = reader.uint32(); + break; + } + case 5: { + message.previousBlock = reader.string(); + break; + } + case 6: { + message.previousBlockHex = reader.string(); + break; + } + case 7: { + message.height = reader.uint32(); + break; + } + case 8: { + message.numberOfTransactions = reader.uint32(); + break; + } + case 9: { + message.totalAmount = reader.string(); + break; + } + case 10: { + message.totalFee = reader.string(); + break; + } + case 11: { + message.reward = reader.string(); + break; + } + case 12: { + message.payloadLength = reader.uint32(); + break; + } + case 13: { + message.payloadHash = reader.string(); + break; + } + case 14: { + message.generatorPublicKey = reader.string(); + break; + } + case 15: { + message.blockSignature = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -3869,6 +4136,21 @@ $root.peer = (function() { return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for BlockHeader + * @function getTypeUrl + * @memberof peer.GetStatusResponse.State.BlockHeader + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + BlockHeader.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/peer.GetStatusResponse.State.BlockHeader"; + }; + return BlockHeader; })(); @@ -3993,34 +4275,37 @@ $root.peer = (function() { while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.version = reader.string(); - break; - case 2: - message.network = $root.peer.GetStatusResponse.Config.Network.decode(reader, reader.uint32()); - break; - case 3: - if (message.plugins === $util.emptyObject) - message.plugins = {}; - var end2 = reader.uint32() + reader.pos; - key = ""; - value = null; - while (reader.pos < end2) { - var tag2 = reader.uint32(); - switch (tag2 >>> 3) { - case 1: - key = reader.string(); - break; - case 2: - value = $root.peer.GetStatusResponse.Config.Plugin.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag2 & 7); - break; + case 1: { + message.version = reader.string(); + break; + } + case 2: { + message.network = $root.peer.GetStatusResponse.Config.Network.decode(reader, reader.uint32()); + break; + } + case 3: { + if (message.plugins === $util.emptyObject) + message.plugins = {}; + var end2 = reader.uint32() + reader.pos; + key = ""; + value = null; + while (reader.pos < end2) { + var tag2 = reader.uint32(); + switch (tag2 >>> 3) { + case 1: + key = reader.string(); + break; + case 2: + value = $root.peer.GetStatusResponse.Config.Plugin.decode(reader, reader.uint32()); + break; + default: + reader.skipType(tag2 & 7); + break; + } } + message.plugins[key] = value; + break; } - message.plugins[key] = value; - break; default: reader.skipType(tag & 7); break; @@ -4152,6 +4437,21 @@ $root.peer = (function() { return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for Config + * @function getTypeUrl + * @memberof peer.GetStatusResponse.Config + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + Config.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/peer.GetStatusResponse.Config"; + }; + Config.Network = (function() { /** @@ -4288,21 +4588,26 @@ $root.peer = (function() { while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; - case 2: - message.nethash = reader.string(); - break; - case 3: - message.explorer = reader.string(); - break; - case 4: - message.token = $root.peer.GetStatusResponse.Config.Network.Token.decode(reader, reader.uint32()); - break; - case 5: - message.version = reader.uint32(); - break; + case 1: { + message.name = reader.string(); + break; + } + case 2: { + message.nethash = reader.string(); + break; + } + case 3: { + message.explorer = reader.string(); + break; + } + case 4: { + message.token = $root.peer.GetStatusResponse.Config.Network.Token.decode(reader, reader.uint32()); + break; + } + case 5: { + message.version = reader.uint32(); + break; + } default: reader.skipType(tag & 7); break; @@ -4430,6 +4735,21 @@ $root.peer = (function() { return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for Network + * @function getTypeUrl + * @memberof peer.GetStatusResponse.Config.Network + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + Network.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/peer.GetStatusResponse.Config.Network"; + }; + Network.Token = (function() { /** @@ -4533,12 +4853,14 @@ $root.peer = (function() { while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; - case 2: - message.symbol = reader.string(); - break; + case 1: { + message.name = reader.string(); + break; + } + case 2: { + message.symbol = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -4637,6 +4959,21 @@ $root.peer = (function() { return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for Token + * @function getTypeUrl + * @memberof peer.GetStatusResponse.Config.Network.Token + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + Token.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/peer.GetStatusResponse.Config.Network.Token"; + }; + return Token; })(); @@ -4757,15 +5094,18 @@ $root.peer = (function() { while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.port = reader.uint32(); - break; - case 2: - message.enabled = reader.bool(); - break; - case 3: - message.estimateTotalCount = reader.bool(); - break; + case 1: { + message.port = reader.uint32(); + break; + } + case 2: { + message.enabled = reader.bool(); + break; + } + case 3: { + message.estimateTotalCount = reader.bool(); + break; + } default: reader.skipType(tag & 7); break; @@ -4872,6 +5212,21 @@ $root.peer = (function() { return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for Plugin + * @function getTypeUrl + * @memberof peer.GetStatusResponse.Config.Plugin + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + Plugin.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/peer.GetStatusResponse.Config.Plugin"; + }; + return Plugin; })(); @@ -4985,9 +5340,10 @@ $root.shared = (function() { while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.version = reader.string(); - break; + case 1: { + message.version = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -5077,6 +5433,21 @@ $root.shared = (function() { return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for Headers + * @function getTypeUrl + * @memberof shared.Headers + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + Headers.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/shared.Headers"; + }; + return Headers; })(); @@ -5195,12 +5566,14 @@ $root.transactions = (function() { while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.transactions = reader.bytes(); - break; - case 2: - message.headers = $root.shared.Headers.decode(reader, reader.uint32()); - break; + case 1: { + message.transactions = reader.bytes(); + break; + } + case 2: { + message.headers = $root.shared.Headers.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -5262,7 +5635,7 @@ $root.transactions = (function() { if (object.transactions != null) if (typeof object.transactions === "string") $util.base64.decode(object.transactions, message.transactions = $util.newBuffer($util.base64.length(object.transactions)), 0); - else if (object.transactions.length) + else if (object.transactions.length >= 0) message.transactions = object.transactions; if (object.headers != null) { if (typeof object.headers !== "object") @@ -5313,6 +5686,21 @@ $root.transactions = (function() { return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for PostTransactionsRequest + * @function getTypeUrl + * @memberof transactions.PostTransactionsRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + PostTransactionsRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/transactions.PostTransactionsRequest"; + }; + return PostTransactionsRequest; })(); @@ -5410,11 +5798,12 @@ $root.transactions = (function() { while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - if (!(message.accept && message.accept.length)) - message.accept = []; - message.accept.push(reader.string()); - break; + case 1: { + if (!(message.accept && message.accept.length)) + message.accept = []; + message.accept.push(reader.string()); + break; + } default: reader.skipType(tag & 7); break; @@ -5516,6 +5905,21 @@ $root.transactions = (function() { return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for PostTransactionsResponse + * @function getTypeUrl + * @memberof transactions.PostTransactionsResponse + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + PostTransactionsResponse.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/transactions.PostTransactionsResponse"; + }; + return PostTransactionsResponse; })(); diff --git a/yarn.lock b/yarn.lock index 84130b7251..631cc90154 100644 --- a/yarn.lock +++ b/yarn.lock @@ -341,6 +341,11 @@ resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.20.3.tgz#5358cf62e380cf69efcb87a7bb922ff88bfac6e2" integrity sha512-OP/s5a94frIPXwjzEcv5S/tpQfc6XhxYUnmWpgdqMWGgYCuErA3SzozaRAMQgSZWKeTJxht9aWAkUY+0UzvOFg== +"@babel/parser@^7.20.15": + version "7.22.7" + resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.22.7.tgz#df8cf085ce92ddbdbf668a7f186ce848c9036cae" + integrity sha512-7NF8pOkHP5o2vpmGgNGcfAeCvOYhGLyA3Z4eBQkT1RJlWu47n63bCs93QfJ2hIAFCil7L5P2IWhs1oToVgrL0Q== + "@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression@^7.18.6": version "7.18.6" resolved "https://registry.yarnpkg.com/@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression/-/plugin-bugfix-safari-id-destructuring-collision-in-function-expression-7.18.6.tgz#da5b8f9a580acdfbe53494dba45ea389fb09a4d2" @@ -1832,6 +1837,13 @@ "@jridgewell/resolve-uri" "3.1.0" "@jridgewell/sourcemap-codec" "1.4.14" +"@jsdoc/salty@^0.2.1": + version "0.2.5" + resolved "https://registry.yarnpkg.com/@jsdoc/salty/-/salty-0.2.5.tgz#1b2fa5bb8c66485b536d86eee877c263d322f692" + integrity sha512-TfRP53RqunNe2HBobVBJ0VLhK1HbfvBYeTC1ahnN64PWvyYyGebmMiPkuwvD9fpw2ZbkoPb8Q7mwy0aR8Z9rvw== + dependencies: + lodash "^4.17.21" + "@lerna/add@6.0.3": version "6.0.3" resolved "https://registry.yarnpkg.com/@lerna/add/-/add-6.0.3.tgz#341927d00b79ad2a2c0e9aec239b203e5a04fa12" @@ -3518,6 +3530,11 @@ dependencies: "@types/node" "*" +"@types/linkify-it@*": + version "3.0.2" + resolved "https://registry.yarnpkg.com/@types/linkify-it/-/linkify-it-3.0.2.tgz#fd2cd2edbaa7eaac7e7f3c1748b52a19143846c9" + integrity sha512-HZQYqbiFVWufzCwexrvh694SOim8z2d+xJl5UNamcvQFejLY/2YUtzXHYi3cHdI7PMlS8ejH2slRAOJQ32aNbA== + "@types/listr@0.14.4": version "0.14.4" resolved "https://registry.yarnpkg.com/@types/listr/-/listr-0.14.4.tgz#6ba2a4206615cf80d79d10f9ba9701c303cd57b6" @@ -3550,10 +3567,18 @@ resolved "https://registry.yarnpkg.com/@types/log-process-errors/-/log-process-errors-4.1.0.tgz#d8fdf5312660fe39f425f4d4bc6a9cfe2605ed6e" integrity sha512-EZxSJpgUfiKgJKUuNOqHnobVODwjUfI9cOBUMyjt5tXkt5ZiZ3NB21DLPOVyAyqiW4dmmusVfgNE2+kMvdmFFA== -"@types/long@^4.0.1": - version "4.0.2" - resolved "https://registry.yarnpkg.com/@types/long/-/long-4.0.2.tgz#b74129719fc8d11c01868010082d483b7545591a" - integrity sha512-MqTGEo5bj5t157U6fA/BiDynNkn0YknVdh48CMPkTSpFTVmvao5UQmm7uEF6xBEo7qIMAlY/JSleYaE6VOdpaA== +"@types/markdown-it@^12.2.3": + version "12.2.3" + resolved "https://registry.yarnpkg.com/@types/markdown-it/-/markdown-it-12.2.3.tgz#0d6f6e5e413f8daaa26522904597be3d6cd93b51" + integrity sha512-GKMHFfv3458yYy+v/N8gjufHO6MSZKCOXpZc5GXIWWy8uldwfmPn98vp81gZ5f9SVw8YYBctgfJ22a2d7AOMeQ== + dependencies: + "@types/linkify-it" "*" + "@types/mdurl" "*" + +"@types/mdurl@*": + version "1.0.2" + resolved "https://registry.yarnpkg.com/@types/mdurl/-/mdurl-1.0.2.tgz#e2ce9d83a613bacf284c7be7d491945e39e1f8e9" + integrity sha512-eC4U9MlIcu2q0KQmXszyn5Akca/0jrQmwDRgpAMJai7qBWq4amIQhZyNau4VYGtCeALvW1/NtjzJJ567aZxfKA== "@types/minimatch@*": version "5.1.2" @@ -4020,7 +4045,7 @@ acorn-globals@^6.0.0: acorn "^7.1.1" acorn-walk "^7.1.1" -acorn-jsx@^5.3.1: +acorn-jsx@^5.3.1, acorn-jsx@^5.3.2: version "5.3.2" resolved "https://registry.yarnpkg.com/acorn-jsx/-/acorn-jsx-5.3.2.tgz#7ed5bb55908b3b2f1bc55c6af1653bada7f07937" integrity sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ== @@ -4040,6 +4065,11 @@ acorn@^8.2.4, acorn@^8.5.0: resolved "https://registry.yarnpkg.com/acorn/-/acorn-8.8.1.tgz#0a3f9cbecc4ec3bea6f0a80b66ae8dd2da250b73" integrity sha512-7zFpHzhnqYKrkYdUjF1HI1bzd0VygEGX8lFk4k5zVMqHEoES+P+7TKI+EvLO9WVMJ8eekdO0aDEK044xTXwPPA== +acorn@^8.9.0: + version "8.10.0" + resolved "https://registry.yarnpkg.com/acorn/-/acorn-8.10.0.tgz#8be5b3907a67221a81ab23c7889c4c5526b62ec5" + integrity sha512-F0SAmZ8iUtS//m8DmCTA0jlh6TDKkHQyK6xc6V4KDTyZKA9dnvX9/3sRTVQrWm79glUAZbnmmNcdYwUIHWVybw== + add-stream@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/add-stream/-/add-stream-1.0.0.tgz#6a7990437ca736d5e1288db92bd3266d5f5cb2aa" @@ -4700,6 +4730,11 @@ bl@^4.0.3, bl@^4.1.0: inherits "^2.0.4" readable-stream "^3.4.0" +bluebird@^3.7.2: + version "3.7.2" + resolved "https://registry.yarnpkg.com/bluebird/-/bluebird-3.7.2.tgz#9f229c15be272454ffa973ace0dbee79a1b0c36f" + integrity sha512-XpNj6GDQzdfW+r2Wnn7xiSAd7TM3jzkxGXBGTtWKuSXv1xUV+azxAm8jdWZN06QTQk+2N2XB9jRDkvbmQmcRtg== + bn.js@^4.11.8, bn.js@^4.11.9: version "4.12.0" resolved "https://registry.yarnpkg.com/bn.js/-/bn.js-4.12.0.tgz#775b3f278efbb9718eec7361f483fb36fbbfea88" @@ -5107,6 +5142,13 @@ caseless@~0.12.0: resolved "https://registry.yarnpkg.com/caseless/-/caseless-0.12.0.tgz#1b681c21ff84033c826543090689420d187151dc" integrity sha512-4tYFyifaFfGacoiObjJegolkwSU4xQNGbVgUiNYVUxbQ2x2lUsFvY4hVgVzGiIe6WLOPqycWXA40l+PWsxthUw== +catharsis@^0.9.0: + version "0.9.0" + resolved "https://registry.yarnpkg.com/catharsis/-/catharsis-0.9.0.tgz#40382a168be0e6da308c277d3a2b3eb40c7d2121" + integrity sha512-prMTQVpcns/tzFgFVkVp6ak6RykZyWb3gu8ckUpd6YkTlacOd3DXGJjIpD4Q6zJirizvaiAjSSHlOsA+6sNh2A== + dependencies: + lodash "^4.17.15" + chainsaw@~0.1.0: version "0.1.0" resolved "https://registry.yarnpkg.com/chainsaw/-/chainsaw-0.1.0.tgz#5eab50b28afe58074d0d58291388828b5e5fbc98" @@ -6442,6 +6484,11 @@ enquirer@^2.3.5, enquirer@^2.3.6, enquirer@~2.3.6: dependencies: ansi-colors "^4.1.1" +entities@~2.1.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/entities/-/entities-2.1.0.tgz#992d3129cf7df6870b96c57858c249a120f8b8b5" + integrity sha512-hCx1oky9PFrJ611mf0ifBLBRW8lUUVRlFolb5gWRfIELabBlbp9xZvrqZLZAs+NxFnbfQoeGd8wDkygjg7U85w== + env-paths@2.2.0: version "2.2.0" resolved "https://registry.yarnpkg.com/env-paths/-/env-paths-2.2.0.tgz#cdca557dc009152917d6166e2febe1f039685e43" @@ -6509,6 +6556,18 @@ escape-string-regexp@^2.0.0: resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-2.0.0.tgz#a30304e99daa32e23b2fd20f51babd07cffca344" integrity sha512-UpzcLCXolUWcNu5HtVMHYdXJjArjsF9C0aNnquZYY4uW/Vu0miy5YoWvbV345HauVvcAUnpRuhMMcqTcGOY2+w== +escodegen@^1.13.0: + version "1.14.3" + resolved "https://registry.yarnpkg.com/escodegen/-/escodegen-1.14.3.tgz#4e7b81fba61581dc97582ed78cab7f0e8d63f503" + integrity sha512-qFcX0XJkdg+PB3xjZZG/wKSuT1PnQWx57+TVSjIMmILd2yC/6ByYElPwJnslDsuWuSAp4AwJGumarAAmJch5Kw== + dependencies: + esprima "^4.0.1" + estraverse "^4.2.0" + esutils "^2.0.2" + optionator "^0.8.1" + optionalDependencies: + source-map "~0.6.1" + escodegen@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/escodegen/-/escodegen-2.0.0.tgz#5e32b12833e8aa8fa35e1bf0befa89380484c7dd" @@ -6579,6 +6638,11 @@ eslint-visitor-keys@^2.0.0: resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-2.1.0.tgz#f65328259305927392c938ed44eb0a5c9b2bd303" integrity sha512-0rSmRBzXgDzIsD6mGdJgevzgezI534Cer5L/vyMX0kHzT/jiB43jRhd9YUlMGYLQy2zprNmoT8qasCGtY+QaKw== +eslint-visitor-keys@^3.4.1: + version "3.4.1" + resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-3.4.1.tgz#c22c48f48942d08ca824cc526211ae400478a994" + integrity sha512-pZnmmLwYzf+kWaM/Qgrvpen51upAktaaiI01nsJD/Yr3lMOdNtq0cxkrrg16w64VtisN6okbs7Q8AfGqj4c9fA== + eslint@7.32.0: version "7.32.0" resolved "https://registry.yarnpkg.com/eslint/-/eslint-7.32.0.tgz#c6d328a14be3fb08c8d1d21e12c02fdb7a2a812d" @@ -6634,6 +6698,15 @@ espree@^7.3.0, espree@^7.3.1: acorn-jsx "^5.3.1" eslint-visitor-keys "^1.3.0" +espree@^9.0.0: + version "9.6.0" + resolved "https://registry.yarnpkg.com/espree/-/espree-9.6.0.tgz#80869754b1c6560f32e3b6929194a3fe07c5b82f" + integrity sha512-1FH/IiruXZ84tpUlm0aCUEwMl2Ho5ilqVh0VvQXw+byAz/4SAciyHLlfmL5WYqsvD38oymdUwBss0LtK8m4s/A== + dependencies: + acorn "^8.9.0" + acorn-jsx "^5.3.2" + eslint-visitor-keys "^3.4.1" + esprima@^4.0.0, esprima@^4.0.1, esprima@~4.0.0: version "4.0.1" resolved "https://registry.yarnpkg.com/esprima/-/esprima-4.0.1.tgz#13b04cdb3e6c5d19df91ab6987a8695619b0aa71" @@ -6653,7 +6726,7 @@ esrecurse@^4.3.0: dependencies: estraverse "^5.2.0" -estraverse@^4.1.1: +estraverse@^4.1.1, estraverse@^4.2.0: version "4.3.0" resolved "https://registry.yarnpkg.com/estraverse/-/estraverse-4.3.0.tgz#398ad3f3c5a24948be7725e83d11a7de28cdbd1d" integrity sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw== @@ -7667,6 +7740,11 @@ graceful-fs@4.2.10, graceful-fs@^4.1.11, graceful-fs@^4.1.15, graceful-fs@^4.1.2 resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.2.10.tgz#147d3a006da4ca3ce14728c7aefc287c367d7a6c" integrity sha512-9ByhssR2fPVsNZj478qUUbKfmL0+t5BDVyjShtyZZLiK7ZDAArFFfopyOTj0M05wE2tJPisA4iTnnXl2YoPvOA== +graceful-fs@^4.1.9: + version "4.2.11" + resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.2.11.tgz#4183e4e8bf08bb6e05bbb2f7d2e0c8f712ca40e3" + integrity sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ== + graphviz@0.0.9: version "0.0.9" resolved "https://registry.yarnpkg.com/graphviz/-/graphviz-0.0.9.tgz#0bbf1df588c6a92259282da35323622528c4bbc4" @@ -9080,11 +9158,39 @@ js-yaml@4.1.0, js-yaml@^4.1.0: dependencies: argparse "^2.0.1" +js2xmlparser@^4.0.2: + version "4.0.2" + resolved "https://registry.yarnpkg.com/js2xmlparser/-/js2xmlparser-4.0.2.tgz#2a1fdf01e90585ef2ae872a01bc169c6a8d5e60a" + integrity sha512-6n4D8gLlLf1n5mNLQPRfViYzu9RATblzPEtm1SthMX1Pjao0r9YI9nw7ZIfRxQMERS87mcswrg+r/OYrPRX6jA== + dependencies: + xmlcreate "^2.0.4" + jsbn@~0.1.0: version "0.1.1" resolved "https://registry.yarnpkg.com/jsbn/-/jsbn-0.1.1.tgz#a5e654c2e5a2deb5f201d96cefbca80c0ef2f513" integrity sha512-UVU9dibq2JcFWxQPA6KCqj5O42VOmAY3zQUfEKxU0KpTGXwNoCjkX1e13eHNvw/xPynt6pU0rZ1htjWTNTSXsg== +jsdoc@^4.0.0: + version "4.0.2" + resolved "https://registry.yarnpkg.com/jsdoc/-/jsdoc-4.0.2.tgz#a1273beba964cf433ddf7a70c23fd02c3c60296e" + integrity sha512-e8cIg2z62InH7azBBi3EsSEqrKx+nUtAS5bBcYTSpZFA+vhNPyhv8PTFZ0WsjOPDj04/dOLlm08EDcQJDqaGQg== + dependencies: + "@babel/parser" "^7.20.15" + "@jsdoc/salty" "^0.2.1" + "@types/markdown-it" "^12.2.3" + bluebird "^3.7.2" + catharsis "^0.9.0" + escape-string-regexp "^2.0.0" + js2xmlparser "^4.0.2" + klaw "^3.0.0" + markdown-it "^12.3.2" + markdown-it-anchor "^8.4.1" + marked "^4.0.10" + mkdirp "^1.0.4" + requizzle "^0.2.3" + strip-json-comments "^3.1.0" + underscore "~1.13.2" + jsdom@^16.4.0: version "16.7.0" resolved "https://registry.yarnpkg.com/jsdom/-/jsdom-16.7.0.tgz#918ae71965424b197c819f8183a754e18977b710" @@ -9291,6 +9397,13 @@ kind-of@^6.0.0, kind-of@^6.0.2, kind-of@^6.0.3: resolved "https://registry.yarnpkg.com/kind-of/-/kind-of-6.0.3.tgz#07c05034a6c349fa06e24fa35aa76db4580ce4dd" integrity sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw== +klaw@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/klaw/-/klaw-3.0.0.tgz#b11bec9cf2492f06756d6e809ab73a2910259146" + integrity sha512-0Fo5oir+O9jnXu5EefYbVK+mHMBeEVEy2cmctR1O1NECcCkPRreJKrS6Qt/j3KC2C148Dfo9i3pCmCMsdqGr0g== + dependencies: + graceful-fs "^4.1.9" + kleur@4.0.0: version "4.0.0" resolved "https://registry.yarnpkg.com/kleur/-/kleur-4.0.0.tgz#6da4e7a800e33eb28c53fb91902d623450a980d6" @@ -9401,6 +9514,13 @@ lines-and-columns@^1.1.6: resolved "https://registry.yarnpkg.com/lines-and-columns/-/lines-and-columns-1.2.4.tgz#eca284f75d2965079309dc0ad9255abb2ebc1632" integrity sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg== +linkify-it@^3.0.1: + version "3.0.3" + resolved "https://registry.yarnpkg.com/linkify-it/-/linkify-it-3.0.3.tgz#a98baf44ce45a550efb4d49c769d07524cc2fa2e" + integrity sha512-ynTsyrFSdE5oZ/O9GEf00kPngmOfVwazR5GKDq6EYfhlpFug3J2zybX56a2PRRpc9P+FuSoGNAwjlbDs9jJBPQ== + dependencies: + uc.micro "^1.0.1" + lint-staged@10.5.4: version "10.5.4" resolved "https://registry.yarnpkg.com/lint-staged/-/lint-staged-10.5.4.tgz#cd153b5f0987d2371fc1d2847a409a2fe705b665" @@ -9653,10 +9773,10 @@ log-update@^4.0.0: slice-ansi "^4.0.0" wrap-ansi "^6.2.0" -long@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/long/-/long-4.0.0.tgz#9a7b71cfb7d361a194ea555241c92f7468d5bf28" - integrity sha512-XsP+KhQif4bjX1kbuSiySJFNAehNxgLb6hPRGJ9QsUr8ajHkuXGdrHmFUTUUXhDwVX2R5bY4JNZEwbUiMhV+MA== +long@^5.0.0: + version "5.2.3" + resolved "https://registry.yarnpkg.com/long/-/long-5.2.3.tgz#a3ba97f3877cf1d778eccbcb048525ebb77499e1" + integrity sha512-lcHwpNoggQTObv5apGNCTdJrO69eHOZMi4BNC+rTLER8iHAqGrUVeLh/irVIM7zTw2bOXA8T6uNPeujwOLg/2Q== long@~3: version "3.2.0" @@ -9826,6 +9946,27 @@ map-visit@^1.0.0: dependencies: object-visit "^1.0.0" +markdown-it-anchor@^8.4.1: + version "8.6.7" + resolved "https://registry.yarnpkg.com/markdown-it-anchor/-/markdown-it-anchor-8.6.7.tgz#ee6926daf3ad1ed5e4e3968b1740eef1c6399634" + integrity sha512-FlCHFwNnutLgVTflOYHPW2pPcl2AACqVzExlkGQNsi4CJgqOHN7YTgDd4LuhgN1BFO3TS0vLAruV1Td6dwWPJA== + +markdown-it@^12.3.2: + version "12.3.2" + resolved "https://registry.yarnpkg.com/markdown-it/-/markdown-it-12.3.2.tgz#bf92ac92283fe983fe4de8ff8abfb5ad72cd0c90" + integrity sha512-TchMembfxfNVpHkbtriWltGWc+m3xszaRD0CZup7GFFhzIgQqxIfn3eGj1yZpfuflzPvfkt611B2Q/Bsk1YnGg== + dependencies: + argparse "^2.0.1" + entities "~2.1.0" + linkify-it "^3.0.1" + mdurl "^1.0.1" + uc.micro "^1.0.5" + +marked@^4.0.10: + version "4.3.0" + resolved "https://registry.yarnpkg.com/marked/-/marked-4.3.0.tgz#796362821b019f734054582038b116481b456cf3" + integrity sha512-PRsaiG84bK+AMvxziE/lCFss8juXjNaWzVbN5tXAm4XjeaS9NAHhop+PjQxz2A9h8Q4M/xGmzP8vqNwy6JeK0A== + marked@^4.0.16: version "4.2.3" resolved "https://registry.yarnpkg.com/marked/-/marked-4.2.3.tgz#bd76a5eb510ff1d8421bc6c3b2f0b93488c15bea" @@ -9840,6 +9981,11 @@ md5.js@^1.3.4: inherits "^2.0.1" safe-buffer "^5.1.2" +mdurl@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/mdurl/-/mdurl-1.0.1.tgz#fe85b2ec75a59037f2adfec100fd6c601761152e" + integrity sha512-/sKlQJCBYVY9Ers9hqzKou4H6V5UWc/M59TH2dvkt+84itfnq7uFOMLpOiOS4ujvHP4etln18fmIxA5R5fll0g== + meow@^6.1.1: version "6.1.1" resolved "https://registry.yarnpkg.com/meow/-/meow-6.1.1.tgz#1ad64c4b76b2a24dfb2f635fddcadf320d251467" @@ -11644,10 +11790,26 @@ proto-list@~1.2.1: resolved "https://registry.yarnpkg.com/proto-list/-/proto-list-1.2.4.tgz#212d5bfe1318306a420f6402b8e26ff39647a849" integrity sha512-vtK/94akxsTMhe0/cbfpR+syPuszcuwhqVjJq26CuNDgFGj682oRBXOP5MJpv2r7JtE8MsiepGIqvvOTBwn2vA== -protobufjs@6.11.3: - version "6.11.3" - resolved "https://registry.yarnpkg.com/protobufjs/-/protobufjs-6.11.3.tgz#637a527205a35caa4f3e2a9a4a13ddffe0e7af74" - integrity sha512-xL96WDdCZYdU7Slin569tFX712BxsxslWwAfAhCYjQKGTq7dAU91Lomy6nLLhh/dyGhk/YH4TwTSRxTzhuHyZg== +protobufjs-cli@1.1.1: + version "1.1.1" + resolved "https://registry.yarnpkg.com/protobufjs-cli/-/protobufjs-cli-1.1.1.tgz#f531201b1c8c7772066aa822bf9a08318b24a704" + integrity sha512-VPWMgIcRNyQwWUv8OLPyGQ/0lQY/QTQAVN5fh+XzfDwsVw1FZ2L3DM/bcBf8WPiRz2tNpaov9lPZfNcmNo6LXA== + dependencies: + chalk "^4.0.0" + escodegen "^1.13.0" + espree "^9.0.0" + estraverse "^5.1.0" + glob "^8.0.0" + jsdoc "^4.0.0" + minimist "^1.2.0" + semver "^7.1.2" + tmp "^0.2.1" + uglify-js "^3.7.7" + +protobufjs@7.2.4: + version "7.2.4" + resolved "https://registry.yarnpkg.com/protobufjs/-/protobufjs-7.2.4.tgz#3fc1ec0cdc89dd91aef9ba6037ba07408485c3ae" + integrity sha512-AT+RJgD2sH8phPmCf7OUZR8xGdcJRga4+1cOaXJ64hvcSkVhNcRHOwIxUatPH15+nj59WAGTDv3LSGZPEQbJaQ== dependencies: "@protobufjs/aspromise" "^1.1.2" "@protobufjs/base64" "^1.1.2" @@ -11659,9 +11821,8 @@ protobufjs@6.11.3: "@protobufjs/path" "^1.1.2" "@protobufjs/pool" "^1.1.0" "@protobufjs/utf8" "^1.1.0" - "@types/long" "^4.0.1" "@types/node" ">=13.7.0" - long "^4.0.0" + long "^5.0.0" protocols@^2.0.0, protocols@^2.0.1: version "2.0.1" @@ -12186,6 +12347,13 @@ requires-port@^1.0.0: resolved "https://registry.yarnpkg.com/requires-port/-/requires-port-1.0.0.tgz#925d2601d39ac485e091cf0da5c6e694dc3dcaff" integrity sha512-KigOCHcocU3XODJxsu8i/j8T9tzT4adHiecwORRQ0ZZFcp7ahwXuRU1m+yuO90C5ZUyGeGfocHDI14M3L3yDAQ== +requizzle@^0.2.3: + version "0.2.4" + resolved "https://registry.yarnpkg.com/requizzle/-/requizzle-0.2.4.tgz#319eb658b28c370f0c20f968fa8ceab98c13d27c" + integrity sha512-JRrFk1D4OQ4SqovXOgdav+K8EAhSB/LJZqCz8tbX0KObcdeM15Ss59ozWMBWmmINMagCwmqn4ZNryUGpBsl6Jw== + dependencies: + lodash "^4.17.21" + resolve-alpn@^1.0.0, resolve-alpn@^1.2.0: version "1.2.1" resolved "https://registry.yarnpkg.com/resolve-alpn/-/resolve-alpn-1.2.1.tgz#b7adbdac3546aaaec20b45e7d8265927072726f9" @@ -12536,6 +12704,13 @@ semver@7.x, semver@^7.0.0, semver@^7.1.1, semver@^7.2.1, semver@^7.3.2, semver@^ dependencies: lru-cache "^6.0.0" +semver@^7.1.2: + version "7.5.4" + resolved "https://registry.yarnpkg.com/semver/-/semver-7.5.4.tgz#483986ec4ed38e1c6c48c34894a9182dbff68a6e" + integrity sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA== + dependencies: + lru-cache "^6.0.0" + serialize-javascript@^4.0.0: version "4.0.0" resolved "https://registry.yarnpkg.com/serialize-javascript/-/serialize-javascript-4.0.0.tgz#b525e1238489a5ecfc42afacc3fe99e666f4b1aa" @@ -13332,7 +13507,7 @@ tiny-secp256k1@^1.1.3: elliptic "^6.4.0" nan "^2.13.2" -tmp@0.2.1, tmp@~0.2.1: +tmp@0.2.1, tmp@^0.2.1, tmp@~0.2.1: version "0.2.1" resolved "https://registry.yarnpkg.com/tmp/-/tmp-0.2.1.tgz#8457fc3037dcf4719c251367a1af6500ee1ccf14" integrity sha512-76SUhtfqR2Ijn+xllcI5P1oyannHNHByD80W1q447gU3mp9G9PSpGdWmjUOHRDPiHYacIk66W7ubDTuPF3BEtQ== @@ -13674,11 +13849,21 @@ ua-parser-js@^0.7.27: resolved "https://registry.yarnpkg.com/ua-parser-js/-/ua-parser-js-0.7.32.tgz#cd8c639cdca949e30fa68c44b7813ef13e36d211" integrity sha512-f9BESNVhzlhEFf2CHMSj40NWOjYPl1YKYbrvIr/hFTDEmLq7SRbWvm7FcdcpCYT95zrOhC7gZSxjdnnTpBcwVw== -uglify-js@^3.1.4: +uc.micro@^1.0.1, uc.micro@^1.0.5: + version "1.0.6" + resolved "https://registry.yarnpkg.com/uc.micro/-/uc.micro-1.0.6.tgz#9c411a802a409a91fc6cf74081baba34b24499ac" + integrity sha512-8Y75pvTYkLJW2hWQHXxoqRgV7qb9B+9vFEtidML+7koHUFapnVJAZ6cKs+Qjz5Aw3aZWHMC6u0wJE3At+nSGwA== + +uglify-js@^3.1.4, uglify-js@^3.7.7: version "3.17.4" resolved "https://registry.yarnpkg.com/uglify-js/-/uglify-js-3.17.4.tgz#61678cf5fa3f5b7eb789bb345df29afb8257c22c" integrity sha512-T9q82TJI9e/C1TAxYvfb16xO120tMVFZrGA3f9/P4424DNu6ypK103y0GPFVa17yotwSyZW5iYXgjYHkGrJW/g== +underscore@~1.13.2: + version "1.13.6" + resolved "https://registry.yarnpkg.com/underscore/-/underscore-1.13.6.tgz#04786a1f589dc6c09f761fc5f45b89e935136441" + integrity sha512-+A5Sja4HP1M08MaXya7p5LvjuM7K6q/2EaC0+iovj/wOcMsTzMvDFbasi/oSapiwOlt252IqsKqPjCl7huKS0A== + unicode-canonical-property-names-ecmascript@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/unicode-canonical-property-names-ecmascript/-/unicode-canonical-property-names-ecmascript-2.0.0.tgz#301acdc525631670d39f6146e0e77ff6bbdebddc" @@ -14221,6 +14406,11 @@ xmlchars@^2.2.0: resolved "https://registry.yarnpkg.com/xmlchars/-/xmlchars-2.2.0.tgz#060fe1bcb7f9c76fe2a17db86a9bc3ab894210cb" integrity sha512-JZnDKK8B0RCDw84FNdDAIpZK+JuJw+s7Lz8nksI7SIuU3UXJJslUthsi+uWBUYOwPFwW7W7PRLRfUKpxjtjFCw== +xmlcreate@^2.0.4: + version "2.0.4" + resolved "https://registry.yarnpkg.com/xmlcreate/-/xmlcreate-2.0.4.tgz#0c5ab0f99cdd02a81065fa9cd8f8ae87624889be" + integrity sha512-nquOebG4sngPmGPICTS5EnxqhKbCmz5Ox5hsszI2T6U5qdrJizBc+0ilYSEjTSzU0yZcmvppztXe/5Al5fUwdg== + xstate@4.23.4: version "4.23.4" resolved "https://registry.yarnpkg.com/xstate/-/xstate-4.23.4.tgz#b894205ac46bb3acc09755907d3e57c81c86e80e"