@vocdoni/davinci-sdk 0.0.1 → 0.0.3
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/README.md +297 -43
- package/dist/contracts.d.ts +65 -54
- package/dist/index.d.ts +1316 -194
- package/dist/index.js +1560 -300
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1554 -294
- package/dist/index.mjs.map +1 -1
- package/dist/index.umd.js +3148 -1888
- package/dist/sequencer.d.ts +2 -2
- package/package.json +3 -3
package/dist/sequencer.d.ts
CHANGED
|
@@ -142,7 +142,7 @@ interface BallotMode {
|
|
|
142
142
|
maxValueSum: string;
|
|
143
143
|
minValueSum: string;
|
|
144
144
|
}
|
|
145
|
-
interface
|
|
145
|
+
interface CensusData {
|
|
146
146
|
censusOrigin: CensusOrigin;
|
|
147
147
|
maxVotes: string;
|
|
148
148
|
censusRoot: string;
|
|
@@ -181,7 +181,7 @@ interface GetProcessResponse {
|
|
|
181
181
|
duration: number;
|
|
182
182
|
metadataURI: string;
|
|
183
183
|
ballotMode: BallotMode;
|
|
184
|
-
census:
|
|
184
|
+
census: CensusData;
|
|
185
185
|
metadata: {
|
|
186
186
|
title: Record<string, string>;
|
|
187
187
|
description: Record<string, string>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vocdoni/davinci-sdk",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.3",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.mjs",
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
"email": "info@vocdoni.io",
|
|
62
62
|
"url": "https://vocdoni.io"
|
|
63
63
|
},
|
|
64
|
-
"license": "
|
|
64
|
+
"license": "AGPL-3.0",
|
|
65
65
|
"homepage": "https://github.com/vocdoni/davinci-sdk#readme",
|
|
66
66
|
"repository": {
|
|
67
67
|
"type": "git",
|
|
@@ -72,7 +72,7 @@
|
|
|
72
72
|
},
|
|
73
73
|
"dependencies": {
|
|
74
74
|
"@ethereumjs/common": "^4.4.0",
|
|
75
|
-
"@vocdoni/davinci-contracts": "0.0.
|
|
75
|
+
"@vocdoni/davinci-contracts": "0.0.21",
|
|
76
76
|
"axios": "^1.8.4",
|
|
77
77
|
"ethers": "^6.7.1",
|
|
78
78
|
"snarkjs": "^0.7.5"
|