@vocdoni/proto 1.15.4 → 1.15.6
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/{index-5d7943a4.d.ts → index-51ead84f.d.ts} +2008 -403
- package/build/js/index.d.ts +1 -1
- package/build/js/index.js +170 -5
- package/build/js/index.mjs +170 -5
- package/build/js/vochain/index.d.ts +1 -1
- package/build/js/vochain/index.js +171 -5
- package/build/js/vochain/index.mjs +170 -5
- 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,
|
|
@@ -1521,6 +1522,7 @@ var TxType = /* @__PURE__ */ ((TxType2) => {
|
|
|
1521
1522
|
TxType2[TxType2["DEL_ACCOUNT_SIK"] = 25] = "DEL_ACCOUNT_SIK";
|
|
1522
1523
|
TxType2[TxType2["REGISTER_SIK"] = 26] = "REGISTER_SIK";
|
|
1523
1524
|
TxType2[TxType2["SET_ACCOUNT_VALIDATOR"] = 27] = "SET_ACCOUNT_VALIDATOR";
|
|
1525
|
+
TxType2[TxType2["SET_PROCESS_DURATION"] = 28] = "SET_PROCESS_DURATION";
|
|
1524
1526
|
TxType2[TxType2["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
1525
1527
|
return TxType2;
|
|
1526
1528
|
})(TxType || {});
|
|
@@ -1604,6 +1606,9 @@ function txTypeFromJSON(object) {
|
|
|
1604
1606
|
case 27:
|
|
1605
1607
|
case "SET_ACCOUNT_VALIDATOR":
|
|
1606
1608
|
return 27 /* SET_ACCOUNT_VALIDATOR */;
|
|
1609
|
+
case 28:
|
|
1610
|
+
case "SET_PROCESS_DURATION":
|
|
1611
|
+
return 28 /* SET_PROCESS_DURATION */;
|
|
1607
1612
|
case -1:
|
|
1608
1613
|
case "UNRECOGNIZED":
|
|
1609
1614
|
default:
|
|
@@ -1664,6 +1669,8 @@ function txTypeToJSON(object) {
|
|
|
1664
1669
|
return "REGISTER_SIK";
|
|
1665
1670
|
case 27 /* SET_ACCOUNT_VALIDATOR */:
|
|
1666
1671
|
return "SET_ACCOUNT_VALIDATOR";
|
|
1672
|
+
case 28 /* SET_PROCESS_DURATION */:
|
|
1673
|
+
return "SET_PROCESS_DURATION";
|
|
1667
1674
|
case -1 /* UNRECOGNIZED */:
|
|
1668
1675
|
default:
|
|
1669
1676
|
return "UNRECOGNIZED";
|
|
@@ -1843,6 +1850,7 @@ var CensusOrigin = /* @__PURE__ */ ((CensusOrigin2) => {
|
|
|
1843
1850
|
CensusOrigin2[CensusOrigin2["ERC1155"] = 13] = "ERC1155";
|
|
1844
1851
|
CensusOrigin2[CensusOrigin2["ERC777"] = 14] = "ERC777";
|
|
1845
1852
|
CensusOrigin2[CensusOrigin2["MINI_ME"] = 15] = "MINI_ME";
|
|
1853
|
+
CensusOrigin2[CensusOrigin2["FARCASTER_FRAME"] = 16] = "FARCASTER_FRAME";
|
|
1846
1854
|
CensusOrigin2[CensusOrigin2["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
1847
1855
|
return CensusOrigin2;
|
|
1848
1856
|
})(CensusOrigin || {});
|
|
@@ -1875,6 +1883,9 @@ function censusOriginFromJSON(object) {
|
|
|
1875
1883
|
case 15:
|
|
1876
1884
|
case "MINI_ME":
|
|
1877
1885
|
return 15 /* MINI_ME */;
|
|
1886
|
+
case 16:
|
|
1887
|
+
case "FARCASTER_FRAME":
|
|
1888
|
+
return 16 /* FARCASTER_FRAME */;
|
|
1878
1889
|
case -1:
|
|
1879
1890
|
case "UNRECOGNIZED":
|
|
1880
1891
|
default:
|
|
@@ -1901,6 +1912,8 @@ function censusOriginToJSON(object) {
|
|
|
1901
1912
|
return "ERC777";
|
|
1902
1913
|
case 15 /* MINI_ME */:
|
|
1903
1914
|
return "MINI_ME";
|
|
1915
|
+
case 16 /* FARCASTER_FRAME */:
|
|
1916
|
+
return "FARCASTER_FRAME";
|
|
1904
1917
|
case -1 /* UNRECOGNIZED */:
|
|
1905
1918
|
default:
|
|
1906
1919
|
return "UNRECOGNIZED";
|
|
@@ -1913,6 +1926,7 @@ var Census_Type = /* @__PURE__ */ ((Census_Type2) => {
|
|
|
1913
1926
|
Census_Type2[Census_Type2["ETHEREUMSTORAGE"] = 3] = "ETHEREUMSTORAGE";
|
|
1914
1927
|
Census_Type2[Census_Type2["ETHEREUMACCOUNT"] = 4] = "ETHEREUMACCOUNT";
|
|
1915
1928
|
Census_Type2[Census_Type2["CA"] = 5] = "CA";
|
|
1929
|
+
Census_Type2[Census_Type2["FARCASTER_FRAME"] = 6] = "FARCASTER_FRAME";
|
|
1916
1930
|
Census_Type2[Census_Type2["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
1917
1931
|
return Census_Type2;
|
|
1918
1932
|
})(Census_Type || {});
|
|
@@ -1936,6 +1950,9 @@ function census_TypeFromJSON(object) {
|
|
|
1936
1950
|
case 5:
|
|
1937
1951
|
case "CA":
|
|
1938
1952
|
return 5 /* CA */;
|
|
1953
|
+
case 6:
|
|
1954
|
+
case "FARCASTER_FRAME":
|
|
1955
|
+
return 6 /* FARCASTER_FRAME */;
|
|
1939
1956
|
case -1:
|
|
1940
1957
|
case "UNRECOGNIZED":
|
|
1941
1958
|
default:
|
|
@@ -1956,6 +1973,8 @@ function census_TypeToJSON(object) {
|
|
|
1956
1973
|
return "ETHEREUMACCOUNT";
|
|
1957
1974
|
case 5 /* CA */:
|
|
1958
1975
|
return "CA";
|
|
1976
|
+
case 6 /* FARCASTER_FRAME */:
|
|
1977
|
+
return "FARCASTER_FRAME";
|
|
1959
1978
|
case -1 /* UNRECOGNIZED */:
|
|
1960
1979
|
default:
|
|
1961
1980
|
return "UNRECOGNIZED";
|
|
@@ -2271,6 +2290,9 @@ var Proof = {
|
|
|
2271
2290
|
case "minimeStorage":
|
|
2272
2291
|
ProofMinime.encode(message.payload.minimeStorage, writer.uint32(66).fork()).ldelim();
|
|
2273
2292
|
break;
|
|
2293
|
+
case "farcasterFrame":
|
|
2294
|
+
ProofFarcasterFrame.encode(message.payload.farcasterFrame, writer.uint32(74).fork()).ldelim();
|
|
2295
|
+
break;
|
|
2274
2296
|
}
|
|
2275
2297
|
return writer;
|
|
2276
2298
|
},
|
|
@@ -2323,6 +2345,15 @@ var Proof = {
|
|
|
2323
2345
|
}
|
|
2324
2346
|
message.payload = { $case: "minimeStorage", minimeStorage: ProofMinime.decode(reader, reader.uint32()) };
|
|
2325
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;
|
|
2326
2357
|
}
|
|
2327
2358
|
if ((tag & 7) === 4 || tag === 0) {
|
|
2328
2359
|
break;
|
|
@@ -2333,7 +2364,7 @@ var Proof = {
|
|
|
2333
2364
|
},
|
|
2334
2365
|
fromJSON(object) {
|
|
2335
2366
|
return {
|
|
2336
|
-
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
|
|
2337
2368
|
};
|
|
2338
2369
|
},
|
|
2339
2370
|
toJSON(message) {
|
|
@@ -2356,6 +2387,9 @@ var Proof = {
|
|
|
2356
2387
|
if (message.payload?.$case === "minimeStorage") {
|
|
2357
2388
|
obj.minimeStorage = ProofMinime.toJSON(message.payload.minimeStorage);
|
|
2358
2389
|
}
|
|
2390
|
+
if (message.payload?.$case === "farcasterFrame") {
|
|
2391
|
+
obj.farcasterFrame = ProofFarcasterFrame.toJSON(message.payload.farcasterFrame);
|
|
2392
|
+
}
|
|
2359
2393
|
return obj;
|
|
2360
2394
|
},
|
|
2361
2395
|
create(base) {
|
|
@@ -2390,6 +2424,12 @@ var Proof = {
|
|
|
2390
2424
|
minimeStorage: ProofMinime.fromPartial(object.payload.minimeStorage)
|
|
2391
2425
|
};
|
|
2392
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
|
+
}
|
|
2393
2433
|
return message;
|
|
2394
2434
|
}
|
|
2395
2435
|
};
|
|
@@ -3021,6 +3061,86 @@ var ProofZkSNARK = {
|
|
|
3021
3061
|
return message;
|
|
3022
3062
|
}
|
|
3023
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
|
+
};
|
|
3024
3144
|
function createBaseAccount() {
|
|
3025
3145
|
return { balance: 0, nonce: 0, infoURI: "", delegateAddrs: [], processIndex: 0 };
|
|
3026
3146
|
}
|
|
@@ -3537,7 +3657,8 @@ function createBaseSetProcessTx() {
|
|
|
3537
3657
|
censusURI: void 0,
|
|
3538
3658
|
proof: void 0,
|
|
3539
3659
|
results: void 0,
|
|
3540
|
-
tempSIKs: void 0
|
|
3660
|
+
tempSIKs: void 0,
|
|
3661
|
+
duration: void 0
|
|
3541
3662
|
};
|
|
3542
3663
|
}
|
|
3543
3664
|
var SetProcessTx = {
|
|
@@ -3572,6 +3693,9 @@ var SetProcessTx = {
|
|
|
3572
3693
|
if (message.tempSIKs !== void 0) {
|
|
3573
3694
|
writer.uint32(80).bool(message.tempSIKs);
|
|
3574
3695
|
}
|
|
3696
|
+
if (message.duration !== void 0) {
|
|
3697
|
+
writer.uint32(88).uint32(message.duration);
|
|
3698
|
+
}
|
|
3575
3699
|
return writer;
|
|
3576
3700
|
},
|
|
3577
3701
|
decode(input, length) {
|
|
@@ -3641,6 +3765,12 @@ var SetProcessTx = {
|
|
|
3641
3765
|
}
|
|
3642
3766
|
message.tempSIKs = reader.bool();
|
|
3643
3767
|
continue;
|
|
3768
|
+
case 11:
|
|
3769
|
+
if (tag !== 88) {
|
|
3770
|
+
break;
|
|
3771
|
+
}
|
|
3772
|
+
message.duration = reader.uint32();
|
|
3773
|
+
continue;
|
|
3644
3774
|
}
|
|
3645
3775
|
if ((tag & 7) === 4 || tag === 0) {
|
|
3646
3776
|
break;
|
|
@@ -3660,7 +3790,8 @@ var SetProcessTx = {
|
|
|
3660
3790
|
censusURI: isSet(object.censusURI) ? globalThis.String(object.censusURI) : void 0,
|
|
3661
3791
|
proof: isSet(object.proof) ? Proof.fromJSON(object.proof) : void 0,
|
|
3662
3792
|
results: isSet(object.results) ? ProcessResult.fromJSON(object.results) : void 0,
|
|
3663
|
-
tempSIKs: isSet(object.tempSIKs) ? globalThis.Boolean(object.tempSIKs) : void 0
|
|
3793
|
+
tempSIKs: isSet(object.tempSIKs) ? globalThis.Boolean(object.tempSIKs) : void 0,
|
|
3794
|
+
duration: isSet(object.duration) ? globalThis.Number(object.duration) : void 0
|
|
3664
3795
|
};
|
|
3665
3796
|
},
|
|
3666
3797
|
toJSON(message) {
|
|
@@ -3695,6 +3826,9 @@ var SetProcessTx = {
|
|
|
3695
3826
|
if (message.tempSIKs !== void 0) {
|
|
3696
3827
|
obj.tempSIKs = message.tempSIKs;
|
|
3697
3828
|
}
|
|
3829
|
+
if (message.duration !== void 0) {
|
|
3830
|
+
obj.duration = Math.round(message.duration);
|
|
3831
|
+
}
|
|
3698
3832
|
return obj;
|
|
3699
3833
|
},
|
|
3700
3834
|
create(base) {
|
|
@@ -3712,6 +3846,7 @@ var SetProcessTx = {
|
|
|
3712
3846
|
message.proof = object.proof !== void 0 && object.proof !== null ? Proof.fromPartial(object.proof) : void 0;
|
|
3713
3847
|
message.results = object.results !== void 0 && object.results !== null ? ProcessResult.fromPartial(object.results) : void 0;
|
|
3714
3848
|
message.tempSIKs = object.tempSIKs ?? void 0;
|
|
3849
|
+
message.duration = object.duration ?? void 0;
|
|
3715
3850
|
return message;
|
|
3716
3851
|
}
|
|
3717
3852
|
};
|
|
@@ -4857,7 +4992,9 @@ function createBaseProcess() {
|
|
|
4857
4992
|
nullifiersRoot: void 0,
|
|
4858
4993
|
sourceNetworkContractAddr: void 0,
|
|
4859
4994
|
tokenDecimals: void 0,
|
|
4860
|
-
tempSIKs: void 0
|
|
4995
|
+
tempSIKs: void 0,
|
|
4996
|
+
startTime: 0,
|
|
4997
|
+
duration: 0
|
|
4861
4998
|
};
|
|
4862
4999
|
}
|
|
4863
5000
|
var Process = {
|
|
@@ -4955,6 +5092,12 @@ var Process = {
|
|
|
4955
5092
|
if (message.tempSIKs !== void 0) {
|
|
4956
5093
|
writer.uint32(272).bool(message.tempSIKs);
|
|
4957
5094
|
}
|
|
5095
|
+
if (message.startTime !== 0) {
|
|
5096
|
+
writer.uint32(280).uint32(message.startTime);
|
|
5097
|
+
}
|
|
5098
|
+
if (message.duration !== 0) {
|
|
5099
|
+
writer.uint32(288).uint32(message.duration);
|
|
5100
|
+
}
|
|
4958
5101
|
return writer;
|
|
4959
5102
|
},
|
|
4960
5103
|
decode(input, length) {
|
|
@@ -5150,6 +5293,18 @@ var Process = {
|
|
|
5150
5293
|
}
|
|
5151
5294
|
message.tempSIKs = reader.bool();
|
|
5152
5295
|
continue;
|
|
5296
|
+
case 35:
|
|
5297
|
+
if (tag !== 280) {
|
|
5298
|
+
break;
|
|
5299
|
+
}
|
|
5300
|
+
message.startTime = reader.uint32();
|
|
5301
|
+
continue;
|
|
5302
|
+
case 36:
|
|
5303
|
+
if (tag !== 288) {
|
|
5304
|
+
break;
|
|
5305
|
+
}
|
|
5306
|
+
message.duration = reader.uint32();
|
|
5307
|
+
continue;
|
|
5153
5308
|
}
|
|
5154
5309
|
if ((tag & 7) === 4 || tag === 0) {
|
|
5155
5310
|
break;
|
|
@@ -5190,7 +5345,9 @@ var Process = {
|
|
|
5190
5345
|
nullifiersRoot: isSet(object.nullifiersRoot) ? bytesFromBase64(object.nullifiersRoot) : void 0,
|
|
5191
5346
|
sourceNetworkContractAddr: isSet(object.sourceNetworkContractAddr) ? bytesFromBase64(object.sourceNetworkContractAddr) : void 0,
|
|
5192
5347
|
tokenDecimals: isSet(object.tokenDecimals) ? globalThis.Number(object.tokenDecimals) : void 0,
|
|
5193
|
-
tempSIKs: isSet(object.tempSIKs) ? globalThis.Boolean(object.tempSIKs) : void 0
|
|
5348
|
+
tempSIKs: isSet(object.tempSIKs) ? globalThis.Boolean(object.tempSIKs) : void 0,
|
|
5349
|
+
startTime: isSet(object.startTime) ? globalThis.Number(object.startTime) : 0,
|
|
5350
|
+
duration: isSet(object.duration) ? globalThis.Number(object.duration) : 0
|
|
5194
5351
|
};
|
|
5195
5352
|
},
|
|
5196
5353
|
toJSON(message) {
|
|
@@ -5288,6 +5445,12 @@ var Process = {
|
|
|
5288
5445
|
if (message.tempSIKs !== void 0) {
|
|
5289
5446
|
obj.tempSIKs = message.tempSIKs;
|
|
5290
5447
|
}
|
|
5448
|
+
if (message.startTime !== 0) {
|
|
5449
|
+
obj.startTime = Math.round(message.startTime);
|
|
5450
|
+
}
|
|
5451
|
+
if (message.duration !== 0) {
|
|
5452
|
+
obj.duration = Math.round(message.duration);
|
|
5453
|
+
}
|
|
5291
5454
|
return obj;
|
|
5292
5455
|
},
|
|
5293
5456
|
create(base) {
|
|
@@ -5326,6 +5489,8 @@ var Process = {
|
|
|
5326
5489
|
message.sourceNetworkContractAddr = object.sourceNetworkContractAddr ?? void 0;
|
|
5327
5490
|
message.tokenDecimals = object.tokenDecimals ?? void 0;
|
|
5328
5491
|
message.tempSIKs = object.tempSIKs ?? void 0;
|
|
5492
|
+
message.startTime = object.startTime ?? 0;
|
|
5493
|
+
message.duration = object.duration ?? 0;
|
|
5329
5494
|
return message;
|
|
5330
5495
|
}
|
|
5331
5496
|
};
|
|
@@ -6450,6 +6615,7 @@ function isSet(value) {
|
|
|
6450
6615
|
ProofCA_Type,
|
|
6451
6616
|
ProofEthereumAccount,
|
|
6452
6617
|
ProofEthereumStorage,
|
|
6618
|
+
ProofFarcasterFrame,
|
|
6453
6619
|
ProofMinime,
|
|
6454
6620
|
ProofZkSNARK,
|
|
6455
6621
|
QuestionResult,
|