@vocdoni/proto 1.15.11 → 1.15.12
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-b83a5c8c.d.ts → index-82105988.d.ts} +1 -1
- package/build/js/index.d.ts +1 -1
- package/build/js/index.js +5 -5
- package/build/js/index.mjs +5 -5
- package/build/js/vochain/index.d.ts +1 -1
- package/build/js/vochain/index.js +5 -5
- package/build/js/vochain/index.mjs +5 -5
- package/package.json +1 -1
|
@@ -1777,7 +1777,7 @@ declare const ProofCA: {
|
|
|
1777
1777
|
interface CAbundle {
|
|
1778
1778
|
processId: Uint8Array;
|
|
1779
1779
|
address: Uint8Array;
|
|
1780
|
-
voteWeight
|
|
1780
|
+
voteWeight?: Uint8Array | undefined;
|
|
1781
1781
|
}
|
|
1782
1782
|
declare const CAbundle: {
|
|
1783
1783
|
encode(message: CAbundle, writer?: _m0.Writer): _m0.Writer;
|
package/build/js/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { i as ClientStore } from './index-d457aeb5.js';
|
|
2
2
|
export { i as Metadata } from './index-05df597a.js';
|
|
3
|
-
export { i as Vochain } from './index-
|
|
3
|
+
export { i as Vochain } from './index-82105988.js';
|
|
4
4
|
import 'protobufjs/minimal';
|
|
5
5
|
import './entity-e8dfcd83.js';
|
package/build/js/index.js
CHANGED
|
@@ -7041,7 +7041,7 @@ var ProofCA = {
|
|
|
7041
7041
|
}
|
|
7042
7042
|
};
|
|
7043
7043
|
function createBaseCAbundle() {
|
|
7044
|
-
return { processId: new Uint8Array(0), address: new Uint8Array(0), voteWeight:
|
|
7044
|
+
return { processId: new Uint8Array(0), address: new Uint8Array(0), voteWeight: void 0 };
|
|
7045
7045
|
}
|
|
7046
7046
|
var CAbundle = {
|
|
7047
7047
|
encode(message, writer = import_minimal8.default.Writer.create()) {
|
|
@@ -7051,7 +7051,7 @@ var CAbundle = {
|
|
|
7051
7051
|
if (message.address.length !== 0) {
|
|
7052
7052
|
writer.uint32(18).bytes(message.address);
|
|
7053
7053
|
}
|
|
7054
|
-
if (message.voteWeight
|
|
7054
|
+
if (message.voteWeight !== void 0) {
|
|
7055
7055
|
writer.uint32(26).bytes(message.voteWeight);
|
|
7056
7056
|
}
|
|
7057
7057
|
return writer;
|
|
@@ -7093,7 +7093,7 @@ var CAbundle = {
|
|
|
7093
7093
|
return {
|
|
7094
7094
|
processId: isSet8(object.processId) ? bytesFromBase643(object.processId) : new Uint8Array(0),
|
|
7095
7095
|
address: isSet8(object.address) ? bytesFromBase643(object.address) : new Uint8Array(0),
|
|
7096
|
-
voteWeight: isSet8(object.voteWeight) ? bytesFromBase643(object.voteWeight) :
|
|
7096
|
+
voteWeight: isSet8(object.voteWeight) ? bytesFromBase643(object.voteWeight) : void 0
|
|
7097
7097
|
};
|
|
7098
7098
|
},
|
|
7099
7099
|
toJSON(message) {
|
|
@@ -7104,7 +7104,7 @@ var CAbundle = {
|
|
|
7104
7104
|
if (message.address.length !== 0) {
|
|
7105
7105
|
obj.address = base64FromBytes3(message.address);
|
|
7106
7106
|
}
|
|
7107
|
-
if (message.voteWeight
|
|
7107
|
+
if (message.voteWeight !== void 0) {
|
|
7108
7108
|
obj.voteWeight = base64FromBytes3(message.voteWeight);
|
|
7109
7109
|
}
|
|
7110
7110
|
return obj;
|
|
@@ -7116,7 +7116,7 @@ var CAbundle = {
|
|
|
7116
7116
|
const message = createBaseCAbundle();
|
|
7117
7117
|
message.processId = object.processId ?? new Uint8Array(0);
|
|
7118
7118
|
message.address = object.address ?? new Uint8Array(0);
|
|
7119
|
-
message.voteWeight = object.voteWeight ??
|
|
7119
|
+
message.voteWeight = object.voteWeight ?? void 0;
|
|
7120
7120
|
return message;
|
|
7121
7121
|
}
|
|
7122
7122
|
};
|
package/build/js/index.mjs
CHANGED
|
@@ -7030,7 +7030,7 @@ var ProofCA = {
|
|
|
7030
7030
|
}
|
|
7031
7031
|
};
|
|
7032
7032
|
function createBaseCAbundle() {
|
|
7033
|
-
return { processId: new Uint8Array(0), address: new Uint8Array(0), voteWeight:
|
|
7033
|
+
return { processId: new Uint8Array(0), address: new Uint8Array(0), voteWeight: void 0 };
|
|
7034
7034
|
}
|
|
7035
7035
|
var CAbundle = {
|
|
7036
7036
|
encode(message, writer = import_minimal8.default.Writer.create()) {
|
|
@@ -7040,7 +7040,7 @@ var CAbundle = {
|
|
|
7040
7040
|
if (message.address.length !== 0) {
|
|
7041
7041
|
writer.uint32(18).bytes(message.address);
|
|
7042
7042
|
}
|
|
7043
|
-
if (message.voteWeight
|
|
7043
|
+
if (message.voteWeight !== void 0) {
|
|
7044
7044
|
writer.uint32(26).bytes(message.voteWeight);
|
|
7045
7045
|
}
|
|
7046
7046
|
return writer;
|
|
@@ -7082,7 +7082,7 @@ var CAbundle = {
|
|
|
7082
7082
|
return {
|
|
7083
7083
|
processId: isSet8(object.processId) ? bytesFromBase643(object.processId) : new Uint8Array(0),
|
|
7084
7084
|
address: isSet8(object.address) ? bytesFromBase643(object.address) : new Uint8Array(0),
|
|
7085
|
-
voteWeight: isSet8(object.voteWeight) ? bytesFromBase643(object.voteWeight) :
|
|
7085
|
+
voteWeight: isSet8(object.voteWeight) ? bytesFromBase643(object.voteWeight) : void 0
|
|
7086
7086
|
};
|
|
7087
7087
|
},
|
|
7088
7088
|
toJSON(message) {
|
|
@@ -7093,7 +7093,7 @@ var CAbundle = {
|
|
|
7093
7093
|
if (message.address.length !== 0) {
|
|
7094
7094
|
obj.address = base64FromBytes3(message.address);
|
|
7095
7095
|
}
|
|
7096
|
-
if (message.voteWeight
|
|
7096
|
+
if (message.voteWeight !== void 0) {
|
|
7097
7097
|
obj.voteWeight = base64FromBytes3(message.voteWeight);
|
|
7098
7098
|
}
|
|
7099
7099
|
return obj;
|
|
@@ -7105,7 +7105,7 @@ var CAbundle = {
|
|
|
7105
7105
|
const message = createBaseCAbundle();
|
|
7106
7106
|
message.processId = object.processId ?? new Uint8Array(0);
|
|
7107
7107
|
message.address = object.address ?? new Uint8Array(0);
|
|
7108
|
-
message.voteWeight = object.voteWeight ??
|
|
7108
|
+
message.voteWeight = object.voteWeight ?? void 0;
|
|
7109
7109
|
return message;
|
|
7110
7110
|
}
|
|
7111
7111
|
};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { G as Account, K as AdminTx, v as CAbundle, f as Census, C as CensusOrigin, g as Census_Type, W as CollectFaucetTx, $ as EnvelopeType, Y as FaucetPackage, X as FaucetPayload, N as NewProcessTx, a2 as OracleList, _ as Process, a8 as ProcessEndingList, a0 as ProcessMode, a6 as ProcessResult, P as ProcessStatus, a1 as ProcessVoteOptions, k as Proof, w as ProofArbo, A as ProofArbo_KeyType, x as ProofArbo_Type, o as ProofCA, q as ProofCA_Type, m as ProofEthereumAccount, l as ProofEthereumStorage, F as ProofFarcasterFrame, n as ProofMinime, E as ProofZkSNARK, a7 as QuestionResult, R as RegisterKeyTx, U as RegisterSIKTx, Q as SIKTx, L as SendTokensTx, O as SetAccountTx, Z as SetKeykeeperTx, J as SetProcessTx, M as SetTransactionCostsTx, I as SignedTx, S as SourceNetworkId, a9 as StoredKeys, a5 as TendermintHeader, H as Tx, T as TxType, a4 as Validator, a3 as ValidatorList, V as VoteEnvelope, d as censusOriginFromJSON, e as censusOriginToJSON, h as census_TypeFromJSON, j as census_TypeToJSON, p as processStatusFromJSON, b as processStatusToJSON, B as proofArbo_KeyTypeFromJSON, D as proofArbo_KeyTypeToJSON, y as proofArbo_TypeFromJSON, z as proofArbo_TypeToJSON, r as proofCA_TypeFromJSON, u as proofCA_TypeToJSON, s as sourceNetworkIdFromJSON, c as sourceNetworkIdToJSON, t as txTypeFromJSON, a as txTypeToJSON } from '../index-
|
|
1
|
+
export { G as Account, K as AdminTx, v as CAbundle, f as Census, C as CensusOrigin, g as Census_Type, W as CollectFaucetTx, $ as EnvelopeType, Y as FaucetPackage, X as FaucetPayload, N as NewProcessTx, a2 as OracleList, _ as Process, a8 as ProcessEndingList, a0 as ProcessMode, a6 as ProcessResult, P as ProcessStatus, a1 as ProcessVoteOptions, k as Proof, w as ProofArbo, A as ProofArbo_KeyType, x as ProofArbo_Type, o as ProofCA, q as ProofCA_Type, m as ProofEthereumAccount, l as ProofEthereumStorage, F as ProofFarcasterFrame, n as ProofMinime, E as ProofZkSNARK, a7 as QuestionResult, R as RegisterKeyTx, U as RegisterSIKTx, Q as SIKTx, L as SendTokensTx, O as SetAccountTx, Z as SetKeykeeperTx, J as SetProcessTx, M as SetTransactionCostsTx, I as SignedTx, S as SourceNetworkId, a9 as StoredKeys, a5 as TendermintHeader, H as Tx, T as TxType, a4 as Validator, a3 as ValidatorList, V as VoteEnvelope, d as censusOriginFromJSON, e as censusOriginToJSON, h as census_TypeFromJSON, j as census_TypeToJSON, p as processStatusFromJSON, b as processStatusToJSON, B as proofArbo_KeyTypeFromJSON, D as proofArbo_KeyTypeToJSON, y as proofArbo_TypeFromJSON, z as proofArbo_TypeToJSON, r as proofCA_TypeFromJSON, u as proofCA_TypeToJSON, s as sourceNetworkIdFromJSON, c as sourceNetworkIdToJSON, t as txTypeFromJSON, a as txTypeToJSON } from '../index-82105988.js';
|
|
2
2
|
import 'protobufjs/minimal';
|
|
@@ -2774,7 +2774,7 @@ var ProofCA = {
|
|
|
2774
2774
|
}
|
|
2775
2775
|
};
|
|
2776
2776
|
function createBaseCAbundle() {
|
|
2777
|
-
return { processId: new Uint8Array(0), address: new Uint8Array(0), voteWeight:
|
|
2777
|
+
return { processId: new Uint8Array(0), address: new Uint8Array(0), voteWeight: void 0 };
|
|
2778
2778
|
}
|
|
2779
2779
|
var CAbundle = {
|
|
2780
2780
|
encode(message, writer = import_minimal.default.Writer.create()) {
|
|
@@ -2784,7 +2784,7 @@ var CAbundle = {
|
|
|
2784
2784
|
if (message.address.length !== 0) {
|
|
2785
2785
|
writer.uint32(18).bytes(message.address);
|
|
2786
2786
|
}
|
|
2787
|
-
if (message.voteWeight
|
|
2787
|
+
if (message.voteWeight !== void 0) {
|
|
2788
2788
|
writer.uint32(26).bytes(message.voteWeight);
|
|
2789
2789
|
}
|
|
2790
2790
|
return writer;
|
|
@@ -2826,7 +2826,7 @@ var CAbundle = {
|
|
|
2826
2826
|
return {
|
|
2827
2827
|
processId: isSet(object.processId) ? bytesFromBase64(object.processId) : new Uint8Array(0),
|
|
2828
2828
|
address: isSet(object.address) ? bytesFromBase64(object.address) : new Uint8Array(0),
|
|
2829
|
-
voteWeight: isSet(object.voteWeight) ? bytesFromBase64(object.voteWeight) :
|
|
2829
|
+
voteWeight: isSet(object.voteWeight) ? bytesFromBase64(object.voteWeight) : void 0
|
|
2830
2830
|
};
|
|
2831
2831
|
},
|
|
2832
2832
|
toJSON(message) {
|
|
@@ -2837,7 +2837,7 @@ var CAbundle = {
|
|
|
2837
2837
|
if (message.address.length !== 0) {
|
|
2838
2838
|
obj.address = base64FromBytes(message.address);
|
|
2839
2839
|
}
|
|
2840
|
-
if (message.voteWeight
|
|
2840
|
+
if (message.voteWeight !== void 0) {
|
|
2841
2841
|
obj.voteWeight = base64FromBytes(message.voteWeight);
|
|
2842
2842
|
}
|
|
2843
2843
|
return obj;
|
|
@@ -2849,7 +2849,7 @@ var CAbundle = {
|
|
|
2849
2849
|
const message = createBaseCAbundle();
|
|
2850
2850
|
message.processId = object.processId ?? new Uint8Array(0);
|
|
2851
2851
|
message.address = object.address ?? new Uint8Array(0);
|
|
2852
|
-
message.voteWeight = object.voteWeight ??
|
|
2852
|
+
message.voteWeight = object.voteWeight ?? void 0;
|
|
2853
2853
|
return message;
|
|
2854
2854
|
}
|
|
2855
2855
|
};
|
|
@@ -2699,7 +2699,7 @@ var ProofCA = {
|
|
|
2699
2699
|
}
|
|
2700
2700
|
};
|
|
2701
2701
|
function createBaseCAbundle() {
|
|
2702
|
-
return { processId: new Uint8Array(0), address: new Uint8Array(0), voteWeight:
|
|
2702
|
+
return { processId: new Uint8Array(0), address: new Uint8Array(0), voteWeight: void 0 };
|
|
2703
2703
|
}
|
|
2704
2704
|
var CAbundle = {
|
|
2705
2705
|
encode(message, writer = import_minimal.default.Writer.create()) {
|
|
@@ -2709,7 +2709,7 @@ var CAbundle = {
|
|
|
2709
2709
|
if (message.address.length !== 0) {
|
|
2710
2710
|
writer.uint32(18).bytes(message.address);
|
|
2711
2711
|
}
|
|
2712
|
-
if (message.voteWeight
|
|
2712
|
+
if (message.voteWeight !== void 0) {
|
|
2713
2713
|
writer.uint32(26).bytes(message.voteWeight);
|
|
2714
2714
|
}
|
|
2715
2715
|
return writer;
|
|
@@ -2751,7 +2751,7 @@ var CAbundle = {
|
|
|
2751
2751
|
return {
|
|
2752
2752
|
processId: isSet(object.processId) ? bytesFromBase64(object.processId) : new Uint8Array(0),
|
|
2753
2753
|
address: isSet(object.address) ? bytesFromBase64(object.address) : new Uint8Array(0),
|
|
2754
|
-
voteWeight: isSet(object.voteWeight) ? bytesFromBase64(object.voteWeight) :
|
|
2754
|
+
voteWeight: isSet(object.voteWeight) ? bytesFromBase64(object.voteWeight) : void 0
|
|
2755
2755
|
};
|
|
2756
2756
|
},
|
|
2757
2757
|
toJSON(message) {
|
|
@@ -2762,7 +2762,7 @@ var CAbundle = {
|
|
|
2762
2762
|
if (message.address.length !== 0) {
|
|
2763
2763
|
obj.address = base64FromBytes(message.address);
|
|
2764
2764
|
}
|
|
2765
|
-
if (message.voteWeight
|
|
2765
|
+
if (message.voteWeight !== void 0) {
|
|
2766
2766
|
obj.voteWeight = base64FromBytes(message.voteWeight);
|
|
2767
2767
|
}
|
|
2768
2768
|
return obj;
|
|
@@ -2774,7 +2774,7 @@ var CAbundle = {
|
|
|
2774
2774
|
const message = createBaseCAbundle();
|
|
2775
2775
|
message.processId = object.processId ?? new Uint8Array(0);
|
|
2776
2776
|
message.address = object.address ?? new Uint8Array(0);
|
|
2777
|
-
message.voteWeight = object.voteWeight ??
|
|
2777
|
+
message.voteWeight = object.voteWeight ?? void 0;
|
|
2778
2778
|
return message;
|
|
2779
2779
|
}
|
|
2780
2780
|
};
|