@vocdoni/proto 1.15.5 → 1.15.8
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/build/js/client-store/index.js +5 -2
- package/build/js/client-store/index.mjs +5 -2
- package/build/js/{index-cbd70a7b.d.ts → index-8445529b.d.ts} +1963 -403
- package/build/js/index.d.ts +1 -1
- package/build/js/index.js +162 -27
- package/build/js/index.mjs +162 -27
- package/build/js/metadata/index.js +2 -2
- package/build/js/metadata/index.mjs +2 -2
- package/build/js/vochain/index.d.ts +1 -1
- package/build/js/vochain/index.js +156 -23
- package/build/js/vochain/index.mjs +155 -23
- package/package.json +2 -2
|
@@ -1452,6 +1452,7 @@ __export(vochain_exports, {
|
|
|
1452
1452
|
ProofCA_Type: () => ProofCA_Type,
|
|
1453
1453
|
ProofEthereumAccount: () => ProofEthereumAccount,
|
|
1454
1454
|
ProofEthereumStorage: () => ProofEthereumStorage,
|
|
1455
|
+
ProofFarcasterFrame: () => ProofFarcasterFrame,
|
|
1455
1456
|
ProofMinime: () => ProofMinime,
|
|
1456
1457
|
ProofZkSNARK: () => ProofZkSNARK,
|
|
1457
1458
|
QuestionResult: () => QuestionResult,
|
|
@@ -1849,6 +1850,7 @@ var CensusOrigin = /* @__PURE__ */ ((CensusOrigin2) => {
|
|
|
1849
1850
|
CensusOrigin2[CensusOrigin2["ERC1155"] = 13] = "ERC1155";
|
|
1850
1851
|
CensusOrigin2[CensusOrigin2["ERC777"] = 14] = "ERC777";
|
|
1851
1852
|
CensusOrigin2[CensusOrigin2["MINI_ME"] = 15] = "MINI_ME";
|
|
1853
|
+
CensusOrigin2[CensusOrigin2["FARCASTER_FRAME"] = 16] = "FARCASTER_FRAME";
|
|
1852
1854
|
CensusOrigin2[CensusOrigin2["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
1853
1855
|
return CensusOrigin2;
|
|
1854
1856
|
})(CensusOrigin || {});
|
|
@@ -1881,6 +1883,9 @@ function censusOriginFromJSON(object) {
|
|
|
1881
1883
|
case 15:
|
|
1882
1884
|
case "MINI_ME":
|
|
1883
1885
|
return 15 /* MINI_ME */;
|
|
1886
|
+
case 16:
|
|
1887
|
+
case "FARCASTER_FRAME":
|
|
1888
|
+
return 16 /* FARCASTER_FRAME */;
|
|
1884
1889
|
case -1:
|
|
1885
1890
|
case "UNRECOGNIZED":
|
|
1886
1891
|
default:
|
|
@@ -1907,6 +1912,8 @@ function censusOriginToJSON(object) {
|
|
|
1907
1912
|
return "ERC777";
|
|
1908
1913
|
case 15 /* MINI_ME */:
|
|
1909
1914
|
return "MINI_ME";
|
|
1915
|
+
case 16 /* FARCASTER_FRAME */:
|
|
1916
|
+
return "FARCASTER_FRAME";
|
|
1910
1917
|
case -1 /* UNRECOGNIZED */:
|
|
1911
1918
|
default:
|
|
1912
1919
|
return "UNRECOGNIZED";
|
|
@@ -1919,6 +1926,7 @@ var Census_Type = /* @__PURE__ */ ((Census_Type2) => {
|
|
|
1919
1926
|
Census_Type2[Census_Type2["ETHEREUMSTORAGE"] = 3] = "ETHEREUMSTORAGE";
|
|
1920
1927
|
Census_Type2[Census_Type2["ETHEREUMACCOUNT"] = 4] = "ETHEREUMACCOUNT";
|
|
1921
1928
|
Census_Type2[Census_Type2["CA"] = 5] = "CA";
|
|
1929
|
+
Census_Type2[Census_Type2["FARCASTER_FRAME"] = 6] = "FARCASTER_FRAME";
|
|
1922
1930
|
Census_Type2[Census_Type2["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
1923
1931
|
return Census_Type2;
|
|
1924
1932
|
})(Census_Type || {});
|
|
@@ -1942,6 +1950,9 @@ function census_TypeFromJSON(object) {
|
|
|
1942
1950
|
case 5:
|
|
1943
1951
|
case "CA":
|
|
1944
1952
|
return 5 /* CA */;
|
|
1953
|
+
case 6:
|
|
1954
|
+
case "FARCASTER_FRAME":
|
|
1955
|
+
return 6 /* FARCASTER_FRAME */;
|
|
1945
1956
|
case -1:
|
|
1946
1957
|
case "UNRECOGNIZED":
|
|
1947
1958
|
default:
|
|
@@ -1962,6 +1973,8 @@ function census_TypeToJSON(object) {
|
|
|
1962
1973
|
return "ETHEREUMACCOUNT";
|
|
1963
1974
|
case 5 /* CA */:
|
|
1964
1975
|
return "CA";
|
|
1976
|
+
case 6 /* FARCASTER_FRAME */:
|
|
1977
|
+
return "FARCASTER_FRAME";
|
|
1965
1978
|
case -1 /* UNRECOGNIZED */:
|
|
1966
1979
|
default:
|
|
1967
1980
|
return "UNRECOGNIZED";
|
|
@@ -2277,6 +2290,9 @@ var Proof = {
|
|
|
2277
2290
|
case "minimeStorage":
|
|
2278
2291
|
ProofMinime.encode(message.payload.minimeStorage, writer.uint32(66).fork()).ldelim();
|
|
2279
2292
|
break;
|
|
2293
|
+
case "farcasterFrame":
|
|
2294
|
+
ProofFarcasterFrame.encode(message.payload.farcasterFrame, writer.uint32(74).fork()).ldelim();
|
|
2295
|
+
break;
|
|
2280
2296
|
}
|
|
2281
2297
|
return writer;
|
|
2282
2298
|
},
|
|
@@ -2329,6 +2345,15 @@ var Proof = {
|
|
|
2329
2345
|
}
|
|
2330
2346
|
message.payload = { $case: "minimeStorage", minimeStorage: ProofMinime.decode(reader, reader.uint32()) };
|
|
2331
2347
|
continue;
|
|
2348
|
+
case 9:
|
|
2349
|
+
if (tag !== 74) {
|
|
2350
|
+
break;
|
|
2351
|
+
}
|
|
2352
|
+
message.payload = {
|
|
2353
|
+
$case: "farcasterFrame",
|
|
2354
|
+
farcasterFrame: ProofFarcasterFrame.decode(reader, reader.uint32())
|
|
2355
|
+
};
|
|
2356
|
+
continue;
|
|
2332
2357
|
}
|
|
2333
2358
|
if ((tag & 7) === 4 || tag === 0) {
|
|
2334
2359
|
break;
|
|
@@ -2339,7 +2364,7 @@ var Proof = {
|
|
|
2339
2364
|
},
|
|
2340
2365
|
fromJSON(object) {
|
|
2341
2366
|
return {
|
|
2342
|
-
payload: isSet(object.ethereumStorage) ? { $case: "ethereumStorage", ethereumStorage: ProofEthereumStorage.fromJSON(object.ethereumStorage) } : isSet(object.ethereumAccount) ? { $case: "ethereumAccount", ethereumAccount: ProofEthereumAccount.fromJSON(object.ethereumAccount) } : isSet(object.ca) ? { $case: "ca", ca: ProofCA.fromJSON(object.ca) } : isSet(object.arbo) ? { $case: "arbo", arbo: ProofArbo.fromJSON(object.arbo) } : isSet(object.zkSnark) ? { $case: "zkSnark", zkSnark: ProofZkSNARK.fromJSON(object.zkSnark) } : isSet(object.minimeStorage) ? { $case: "minimeStorage", minimeStorage: ProofMinime.fromJSON(object.minimeStorage) } : void 0
|
|
2367
|
+
payload: isSet(object.ethereumStorage) ? { $case: "ethereumStorage", ethereumStorage: ProofEthereumStorage.fromJSON(object.ethereumStorage) } : isSet(object.ethereumAccount) ? { $case: "ethereumAccount", ethereumAccount: ProofEthereumAccount.fromJSON(object.ethereumAccount) } : isSet(object.ca) ? { $case: "ca", ca: ProofCA.fromJSON(object.ca) } : isSet(object.arbo) ? { $case: "arbo", arbo: ProofArbo.fromJSON(object.arbo) } : isSet(object.zkSnark) ? { $case: "zkSnark", zkSnark: ProofZkSNARK.fromJSON(object.zkSnark) } : isSet(object.minimeStorage) ? { $case: "minimeStorage", minimeStorage: ProofMinime.fromJSON(object.minimeStorage) } : isSet(object.farcasterFrame) ? { $case: "farcasterFrame", farcasterFrame: ProofFarcasterFrame.fromJSON(object.farcasterFrame) } : void 0
|
|
2343
2368
|
};
|
|
2344
2369
|
},
|
|
2345
2370
|
toJSON(message) {
|
|
@@ -2362,6 +2387,9 @@ var Proof = {
|
|
|
2362
2387
|
if (message.payload?.$case === "minimeStorage") {
|
|
2363
2388
|
obj.minimeStorage = ProofMinime.toJSON(message.payload.minimeStorage);
|
|
2364
2389
|
}
|
|
2390
|
+
if (message.payload?.$case === "farcasterFrame") {
|
|
2391
|
+
obj.farcasterFrame = ProofFarcasterFrame.toJSON(message.payload.farcasterFrame);
|
|
2392
|
+
}
|
|
2365
2393
|
return obj;
|
|
2366
2394
|
},
|
|
2367
2395
|
create(base) {
|
|
@@ -2396,6 +2424,12 @@ var Proof = {
|
|
|
2396
2424
|
minimeStorage: ProofMinime.fromPartial(object.payload.minimeStorage)
|
|
2397
2425
|
};
|
|
2398
2426
|
}
|
|
2427
|
+
if (object.payload?.$case === "farcasterFrame" && object.payload?.farcasterFrame !== void 0 && object.payload?.farcasterFrame !== null) {
|
|
2428
|
+
message.payload = {
|
|
2429
|
+
$case: "farcasterFrame",
|
|
2430
|
+
farcasterFrame: ProofFarcasterFrame.fromPartial(object.payload.farcasterFrame)
|
|
2431
|
+
};
|
|
2432
|
+
}
|
|
2399
2433
|
return message;
|
|
2400
2434
|
}
|
|
2401
2435
|
};
|
|
@@ -3027,6 +3061,86 @@ var ProofZkSNARK = {
|
|
|
3027
3061
|
return message;
|
|
3028
3062
|
}
|
|
3029
3063
|
};
|
|
3064
|
+
function createBaseProofFarcasterFrame() {
|
|
3065
|
+
return { signedFrameMessageBody: new Uint8Array(0), censusProof: void 0, publicKey: new Uint8Array(0) };
|
|
3066
|
+
}
|
|
3067
|
+
var ProofFarcasterFrame = {
|
|
3068
|
+
encode(message, writer = import_minimal.default.Writer.create()) {
|
|
3069
|
+
if (message.signedFrameMessageBody.length !== 0) {
|
|
3070
|
+
writer.uint32(10).bytes(message.signedFrameMessageBody);
|
|
3071
|
+
}
|
|
3072
|
+
if (message.censusProof !== void 0) {
|
|
3073
|
+
ProofArbo.encode(message.censusProof, writer.uint32(18).fork()).ldelim();
|
|
3074
|
+
}
|
|
3075
|
+
if (message.publicKey.length !== 0) {
|
|
3076
|
+
writer.uint32(26).bytes(message.publicKey);
|
|
3077
|
+
}
|
|
3078
|
+
return writer;
|
|
3079
|
+
},
|
|
3080
|
+
decode(input, length) {
|
|
3081
|
+
const reader = input instanceof import_minimal.default.Reader ? input : import_minimal.default.Reader.create(input);
|
|
3082
|
+
let end = length === void 0 ? reader.len : reader.pos + length;
|
|
3083
|
+
const message = createBaseProofFarcasterFrame();
|
|
3084
|
+
while (reader.pos < end) {
|
|
3085
|
+
const tag = reader.uint32();
|
|
3086
|
+
switch (tag >>> 3) {
|
|
3087
|
+
case 1:
|
|
3088
|
+
if (tag !== 10) {
|
|
3089
|
+
break;
|
|
3090
|
+
}
|
|
3091
|
+
message.signedFrameMessageBody = reader.bytes();
|
|
3092
|
+
continue;
|
|
3093
|
+
case 2:
|
|
3094
|
+
if (tag !== 18) {
|
|
3095
|
+
break;
|
|
3096
|
+
}
|
|
3097
|
+
message.censusProof = ProofArbo.decode(reader, reader.uint32());
|
|
3098
|
+
continue;
|
|
3099
|
+
case 3:
|
|
3100
|
+
if (tag !== 26) {
|
|
3101
|
+
break;
|
|
3102
|
+
}
|
|
3103
|
+
message.publicKey = reader.bytes();
|
|
3104
|
+
continue;
|
|
3105
|
+
}
|
|
3106
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
3107
|
+
break;
|
|
3108
|
+
}
|
|
3109
|
+
reader.skipType(tag & 7);
|
|
3110
|
+
}
|
|
3111
|
+
return message;
|
|
3112
|
+
},
|
|
3113
|
+
fromJSON(object) {
|
|
3114
|
+
return {
|
|
3115
|
+
signedFrameMessageBody: isSet(object.signedFrameMessageBody) ? bytesFromBase64(object.signedFrameMessageBody) : new Uint8Array(0),
|
|
3116
|
+
censusProof: isSet(object.censusProof) ? ProofArbo.fromJSON(object.censusProof) : void 0,
|
|
3117
|
+
publicKey: isSet(object.publicKey) ? bytesFromBase64(object.publicKey) : new Uint8Array(0)
|
|
3118
|
+
};
|
|
3119
|
+
},
|
|
3120
|
+
toJSON(message) {
|
|
3121
|
+
const obj = {};
|
|
3122
|
+
if (message.signedFrameMessageBody.length !== 0) {
|
|
3123
|
+
obj.signedFrameMessageBody = base64FromBytes(message.signedFrameMessageBody);
|
|
3124
|
+
}
|
|
3125
|
+
if (message.censusProof !== void 0) {
|
|
3126
|
+
obj.censusProof = ProofArbo.toJSON(message.censusProof);
|
|
3127
|
+
}
|
|
3128
|
+
if (message.publicKey.length !== 0) {
|
|
3129
|
+
obj.publicKey = base64FromBytes(message.publicKey);
|
|
3130
|
+
}
|
|
3131
|
+
return obj;
|
|
3132
|
+
},
|
|
3133
|
+
create(base) {
|
|
3134
|
+
return ProofFarcasterFrame.fromPartial(base ?? {});
|
|
3135
|
+
},
|
|
3136
|
+
fromPartial(object) {
|
|
3137
|
+
const message = createBaseProofFarcasterFrame();
|
|
3138
|
+
message.signedFrameMessageBody = object.signedFrameMessageBody ?? new Uint8Array(0);
|
|
3139
|
+
message.censusProof = object.censusProof !== void 0 && object.censusProof !== null ? ProofArbo.fromPartial(object.censusProof) : void 0;
|
|
3140
|
+
message.publicKey = object.publicKey ?? new Uint8Array(0);
|
|
3141
|
+
return message;
|
|
3142
|
+
}
|
|
3143
|
+
};
|
|
3030
3144
|
function createBaseAccount() {
|
|
3031
3145
|
return { balance: 0, nonce: 0, infoURI: "", delegateAddrs: [], processIndex: 0 };
|
|
3032
3146
|
}
|
|
@@ -3544,7 +3658,8 @@ function createBaseSetProcessTx() {
|
|
|
3544
3658
|
proof: void 0,
|
|
3545
3659
|
results: void 0,
|
|
3546
3660
|
tempSIKs: void 0,
|
|
3547
|
-
duration: void 0
|
|
3661
|
+
duration: void 0,
|
|
3662
|
+
censusSize: void 0
|
|
3548
3663
|
};
|
|
3549
3664
|
}
|
|
3550
3665
|
var SetProcessTx = {
|
|
@@ -3582,6 +3697,9 @@ var SetProcessTx = {
|
|
|
3582
3697
|
if (message.duration !== void 0) {
|
|
3583
3698
|
writer.uint32(88).uint32(message.duration);
|
|
3584
3699
|
}
|
|
3700
|
+
if (message.censusSize !== void 0) {
|
|
3701
|
+
writer.uint32(96).uint64(message.censusSize);
|
|
3702
|
+
}
|
|
3585
3703
|
return writer;
|
|
3586
3704
|
},
|
|
3587
3705
|
decode(input, length) {
|
|
@@ -3657,6 +3775,12 @@ var SetProcessTx = {
|
|
|
3657
3775
|
}
|
|
3658
3776
|
message.duration = reader.uint32();
|
|
3659
3777
|
continue;
|
|
3778
|
+
case 12:
|
|
3779
|
+
if (tag !== 96) {
|
|
3780
|
+
break;
|
|
3781
|
+
}
|
|
3782
|
+
message.censusSize = longToNumber(reader.uint64());
|
|
3783
|
+
continue;
|
|
3660
3784
|
}
|
|
3661
3785
|
if ((tag & 7) === 4 || tag === 0) {
|
|
3662
3786
|
break;
|
|
@@ -3677,7 +3801,8 @@ var SetProcessTx = {
|
|
|
3677
3801
|
proof: isSet(object.proof) ? Proof.fromJSON(object.proof) : void 0,
|
|
3678
3802
|
results: isSet(object.results) ? ProcessResult.fromJSON(object.results) : void 0,
|
|
3679
3803
|
tempSIKs: isSet(object.tempSIKs) ? globalThis.Boolean(object.tempSIKs) : void 0,
|
|
3680
|
-
duration: isSet(object.duration) ? globalThis.Number(object.duration) : void 0
|
|
3804
|
+
duration: isSet(object.duration) ? globalThis.Number(object.duration) : void 0,
|
|
3805
|
+
censusSize: isSet(object.censusSize) ? globalThis.Number(object.censusSize) : void 0
|
|
3681
3806
|
};
|
|
3682
3807
|
},
|
|
3683
3808
|
toJSON(message) {
|
|
@@ -3715,6 +3840,9 @@ var SetProcessTx = {
|
|
|
3715
3840
|
if (message.duration !== void 0) {
|
|
3716
3841
|
obj.duration = Math.round(message.duration);
|
|
3717
3842
|
}
|
|
3843
|
+
if (message.censusSize !== void 0) {
|
|
3844
|
+
obj.censusSize = Math.round(message.censusSize);
|
|
3845
|
+
}
|
|
3718
3846
|
return obj;
|
|
3719
3847
|
},
|
|
3720
3848
|
create(base) {
|
|
@@ -3733,6 +3861,7 @@ var SetProcessTx = {
|
|
|
3733
3861
|
message.results = object.results !== void 0 && object.results !== null ? ProcessResult.fromPartial(object.results) : void 0;
|
|
3734
3862
|
message.tempSIKs = object.tempSIKs ?? void 0;
|
|
3735
3863
|
message.duration = object.duration ?? void 0;
|
|
3864
|
+
message.censusSize = object.censusSize ?? void 0;
|
|
3736
3865
|
return message;
|
|
3737
3866
|
}
|
|
3738
3867
|
};
|
|
@@ -5385,19 +5514,19 @@ function createBaseEnvelopeType() {
|
|
|
5385
5514
|
}
|
|
5386
5515
|
var EnvelopeType = {
|
|
5387
5516
|
encode(message, writer = import_minimal.default.Writer.create()) {
|
|
5388
|
-
if (message.serial
|
|
5517
|
+
if (message.serial !== false) {
|
|
5389
5518
|
writer.uint32(8).bool(message.serial);
|
|
5390
5519
|
}
|
|
5391
|
-
if (message.anonymous
|
|
5520
|
+
if (message.anonymous !== false) {
|
|
5392
5521
|
writer.uint32(16).bool(message.anonymous);
|
|
5393
5522
|
}
|
|
5394
|
-
if (message.encryptedVotes
|
|
5523
|
+
if (message.encryptedVotes !== false) {
|
|
5395
5524
|
writer.uint32(24).bool(message.encryptedVotes);
|
|
5396
5525
|
}
|
|
5397
|
-
if (message.uniqueValues
|
|
5526
|
+
if (message.uniqueValues !== false) {
|
|
5398
5527
|
writer.uint32(32).bool(message.uniqueValues);
|
|
5399
5528
|
}
|
|
5400
|
-
if (message.costFromWeight
|
|
5529
|
+
if (message.costFromWeight !== false) {
|
|
5401
5530
|
writer.uint32(40).bool(message.costFromWeight);
|
|
5402
5531
|
}
|
|
5403
5532
|
return writer;
|
|
@@ -5458,19 +5587,19 @@ var EnvelopeType = {
|
|
|
5458
5587
|
},
|
|
5459
5588
|
toJSON(message) {
|
|
5460
5589
|
const obj = {};
|
|
5461
|
-
if (message.serial
|
|
5590
|
+
if (message.serial !== false) {
|
|
5462
5591
|
obj.serial = message.serial;
|
|
5463
5592
|
}
|
|
5464
|
-
if (message.anonymous
|
|
5593
|
+
if (message.anonymous !== false) {
|
|
5465
5594
|
obj.anonymous = message.anonymous;
|
|
5466
5595
|
}
|
|
5467
|
-
if (message.encryptedVotes
|
|
5596
|
+
if (message.encryptedVotes !== false) {
|
|
5468
5597
|
obj.encryptedVotes = message.encryptedVotes;
|
|
5469
5598
|
}
|
|
5470
|
-
if (message.uniqueValues
|
|
5599
|
+
if (message.uniqueValues !== false) {
|
|
5471
5600
|
obj.uniqueValues = message.uniqueValues;
|
|
5472
5601
|
}
|
|
5473
|
-
if (message.costFromWeight
|
|
5602
|
+
if (message.costFromWeight !== false) {
|
|
5474
5603
|
obj.costFromWeight = message.costFromWeight;
|
|
5475
5604
|
}
|
|
5476
5605
|
return obj;
|
|
@@ -5493,19 +5622,19 @@ function createBaseProcessMode() {
|
|
|
5493
5622
|
}
|
|
5494
5623
|
var ProcessMode = {
|
|
5495
5624
|
encode(message, writer = import_minimal.default.Writer.create()) {
|
|
5496
|
-
if (message.autoStart
|
|
5625
|
+
if (message.autoStart !== false) {
|
|
5497
5626
|
writer.uint32(8).bool(message.autoStart);
|
|
5498
5627
|
}
|
|
5499
|
-
if (message.interruptible
|
|
5628
|
+
if (message.interruptible !== false) {
|
|
5500
5629
|
writer.uint32(16).bool(message.interruptible);
|
|
5501
5630
|
}
|
|
5502
|
-
if (message.dynamicCensus
|
|
5631
|
+
if (message.dynamicCensus !== false) {
|
|
5503
5632
|
writer.uint32(24).bool(message.dynamicCensus);
|
|
5504
5633
|
}
|
|
5505
|
-
if (message.encryptedMetaData
|
|
5634
|
+
if (message.encryptedMetaData !== false) {
|
|
5506
5635
|
writer.uint32(32).bool(message.encryptedMetaData);
|
|
5507
5636
|
}
|
|
5508
|
-
if (message.preRegister
|
|
5637
|
+
if (message.preRegister !== false) {
|
|
5509
5638
|
writer.uint32(40).bool(message.preRegister);
|
|
5510
5639
|
}
|
|
5511
5640
|
return writer;
|
|
@@ -5566,19 +5695,19 @@ var ProcessMode = {
|
|
|
5566
5695
|
},
|
|
5567
5696
|
toJSON(message) {
|
|
5568
5697
|
const obj = {};
|
|
5569
|
-
if (message.autoStart
|
|
5698
|
+
if (message.autoStart !== false) {
|
|
5570
5699
|
obj.autoStart = message.autoStart;
|
|
5571
5700
|
}
|
|
5572
|
-
if (message.interruptible
|
|
5701
|
+
if (message.interruptible !== false) {
|
|
5573
5702
|
obj.interruptible = message.interruptible;
|
|
5574
5703
|
}
|
|
5575
|
-
if (message.dynamicCensus
|
|
5704
|
+
if (message.dynamicCensus !== false) {
|
|
5576
5705
|
obj.dynamicCensus = message.dynamicCensus;
|
|
5577
5706
|
}
|
|
5578
|
-
if (message.encryptedMetaData
|
|
5707
|
+
if (message.encryptedMetaData !== false) {
|
|
5579
5708
|
obj.encryptedMetaData = message.encryptedMetaData;
|
|
5580
5709
|
}
|
|
5581
|
-
if (message.preRegister
|
|
5710
|
+
if (message.preRegister !== false) {
|
|
5582
5711
|
obj.preRegister = message.preRegister;
|
|
5583
5712
|
}
|
|
5584
5713
|
return obj;
|
|
@@ -6464,6 +6593,9 @@ function longToNumber(long) {
|
|
|
6464
6593
|
if (long.gt(globalThis.Number.MAX_SAFE_INTEGER)) {
|
|
6465
6594
|
throw new globalThis.Error("Value is larger than Number.MAX_SAFE_INTEGER");
|
|
6466
6595
|
}
|
|
6596
|
+
if (long.lt(globalThis.Number.MIN_SAFE_INTEGER)) {
|
|
6597
|
+
throw new globalThis.Error("Value is smaller than Number.MIN_SAFE_INTEGER");
|
|
6598
|
+
}
|
|
6467
6599
|
return long.toNumber();
|
|
6468
6600
|
}
|
|
6469
6601
|
if (import_minimal.default.util.Long !== import_long.default) {
|
|
@@ -6501,6 +6633,7 @@ function isSet(value) {
|
|
|
6501
6633
|
ProofCA_Type,
|
|
6502
6634
|
ProofEthereumAccount,
|
|
6503
6635
|
ProofEthereumStorage,
|
|
6636
|
+
ProofFarcasterFrame,
|
|
6504
6637
|
ProofMinime,
|
|
6505
6638
|
ProofZkSNARK,
|
|
6506
6639
|
QuestionResult,
|