@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.
@@ -142,7 +142,7 @@ interface BallotMode {
142
142
  maxValueSum: string;
143
143
  minValueSum: string;
144
144
  }
145
- interface Census {
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: 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.1",
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": "MIT",
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.18",
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"