@sentio/cli 4.2.2-rc.1 → 4.2.3-rc.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +221 -151
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -171029,7 +171029,7 @@ function createSpinner(text) {
|
|
|
171029
171029
|
} };
|
|
171030
171030
|
}
|
|
171031
171031
|
//#endregion
|
|
171032
|
-
//#region ../../node_modules/.pnpm/@connectrpc+connect@2.1.2_@bufbuild+protobuf@2.12.
|
|
171032
|
+
//#region ../../node_modules/.pnpm/@connectrpc+connect@2.1.2_@bufbuild+protobuf@2.12.1/node_modules/@connectrpc/connect/dist/esm/code.js
|
|
171033
171033
|
/**
|
|
171034
171034
|
* Connect represents categories of errors as codes, and each code maps to a
|
|
171035
171035
|
* specific HTTP status code. The codes and their semantics were chosen to
|
|
@@ -171107,7 +171107,7 @@ var Code;
|
|
|
171107
171107
|
Code[Code["Unauthenticated"] = 16] = "Unauthenticated";
|
|
171108
171108
|
})(Code || (Code = {}));
|
|
171109
171109
|
//#endregion
|
|
171110
|
-
//#region ../../node_modules/.pnpm/@bufbuild+protobuf@2.12.
|
|
171110
|
+
//#region ../../node_modules/.pnpm/@bufbuild+protobuf@2.12.1/node_modules/@bufbuild/protobuf/dist/esm/is-message.js
|
|
171111
171111
|
/**
|
|
171112
171112
|
* Determine whether the given `arg` is a message.
|
|
171113
171113
|
* If `desc` is set, determine whether `arg` is this specific message.
|
|
@@ -171118,7 +171118,7 @@ function isMessage(arg, schema) {
|
|
|
171118
171118
|
return schema.typeName === arg.$typeName;
|
|
171119
171119
|
}
|
|
171120
171120
|
//#endregion
|
|
171121
|
-
//#region ../../node_modules/.pnpm/@bufbuild+protobuf@2.12.
|
|
171121
|
+
//#region ../../node_modules/.pnpm/@bufbuild+protobuf@2.12.1/node_modules/@bufbuild/protobuf/dist/esm/descriptors.js
|
|
171122
171122
|
/**
|
|
171123
171123
|
* Scalar value types. This is a subset of field types declared by protobuf
|
|
171124
171124
|
* enum google.protobuf.FieldDescriptorProto.Type The types GROUP and MESSAGE
|
|
@@ -171143,7 +171143,7 @@ var ScalarType;
|
|
|
171143
171143
|
ScalarType[ScalarType["SINT64"] = 18] = "SINT64";
|
|
171144
171144
|
})(ScalarType || (ScalarType = {}));
|
|
171145
171145
|
//#endregion
|
|
171146
|
-
//#region ../../node_modules/.pnpm/@bufbuild+protobuf@2.12.
|
|
171146
|
+
//#region ../../node_modules/.pnpm/@bufbuild+protobuf@2.12.1/node_modules/@bufbuild/protobuf/dist/esm/wire/varint.js
|
|
171147
171147
|
/**
|
|
171148
171148
|
* Read a 64 bit varint as two JS numbers.
|
|
171149
171149
|
*
|
|
@@ -171372,14 +171372,14 @@ function varint32read() {
|
|
|
171372
171372
|
return result >>> 0;
|
|
171373
171373
|
}
|
|
171374
171374
|
//#endregion
|
|
171375
|
-
//#region ../../node_modules/.pnpm/@bufbuild+protobuf@2.12.
|
|
171375
|
+
//#region ../../node_modules/.pnpm/@bufbuild+protobuf@2.12.1/node_modules/@bufbuild/protobuf/dist/esm/proto-int64.js
|
|
171376
171376
|
/**
|
|
171377
171377
|
* Int64Support for the current environment.
|
|
171378
171378
|
*/
|
|
171379
171379
|
const protoInt64 = /*@__PURE__*/ makeInt64Support();
|
|
171380
171380
|
function makeInt64Support() {
|
|
171381
171381
|
const dv = /* @__PURE__ */ new DataView(/* @__PURE__ */ new ArrayBuffer(8));
|
|
171382
|
-
if (typeof BigInt === "function" && typeof dv.getBigInt64 === "function" && typeof dv.getBigUint64 === "function" && typeof dv.setBigInt64 === "function" && typeof dv.setBigUint64 === "function" && (!!globalThis.Deno || typeof process != "object" || typeof process.env != "object" || process.env.BUF_BIGINT_DISABLE !== "1")) {
|
|
171382
|
+
if (typeof BigInt === "function" && typeof dv.getBigInt64 === "function" && typeof dv.getBigUint64 === "function" && typeof dv.setBigInt64 === "function" && typeof dv.setBigUint64 === "function" && (!!globalThis.Deno || !!globalThis.Bun || typeof process != "object" || typeof process.env != "object" || process.env.BUF_BIGINT_DISABLE !== "1")) {
|
|
171383
171383
|
const MIN = BigInt("-9223372036854775808");
|
|
171384
171384
|
const MAX = BigInt("9223372036854775807");
|
|
171385
171385
|
const UMIN = BigInt("0");
|
|
@@ -171461,9 +171461,15 @@ function assertUInt64String(value) {
|
|
|
171461
171461
|
if (!/^[0-9]+$/.test(value)) throw new Error("invalid uint64: " + value);
|
|
171462
171462
|
}
|
|
171463
171463
|
//#endregion
|
|
171464
|
-
//#region ../../node_modules/.pnpm/@bufbuild+protobuf@2.12.
|
|
171464
|
+
//#region ../../node_modules/.pnpm/@bufbuild+protobuf@2.12.1/node_modules/@bufbuild/protobuf/dist/esm/reflect/scalar.js
|
|
171465
171465
|
/**
|
|
171466
|
-
* Returns the zero value for the given scalar type
|
|
171466
|
+
* Returns the zero value for the given scalar type, the value a field of this
|
|
171467
|
+
* type has when unset: 0 for numeric types, "" for strings, false for
|
|
171468
|
+
* booleans, and an empty Uint8Array for bytes. For 64-bit integer types, the
|
|
171469
|
+
* result is "0" when longAsString is true, otherwise 0n.
|
|
171470
|
+
*
|
|
171471
|
+
* This is the type's zero value, not a proto2 custom field default. For float
|
|
171472
|
+
* and double it is +0; isScalarZeroValue treats only +0, not -0, as this value.
|
|
171467
171473
|
*/
|
|
171468
171474
|
function scalarZeroValue(type, longAsString) {
|
|
171469
171475
|
switch (type) {
|
|
@@ -171481,22 +171487,32 @@ function scalarZeroValue(type, longAsString) {
|
|
|
171481
171487
|
}
|
|
171482
171488
|
}
|
|
171483
171489
|
/**
|
|
171484
|
-
* Returns true
|
|
171485
|
-
*
|
|
171490
|
+
* Returns true if the value is the zero value for the given scalar type: `0`
|
|
171491
|
+
* for numeric types, `false` for booleans, `""` for strings, and an empty
|
|
171492
|
+
* Uint8Array for bytes.
|
|
171493
|
+
*
|
|
171494
|
+
* This is the implicit-presence default check. A singular field with implicit
|
|
171495
|
+
* presence is treated as unset, and omitted from the wire, when its value is
|
|
171496
|
+
* the zero value. With explicit presence, or in repeated and map fields,
|
|
171497
|
+
* presence is structural and this function does not apply.
|
|
171486
171498
|
*
|
|
171487
|
-
*
|
|
171488
|
-
*
|
|
171499
|
+
* Note that -0 is NOT a zero value for float and double: under implicit
|
|
171500
|
+
* presence, +0 is omitted from the wire but -0 is written, following the
|
|
171501
|
+
* proto3 specification. As a result this can disagree with scalarEquals, which
|
|
171502
|
+
* compares by value and treats -0 as equal to 0.
|
|
171489
171503
|
*/
|
|
171490
171504
|
function isScalarZeroValue(type, value) {
|
|
171491
171505
|
switch (type) {
|
|
171492
171506
|
case ScalarType.BOOL: return value === false;
|
|
171493
171507
|
case ScalarType.STRING: return value === "";
|
|
171494
171508
|
case ScalarType.BYTES: return value instanceof Uint8Array && !value.byteLength;
|
|
171509
|
+
case ScalarType.DOUBLE:
|
|
171510
|
+
case ScalarType.FLOAT: return Object.is(value, 0);
|
|
171495
171511
|
default: return value == 0;
|
|
171496
171512
|
}
|
|
171497
171513
|
}
|
|
171498
171514
|
//#endregion
|
|
171499
|
-
//#region ../../node_modules/.pnpm/@bufbuild+protobuf@2.12.
|
|
171515
|
+
//#region ../../node_modules/.pnpm/@bufbuild+protobuf@2.12.1/node_modules/@bufbuild/protobuf/dist/esm/reflect/unsafe.js
|
|
171500
171516
|
const IMPLICIT$3 = 2;
|
|
171501
171517
|
const unsafeLocal = Symbol.for("reflect unsafe local");
|
|
171502
171518
|
/**
|
|
@@ -171587,7 +171603,7 @@ function unsafeClear(target, field) {
|
|
|
171587
171603
|
}
|
|
171588
171604
|
}
|
|
171589
171605
|
//#endregion
|
|
171590
|
-
//#region ../../node_modules/.pnpm/@bufbuild+protobuf@2.12.
|
|
171606
|
+
//#region ../../node_modules/.pnpm/@bufbuild+protobuf@2.12.1/node_modules/@bufbuild/protobuf/dist/esm/reflect/guard.js
|
|
171591
171607
|
function isObject(arg) {
|
|
171592
171608
|
return arg !== null && typeof arg == "object" && !Array.isArray(arg);
|
|
171593
171609
|
}
|
|
@@ -171618,7 +171634,7 @@ function isReflectMessage(arg, messageDesc) {
|
|
|
171618
171634
|
return isObject(arg) && unsafeLocal in arg && "desc" in arg && isObject(arg.desc) && arg.desc.kind === "message" && (messageDesc === void 0 || arg.desc.typeName == messageDesc.typeName);
|
|
171619
171635
|
}
|
|
171620
171636
|
//#endregion
|
|
171621
|
-
//#region ../../node_modules/.pnpm/@bufbuild+protobuf@2.12.
|
|
171637
|
+
//#region ../../node_modules/.pnpm/@bufbuild+protobuf@2.12.1/node_modules/@bufbuild/protobuf/dist/esm/wkt/wrappers.js
|
|
171622
171638
|
function isWrapper(arg) {
|
|
171623
171639
|
return isWrapperTypeName(arg.$typeName);
|
|
171624
171640
|
}
|
|
@@ -171661,7 +171677,7 @@ function isWrapperTypeName(name) {
|
|
|
171661
171677
|
].includes(name.substring(16));
|
|
171662
171678
|
}
|
|
171663
171679
|
//#endregion
|
|
171664
|
-
//#region ../../node_modules/.pnpm/@bufbuild+protobuf@2.12.
|
|
171680
|
+
//#region ../../node_modules/.pnpm/@bufbuild+protobuf@2.12.1/node_modules/@bufbuild/protobuf/dist/esm/create.js
|
|
171665
171681
|
const EDITION_PROTO3$1 = 999;
|
|
171666
171682
|
const EDITION_PROTO2$1 = 998;
|
|
171667
171683
|
const IMPLICIT$2 = 2;
|
|
@@ -171812,7 +171828,7 @@ function createZeroField(field) {
|
|
|
171812
171828
|
return field.fieldKind == "scalar" ? scalarZeroValue(field.scalar, field.longAsString) : field.enum.values[0].number;
|
|
171813
171829
|
}
|
|
171814
171830
|
//#endregion
|
|
171815
|
-
//#region ../../node_modules/.pnpm/@bufbuild+protobuf@2.12.
|
|
171831
|
+
//#region ../../node_modules/.pnpm/@bufbuild+protobuf@2.12.1/node_modules/@bufbuild/protobuf/dist/esm/wire/text-format.js
|
|
171816
171832
|
/**
|
|
171817
171833
|
* Parse an enum value from the Protobuf text format.
|
|
171818
171834
|
*
|
|
@@ -171958,7 +171974,7 @@ function unescapeBytesDefaultValue(str) {
|
|
|
171958
171974
|
return new Uint8Array(b);
|
|
171959
171975
|
}
|
|
171960
171976
|
//#endregion
|
|
171961
|
-
//#region ../../node_modules/.pnpm/@bufbuild+protobuf@2.12.
|
|
171977
|
+
//#region ../../node_modules/.pnpm/@bufbuild+protobuf@2.12.1/node_modules/@bufbuild/protobuf/dist/esm/reflect/nested-types.js
|
|
171962
171978
|
/**
|
|
171963
171979
|
* Iterate over all types - enumerations, extensions, services, messages -
|
|
171964
171980
|
* and enumerations, extensions and messages nested in messages.
|
|
@@ -171985,7 +172001,7 @@ function* nestedTypes(desc) {
|
|
|
171985
172001
|
}
|
|
171986
172002
|
}
|
|
171987
172003
|
//#endregion
|
|
171988
|
-
//#region ../../node_modules/.pnpm/@bufbuild+protobuf@2.12.
|
|
172004
|
+
//#region ../../node_modules/.pnpm/@bufbuild+protobuf@2.12.1/node_modules/@bufbuild/protobuf/dist/esm/reflect/names.js
|
|
171989
172005
|
/**
|
|
171990
172006
|
* Converts snake_case to protoCamelCase according to the convention
|
|
171991
172007
|
* used by protoc to convert a field name to a JSON name.
|
|
@@ -172055,7 +172071,7 @@ function safeObjectProperty(name) {
|
|
|
172055
172071
|
return reservedObjectProperties.has(name) ? name + "$" : name;
|
|
172056
172072
|
}
|
|
172057
172073
|
//#endregion
|
|
172058
|
-
//#region ../../node_modules/.pnpm/@bufbuild+protobuf@2.12.
|
|
172074
|
+
//#region ../../node_modules/.pnpm/@bufbuild+protobuf@2.12.1/node_modules/@bufbuild/protobuf/dist/esm/registry.js
|
|
172059
172075
|
function createFileRegistry(...args) {
|
|
172060
172076
|
const registry = createBaseRegistry();
|
|
172061
172077
|
if (!args.length) return registry;
|
|
@@ -172748,7 +172764,7 @@ function assert(condition, msg) {
|
|
|
172748
172764
|
if (!condition) throw new Error(msg);
|
|
172749
172765
|
}
|
|
172750
172766
|
//#endregion
|
|
172751
|
-
//#region ../../node_modules/.pnpm/@bufbuild+protobuf@2.12.
|
|
172767
|
+
//#region ../../node_modules/.pnpm/@bufbuild+protobuf@2.12.1/node_modules/@bufbuild/protobuf/dist/esm/reflect/error.js
|
|
172752
172768
|
const errorNames = [
|
|
172753
172769
|
"FieldValueInvalidError",
|
|
172754
172770
|
"FieldListRangeError",
|
|
@@ -172765,7 +172781,7 @@ function isFieldError(arg) {
|
|
|
172765
172781
|
return arg instanceof Error && errorNames.includes(arg.name) && "field" in arg && typeof arg.field == "function";
|
|
172766
172782
|
}
|
|
172767
172783
|
//#endregion
|
|
172768
|
-
//#region ../../node_modules/.pnpm/@bufbuild+protobuf@2.12.
|
|
172784
|
+
//#region ../../node_modules/.pnpm/@bufbuild+protobuf@2.12.1/node_modules/@bufbuild/protobuf/dist/esm/wire/text-encoding.js
|
|
172769
172785
|
const symbol = Symbol.for("@bufbuild/protobuf/text-encoding");
|
|
172770
172786
|
function getTextEncoding() {
|
|
172771
172787
|
if (globalThis[symbol] == void 0) {
|
|
@@ -172795,7 +172811,7 @@ function getTextEncoding() {
|
|
|
172795
172811
|
return globalThis[symbol];
|
|
172796
172812
|
}
|
|
172797
172813
|
//#endregion
|
|
172798
|
-
//#region ../../node_modules/.pnpm/@bufbuild+protobuf@2.12.
|
|
172814
|
+
//#region ../../node_modules/.pnpm/@bufbuild+protobuf@2.12.1/node_modules/@bufbuild/protobuf/dist/esm/wire/binary-encoding.js
|
|
172799
172815
|
/**
|
|
172800
172816
|
* Protobuf binary format wire types.
|
|
172801
172817
|
*
|
|
@@ -173076,9 +173092,11 @@ var BinaryReader = class {
|
|
|
173076
173092
|
* Skip one element and return the skipped data.
|
|
173077
173093
|
*
|
|
173078
173094
|
* When skipping StartGroup, provide the tags field number to check for
|
|
173079
|
-
* matching field number in the EndGroup tag.
|
|
173095
|
+
* matching field number in the EndGroup tag. Recursion into nested groups
|
|
173096
|
+
* is guarded by the `recursionLimit` argument: When the limit is reached,
|
|
173097
|
+
* this method throws.
|
|
173080
173098
|
*/
|
|
173081
|
-
skip(wireType, fieldNo) {
|
|
173099
|
+
skip(wireType, fieldNo, recursionLimit = 100) {
|
|
173082
173100
|
let start = this.pos;
|
|
173083
173101
|
switch (wireType) {
|
|
173084
173102
|
case WireType.Varint:
|
|
@@ -173093,13 +173111,14 @@ var BinaryReader = class {
|
|
|
173093
173111
|
this.pos += len;
|
|
173094
173112
|
break;
|
|
173095
173113
|
case WireType.StartGroup:
|
|
173114
|
+
if (recursionLimit <= 0) throw new Error("maximum recursion depth reached");
|
|
173096
173115
|
for (;;) {
|
|
173097
173116
|
const [fn, wt] = this.tag();
|
|
173098
173117
|
if (wt === WireType.EndGroup) {
|
|
173099
173118
|
if (fieldNo !== void 0 && fn !== fieldNo) throw new Error("invalid end group tag");
|
|
173100
173119
|
break;
|
|
173101
173120
|
}
|
|
173102
|
-
this.skip(wt, fn);
|
|
173121
|
+
this.skip(wt, fn, recursionLimit - 1);
|
|
173103
173122
|
}
|
|
173104
173123
|
break;
|
|
173105
173124
|
default: throw new Error("cant skip wire type " + wireType);
|
|
@@ -173236,7 +173255,7 @@ function assertFloat32(arg) {
|
|
|
173236
173255
|
if (Number.isFinite(arg) && (arg > 34028234663852886e22 || arg < -34028234663852886e22)) throw new Error("invalid float32: " + arg);
|
|
173237
173256
|
}
|
|
173238
173257
|
//#endregion
|
|
173239
|
-
//#region ../../node_modules/.pnpm/@bufbuild+protobuf@2.12.
|
|
173258
|
+
//#region ../../node_modules/.pnpm/@bufbuild+protobuf@2.12.1/node_modules/@bufbuild/protobuf/dist/esm/reflect/reflect-check.js
|
|
173240
173259
|
/**
|
|
173241
173260
|
* Check whether the given field value is valid for the reflect API.
|
|
173242
173261
|
*/
|
|
@@ -173274,7 +173293,7 @@ function checkMapEntry(field, key, value) {
|
|
|
173274
173293
|
function checkSingular(field, value) {
|
|
173275
173294
|
if (field.scalar !== void 0) return checkScalarValue(value, field.scalar);
|
|
173276
173295
|
if (field.enum !== void 0) {
|
|
173277
|
-
if (field.enum.open) return
|
|
173296
|
+
if (field.enum.open) return checkScalarValue(value, ScalarType.INT32);
|
|
173278
173297
|
return field.enum.values.some((v) => v.number === value);
|
|
173279
173298
|
}
|
|
173280
173299
|
return isReflectMessage(value, field.message);
|
|
@@ -173385,7 +173404,7 @@ function scalarTypeDescription(scalar) {
|
|
|
173385
173404
|
}
|
|
173386
173405
|
}
|
|
173387
173406
|
//#endregion
|
|
173388
|
-
//#region ../../node_modules/.pnpm/@bufbuild+protobuf@2.12.
|
|
173407
|
+
//#region ../../node_modules/.pnpm/@bufbuild+protobuf@2.12.1/node_modules/@bufbuild/protobuf/dist/esm/reflect/reflect.js
|
|
173389
173408
|
/**
|
|
173390
173409
|
* Create a ReflectMessage.
|
|
173391
173410
|
*/
|
|
@@ -173738,17 +173757,22 @@ function wktValueToReflect(json) {
|
|
|
173738
173757
|
return value;
|
|
173739
173758
|
}
|
|
173740
173759
|
//#endregion
|
|
173741
|
-
//#region ../../node_modules/.pnpm/@bufbuild+protobuf@2.12.
|
|
173742
|
-
|
|
173743
|
-
|
|
173744
|
-
|
|
173760
|
+
//#region ../../node_modules/.pnpm/@bufbuild+protobuf@2.12.1/node_modules/@bufbuild/protobuf/dist/esm/from-binary.js
|
|
173761
|
+
/**
|
|
173762
|
+
* @private Only exported for getExtension()
|
|
173763
|
+
*/
|
|
173764
|
+
function makeReadContext$1(options) {
|
|
173765
|
+
return Object.assign(Object.assign({
|
|
173766
|
+
readUnknownFields: true,
|
|
173767
|
+
recursionLimit: 100
|
|
173768
|
+
}, options), { depth: 0 });
|
|
173745
173769
|
}
|
|
173746
173770
|
/**
|
|
173747
173771
|
* Parse serialized binary data.
|
|
173748
173772
|
*/
|
|
173749
173773
|
function fromBinary(schema, bytes, options) {
|
|
173750
173774
|
const msg = reflect(schema, void 0, false);
|
|
173751
|
-
readMessage$1(msg, new BinaryReader(bytes),
|
|
173775
|
+
readMessage$1(msg, new BinaryReader(bytes), makeReadContext$1(options), false, bytes.byteLength);
|
|
173752
173776
|
return msg.message;
|
|
173753
173777
|
}
|
|
173754
173778
|
/**
|
|
@@ -173759,8 +173783,9 @@ function fromBinary(schema, bytes, options) {
|
|
|
173759
173783
|
*
|
|
173760
173784
|
* @private
|
|
173761
173785
|
*/
|
|
173762
|
-
function readMessage$1(message, reader,
|
|
173786
|
+
function readMessage$1(message, reader, ctx, delimited, lengthOrDelimitedFieldNo) {
|
|
173763
173787
|
var _a;
|
|
173788
|
+
if (++ctx.depth > ctx.recursionLimit) throw new Error(`cannot decode ${message.desc} from binary: maximum recursion depth of ${ctx.recursionLimit} reached`);
|
|
173764
173789
|
const end = delimited ? reader.len : reader.pos + lengthOrDelimitedFieldNo;
|
|
173765
173790
|
let fieldNo;
|
|
173766
173791
|
let wireType;
|
|
@@ -173770,25 +173795,27 @@ function readMessage$1(message, reader, options, delimited, lengthOrDelimitedFie
|
|
|
173770
173795
|
if (delimited && wireType == WireType.EndGroup) break;
|
|
173771
173796
|
const field = message.findNumber(fieldNo);
|
|
173772
173797
|
if (!field) {
|
|
173773
|
-
const
|
|
173774
|
-
|
|
173798
|
+
const recursionLimit = ctx.recursionLimit - ctx.depth;
|
|
173799
|
+
const data = reader.skip(wireType, fieldNo, recursionLimit);
|
|
173800
|
+
if (ctx.readUnknownFields) unknownFields.push({
|
|
173775
173801
|
no: fieldNo,
|
|
173776
173802
|
wireType,
|
|
173777
173803
|
data
|
|
173778
173804
|
});
|
|
173779
173805
|
continue;
|
|
173780
173806
|
}
|
|
173781
|
-
readField$1(message, reader, field, wireType,
|
|
173807
|
+
readField$1(message, reader, field, wireType, ctx);
|
|
173782
173808
|
}
|
|
173783
173809
|
if (delimited) {
|
|
173784
173810
|
if (wireType != WireType.EndGroup || fieldNo !== lengthOrDelimitedFieldNo) throw new Error("invalid end group tag");
|
|
173785
173811
|
}
|
|
173786
173812
|
if (unknownFields.length > 0) message.setUnknown(unknownFields);
|
|
173813
|
+
ctx.depth--;
|
|
173787
173814
|
}
|
|
173788
173815
|
/**
|
|
173789
|
-
* @private
|
|
173816
|
+
* @private Only exported for getExtension()
|
|
173790
173817
|
*/
|
|
173791
|
-
function readField$1(message, reader, field, wireType,
|
|
173818
|
+
function readField$1(message, reader, field, wireType, ctx) {
|
|
173792
173819
|
var _a;
|
|
173793
173820
|
switch (field.fieldKind) {
|
|
173794
173821
|
case "scalar":
|
|
@@ -173798,7 +173825,7 @@ function readField$1(message, reader, field, wireType, options) {
|
|
|
173798
173825
|
const val = readScalar(reader, ScalarType.INT32);
|
|
173799
173826
|
if (field.enum.open) message.set(field, val);
|
|
173800
173827
|
else if (field.enum.values.some((v) => v.number === val)) message.set(field, val);
|
|
173801
|
-
else if (
|
|
173828
|
+
else if (ctx.readUnknownFields) {
|
|
173802
173829
|
const bytes = [];
|
|
173803
173830
|
varint32write(val, bytes);
|
|
173804
173831
|
const unknownFields = (_a = message.getUnknown()) !== null && _a !== void 0 ? _a : [];
|
|
@@ -173811,17 +173838,17 @@ function readField$1(message, reader, field, wireType, options) {
|
|
|
173811
173838
|
}
|
|
173812
173839
|
break;
|
|
173813
173840
|
case "message":
|
|
173814
|
-
message.set(field, readMessageField$1(reader,
|
|
173841
|
+
message.set(field, readMessageField$1(reader, ctx, field, message.get(field)));
|
|
173815
173842
|
break;
|
|
173816
173843
|
case "list":
|
|
173817
|
-
readListField$1(reader, wireType, message.get(field),
|
|
173844
|
+
readListField$1(reader, wireType, message.get(field), ctx);
|
|
173818
173845
|
break;
|
|
173819
173846
|
case "map":
|
|
173820
|
-
readMapEntry(reader, message.get(field),
|
|
173847
|
+
readMapEntry(reader, message.get(field), ctx);
|
|
173821
173848
|
break;
|
|
173822
173849
|
}
|
|
173823
173850
|
}
|
|
173824
|
-
function readMapEntry(reader, map,
|
|
173851
|
+
function readMapEntry(reader, map, ctx) {
|
|
173825
173852
|
const field = map.field();
|
|
173826
173853
|
let key;
|
|
173827
173854
|
let val;
|
|
@@ -173842,7 +173869,7 @@ function readMapEntry(reader, map, options) {
|
|
|
173842
173869
|
val = reader.int32();
|
|
173843
173870
|
break;
|
|
173844
173871
|
case "message":
|
|
173845
|
-
val = readMessageField$1(reader,
|
|
173872
|
+
val = readMessageField$1(reader, ctx, field);
|
|
173846
173873
|
break;
|
|
173847
173874
|
}
|
|
173848
173875
|
break;
|
|
@@ -173862,11 +173889,11 @@ function readMapEntry(reader, map, options) {
|
|
|
173862
173889
|
}
|
|
173863
173890
|
map.set(key, val);
|
|
173864
173891
|
}
|
|
173865
|
-
function readListField$1(reader, wireType, list,
|
|
173892
|
+
function readListField$1(reader, wireType, list, ctx) {
|
|
173866
173893
|
var _a;
|
|
173867
173894
|
const field = list.field();
|
|
173868
173895
|
if (field.listKind === "message") {
|
|
173869
|
-
list.add(readMessageField$1(reader,
|
|
173896
|
+
list.add(readMessageField$1(reader, ctx, field));
|
|
173870
173897
|
return;
|
|
173871
173898
|
}
|
|
173872
173899
|
const scalarType = (_a = field.scalar) !== null && _a !== void 0 ? _a : ScalarType.INT32;
|
|
@@ -173877,10 +173904,10 @@ function readListField$1(reader, wireType, list, options) {
|
|
|
173877
173904
|
const e = reader.uint32() + reader.pos;
|
|
173878
173905
|
while (reader.pos < e) list.add(readScalar(reader, scalarType, field.utf8Validation));
|
|
173879
173906
|
}
|
|
173880
|
-
function readMessageField$1(reader,
|
|
173907
|
+
function readMessageField$1(reader, ctx, field, mergeMessage) {
|
|
173881
173908
|
const delimited = field.delimitedEncoding;
|
|
173882
173909
|
const message = mergeMessage !== null && mergeMessage !== void 0 ? mergeMessage : reflect(field.message, void 0, false);
|
|
173883
|
-
readMessage$1(message, reader,
|
|
173910
|
+
readMessage$1(message, reader, ctx, delimited, delimited ? field.number : reader.uint32());
|
|
173884
173911
|
return message;
|
|
173885
173912
|
}
|
|
173886
173913
|
function readScalar(reader, type, validateUtf8 = false) {
|
|
@@ -173903,7 +173930,7 @@ function readScalar(reader, type, validateUtf8 = false) {
|
|
|
173903
173930
|
}
|
|
173904
173931
|
}
|
|
173905
173932
|
//#endregion
|
|
173906
|
-
//#region ../../node_modules/.pnpm/@bufbuild+protobuf@2.12.
|
|
173933
|
+
//#region ../../node_modules/.pnpm/@bufbuild+protobuf@2.12.1/node_modules/@bufbuild/protobuf/dist/esm/wire/base64-encoding.js
|
|
173907
173934
|
/**
|
|
173908
173935
|
* Decodes a base64 string to a byte array.
|
|
173909
173936
|
*
|
|
@@ -174019,7 +174046,7 @@ function getDecodeTable() {
|
|
|
174019
174046
|
return decodeTable;
|
|
174020
174047
|
}
|
|
174021
174048
|
//#endregion
|
|
174022
|
-
//#region ../../node_modules/.pnpm/@bufbuild+protobuf@2.12.
|
|
174049
|
+
//#region ../../node_modules/.pnpm/@bufbuild+protobuf@2.12.1/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/restore-json-names.js
|
|
174023
174050
|
/**
|
|
174024
174051
|
* @private
|
|
174025
174052
|
*/
|
|
@@ -174028,7 +174055,7 @@ function restoreJsonNames(message) {
|
|
|
174028
174055
|
message.nestedType.forEach(restoreJsonNames);
|
|
174029
174056
|
}
|
|
174030
174057
|
//#endregion
|
|
174031
|
-
//#region ../../node_modules/.pnpm/@bufbuild+protobuf@2.12.
|
|
174058
|
+
//#region ../../node_modules/.pnpm/@bufbuild+protobuf@2.12.1/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/boot.js
|
|
174032
174059
|
/**
|
|
174033
174060
|
* Hydrate a file descriptor for google/protobuf/descriptor.proto from a plain
|
|
174034
174061
|
* object.
|
|
@@ -174120,7 +174147,7 @@ function bootEnumDescriptorProto(init) {
|
|
|
174120
174147
|
});
|
|
174121
174148
|
}
|
|
174122
174149
|
//#endregion
|
|
174123
|
-
//#region ../../node_modules/.pnpm/@bufbuild+protobuf@2.12.
|
|
174150
|
+
//#region ../../node_modules/.pnpm/@bufbuild+protobuf@2.12.1/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/message.js
|
|
174124
174151
|
/**
|
|
174125
174152
|
* Hydrate a message descriptor.
|
|
174126
174153
|
*
|
|
@@ -174130,7 +174157,7 @@ function messageDesc(file, path, ...paths) {
|
|
|
174130
174157
|
return paths.reduce((acc, cur) => acc.nestedMessages[cur], file.messages[path]);
|
|
174131
174158
|
}
|
|
174132
174159
|
//#endregion
|
|
174133
|
-
//#region ../../node_modules/.pnpm/@bufbuild+protobuf@2.12.
|
|
174160
|
+
//#region ../../node_modules/.pnpm/@bufbuild+protobuf@2.12.1/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/descriptor_pb.js
|
|
174134
174161
|
/**
|
|
174135
174162
|
* Describes the file google/protobuf/descriptor.proto.
|
|
174136
174163
|
*/
|
|
@@ -176719,7 +176746,7 @@ var SymbolVisibility;
|
|
|
176719
176746
|
SymbolVisibility[SymbolVisibility["VISIBILITY_EXPORT"] = 2] = "VISIBILITY_EXPORT";
|
|
176720
176747
|
})(SymbolVisibility || (SymbolVisibility = {}));
|
|
176721
176748
|
//#endregion
|
|
176722
|
-
//#region ../../node_modules/.pnpm/@bufbuild+protobuf@2.12.
|
|
176749
|
+
//#region ../../node_modules/.pnpm/@bufbuild+protobuf@2.12.1/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/file.js
|
|
176723
176750
|
/**
|
|
176724
176751
|
* Hydrate a file descriptor.
|
|
176725
176752
|
*
|
|
@@ -176733,7 +176760,7 @@ function fileDesc(b64, imports) {
|
|
|
176733
176760
|
return createFileRegistry(root, (protoFileName) => imports === null || imports === void 0 ? void 0 : imports.find((f) => f.proto.name === protoFileName)).getFile(root.name);
|
|
176734
176761
|
}
|
|
176735
176762
|
//#endregion
|
|
176736
|
-
//#region ../../node_modules/.pnpm/@bufbuild+protobuf@2.12.
|
|
176763
|
+
//#region ../../node_modules/.pnpm/@bufbuild+protobuf@2.12.1/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/timestamp_pb.js
|
|
176737
176764
|
/**
|
|
176738
176765
|
* Describes the file google/protobuf/timestamp.proto.
|
|
176739
176766
|
*/
|
|
@@ -176744,7 +176771,7 @@ const file_google_protobuf_timestamp = /*@__PURE__*/ fileDesc("Ch9nb29nbGUvcHJvd
|
|
|
176744
176771
|
*/
|
|
176745
176772
|
const TimestampSchema = /*@__PURE__*/ messageDesc(file_google_protobuf_timestamp, 0);
|
|
176746
176773
|
//#endregion
|
|
176747
|
-
//#region ../../node_modules/.pnpm/@bufbuild+protobuf@2.12.
|
|
176774
|
+
//#region ../../node_modules/.pnpm/@bufbuild+protobuf@2.12.1/node_modules/@bufbuild/protobuf/dist/esm/wkt/timestamp.js
|
|
176748
176775
|
/**
|
|
176749
176776
|
* Create a google.protobuf.Timestamp message from an ECMAScript Date.
|
|
176750
176777
|
*/
|
|
@@ -176762,7 +176789,7 @@ function timestampFromMs(timestampMs) {
|
|
|
176762
176789
|
});
|
|
176763
176790
|
}
|
|
176764
176791
|
//#endregion
|
|
176765
|
-
//#region ../../node_modules/.pnpm/@bufbuild+protobuf@2.12.
|
|
176792
|
+
//#region ../../node_modules/.pnpm/@bufbuild+protobuf@2.12.1/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/any_pb.js
|
|
176766
176793
|
/**
|
|
176767
176794
|
* Describes the file google/protobuf/any.proto.
|
|
176768
176795
|
*/
|
|
@@ -176773,7 +176800,7 @@ const file_google_protobuf_any = /*@__PURE__*/ fileDesc("Chlnb29nbGUvcHJvdG9idWY
|
|
|
176773
176800
|
*/
|
|
176774
176801
|
const AnySchema = /*@__PURE__*/ messageDesc(file_google_protobuf_any, 0);
|
|
176775
176802
|
//#endregion
|
|
176776
|
-
//#region ../../node_modules/.pnpm/@bufbuild+protobuf@2.12.
|
|
176803
|
+
//#region ../../node_modules/.pnpm/@bufbuild+protobuf@2.12.1/node_modules/@bufbuild/protobuf/dist/esm/to-binary.js
|
|
176777
176804
|
const LEGACY_REQUIRED$1 = 3;
|
|
176778
176805
|
const writeDefaults = { writeUnknownFields: true };
|
|
176779
176806
|
function makeWriteOptions$1(options) {
|
|
@@ -176921,7 +176948,7 @@ function writeTypeOfScalar(type) {
|
|
|
176921
176948
|
}
|
|
176922
176949
|
}
|
|
176923
176950
|
//#endregion
|
|
176924
|
-
//#region ../../node_modules/.pnpm/@bufbuild+protobuf@2.12.
|
|
176951
|
+
//#region ../../node_modules/.pnpm/@bufbuild+protobuf@2.12.1/node_modules/@bufbuild/protobuf/dist/esm/wkt/any.js
|
|
176925
176952
|
function anyPack(schema, message, into) {
|
|
176926
176953
|
let ret = false;
|
|
176927
176954
|
if (!into) {
|
|
@@ -176952,7 +176979,7 @@ function typeUrlToName(url) {
|
|
|
176952
176979
|
return name;
|
|
176953
176980
|
}
|
|
176954
176981
|
//#endregion
|
|
176955
|
-
//#region ../../node_modules/.pnpm/@bufbuild+protobuf@2.12.
|
|
176982
|
+
//#region ../../node_modules/.pnpm/@bufbuild+protobuf@2.12.1/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/empty_pb.js
|
|
176956
176983
|
/**
|
|
176957
176984
|
* Describes the file google/protobuf/empty.proto.
|
|
176958
176985
|
*/
|
|
@@ -176963,7 +176990,7 @@ const file_google_protobuf_empty = /*@__PURE__*/ fileDesc("Chtnb29nbGUvcHJvdG9id
|
|
|
176963
176990
|
*/
|
|
176964
176991
|
const EmptySchema = /*@__PURE__*/ messageDesc(file_google_protobuf_empty, 0);
|
|
176965
176992
|
//#endregion
|
|
176966
|
-
//#region ../../node_modules/.pnpm/@bufbuild+protobuf@2.12.
|
|
176993
|
+
//#region ../../node_modules/.pnpm/@bufbuild+protobuf@2.12.1/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/struct_pb.js
|
|
176967
176994
|
/**
|
|
176968
176995
|
* Describes the file google/protobuf/struct.proto.
|
|
176969
176996
|
*/
|
|
@@ -177001,7 +177028,7 @@ var NullValue;
|
|
|
177001
177028
|
NullValue[NullValue["NULL_VALUE"] = 0] = "NULL_VALUE";
|
|
177002
177029
|
})(NullValue || (NullValue = {}));
|
|
177003
177030
|
//#endregion
|
|
177004
|
-
//#region ../../node_modules/.pnpm/@bufbuild+protobuf@2.12.
|
|
177031
|
+
//#region ../../node_modules/.pnpm/@bufbuild+protobuf@2.12.1/node_modules/@bufbuild/protobuf/dist/esm/extensions.js
|
|
177005
177032
|
/**
|
|
177006
177033
|
* Retrieve an extension value from a message.
|
|
177007
177034
|
*
|
|
@@ -177016,11 +177043,12 @@ var NullValue;
|
|
|
177016
177043
|
*
|
|
177017
177044
|
* If the extension does not extend the given message, an error is raised.
|
|
177018
177045
|
*/
|
|
177019
|
-
function getExtension(message, extension) {
|
|
177046
|
+
function getExtension(message, extension, options) {
|
|
177020
177047
|
assertExtendee(extension, message);
|
|
177021
177048
|
const ufs = filterUnknownFields(message.$unknown, extension);
|
|
177022
177049
|
const [container, field, get] = createExtensionContainer(extension);
|
|
177023
|
-
|
|
177050
|
+
const ctx = makeReadContext$1(options);
|
|
177051
|
+
for (const uf of ufs) readField$1(container, new BinaryReader(uf.data), field, uf.wireType, ctx);
|
|
177024
177052
|
return get();
|
|
177025
177053
|
}
|
|
177026
177054
|
/**
|
|
@@ -177125,7 +177153,7 @@ function assertExtendee(extension, message) {
|
|
|
177125
177153
|
if (extension.extendee.typeName != message.$typeName) throw new Error(`extension ${extension.typeName} can only be applied to message ${extension.extendee.typeName}`);
|
|
177126
177154
|
}
|
|
177127
177155
|
//#endregion
|
|
177128
|
-
//#region ../../node_modules/.pnpm/@bufbuild+protobuf@2.12.
|
|
177156
|
+
//#region ../../node_modules/.pnpm/@bufbuild+protobuf@2.12.1/node_modules/@bufbuild/protobuf/dist/esm/to-json.js
|
|
177129
177157
|
const LEGACY_REQUIRED = 3;
|
|
177130
177158
|
const IMPLICIT = 2;
|
|
177131
177159
|
const jsonWriteDefaults = {
|
|
@@ -177347,18 +177375,24 @@ function timestampToJson(val) {
|
|
|
177347
177375
|
return new Date(ms).toISOString().replace(".000Z", z);
|
|
177348
177376
|
}
|
|
177349
177377
|
//#endregion
|
|
177350
|
-
//#region ../../node_modules/.pnpm/@bufbuild+protobuf@2.12.
|
|
177351
|
-
|
|
177352
|
-
|
|
177353
|
-
|
|
177378
|
+
//#region ../../node_modules/.pnpm/@bufbuild+protobuf@2.12.1/node_modules/@bufbuild/protobuf/dist/esm/from-json.js
|
|
177379
|
+
function makeReadContext(options) {
|
|
177380
|
+
return Object.assign(Object.assign({
|
|
177381
|
+
ignoreUnknownFields: false,
|
|
177382
|
+
recursionLimit: 100
|
|
177383
|
+
}, options), { depth: 0 });
|
|
177354
177384
|
}
|
|
177355
177385
|
/**
|
|
177356
177386
|
* Parse a message from a JSON value.
|
|
177387
|
+
*
|
|
177388
|
+
* Duplicate keys are rejected, but a value parsed by JSON.parse has already
|
|
177389
|
+
* dropped duplicates (the last one wins). Use `fromJsonString` for strict
|
|
177390
|
+
* duplicate-key checking.
|
|
177357
177391
|
*/
|
|
177358
177392
|
function fromJson(schema, json, options) {
|
|
177359
177393
|
const msg = reflect(schema);
|
|
177360
177394
|
try {
|
|
177361
|
-
readMessage(msg, json,
|
|
177395
|
+
readMessage(msg, json, makeReadContext(options));
|
|
177362
177396
|
} catch (e) {
|
|
177363
177397
|
if (isFieldError(e)) throw new Error(`cannot decode ${e.field()} from JSON: ${e.message}`, { cause: e });
|
|
177364
177398
|
throw e;
|
|
@@ -177375,95 +177409,106 @@ function getJsonField(desc, jsonKey) {
|
|
|
177375
177409
|
}
|
|
177376
177410
|
return (_a = messageJsonFields.get(desc)) === null || _a === void 0 ? void 0 : _a.get(jsonKey);
|
|
177377
177411
|
}
|
|
177378
|
-
function readMessage(msg, json,
|
|
177412
|
+
function readMessage(msg, json, ctx) {
|
|
177379
177413
|
var _a;
|
|
177380
|
-
if (
|
|
177414
|
+
if (++ctx.depth > ctx.recursionLimit) throw new Error(`cannot decode ${msg.desc} from JSON: maximum recursion depth of ${ctx.recursionLimit} reached`);
|
|
177415
|
+
if (tryWktFromJson(msg, json, ctx)) {
|
|
177416
|
+
ctx.depth--;
|
|
177417
|
+
return;
|
|
177418
|
+
}
|
|
177381
177419
|
if (json == null || Array.isArray(json) || typeof json != "object") throw new Error(`cannot decode ${msg.desc} from JSON: ${formatVal(json)}`);
|
|
177382
177420
|
const oneofSeen = /* @__PURE__ */ new Map();
|
|
177421
|
+
const fieldSeen = /* @__PURE__ */ new Set();
|
|
177383
177422
|
for (const [jsonKey, jsonValue] of Object.entries(json)) {
|
|
177384
177423
|
const field = getJsonField(msg.desc, jsonKey);
|
|
177385
177424
|
if (field) {
|
|
177425
|
+
if (fieldSeen.has(field)) throw new FieldError(field, "set multiple times");
|
|
177426
|
+
fieldSeen.add(field);
|
|
177427
|
+
if (field.oneof && jsonValue === null && field.fieldKind == "scalar") continue;
|
|
177386
177428
|
if (field.oneof) {
|
|
177387
|
-
if (jsonValue === null && field.fieldKind == "scalar") continue;
|
|
177388
177429
|
const seen = oneofSeen.get(field.oneof);
|
|
177389
177430
|
if (seen !== void 0) throw new FieldError(field.oneof, `oneof set multiple times by ${seen.name} and ${field.name}`);
|
|
177390
177431
|
oneofSeen.set(field.oneof, field);
|
|
177391
177432
|
}
|
|
177392
|
-
readField(msg, field, jsonValue,
|
|
177433
|
+
readField(msg, field, jsonValue, ctx);
|
|
177393
177434
|
} else {
|
|
177394
177435
|
let extension = void 0;
|
|
177395
|
-
if (jsonKey.startsWith("[") && jsonKey.endsWith("]") && (extension = (_a =
|
|
177436
|
+
if (jsonKey.startsWith("[") && jsonKey.endsWith("]") && (extension = (_a = ctx.registry) === null || _a === void 0 ? void 0 : _a.getExtension(jsonKey.substring(1, jsonKey.length - 1))) && extension.extendee.typeName === msg.desc.typeName) {
|
|
177396
177437
|
const [container, field, get] = createExtensionContainer(extension);
|
|
177397
|
-
readField(container, field, jsonValue,
|
|
177438
|
+
readField(container, field, jsonValue, ctx);
|
|
177398
177439
|
setExtension(msg.message, extension, get());
|
|
177399
177440
|
}
|
|
177400
|
-
if (!extension && !
|
|
177441
|
+
if (!extension && !ctx.ignoreUnknownFields) throw new Error(`cannot decode ${msg.desc} from JSON: key "${jsonKey}" is unknown`);
|
|
177401
177442
|
}
|
|
177402
177443
|
}
|
|
177444
|
+
ctx.depth--;
|
|
177403
177445
|
}
|
|
177404
|
-
function readField(msg, field, json,
|
|
177446
|
+
function readField(msg, field, json, ctx) {
|
|
177405
177447
|
switch (field.fieldKind) {
|
|
177406
177448
|
case "scalar":
|
|
177407
177449
|
readScalarField(msg, field, json);
|
|
177408
177450
|
break;
|
|
177409
177451
|
case "enum":
|
|
177410
|
-
readEnumField(msg, field, json,
|
|
177452
|
+
readEnumField(msg, field, json, ctx);
|
|
177411
177453
|
break;
|
|
177412
177454
|
case "message":
|
|
177413
|
-
readMessageField(msg, field, json,
|
|
177455
|
+
readMessageField(msg, field, json, ctx);
|
|
177414
177456
|
break;
|
|
177415
177457
|
case "list":
|
|
177416
|
-
readListField(msg.get(field), json,
|
|
177458
|
+
readListField(msg.get(field), json, ctx);
|
|
177417
177459
|
break;
|
|
177418
177460
|
case "map":
|
|
177419
|
-
readMapField(msg.get(field), json,
|
|
177461
|
+
readMapField(msg.get(field), json, ctx);
|
|
177420
177462
|
break;
|
|
177421
177463
|
}
|
|
177422
177464
|
}
|
|
177423
|
-
function readListOrMapItem(field, json,
|
|
177465
|
+
function readListOrMapItem(field, json, ctx) {
|
|
177424
177466
|
if (field.scalar && json !== null) return scalarFromJson(field, json);
|
|
177425
177467
|
if (field.message && !isResetSentinelNullValue(field, json)) {
|
|
177426
177468
|
const msgValue = reflect(field.message);
|
|
177427
|
-
readMessage(msgValue, json,
|
|
177469
|
+
readMessage(msgValue, json, ctx);
|
|
177428
177470
|
return msgValue;
|
|
177429
177471
|
}
|
|
177430
|
-
if (field.enum && !isResetSentinelNullValue(field, json)) return readEnum(field.enum, json,
|
|
177472
|
+
if (field.enum && !isResetSentinelNullValue(field, json)) return readEnum(field.enum, json, ctx.ignoreUnknownFields);
|
|
177431
177473
|
throw new FieldError(field, `${field.fieldKind === "list" ? "list item" : "map value"} must not be null`);
|
|
177432
177474
|
}
|
|
177433
|
-
function readMapField(map, json,
|
|
177475
|
+
function readMapField(map, json, ctx) {
|
|
177434
177476
|
if (json === null) return;
|
|
177435
177477
|
const field = map.field();
|
|
177436
177478
|
if (typeof json != "object" || Array.isArray(json)) throw new FieldError(field, "expected object, got " + formatVal(json));
|
|
177479
|
+
const seen = /* @__PURE__ */ new Set();
|
|
177437
177480
|
for (const [jsonMapKey, jsonMapValue] of Object.entries(json)) {
|
|
177438
177481
|
const key = mapKeyFromJson(field.mapKey, jsonMapKey);
|
|
177439
|
-
|
|
177482
|
+
if (seen.has(key)) throw new FieldError(field, `duplicate map key "${jsonMapKey}"`);
|
|
177483
|
+
seen.add(key);
|
|
177484
|
+
const value = readListOrMapItem(field, jsonMapValue, ctx);
|
|
177440
177485
|
if (value !== tokenIgnoredUnknownEnum) map.set(key, value);
|
|
177441
177486
|
}
|
|
177442
177487
|
}
|
|
177443
|
-
function readListField(list, json,
|
|
177488
|
+
function readListField(list, json, ctx) {
|
|
177444
177489
|
if (json === null) return;
|
|
177445
177490
|
const field = list.field();
|
|
177446
177491
|
if (!Array.isArray(json)) throw new FieldError(field, "expected Array, got " + formatVal(json));
|
|
177447
177492
|
for (const jsonItem of json) {
|
|
177448
|
-
const value = readListOrMapItem(field, jsonItem,
|
|
177493
|
+
const value = readListOrMapItem(field, jsonItem, ctx);
|
|
177449
177494
|
if (value !== tokenIgnoredUnknownEnum) list.add(value);
|
|
177450
177495
|
}
|
|
177451
177496
|
}
|
|
177452
|
-
function readMessageField(msg, field, json,
|
|
177497
|
+
function readMessageField(msg, field, json, ctx) {
|
|
177453
177498
|
if (isResetSentinelNullValue(field, json)) {
|
|
177454
177499
|
msg.clear(field);
|
|
177455
177500
|
return;
|
|
177456
177501
|
}
|
|
177457
177502
|
const msgValue = msg.isSet(field) ? msg.get(field) : reflect(field.message);
|
|
177458
|
-
readMessage(msgValue, json,
|
|
177503
|
+
readMessage(msgValue, json, ctx);
|
|
177459
177504
|
msg.set(field, msgValue);
|
|
177460
177505
|
}
|
|
177461
|
-
function readEnumField(msg, field, json,
|
|
177506
|
+
function readEnumField(msg, field, json, ctx) {
|
|
177462
177507
|
if (isResetSentinelNullValue(field, json)) {
|
|
177463
177508
|
msg.clear(field);
|
|
177464
177509
|
return;
|
|
177465
177510
|
}
|
|
177466
|
-
const enumValue = readEnum(field.enum, json,
|
|
177511
|
+
const enumValue = readEnum(field.enum, json, ctx.ignoreUnknownFields);
|
|
177467
177512
|
if (enumValue !== tokenIgnoredUnknownEnum) msg.set(field, enumValue);
|
|
177468
177513
|
}
|
|
177469
177514
|
function readScalarField(msg, field, json) {
|
|
@@ -177546,7 +177591,8 @@ function scalarFromJson(field, json) {
|
|
|
177546
177591
|
}
|
|
177547
177592
|
/**
|
|
177548
177593
|
* Try to parse a JSON value to a map key for the reflect API.
|
|
177549
|
-
*
|
|
177594
|
+
* Canonicalizes 64-bit integers given as string, so that "01 and "1" are one
|
|
177595
|
+
* key, and duplicates can raise an error.
|
|
177550
177596
|
* Returns the input if the JSON value cannot be converted.
|
|
177551
177597
|
*/
|
|
177552
177598
|
function mapKeyFromJson(type, jsonString) {
|
|
@@ -177562,6 +177608,11 @@ function mapKeyFromJson(type, jsonString) {
|
|
|
177562
177608
|
case ScalarType.UINT32:
|
|
177563
177609
|
case ScalarType.SFIXED32:
|
|
177564
177610
|
case ScalarType.SINT32: return int32FromJson(jsonString);
|
|
177611
|
+
case ScalarType.INT64:
|
|
177612
|
+
case ScalarType.SINT64:
|
|
177613
|
+
case ScalarType.SFIXED64:
|
|
177614
|
+
case ScalarType.UINT64:
|
|
177615
|
+
case ScalarType.FIXED64: return /^-?0+$/.test(jsonString) ? "0" : jsonString.replace(/^(-?)0+(?=\d)/, "$1");
|
|
177565
177616
|
default: return jsonString;
|
|
177566
177617
|
}
|
|
177567
177618
|
}
|
|
@@ -177580,11 +177631,11 @@ function int32FromJson(json) {
|
|
|
177580
177631
|
}
|
|
177581
177632
|
return json;
|
|
177582
177633
|
}
|
|
177583
|
-
function tryWktFromJson(msg, jsonValue,
|
|
177634
|
+
function tryWktFromJson(msg, jsonValue, ctx) {
|
|
177584
177635
|
if (!msg.desc.typeName.startsWith("google.protobuf.")) return false;
|
|
177585
177636
|
switch (msg.desc.typeName) {
|
|
177586
177637
|
case "google.protobuf.Any":
|
|
177587
|
-
anyFromJson(msg.message, jsonValue,
|
|
177638
|
+
anyFromJson(msg.message, jsonValue, ctx);
|
|
177588
177639
|
return true;
|
|
177589
177640
|
case "google.protobuf.Timestamp":
|
|
177590
177641
|
timestampFromJson(msg.message, jsonValue);
|
|
@@ -177596,13 +177647,13 @@ function tryWktFromJson(msg, jsonValue, opts) {
|
|
|
177596
177647
|
fieldMaskFromJson(msg.message, jsonValue);
|
|
177597
177648
|
return true;
|
|
177598
177649
|
case "google.protobuf.Struct":
|
|
177599
|
-
structFromJson(msg.message, jsonValue);
|
|
177650
|
+
structFromJson(msg.message, jsonValue, ctx);
|
|
177600
177651
|
return true;
|
|
177601
177652
|
case "google.protobuf.Value":
|
|
177602
|
-
valueFromJson(msg.message, jsonValue);
|
|
177653
|
+
valueFromJson(msg.message, jsonValue, ctx);
|
|
177603
177654
|
return true;
|
|
177604
177655
|
case "google.protobuf.ListValue":
|
|
177605
|
-
listValueFromJson(msg.message, jsonValue);
|
|
177656
|
+
listValueFromJson(msg.message, jsonValue, ctx);
|
|
177606
177657
|
return true;
|
|
177607
177658
|
default:
|
|
177608
177659
|
if (isWrapperDesc(msg.desc)) {
|
|
@@ -177614,7 +177665,7 @@ function tryWktFromJson(msg, jsonValue, opts) {
|
|
|
177614
177665
|
return false;
|
|
177615
177666
|
}
|
|
177616
177667
|
}
|
|
177617
|
-
function anyFromJson(any, json,
|
|
177668
|
+
function anyFromJson(any, json, ctx) {
|
|
177618
177669
|
var _a;
|
|
177619
177670
|
if (json === null || Array.isArray(json) || typeof json != "object") throw new Error(`cannot decode message ${any.$typeName} from JSON: expected object but got ${formatVal(json)}`);
|
|
177620
177671
|
if (Object.keys(json).length == 0) return;
|
|
@@ -177622,16 +177673,16 @@ function anyFromJson(any, json, opts) {
|
|
|
177622
177673
|
if (typeof typeUrl != "string" || typeUrl == "") throw new Error(`cannot decode message ${any.$typeName} from JSON: "@type" is empty`);
|
|
177623
177674
|
const typeName = typeUrl.includes("/") ? typeUrl.substring(typeUrl.lastIndexOf("/") + 1) : typeUrl;
|
|
177624
177675
|
if (!typeName.length) throw new Error(`cannot decode message ${any.$typeName} from JSON: "@type" is invalid`);
|
|
177625
|
-
const desc = (_a =
|
|
177676
|
+
const desc = (_a = ctx.registry) === null || _a === void 0 ? void 0 : _a.getMessage(typeName);
|
|
177626
177677
|
if (!desc) throw new Error(`cannot decode message ${any.$typeName} from JSON: ${typeUrl} is not in the type registry`);
|
|
177627
177678
|
const msg = reflect(desc);
|
|
177628
177679
|
if (hasCustomJsonRepresentation(desc) && Object.prototype.hasOwnProperty.call(json, "value")) {
|
|
177629
177680
|
const value = json.value;
|
|
177630
|
-
readMessage(msg, value,
|
|
177681
|
+
readMessage(msg, value, ctx);
|
|
177631
177682
|
} else {
|
|
177632
177683
|
const copy = Object.assign({}, json);
|
|
177633
177684
|
delete copy["@type"];
|
|
177634
|
-
readMessage(msg, copy,
|
|
177685
|
+
readMessage(msg, copy, ctx);
|
|
177635
177686
|
}
|
|
177636
177687
|
anyPack(msg.desc, msg.message, any);
|
|
177637
177688
|
}
|
|
@@ -177666,15 +177717,16 @@ function fieldMaskFromJson(fieldMask, json) {
|
|
|
177666
177717
|
return protoSnakeCase(path);
|
|
177667
177718
|
});
|
|
177668
177719
|
}
|
|
177669
|
-
function structFromJson(struct, json) {
|
|
177720
|
+
function structFromJson(struct, json, ctx) {
|
|
177670
177721
|
if (typeof json != "object" || json == null || Array.isArray(json)) throw new Error(`cannot decode message ${struct.$typeName} from JSON ${formatVal(json)}`);
|
|
177671
177722
|
for (const [k, v] of Object.entries(json)) {
|
|
177672
177723
|
const parsedV = create(ValueSchema);
|
|
177673
|
-
valueFromJson(parsedV, v);
|
|
177724
|
+
valueFromJson(parsedV, v, ctx);
|
|
177674
177725
|
struct.fields[k] = parsedV;
|
|
177675
177726
|
}
|
|
177676
177727
|
}
|
|
177677
|
-
function valueFromJson(value, json) {
|
|
177728
|
+
function valueFromJson(value, json, ctx) {
|
|
177729
|
+
if (++ctx.depth > ctx.recursionLimit) throw new Error(`cannot decode ${value.$typeName} from JSON: maximum recursion depth of ${ctx.recursionLimit} reached`);
|
|
177678
177730
|
switch (typeof json) {
|
|
177679
177731
|
case "number":
|
|
177680
177732
|
value.kind = {
|
|
@@ -177701,14 +177753,14 @@ function valueFromJson(value, json) {
|
|
|
177701
177753
|
};
|
|
177702
177754
|
else if (Array.isArray(json)) {
|
|
177703
177755
|
const listValue = create(ListValueSchema);
|
|
177704
|
-
listValueFromJson(listValue, json);
|
|
177756
|
+
listValueFromJson(listValue, json, ctx);
|
|
177705
177757
|
value.kind = {
|
|
177706
177758
|
case: "listValue",
|
|
177707
177759
|
value: listValue
|
|
177708
177760
|
};
|
|
177709
177761
|
} else {
|
|
177710
177762
|
const struct = create(StructSchema);
|
|
177711
|
-
structFromJson(struct, json);
|
|
177763
|
+
structFromJson(struct, json, ctx);
|
|
177712
177764
|
value.kind = {
|
|
177713
177765
|
case: "structValue",
|
|
177714
177766
|
value: struct
|
|
@@ -177717,18 +177769,19 @@ function valueFromJson(value, json) {
|
|
|
177717
177769
|
break;
|
|
177718
177770
|
default: throw new Error(`cannot decode message ${value.$typeName} from JSON ${formatVal(json)}`);
|
|
177719
177771
|
}
|
|
177772
|
+
ctx.depth--;
|
|
177720
177773
|
return value;
|
|
177721
177774
|
}
|
|
177722
|
-
function listValueFromJson(listValue, json) {
|
|
177775
|
+
function listValueFromJson(listValue, json, ctx) {
|
|
177723
177776
|
if (!Array.isArray(json)) throw new Error(`cannot decode message ${listValue.$typeName} from JSON ${formatVal(json)}`);
|
|
177724
177777
|
for (const e of json) {
|
|
177725
177778
|
const value = create(ValueSchema);
|
|
177726
|
-
valueFromJson(value, e);
|
|
177779
|
+
valueFromJson(value, e, ctx);
|
|
177727
177780
|
listValue.values.push(value);
|
|
177728
177781
|
}
|
|
177729
177782
|
}
|
|
177730
177783
|
//#endregion
|
|
177731
|
-
//#region ../../node_modules/.pnpm/@connectrpc+connect@2.1.2_@bufbuild+protobuf@2.12.
|
|
177784
|
+
//#region ../../node_modules/.pnpm/@connectrpc+connect@2.1.2_@bufbuild+protobuf@2.12.1/node_modules/@connectrpc/connect/dist/esm/protocol-connect/code-string.js
|
|
177732
177785
|
/**
|
|
177733
177786
|
* codeToString returns the string representation of a Code.
|
|
177734
177787
|
*
|
|
@@ -177740,7 +177793,7 @@ function codeToString(value) {
|
|
|
177740
177793
|
return name[0].toLowerCase() + name.substring(1).replace(/[A-Z]/g, (c) => "_" + c.toLowerCase());
|
|
177741
177794
|
}
|
|
177742
177795
|
//#endregion
|
|
177743
|
-
//#region ../../node_modules/.pnpm/@connectrpc+connect@2.1.2_@bufbuild+protobuf@2.12.
|
|
177796
|
+
//#region ../../node_modules/.pnpm/@connectrpc+connect@2.1.2_@bufbuild+protobuf@2.12.1/node_modules/@connectrpc/connect/dist/esm/connect-error.js
|
|
177744
177797
|
/**
|
|
177745
177798
|
* ConnectError captures four pieces of information: a Code, an error
|
|
177746
177799
|
* message, an optional cause of the error, and an optional collection of
|
|
@@ -177820,7 +177873,7 @@ function createMessage(message, code) {
|
|
|
177820
177873
|
return message.length ? `[${codeToString(code)}] ${message}` : `[${codeToString(code)}]`;
|
|
177821
177874
|
}
|
|
177822
177875
|
//#endregion
|
|
177823
|
-
//#region ../../node_modules/.pnpm/@connectrpc+connect@2.1.2_@bufbuild+protobuf@2.12.
|
|
177876
|
+
//#region ../../node_modules/.pnpm/@connectrpc+connect@2.1.2_@bufbuild+protobuf@2.12.1/node_modules/@connectrpc/connect/dist/esm/any-client.js
|
|
177824
177877
|
/**
|
|
177825
177878
|
* Create any client for the given service.
|
|
177826
177879
|
*
|
|
@@ -177837,7 +177890,7 @@ function makeAnyClient(service, createMethod) {
|
|
|
177837
177890
|
return client;
|
|
177838
177891
|
}
|
|
177839
177892
|
//#endregion
|
|
177840
|
-
//#region ../../node_modules/.pnpm/@connectrpc+connect@2.1.2_@bufbuild+protobuf@2.12.
|
|
177893
|
+
//#region ../../node_modules/.pnpm/@connectrpc+connect@2.1.2_@bufbuild+protobuf@2.12.1/node_modules/@connectrpc/connect/dist/esm/protocol/async-iterable.js
|
|
177841
177894
|
var __asyncValues$1 = function(o) {
|
|
177842
177895
|
if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
|
|
177843
177896
|
var m = o[Symbol.asyncIterator], i;
|
|
@@ -177936,7 +177989,7 @@ function createAsyncIterable(items) {
|
|
|
177936
177989
|
});
|
|
177937
177990
|
}
|
|
177938
177991
|
//#endregion
|
|
177939
|
-
//#region ../../node_modules/.pnpm/@connectrpc+connect@2.1.2_@bufbuild+protobuf@2.12.
|
|
177992
|
+
//#region ../../node_modules/.pnpm/@connectrpc+connect@2.1.2_@bufbuild+protobuf@2.12.1/node_modules/@connectrpc/connect/dist/esm/promise-client.js
|
|
177940
177993
|
var __asyncValues = function(o) {
|
|
177941
177994
|
if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
|
|
177942
177995
|
var m = o[Symbol.asyncIterator], i;
|
|
@@ -178097,7 +178150,7 @@ function handleStreamResponse(stream, options) {
|
|
|
178097
178150
|
return { [Symbol.asyncIterator]: () => ({ next: () => it.next() }) };
|
|
178098
178151
|
}
|
|
178099
178152
|
//#endregion
|
|
178100
|
-
//#region ../../node_modules/.pnpm/@connectrpc+connect@2.1.2_@bufbuild+protobuf@2.12.
|
|
178153
|
+
//#region ../../node_modules/.pnpm/@connectrpc+connect@2.1.2_@bufbuild+protobuf@2.12.1/node_modules/@connectrpc/connect/dist/esm/context-values.js
|
|
178101
178154
|
/**
|
|
178102
178155
|
* createContextValues creates a new ContextValues.
|
|
178103
178156
|
*/
|
|
@@ -178126,7 +178179,7 @@ function createContextKey(defaultValue, options) {
|
|
|
178126
178179
|
};
|
|
178127
178180
|
}
|
|
178128
178181
|
//#endregion
|
|
178129
|
-
//#region ../../node_modules/.pnpm/@connectrpc+connect@2.1.2_@bufbuild+protobuf@2.12.
|
|
178182
|
+
//#region ../../node_modules/.pnpm/@connectrpc+connect@2.1.2_@bufbuild+protobuf@2.12.1/node_modules/@connectrpc/connect/dist/esm/interceptor.js
|
|
178130
178183
|
/**
|
|
178131
178184
|
* applyInterceptors takes the given UnaryFn or ServerStreamingFn, and wraps
|
|
178132
178185
|
* it with each of the given interceptors, returning a new UnaryFn or
|
|
@@ -178138,7 +178191,7 @@ function applyInterceptors(next, interceptors) {
|
|
|
178138
178191
|
return next;
|
|
178139
178192
|
}
|
|
178140
178193
|
//#endregion
|
|
178141
|
-
//#region ../../node_modules/.pnpm/@connectrpc+connect@2.1.2_@bufbuild+protobuf@2.12.
|
|
178194
|
+
//#region ../../node_modules/.pnpm/@connectrpc+connect@2.1.2_@bufbuild+protobuf@2.12.1/node_modules/@connectrpc/connect/dist/esm/protocol/signals.js
|
|
178142
178195
|
/**
|
|
178143
178196
|
* Create an AbortController that is automatically aborted if one of the given
|
|
178144
178197
|
* signals is aborted.
|
|
@@ -178206,7 +178259,7 @@ function getAbortSignalReason(signal) {
|
|
|
178206
178259
|
return e;
|
|
178207
178260
|
}
|
|
178208
178261
|
//#endregion
|
|
178209
|
-
//#region ../../node_modules/.pnpm/@connectrpc+connect@2.1.2_@bufbuild+protobuf@2.12.
|
|
178262
|
+
//#region ../../node_modules/.pnpm/@connectrpc+connect@2.1.2_@bufbuild+protobuf@2.12.1/node_modules/@connectrpc/connect/dist/esm/protocol/normalize.js
|
|
178210
178263
|
/**
|
|
178211
178264
|
* Takes a partial protobuf messages of the
|
|
178212
178265
|
* specified message type as input, and returns full instances.
|
|
@@ -178235,7 +178288,7 @@ function normalizeIterable(desc, input) {
|
|
|
178235
178288
|
} };
|
|
178236
178289
|
}
|
|
178237
178290
|
//#endregion
|
|
178238
|
-
//#region ../../node_modules/.pnpm/@connectrpc+connect@2.1.2_@bufbuild+protobuf@2.12.
|
|
178291
|
+
//#region ../../node_modules/.pnpm/@connectrpc+connect@2.1.2_@bufbuild+protobuf@2.12.1/node_modules/@connectrpc/connect/dist/esm/protocol/run-call.js
|
|
178239
178292
|
/**
|
|
178240
178293
|
* Runs a unary method with the given interceptors. Note that this function
|
|
178241
178294
|
* is only used when implementing a Transport.
|
|
@@ -178316,7 +178369,7 @@ function setupSignal(opt) {
|
|
|
178316
178369
|
];
|
|
178317
178370
|
}
|
|
178318
178371
|
//#endregion
|
|
178319
|
-
//#region ../../node_modules/.pnpm/@sentio+connect-gateway-es@1.0.0_@bufbuild+protobuf@2.12.
|
|
178372
|
+
//#region ../../node_modules/.pnpm/@sentio+connect-gateway-es@1.0.0_@bufbuild+protobuf@2.12.1_@connectrpc+connect@2.1.2_@bufbuild+protobuf@2.12.1_/node_modules/@sentio/connect-gateway-es/dist/esm/context.js
|
|
178320
178373
|
const gatewayBindingKey = createContextKey(void 0);
|
|
178321
178374
|
/**
|
|
178322
178375
|
* Per-call fetch RequestInit overrides (e.g. credentials: 'include' on embed
|
|
@@ -178325,7 +178378,7 @@ const gatewayBindingKey = createContextKey(void 0);
|
|
|
178325
178378
|
*/
|
|
178326
178379
|
const gatewayRequestInitKey = createContextKey(void 0);
|
|
178327
178380
|
//#endregion
|
|
178328
|
-
//#region ../../node_modules/.pnpm/@sentio+connect-gateway-es@1.0.0_@bufbuild+protobuf@2.12.
|
|
178381
|
+
//#region ../../node_modules/.pnpm/@sentio+connect-gateway-es@1.0.0_@bufbuild+protobuf@2.12.1_@connectrpc+connect@2.1.2_@bufbuild+protobuf@2.12.1_/node_modules/@sentio/connect-gateway-es/dist/esm/error.js
|
|
178329
178382
|
const errorInfoMap = /* @__PURE__ */ new WeakMap();
|
|
178330
178383
|
const HTTP_STATUS_CODES = {
|
|
178331
178384
|
400: Code.InvalidArgument,
|
|
@@ -178414,7 +178467,7 @@ function decodeJsonMessage(schema, json, jsonRead, headers) {
|
|
|
178414
178467
|
}
|
|
178415
178468
|
}
|
|
178416
178469
|
//#endregion
|
|
178417
|
-
//#region ../../node_modules/.pnpm/@sentio+connect-gateway-es@1.0.0_@bufbuild+protobuf@2.12.
|
|
178470
|
+
//#region ../../node_modules/.pnpm/@sentio+connect-gateway-es@1.0.0_@bufbuild+protobuf@2.12.1_@connectrpc+connect@2.1.2_@bufbuild+protobuf@2.12.1_/node_modules/@sentio/connect-gateway-es/dist/esm/headers.js
|
|
178418
178471
|
/**
|
|
178419
178472
|
* Merges transport-default headers with per-call headers (per-call wins) and
|
|
178420
178473
|
* applies gateway content negotiation defaults.
|
|
@@ -178445,7 +178498,7 @@ function splitGatewayMetadata(responseHeaders) {
|
|
|
178445
178498
|
};
|
|
178446
178499
|
}
|
|
178447
178500
|
//#endregion
|
|
178448
|
-
//#region ../../node_modules/.pnpm/@sentio+connect-gateway-es@1.0.0_@bufbuild+protobuf@2.12.
|
|
178501
|
+
//#region ../../node_modules/.pnpm/@sentio+connect-gateway-es@1.0.0_@bufbuild+protobuf@2.12.1_@connectrpc+connect@2.1.2_@bufbuild+protobuf@2.12.1_/node_modules/@sentio/connect-gateway-es/dist/esm/http-body.js
|
|
178449
178502
|
const HTTP_BODY_TYPE_NAME = "google.api.HttpBody";
|
|
178450
178503
|
/**
|
|
178451
178504
|
* Detects google.api.HttpBody by type name so the transport core needs no
|
|
@@ -178482,7 +178535,7 @@ async function httpBodyFromResponse(schema, response) {
|
|
|
178482
178535
|
});
|
|
178483
178536
|
}
|
|
178484
178537
|
//#endregion
|
|
178485
|
-
//#region ../../node_modules/.pnpm/@sentio+connect-gateway-es@1.0.0_@bufbuild+protobuf@2.12.
|
|
178538
|
+
//#region ../../node_modules/.pnpm/@sentio+connect-gateway-es@1.0.0_@bufbuild+protobuf@2.12.1_@connectrpc+connect@2.1.2_@bufbuild+protobuf@2.12.1_/node_modules/@sentio/connect-gateway-es/dist/esm/options.js
|
|
178486
178539
|
function normalizeGatewayOptions(options) {
|
|
178487
178540
|
if (options.jsonOptions?.useProtoFieldName) throw new Error("connect-gateway-es: jsonOptions.useProtoFieldName is not supported (use queryParamCase: \"proto\" for snake_case query keys)");
|
|
178488
178541
|
const registry = options.registry ?? options.jsonOptions?.registry;
|
|
@@ -178512,7 +178565,7 @@ function normalizeGatewayOptions(options) {
|
|
|
178512
178565
|
};
|
|
178513
178566
|
}
|
|
178514
178567
|
//#endregion
|
|
178515
|
-
//#region ../../node_modules/.pnpm/@sentio+connect-gateway-es@1.0.0_@bufbuild+protobuf@2.12.
|
|
178568
|
+
//#region ../../node_modules/.pnpm/@sentio+connect-gateway-es@1.0.0_@bufbuild+protobuf@2.12.1_@connectrpc+connect@2.1.2_@bufbuild+protobuf@2.12.1_/node_modules/@sentio/connect-gateway-es/dist/esm/path-template.js
|
|
178516
178569
|
const IDENT_RE = /^[A-Za-z_][A-Za-z0-9_]*$/;
|
|
178517
178570
|
function parseError(template, message) {
|
|
178518
178571
|
return new ConnectError(`invalid path template "${template}": ${message}`, Code.Internal);
|
|
@@ -178659,7 +178712,7 @@ function renderPath(template, lookup) {
|
|
|
178659
178712
|
return path;
|
|
178660
178713
|
}
|
|
178661
178714
|
//#endregion
|
|
178662
|
-
//#region ../../node_modules/.pnpm/@sentio+connect-gateway-es@1.0.0_@bufbuild+protobuf@2.12.
|
|
178715
|
+
//#region ../../node_modules/.pnpm/@sentio+connect-gateway-es@1.0.0_@bufbuild+protobuf@2.12.1_@connectrpc+connect@2.1.2_@bufbuild+protobuf@2.12.1_/node_modules/@sentio/connect-gateway-es/dist/esm/query-params.js
|
|
178663
178716
|
const JSON_BLOB_TYPES = /* @__PURE__ */ new Set(["google.protobuf.Struct", "google.protobuf.Value"]);
|
|
178664
178717
|
function scalarToString(value) {
|
|
178665
178718
|
return typeof value === "string" ? value : String(value);
|
|
@@ -178735,7 +178788,7 @@ function encodeQueryString(pairs) {
|
|
|
178735
178788
|
return params.toString();
|
|
178736
178789
|
}
|
|
178737
178790
|
//#endregion
|
|
178738
|
-
//#region ../../node_modules/.pnpm/@bufbuild+protobuf@2.12.
|
|
178791
|
+
//#region ../../node_modules/.pnpm/@bufbuild+protobuf@2.12.1/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/extension.js
|
|
178739
178792
|
/**
|
|
178740
178793
|
* Hydrate an extension descriptor.
|
|
178741
178794
|
*
|
|
@@ -178747,7 +178800,7 @@ function extDesc(file, path, ...paths) {
|
|
|
178747
178800
|
return paths.reduce((acc, cur) => acc.nestedMessages[cur], file.messages[path]).nestedExtensions[e];
|
|
178748
178801
|
}
|
|
178749
178802
|
//#endregion
|
|
178750
|
-
//#region ../../node_modules/.pnpm/@bufbuild+protobuf@2.12.
|
|
178803
|
+
//#region ../../node_modules/.pnpm/@bufbuild+protobuf@2.12.1/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/service.js
|
|
178751
178804
|
/**
|
|
178752
178805
|
* Hydrate a service descriptor.
|
|
178753
178806
|
*
|
|
@@ -178764,7 +178817,7 @@ function serviceDesc(file, path, ...paths) {
|
|
|
178764
178817
|
*/
|
|
178765
178818
|
const http$2 = /*@__PURE__*/ extDesc(/* @__PURE__ */ fileDesc("Chxnb29nbGUvYXBpL2Fubm90YXRpb25zLnByb3RvEgpnb29nbGUuYXBpOksKBGh0dHASHi5nb29nbGUucHJvdG9idWYuTWV0aG9kT3B0aW9ucxiwyrwiIAEoCzIULmdvb2dsZS5hcGkuSHR0cFJ1bGVSBGh0dHBCbgoOY29tLmdvb2dsZS5hcGlCEEFubm90YXRpb25zUHJvdG9QAVpBZ29vZ2xlLmdvbGFuZy5vcmcvZ2VucHJvdG8vZ29vZ2xlYXBpcy9hcGkvYW5ub3RhdGlvbnM7YW5ub3RhdGlvbnOiAgRHQVBJYgZwcm90bzM", [/* @__PURE__ */ fileDesc("ChVnb29nbGUvYXBpL2h0dHAucHJvdG8SCmdvb2dsZS5hcGkiVAoESHR0cBIjCgVydWxlcxgBIAMoCzIULmdvb2dsZS5hcGkuSHR0cFJ1bGUSJwofZnVsbHlfZGVjb2RlX3Jlc2VydmVkX2V4cGFuc2lvbhgCIAEoCCKBAgoISHR0cFJ1bGUSEAoIc2VsZWN0b3IYASABKAkSDQoDZ2V0GAIgASgJSAASDQoDcHV0GAMgASgJSAASDgoEcG9zdBgEIAEoCUgAEhAKBmRlbGV0ZRgFIAEoCUgAEg8KBXBhdGNoGAYgASgJSAASLwoGY3VzdG9tGAggASgLMh0uZ29vZ2xlLmFwaS5DdXN0b21IdHRwUGF0dGVybkgAEgwKBGJvZHkYByABKAkSFQoNcmVzcG9uc2VfYm9keRgMIAEoCRIxChNhZGRpdGlvbmFsX2JpbmRpbmdzGAsgAygLMhQuZ29vZ2xlLmFwaS5IdHRwUnVsZUIJCgdwYXR0ZXJuIi8KEUN1c3RvbUh0dHBQYXR0ZXJuEgwKBGtpbmQYASABKAkSDAoEcGF0aBgCIAEoCUJnCg5jb20uZ29vZ2xlLmFwaUIJSHR0cFByb3RvUAFaQWdvb2dsZS5nb2xhbmcub3JnL2dlbnByb3RvL2dvb2dsZWFwaXMvYXBpL2Fubm90YXRpb25zO2Fubm90YXRpb25zogIER0FQSWIGcHJvdG8z"), file_google_protobuf_descriptor]), 0);
|
|
178766
178819
|
//#endregion
|
|
178767
|
-
//#region ../../node_modules/.pnpm/@sentio+connect-gateway-es@1.0.0_@bufbuild+protobuf@2.12.
|
|
178820
|
+
//#region ../../node_modules/.pnpm/@sentio+connect-gateway-es@1.0.0_@bufbuild+protobuf@2.12.1_@connectrpc+connect@2.1.2_@bufbuild+protobuf@2.12.1_/node_modules/@sentio/connect-gateway-es/dist/esm/route.js
|
|
178768
178821
|
function compileBinding(method, rule, top) {
|
|
178769
178822
|
const where = `rpc ${method.parent.typeName}.${method.name}`;
|
|
178770
178823
|
const { case: patternCase, value } = rule.pattern;
|
|
@@ -178823,7 +178876,7 @@ function resolveGatewayRoute(method, fallbackRule) {
|
|
|
178823
178876
|
return fallback === void 0 ? void 0 : compileRoute(method, fallback);
|
|
178824
178877
|
}
|
|
178825
178878
|
//#endregion
|
|
178826
|
-
//#region ../../node_modules/.pnpm/@sentio+connect-gateway-es@1.0.0_@bufbuild+protobuf@2.12.
|
|
178879
|
+
//#region ../../node_modules/.pnpm/@sentio+connect-gateway-es@1.0.0_@bufbuild+protobuf@2.12.1_@connectrpc+connect@2.1.2_@bufbuild+protobuf@2.12.1_/node_modules/@sentio/connect-gateway-es/dist/esm/stream.js
|
|
178827
178880
|
/**
|
|
178828
178881
|
* Reads grpc-gateway's server-streaming wire format: newline-delimited JSON
|
|
178829
178882
|
* chunks, each {"result": <message>} or {"error": <google.rpc.Status>}. An
|
|
@@ -178868,7 +178921,7 @@ async function* readNdjsonStream(body, schema, jsonRead, registry, responseHeade
|
|
|
178868
178921
|
}
|
|
178869
178922
|
}
|
|
178870
178923
|
//#endregion
|
|
178871
|
-
//#region ../../node_modules/.pnpm/@sentio+connect-gateway-es@1.0.0_@bufbuild+protobuf@2.12.
|
|
178924
|
+
//#region ../../node_modules/.pnpm/@sentio+connect-gateway-es@1.0.0_@bufbuild+protobuf@2.12.1_@connectrpc+connect@2.1.2_@bufbuild+protobuf@2.12.1_/node_modules/@sentio/connect-gateway-es/dist/esm/transcode.js
|
|
178872
178925
|
function fieldByProtoName(schema, name) {
|
|
178873
178926
|
return schema.fields.find((f) => f.name === name || f.jsonName === name);
|
|
178874
178927
|
}
|
|
@@ -178960,7 +179013,7 @@ function transcodeRequest(binding, schema, message, opts) {
|
|
|
178960
179013
|
};
|
|
178961
179014
|
}
|
|
178962
179015
|
//#endregion
|
|
178963
|
-
//#region ../../node_modules/.pnpm/@sentio+connect-gateway-es@1.0.0_@bufbuild+protobuf@2.12.
|
|
179016
|
+
//#region ../../node_modules/.pnpm/@sentio+connect-gateway-es@1.0.0_@bufbuild+protobuf@2.12.1_@connectrpc+connect@2.1.2_@bufbuild+protobuf@2.12.1_/node_modules/@sentio/connect-gateway-es/dist/esm/transport.js
|
|
178964
179017
|
function buildHttpRequest(opt, method, binding, message, callHeader, contextValues) {
|
|
178965
179018
|
let path;
|
|
178966
179019
|
let queryString = "";
|
|
@@ -179168,18 +179221,35 @@ function stripGatewayPathPrefix(input) {
|
|
|
179168
179221
|
}
|
|
179169
179222
|
}
|
|
179170
179223
|
/**
|
|
179224
|
+
* Whether `baseUrl` points at a Sentio-hosted API origin (`api.sentio.xyz`
|
|
179225
|
+
* and its environment variants like `api-test.sentio.xyz`), which serve the
|
|
179226
|
+
* prefix-stripped `/v1/...` paths. A relative `baseUrl` counts as hosted —
|
|
179227
|
+
* it is assumed to be a same-origin proxy of one of these hosts. Anything
|
|
179228
|
+
* else (a grpc-gateway server on its own origin) serves the annotated
|
|
179229
|
+
* `/api/v1/...` paths verbatim.
|
|
179230
|
+
*/
|
|
179231
|
+
function isHostedApiOrigin(baseUrl) {
|
|
179232
|
+
try {
|
|
179233
|
+
const { hostname } = new URL(baseUrl);
|
|
179234
|
+
return hostname.startsWith("api") && (hostname === "api.sentio.xyz" || hostname.endsWith(".sentio.xyz"));
|
|
179235
|
+
} catch {
|
|
179236
|
+
return true;
|
|
179237
|
+
}
|
|
179238
|
+
}
|
|
179239
|
+
/**
|
|
179171
179240
|
* Creates a Connect transport that speaks Sentio's REST (grpc-gateway)
|
|
179172
179241
|
* dialect. Share one transport across clients of multiple services.
|
|
179173
179242
|
*/
|
|
179174
179243
|
function createSentioTransport(options = {}) {
|
|
179175
|
-
const { apiKey, baseUrl, headers, fetch: customFetch, ...rest } = options;
|
|
179244
|
+
const { apiKey, baseUrl, headers, fetch: customFetch, stripApiPrefix, ...rest } = options;
|
|
179176
179245
|
const h = new Headers(headers);
|
|
179177
179246
|
if (apiKey !== void 0 && !h.has("api-key")) h.set("api-key", apiKey);
|
|
179178
179247
|
const baseFetch = customFetch ?? globalThis.fetch;
|
|
179248
|
+
const strip = stripApiPrefix ?? isHostedApiOrigin(baseUrl ?? "https://api.sentio.xyz");
|
|
179179
179249
|
return createGatewayTransport({
|
|
179180
179250
|
baseUrl: baseUrl ?? "https://api.sentio.xyz",
|
|
179181
179251
|
headers: h,
|
|
179182
|
-
fetch: (input, init) => baseFetch(stripGatewayPathPrefix(input), init),
|
|
179252
|
+
fetch: strip ? (input, init) => baseFetch(stripGatewayPathPrefix(input), init) : baseFetch,
|
|
179183
179253
|
...rest
|
|
179184
179254
|
});
|
|
179185
179255
|
}
|
|
@@ -179198,7 +179268,7 @@ function createSentioClient(service, options = {}) {
|
|
|
179198
179268
|
return createClient(service, createSentioTransport(options));
|
|
179199
179269
|
}
|
|
179200
179270
|
//#endregion
|
|
179201
|
-
//#region ../../node_modules/.pnpm/@sentio+api@2.0.
|
|
179271
|
+
//#region ../../node_modules/.pnpm/@sentio+api@2.0.4/node_modules/@sentio/api/dist/src/gen/service/common/protos/common_pb.js
|
|
179202
179272
|
/**
|
|
179203
179273
|
* Describes the file service/common/protos/common.proto.
|
|
179204
179274
|
*/
|
|
@@ -179735,7 +179805,7 @@ var Permission;
|
|
|
179735
179805
|
Permission[Permission["ADMIN"] = 2] = "ADMIN";
|
|
179736
179806
|
})(Permission || (Permission = {}));
|
|
179737
179807
|
//#endregion
|
|
179738
|
-
//#region ../../node_modules/.pnpm/@sentio+api@2.0.
|
|
179808
|
+
//#region ../../node_modules/.pnpm/@sentio+api@2.0.4/node_modules/@sentio/api/dist/src/gen/service/alert/protos/alert_service_pb.js
|
|
179739
179809
|
/**
|
|
179740
179810
|
* Describes the file service/alert/protos/alert_service.proto.
|
|
179741
179811
|
*/
|
|
@@ -179835,7 +179905,7 @@ var AlertType;
|
|
|
179835
179905
|
*/
|
|
179836
179906
|
const AlertService = /*@__PURE__*/ serviceDesc(file_service_alert_protos_alert_service, 0);
|
|
179837
179907
|
//#endregion
|
|
179838
|
-
//#region ../../node_modules/.pnpm/@sentio+api@2.0.
|
|
179908
|
+
//#region ../../node_modules/.pnpm/@sentio+api@2.0.4/node_modules/@sentio/api/dist/src/gen/service/analytic/protos/analytic_service_pb.js
|
|
179839
179909
|
/**
|
|
179840
179910
|
* Describes the file service/analytic/protos/analytic_service.proto.
|
|
179841
179911
|
*/
|
|
@@ -180098,7 +180168,7 @@ var ExecutionStatus;
|
|
|
180098
180168
|
*/
|
|
180099
180169
|
const AnalyticService = /*@__PURE__*/ serviceDesc(file_service_analytic_protos_analytic_service, 0);
|
|
180100
180170
|
//#endregion
|
|
180101
|
-
//#region ../../node_modules/.pnpm/@sentio+api@2.0.
|
|
180171
|
+
//#region ../../node_modules/.pnpm/@sentio+api@2.0.4/node_modules/@sentio/api/dist/src/gen/service/insights/protos/insights_service_pb.js
|
|
180102
180172
|
/**
|
|
180103
180173
|
* Describes the file service/insights/protos/insights_service.proto.
|
|
180104
180174
|
*/
|
|
@@ -180148,7 +180218,7 @@ var DataSource;
|
|
|
180148
180218
|
*/
|
|
180149
180219
|
const InsightsService = /*@__PURE__*/ serviceDesc(file_service_insights_protos_insights_service, 0);
|
|
180150
180220
|
//#endregion
|
|
180151
|
-
//#region ../../node_modules/.pnpm/@sentio+api@2.0.
|
|
180221
|
+
//#region ../../node_modules/.pnpm/@sentio+api@2.0.4/node_modules/@sentio/api/dist/src/gen/service/observability/protos/observability_service_pb.js
|
|
180152
180222
|
/**
|
|
180153
180223
|
* Describes the file service/observability/protos/observability_service.proto.
|
|
180154
180224
|
*/
|
|
@@ -180168,7 +180238,7 @@ const GetMetricsResponseSchema = /*@__PURE__*/ messageDesc(file_service_observab
|
|
|
180168
180238
|
*/
|
|
180169
180239
|
const ObservabilityService = /*@__PURE__*/ serviceDesc(file_service_observability_protos_observability_service, 0);
|
|
180170
180240
|
//#endregion
|
|
180171
|
-
//#region ../../node_modules/.pnpm/@sentio+api@2.0.
|
|
180241
|
+
//#region ../../node_modules/.pnpm/@sentio+api@2.0.4/node_modules/@sentio/api/dist/src/gen/service/price/protos/price_pb.js
|
|
180172
180242
|
/**
|
|
180173
180243
|
* Describes the file service/price/protos/price.proto.
|
|
180174
180244
|
*/
|
|
@@ -180255,7 +180325,7 @@ var AddAssetByGeckoResponse_Status;
|
|
|
180255
180325
|
*/
|
|
180256
180326
|
const PriceService = /*@__PURE__*/ serviceDesc(file_service_price_protos_price, 0);
|
|
180257
180327
|
//#endregion
|
|
180258
|
-
//#region ../../node_modules/.pnpm/@sentio+api@2.0.
|
|
180328
|
+
//#region ../../node_modules/.pnpm/@sentio+api@2.0.4/node_modules/@sentio/api/dist/src/gen/service/processor/protos/processor_service_pb.js
|
|
180259
180329
|
/**
|
|
180260
180330
|
* Describes the file service/processor/protos/processor_service.proto.
|
|
180261
180331
|
*/
|
|
@@ -180372,7 +180442,7 @@ var ProcessorVersionState;
|
|
|
180372
180442
|
*/
|
|
180373
180443
|
const ProcessorService = /*@__PURE__*/ serviceDesc(file_service_processor_protos_processor_service, 0);
|
|
180374
180444
|
//#endregion
|
|
180375
|
-
//#region ../../node_modules/.pnpm/@sentio+api@2.0.
|
|
180445
|
+
//#region ../../node_modules/.pnpm/@sentio+api@2.0.4/node_modules/@sentio/api/dist/src/gen/service/processor/ext_protos/processor_service_ext_pb.js
|
|
180376
180446
|
/**
|
|
180377
180447
|
* Describes the file service/processor/ext_protos/processor_service_ext.proto.
|
|
180378
180448
|
*/
|
|
@@ -180392,19 +180462,19 @@ const GetProcessorSourceFilesResponseSchema = /*@__PURE__*/ messageDesc(file_ser
|
|
|
180392
180462
|
*/
|
|
180393
180463
|
const ProcessorServiceExt = /*@__PURE__*/ serviceDesc(file_service_processor_ext_protos_processor_service_ext, 0);
|
|
180394
180464
|
//#endregion
|
|
180395
|
-
//#region ../../node_modules/.pnpm/@sentio+api@2.0.
|
|
180465
|
+
//#region ../../node_modules/.pnpm/@sentio+api@2.0.4/node_modules/@sentio/api/dist/src/gen/google/api/httpbody_pb.js
|
|
180396
180466
|
/**
|
|
180397
180467
|
* Describes the file google/api/httpbody.proto.
|
|
180398
180468
|
*/
|
|
180399
180469
|
const file_google_api_httpbody = /*@__PURE__*/ fileDesc("Chlnb29nbGUvYXBpL2h0dHBib2R5LnByb3RvEgpnb29nbGUuYXBpIlgKCEh0dHBCb2R5EhQKDGNvbnRlbnRfdHlwZRgBIAEoCRIMCgRkYXRhGAIgASgMEigKCmV4dGVuc2lvbnMYAyADKAsyFC5nb29nbGUucHJvdG9idWYuQW55QmUKDmNvbS5nb29nbGUuYXBpQg1IdHRwQm9keVByb3RvUAFaO2dvb2dsZS5nb2xhbmcub3JnL2dlbnByb3RvL2dvb2dsZWFwaXMvYXBpL2h0dHBib2R5O2h0dHBib2R5ogIER0FQSWIGcHJvdG8z", [file_google_protobuf_any]);
|
|
180400
180470
|
//#endregion
|
|
180401
|
-
//#region ../../node_modules/.pnpm/@sentio+api@2.0.
|
|
180471
|
+
//#region ../../node_modules/.pnpm/@sentio+api@2.0.4/node_modules/@sentio/api/dist/src/gen/chain/evm/protos/evm_pb.js
|
|
180402
180472
|
/**
|
|
180403
180473
|
* Describes the file chain/evm/protos/evm.proto.
|
|
180404
180474
|
*/
|
|
180405
180475
|
const file_chain_evm_protos_evm = /*@__PURE__*/ fileDesc("ChpjaGFpbi9ldm0vcHJvdG9zL2V2bS5wcm90bxIDZXZtIjcKDkFjY2Vzc0xpc3RJdGVtEg8KB2FkZHJlc3MYASABKAkSFAoMc3RvcmFnZV9rZXlzGAIgAygJIswCCgtUcmFuc2FjdGlvbhIUCgxibG9ja19udW1iZXIYASABKAkSEgoKYmxvY2tfaGFzaBgCIAEoCRIZChF0cmFuc2FjdGlvbl9pbmRleBgDIAEoCRIMCgRoYXNoGAQgASgJEhAKCGNoYWluX2lkGAUgASgJEgwKBHR5cGUYBiABKAkSDAoEZnJvbRgHIAEoCRIKCgJ0bxgIIAEoCRINCgVpbnB1dBgJIAEoCRINCgV2YWx1ZRgKIAEoCRINCgVub25jZRgLIAEoCRILCgNnYXMYDCABKAkSEQoJZ2FzX3ByaWNlGA0gASgJEhcKD21heF9mZWVfcGVyX2dhcxgOIAEoCRIgChhtYXhfcHJpb3JpdHlfZmVlX3Blcl9nYXMYDyABKAkSKAoLYWNjZXNzX2xpc3QYECADKAsyEy5ldm0uQWNjZXNzTGlzdEl0ZW0iwAEKElRyYW5zYWN0aW9uUmVjZWlwdBIQCghnYXNfdXNlZBgBIAEoCRIbChNjdW11bGF0aXZlX2dhc191c2VkGAIgASgJEhsKE2VmZmVjdGl2ZV9nYXNfcHJpY2UYAyABKAkSDgoGc3RhdHVzGAQgASgJEg0KBWVycm9yGAUgASgJEhUKDXJldmVydF9yZWFzb24YBiABKAkSKAoEbG9ncxgHIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5MaXN0VmFsdWVCI1ohc2VudGlveHl6L3NlbnRpby9jaGFpbi9ldm0vcHJvdG9zYgZwcm90bzM", [file_google_protobuf_struct]);
|
|
180406
180476
|
//#endregion
|
|
180407
|
-
//#region ../../node_modules/.pnpm/@sentio+api@2.0.
|
|
180477
|
+
//#region ../../node_modules/.pnpm/@sentio+api@2.0.4/node_modules/@sentio/api/dist/src/gen/service/solidity/protos/common_pb.js
|
|
180408
180478
|
/**
|
|
180409
180479
|
* Describes the file service/solidity/protos/common.proto.
|
|
180410
180480
|
*/
|
|
@@ -180432,7 +180502,7 @@ var SourceFetcherType;
|
|
|
180432
180502
|
SourceFetcherType[SourceFetcherType["ETHERSCAN_V2"] = 3] = "ETHERSCAN_V2";
|
|
180433
180503
|
})(SourceFetcherType || (SourceFetcherType = {}));
|
|
180434
180504
|
//#endregion
|
|
180435
|
-
//#region ../../node_modules/.pnpm/@sentio+api@2.0.
|
|
180505
|
+
//#region ../../node_modules/.pnpm/@sentio+api@2.0.4/node_modules/@sentio/api/dist/src/gen/service/solidity/protos/solidity_service_pb.js
|
|
180436
180506
|
/**
|
|
180437
180507
|
* Describes the file service/solidity/protos/solidity_service.proto.
|
|
180438
180508
|
*/
|
|
@@ -180463,7 +180533,7 @@ const GetSimulationsResponseSchema = /*@__PURE__*/ messageDesc(file_service_soli
|
|
|
180463
180533
|
*/
|
|
180464
180534
|
const GetSimulationResponseSchema = /*@__PURE__*/ messageDesc(file_service_solidity_protos_solidity_service, 4);
|
|
180465
180535
|
//#endregion
|
|
180466
|
-
//#region ../../node_modules/.pnpm/@sentio+api@2.0.
|
|
180536
|
+
//#region ../../node_modules/.pnpm/@sentio+api@2.0.4/node_modules/@sentio/api/dist/src/gen/service/solidity/protos/solidity_api_service_pb.js
|
|
180467
180537
|
/**
|
|
180468
180538
|
* Describes the file service/solidity/protos/solidity_api_service.proto.
|
|
180469
180539
|
*/
|
|
@@ -180502,7 +180572,7 @@ const GetSimulationsInProjectRequestSchema = /*@__PURE__*/ messageDesc(file_serv
|
|
|
180502
180572
|
*/
|
|
180503
180573
|
const SolidityAPIService = /*@__PURE__*/ serviceDesc(file_service_solidity_protos_solidity_api_service, 0);
|
|
180504
180574
|
//#endregion
|
|
180505
|
-
//#region ../../node_modules/.pnpm/@sentio+api@2.0.
|
|
180575
|
+
//#region ../../node_modules/.pnpm/@sentio+api@2.0.4/node_modules/@sentio/api/dist/src/gen/service/web/protos/web_service_pb.js
|
|
180506
180576
|
/**
|
|
180507
180577
|
* Describes the file service/web/protos/web_service.proto.
|
|
180508
180578
|
*/
|