{"_id":"@vocdoni/sdk","_rev":"61-02e3a09980046fa4b2904409cafdd13f","name":"@vocdoni/sdk","dist-tags":{"latest":"0.10.0"},"versions":{"0.0.1-alpha":{"name":"@vocdoni/sdk","version":"0.0.1-alpha","keywords":["voting","blockchain","vocdoni"],"author":{"name":"Vocdoni"},"license":"AGPL-3.0-or-later","_id":"@vocdoni/sdk@0.0.1-alpha","maintainers":[{"name":"emmdim","email":"manos@aragonlabs.com"},{"name":"marcvelmer","email":"marc1987@gmail.com"},{"name":"dappfuse","email":"dappfuse@riseup.net"},{"name":"0xme","email":"0xme@riseup.net"},{"name":"brickpop","email":"itsbrickpop@gmail.com"},{"name":"jpainan","email":"jpainan@vocdoni.io"}],"homepage":"https://github.com/vocdoni/vocdoni-sdk#readme","bugs":{"url":"https://github.com/vocdoni/vocdoni-sdk/issues"},"dist":{"shasum":"9118eccb99714ec9549322c173269afaa593947f","tarball":"https://registry.npmjs.org/@vocdoni/sdk/-/sdk-0.0.1-alpha.tgz","fileCount":47,"integrity":"sha512-dJyTqUQdUPZAX+QhG46UFBOFNR80Cm2X13GnWuwUN90kP9rjwZiH9H6EB4h9BYhboP4Todu2CAIeWzFoudFC0w==","signatures":[{"sig":"MEQCICV2i+KR/JTSJCRNSp+ZXaTvjr02slQjQK5aJtIZQBb6AiAj7/t4WQ6CfZWTpqpTi6HUy20VxeIdO4eyYENzXDLSZw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":7559068,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjiKLfACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr6XRAAkBZ+kRrbHYWnQWZZ/ys+sN/I6KwI1mHbgA3Cld3/kbhnnpSB\r\nuYlTXaKC2hQBbiPBFHHYHo8DBpyf0ABI6c+hEGV5RU9os0CuT1Qy8VuSQIUe\r\nnZqrl6X9ze23SDcQCvpew3DEkWVV43mBl9tYf1ywiPig5oObxX238uDyTzus\r\nzNkmwJbw3mgF9DogXRgc89LpuFolegNMUZMJVXOGk5UCf+g5JloaN+NEQ3Un\r\n7Zqee73ZIvNibUIPgqtW/NcS2f7Tm/eowgQvFOSPmyJkF63yCCBVXeNNUv/+\r\nV68YKli8hAToIvRUu24rJgWsK2MK1wkr5pYhJceZzQt5EHQMPChA+RsRGeRp\r\n3s794PcWVEiGwwywnlg3A7rubuwyBS7yL3v0yWSKis7z185eZ9ZjhWmjNiyh\r\n8Ln5z78ckeQUEGFcNuvCRvbS4kHUBMOAgUb80aSFGpLXVrr7T/7uVL67E8b6\r\nvXyGrpOBKealRsQWvI/1UOzq5E97pAi6YQib4pJVBoneJd5yey1JCwh95xcX\r\nEs9uy3Fn80FuonSMD19TRpfHslW+GXrUREle9fu1LxxVK3UZ2PLbL4iu2by6\r\n4DP3Z/3PaWk768mlonYxZwaFeR9Dwm+VpqqLXpxEbihjb93GV5V06i5yieCR\r\nW8iR57Ck1cFVOyyUR5ska2TkHNPPuxSfGbs=\r\n=idmR\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"preset":"ts-jest","testEnvironment":"node"},"main":"dist/index.js","husky":{"hooks":{"pre-commit":"yarn lint"}},"browser":{"fs":false,"os":false,"path":false},"engines":{"node":">=14"},"exports":{".":{"types":"./dist/index.d.ts","browser":{"default":"./dist/index.browser.js"},"default":{"default":"./dist/index.js"}}},"gitHead":"6dc8cf3e3f08c4a9a6e093a20de88a80d0a2b4c0","scripts":{"lint":"eslint src test --ext .js,.jsx,.ts,.tsx","size":"size-limit","build":"rimraf dist && ts-node esbuild.ts && yarn ts-types","clean":"rimraf node_modules dist","start":"ts-node esbuild.ts --watch","lintfix":"yarn lint --fix","prepare":"yarn build","prebuild":"yarn submodule","ts-types":"tsc --emitDeclarationOnly --outDir dist","build:doc":"jsdoc-to-mdx -c jsdoc-to-mdx.config.json","submodule":"git submodule update --init && yarn --cwd src/dvote-protobuf/","test:unit":"jest test/unit","test:integration":"jest test/integration"},"typings":"dist/index.d.ts","_npmUser":{"name":"marcvelmer","email":"marc1987@gmail.com"},"prettier":{"semi":true,"printWidth":120,"singleQuote":true,"trailingComma":"es5"},"deprecated":"0.0.x is no longer supported","repository":{"url":"git+https://github.com/vocdoni/vocdoni-sdk.git","type":"git"},"size-limit":[{"path":"dist/index.js","limit":"512 KB","ignore":["net","stream","http","https","url","tty","assert","zlib","events","tls","eval"]},{"path":"dist/index.browser.js","limit":"512 KB"}],"_npmVersion":"8.19.2","description":"⚒️An SDK for building applications on top of Vocdoni API","directories":{},"_nodeVersion":"18.12.1","dependencies":{"yup":"^0.32.11","axios":"^1.2.0","dvote-solidity":"^1.4.0","tiny-invariant":"^1.3.1","iso-language-codes":"^1.1.0","@ethersproject/wallet":"^5.7.0","@ethersproject/address":"^5.7.0","tweetnacl-sealedbox-js":"^1.2.0","@ethersproject/keccak256":"^5.7.0","@ethersproject/providers":"^5.7.1","@ethersproject/signing-key":"^5.7.0","@ethersproject/abstract-signer":"^5.7.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.3.0","husky":"^8.0.2","tslib":"^2.4.0","eslint":"^8.27.0","rimraf":"^3.0.2","esbuild":"^0.15.13","ts-jest":"^29.0.3","ts-node":"^10.9.1","prettier":"^2.7.1","@babel/cli":"^7.19.3","size-limit":"^8.1.0","typescript":"^4.8.4","@babel/core":"^7.20.2","@types/jest":"^29.2.2","jsdoc-babel":"^0.5.0","jsdoc-to-mdx":"^1.1.2","@babel/preset-env":"^7.20.2","jsdoc-to-markdown":"^7.1.1","@size-limit/esbuild":"^8.1.0","eslint-config-prettier":"^8.5.0","eslint-plugin-prettier":"^4.2.1","@babel/preset-typescript":"^7.18.6","@typescript-eslint/parser":"^5.42.1","@size-limit/preset-small-lib":"^8.1.0","@typescript-eslint/eslint-plugin":"^5.42.1","@esbuild-plugins/node-globals-polyfill":"^0.1.1","@esbuild-plugins/node-modules-polyfill":"^0.1.4"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.0.1-alpha_1669898974938_0.8309522192523067","host":"s3://npm-registry-packages"}},"0.0.2-alpha":{"name":"@vocdoni/sdk","version":"0.0.2-alpha","keywords":["voting","blockchain","vocdoni"],"author":{"name":"Vocdoni"},"license":"AGPL-3.0-or-later","_id":"@vocdoni/sdk@0.0.2-alpha","maintainers":[{"name":"emmdim","email":"manos@aragonlabs.com"},{"name":"marcvelmer","email":"marc1987@gmail.com"},{"name":"dappfuse","email":"dappfuse@riseup.net"},{"name":"0xme","email":"0xme@riseup.net"},{"name":"brickpop","email":"itsbrickpop@gmail.com"},{"name":"jpainan","email":"jpainan@vocdoni.io"}],"homepage":"https://github.com/vocdoni/vocdoni-sdk#readme","bugs":{"url":"https://github.com/vocdoni/vocdoni-sdk/issues"},"dist":{"shasum":"0b5ac2c691e377a2a15b526a5b19927493621795","tarball":"https://registry.npmjs.org/@vocdoni/sdk/-/sdk-0.0.2-alpha.tgz","fileCount":49,"integrity":"sha512-dlfWmOiAoKKjx4UcFwhvA38tiKY1w/Qd5kLRjI0QVFTcjl5mvjOreEXI64SKA5qv35WYOXOAbx+zt5AUElsKlQ==","signatures":[{"sig":"MEUCIEx/vNP5n17SRWSZYMLtgH7MjUAYRoiqeHf8gixCLCCQAiEAyuT7pvwVYPqh7VjTugRq03ffQdNl0eAupBKJ0Nrrjo4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":9082408,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjoeREACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqA5A/8CGhshSaJvOK2tajizhyXIfsorWwZDtfNY1cI3f5UknGCgVYj\r\nH50weKTKF3mDIuQvCGeyJXJTMGIt/+MCn/JDfmRl+NeyiK8V4UUkfOa6EqTo\r\nlCLRq4ITnSOqAlT+i9QynTj/EFLnrwgTFyIBVHOen428P2ZHFWwuam7JI3Qw\r\nSjuUOX0l2WZbtX2dx584hix2R8ZeKdZlEVZuinErdSOD6FUd7k6lKqN3nDCR\r\n/2u9keTCTGST8L1nFupT0SDvtypSohL8R4OAVEEwJS702N+YVm/zulvRmZ+n\r\nF7GWZA6GbHq6EiEsv7Zw9M9t+HqYuc/gk+uaXHq/u4stSaNYTw6JMzYFn+7J\r\nrjjYWXVlub2oFAUpJUKcut1NMSr5KTXWlDpMNpLbQ38NRrzkwRIrx7TZGYfj\r\n8iT8CWNwmvQu4MQrkgPMTeHsomP3SBZVZqvdtAQ4H6GYi/eG2+8pgSlyd3P0\r\n+Hlc3wUmD4dEVsGGWEhdrnksCPIwa5GOjxmUTBgaoWqbA5RXW9ICbWSfMBlr\r\nI7hGBlbghU9IRc6Yx5YbYDY8D76NfjmLsVHXlyQ96BP1FKvH5LMlOT/9bDJw\r\nl6hOOx0i5FFIUFD2nY96UIKani9g03VPag22Y4YLox9rObtYxZMIOWyTfIZB\r\n47SZn1mIWXPCflT7hXThkNiHwax3wrFYcqM=\r\n=yhS6\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"preset":"ts-jest","testEnvironment":"node"},"main":"dist/index.js","husky":{"hooks":{"pre-commit":"yarn lint"}},"browser":{"fs":false,"os":false,"path":false},"engines":{"node":">=14"},"exports":{".":{"types":"./dist/index.d.ts","browser":{"default":"./dist/index.browser.js"},"default":{"default":"./dist/index.js"}}},"gitHead":"dcadd0eca37448b2c575b0186389184c02ee43ef","scripts":{"lint":"eslint src test --ext .js,.jsx,.ts,.tsx","size":"size-limit","test":"yarn test:unit && yarn test:integration","build":"rimraf dist && ts-node esbuild.ts && yarn ts-types","clean":"rimraf node_modules dist","start":"ts-node esbuild.ts --watch","analyze":"size-limit --why","lintfix":"yarn lint --fix","prepare":"yarn build","prebuild":"yarn submodule","ts-types":"tsc --emitDeclarationOnly --outDir dist","submodule":"git submodule update --init && yarn --cwd src/dvote-protobuf/","test:unit":"jest test/unit","test:integration":"jest test/integration"},"typings":"dist/index.d.ts","_npmUser":{"name":"marcvelmer","email":"marc1987@gmail.com"},"prettier":{"semi":true,"printWidth":120,"singleQuote":true,"trailingComma":"es5"},"deprecated":"0.0.x is no longer supported","repository":{"url":"git+https://github.com/vocdoni/vocdoni-sdk.git","type":"git"},"size-limit":[{"path":"dist/index.js","limit":"512 KB","ignore":["net","stream","http","https","url","tty","assert","zlib","events","tls","eval"]},{"path":"dist/index.browser.js","limit":"512 KB"}],"_npmVersion":"8.19.2","description":"⚒️An SDK for building applications on top of Vocdoni API","directories":{},"_nodeVersion":"18.12.1","dependencies":{"yup":"^0.32.11","axios":"^1.2.0","dvote-solidity":"^1.4.0","tiny-invariant":"^1.3.1","iso-language-codes":"^1.1.0","@ethersproject/wallet":"^5.7.0","@ethersproject/address":"^5.7.0","tweetnacl-sealedbox-js":"^1.2.0","@ethersproject/keccak256":"^5.7.0","@ethersproject/providers":"^5.7.1","@ethersproject/signing-key":"^5.7.0","@ethersproject/abstract-signer":"^5.7.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.3.0","husky":"^8.0.2","tslib":"^2.4.0","eslint":"^8.27.0","rimraf":"^3.0.2","esbuild":"^0.15.13","ts-jest":"^29.0.3","ts-node":"^10.9.1","prettier":"^2.7.1","size-limit":"^8.1.0","typescript":"^4.8.4","@types/jest":"^29.2.2","@size-limit/esbuild":"^8.1.0","eslint-config-prettier":"^8.5.0","eslint-plugin-prettier":"^4.2.1","@typescript-eslint/parser":"^5.42.1","@size-limit/preset-small-lib":"^8.1.0","@typescript-eslint/eslint-plugin":"^5.42.1","@esbuild-plugins/node-globals-polyfill":"^0.1.1","@esbuild-plugins/node-modules-polyfill":"^0.1.4"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.0.2-alpha_1671554116566_0.14351376015797257","host":"s3://npm-registry-packages"}},"0.0.3-alpha":{"name":"@vocdoni/sdk","version":"0.0.3-alpha","keywords":["voting","blockchain","vocdoni"],"author":{"name":"Vocdoni"},"license":"AGPL-3.0-or-later","_id":"@vocdoni/sdk@0.0.3-alpha","maintainers":[{"name":"emmdim","email":"manos@aragon.org"},{"name":"marcvelmer","email":"marc1987@gmail.com"},{"name":"brickpop","email":"itsbrickpop@gmail.com"},{"name":"jpainan","email":"jpainan@vocdoni.io"}],"homepage":"https://github.com/vocdoni/vocdoni-sdk#readme","bugs":{"url":"https://github.com/vocdoni/vocdoni-sdk/issues"},"dist":{"shasum":"161c9e92f8234790556782d3aa1be0f7698c9edf","tarball":"https://registry.npmjs.org/@vocdoni/sdk/-/sdk-0.0.3-alpha.tgz","fileCount":10,"integrity":"sha512-a8fQhLGTuFtc0XnOZVV71PWDKrgbjmUBUZshhqUUINNKFtTZRMHR0RHfwsaE/R0HxJloLgUHJMcXMFP6Dpz0iQ==","signatures":[{"sig":"MEUCIQC95Xb/3b8zFN+e+gLPwg507xD+CgiH+6+Pug+ATbc3SAIgW9PZZVQSZknxcqQLAA6BFUzR0zgAabuYcEixJ+b5Lo0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":961229,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj2O1zACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpGSw//ZyPeBtgUgTjDTNgrFmqoI6fm9IhIQhV36kVf2QoV7Yr3Gyvr\r\ndN7Rl77HLn3NQ5j+7FeQGd7+G0F0eHsLfXhyGo5BGDY41cNNwuepuc5FLEx3\r\nN40+U9sgnYpx2H7LqMPNRh7DcSdNRWNIqDtiV/uNtUO8YBamn9rTmVd2N+Aw\r\n56xCcXdguYeCc1cajY2D7zi00y6rR/noHcR6T2+u1MCY07o0VFfUL1vIAUuW\r\nFUhwo/joPYbDCCaXCvBOFh2OMR8cY3+5Bx1YF+u+Tc0c5CEEInjtpbBeXX32\r\ngPFVSWDtrIeZiWlQpi6lXqkQiYX2xa22XCXcffCW96gpuMHUtBQ+0V0XxeAM\r\nCk7DGu40dqiH5nNVYNx+txoWMo79QFdQvjVVpl6qJyu+gNX2Zcy+MdFFqErM\r\ndvbVuPA3EzskpyVTSWBtlKwzfVTTAUnJIdGks8dVyoEJ2AdkX6ETtIoYRG8z\r\nqEKdNGywbTriGGdNApHRsAdpP2VI5yAFyLE9JyjDiRIoCBvhu7sYC+jEmEVW\r\nlFKN7smYYx8ULGhk+0fA7Ro5W60a4g4Xp+JgQM7NRtooVXTfO7NJ5r9bvxP3\r\n1N4qO3rxwjmsn3O66sJ/jlIgdrdG3YyKbrGCO1ZnezGZpaibfRPHt1wdodm2\r\nvCA+XR65xFlX/vF/uUxPOlJMJKrFdmnRHWU=\r\n=MzN+\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"preset":"ts-jest","testEnvironment":"node"},"main":"dist/index.js","husky":{"hooks":{"pre-commit":"yarn lint"}},"types":"./dist/index.d.ts","module":"dist/index.mjs","engines":{"node":">=14"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./umd":{"types":"./dist/index.d.ts","default":"./dist/index.umd.js"},"./package.json":"./package.json"},"gitHead":"3545797c94288994a86a1afc9e680e33f1995182","scripts":{"lint":"eslint src test --ext .js,.jsx,.ts,.tsx","size":"size-limit","test":"yarn test:unit && yarn test:integration","build":"rollup -c","clean":"rimraf node_modules dist","start":"yarn watch","watch":"yarn build --watch","analyze":"size-limit --why","lintfix":"yarn lint --fix","prepare":"yarn build","ts-types":"tsc --emitDeclarationOnly --outDir dist","test:unit":"jest test/unit","test:integration":"jest test/integration"},"_npmUser":{"name":"marcvelmer","email":"marc1987@gmail.com"},"prettier":{"semi":true,"printWidth":120,"singleQuote":true,"trailingComma":"es5"},"deprecated":"0.0.x is no longer supported","repository":{"url":"git+https://github.com/vocdoni/vocdoni-sdk.git","type":"git"},"size-limit":[{"path":"dist/index.js","limit":"512 KB","ignore":["buffer","net","stream","http","https","url","tty","assert","zlib","events","tls","eval"]},{"path":"dist/index.mjs","limit":"512 KB","ignore":["buffer"]},{"path":"dist/index.umd.js","limit":"512 KB","ignore":["buffer"]}],"_npmVersion":"8.19.2","description":"⚒️An SDK for building applications on top of Vocdoni API","directories":{},"_nodeVersion":"18.12.1","dependencies":{"yup":"^0.32.11","axios":"0.27.2","blakejs":"^1.2.1","tweetnacl":"^1.0.3","@vocdoni/proto":"1.14.0","tiny-invariant":"^1.3.1","iso-language-codes":"^1.1.0","@ethersproject/wallet":"^5.7.0","@ethersproject/address":"^5.7.0","@ethersproject/keccak256":"^5.7.0","@ethersproject/providers":"^5.7.1","@ethersproject/signing-key":"^5.7.0","@ethersproject/abstract-signer":"^5.7.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.3.0","husky":"^8.0.2","tslib":"^2.4.0","eslint":"^8.27.0","rimraf":"^3.0.2","rollup":"^3.9.1","ts-jest":"^29.0.3","prettier":"^2.7.1","size-limit":"^8.1.0","typescript":"^4.8.4","@types/jest":"^29.2.2","rollup-plugin-dts":"^5.1.1","@size-limit/esbuild":"^8.1.0","rollup-plugin-esbuild":"^5.0.0","eslint-config-prettier":"^8.5.0","eslint-plugin-prettier":"^4.2.1","@rollup/plugin-commonjs":"^24.0.0","@typescript-eslint/parser":"^5.42.1","@rollup/plugin-node-resolve":"^15.0.1","@size-limit/preset-small-lib":"^8.1.0","@typescript-eslint/eslint-plugin":"^5.42.1"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.0.3-alpha_1675160947476_0.8309021859281567","host":"s3://npm-registry-packages"}},"0.0.4-alpha":{"name":"@vocdoni/sdk","version":"0.0.4-alpha","keywords":["voting","blockchain","vocdoni"],"author":{"name":"Vocdoni"},"license":"AGPL-3.0-or-later","_id":"@vocdoni/sdk@0.0.4-alpha","maintainers":[{"name":"emmdim","email":"manos@aragon.org"},{"name":"marcvelmer","email":"marc1987@gmail.com"},{"name":"brickpop","email":"itsbrickpop@gmail.com"},{"name":"jpainan","email":"jpainan@vocdoni.io"}],"homepage":"https://github.com/vocdoni/vocdoni-sdk#readme","bugs":{"url":"https://github.com/vocdoni/vocdoni-sdk/issues"},"dist":{"shasum":"1e082b8b31b5be0006955a1d155d5f03d5fe18bf","tarball":"https://registry.npmjs.org/@vocdoni/sdk/-/sdk-0.0.4-alpha.tgz","fileCount":10,"integrity":"sha512-EYu1xm/LkOnpOnsLN1gPQibLSGv0ijf9Hqf8xXnifxpwWY2aUYw15FSQMN/QULGUcWV4PlxQGO5la8q+5yFJyw==","signatures":[{"sig":"MEUCICg0BMK5Gap8SNQlGcHlt/GCUT771l/c+SYrbbrcS7CcAiEAv42P25tcxzct0sSm/by8S8Fwt/6hon+xMcNFuiAcmYM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":10583420,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj/zZvACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrjwA//Syw1+S5eaxWDmk6RYK8Dklo84qqo4VSV6RYQWbt/Ge71wU5J\r\nMuhsO6cryaMGO9DiW541zwFk6cmrNq8Np7rKuC+6aGotmlo6oNyH4hj8Ei7c\r\nnqbJ4t7ebrow1NJwE3xvEEbE9gaw1Ah5GiOQ9XZaM5F4RT2yNiZCqo6SBhTw\r\nXXDxVAVbepEFS4Wqk36DyWwpctECRuKb8UCQ3qxOLt9hKqieMS8I0MNyving\r\ncEu3murzmXiICyS3augVFtfQgrpSXx2P2Rrx46qS3+WOvshek6mO3/tuPpIu\r\nJSXf3Mo9nnDwgTIrfUDbjG6QPP+VqznNChvXqAqqY+iPTbwFC8JvjynEHXlx\r\nMfm/dvd+zelWBUrjGFXKl8zjtU4Czq+txPUpEjiS2oHK+NNjmyWUEqY7/NJI\r\n+WvnlDblNUd1Y38u50LTxGUyb6sDgfCZmMav4JiQzUzdNNpgk4OVDiwxMkFQ\r\njgPKUsS3gvLP7ApXfGtONxQk6TAIpX8pzAZbcwU/B1Hwlv72rt9f3jVnCein\r\n1BmdIlqauEhLcTsNBJGDVxs32GeXRlCDlyHZ+oY1NxRAmtBjN+yLUjEsPrCN\r\nYtFdqWpXDuxfkC0EIK6rf4SKpE4nsA3UNBZHxDf9/wVrqEfVEMKFPpxxjpVR\r\niv84ipe8qSi6l5LTk5i78DnL8V8kW9eVlTA=\r\n=7zKr\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"preset":"ts-jest","testEnvironment":"node"},"main":"dist/index.js","husky":{"hooks":{"pre-commit":"yarn lint"}},"types":"./dist/index.d.ts","module":"dist/index.mjs","engines":{"node":">=14"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./umd":{"types":"./dist/index.d.ts","default":"./dist/index.umd.js"},"./package.json":"./package.json"},"gitHead":"dfbaab76186da74ef94791e6e2847543974fd07d","scripts":{"lint":"eslint src test --ext .js,.jsx,.ts,.tsx","size":"size-limit","test":"yarn test:unit && yarn test:integration","build":"rollup -c","clean":"rimraf node_modules dist","start":"yarn watch","watch":"yarn build --watch","analyze":"size-limit --why","lintfix":"yarn lint --fix","prepare":"yarn build","ts-types":"tsc --emitDeclarationOnly --outDir dist","test:unit":"jest test/unit","test:integration":"jest test/integration"},"_npmUser":{"name":"marcvelmer","email":"marc1987@gmail.com"},"prettier":{"semi":true,"printWidth":120,"singleQuote":true,"trailingComma":"es5"},"deprecated":"0.0.x is no longer supported","repository":{"url":"git+https://github.com/vocdoni/vocdoni-sdk.git","type":"git"},"size-limit":[{"path":"dist/index.js","limit":"512 KB"},{"path":"dist/index.mjs","limit":"512 KB"},{"path":"dist/index.umd.js","limit":"512 KB"}],"_npmVersion":"8.19.2","description":"⚒️An SDK for building applications on top of Vocdoni API","directories":{},"_nodeVersion":"18.12.1","dependencies":{"yup":"^0.32.11","axios":"0.27.2","blakejs":"^1.2.1","tweetnacl":"^1.0.3","@vocdoni/proto":"1.14.0","blindsecp256k1":"^0.0.9","tiny-invariant":"^1.3.1","@size-limit/file":"^8.2.4","iso-language-codes":"^1.1.0","@ethersproject/bytes":"^5.7.0","@ethersproject/wallet":"^5.7.0","@ethersproject/address":"^5.7.0","@ethersproject/keccak256":"^5.7.0","@ethersproject/providers":"^5.7.1","@ethersproject/signing-key":"^5.7.0","@ethersproject/abstract-signer":"^5.7.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.3.0","husky":"^8.0.2","tslib":"^2.4.0","eslint":"^8.27.0","rimraf":"^3.0.2","rollup":"^3.9.1","esbuild":"^0.17.10","ts-jest":"^29.0.3","prettier":"^2.7.1","size-limit":"^8.1.0","typescript":"^4.8.4","@types/jest":"^29.2.2","rollup-plugin-dts":"^5.1.1","rollup-plugin-esbuild":"^5.0.0","eslint-config-prettier":"^8.5.0","eslint-plugin-prettier":"^4.2.1","@rollup/plugin-commonjs":"^24.0.0","@typescript-eslint/parser":"^5.42.1","@rollup/plugin-node-resolve":"^15.0.1","@typescript-eslint/eslint-plugin":"^5.42.1"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.0.4-alpha_1677669999124_0.628637190593188","host":"s3://npm-registry-packages"}},"0.0.5":{"name":"@vocdoni/sdk","version":"0.0.5","keywords":["voting","blockchain","vocdoni"],"author":{"name":"Vocdoni"},"license":"AGPL-3.0-or-later","_id":"@vocdoni/sdk@0.0.5","maintainers":[{"name":"emmdim","email":"manos@aragon.org"},{"name":"marcvelmer","email":"marc1987@gmail.com"},{"name":"brickpop","email":"itsbrickpop@gmail.com"},{"name":"jpainan","email":"jpainan@vocdoni.io"}],"homepage":"https://github.com/vocdoni/vocdoni-sdk#readme","bugs":{"url":"https://github.com/vocdoni/vocdoni-sdk/issues"},"dist":{"shasum":"b1d356b236e60212295e2d631cd973422bbad9f1","tarball":"https://registry.npmjs.org/@vocdoni/sdk/-/sdk-0.0.5.tgz","fileCount":10,"integrity":"sha512-KaqWDnChA2APeN4s3tdYEqVJ2xwGrKpY4aGY9OITChBHEyI3IKUwwRwstxbSSvGoCbGbBiqtpYIf1y3fFW9AJg==","signatures":[{"sig":"MEUCIDsECkkzYnfYX5TQ8EOl8tXmMpR+y3wim/aO0lfHjA0MAiEAzyb7n0NjFOSNmt+Lp4SRCKqKWLQGYhVZ3ca+nokFFZY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":10628450,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkCL0yACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpHtw//UEuvEYsmW9ffITTyY+dtWp/aH2hz3YGhiayfdvjf3sgj2PyX\r\ngbXPP61acHKYoUtmxzfLRbrVnHmcbht8M553AF9xrvHO42THzM9jIy0YEqv3\r\nxyU/JG4XLA7m5/rxWy0CdIIPbtNKAGFizfYjFXzi+0bDDByazfjRcV63leZi\r\nhJ6kpn+9mgzd5BODf06BY8Wxp+4xqF1nOMaAPvcnjpFfUwUHXyepz+nA+7p9\r\nJrS77Tygg/BfNmSZZDoiBOD/p12ohlGyge9yzZgSxtw7SZwxDwn+qcJnePx1\r\n6mxudNpCPRL5BnOGVWUnOd9q3YWeNpN6JbKq0joVH/5iaw8QfJ5y3cR8Vbql\r\n+kfQfBzYBrhlbNq89n9aRfjPiRpUZHJHM4rIdYxKvIwyTA8kqdXZjfH4ehe/\r\no7Epw3aZ9Md09IWJ1GPxEPAukVX0FQmfpdT9gHjOYUFKObkq/lEwyWsCl1Ni\r\ndKU96TrM/1LHLRIezgnXkMBE9sSj1Fe2hbNluGNgLL3GZ0wA8cux3Qq52yr+\r\nqLYbHbR59AUGz/2MUvYsL9j/VHt25pyNEVm40WdBj3PuoGctjBHJ6DLn4yNv\r\nSaKzkHYlu2JeTaZFc8bLa5oNMgGvCjhxH+pdzIWXSI3tKHPaTM4MRizAbw/q\r\n36qpNwg13BHhWNzak0Jnsei8RC3br+j2U/U=\r\n=E5y5\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"preset":"ts-jest","testEnvironment":"node"},"main":"dist/index.js","husky":{"hooks":{"pre-commit":"yarn lint"}},"types":"./dist/index.d.ts","module":"dist/index.mjs","engines":{"node":">=14"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./umd":{"types":"./dist/index.d.ts","default":"./dist/index.umd.js"},"./package.json":"./package.json"},"gitHead":"71192066b4b64356540b94af13d67fec25f0cec1","scripts":{"lint":"eslint src test --ext .js,.jsx,.ts,.tsx","size":"size-limit","test":"yarn test:unit && yarn test:integration","build":"rollup -c","clean":"rimraf node_modules dist","start":"yarn watch","watch":"yarn build --watch","analyze":"size-limit --why","lintfix":"yarn lint --fix","prepare":"yarn build","ts-types":"tsc --emitDeclarationOnly --outDir dist","test:unit":"jest test/unit","test:integration":"jest test/integration"},"_npmUser":{"name":"marcvelmer","email":"marc1987@gmail.com"},"prettier":{"semi":true,"printWidth":120,"singleQuote":true,"trailingComma":"es5"},"deprecated":"0.0.x is no longer supported","repository":{"url":"git+https://github.com/vocdoni/vocdoni-sdk.git","type":"git"},"size-limit":[{"path":"dist/index.js","limit":"512 KB"},{"path":"dist/index.mjs","limit":"512 KB"},{"path":"dist/index.umd.js","limit":"512 KB"}],"_npmVersion":"8.19.2","description":"⚒️An SDK for building applications on top of Vocdoni API","directories":{},"_nodeVersion":"16.18.1","dependencies":{"yup":"^0.32.11","axios":"0.27.2","blakejs":"^1.2.1","tweetnacl":"^1.0.3","@vocdoni/proto":"1.14.0","blindsecp256k1":"^0.0.9","tiny-invariant":"^1.3.1","@size-limit/file":"^8.2.4","iso-language-codes":"^1.1.0","@ethersproject/bytes":"^5.7.0","@ethersproject/wallet":"^5.7.0","@ethersproject/address":"^5.7.0","@ethersproject/keccak256":"^5.7.0","@ethersproject/providers":"^5.7.1","@ethersproject/signing-key":"^5.7.0","@ethersproject/abstract-signer":"^5.7.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.3.0","husky":"^8.0.2","tslib":"^2.4.0","eslint":"^8.27.0","rimraf":"^3.0.2","rollup":"^3.9.1","esbuild":"^0.17.10","ts-jest":"^29.0.3","prettier":"^2.7.1","size-limit":"^8.1.0","typescript":"^4.8.4","@types/jest":"^29.2.2","rollup-plugin-dts":"^5.1.1","rollup-plugin-esbuild":"^5.0.0","eslint-config-prettier":"^8.5.0","eslint-plugin-prettier":"^4.2.1","@rollup/plugin-commonjs":"^24.0.0","@typescript-eslint/parser":"^5.42.1","@rollup/plugin-node-resolve":"^15.0.1","@typescript-eslint/eslint-plugin":"^5.42.1"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.0.5_1678294322299_0.23899707725675867","host":"s3://npm-registry-packages"}},"0.0.6":{"name":"@vocdoni/sdk","version":"0.0.6","keywords":["voting","blockchain","vocdoni"],"author":{"name":"Vocdoni"},"license":"AGPL-3.0-or-later","_id":"@vocdoni/sdk@0.0.6","maintainers":[{"name":"emmdim","email":"manos@aragon.org"},{"name":"marcvelmer","email":"marc1987@gmail.com"},{"name":"brickpop","email":"itsbrickpop@gmail.com"},{"name":"jpainan","email":"jpainan@vocdoni.io"}],"homepage":"https://github.com/vocdoni/vocdoni-sdk#readme","bugs":{"url":"https://github.com/vocdoni/vocdoni-sdk/issues"},"dist":{"shasum":"027341bd433c31775eed7243ef592fe1f362ab01","tarball":"https://registry.npmjs.org/@vocdoni/sdk/-/sdk-0.0.6.tgz","fileCount":10,"integrity":"sha512-5QoBcPDB9IrG83qznr31v+JZxUTNF+1QTZe1NBriNJPexTrTt8CffVacdQDE6a0R77BADMG4pwBQElxrlb5xWw==","signatures":[{"sig":"MEQCICB4cn4hz0MsKMTvAF8u1nGWDDBKe7tQiM73z3D+CZrPAiAz456We/GXORBtC1vMIKPF85xiUpqBFot2glYB+HViKw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":10636205,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkGySnACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrgvA//bjQCmK8q6AX/eW7TiDzIV/XyPHDgPg3Kj+qfuq5iMndK5omL\r\nyIk6rEJRjk1UOQjfC/NSp1sIyoGubMKRhaMadXKif71E/bq8lwbXON9fJxYF\r\n5nqGFlD3o+gxIeN1Pjey+obZ7+U3a8D5yuDfI2OWFeHNGRdTrG8ekGDCxYTw\r\nj8fOKmQ8Tg30wT4w+NBXFNM61nmYjfI+gXeQFt5U9fRsxl3U5w5TLZY2Cn78\r\n3iz6jS5q/donpf3PKBDgE18hFvsn2rn2mttmEQ+wNgPx0ikaGflfWX1bvc7P\r\n7nhpDP+gFRsJu93OmcPywjhAACGc7AltEj2MBE2gpl22Zc30oRgNvfZg6yYC\r\n+gjPaY0a8lfuJBLOdul/3tqw7XWFYnRPu6F0ElxdSMMHlbK+Qlz/uyn6+7la\r\nFPMqeD59BRyGSv+wITl3JR+sgYjWVSRcplVXzwcTNq8Qq/fc/Pbd+szitC3r\r\n0cfGby4F9d94l2xPssScD1J0qK1Hv/n3Cl6pYarZf3B6NyQjHHrpyf+9CBuA\r\ndsuhnQZJDZY28ZNJjx9vFLEG4kRNxZktL8QQaq/Px5tTMzm8KHPVTHgzjECi\r\ncALzxSCVOTcpoCm6iVVs17ZkkZh/4nebFeH2t8w0dwdbHcYRS1bapGDE8KYh\r\nTC894rBRziJCxOGDbcEJR/nldytoAtseDYI=\r\n=6vYZ\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"preset":"ts-jest","testEnvironment":"node"},"main":"dist/index.js","husky":{"hooks":{"pre-commit":"yarn lint"}},"types":"./dist/index.d.ts","module":"dist/index.mjs","engines":{"node":">=14"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./umd":{"types":"./dist/index.d.ts","default":"./dist/index.umd.js"},"./package.json":"./package.json"},"gitHead":"2c5e6e254cfed2f59347d1abe46b120cc65d47b2","scripts":{"lint":"eslint src test --ext .js,.jsx,.ts,.tsx","size":"size-limit","test":"yarn test:unit && yarn test:integration","build":"rollup -c","clean":"rimraf node_modules dist","start":"yarn watch","watch":"yarn build --watch","analyze":"size-limit --why","lintfix":"yarn lint --fix","prepare":"yarn build","ts-types":"tsc --emitDeclarationOnly --outDir dist","test:unit":"jest test/unit","test:integration":"jest test/integration"},"_npmUser":{"name":"marcvelmer","email":"marc1987@gmail.com"},"prettier":{"semi":true,"printWidth":120,"singleQuote":true,"trailingComma":"es5"},"deprecated":"0.0.x is no longer supported","repository":{"url":"git+https://github.com/vocdoni/vocdoni-sdk.git","type":"git"},"size-limit":[{"path":"dist/index.js","limit":"512 KB"},{"path":"dist/index.mjs","limit":"512 KB"},{"path":"dist/index.umd.js","limit":"512 KB"}],"_npmVersion":"8.19.2","description":"⚒️An SDK for building applications on top of Vocdoni API","directories":{},"_nodeVersion":"18.12.1","dependencies":{"yup":"^0.32.11","axios":"0.27.2","blakejs":"^1.2.1","tweetnacl":"^1.0.3","@vocdoni/proto":"1.14.0","blindsecp256k1":"^0.0.9","tiny-invariant":"^1.3.1","@size-limit/file":"^8.2.4","iso-language-codes":"^1.1.0","@ethersproject/bytes":"^5.7.0","@ethersproject/wallet":"^5.7.0","@ethersproject/address":"^5.7.0","@ethersproject/keccak256":"^5.7.0","@ethersproject/providers":"^5.7.1","@ethersproject/signing-key":"^5.7.0","@ethersproject/abstract-signer":"^5.7.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.3.0","husky":"^8.0.2","tslib":"^2.4.0","eslint":"^8.27.0","rimraf":"^3.0.2","rollup":"^3.9.1","esbuild":"^0.17.10","ts-jest":"^29.0.3","prettier":"^2.7.1","size-limit":"^8.1.0","typescript":"^4.8.4","@types/jest":"^29.2.2","rollup-plugin-dts":"^5.1.1","rollup-plugin-esbuild":"^5.0.0","eslint-config-prettier":"^8.5.0","eslint-plugin-prettier":"^4.2.1","@rollup/plugin-commonjs":"^24.0.0","@typescript-eslint/parser":"^5.42.1","@rollup/plugin-node-resolve":"^15.0.1","@typescript-eslint/eslint-plugin":"^5.42.1"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.0.6_1679500455636_0.9234035148362698","host":"s3://npm-registry-packages"}},"0.0.7":{"name":"@vocdoni/sdk","version":"0.0.7","keywords":["voting","blockchain","vocdoni"],"author":{"name":"Vocdoni"},"license":"AGPL-3.0-or-later","_id":"@vocdoni/sdk@0.0.7","maintainers":[{"name":"emmdim","email":"manos@aragon.org"},{"name":"marcvelmer","email":"marc1987@gmail.com"},{"name":"brickpop","email":"itsbrickpop@gmail.com"},{"name":"jpainan","email":"jpainan@vocdoni.io"}],"homepage":"https://github.com/vocdoni/vocdoni-sdk#readme","bugs":{"url":"https://github.com/vocdoni/vocdoni-sdk/issues"},"dist":{"shasum":"cb4e6bdad784f0213d4af96688b298b2667bc23a","tarball":"https://registry.npmjs.org/@vocdoni/sdk/-/sdk-0.0.7.tgz","fileCount":10,"integrity":"sha512-sYoTvRNNXkO6GDi578hRzdXXh9FhloH7BcpDc/i/KEYrUZdtb37TJsolQ6D6XOUPdsD6sRMmMID+eLM3FaJEVA==","signatures":[{"sig":"MEQCIG/9N2L79HGDevZGmz/AqWLNGR7wwC31D7GDXpbhp+RxAiBhps5PrOKX+t8Gz/rHeTTGogpAdZHJEM8JcTRFNI3e8Q==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":10649691,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkJEbEACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoTHw/7B0HeZx+x1dVkDUMwUTGV7H25i2nxRM0Uyv8dZA7OyxOIvmCd\r\nTIGK12luyCpDrjhtCMGxbf0mzAsNmgO6aZL4UVV3Tvr7Qhe891btOZmPnXab\r\nqB1ME0rNirA2T+3ltZoG4Y8JwhnxPbNXu4qATVvb1xJUa5o64AVP7ivl6q+b\r\nbZdyOBSbsCsgW4qKbs0z96YQj9FL/suKqRcV2Yq03bpL4fTtgUVgsdFtjtkw\r\nUAwPN6kePD6u5l6OLO+I56BIkyG8rHpCvDTkka9sVPV+7KxsXAQL392yiW7z\r\nI0xK2spU9wIUcKyB7AZJSgeKW8a69avhSv1BIEW5yL4VQaFqUzxq9RM+F4Y8\r\n+JPZ434wzN5fCLvViqRm1IMqmWfD9U/raFDDdI4RmKiU41LZ45CcMupAOV2W\r\nJvEIYzMsyeblCRXXCrWf3pOafWyPUcBm0VWm0xVqO5uhQf3xTqWobknG3e89\r\ngivzPGWEPPe400ghbt67KjBBhUh/cRUasfKu7aNcxq9h5UPtsAf/ubU9mUWM\r\nplis78WQsFxvuFcpAkzHn2lhi2uQGit94SHrXdaP+ConUC8EXofiFbyZtZud\r\nozJ2hkOiYjwmh75J+t9BPC761olclI9T9ERTWFHOQvhN8ymTPDCMPEgiEnKz\r\ngmRJaqNx60Jeg3DWyCnT4s16Wh32h5zkp+w=\r\n=9DWp\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"preset":"ts-jest","testEnvironment":"node"},"main":"dist/index.js","husky":{"hooks":{"pre-commit":"yarn lint"}},"types":"./dist/index.d.ts","module":"dist/index.mjs","engines":{"node":">=14"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./umd":{"types":"./dist/index.d.ts","default":"./dist/index.umd.js"},"./package.json":"./package.json"},"gitHead":"9401988bd010f82473e2510bfbabf8d6770dc1c6","scripts":{"lint":"eslint src test --ext .js,.jsx,.ts,.tsx","size":"size-limit","test":"yarn test:unit && yarn test:integration","build":"rollup -c","clean":"rimraf node_modules dist","start":"yarn watch","watch":"yarn build --watch","analyze":"size-limit --why","lintfix":"yarn lint --fix","prepare":"yarn build","ts-types":"tsc --emitDeclarationOnly --outDir dist","test:unit":"jest test/unit","test:integration":"jest test/integration"},"_npmUser":{"name":"marcvelmer","email":"marc1987@gmail.com"},"prettier":{"semi":true,"printWidth":120,"singleQuote":true,"trailingComma":"es5"},"deprecated":"0.0.x is no longer supported","repository":{"url":"git+https://github.com/vocdoni/vocdoni-sdk.git","type":"git"},"size-limit":[{"path":"dist/index.js","limit":"512 KB"},{"path":"dist/index.mjs","limit":"512 KB"},{"path":"dist/index.umd.js","limit":"512 KB"}],"_npmVersion":"8.19.2","description":"⚒️An SDK for building applications on top of Vocdoni API","directories":{},"_nodeVersion":"18.12.1","dependencies":{"yup":"^0.32.11","axios":"0.27.2","blakejs":"^1.2.1","tweetnacl":"^1.0.3","@vocdoni/proto":"1.14.1","blindsecp256k1":"^0.0.9","tiny-invariant":"^1.3.1","@size-limit/file":"^8.2.4","iso-language-codes":"^1.1.0","@ethersproject/bytes":"^5.7.0","@ethersproject/wallet":"^5.7.0","@ethersproject/address":"^5.7.0","@ethersproject/keccak256":"^5.7.0","@ethersproject/providers":"^5.7.1","@ethersproject/signing-key":"^5.7.0","@ethersproject/abstract-signer":"^5.7.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.3.0","husky":"^8.0.2","tslib":"^2.4.0","eslint":"^8.27.0","rimraf":"^3.0.2","rollup":"^3.9.1","esbuild":"^0.17.10","ts-jest":"^29.0.3","prettier":"^2.7.1","size-limit":"^8.1.0","typescript":"^4.8.4","@types/jest":"^29.2.2","rollup-plugin-dts":"^5.1.1","rollup-plugin-esbuild":"^5.0.0","eslint-config-prettier":"^8.5.0","eslint-plugin-prettier":"^4.2.1","@rollup/plugin-commonjs":"^24.0.0","@typescript-eslint/parser":"^5.42.1","@rollup/plugin-node-resolve":"^15.0.1","@typescript-eslint/eslint-plugin":"^5.42.1"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.0.7_1680099012720_0.6373497494173352","host":"s3://npm-registry-packages"}},"0.0.8":{"name":"@vocdoni/sdk","version":"0.0.8","keywords":["voting","blockchain","vocdoni"],"author":{"name":"Vocdoni"},"license":"AGPL-3.0-or-later","_id":"@vocdoni/sdk@0.0.8","maintainers":[{"name":"emmdim","email":"manos@aragon.org"},{"name":"marcvelmer","email":"marc1987@gmail.com"},{"name":"brickpop","email":"itsbrickpop@gmail.com"},{"name":"jpainan","email":"jpainan@vocdoni.io"}],"homepage":"https://github.com/vocdoni/vocdoni-sdk#readme","bugs":{"url":"https://github.com/vocdoni/vocdoni-sdk/issues"},"dist":{"shasum":"478e1c4c6433cf61c9158d5068fd180f28c3dc9f","tarball":"https://registry.npmjs.org/@vocdoni/sdk/-/sdk-0.0.8.tgz","fileCount":10,"integrity":"sha512-kN75jD9xOg/VnVHX53AEkbmERPGOhk2cbMPif5sslRmQRxOmzGUKUlVpjaiB+mcrtV/tiQZ08HTxl8WyrSIjGg==","signatures":[{"sig":"MEQCIEPhnMca7s6JgtPP81FauxbK7yjS//nvYc/cey28dtS/AiAUSxzf7KazRiR04L6iaoRpeeTwiLBj82a/oHLnLO74pQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":10631288,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkLZSOACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrkEhAAlhkB/nIRjcwJTrAatknRnm081Mlbx5K05Elm+nVlSCE4K0FA\r\nnZkJ7/vVflXarX5VW1rkRxnBiDLiMvop67dMLYsKCuRanUhhelcT9b0KRXYo\r\n4RzWEwH6Kmu7TYe6rCn17ozJ4lLeDpx5pX51VRdQZX0NBdD9k04B0t5gm/OX\r\nYuyECnkXQ0+C3IngfOzzSxzHf0vvsIOAW5QC0D9BGFjJnX7XrQXavbEspe1W\r\nRKNIB8ZDTCvFh+RNiLJU6ZT5xzW9NkvPvSCJowlYwPj+mb/+aCaXfYAhdNKF\r\nhfXBpIq8ujgDV57VJSeUNoaWwoEf8ddzxsgwa/cX8ypjwEiw8WdpPZfy7HHi\r\nuZvsMKPLt5QoXZGGI3/vJn+JxmOMxGUwNj11j7oDhjm5s2up7B6rHpP5jKXI\r\niJlzZOYvg0Zva1KASFjPb3SLMiZU/OpLU2gtTtcM7Vm9+gvVBw7hMQ1mMFfQ\r\npIsEdqp/uMsV5BWV63+1h2/aZHsZ4D/pc8r1VODvqzPCKqnH479Irv8sntXI\r\nTTNP98MjqrNDqT1ijQdG7c2dVPLe9Ey+e6P83i57al9kd0wDPGNv5aI7OxcO\r\nEz5BDvkGPFaUKKYGJwW8MBsyilU+mgWr6PemyUhYRer+UELurKTctcBZvjfj\r\n0VkcQxPjYa79V5GPFOdOQVkhyy/cZb/8Fo8=\r\n=BYaI\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"preset":"ts-jest","testEnvironment":"node"},"main":"dist/index.js","husky":{"hooks":{"pre-commit":"yarn lint"}},"types":"./dist/index.d.ts","module":"dist/index.mjs","engines":{"node":">=14"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./umd":{"types":"./dist/index.d.ts","default":"./dist/index.umd.js"},"./package.json":"./package.json"},"gitHead":"af7aea9273def79c7040f9e68cecabd70d0777f0","scripts":{"lint":"eslint src test --ext .js,.jsx,.ts,.tsx","size":"size-limit","test":"yarn test:unit && yarn test:api && yarn test:integration","build":"rollup -c","clean":"rimraf node_modules dist","start":"yarn watch","watch":"yarn build --watch","analyze":"size-limit --why","lintfix":"yarn lint --fix","prepare":"yarn build","test:api":"jest test/api","ts-types":"tsc --emitDeclarationOnly --outDir dist","test:unit":"jest test/unit","test:integration":"jest test/integration"},"_npmUser":{"name":"marcvelmer","email":"marc1987@gmail.com"},"prettier":{"semi":true,"printWidth":120,"singleQuote":true,"trailingComma":"es5"},"deprecated":"0.0.x is no longer supported","repository":{"url":"git+https://github.com/vocdoni/vocdoni-sdk.git","type":"git"},"size-limit":[{"path":"dist/index.js","limit":"512 KB"},{"path":"dist/index.mjs","limit":"512 KB"},{"path":"dist/index.umd.js","limit":"512 KB"}],"_npmVersion":"8.19.2","description":"⚒️An SDK for building applications on top of Vocdoni API","directories":{},"_nodeVersion":"18.12.1","dependencies":{"yup":"^0.32.11","axios":"0.27.2","blakejs":"^1.2.1","tweetnacl":"^1.0.3","@vocdoni/proto":"1.14.1","blindsecp256k1":"^0.0.9","tiny-invariant":"^1.3.1","@size-limit/file":"^8.2.4","iso-language-codes":"^1.1.0","@ethersproject/bytes":"^5.7.0","@ethersproject/wallet":"^5.7.0","@ethersproject/address":"^5.7.0","@ethersproject/keccak256":"^5.7.0","@ethersproject/providers":"^5.7.1","@ethersproject/signing-key":"^5.7.0","@ethersproject/abstract-signer":"^5.7.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.3.0","husky":"^8.0.2","tslib":"^2.4.0","eslint":"^8.27.0","rimraf":"^3.0.2","rollup":"^3.9.1","esbuild":"^0.17.10","ts-jest":"^29.0.3","prettier":"^2.7.1","size-limit":"^8.1.0","typescript":"^4.8.4","@types/jest":"^29.2.2","rollup-plugin-dts":"^5.1.1","rollup-plugin-esbuild":"^5.0.0","eslint-config-prettier":"^8.5.0","eslint-plugin-prettier":"^4.2.1","@rollup/plugin-commonjs":"^24.0.0","@typescript-eslint/parser":"^5.42.1","@rollup/plugin-node-resolve":"^15.0.1","@typescript-eslint/eslint-plugin":"^5.42.1"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.0.8_1680708749794_0.18469752703617948","host":"s3://npm-registry-packages"}},"0.0.9":{"name":"@vocdoni/sdk","version":"0.0.9","keywords":["voting","blockchain","vocdoni"],"author":{"name":"Vocdoni"},"license":"AGPL-3.0-or-later","_id":"@vocdoni/sdk@0.0.9","maintainers":[{"name":"emmdim","email":"manos@aragon.org"},{"name":"marcvelmer","email":"marc1987@gmail.com"},{"name":"brickpop","email":"itsbrickpop@gmail.com"},{"name":"jpainan","email":"jpainan@vocdoni.io"}],"homepage":"https://github.com/vocdoni/vocdoni-sdk#readme","bugs":{"url":"https://github.com/vocdoni/vocdoni-sdk/issues"},"dist":{"shasum":"21a74c7200b7f3dc52e198fa56b1ef66470b456a","tarball":"https://registry.npmjs.org/@vocdoni/sdk/-/sdk-0.0.9.tgz","fileCount":10,"integrity":"sha512-c15m5Gfz0nXvxyf8UNdBtMnT4n30mzYGpG4q6ee4wVliycpCj2zMCprdXmdSjgHH17dps9SvRubiPjyMLf2toQ==","signatures":[{"sig":"MEQCIH5hEPbaP5wHu/E2Yc8PuPYkWzMukK6VYUZdC6aUcLqNAiBMno4oNWi4cFCyGjXGuNnSQNEIIORPaykjCogodELvTg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":10677870,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkR6wOACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoL2hAAoq8PXvvUuK+8ELaHFAHT6HtgQdAXx4jjU4PRjFKlB1Zg9RGK\r\nZGGJ+ZT9uRIHdBtASfGmGV5BI1a3aBLZBh69LdjtiILF/i6n7RfjJPMdU8u8\r\npO+IQl/jCe/UUNvcv7i5BAc/wvHoA5tFgrv9F9jE8mkV7fj5O14gDkw1sxr1\r\nYWigQjZVqV/9bS4e8Y5ZwlBt4nLxbPQSY5J3OdzSaH+VPcs7TRmBm3ejzjCj\r\n9OTRJKW1NOvHKAia3WTfDS/QIfR9HCCJNHCsy7FXC2Q8d59pGIY0UGxbKJWv\r\nUVqbgJ0NTDoVoX/b0odNMsnucwqC+O7KUUurORpUpUnl4XuXETwasOAIJd1E\r\n3VFbV6FIDeiFjTkkckUyvsFpV8Wx4UYSkGzLjEfgzOUm7M1FL/kh+0UGts9K\r\nPZS3xRhRRebvoI8R8gL1R50x00UvS8UjkL8YZgaqODSju9an00jVNwBKJx4o\r\nERnxVmAKuo/KBbk1nG0vnTWZp1YEy0iq1j0j6c0lGeoZcPjEwhUnVBiza/SX\r\nFqdhJor3oS/VQoeCPDQHUxD3mJamyMgB+O8um/r+HxmsxQj/i6TMxu2XK31W\r\nzXuIA30Spy1VqNG0khx5Md6y3t/W/fYN9/qL/0/a5ViagyNzHLt+bCT/ABU/\r\nPOZwfPmOGm5uTn+qY4EPRWbxvsasspDs7Y8=\r\n=Jmm3\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"preset":"ts-jest","testEnvironment":"node"},"main":"dist/index.js","husky":{"hooks":{"pre-commit":"yarn lint"}},"types":"./dist/index.d.ts","module":"dist/index.mjs","engines":{"node":">=14"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./umd":{"types":"./dist/index.d.ts","default":"./dist/index.umd.js"},"./package.json":"./package.json"},"gitHead":"03fd22875f6eb02c6625186e9ecbed915eff387f","scripts":{"lint":"eslint src test --ext .js,.jsx,.ts,.tsx","size":"size-limit","test":"yarn test:unit && yarn test:api && yarn test:integration","build":"rollup -c","clean":"rimraf node_modules dist","start":"yarn watch","watch":"yarn build --watch","analyze":"size-limit --why","lintfix":"yarn lint --fix","prepare":"yarn build","test:api":"jest test/api","ts-types":"tsc --emitDeclarationOnly --outDir dist","test:unit":"jest test/unit","test:integration":"jest test/integration"},"_npmUser":{"name":"marcvelmer","email":"marc1987@gmail.com"},"prettier":{"semi":true,"printWidth":120,"singleQuote":true,"trailingComma":"es5"},"deprecated":"0.0.x is no longer supported","repository":{"url":"git+https://github.com/vocdoni/vocdoni-sdk.git","type":"git"},"size-limit":[{"path":"dist/index.js","limit":"512 KB"},{"path":"dist/index.mjs","limit":"512 KB"},{"path":"dist/index.umd.js","limit":"512 KB"}],"_npmVersion":"9.6.3","description":"⚒️An SDK for building applications on top of Vocdoni API","directories":{},"_nodeVersion":"18.12.1","dependencies":{"yup":"^0.32.11","axios":"0.27.2","blakejs":"^1.2.1","tweetnacl":"^1.0.3","@vocdoni/proto":"1.14.1","blindsecp256k1":"^0.0.9","tiny-invariant":"^1.3.1","@size-limit/file":"^8.2.4","iso-language-codes":"^1.1.0","@ethersproject/bytes":"^5.7.0","@ethersproject/wallet":"^5.7.0","@ethersproject/address":"^5.7.0","@ethersproject/keccak256":"^5.7.0","@ethersproject/providers":"^5.7.1","@ethersproject/signing-key":"^5.7.0","@ethersproject/abstract-signer":"^5.7.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.3.0","husky":"^8.0.2","tslib":"^2.4.0","eslint":"^8.27.0","rimraf":"^3.0.2","rollup":"3.20.4","esbuild":"^0.17.10","ts-jest":"^29.0.3","prettier":"^2.7.1","size-limit":"^8.1.0","typescript":"^4.8.4","@types/jest":"^29.2.2","rollup-plugin-dts":"^5.1.1","rollup-plugin-esbuild":"^5.0.0","eslint-config-prettier":"^8.5.0","eslint-plugin-prettier":"^4.2.1","@rollup/plugin-commonjs":"^24.0.0","@typescript-eslint/parser":"^5.42.1","@rollup/plugin-node-resolve":"^15.0.1","@typescript-eslint/eslint-plugin":"^5.42.1"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.0.9_1682418701720_0.06013418967870021","host":"s3://npm-registry-packages"}},"0.0.10":{"name":"@vocdoni/sdk","version":"0.0.10","keywords":["voting","blockchain","vocdoni"],"author":{"name":"Vocdoni"},"license":"AGPL-3.0-or-later","_id":"@vocdoni/sdk@0.0.10","maintainers":[{"name":"emmdim","email":"manos@aragon.org"},{"name":"marcvelmer","email":"marc1987@gmail.com"},{"name":"brickpop","email":"itsbrickpop@gmail.com"},{"name":"jpainan","email":"jpainan@vocdoni.io"}],"homepage":"https://github.com/vocdoni/vocdoni-sdk#readme","bugs":{"url":"https://github.com/vocdoni/vocdoni-sdk/issues"},"dist":{"shasum":"85b369cc527651a8388bca6fe8e19490ee0977e8","tarball":"https://registry.npmjs.org/@vocdoni/sdk/-/sdk-0.0.10.tgz","fileCount":10,"integrity":"sha512-um0dI5duAi0F2MMcmxEXklgQqlx/VHU+FMpDd0duWQqKiJNg/VIgZGLDdmhWXkoc5v/gk2eLJSL3NV9JEbggwg==","signatures":[{"sig":"MEQCIAWwi88aoYD8Rnz/vvtoNeMcgL+vW4+1xPzEo1KRbIWyAiAxRExq9VVeJ35aJIRwmBKZPeM2xIk+U59lDlbZhmy6QQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":10678847,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkR+m5ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqWXBAAlrAwb7jfaT1NJg0KwXKKmQs4m9GQBHwSNVkKgMI/lidIndq/\r\neLKszwOWPUL1wjJGejgQIreXfxjGoTvsyYysvViQV9JQ+uAzuI3MF+khqlUX\r\nS7tjwVARtP7CgUWXyX4zpfSX0o9Vwc4oAH3QSc3QTYKkwpZut56lxng/jb8d\r\nNqVTVJChJn4HDv/pU6xxLCGpOOViY2cExJVXLCJ0URhBkoJqa3kmTY9HE0R7\r\nB7YrIe73GWBUVuclKYFf8K7BOtUUSbMLnP6W4IgytVpZVJjkKyom62njp5v2\r\nVI09dvqDSsoX1HP6HXKUAJ5ZDWf0MZu8YJzqvP06UmKIBP9APY1HPnKyL254\r\n/onCTBVY69bN4RERhQAmv72mExmX/lCPhzqndEDqsMTiCT2f+mWdSQ1PvOxD\r\ndgA2ScU6hFJsS8ROMappCkqqI6qDo+tjavquMPQUL9ZDg5ucKg/eKX7JDEvK\r\nru+Ar6wPOcZwgmpgge808dnC028JMa6D0NJptGaAhCGkrw7M7Z+lMvHmZT7F\r\nvrQPyVjdsTujax1psKzWVVa00kXBiuLn3I7eHw9OhcT11T6Je7UWqhi/qv3x\r\nmEGOTx+Z9cQ63yHMZairSUDCoxuMLwWUXrTl6dlTHoBMvmfdfQPMVzeHMGtW\r\nj/ZFFwvFARAEJFIdX4o3bWBRUPwAWRe7byw=\r\n=BnO7\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"preset":"ts-jest","testEnvironment":"node"},"main":"dist/index.js","husky":{"hooks":{"pre-commit":"yarn lint"}},"types":"./dist/index.d.ts","module":"dist/index.mjs","engines":{"node":">=14"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./umd":{"types":"./dist/index.d.ts","default":"./dist/index.umd.js"},"./package.json":"./package.json"},"gitHead":"e8964895d6a4846d9cc1a5af91f3d3e73b74522b","scripts":{"lint":"eslint src test --ext .js,.jsx,.ts,.tsx","size":"size-limit","test":"yarn test:unit && yarn test:api && yarn test:integration","build":"rollup -c","clean":"rimraf node_modules dist","start":"yarn watch","watch":"yarn build --watch","analyze":"size-limit --why","lintfix":"yarn lint --fix","prepare":"yarn build","test:api":"jest test/api","ts-types":"tsc --emitDeclarationOnly --outDir dist","test:unit":"jest test/unit","test:integration":"jest test/integration"},"_npmUser":{"name":"marcvelmer","email":"marc1987@gmail.com"},"prettier":{"semi":true,"printWidth":120,"singleQuote":true,"trailingComma":"es5"},"deprecated":"0.0.x is no longer supported","repository":{"url":"git+https://github.com/vocdoni/vocdoni-sdk.git","type":"git"},"size-limit":[{"path":"dist/index.js","limit":"512 KB"},{"path":"dist/index.mjs","limit":"512 KB"},{"path":"dist/index.umd.js","limit":"512 KB"}],"_npmVersion":"9.6.3","description":"⚒️An SDK for building applications on top of Vocdoni API","directories":{},"_nodeVersion":"18.12.1","dependencies":{"yup":"^0.32.11","axios":"0.27.2","blakejs":"^1.2.1","tweetnacl":"^1.0.3","@vocdoni/proto":"1.14.1","blindsecp256k1":"^0.0.9","tiny-invariant":"^1.3.1","@size-limit/file":"^8.2.4","iso-language-codes":"^1.1.0","@ethersproject/bytes":"^5.7.0","@ethersproject/wallet":"^5.7.0","@ethersproject/address":"^5.7.0","@ethersproject/keccak256":"^5.7.0","@ethersproject/providers":"^5.7.1","@ethersproject/signing-key":"^5.7.0","@ethersproject/abstract-signer":"^5.7.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.3.0","husky":"^8.0.2","tslib":"^2.4.0","eslint":"^8.27.0","rimraf":"^3.0.2","rollup":"3.20.4","esbuild":"^0.17.10","ts-jest":"^29.0.3","prettier":"^2.7.1","size-limit":"^8.1.0","typescript":"^4.8.4","@types/jest":"^29.2.2","rollup-plugin-dts":"^5.1.1","rollup-plugin-esbuild":"^5.0.0","eslint-config-prettier":"^8.5.0","eslint-plugin-prettier":"^4.2.1","@rollup/plugin-commonjs":"^24.0.0","@typescript-eslint/parser":"^5.42.1","@rollup/plugin-node-resolve":"^15.0.1","@typescript-eslint/eslint-plugin":"^5.42.1"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.0.10_1682434488855_0.8021656173093534","host":"s3://npm-registry-packages"}},"0.0.11":{"name":"@vocdoni/sdk","version":"0.0.11","keywords":["voting","blockchain","vocdoni"],"author":{"name":"Vocdoni"},"license":"AGPL-3.0-or-later","_id":"@vocdoni/sdk@0.0.11","maintainers":[{"name":"emmdim","email":"manos@aragon.org"},{"name":"marcvelmer","email":"marc1987@gmail.com"},{"name":"brickpop","email":"itsbrickpop@gmail.com"},{"name":"jpainan","email":"jpainan@vocdoni.io"}],"homepage":"https://github.com/vocdoni/vocdoni-sdk#readme","bugs":{"url":"https://github.com/vocdoni/vocdoni-sdk/issues"},"dist":{"shasum":"239fd442fbf402c4a486cb81d8b85e0daccebc14","tarball":"https://registry.npmjs.org/@vocdoni/sdk/-/sdk-0.0.11.tgz","fileCount":10,"integrity":"sha512-UNo7UJCQVEWjuxen7Gcu8pW8j0jOlZmuELmWTf96i9gPbz0EcaNJRFeOCh3R80dv5YxleQhWO0rtb6dwHR0Lvw==","signatures":[{"sig":"MEUCIEElESWi5imZQSISNDHjt2SpuI83aCWF3ujr7X7xztBsAiEA/ucLNtSKx5FDa/asdQ+RyhJ9K50ud79ziMYZ/uabfcQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":10678964,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkSCvlACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr2BA//QNWxzFWXEt7+188xSdZjgUegIRCBao8IR2ssVsEyYJguncTp\r\nZ+BAvfh6i2CJCh6/SEIQS4ffqDDBhnvbwo0O1aMs2x8FdSzY2C8rFDdTFppr\r\nHSTy7/3XxX0oNNL9wQJ2+qRvZcJ1+fUIqxG9hNOoEA7+bG9k818XNqhe0T1M\r\nbgWf78cbQ0WweXnlRcHaRdzZ8mJCa/s6wbpo/00e9Z2PSPZN/e1eRHtMjDWX\r\nXGnsB3EN94MrQ8wMaaHsIkpJgzPtMW38VHpkBrWIOa+TUD5u6jjzZMcTNGcx\r\n5oEOC4/qaK2UAvxWepU8y6bgYJDAvwfmt9hkG/RacmyGvQDfUWYz+7pJitlK\r\nXjF17y4Sh5pBdCvRDUjsee9YTdUWKei6wfHYCcPHO1BZmLrizyauj+gkZqw8\r\n4dGVBSiwxvGeRZgtxE2ggQVVxK4hJEamZyzniyYVYji72U9p07RfBqtWl3Bf\r\n7DwdKz6QjFB4O8/XvY7lJSr6O3RUwsP44TBcS+lOp3roCA4Wsa2UIL2MqcH4\r\ngww4nF9/yRQycIi3DDTJlNBI17Shq4m6RqXYycO3dzteIL7il/RMHy+nx1Vj\r\n3eaSMqk/d5+iYbQjnuD4xNbmBfvAou2SiEt2YaGwyc63k6afEUpV4ViBc4z0\r\nTrAQtIZbf3L4phDUD+IFRSjfrkpWd9RDSBU=\r\n=4zJY\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"preset":"ts-jest","testEnvironment":"node"},"main":"dist/index.js","husky":{"hooks":{"pre-commit":"yarn lint"}},"types":"./dist/index.d.ts","module":"dist/index.mjs","engines":{"node":">=14"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./umd":{"types":"./dist/index.d.ts","default":"./dist/index.umd.js"},"./package.json":"./package.json"},"gitHead":"cd54119ac660257c51dc3b3f05b3a37bded06158","scripts":{"lint":"eslint src test --ext .js,.jsx,.ts,.tsx","size":"size-limit","test":"yarn test:unit && yarn test:api && yarn test:integration","build":"rollup -c","clean":"rimraf node_modules dist","start":"yarn watch","watch":"yarn build --watch","analyze":"size-limit --why","lintfix":"yarn lint --fix","prepare":"yarn build","test:api":"jest test/api","ts-types":"tsc --emitDeclarationOnly --outDir dist","test:unit":"jest test/unit","test:integration":"jest test/integration"},"_npmUser":{"name":"marcvelmer","email":"marc1987@gmail.com"},"prettier":{"semi":true,"printWidth":120,"singleQuote":true,"trailingComma":"es5"},"deprecated":"0.0.x is no longer supported","repository":{"url":"git+https://github.com/vocdoni/vocdoni-sdk.git","type":"git"},"size-limit":[{"path":"dist/index.js","limit":"512 KB"},{"path":"dist/index.mjs","limit":"512 KB"},{"path":"dist/index.umd.js","limit":"512 KB"}],"_npmVersion":"9.6.3","description":"⚒️An SDK for building applications on top of Vocdoni API","directories":{},"_nodeVersion":"18.12.1","dependencies":{"yup":"^0.32.11","axios":"0.27.2","blakejs":"^1.2.1","tweetnacl":"^1.0.3","@vocdoni/proto":"1.14.1","blindsecp256k1":"^0.0.9","tiny-invariant":"^1.3.1","@size-limit/file":"^8.2.4","iso-language-codes":"^1.1.0","@ethersproject/bytes":"^5.7.0","@ethersproject/wallet":"^5.7.0","@ethersproject/address":"^5.7.0","@ethersproject/keccak256":"^5.7.0","@ethersproject/providers":"^5.7.1","@ethersproject/signing-key":"^5.7.0","@ethersproject/abstract-signer":"^5.7.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.3.0","husky":"^8.0.2","tslib":"^2.4.0","eslint":"^8.27.0","rimraf":"^3.0.2","rollup":"3.20.4","esbuild":"^0.17.10","ts-jest":"^29.0.3","prettier":"^2.7.1","size-limit":"^8.1.0","typescript":"^4.8.4","@types/jest":"^29.2.2","rollup-plugin-dts":"^5.1.1","rollup-plugin-esbuild":"^5.0.0","eslint-config-prettier":"^8.5.0","eslint-plugin-prettier":"^4.2.1","@rollup/plugin-commonjs":"^24.0.0","@typescript-eslint/parser":"^5.42.1","@rollup/plugin-node-resolve":"^15.0.1","@typescript-eslint/eslint-plugin":"^5.42.1"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.0.11_1682451429277_0.45327191709022174","host":"s3://npm-registry-packages"}},"0.0.12":{"name":"@vocdoni/sdk","version":"0.0.12","keywords":["voting","blockchain","vocdoni"],"author":{"name":"Vocdoni"},"license":"AGPL-3.0-or-later","_id":"@vocdoni/sdk@0.0.12","maintainers":[{"name":"emmdim","email":"manos@aragon.org"},{"name":"marcvelmer","email":"marc1987@gmail.com"},{"name":"brickpop","email":"itsbrickpop@gmail.com"},{"name":"jpainan","email":"jpainan@vocdoni.io"}],"homepage":"https://github.com/vocdoni/vocdoni-sdk#readme","bugs":{"url":"https://github.com/vocdoni/vocdoni-sdk/issues"},"dist":{"shasum":"9d4ef2a4e21a9a2763f141702349851ad9f5ab3a","tarball":"https://registry.npmjs.org/@vocdoni/sdk/-/sdk-0.0.12.tgz","fileCount":10,"integrity":"sha512-PvQmlU17R/YAr1wi//jXLJLONxQR20od8K2oXe6VrZbTnY+ULQ2OXbO349Kz75fO4MiKsiw8QK77/c2mxEGwIQ==","signatures":[{"sig":"MEYCIQDqZ1XDkbfiF6OnE1cvidRErzK5DXSofb+EjszH8xzYkgIhALOOrxk98nUsVoyhRU1q+WxyBJb5tVChdRAGJ7WhVV+y","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":10679614},"jest":{"preset":"ts-jest","testEnvironment":"node"},"main":"dist/index.js","husky":{"hooks":{"pre-commit":"yarn lint"}},"types":"./dist/index.d.ts","module":"dist/index.mjs","engines":{"node":">=14"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./umd":{"types":"./dist/index.d.ts","default":"./dist/index.umd.js"},"./package.json":"./package.json"},"gitHead":"98b9dc4e861b9dfd610e1179f29ee0c009dd2379","scripts":{"lint":"eslint src test --ext .js,.jsx,.ts,.tsx","size":"size-limit","test":"yarn test:unit && yarn test:api && yarn test:integration","build":"rollup -c","clean":"rimraf node_modules dist","start":"yarn watch","watch":"yarn build --watch","analyze":"size-limit --why","lintfix":"yarn lint --fix","prepare":"yarn build","test:api":"jest test/api","ts-types":"tsc --emitDeclarationOnly --outDir dist","test:unit":"jest test/unit","test:integration":"jest test/integration"},"_npmUser":{"name":"marcvelmer","email":"marc1987@gmail.com"},"prettier":{"semi":true,"printWidth":120,"singleQuote":true,"trailingComma":"es5"},"deprecated":"0.0.x is no longer supported","repository":{"url":"git+https://github.com/vocdoni/vocdoni-sdk.git","type":"git"},"size-limit":[{"path":"dist/index.js","limit":"512 KB"},{"path":"dist/index.mjs","limit":"512 KB"},{"path":"dist/index.umd.js","limit":"512 KB"}],"_npmVersion":"9.6.3","description":"⚒️An SDK for building applications on top of Vocdoni API","directories":{},"_nodeVersion":"18.12.1","dependencies":{"yup":"^0.32.11","axios":"0.27.2","blakejs":"^1.2.1","tweetnacl":"^1.0.3","@vocdoni/proto":"1.14.1","blindsecp256k1":"^0.0.9","tiny-invariant":"^1.3.1","@size-limit/file":"^8.2.4","iso-language-codes":"^1.1.0","@ethersproject/bytes":"^5.7.0","@ethersproject/wallet":"^5.7.0","@ethersproject/address":"^5.7.0","@ethersproject/keccak256":"^5.7.0","@ethersproject/providers":"^5.7.1","@ethersproject/signing-key":"^5.7.0","@ethersproject/abstract-signer":"^5.7.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.3.0","husky":"^8.0.2","tslib":"^2.4.0","eslint":"^8.27.0","rimraf":"^3.0.2","rollup":"3.20.4","esbuild":"^0.17.10","ts-jest":"^29.0.3","prettier":"^2.7.1","size-limit":"^8.1.0","typescript":"^4.8.4","@types/jest":"^29.2.2","rollup-plugin-dts":"^5.1.1","rollup-plugin-esbuild":"^5.0.0","eslint-config-prettier":"^8.5.0","eslint-plugin-prettier":"^4.2.1","@rollup/plugin-commonjs":"^24.0.0","@typescript-eslint/parser":"^5.42.1","@rollup/plugin-node-resolve":"^15.0.1","@typescript-eslint/eslint-plugin":"^5.42.1"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.0.12_1683652699399_0.27842894420237485","host":"s3://npm-registry-packages"}},"0.0.13":{"name":"@vocdoni/sdk","version":"0.0.13","keywords":["voting","blockchain","vocdoni"],"author":{"name":"Vocdoni"},"license":"AGPL-3.0-or-later","_id":"@vocdoni/sdk@0.0.13","maintainers":[{"name":"elboletaire","email":"elboletaire@underave.net"},{"name":"emmdim","email":"manos@aragon.org"},{"name":"marcvelmer","email":"marc1987@gmail.com"},{"name":"brickpop","email":"itsbrickpop@gmail.com"},{"name":"jpainan","email":"jpainan@vocdoni.io"}],"homepage":"https://github.com/vocdoni/vocdoni-sdk#readme","bugs":{"url":"https://github.com/vocdoni/vocdoni-sdk/issues"},"dist":{"shasum":"6f80e11a482e9fbf1104ccd49e844fc17a1a7779","tarball":"https://registry.npmjs.org/@vocdoni/sdk/-/sdk-0.0.13.tgz","fileCount":10,"integrity":"sha512-LJogV8zOiJxEzL4BlbVitHZHoZ2zeoe+vHQvzLpiuRhLZHIZctKkJitoNU8I3+fQUpB3AQkXlLY9El7nYxaJYA==","signatures":[{"sig":"MEYCIQCi1UZXL6wbzhSgav7OU86ePIkAM7ZI7LBVvkIMQjTXvQIhALA+UeKOIwllw24Jrz3j2DKPqM9ZERaulEYhVLmqC98B","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":10798217},"jest":{"preset":"ts-jest","testEnvironment":"node"},"main":"dist/index.js","husky":{"hooks":{"pre-commit":"yarn lint"}},"types":"./dist/index.d.ts","module":"dist/index.mjs","engines":{"node":">=14"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./umd":{"types":"./dist/index.d.ts","default":"./dist/index.umd.js"},"./package.json":"./package.json"},"gitHead":"df8c43ac0067a23c2b076f8734df674b954f2476","scripts":{"lint":"eslint src test --ext .js,.jsx,.ts,.tsx","size":"size-limit","test":"yarn test:unit && yarn test:api && yarn test:integration","build":"rollup -c","clean":"rimraf node_modules dist","start":"yarn watch","watch":"yarn build --watch","analyze":"size-limit --why","lintfix":"yarn lint --fix","prepare":"yarn build","test:api":"jest test/api","ts-types":"tsc --emitDeclarationOnly --outDir dist","test:unit":"jest test/unit","test:integration":"jest test/integration"},"_npmUser":{"name":"marcvelmer","email":"marc1987@gmail.com"},"prettier":{"semi":true,"printWidth":120,"singleQuote":true,"trailingComma":"es5"},"deprecated":"0.0.x is no longer supported","repository":{"url":"git+https://github.com/vocdoni/vocdoni-sdk.git","type":"git"},"size-limit":[{"path":"dist/index.js","limit":"512 KB"},{"path":"dist/index.mjs","limit":"512 KB"},{"path":"dist/index.umd.js","limit":"512 KB"}],"_npmVersion":"9.6.3","description":"⚒️An SDK for building applications on top of Vocdoni API","directories":{},"_nodeVersion":"18.12.1","dependencies":{"yup":"^0.32.11","axios":"0.27.2","blakejs":"^1.2.1","tweetnacl":"^1.0.3","@vocdoni/proto":"1.14.1","blindsecp256k1":"^0.0.9","tiny-invariant":"^1.3.1","@size-limit/file":"^8.2.4","iso-language-codes":"^1.1.0","@ethersproject/bytes":"^5.7.0","@ethersproject/wallet":"^5.7.0","@ethersproject/address":"^5.7.0","@ethersproject/keccak256":"^5.7.0","@ethersproject/providers":"^5.7.1","@ethersproject/signing-key":"^5.7.0","@ethersproject/abstract-signer":"^5.7.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.3.0","husky":"^8.0.2","tslib":"^2.4.0","eslint":"^8.27.0","rimraf":"^3.0.2","rollup":"^3.22.0","esbuild":"^0.17.10","ts-jest":"^29.0.3","prettier":"^2.7.1","size-limit":"^8.1.0","typescript":"^4.8.4","@types/jest":"^29.2.2","rollup-plugin-dts":"^5.1.1","rollup-plugin-esbuild":"^5.0.0","eslint-config-prettier":"^8.5.0","eslint-plugin-prettier":"^4.2.1","@rollup/plugin-commonjs":"^24.0.0","@typescript-eslint/parser":"^5.42.1","@rollup/plugin-node-resolve":"^15.0.1","@typescript-eslint/eslint-plugin":"^5.42.1"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.0.13_1686059271518_0.47188780164548194","host":"s3://npm-registry-packages"}},"0.0.14":{"name":"@vocdoni/sdk","version":"0.0.14","keywords":["voting","blockchain","vocdoni"],"author":{"name":"Vocdoni"},"license":"AGPL-3.0-or-later","_id":"@vocdoni/sdk@0.0.14","maintainers":[{"name":"elboletaire","email":"elboletaire@underave.net"},{"name":"emmdim","email":"manos@aragon.org"},{"name":"marcvelmer","email":"marc1987@gmail.com"},{"name":"brickpop","email":"itsbrickpop@gmail.com"},{"name":"jpainan","email":"jpainan@vocdoni.io"}],"homepage":"https://github.com/vocdoni/vocdoni-sdk#readme","bugs":{"url":"https://github.com/vocdoni/vocdoni-sdk/issues"},"dist":{"shasum":"ce0914aae24a2613b8f161b9370d4236f6bc5269","tarball":"https://registry.npmjs.org/@vocdoni/sdk/-/sdk-0.0.14.tgz","fileCount":10,"integrity":"sha512-W59bI0lfpy8rUQ/mLUUBPxIbYfWyLkVAc0J/a7s1BseSbklAYI6eBlTAtlsZXxt0jwNZQC/MmHryNa8YesSVYw==","signatures":[{"sig":"MEQCIEBsfcGx0Qfn7sczT/swKnzEE3mcOm/s6wxBM9/GvO7tAiBgRmBxNlOySPYlQjQ5WjjIvmG4dRAKqgZ6O0OaccTSyQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":10812600},"jest":{"preset":"ts-jest","testEnvironment":"node"},"main":"dist/index.js","husky":{"hooks":{"pre-commit":"yarn lint"}},"types":"./dist/index.d.ts","module":"dist/index.mjs","engines":{"node":">=14"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./umd":{"types":"./dist/index.d.ts","default":"./dist/index.umd.js"},"./package.json":"./package.json"},"gitHead":"9becac9b6cdedc54c8bcca7e2322d53c98d9b56b","scripts":{"lint":"eslint src test --ext .js,.jsx,.ts,.tsx","size":"size-limit","test":"yarn test:unit && yarn test:api && yarn test:integration","build":"rollup -c","clean":"rimraf node_modules dist","start":"yarn watch","watch":"yarn build --watch","analyze":"size-limit --why","lintfix":"yarn lint --fix","prepare":"yarn build","test:api":"jest test/api","ts-types":"tsc --emitDeclarationOnly --outDir dist","test:unit":"jest test/unit","test:integration":"jest test/integration"},"_npmUser":{"name":"marcvelmer","email":"marc1987@gmail.com"},"prettier":{"semi":true,"printWidth":120,"singleQuote":true,"trailingComma":"es5"},"deprecated":"0.0.x is no longer supported","repository":{"url":"git+https://github.com/vocdoni/vocdoni-sdk.git","type":"git"},"size-limit":[{"path":"dist/index.js","limit":"512 KB"},{"path":"dist/index.mjs","limit":"512 KB"},{"path":"dist/index.umd.js","limit":"512 KB"}],"_npmVersion":"9.6.3","description":"⚒️An SDK for building applications on top of Vocdoni API","directories":{},"_nodeVersion":"18.12.1","dependencies":{"yup":"^0.32.11","axios":"0.27.2","blakejs":"^1.2.1","tweetnacl":"^1.0.3","@vocdoni/proto":"1.14.1","blindsecp256k1":"^0.0.9","tiny-invariant":"^1.3.1","@size-limit/file":"^8.2.4","iso-language-codes":"^1.1.0","@ethersproject/bytes":"^5.7.0","@ethersproject/wallet":"^5.7.0","@ethersproject/address":"^5.7.0","@ethersproject/keccak256":"^5.7.0","@ethersproject/providers":"^5.7.1","@ethersproject/signing-key":"^5.7.0","@ethersproject/abstract-signer":"^5.7.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.3.0","husky":"^8.0.2","tslib":"^2.4.0","eslint":"^8.27.0","rimraf":"^3.0.2","rollup":"^3.22.0","esbuild":"^0.17.10","ts-jest":"^29.0.3","prettier":"^2.7.1","size-limit":"^8.1.0","typescript":"^4.8.4","@types/jest":"^29.2.2","rollup-plugin-dts":"^5.1.1","rollup-plugin-esbuild":"^5.0.0","eslint-config-prettier":"^8.5.0","eslint-plugin-prettier":"^4.2.1","@rollup/plugin-commonjs":"^24.0.0","@typescript-eslint/parser":"^5.42.1","@rollup/plugin-node-resolve":"^15.0.1","@typescript-eslint/eslint-plugin":"^5.42.1"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.0.14_1686589209094_0.18825255307665123","host":"s3://npm-registry-packages"}},"0.0.15":{"name":"@vocdoni/sdk","version":"0.0.15","keywords":["voting","blockchain","vocdoni"],"author":{"name":"Vocdoni"},"license":"AGPL-3.0-or-later","_id":"@vocdoni/sdk@0.0.15","maintainers":[{"name":"elboletaire","email":"elboletaire@underave.net"},{"name":"emmdim","email":"manos@aragon.org"},{"name":"marcvelmer","email":"marc1987@gmail.com"},{"name":"brickpop","email":"itsbrickpop@gmail.com"},{"name":"jpainan","email":"jpainan@vocdoni.io"}],"homepage":"https://github.com/vocdoni/vocdoni-sdk#readme","bugs":{"url":"https://github.com/vocdoni/vocdoni-sdk/issues"},"dist":{"shasum":"38936e155545285b25ca4dd7b43a8b99514076f5","tarball":"https://registry.npmjs.org/@vocdoni/sdk/-/sdk-0.0.15.tgz","fileCount":10,"integrity":"sha512-6RSZkBqnkK9P/9G3VPn+kJFoBTfWyC+VE0nhx4S31tajcZqmtnhTrOWWaHRUoBJlM2SBOqZLltsdB/TOsVsw4g==","signatures":[{"sig":"MEUCIGzXeYawHcrEXK3YlzU7cJdY7p7Hj+k7LQAz1+hxq2tRAiEA2/OfJXYIKyFGAL8RAyLnNH+vBAUOwlaIpGiZVxVBpXw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":10884270},"jest":{"preset":"ts-jest","testEnvironment":"node"},"main":"dist/index.js","husky":{"hooks":{"pre-commit":"yarn lint"}},"types":"./dist/index.d.ts","module":"dist/index.mjs","engines":{"node":">=14"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./umd":{"types":"./dist/index.d.ts","default":"./dist/index.umd.js"},"./package.json":"./package.json"},"gitHead":"20f2de2892e803310bf174e9f543ae68221af412","scripts":{"lint":"eslint src test --ext .js,.jsx,.ts,.tsx","size":"size-limit","test":"yarn test:unit && yarn test:api && yarn test:integration","build":"rollup -c","clean":"rimraf node_modules dist","start":"yarn watch","watch":"yarn build --watch","analyze":"size-limit --why","lintfix":"yarn lint --fix","prepare":"yarn build","test:api":"jest test/api","ts-types":"tsc --emitDeclarationOnly --outDir dist","test:unit":"jest test/unit","test:integration":"jest test/integration"},"_npmUser":{"name":"marcvelmer","email":"marc1987@gmail.com"},"prettier":{"semi":true,"printWidth":120,"singleQuote":true,"trailingComma":"es5"},"deprecated":"0.0.x is no longer supported","repository":{"url":"git+https://github.com/vocdoni/vocdoni-sdk.git","type":"git"},"size-limit":[{"path":"dist/index.js","limit":"512 KB"},{"path":"dist/index.mjs","limit":"512 KB"},{"path":"dist/index.umd.js","limit":"512 KB"}],"_npmVersion":"9.6.3","description":"⚒️An SDK for building applications on top of Vocdoni API","directories":{},"_nodeVersion":"18.12.1","dependencies":{"yup":"^0.32.11","axios":"0.27.2","blakejs":"^1.2.1","tweetnacl":"^1.0.3","@vocdoni/proto":"1.14.1","blindsecp256k1":"^0.0.9","tiny-invariant":"^1.3.1","@size-limit/file":"^8.2.4","iso-language-codes":"^1.1.0","@ethersproject/bytes":"^5.7.0","@ethersproject/wallet":"^5.7.0","@ethersproject/address":"^5.7.0","@ethersproject/keccak256":"^5.7.0","@ethersproject/providers":"^5.7.1","@ethersproject/signing-key":"^5.7.0","@ethersproject/abstract-signer":"^5.7.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.3.0","husky":"^8.0.2","tslib":"^2.4.0","eslint":"^8.27.0","rimraf":"^3.0.2","rollup":"^3.22.0","esbuild":"^0.17.10","ts-jest":"^29.0.3","prettier":"^2.7.1","size-limit":"^8.1.0","typescript":"^4.8.4","@types/jest":"^29.2.2","rollup-plugin-dts":"^5.1.1","rollup-plugin-esbuild":"^5.0.0","eslint-config-prettier":"^8.5.0","eslint-plugin-prettier":"^4.2.1","@rollup/plugin-commonjs":"^24.0.0","@typescript-eslint/parser":"^5.42.1","@rollup/plugin-node-resolve":"^15.0.1","@typescript-eslint/eslint-plugin":"^5.42.1"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.0.15_1687346550601_0.4285020674126345","host":"s3://npm-registry-packages"}},"0.0.16":{"name":"@vocdoni/sdk","version":"0.0.16","keywords":["voting","blockchain","vocdoni"],"author":{"name":"Vocdoni"},"license":"AGPL-3.0-or-later","_id":"@vocdoni/sdk@0.0.16","maintainers":[{"name":"elboletaire","email":"elboletaire@underave.net"},{"name":"emmdim","email":"manos@aragon.org"},{"name":"marcvelmer","email":"marc1987@gmail.com"},{"name":"brickpop","email":"itsbrickpop@gmail.com"},{"name":"jpainan","email":"jpainan@vocdoni.io"}],"homepage":"https://github.com/vocdoni/vocdoni-sdk#readme","bugs":{"url":"https://github.com/vocdoni/vocdoni-sdk/issues"},"dist":{"shasum":"7f72705d01373f105ac085cc66b1810605f8788b","tarball":"https://registry.npmjs.org/@vocdoni/sdk/-/sdk-0.0.16.tgz","fileCount":10,"integrity":"sha512-VRznsOiOs7jbP5gKp2GAUNAYe8w8pL2nnTlic1AU3YjkOAqsFl7yUk6SnmT6Ll7SpHFR//FIuT1MhzjfgravLA==","signatures":[{"sig":"MEYCIQDKVsLhmVRhRqWPOWPpMCE4A0e6pffPfvYZ8SJa67JHvAIhAJkwALqZH/Jggt/KXoKqXOtL8IjCsygeqnn5sL0MtMZ5","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":10922390},"jest":{"preset":"ts-jest","testEnvironment":"node"},"main":"dist/index.js","husky":{"hooks":{"pre-commit":"yarn lint"}},"types":"./dist/index.d.ts","module":"dist/index.mjs","engines":{"node":">=14"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./umd":{"types":"./dist/index.d.ts","default":"./dist/index.umd.js"},"./package.json":"./package.json"},"gitHead":"0bc6b2f32485e8044d5809500e39b0f2fb6adb0a","scripts":{"lint":"eslint src test --ext .js,.jsx,.ts,.tsx","size":"size-limit","test":"yarn test:unit && yarn test:api && yarn test:integration","build":"rollup -c","clean":"rimraf node_modules dist","start":"yarn watch","watch":"yarn build --watch","analyze":"size-limit --why","lintfix":"yarn lint --fix","prepare":"yarn build","prebuild":"node -p \"'export const SDK_VERSION = \\'' + require('./package.json').version + '\\';'\" > src/version.ts","test:api":"jest test/api","ts-types":"tsc --emitDeclarationOnly --outDir dist","test:unit":"jest test/unit","test:integration":"jest test/integration"},"_npmUser":{"name":"marcvelmer","email":"marc1987@gmail.com"},"prettier":{"semi":true,"printWidth":120,"singleQuote":true,"trailingComma":"es5"},"deprecated":"0.0.x is no longer supported","repository":{"url":"git+https://github.com/vocdoni/vocdoni-sdk.git","type":"git"},"size-limit":[{"path":"dist/index.js","limit":"512 KB"},{"path":"dist/index.mjs","limit":"512 KB"},{"path":"dist/index.umd.js","limit":"512 KB"}],"_npmVersion":"9.6.3","description":"⚒️An SDK for building applications on top of Vocdoni API","directories":{},"_nodeVersion":"18.12.1","dependencies":{"yup":"^0.32.11","axios":"0.27.2","blakejs":"^1.2.1","tweetnacl":"^1.0.3","@vocdoni/proto":"1.14.1","blindsecp256k1":"^0.0.9","tiny-invariant":"^1.3.1","@size-limit/file":"^8.2.4","iso-language-codes":"^1.1.0","@ethersproject/bytes":"^5.7.0","@ethersproject/units":"^5.7.0","@ethersproject/wallet":"^5.7.0","@ethersproject/address":"^5.7.0","@ethersproject/bignumber":"^5.7.0","@ethersproject/keccak256":"^5.7.0","@ethersproject/providers":"^5.7.1","@ethersproject/signing-key":"^5.7.0","@ethersproject/abstract-signer":"^5.7.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.3.0","husky":"^8.0.2","tslib":"^2.4.0","eslint":"^8.27.0","rimraf":"^3.0.2","rollup":"^3.22.0","esbuild":"^0.17.10","ts-jest":"^29.0.3","prettier":"^2.7.1","size-limit":"^8.1.0","typescript":"^4.8.4","@types/jest":"^29.2.2","rollup-plugin-dts":"^5.1.1","rollup-plugin-esbuild":"^5.0.0","eslint-config-prettier":"^8.5.0","eslint-plugin-prettier":"^4.2.1","@rollup/plugin-commonjs":"^24.0.0","@typescript-eslint/parser":"^5.42.1","@rollup/plugin-node-resolve":"^15.0.1","@typescript-eslint/eslint-plugin":"^5.42.1"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.0.16_1688471682927_0.31561384623274136","host":"s3://npm-registry-packages"}},"0.0.17":{"name":"@vocdoni/sdk","version":"0.0.17","keywords":["voting","blockchain","vocdoni"],"author":{"name":"Vocdoni"},"license":"AGPL-3.0-or-later","_id":"@vocdoni/sdk@0.0.17","maintainers":[{"name":"elboletaire","email":"elboletaire@underave.net"},{"name":"emmdim","email":"manos@aragon.org"},{"name":"marcvelmer","email":"marc1987@gmail.com"},{"name":"brickpop","email":"itsbrickpop@gmail.com"},{"name":"jpainan","email":"jpainan@vocdoni.io"}],"dist":{"shasum":"536935855f3648f740e737fbbaeed5f3cbf30b99","tarball":"https://registry.npmjs.org/@vocdoni/sdk/-/sdk-0.0.17.tgz","fileCount":13,"integrity":"sha512-5jJ0n9HpggsAmzxRSJUsq9cZ9vMN7NFJNzvBH/VLwcPVbSEZq+STbNW82xZfX48aoMo6y8oW7J0RRaPaxm8Xdw==","signatures":[{"sig":"MEYCIQD13bLyphutJ0Mf1wakGeFa7Z4jS5Ug9m6OxwYo7pY6tQIhAId9szApKe9FqZzUw2hRKhDqekdTaBUlTrl2CEppsGBj","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":12955602},"jest":{"preset":"ts-jest","testEnvironment":"node"},"main":"dist/index.js","husky":{"hooks":{"pre-commit":"yarn lint"}},"types":"./dist/index.d.ts","module":"dist/index.mjs","engines":{"node":">=14"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./umd":{"types":"./dist/index.d.ts","default":"./dist/index.umd.js"},"./package.json":"./package.json"},"scripts":{"lint":"eslint src test --ext .js,.jsx,.ts,.tsx","size":"size-limit","test":"yarn test:unit && yarn test:api && yarn test:integration","build":"rollup -c","clean":"rimraf node_modules dist","start":"yarn watch","watch":"yarn build --watch","analyze":"size-limit --why","lintfix":"yarn lint --fix","prepare":"yarn build","test:api":"jest test/api","ts-types":"tsc --emitDeclarationOnly --outDir dist","test:unit":"jest test/unit","test:integration":"jest test/integration"},"_npmUser":{"name":"emmdim","email":"manos@aragon.org"},"prettier":{"semi":true,"printWidth":120,"singleQuote":true,"trailingComma":"es5"},"deprecated":"0.0.x is no longer supported","repository":{"url":"https://github.com/vocdoni/vocdoni-sdk.git","type":"git"},"size-limit":[{"path":"dist/index.js","limit":"512 KB"},{"path":"dist/index.mjs","limit":"512 KB"},{"path":"dist/index.umd.js","limit":"512 KB"}],"description":"⚒️An SDK for building applications on top of Vocdoni API","directories":{},"licenseText":"                    GNU AFFERO GENERAL PUBLIC LICENSE\n                       Version 3, 19 November 2007\n\n Copyright (C) 2020 Vocdoni Roots MTU, <https://vocdoni.io>\n Everyone is permitted to copy and distribute verbatim copies\n of this license document, but changing it is not allowed.\n\n                            Preamble\n\n  The GNU Affero General Public License is a free, copyleft license for\nsoftware and other kinds of works, specifically designed to ensure\ncooperation with the community in the case of network server software.\n\n  The licenses for most software and other practical works are designed\nto take away your freedom to share and change the works.  By contrast,\nour General Public Licenses are intended to guarantee your freedom to\nshare and change all versions of a program--to make sure it remains free\nsoftware for all its users.\n\n  When we speak of free software, we are referring to freedom, not\nprice.  Our General Public Licenses are designed to make sure that you\nhave the freedom to distribute copies of free software (and charge for\nthem if you wish), that you receive source code or can get it if you\nwant it, that you can change the software or use pieces of it in new\nfree programs, and that you know you can do these things.\n\n  Developers that use our General Public Licenses protect your rights\nwith two steps: (1) assert copyright on the software, and (2) offer\nyou this License which gives you legal permission to copy, distribute\nand/or modify the software.\n\n  A secondary benefit of defending all users' freedom is that\nimprovements made in alternate versions of the program, if they\nreceive widespread use, become available for other developers to\nincorporate.  Many developers of free software are heartened and\nencouraged by the resulting cooperation.  However, in the case of\nsoftware used on network servers, this result may fail to come about.\nThe GNU General Public License permits making a modified version and\nletting the public access it on a server without ever releasing its\nsource code to the public.\n\n  The GNU Affero General Public License is designed specifically to\nensure that, in such cases, the modified source code becomes available\nto the community.  It requires the operator of a network server to\nprovide the source code of the modified version running there to the\nusers of that server.  Therefore, public use of a modified version, on\na publicly accessible server, gives the public access to the source\ncode of the modified version.\n\n  An older license, called the Affero General Public License and\npublished by Affero, was designed to accomplish similar goals.  This is\na different license, not a version of the Affero GPL, but Affero has\nreleased a new version of the Affero GPL which permits relicensing under\nthis license.\n\n  The precise terms and conditions for copying, distribution and\nmodification follow.\n\n                       TERMS AND CONDITIONS\n\n  0. Definitions.\n\n  \"This License\" refers to version 3 of the GNU Affero General Public License.\n\n  \"Copyright\" also means copyright-like laws that apply to other kinds of\nworks, such as semiconductor masks.\n\n  \"The Program\" refers to any copyrightable work licensed under this\nLicense.  Each licensee is addressed as \"you\".  \"Licensees\" and\n\"recipients\" may be individuals or organizations.\n\n  To \"modify\" a work means to copy from or adapt all or part of the work\nin a fashion requiring copyright permission, other than the making of an\nexact copy.  The resulting work is called a \"modified version\" of the\nearlier work or a work \"based on\" the earlier work.\n\n  A \"covered work\" means either the unmodified Program or a work based\non the Program.\n\n  To \"propagate\" a work means to do anything with it that, without\npermission, would make you directly or secondarily liable for\ninfringement under applicable copyright law, except executing it on a\ncomputer or modifying a private copy.  Propagation includes copying,\ndistribution (with or without modification), making available to the\npublic, and in some countries other activities as well.\n\n  To \"convey\" a work means any kind of propagation that enables other\nparties to make or receive copies.  Mere interaction with a user through\na computer network, with no transfer of a copy, is not conveying.\n\n  An interactive user interface displays \"Appropriate Legal Notices\"\nto the extent that it includes a convenient and prominently visible\nfeature that (1) displays an appropriate copyright notice, and (2)\ntells the user that there is no warranty for the work (except to the\nextent that warranties are provided), that licensees may convey the\nwork under this License, and how to view a copy of this License.  If\nthe interface presents a list of user commands or options, such as a\nmenu, a prominent item in the list meets this criterion.\n\n  1. Source Code.\n\n  The \"source code\" for a work means the preferred form of the work\nfor making modifications to it.  \"Object code\" means any non-source\nform of a work.\n\n  A \"Standard Interface\" means an interface that either is an official\nstandard defined by a recognized standards body, or, in the case of\ninterfaces specified for a particular programming language, one that\nis widely used among developers working in that language.\n\n  The \"System Libraries\" of an executable work include anything, other\nthan the work as a whole, that (a) is included in the normal form of\npackaging a Major Component, but which is not part of that Major\nComponent, and (b) serves only to enable use of the work with that\nMajor Component, or to implement a Standard Interface for which an\nimplementation is available to the public in source code form.  A\n\"Major Component\", in this context, means a major essential component\n(kernel, window system, and so on) of the specific operating system\n(if any) on which the executable work runs, or a compiler used to\nproduce the work, or an object code interpreter used to run it.\n\n  The \"Corresponding Source\" for a work in object code form means all\nthe source code needed to generate, install, and (for an executable\nwork) run the object code and to modify the work, including scripts to\ncontrol those activities.  However, it does not include the work's\nSystem Libraries, or general-purpose tools or generally available free\nprograms which are used unmodified in performing those activities but\nwhich are not part of the work.  For example, Corresponding Source\nincludes interface definition files associated with source files for\nthe work, and the source code for shared libraries and dynamically\nlinked subprograms that the work is specifically designed to require,\nsuch as by intimate data communication or control flow between those\nsubprograms and other parts of the work.\n\n  The Corresponding Source need not include anything that users\ncan regenerate automatically from other parts of the Corresponding\nSource.\n\n  The Corresponding Source for a work in source code form is that\nsame work.\n\n  2. Basic Permissions.\n\n  All rights granted under this License are granted for the term of\ncopyright on the Program, and are irrevocable provided the stated\nconditions are met.  This License explicitly affirms your unlimited\npermission to run the unmodified Program.  The output from running a\ncovered work is covered by this License only if the output, given its\ncontent, constitutes a covered work.  This License acknowledges your\nrights of fair use or other equivalent, as provided by copyright law.\n\n  You may make, run and propagate covered works that you do not\nconvey, without conditions so long as your license otherwise remains\nin force.  You may convey covered works to others for the sole purpose\nof having them make modifications exclusively for you, or provide you\nwith facilities for running those works, provided that you comply with\nthe terms of this License in conveying all material for which you do\nnot control copyright.  Those thus making or running the covered works\nfor you must do so exclusively on your behalf, under your direction\nand control, on terms that prohibit them from making any copies of\nyour copyrighted material outside their relationship with you.\n\n  Conveying under any other circumstances is permitted solely under\nthe conditions stated below.  Sublicensing is not allowed; section 10\nmakes it unnecessary.\n\n  3. Protecting Users' Legal Rights From Anti-Circumvention Law.\n\n  No covered work shall be deemed part of an effective technological\nmeasure under any applicable law fulfilling obligations under article\n11 of the WIPO copyright treaty adopted on 20 December 1996, or\nsimilar laws prohibiting or restricting circumvention of such\nmeasures.\n\n  When you convey a covered work, you waive any legal power to forbid\ncircumvention of technological measures to the extent such circumvention\nis effected by exercising rights under this License with respect to\nthe covered work, and you disclaim any intention to limit operation or\nmodification of the work as a means of enforcing, against the work's\nusers, your or third parties' legal rights to forbid circumvention of\ntechnological measures.\n\n  4. Conveying Verbatim Copies.\n\n  You may convey verbatim copies of the Program's source code as you\nreceive it, in any medium, provided that you conspicuously and\nappropriately publish on each copy an appropriate copyright notice;\nkeep intact all notices stating that this License and any\nnon-permissive terms added in accord with section 7 apply to the code;\nkeep intact all notices of the absence of any warranty; and give all\nrecipients a copy of this License along with the Program.\n\n  You may charge any price or no price for each copy that you convey,\nand you may offer support or warranty protection for a fee.\n\n  5. Conveying Modified Source Versions.\n\n  You may convey a work based on the Program, or the modifications to\nproduce it from the Program, in the form of source code under the\nterms of section 4, provided that you also meet all of these conditions:\n\n    a) The work must carry prominent notices stating that you modified\n    it, and giving a relevant date.\n\n    b) The work must carry prominent notices stating that it is\n    released under this License and any conditions added under section\n    7.  This requirement modifies the requirement in section 4 to\n    \"keep intact all notices\".\n\n    c) You must license the entire work, as a whole, under this\n    License to anyone who comes into possession of a copy.  This\n    License will therefore apply, along with any applicable section 7\n    additional terms, to the whole of the work, and all its parts,\n    regardless of how they are packaged.  This License gives no\n    permission to license the work in any other way, but it does not\n    invalidate such permission if you have separately received it.\n\n    d) If the work has interactive user interfaces, each must display\n    Appropriate Legal Notices; however, if the Program has interactive\n    interfaces that do not display Appropriate Legal Notices, your\n    work need not make them do so.\n\n  A compilation of a covered work with other separate and independent\nworks, which are not by their nature extensions of the covered work,\nand which are not combined with it such as to form a larger program,\nin or on a volume of a storage or distribution medium, is called an\n\"aggregate\" if the compilation and its resulting copyright are not\nused to limit the access or legal rights of the compilation's users\nbeyond what the individual works permit.  Inclusion of a covered work\nin an aggregate does not cause this License to apply to the other\nparts of the aggregate.\n\n  6. Conveying Non-Source Forms.\n\n  You may convey a covered work in object code form under the terms\nof sections 4 and 5, provided that you also convey the\nmachine-readable Corresponding Source under the terms of this License,\nin one of these ways:\n\n    a) Convey the object code in, or embodied in, a physical product\n    (including a physical distribution medium), accompanied by the\n    Corresponding Source fixed on a durable physical medium\n    customarily used for software interchange.\n\n    b) Convey the object code in, or embodied in, a physical product\n    (including a physical distribution medium), accompanied by a\n    written offer, valid for at least three years and valid for as\n    long as you offer spare parts or customer support for that product\n    model, to give anyone who possesses the object code either (1) a\n    copy of the Corresponding Source for all the software in the\n    product that is covered by this License, on a durable physical\n    medium customarily used for software interchange, for a price no\n    more than your reasonable cost of physically performing this\n    conveying of source, or (2) access to copy the\n    Corresponding Source from a network server at no charge.\n\n    c) Convey individual copies of the object code with a copy of the\n    written offer to provide the Corresponding Source.  This\n    alternative is allowed only occasionally and noncommercially, and\n    only if you received the object code with such an offer, in accord\n    with subsection 6b.\n\n    d) Convey the object code by offering access from a designated\n    place (gratis or for a charge), and offer equivalent access to the\n    Corresponding Source in the same way through the same place at no\n    further charge.  You need not require recipients to copy the\n    Corresponding Source along with the object code.  If the place to\n    copy the object code is a network server, the Corresponding Source\n    may be on a different server (operated by you or a third party)\n    that supports equivalent copying facilities, provided you maintain\n    clear directions next to the object code saying where to find the\n    Corresponding Source.  Regardless of what server hosts the\n    Corresponding Source, you remain obligated to ensure that it is\n    available for as long as needed to satisfy these requirements.\n\n    e) Convey the object code using peer-to-peer transmission, provided\n    you inform other peers where the object code and Corresponding\n    Source of the work are being offered to the general public at no\n    charge under subsection 6d.\n\n  A separable portion of the object code, whose source code is excluded\nfrom the Corresponding Source as a System Library, need not be\nincluded in conveying the object code work.\n\n  A \"User Product\" is either (1) a \"consumer product\", which means any\ntangible personal property which is normally used for personal, family,\nor household purposes, or (2) anything designed or sold for incorporation\ninto a dwelling.  In determining whether a product is a consumer product,\ndoubtful cases shall be resolved in favor of coverage.  For a particular\nproduct received by a particular user, \"normally used\" refers to a\ntypical or common use of that class of product, regardless of the status\nof the particular user or of the way in which the particular user\nactually uses, or expects or is expected to use, the product.  A product\nis a consumer product regardless of whether the product has substantial\ncommercial, industrial or non-consumer uses, unless such uses represent\nthe only significant mode of use of the product.\n\n  \"Installation Information\" for a User Product means any methods,\nprocedures, authorization keys, or other information required to install\nand execute modified versions of a covered work in that User Product from\na modified version of its Corresponding Source.  The information must\nsuffice to ensure that the continued functioning of the modified object\ncode is in no case prevented or interfered with solely because\nmodification has been made.\n\n  If you convey an object code work under this section in, or with, or\nspecifically for use in, a User Product, and the conveying occurs as\npart of a transaction in which the right of possession and use of the\nUser Product is transferred to the recipient in perpetuity or for a\nfixed term (regardless of how the transaction is characterized), the\nCorresponding Source conveyed under this section must be accompanied\nby the Installation Information.  But this requirement does not apply\nif neither you nor any third party retains the ability to install\nmodified object code on the User Product (for example, the work has\nbeen installed in ROM).\n\n  The requirement to provide Installation Information does not include a\nrequirement to continue to provide support service, warranty, or updates\nfor a work that has been modified or installed by the recipient, or for\nthe User Product in which it has been modified or installed.  Access to a\nnetwork may be denied when the modification itself materially and\nadversely affects the operation of the network or violates the rules and\nprotocols for communication across the network.\n\n  Corresponding Source conveyed, and Installation Information provided,\nin accord with this section must be in a format that is publicly\ndocumented (and with an implementation available to the public in\nsource code form), and must require no special password or key for\nunpacking, reading or copying.\n\n  7. Additional Terms.\n\n  \"Additional permissions\" are terms that supplement the terms of this\nLicense by making exceptions from one or more of its conditions.\nAdditional permissions that are applicable to the entire Program shall\nbe treated as though they were included in this License, to the extent\nthat they are valid under applicable law.  If additional permissions\napply only to part of the Program, that part may be used separately\nunder those permissions, but the entire Program remains governed by\nthis License without regard to the additional permissions.\n\n  When you convey a copy of a covered work, you may at your option\nremove any additional permissions from that copy, or from any part of\nit.  (Additional permissions may be written to require their own\nremoval in certain cases when you modify the work.)  You may place\nadditional permissions on material, added by you to a covered work,\nfor which you have or can give appropriate copyright permission.\n\n  Notwithstanding any other provision of this License, for material you\nadd to a covered work, you may (if authorized by the copyright holders of\nthat material) supplement the terms of this License with terms:\n\n    a) Disclaiming warranty or limiting liability differently from the\n    terms of sections 15 and 16 of this License; or\n\n    b) Requiring preservation of specified reasonable legal notices or\n    author attributions in that material or in the Appropriate Legal\n    Notices displayed by works containing it; or\n\n    c) Prohibiting misrepresentation of the origin of that material, or\n    requiring that modified versions of such material be marked in\n    reasonable ways as different from the original version; or\n\n    d) Limiting the use for publicity purposes of names of licensors or\n    authors of the material; or\n\n    e) Declining to grant rights under trademark law for use of some\n    trade names, trademarks, or service marks; or\n\n    f) Requiring indemnification of licensors and authors of that\n    material by anyone who conveys the material (or modified versions of\n    it) with contractual assumptions of liability to the recipient, for\n    any liability that these contractual assumptions directly impose on\n    those licensors and authors.\n\n  All other non-permissive additional terms are considered \"further\nrestrictions\" within the meaning of section 10.  If the Program as you\nreceived it, or any part of it, contains a notice stating that it is\ngoverned by this License along with a term that is a further\nrestriction, you may remove that term.  If a license document contains\na further restriction but permits relicensing or conveying under this\nLicense, you may add to a covered work material governed by the terms\nof that license document, provided that the further restriction does\nnot survive such relicensing or conveying.\n\n  If you add terms to a covered work in accord with this section, you\nmust place, in the relevant source files, a statement of the\nadditional terms that apply to those files, or a notice indicating\nwhere to find the applicable terms.\n\n  Additional terms, permissive or non-permissive, may be stated in the\nform of a separately written license, or stated as exceptions;\nthe above requirements apply either way.\n\n  8. Termination.\n\n  You may not propagate or modify a covered work except as expressly\nprovided under this License.  Any attempt otherwise to propagate or\nmodify it is void, and will automatically terminate your rights under\nthis License (including any patent licenses granted under the third\nparagraph of section 11).\n\n  However, if you cease all violation of this License, then your\nlicense from a particular copyright holder is reinstated (a)\nprovisionally, unless and until the copyright holder explicitly and\nfinally terminates your license, and (b) permanently, if the copyright\nholder fails to notify you of the violation by some reasonable means\nprior to 60 days after the cessation.\n\n  Moreover, your license from a particular copyright holder is\nreinstated permanently if the copyright holder notifies you of the\nviolation by some reasonable means, this is the first time you have\nreceived notice of violation of this License (for any work) from that\ncopyright holder, and you cure the violation prior to 30 days after\nyour receipt of the notice.\n\n  Termination of your rights under this section does not terminate the\nlicenses of parties who have received copies or rights from you under\nthis License.  If your rights have been terminated and not permanently\nreinstated, you do not qualify to receive new licenses for the same\nmaterial under section 10.\n\n  9. Acceptance Not Required for Having Copies.\n\n  You are not required to accept this License in order to receive or\nrun a copy of the Program.  Ancillary propagation of a covered work\noccurring solely as a consequence of using peer-to-peer transmission\nto receive a copy likewise does not require acceptance.  However,\nnothing other than this License grants you permission to propagate or\nmodify any covered work.  These actions infringe copyright if you do\nnot accept this License.  Therefore, by modifying or propagating a\ncovered work, you indicate your acceptance of this License to do so.\n\n  10. Automatic Licensing of Downstream Recipients.\n\n  Each time you convey a covered work, the recipient automatically\nreceives a license from the original licensors, to run, modify and\npropagate that work, subject to this License.  You are not responsible\nfor enforcing compliance by third parties with this License.\n\n  An \"entity transaction\" is a transaction transferring control of an\norganization, or substantially all assets of one, or subdividing an\norganization, or merging organizations.  If propagation of a covered\nwork results from an entity transaction, each party to that\ntransaction who receives a copy of the work also receives whatever\nlicenses to the work the party's predecessor in interest had or could\ngive under the previous paragraph, plus a right to possession of the\nCorresponding Source of the work from the predecessor in interest, if\nthe predecessor has it or can get it with reasonable efforts.\n\n  You may not impose any further restrictions on the exercise of the\nrights granted or affirmed under this License.  For example, you may\nnot impose a license fee, royalty, or other charge for exercise of\nrights granted under this License, and you may not initiate litigation\n(including a cross-claim or counterclaim in a lawsuit) alleging that\nany patent claim is infringed by making, using, selling, offering for\nsale, or importing the Program or any portion of it.\n\n  11. Patents.\n\n  A \"contributor\" is a copyright holder who authorizes use under this\nLicense of the Program or a work on which the Program is based.  The\nwork thus licensed is called the contributor's \"contributor version\".\n\n  A contributor's \"essential patent claims\" are all patent claims\nowned or controlled by the contributor, whether already acquired or\nhereafter acquired, that would be infringed by some manner, permitted\nby this License, of making, using, or selling its contributor version,\nbut do not include claims that would be infringed only as a\nconsequence of further modification of the contributor version.  For\npurposes of this definition, \"control\" includes the right to grant\npatent sublicenses in a manner consistent with the requirements of\nthis License.\n\n  Each contributor grants you a non-exclusive, worldwide, royalty-free\npatent license under the contributor's essential patent claims, to\nmake, use, sell, offer for sale, import and otherwise run, modify and\npropagate the contents of its contributor version.\n\n  In the following three paragraphs, a \"patent license\" is any express\nagreement or commitment, however denominated, not to enforce a patent\n(such as an express permission to practice a patent or covenant not to\nsue for patent infringement).  To \"grant\" such a patent license to a\nparty means to make such an agreement or commitment not to enforce a\npatent against the party.\n\n  If you convey a covered work, knowingly relying on a patent license,\nand the Corresponding Source of the work is not available for anyone\nto copy, free of charge and under the terms of this License, through a\npublicly available network server or other readily accessible means,\nthen you must either (1) cause the Corresponding Source to be so\navailable, or (2) arrange to deprive yourself of the benefit of the\npatent license for this particular work, or (3) arrange, in a manner\nconsistent with the requirements of this License, to extend the patent\nlicense to downstream recipients.  \"Knowingly relying\" means you have\nactual knowledge that, but for the patent license, your conveying the\ncovered work in a country, or your recipient's use of the covered work\nin a country, would infringe one or more identifiable patents in that\ncountry that you have reason to believe are valid.\n\n  If, pursuant to or in connection with a single transaction or\narrangement, you convey, or propagate by procuring conveyance of, a\ncovered work, and grant a patent license to some of the parties\nreceiving the covered work authorizing them to use, propagate, modify\nor convey a specific copy of the covered work, then the patent license\nyou grant is automatically extended to all recipients of the covered\nwork and works based on it.\n\n  A patent license is \"discriminatory\" if it does not include within\nthe scope of its coverage, prohibits the exercise of, or is\nconditioned on the non-exercise of one or more of the rights that are\nspecifically granted under this License.  You may not convey a covered\nwork if you are a party to an arrangement with a third party that is\nin the business of distributing software, under which you make payment\nto the third party based on the extent of your activity of conveying\nthe work, and under which the third party grants, to any of the\nparties who would receive the covered work from you, a discriminatory\npatent license (a) in connection with copies of the covered work\nconveyed by you (or copies made from those copies), or (b) primarily\nfor and in connection with specific products or compilations that\ncontain the covered work, unless you entered into that arrangement,\nor that patent license was granted, prior to 28 March 2007.\n\n  Nothing in this License shall be construed as excluding or limiting\nany implied license or other defenses to infringement that may\notherwise be available to you under applicable patent law.\n\n  12. No Surrender of Others' Freedom.\n\n  If conditions are imposed on you (whether by court order, agreement or\notherwise) that contradict the conditions of this License, they do not\nexcuse you from the conditions of this License.  If you cannot convey a\ncovered work so as to satisfy simultaneously your obligations under this\nLicense and any other pertinent obligations, then as a consequence you may\nnot convey it at all.  For example, if you agree to terms that obligate you\nto collect a royalty for further conveying from those to whom you convey\nthe Program, the only way you could satisfy both those terms and this\nLicense would be to refrain entirely from conveying the Program.\n\n  13. Remote Network Interaction; Use with the GNU General Public License.\n\n  Notwithstanding any other provision of this License, if you modify the\nProgram, your modified version must prominently offer all users\ninteracting with it remotely through a computer network (if your version\nsupports such interaction) an opportunity to receive the Corresponding\nSource of your version by providing access to the Corresponding Source\nfrom a network server at no charge, through some standard or customary\nmeans of facilitating copying of software.  This Corresponding Source\nshall include the Corresponding Source for any work covered by version 3\nof the GNU General Public License that is incorporated pursuant to the\nfollowing paragraph.\n\n  Notwithstanding any other provision of this License, you have\npermission to link or combine any covered work with a work licensed\nunder version 3 of the GNU General Public License into a single\ncombined work, and to convey the resulting work.  The terms of this\nLicense will continue to apply to the part which is the covered work,\nbut the work with which it is combined will remain governed by version\n3 of the GNU General Public License.\n\n  14. Revised Versions of this License.\n\n  The Free Software Foundation may publish revised and/or new versions of\nthe GNU Affero General Public License from time to time.  Such new versions\nwill be similar in spirit to the present version, but may differ in detail to\naddress new problems or concerns.\n\n  Each version is given a distinguishing version number.  If the\nProgram specifies that a certain numbered version of the GNU Affero General\nPublic License \"or any later version\" applies to it, you have the\noption of following the terms and conditions either of that numbered\nversion or of any later version published by the Free Software\nFoundation.  If the Program does not specify a version number of the\nGNU Affero General Public License, you may choose any version ever published\nby the Free Software Foundation.\n\n  If the Program specifies that a proxy can decide which future\nversions of the GNU Affero General Public License can be used, that proxy's\npublic statement of acceptance of a version permanently authorizes you\nto choose that version for the Program.\n\n  Later license versions may give you additional or different\npermissions.  However, no additional obligations are imposed on any\nauthor or copyright holder as a result of your choosing to follow a\nlater version.\n\n  15. Disclaimer of Warranty.\n\n  THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY\nAPPLICABLE LAW.  EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT\nHOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM \"AS IS\" WITHOUT WARRANTY\nOF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,\nTHE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\nPURPOSE.  THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM\nIS WITH YOU.  SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF\nALL NECESSARY SERVICING, REPAIR OR CORRECTION.\n\n  16. Limitation of Liability.\n\n  IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING\nWILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS\nTHE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY\nGENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE\nUSE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF\nDATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD\nPARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),\nEVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF\nSUCH DAMAGES.\n\n  17. Interpretation of Sections 15 and 16.\n\n  If the disclaimer of warranty and limitation of liability provided\nabove cannot be given local legal effect according to their terms,\nreviewing courts shall apply local law that most closely approximates\nan absolute waiver of all civil liability in connection with the\nProgram, unless a warranty or assumption of liability accompanies a\ncopy of the Program in return for a fee.\n\n                     END OF TERMS AND CONDITIONS\n\n            How to Apply These Terms to Your New Programs\n\n  If you develop a new program, and you want it to be of the greatest\npossible use to the public, the best way to achieve this is to make it\nfree software which everyone can redistribute and change under these terms.\n\n  To do so, attach the following notices to the program.  It is safest\nto attach them to the start of each source file to most effectively\nstate the exclusion of warranty; and each file should have at least\nthe \"copyright\" line and a pointer to where the full notice is found.\n\n    <one line to give the program's name and a brief idea of what it does.>\n    Copyright (C) <year>  <name of author>\n\n    This program is free software: you can redistribute it and/or modify\n    it under the terms of the GNU Affero General Public License as published by\n    the Free Software Foundation, either version 3 of the License, or\n    (at your option) any later version.\n\n    This program is distributed in the hope that it will be useful,\n    but WITHOUT ANY WARRANTY; without even the implied warranty of\n    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n    GNU Affero General Public License for more details.\n\n    You should have received a copy of the GNU Affero General Public License\n    along with this program.  If not, see <https://www.gnu.org/licenses/>.\n\nAlso add information on how to contact you by electronic and paper mail.\n\n  If your software can interact with users remotely through a computer\nnetwork, you should also make sure that it provides a way for users to\nget its source.  For example, if your program is a web application, its\ninterface could display a \"Source\" link that leads users to an archive\nof the code.  There are many ways you could offer source, and different\nsolutions will be better for different programs; see section 13 for the\nspecific requirements.\n\n  You should also get your employer (if you work as a programmer) or school,\nif any, to sign a \"copyright disclaimer\" for the program, if necessary.\nFor more information on this, and how to apply and follow the GNU AGPL, see\n<https://www.gnu.org/licenses/>.\n","dependencies":{"yup":"^0.32.11","axios":"0.27.2","tweetnacl":"^1.0.3","@vocdoni/proto":"1.14.1","tiny-invariant":"^1.3.1","@size-limit/file":"^8.2.4","iso-language-codes":"^1.1.0","@ethersproject/sha2":"^5.7.0","@ethersproject/bytes":"^5.7.0","@ethersproject/units":"^5.7.0","@ethersproject/wallet":"^5.7.0","@ethersproject/address":"^5.7.0","@ethersproject/bignumber":"^5.7.0","@ethersproject/keccak256":"^5.7.0","@ethersproject/providers":"^5.7.1","@ethersproject/signing-key":"^5.7.0","@ethersproject/abstract-signer":"^5.7.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.3.0","husky":"^8.0.2","tslib":"^2.4.0","buffer":"^6.0.3","eslint":"^8.27.0","rimraf":"^3.0.2","rollup":"^3.22.0","blakejs":"^1.2.1","esbuild":"^0.17.10","snarkjs":"vocdoni/snarkjs#v0.7.0-groth16browser","ts-jest":"^29.0.3","prettier":"^2.7.1","size-limit":"^8.1.0","typescript":"^4.8.4","@types/jest":"^29.2.2","circomlibjs":"^0.1.7","ffjavascript":"^0.2.59","blindsecp256k1":"^0.0.9","rollup-plugin-dts":"^5.1.1","@rollup/plugin-json":"^6.0.0","rollup-plugin-esbuild":"^5.0.0","eslint-config-prettier":"^8.5.0","eslint-plugin-prettier":"^4.2.1","@rollup/plugin-commonjs":"^24.0.0","@typescript-eslint/parser":"^5.42.1","@rollup/plugin-node-resolve":"^15.0.1","rollup-plugin-polyfill-node":"^0.12.0","@typescript-eslint/eslint-plugin":"^5.42.1"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.0.17_1689954489674_0.7821603181360635","host":"s3://npm-registry-packages"}},"0.0.18":{"name":"@vocdoni/sdk","version":"0.0.18","keywords":["voting","blockchain","vocdoni"],"author":{"name":"Vocdoni"},"license":"AGPL-3.0-or-later","_id":"@vocdoni/sdk@0.0.18","maintainers":[{"name":"elboletaire","email":"elboletaire@underave.net"},{"name":"emmdim","email":"manos@aragon.org"},{"name":"marcvelmer","email":"marc1987@gmail.com"},{"name":"brickpop","email":"itsbrickpop@gmail.com"},{"name":"jpainan","email":"jpainan@vocdoni.io"}],"dist":{"shasum":"0b4689236c7cc3b8833b23f4b7f4e3183b3105a1","tarball":"https://registry.npmjs.org/@vocdoni/sdk/-/sdk-0.0.18.tgz","fileCount":13,"integrity":"sha512-Qad/uSASNC22+LXYA1OcRnwmII9SjOelwZIuTX2jdZJiX3O0hC1gYd8kmMeIU6KjVYS6Em5N4wsh7qpYe8Pk+Q==","signatures":[{"sig":"MEQCICC1WrZrkilSVrUdQzorI4ezsG2vbItDNopHXUevuG9FAiBWWTwAEAs0LBHuT2eZmOrRo5vzzsKKKaovZMzsT507pg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":12961547},"jest":{"preset":"ts-jest","testEnvironment":"node"},"main":"dist/index.js","husky":{"hooks":{"pre-commit":"yarn lint"}},"types":"./dist/index.d.ts","module":"dist/index.mjs","engines":{"node":">=14"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./umd":{"types":"./dist/index.d.ts","default":"./dist/index.umd.js"},"./package.json":"./package.json"},"scripts":{"lint":"eslint src test --ext .js,.jsx,.ts,.tsx","size":"size-limit","test":"yarn test:unit && yarn test:api && yarn test:integration","build":"rollup -c","clean":"rimraf node_modules dist","start":"yarn watch","watch":"yarn build --watch","analyze":"size-limit --why","lintfix":"yarn lint --fix","prepare":"yarn build","test:api":"jest test/api","ts-types":"tsc --emitDeclarationOnly --outDir dist","test:unit":"jest test/unit","test:integration":"jest test/integration"},"_npmUser":{"name":"emmdim","email":"manos@aragon.org"},"prettier":{"semi":true,"printWidth":120,"singleQuote":true,"trailingComma":"es5"},"deprecated":"0.0.x is no longer supported","repository":{"url":"https://github.com/vocdoni/vocdoni-sdk.git","type":"git"},"size-limit":[{"path":"dist/index.js","limit":"512 KB"},{"path":"dist/index.mjs","limit":"512 KB"},{"path":"dist/index.umd.js","limit":"512 KB"}],"description":"⚒️An SDK for building applications on top of Vocdoni API","directories":{},"licenseText":"                    GNU AFFERO GENERAL PUBLIC LICENSE\n                       Version 3, 19 November 2007\n\n Copyright (C) 2020 Vocdoni Roots MTU, <https://vocdoni.io>\n Everyone is permitted to copy and distribute verbatim copies\n of this license document, but changing it is not allowed.\n\n                            Preamble\n\n  The GNU Affero General Public License is a free, copyleft license for\nsoftware and other kinds of works, specifically designed to ensure\ncooperation with the community in the case of network server software.\n\n  The licenses for most software and other practical works are designed\nto take away your freedom to share and change the works.  By contrast,\nour General Public Licenses are intended to guarantee your freedom to\nshare and change all versions of a program--to make sure it remains free\nsoftware for all its users.\n\n  When we speak of free software, we are referring to freedom, not\nprice.  Our General Public Licenses are designed to make sure that you\nhave the freedom to distribute copies of free software (and charge for\nthem if you wish), that you receive source code or can get it if you\nwant it, that you can change the software or use pieces of it in new\nfree programs, and that you know you can do these things.\n\n  Developers that use our General Public Licenses protect your rights\nwith two steps: (1) assert copyright on the software, and (2) offer\nyou this License which gives you legal permission to copy, distribute\nand/or modify the software.\n\n  A secondary benefit of defending all users' freedom is that\nimprovements made in alternate versions of the program, if they\nreceive widespread use, become available for other developers to\nincorporate.  Many developers of free software are heartened and\nencouraged by the resulting cooperation.  However, in the case of\nsoftware used on network servers, this result may fail to come about.\nThe GNU General Public License permits making a modified version and\nletting the public access it on a server without ever releasing its\nsource code to the public.\n\n  The GNU Affero General Public License is designed specifically to\nensure that, in such cases, the modified source code becomes available\nto the community.  It requires the operator of a network server to\nprovide the source code of the modified version running there to the\nusers of that server.  Therefore, public use of a modified version, on\na publicly accessible server, gives the public access to the source\ncode of the modified version.\n\n  An older license, called the Affero General Public License and\npublished by Affero, was designed to accomplish similar goals.  This is\na different license, not a version of the Affero GPL, but Affero has\nreleased a new version of the Affero GPL which permits relicensing under\nthis license.\n\n  The precise terms and conditions for copying, distribution and\nmodification follow.\n\n                       TERMS AND CONDITIONS\n\n  0. Definitions.\n\n  \"This License\" refers to version 3 of the GNU Affero General Public License.\n\n  \"Copyright\" also means copyright-like laws that apply to other kinds of\nworks, such as semiconductor masks.\n\n  \"The Program\" refers to any copyrightable work licensed under this\nLicense.  Each licensee is addressed as \"you\".  \"Licensees\" and\n\"recipients\" may be individuals or organizations.\n\n  To \"modify\" a work means to copy from or adapt all or part of the work\nin a fashion requiring copyright permission, other than the making of an\nexact copy.  The resulting work is called a \"modified version\" of the\nearlier work or a work \"based on\" the earlier work.\n\n  A \"covered work\" means either the unmodified Program or a work based\non the Program.\n\n  To \"propagate\" a work means to do anything with it that, without\npermission, would make you directly or secondarily liable for\ninfringement under applicable copyright law, except executing it on a\ncomputer or modifying a private copy.  Propagation includes copying,\ndistribution (with or without modification), making available to the\npublic, and in some countries other activities as well.\n\n  To \"convey\" a work means any kind of propagation that enables other\nparties to make or receive copies.  Mere interaction with a user through\na computer network, with no transfer of a copy, is not conveying.\n\n  An interactive user interface displays \"Appropriate Legal Notices\"\nto the extent that it includes a convenient and prominently visible\nfeature that (1) displays an appropriate copyright notice, and (2)\ntells the user that there is no warranty for the work (except to the\nextent that warranties are provided), that licensees may convey the\nwork under this License, and how to view a copy of this License.  If\nthe interface presents a list of user commands or options, such as a\nmenu, a prominent item in the list meets this criterion.\n\n  1. Source Code.\n\n  The \"source code\" for a work means the preferred form of the work\nfor making modifications to it.  \"Object code\" means any non-source\nform of a work.\n\n  A \"Standard Interface\" means an interface that either is an official\nstandard defined by a recognized standards body, or, in the case of\ninterfaces specified for a particular programming language, one that\nis widely used among developers working in that language.\n\n  The \"System Libraries\" of an executable work include anything, other\nthan the work as a whole, that (a) is included in the normal form of\npackaging a Major Component, but which is not part of that Major\nComponent, and (b) serves only to enable use of the work with that\nMajor Component, or to implement a Standard Interface for which an\nimplementation is available to the public in source code form.  A\n\"Major Component\", in this context, means a major essential component\n(kernel, window system, and so on) of the specific operating system\n(if any) on which the executable work runs, or a compiler used to\nproduce the work, or an object code interpreter used to run it.\n\n  The \"Corresponding Source\" for a work in object code form means all\nthe source code needed to generate, install, and (for an executable\nwork) run the object code and to modify the work, including scripts to\ncontrol those activities.  However, it does not include the work's\nSystem Libraries, or general-purpose tools or generally available free\nprograms which are used unmodified in performing those activities but\nwhich are not part of the work.  For example, Corresponding Source\nincludes interface definition files associated with source files for\nthe work, and the source code for shared libraries and dynamically\nlinked subprograms that the work is specifically designed to require,\nsuch as by intimate data communication or control flow between those\nsubprograms and other parts of the work.\n\n  The Corresponding Source need not include anything that users\ncan regenerate automatically from other parts of the Corresponding\nSource.\n\n  The Corresponding Source for a work in source code form is that\nsame work.\n\n  2. Basic Permissions.\n\n  All rights granted under this License are granted for the term of\ncopyright on the Program, and are irrevocable provided the stated\nconditions are met.  This License explicitly affirms your unlimited\npermission to run the unmodified Program.  The output from running a\ncovered work is covered by this License only if the output, given its\ncontent, constitutes a covered work.  This License acknowledges your\nrights of fair use or other equivalent, as provided by copyright law.\n\n  You may make, run and propagate covered works that you do not\nconvey, without conditions so long as your license otherwise remains\nin force.  You may convey covered works to others for the sole purpose\nof having them make modifications exclusively for you, or provide you\nwith facilities for running those works, provided that you comply with\nthe terms of this License in conveying all material for which you do\nnot control copyright.  Those thus making or running the covered works\nfor you must do so exclusively on your behalf, under your direction\nand control, on terms that prohibit them from making any copies of\nyour copyrighted material outside their relationship with you.\n\n  Conveying under any other circumstances is permitted solely under\nthe conditions stated below.  Sublicensing is not allowed; section 10\nmakes it unnecessary.\n\n  3. Protecting Users' Legal Rights From Anti-Circumvention Law.\n\n  No covered work shall be deemed part of an effective technological\nmeasure under any applicable law fulfilling obligations under article\n11 of the WIPO copyright treaty adopted on 20 December 1996, or\nsimilar laws prohibiting or restricting circumvention of such\nmeasures.\n\n  When you convey a covered work, you waive any legal power to forbid\ncircumvention of technological measures to the extent such circumvention\nis effected by exercising rights under this License with respect to\nthe covered work, and you disclaim any intention to limit operation or\nmodification of the work as a means of enforcing, against the work's\nusers, your or third parties' legal rights to forbid circumvention of\ntechnological measures.\n\n  4. Conveying Verbatim Copies.\n\n  You may convey verbatim copies of the Program's source code as you\nreceive it, in any medium, provided that you conspicuously and\nappropriately publish on each copy an appropriate copyright notice;\nkeep intact all notices stating that this License and any\nnon-permissive terms added in accord with section 7 apply to the code;\nkeep intact all notices of the absence of any warranty; and give all\nrecipients a copy of this License along with the Program.\n\n  You may charge any price or no price for each copy that you convey,\nand you may offer support or warranty protection for a fee.\n\n  5. Conveying Modified Source Versions.\n\n  You may convey a work based on the Program, or the modifications to\nproduce it from the Program, in the form of source code under the\nterms of section 4, provided that you also meet all of these conditions:\n\n    a) The work must carry prominent notices stating that you modified\n    it, and giving a relevant date.\n\n    b) The work must carry prominent notices stating that it is\n    released under this License and any conditions added under section\n    7.  This requirement modifies the requirement in section 4 to\n    \"keep intact all notices\".\n\n    c) You must license the entire work, as a whole, under this\n    License to anyone who comes into possession of a copy.  This\n    License will therefore apply, along with any applicable section 7\n    additional terms, to the whole of the work, and all its parts,\n    regardless of how they are packaged.  This License gives no\n    permission to license the work in any other way, but it does not\n    invalidate such permission if you have separately received it.\n\n    d) If the work has interactive user interfaces, each must display\n    Appropriate Legal Notices; however, if the Program has interactive\n    interfaces that do not display Appropriate Legal Notices, your\n    work need not make them do so.\n\n  A compilation of a covered work with other separate and independent\nworks, which are not by their nature extensions of the covered work,\nand which are not combined with it such as to form a larger program,\nin or on a volume of a storage or distribution medium, is called an\n\"aggregate\" if the compilation and its resulting copyright are not\nused to limit the access or legal rights of the compilation's users\nbeyond what the individual works permit.  Inclusion of a covered work\nin an aggregate does not cause this License to apply to the other\nparts of the aggregate.\n\n  6. Conveying Non-Source Forms.\n\n  You may convey a covered work in object code form under the terms\nof sections 4 and 5, provided that you also convey the\nmachine-readable Corresponding Source under the terms of this License,\nin one of these ways:\n\n    a) Convey the object code in, or embodied in, a physical product\n    (including a physical distribution medium), accompanied by the\n    Corresponding Source fixed on a durable physical medium\n    customarily used for software interchange.\n\n    b) Convey the object code in, or embodied in, a physical product\n    (including a physical distribution medium), accompanied by a\n    written offer, valid for at least three years and valid for as\n    long as you offer spare parts or customer support for that product\n    model, to give anyone who possesses the object code either (1) a\n    copy of the Corresponding Source for all the software in the\n    product that is covered by this License, on a durable physical\n    medium customarily used for software interchange, for a price no\n    more than your reasonable cost of physically performing this\n    conveying of source, or (2) access to copy the\n    Corresponding Source from a network server at no charge.\n\n    c) Convey individual copies of the object code with a copy of the\n    written offer to provide the Corresponding Source.  This\n    alternative is allowed only occasionally and noncommercially, and\n    only if you received the object code with such an offer, in accord\n    with subsection 6b.\n\n    d) Convey the object code by offering access from a designated\n    place (gratis or for a charge), and offer equivalent access to the\n    Corresponding Source in the same way through the same place at no\n    further charge.  You need not require recipients to copy the\n    Corresponding Source along with the object code.  If the place to\n    copy the object code is a network server, the Corresponding Source\n    may be on a different server (operated by you or a third party)\n    that supports equivalent copying facilities, provided you maintain\n    clear directions next to the object code saying where to find the\n    Corresponding Source.  Regardless of what server hosts the\n    Corresponding Source, you remain obligated to ensure that it is\n    available for as long as needed to satisfy these requirements.\n\n    e) Convey the object code using peer-to-peer transmission, provided\n    you inform other peers where the object code and Corresponding\n    Source of the work are being offered to the general public at no\n    charge under subsection 6d.\n\n  A separable portion of the object code, whose source code is excluded\nfrom the Corresponding Source as a System Library, need not be\nincluded in conveying the object code work.\n\n  A \"User Product\" is either (1) a \"consumer product\", which means any\ntangible personal property which is normally used for personal, family,\nor household purposes, or (2) anything designed or sold for incorporation\ninto a dwelling.  In determining whether a product is a consumer product,\ndoubtful cases shall be resolved in favor of coverage.  For a particular\nproduct received by a particular user, \"normally used\" refers to a\ntypical or common use of that class of product, regardless of the status\nof the particular user or of the way in which the particular user\nactually uses, or expects or is expected to use, the product.  A product\nis a consumer product regardless of whether the product has substantial\ncommercial, industrial or non-consumer uses, unless such uses represent\nthe only significant mode of use of the product.\n\n  \"Installation Information\" for a User Product means any methods,\nprocedures, authorization keys, or other information required to install\nand execute modified versions of a covered work in that User Product from\na modified version of its Corresponding Source.  The information must\nsuffice to ensure that the continued functioning of the modified object\ncode is in no case prevented or interfered with solely because\nmodification has been made.\n\n  If you convey an object code work under this section in, or with, or\nspecifically for use in, a User Product, and the conveying occurs as\npart of a transaction in which the right of possession and use of the\nUser Product is transferred to the recipient in perpetuity or for a\nfixed term (regardless of how the transaction is characterized), the\nCorresponding Source conveyed under this section must be accompanied\nby the Installation Information.  But this requirement does not apply\nif neither you nor any third party retains the ability to install\nmodified object code on the User Product (for example, the work has\nbeen installed in ROM).\n\n  The requirement to provide Installation Information does not include a\nrequirement to continue to provide support service, warranty, or updates\nfor a work that has been modified or installed by the recipient, or for\nthe User Product in which it has been modified or installed.  Access to a\nnetwork may be denied when the modification itself materially and\nadversely affects the operation of the network or violates the rules and\nprotocols for communication across the network.\n\n  Corresponding Source conveyed, and Installation Information provided,\nin accord with this section must be in a format that is publicly\ndocumented (and with an implementation available to the public in\nsource code form), and must require no special password or key for\nunpacking, reading or copying.\n\n  7. Additional Terms.\n\n  \"Additional permissions\" are terms that supplement the terms of this\nLicense by making exceptions from one or more of its conditions.\nAdditional permissions that are applicable to the entire Program shall\nbe treated as though they were included in this License, to the extent\nthat they are valid under applicable law.  If additional permissions\napply only to part of the Program, that part may be used separately\nunder those permissions, but the entire Program remains governed by\nthis License without regard to the additional permissions.\n\n  When you convey a copy of a covered work, you may at your option\nremove any additional permissions from that copy, or from any part of\nit.  (Additional permissions may be written to require their own\nremoval in certain cases when you modify the work.)  You may place\nadditional permissions on material, added by you to a covered work,\nfor which you have or can give appropriate copyright permission.\n\n  Notwithstanding any other provision of this License, for material you\nadd to a covered work, you may (if authorized by the copyright holders of\nthat material) supplement the terms of this License with terms:\n\n    a) Disclaiming warranty or limiting liability differently from the\n    terms of sections 15 and 16 of this License; or\n\n    b) Requiring preservation of specified reasonable legal notices or\n    author attributions in that material or in the Appropriate Legal\n    Notices displayed by works containing it; or\n\n    c) Prohibiting misrepresentation of the origin of that material, or\n    requiring that modified versions of such material be marked in\n    reasonable ways as different from the original version; or\n\n    d) Limiting the use for publicity purposes of names of licensors or\n    authors of the material; or\n\n    e) Declining to grant rights under trademark law for use of some\n    trade names, trademarks, or service marks; or\n\n    f) Requiring indemnification of licensors and authors of that\n    material by anyone who conveys the material (or modified versions of\n    it) with contractual assumptions of liability to the recipient, for\n    any liability that these contractual assumptions directly impose on\n    those licensors and authors.\n\n  All other non-permissive additional terms are considered \"further\nrestrictions\" within the meaning of section 10.  If the Program as you\nreceived it, or any part of it, contains a notice stating that it is\ngoverned by this License along with a term that is a further\nrestriction, you may remove that term.  If a license document contains\na further restriction but permits relicensing or conveying under this\nLicense, you may add to a covered work material governed by the terms\nof that license document, provided that the further restriction does\nnot survive such relicensing or conveying.\n\n  If you add terms to a covered work in accord with this section, you\nmust place, in the relevant source files, a statement of the\nadditional terms that apply to those files, or a notice indicating\nwhere to find the applicable terms.\n\n  Additional terms, permissive or non-permissive, may be stated in the\nform of a separately written license, or stated as exceptions;\nthe above requirements apply either way.\n\n  8. Termination.\n\n  You may not propagate or modify a covered work except as expressly\nprovided under this License.  Any attempt otherwise to propagate or\nmodify it is void, and will automatically terminate your rights under\nthis License (including any patent licenses granted under the third\nparagraph of section 11).\n\n  However, if you cease all violation of this License, then your\nlicense from a particular copyright holder is reinstated (a)\nprovisionally, unless and until the copyright holder explicitly and\nfinally terminates your license, and (b) permanently, if the copyright\nholder fails to notify you of the violation by some reasonable means\nprior to 60 days after the cessation.\n\n  Moreover, your license from a particular copyright holder is\nreinstated permanently if the copyright holder notifies you of the\nviolation by some reasonable means, this is the first time you have\nreceived notice of violation of this License (for any work) from that\ncopyright holder, and you cure the violation prior to 30 days after\nyour receipt of the notice.\n\n  Termination of your rights under this section does not terminate the\nlicenses of parties who have received copies or rights from you under\nthis License.  If your rights have been terminated and not permanently\nreinstated, you do not qualify to receive new licenses for the same\nmaterial under section 10.\n\n  9. Acceptance Not Required for Having Copies.\n\n  You are not required to accept this License in order to receive or\nrun a copy of the Program.  Ancillary propagation of a covered work\noccurring solely as a consequence of using peer-to-peer transmission\nto receive a copy likewise does not require acceptance.  However,\nnothing other than this License grants you permission to propagate or\nmodify any covered work.  These actions infringe copyright if you do\nnot accept this License.  Therefore, by modifying or propagating a\ncovered work, you indicate your acceptance of this License to do so.\n\n  10. Automatic Licensing of Downstream Recipients.\n\n  Each time you convey a covered work, the recipient automatically\nreceives a license from the original licensors, to run, modify and\npropagate that work, subject to this License.  You are not responsible\nfor enforcing compliance by third parties with this License.\n\n  An \"entity transaction\" is a transaction transferring control of an\norganization, or substantially all assets of one, or subdividing an\norganization, or merging organizations.  If propagation of a covered\nwork results from an entity transaction, each party to that\ntransaction who receives a copy of the work also receives whatever\nlicenses to the work the party's predecessor in interest had or could\ngive under the previous paragraph, plus a right to possession of the\nCorresponding Source of the work from the predecessor in interest, if\nthe predecessor has it or can get it with reasonable efforts.\n\n  You may not impose any further restrictions on the exercise of the\nrights granted or affirmed under this License.  For example, you may\nnot impose a license fee, royalty, or other charge for exercise of\nrights granted under this License, and you may not initiate litigation\n(including a cross-claim or counterclaim in a lawsuit) alleging that\nany patent claim is infringed by making, using, selling, offering for\nsale, or importing the Program or any portion of it.\n\n  11. Patents.\n\n  A \"contributor\" is a copyright holder who authorizes use under this\nLicense of the Program or a work on which the Program is based.  The\nwork thus licensed is called the contributor's \"contributor version\".\n\n  A contributor's \"essential patent claims\" are all patent claims\nowned or controlled by the contributor, whether already acquired or\nhereafter acquired, that would be infringed by some manner, permitted\nby this License, of making, using, or selling its contributor version,\nbut do not include claims that would be infringed only as a\nconsequence of further modification of the contributor version.  For\npurposes of this definition, \"control\" includes the right to grant\npatent sublicenses in a manner consistent with the requirements of\nthis License.\n\n  Each contributor grants you a non-exclusive, worldwide, royalty-free\npatent license under the contributor's essential patent claims, to\nmake, use, sell, offer for sale, import and otherwise run, modify and\npropagate the contents of its contributor version.\n\n  In the following three paragraphs, a \"patent license\" is any express\nagreement or commitment, however denominated, not to enforce a patent\n(such as an express permission to practice a patent or covenant not to\nsue for patent infringement).  To \"grant\" such a patent license to a\nparty means to make such an agreement or commitment not to enforce a\npatent against the party.\n\n  If you convey a covered work, knowingly relying on a patent license,\nand the Corresponding Source of the work is not available for anyone\nto copy, free of charge and under the terms of this License, through a\npublicly available network server or other readily accessible means,\nthen you must either (1) cause the Corresponding Source to be so\navailable, or (2) arrange to deprive yourself of the benefit of the\npatent license for this particular work, or (3) arrange, in a manner\nconsistent with the requirements of this License, to extend the patent\nlicense to downstream recipients.  \"Knowingly relying\" means you have\nactual knowledge that, but for the patent license, your conveying the\ncovered work in a country, or your recipient's use of the covered work\nin a country, would infringe one or more identifiable patents in that\ncountry that you have reason to believe are valid.\n\n  If, pursuant to or in connection with a single transaction or\narrangement, you convey, or propagate by procuring conveyance of, a\ncovered work, and grant a patent license to some of the parties\nreceiving the covered work authorizing them to use, propagate, modify\nor convey a specific copy of the covered work, then the patent license\nyou grant is automatically extended to all recipients of the covered\nwork and works based on it.\n\n  A patent license is \"discriminatory\" if it does not include within\nthe scope of its coverage, prohibits the exercise of, or is\nconditioned on the non-exercise of one or more of the rights that are\nspecifically granted under this License.  You may not convey a covered\nwork if you are a party to an arrangement with a third party that is\nin the business of distributing software, under which you make payment\nto the third party based on the extent of your activity of conveying\nthe work, and under which the third party grants, to any of the\nparties who would receive the covered work from you, a discriminatory\npatent license (a) in connection with copies of the covered work\nconveyed by you (or copies made from those copies), or (b) primarily\nfor and in connection with specific products or compilations that\ncontain the covered work, unless you entered into that arrangement,\nor that patent license was granted, prior to 28 March 2007.\n\n  Nothing in this License shall be construed as excluding or limiting\nany implied license or other defenses to infringement that may\notherwise be available to you under applicable patent law.\n\n  12. No Surrender of Others' Freedom.\n\n  If conditions are imposed on you (whether by court order, agreement or\notherwise) that contradict the conditions of this License, they do not\nexcuse you from the conditions of this License.  If you cannot convey a\ncovered work so as to satisfy simultaneously your obligations under this\nLicense and any other pertinent obligations, then as a consequence you may\nnot convey it at all.  For example, if you agree to terms that obligate you\nto collect a royalty for further conveying from those to whom you convey\nthe Program, the only way you could satisfy both those terms and this\nLicense would be to refrain entirely from conveying the Program.\n\n  13. Remote Network Interaction; Use with the GNU General Public License.\n\n  Notwithstanding any other provision of this License, if you modify the\nProgram, your modified version must prominently offer all users\ninteracting with it remotely through a computer network (if your version\nsupports such interaction) an opportunity to receive the Corresponding\nSource of your version by providing access to the Corresponding Source\nfrom a network server at no charge, through some standard or customary\nmeans of facilitating copying of software.  This Corresponding Source\nshall include the Corresponding Source for any work covered by version 3\nof the GNU General Public License that is incorporated pursuant to the\nfollowing paragraph.\n\n  Notwithstanding any other provision of this License, you have\npermission to link or combine any covered work with a work licensed\nunder version 3 of the GNU General Public License into a single\ncombined work, and to convey the resulting work.  The terms of this\nLicense will continue to apply to the part which is the covered work,\nbut the work with which it is combined will remain governed by version\n3 of the GNU General Public License.\n\n  14. Revised Versions of this License.\n\n  The Free Software Foundation may publish revised and/or new versions of\nthe GNU Affero General Public License from time to time.  Such new versions\nwill be similar in spirit to the present version, but may differ in detail to\naddress new problems or concerns.\n\n  Each version is given a distinguishing version number.  If the\nProgram specifies that a certain numbered version of the GNU Affero General\nPublic License \"or any later version\" applies to it, you have the\noption of following the terms and conditions either of that numbered\nversion or of any later version published by the Free Software\nFoundation.  If the Program does not specify a version number of the\nGNU Affero General Public License, you may choose any version ever published\nby the Free Software Foundation.\n\n  If the Program specifies that a proxy can decide which future\nversions of the GNU Affero General Public License can be used, that proxy's\npublic statement of acceptance of a version permanently authorizes you\nto choose that version for the Program.\n\n  Later license versions may give you additional or different\npermissions.  However, no additional obligations are imposed on any\nauthor or copyright holder as a result of your choosing to follow a\nlater version.\n\n  15. Disclaimer of Warranty.\n\n  THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY\nAPPLICABLE LAW.  EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT\nHOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM \"AS IS\" WITHOUT WARRANTY\nOF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,\nTHE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\nPURPOSE.  THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM\nIS WITH YOU.  SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF\nALL NECESSARY SERVICING, REPAIR OR CORRECTION.\n\n  16. Limitation of Liability.\n\n  IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING\nWILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS\nTHE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY\nGENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE\nUSE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF\nDATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD\nPARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),\nEVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF\nSUCH DAMAGES.\n\n  17. Interpretation of Sections 15 and 16.\n\n  If the disclaimer of warranty and limitation of liability provided\nabove cannot be given local legal effect according to their terms,\nreviewing courts shall apply local law that most closely approximates\nan absolute waiver of all civil liability in connection with the\nProgram, unless a warranty or assumption of liability accompanies a\ncopy of the Program in return for a fee.\n\n                     END OF TERMS AND CONDITIONS\n\n            How to Apply These Terms to Your New Programs\n\n  If you develop a new program, and you want it to be of the greatest\npossible use to the public, the best way to achieve this is to make it\nfree software which everyone can redistribute and change under these terms.\n\n  To do so, attach the following notices to the program.  It is safest\nto attach them to the start of each source file to most effectively\nstate the exclusion of warranty; and each file should have at least\nthe \"copyright\" line and a pointer to where the full notice is found.\n\n    <one line to give the program's name and a brief idea of what it does.>\n    Copyright (C) <year>  <name of author>\n\n    This program is free software: you can redistribute it and/or modify\n    it under the terms of the GNU Affero General Public License as published by\n    the Free Software Foundation, either version 3 of the License, or\n    (at your option) any later version.\n\n    This program is distributed in the hope that it will be useful,\n    but WITHOUT ANY WARRANTY; without even the implied warranty of\n    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n    GNU Affero General Public License for more details.\n\n    You should have received a copy of the GNU Affero General Public License\n    along with this program.  If not, see <https://www.gnu.org/licenses/>.\n\nAlso add information on how to contact you by electronic and paper mail.\n\n  If your software can interact with users remotely through a computer\nnetwork, you should also make sure that it provides a way for users to\nget its source.  For example, if your program is a web application, its\ninterface could display a \"Source\" link that leads users to an archive\nof the code.  There are many ways you could offer source, and different\nsolutions will be better for different programs; see section 13 for the\nspecific requirements.\n\n  You should also get your employer (if you work as a programmer) or school,\nif any, to sign a \"copyright disclaimer\" for the program, if necessary.\nFor more information on this, and how to apply and follow the GNU AGPL, see\n<https://www.gnu.org/licenses/>.\n","dependencies":{"yup":"^0.32.11","axios":"0.27.2","blake2b":"^2.1.4","tweetnacl":"^1.0.3","wasmcurves":"0.2.1","web-worker":"^1.2.0","wasmbuilder":"^0.0.16","@vocdoni/proto":"1.14.1","tiny-invariant":"^1.3.1","@size-limit/file":"^8.2.4","iso-language-codes":"^1.1.0","@ethersproject/sha2":"^5.7.0","@ethersproject/bytes":"^5.7.0","@ethersproject/units":"^5.7.0","@ethersproject/wallet":"^5.7.0","@ethersproject/address":"^5.7.0","@ethersproject/bignumber":"^5.7.0","@ethersproject/keccak256":"^5.7.0","@ethersproject/providers":"^5.7.1","@ethersproject/signing-key":"^5.7.0","@ethersproject/abstract-signer":"^5.7.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.3.0","husky":"^8.0.2","tslib":"^2.4.0","buffer":"^6.0.3","eslint":"^8.27.0","rimraf":"^3.0.2","rollup":"^3.22.0","blakejs":"^1.2.1","esbuild":"^0.17.10","snarkjs":"vocdoni/snarkjs#v0.7.0-groth16browser","ts-jest":"^29.0.3","prettier":"^2.7.1","size-limit":"^8.1.0","typescript":"^4.8.4","@types/jest":"^29.2.2","circomlibjs":"^0.1.7","ffjavascript":"^0.2.59","blindsecp256k1":"^0.0.9","rollup-plugin-dts":"^5.1.1","@rollup/plugin-json":"^6.0.0","rollup-plugin-esbuild":"^5.0.0","eslint-config-prettier":"^8.5.0","eslint-plugin-prettier":"^4.2.1","@rollup/plugin-commonjs":"^24.0.0","@typescript-eslint/parser":"^5.42.1","@rollup/plugin-node-resolve":"^15.0.1","rollup-plugin-polyfill-node":"^0.12.0","@typescript-eslint/eslint-plugin":"^5.42.1"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.0.18_1690897350412_0.2804166916816986","host":"s3://npm-registry-packages"}},"0.1.0":{"name":"@vocdoni/sdk","version":"0.1.0","keywords":["voting","blockchain","vocdoni"],"author":{"name":"Vocdoni"},"license":"AGPL-3.0-or-later","_id":"@vocdoni/sdk@0.1.0","maintainers":[{"name":"elboletaire","email":"elboletaire@underave.net"},{"name":"emmdim","email":"manos@aragon.org"},{"name":"marcvelmer","email":"marc1987@gmail.com"},{"name":"brickpop","email":"itsbrickpop@gmail.com"},{"name":"jpainan","email":"jpainan@vocdoni.io"}],"dist":{"shasum":"3b7ddbae1e7213f57f3c6fb48416df5b2a7d406b","tarball":"https://registry.npmjs.org/@vocdoni/sdk/-/sdk-0.1.0.tgz","fileCount":13,"integrity":"sha512-hlHDscgySowIPOtlVtZhjSRVgY+fyZFFM9wCWlbq/RgqX/gbA2szLgVuvlubp+tXsvwg0wt4B2ht9mamFpIe/g==","signatures":[{"sig":"MEQCIE9HpppfHiNATX1cSF4XVZUVBQ9zB2AGB5wfTm2/1TiGAiBQtZv/6JgNOUlQNg4bHuAxxeicM6JCrxyZ4vgn+s4Cjg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":32823997},"jest":{"preset":"ts-jest","testEnvironment":"node"},"main":"dist/index.js","husky":{"hooks":{"pre-commit":"yarn lint"}},"types":"./dist/index.d.ts","module":"dist/index.mjs","engines":{"node":">=14"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./umd":{"types":"./dist/index.d.ts","default":"./dist/index.umd.js"},"./package.json":"./package.json"},"scripts":{"lint":"eslint src test --ext .js,.jsx,.ts,.tsx","size":"size-limit","test":"yarn test:unit && yarn test:api && yarn test:integration","build":"rollup -c","clean":"rimraf node_modules dist","start":"yarn watch","watch":"yarn build --watch","lintfix":"yarn lint --fix","prepare":"yarn build","test:api":"jest test/api","ts-types":"tsc --emitDeclarationOnly --outDir dist","test:unit":"jest test/unit --verbose","test:integration":"yarn test:integration:account && yarn test:integration:csp && yarn test:integration:election && yarn test:integration:other","test:integration:zk":"jest test/integration/zk.test.ts --forceExit --runInBand","test:integration:csp":"jest test/integration/csp.test.ts","test:integration:other":"jest test/integration/other.test.ts","test:integration:account":"jest test/integration/account.test.ts","test:integration:election":"jest test/integration/election.test.ts"},"_npmUser":{"name":"emmdim","email":"manos@aragon.org"},"prettier":{"semi":true,"printWidth":120,"singleQuote":true,"trailingComma":"es5"},"deprecated":"0.1.x is no longer supported","repository":{"url":"https://github.com/vocdoni/vocdoni-sdk.git","type":"git"},"size-limit":[{"path":"dist/index.js","limit":"2 MB"},{"path":"dist/index.mjs","limit":"2 MB"},{"path":"dist/index.umd.js","limit":"2 MB"}],"description":"⚒️An SDK for building applications on top of Vocdoni API","directories":{},"licenseText":"                    GNU AFFERO GENERAL PUBLIC LICENSE\n                       Version 3, 19 November 2007\n\n Copyright (C) 2020 Vocdoni Roots MTU, <https://vocdoni.io>\n Everyone is permitted to copy and distribute verbatim copies\n of this license document, but changing it is not allowed.\n\n                            Preamble\n\n  The GNU Affero General Public License is a free, copyleft license for\nsoftware and other kinds of works, specifically designed to ensure\ncooperation with the community in the case of network server software.\n\n  The licenses for most software and other practical works are designed\nto take away your freedom to share and change the works.  By contrast,\nour General Public Licenses are intended to guarantee your freedom to\nshare and change all versions of a program--to make sure it remains free\nsoftware for all its users.\n\n  When we speak of free software, we are referring to freedom, not\nprice.  Our General Public Licenses are designed to make sure that you\nhave the freedom to distribute copies of free software (and charge for\nthem if you wish), that you receive source code or can get it if you\nwant it, that you can change the software or use pieces of it in new\nfree programs, and that you know you can do these things.\n\n  Developers that use our General Public Licenses protect your rights\nwith two steps: (1) assert copyright on the software, and (2) offer\nyou this License which gives you legal permission to copy, distribute\nand/or modify the software.\n\n  A secondary benefit of defending all users' freedom is that\nimprovements made in alternate versions of the program, if they\nreceive widespread use, become available for other developers to\nincorporate.  Many developers of free software are heartened and\nencouraged by the resulting cooperation.  However, in the case of\nsoftware used on network servers, this result may fail to come about.\nThe GNU General Public License permits making a modified version and\nletting the public access it on a server without ever releasing its\nsource code to the public.\n\n  The GNU Affero General Public License is designed specifically to\nensure that, in such cases, the modified source code becomes available\nto the community.  It requires the operator of a network server to\nprovide the source code of the modified version running there to the\nusers of that server.  Therefore, public use of a modified version, on\na publicly accessible server, gives the public access to the source\ncode of the modified version.\n\n  An older license, called the Affero General Public License and\npublished by Affero, was designed to accomplish similar goals.  This is\na different license, not a version of the Affero GPL, but Affero has\nreleased a new version of the Affero GPL which permits relicensing under\nthis license.\n\n  The precise terms and conditions for copying, distribution and\nmodification follow.\n\n                       TERMS AND CONDITIONS\n\n  0. Definitions.\n\n  \"This License\" refers to version 3 of the GNU Affero General Public License.\n\n  \"Copyright\" also means copyright-like laws that apply to other kinds of\nworks, such as semiconductor masks.\n\n  \"The Program\" refers to any copyrightable work licensed under this\nLicense.  Each licensee is addressed as \"you\".  \"Licensees\" and\n\"recipients\" may be individuals or organizations.\n\n  To \"modify\" a work means to copy from or adapt all or part of the work\nin a fashion requiring copyright permission, other than the making of an\nexact copy.  The resulting work is called a \"modified version\" of the\nearlier work or a work \"based on\" the earlier work.\n\n  A \"covered work\" means either the unmodified Program or a work based\non the Program.\n\n  To \"propagate\" a work means to do anything with it that, without\npermission, would make you directly or secondarily liable for\ninfringement under applicable copyright law, except executing it on a\ncomputer or modifying a private copy.  Propagation includes copying,\ndistribution (with or without modification), making available to the\npublic, and in some countries other activities as well.\n\n  To \"convey\" a work means any kind of propagation that enables other\nparties to make or receive copies.  Mere interaction with a user through\na computer network, with no transfer of a copy, is not conveying.\n\n  An interactive user interface displays \"Appropriate Legal Notices\"\nto the extent that it includes a convenient and prominently visible\nfeature that (1) displays an appropriate copyright notice, and (2)\ntells the user that there is no warranty for the work (except to the\nextent that warranties are provided), that licensees may convey the\nwork under this License, and how to view a copy of this License.  If\nthe interface presents a list of user commands or options, such as a\nmenu, a prominent item in the list meets this criterion.\n\n  1. Source Code.\n\n  The \"source code\" for a work means the preferred form of the work\nfor making modifications to it.  \"Object code\" means any non-source\nform of a work.\n\n  A \"Standard Interface\" means an interface that either is an official\nstandard defined by a recognized standards body, or, in the case of\ninterfaces specified for a particular programming language, one that\nis widely used among developers working in that language.\n\n  The \"System Libraries\" of an executable work include anything, other\nthan the work as a whole, that (a) is included in the normal form of\npackaging a Major Component, but which is not part of that Major\nComponent, and (b) serves only to enable use of the work with that\nMajor Component, or to implement a Standard Interface for which an\nimplementation is available to the public in source code form.  A\n\"Major Component\", in this context, means a major essential component\n(kernel, window system, and so on) of the specific operating system\n(if any) on which the executable work runs, or a compiler used to\nproduce the work, or an object code interpreter used to run it.\n\n  The \"Corresponding Source\" for a work in object code form means all\nthe source code needed to generate, install, and (for an executable\nwork) run the object code and to modify the work, including scripts to\ncontrol those activities.  However, it does not include the work's\nSystem Libraries, or general-purpose tools or generally available free\nprograms which are used unmodified in performing those activities but\nwhich are not part of the work.  For example, Corresponding Source\nincludes interface definition files associated with source files for\nthe work, and the source code for shared libraries and dynamically\nlinked subprograms that the work is specifically designed to require,\nsuch as by intimate data communication or control flow between those\nsubprograms and other parts of the work.\n\n  The Corresponding Source need not include anything that users\ncan regenerate automatically from other parts of the Corresponding\nSource.\n\n  The Corresponding Source for a work in source code form is that\nsame work.\n\n  2. Basic Permissions.\n\n  All rights granted under this License are granted for the term of\ncopyright on the Program, and are irrevocable provided the stated\nconditions are met.  This License explicitly affirms your unlimited\npermission to run the unmodified Program.  The output from running a\ncovered work is covered by this License only if the output, given its\ncontent, constitutes a covered work.  This License acknowledges your\nrights of fair use or other equivalent, as provided by copyright law.\n\n  You may make, run and propagate covered works that you do not\nconvey, without conditions so long as your license otherwise remains\nin force.  You may convey covered works to others for the sole purpose\nof having them make modifications exclusively for you, or provide you\nwith facilities for running those works, provided that you comply with\nthe terms of this License in conveying all material for which you do\nnot control copyright.  Those thus making or running the covered works\nfor you must do so exclusively on your behalf, under your direction\nand control, on terms that prohibit them from making any copies of\nyour copyrighted material outside their relationship with you.\n\n  Conveying under any other circumstances is permitted solely under\nthe conditions stated below.  Sublicensing is not allowed; section 10\nmakes it unnecessary.\n\n  3. Protecting Users' Legal Rights From Anti-Circumvention Law.\n\n  No covered work shall be deemed part of an effective technological\nmeasure under any applicable law fulfilling obligations under article\n11 of the WIPO copyright treaty adopted on 20 December 1996, or\nsimilar laws prohibiting or restricting circumvention of such\nmeasures.\n\n  When you convey a covered work, you waive any legal power to forbid\ncircumvention of technological measures to the extent such circumvention\nis effected by exercising rights under this License with respect to\nthe covered work, and you disclaim any intention to limit operation or\nmodification of the work as a means of enforcing, against the work's\nusers, your or third parties' legal rights to forbid circumvention of\ntechnological measures.\n\n  4. Conveying Verbatim Copies.\n\n  You may convey verbatim copies of the Program's source code as you\nreceive it, in any medium, provided that you conspicuously and\nappropriately publish on each copy an appropriate copyright notice;\nkeep intact all notices stating that this License and any\nnon-permissive terms added in accord with section 7 apply to the code;\nkeep intact all notices of the absence of any warranty; and give all\nrecipients a copy of this License along with the Program.\n\n  You may charge any price or no price for each copy that you convey,\nand you may offer support or warranty protection for a fee.\n\n  5. Conveying Modified Source Versions.\n\n  You may convey a work based on the Program, or the modifications to\nproduce it from the Program, in the form of source code under the\nterms of section 4, provided that you also meet all of these conditions:\n\n    a) The work must carry prominent notices stating that you modified\n    it, and giving a relevant date.\n\n    b) The work must carry prominent notices stating that it is\n    released under this License and any conditions added under section\n    7.  This requirement modifies the requirement in section 4 to\n    \"keep intact all notices\".\n\n    c) You must license the entire work, as a whole, under this\n    License to anyone who comes into possession of a copy.  This\n    License will therefore apply, along with any applicable section 7\n    additional terms, to the whole of the work, and all its parts,\n    regardless of how they are packaged.  This License gives no\n    permission to license the work in any other way, but it does not\n    invalidate such permission if you have separately received it.\n\n    d) If the work has interactive user interfaces, each must display\n    Appropriate Legal Notices; however, if the Program has interactive\n    interfaces that do not display Appropriate Legal Notices, your\n    work need not make them do so.\n\n  A compilation of a covered work with other separate and independent\nworks, which are not by their nature extensions of the covered work,\nand which are not combined with it such as to form a larger program,\nin or on a volume of a storage or distribution medium, is called an\n\"aggregate\" if the compilation and its resulting copyright are not\nused to limit the access or legal rights of the compilation's users\nbeyond what the individual works permit.  Inclusion of a covered work\nin an aggregate does not cause this License to apply to the other\nparts of the aggregate.\n\n  6. Conveying Non-Source Forms.\n\n  You may convey a covered work in object code form under the terms\nof sections 4 and 5, provided that you also convey the\nmachine-readable Corresponding Source under the terms of this License,\nin one of these ways:\n\n    a) Convey the object code in, or embodied in, a physical product\n    (including a physical distribution medium), accompanied by the\n    Corresponding Source fixed on a durable physical medium\n    customarily used for software interchange.\n\n    b) Convey the object code in, or embodied in, a physical product\n    (including a physical distribution medium), accompanied by a\n    written offer, valid for at least three years and valid for as\n    long as you offer spare parts or customer support for that product\n    model, to give anyone who possesses the object code either (1) a\n    copy of the Corresponding Source for all the software in the\n    product that is covered by this License, on a durable physical\n    medium customarily used for software interchange, for a price no\n    more than your reasonable cost of physically performing this\n    conveying of source, or (2) access to copy the\n    Corresponding Source from a network server at no charge.\n\n    c) Convey individual copies of the object code with a copy of the\n    written offer to provide the Corresponding Source.  This\n    alternative is allowed only occasionally and noncommercially, and\n    only if you received the object code with such an offer, in accord\n    with subsection 6b.\n\n    d) Convey the object code by offering access from a designated\n    place (gratis or for a charge), and offer equivalent access to the\n    Corresponding Source in the same way through the same place at no\n    further charge.  You need not require recipients to copy the\n    Corresponding Source along with the object code.  If the place to\n    copy the object code is a network server, the Corresponding Source\n    may be on a different server (operated by you or a third party)\n    that supports equivalent copying facilities, provided you maintain\n    clear directions next to the object code saying where to find the\n    Corresponding Source.  Regardless of what server hosts the\n    Corresponding Source, you remain obligated to ensure that it is\n    available for as long as needed to satisfy these requirements.\n\n    e) Convey the object code using peer-to-peer transmission, provided\n    you inform other peers where the object code and Corresponding\n    Source of the work are being offered to the general public at no\n    charge under subsection 6d.\n\n  A separable portion of the object code, whose source code is excluded\nfrom the Corresponding Source as a System Library, need not be\nincluded in conveying the object code work.\n\n  A \"User Product\" is either (1) a \"consumer product\", which means any\ntangible personal property which is normally used for personal, family,\nor household purposes, or (2) anything designed or sold for incorporation\ninto a dwelling.  In determining whether a product is a consumer product,\ndoubtful cases shall be resolved in favor of coverage.  For a particular\nproduct received by a particular user, \"normally used\" refers to a\ntypical or common use of that class of product, regardless of the status\nof the particular user or of the way in which the particular user\nactually uses, or expects or is expected to use, the product.  A product\nis a consumer product regardless of whether the product has substantial\ncommercial, industrial or non-consumer uses, unless such uses represent\nthe only significant mode of use of the product.\n\n  \"Installation Information\" for a User Product means any methods,\nprocedures, authorization keys, or other information required to install\nand execute modified versions of a covered work in that User Product from\na modified version of its Corresponding Source.  The information must\nsuffice to ensure that the continued functioning of the modified object\ncode is in no case prevented or interfered with solely because\nmodification has been made.\n\n  If you convey an object code work under this section in, or with, or\nspecifically for use in, a User Product, and the conveying occurs as\npart of a transaction in which the right of possession and use of the\nUser Product is transferred to the recipient in perpetuity or for a\nfixed term (regardless of how the transaction is characterized), the\nCorresponding Source conveyed under this section must be accompanied\nby the Installation Information.  But this requirement does not apply\nif neither you nor any third party retains the ability to install\nmodified object code on the User Product (for example, the work has\nbeen installed in ROM).\n\n  The requirement to provide Installation Information does not include a\nrequirement to continue to provide support service, warranty, or updates\nfor a work that has been modified or installed by the recipient, or for\nthe User Product in which it has been modified or installed.  Access to a\nnetwork may be denied when the modification itself materially and\nadversely affects the operation of the network or violates the rules and\nprotocols for communication across the network.\n\n  Corresponding Source conveyed, and Installation Information provided,\nin accord with this section must be in a format that is publicly\ndocumented (and with an implementation available to the public in\nsource code form), and must require no special password or key for\nunpacking, reading or copying.\n\n  7. Additional Terms.\n\n  \"Additional permissions\" are terms that supplement the terms of this\nLicense by making exceptions from one or more of its conditions.\nAdditional permissions that are applicable to the entire Program shall\nbe treated as though they were included in this License, to the extent\nthat they are valid under applicable law.  If additional permissions\napply only to part of the Program, that part may be used separately\nunder those permissions, but the entire Program remains governed by\nthis License without regard to the additional permissions.\n\n  When you convey a copy of a covered work, you may at your option\nremove any additional permissions from that copy, or from any part of\nit.  (Additional permissions may be written to require their own\nremoval in certain cases when you modify the work.)  You may place\nadditional permissions on material, added by you to a covered work,\nfor which you have or can give appropriate copyright permission.\n\n  Notwithstanding any other provision of this License, for material you\nadd to a covered work, you may (if authorized by the copyright holders of\nthat material) supplement the terms of this License with terms:\n\n    a) Disclaiming warranty or limiting liability differently from the\n    terms of sections 15 and 16 of this License; or\n\n    b) Requiring preservation of specified reasonable legal notices or\n    author attributions in that material or in the Appropriate Legal\n    Notices displayed by works containing it; or\n\n    c) Prohibiting misrepresentation of the origin of that material, or\n    requiring that modified versions of such material be marked in\n    reasonable ways as different from the original version; or\n\n    d) Limiting the use for publicity purposes of names of licensors or\n    authors of the material; or\n\n    e) Declining to grant rights under trademark law for use of some\n    trade names, trademarks, or service marks; or\n\n    f) Requiring indemnification of licensors and authors of that\n    material by anyone who conveys the material (or modified versions of\n    it) with contractual assumptions of liability to the recipient, for\n    any liability that these contractual assumptions directly impose on\n    those licensors and authors.\n\n  All other non-permissive additional terms are considered \"further\nrestrictions\" within the meaning of section 10.  If the Program as you\nreceived it, or any part of it, contains a notice stating that it is\ngoverned by this License along with a term that is a further\nrestriction, you may remove that term.  If a license document contains\na further restriction but permits relicensing or conveying under this\nLicense, you may add to a covered work material governed by the terms\nof that license document, provided that the further restriction does\nnot survive such relicensing or conveying.\n\n  If you add terms to a covered work in accord with this section, you\nmust place, in the relevant source files, a statement of the\nadditional terms that apply to those files, or a notice indicating\nwhere to find the applicable terms.\n\n  Additional terms, permissive or non-permissive, may be stated in the\nform of a separately written license, or stated as exceptions;\nthe above requirements apply either way.\n\n  8. Termination.\n\n  You may not propagate or modify a covered work except as expressly\nprovided under this License.  Any attempt otherwise to propagate or\nmodify it is void, and will automatically terminate your rights under\nthis License (including any patent licenses granted under the third\nparagraph of section 11).\n\n  However, if you cease all violation of this License, then your\nlicense from a particular copyright holder is reinstated (a)\nprovisionally, unless and until the copyright holder explicitly and\nfinally terminates your license, and (b) permanently, if the copyright\nholder fails to notify you of the violation by some reasonable means\nprior to 60 days after the cessation.\n\n  Moreover, your license from a particular copyright holder is\nreinstated permanently if the copyright holder notifies you of the\nviolation by some reasonable means, this is the first time you have\nreceived notice of violation of this License (for any work) from that\ncopyright holder, and you cure the violation prior to 30 days after\nyour receipt of the notice.\n\n  Termination of your rights under this section does not terminate the\nlicenses of parties who have received copies or rights from you under\nthis License.  If your rights have been terminated and not permanently\nreinstated, you do not qualify to receive new licenses for the same\nmaterial under section 10.\n\n  9. Acceptance Not Required for Having Copies.\n\n  You are not required to accept this License in order to receive or\nrun a copy of the Program.  Ancillary propagation of a covered work\noccurring solely as a consequence of using peer-to-peer transmission\nto receive a copy likewise does not require acceptance.  However,\nnothing other than this License grants you permission to propagate or\nmodify any covered work.  These actions infringe copyright if you do\nnot accept this License.  Therefore, by modifying or propagating a\ncovered work, you indicate your acceptance of this License to do so.\n\n  10. Automatic Licensing of Downstream Recipients.\n\n  Each time you convey a covered work, the recipient automatically\nreceives a license from the original licensors, to run, modify and\npropagate that work, subject to this License.  You are not responsible\nfor enforcing compliance by third parties with this License.\n\n  An \"entity transaction\" is a transaction transferring control of an\norganization, or substantially all assets of one, or subdividing an\norganization, or merging organizations.  If propagation of a covered\nwork results from an entity transaction, each party to that\ntransaction who receives a copy of the work also receives whatever\nlicenses to the work the party's predecessor in interest had or could\ngive under the previous paragraph, plus a right to possession of the\nCorresponding Source of the work from the predecessor in interest, if\nthe predecessor has it or can get it with reasonable efforts.\n\n  You may not impose any further restrictions on the exercise of the\nrights granted or affirmed under this License.  For example, you may\nnot impose a license fee, royalty, or other charge for exercise of\nrights granted under this License, and you may not initiate litigation\n(including a cross-claim or counterclaim in a lawsuit) alleging that\nany patent claim is infringed by making, using, selling, offering for\nsale, or importing the Program or any portion of it.\n\n  11. Patents.\n\n  A \"contributor\" is a copyright holder who authorizes use under this\nLicense of the Program or a work on which the Program is based.  The\nwork thus licensed is called the contributor's \"contributor version\".\n\n  A contributor's \"essential patent claims\" are all patent claims\nowned or controlled by the contributor, whether already acquired or\nhereafter acquired, that would be infringed by some manner, permitted\nby this License, of making, using, or selling its contributor version,\nbut do not include claims that would be infringed only as a\nconsequence of further modification of the contributor version.  For\npurposes of this definition, \"control\" includes the right to grant\npatent sublicenses in a manner consistent with the requirements of\nthis License.\n\n  Each contributor grants you a non-exclusive, worldwide, royalty-free\npatent license under the contributor's essential patent claims, to\nmake, use, sell, offer for sale, import and otherwise run, modify and\npropagate the contents of its contributor version.\n\n  In the following three paragraphs, a \"patent license\" is any express\nagreement or commitment, however denominated, not to enforce a patent\n(such as an express permission to practice a patent or covenant not to\nsue for patent infringement).  To \"grant\" such a patent license to a\nparty means to make such an agreement or commitment not to enforce a\npatent against the party.\n\n  If you convey a covered work, knowingly relying on a patent license,\nand the Corresponding Source of the work is not available for anyone\nto copy, free of charge and under the terms of this License, through a\npublicly available network server or other readily accessible means,\nthen you must either (1) cause the Corresponding Source to be so\navailable, or (2) arrange to deprive yourself of the benefit of the\npatent license for this particular work, or (3) arrange, in a manner\nconsistent with the requirements of this License, to extend the patent\nlicense to downstream recipients.  \"Knowingly relying\" means you have\nactual knowledge that, but for the patent license, your conveying the\ncovered work in a country, or your recipient's use of the covered work\nin a country, would infringe one or more identifiable patents in that\ncountry that you have reason to believe are valid.\n\n  If, pursuant to or in connection with a single transaction or\narrangement, you convey, or propagate by procuring conveyance of, a\ncovered work, and grant a patent license to some of the parties\nreceiving the covered work authorizing them to use, propagate, modify\nor convey a specific copy of the covered work, then the patent license\nyou grant is automatically extended to all recipients of the covered\nwork and works based on it.\n\n  A patent license is \"discriminatory\" if it does not include within\nthe scope of its coverage, prohibits the exercise of, or is\nconditioned on the non-exercise of one or more of the rights that are\nspecifically granted under this License.  You may not convey a covered\nwork if you are a party to an arrangement with a third party that is\nin the business of distributing software, under which you make payment\nto the third party based on the extent of your activity of conveying\nthe work, and under which the third party grants, to any of the\nparties who would receive the covered work from you, a discriminatory\npatent license (a) in connection with copies of the covered work\nconveyed by you (or copies made from those copies), or (b) primarily\nfor and in connection with specific products or compilations that\ncontain the covered work, unless you entered into that arrangement,\nor that patent license was granted, prior to 28 March 2007.\n\n  Nothing in this License shall be construed as excluding or limiting\nany implied license or other defenses to infringement that may\notherwise be available to you under applicable patent law.\n\n  12. No Surrender of Others' Freedom.\n\n  If conditions are imposed on you (whether by court order, agreement or\notherwise) that contradict the conditions of this License, they do not\nexcuse you from the conditions of this License.  If you cannot convey a\ncovered work so as to satisfy simultaneously your obligations under this\nLicense and any other pertinent obligations, then as a consequence you may\nnot convey it at all.  For example, if you agree to terms that obligate you\nto collect a royalty for further conveying from those to whom you convey\nthe Program, the only way you could satisfy both those terms and this\nLicense would be to refrain entirely from conveying the Program.\n\n  13. Remote Network Interaction; Use with the GNU General Public License.\n\n  Notwithstanding any other provision of this License, if you modify the\nProgram, your modified version must prominently offer all users\ninteracting with it remotely through a computer network (if your version\nsupports such interaction) an opportunity to receive the Corresponding\nSource of your version by providing access to the Corresponding Source\nfrom a network server at no charge, through some standard or customary\nmeans of facilitating copying of software.  This Corresponding Source\nshall include the Corresponding Source for any work covered by version 3\nof the GNU General Public License that is incorporated pursuant to the\nfollowing paragraph.\n\n  Notwithstanding any other provision of this License, you have\npermission to link or combine any covered work with a work licensed\nunder version 3 of the GNU General Public License into a single\ncombined work, and to convey the resulting work.  The terms of this\nLicense will continue to apply to the part which is the covered work,\nbut the work with which it is combined will remain governed by version\n3 of the GNU General Public License.\n\n  14. Revised Versions of this License.\n\n  The Free Software Foundation may publish revised and/or new versions of\nthe GNU Affero General Public License from time to time.  Such new versions\nwill be similar in spirit to the present version, but may differ in detail to\naddress new problems or concerns.\n\n  Each version is given a distinguishing version number.  If the\nProgram specifies that a certain numbered version of the GNU Affero General\nPublic License \"or any later version\" applies to it, you have the\noption of following the terms and conditions either of that numbered\nversion or of any later version published by the Free Software\nFoundation.  If the Program does not specify a version number of the\nGNU Affero General Public License, you may choose any version ever published\nby the Free Software Foundation.\n\n  If the Program specifies that a proxy can decide which future\nversions of the GNU Affero General Public License can be used, that proxy's\npublic statement of acceptance of a version permanently authorizes you\nto choose that version for the Program.\n\n  Later license versions may give you additional or different\npermissions.  However, no additional obligations are imposed on any\nauthor or copyright holder as a result of your choosing to follow a\nlater version.\n\n  15. Disclaimer of Warranty.\n\n  THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY\nAPPLICABLE LAW.  EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT\nHOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM \"AS IS\" WITHOUT WARRANTY\nOF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,\nTHE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\nPURPOSE.  THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM\nIS WITH YOU.  SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF\nALL NECESSARY SERVICING, REPAIR OR CORRECTION.\n\n  16. Limitation of Liability.\n\n  IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING\nWILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS\nTHE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY\nGENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE\nUSE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF\nDATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD\nPARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),\nEVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF\nSUCH DAMAGES.\n\n  17. Interpretation of Sections 15 and 16.\n\n  If the disclaimer of warranty and limitation of liability provided\nabove cannot be given local legal effect according to their terms,\nreviewing courts shall apply local law that most closely approximates\nan absolute waiver of all civil liability in connection with the\nProgram, unless a warranty or assumption of liability accompanies a\ncopy of the Program in return for a fee.\n\n                     END OF TERMS AND CONDITIONS\n\n            How to Apply These Terms to Your New Programs\n\n  If you develop a new program, and you want it to be of the greatest\npossible use to the public, the best way to achieve this is to make it\nfree software which everyone can redistribute and change under these terms.\n\n  To do so, attach the following notices to the program.  It is safest\nto attach them to the start of each source file to most effectively\nstate the exclusion of warranty; and each file should have at least\nthe \"copyright\" line and a pointer to where the full notice is found.\n\n    <one line to give the program's name and a brief idea of what it does.>\n    Copyright (C) <year>  <name of author>\n\n    This program is free software: you can redistribute it and/or modify\n    it under the terms of the GNU Affero General Public License as published by\n    the Free Software Foundation, either version 3 of the License, or\n    (at your option) any later version.\n\n    This program is distributed in the hope that it will be useful,\n    but WITHOUT ANY WARRANTY; without even the implied warranty of\n    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n    GNU Affero General Public License for more details.\n\n    You should have received a copy of the GNU Affero General Public License\n    along with this program.  If not, see <https://www.gnu.org/licenses/>.\n\nAlso add information on how to contact you by electronic and paper mail.\n\n  If your software can interact with users remotely through a computer\nnetwork, you should also make sure that it provides a way for users to\nget its source.  For example, if your program is a web application, its\ninterface could display a \"Source\" link that leads users to an archive\nof the code.  There are many ways you could offer source, and different\nsolutions will be better for different programs; see section 13 for the\nspecific requirements.\n\n  You should also get your employer (if you work as a programmer) or school,\nif any, to sign a \"copyright disclaimer\" for the program, if necessary.\nFor more information on this, and how to apply and follow the GNU AGPL, see\n<https://www.gnu.org/licenses/>.\n","dependencies":{"yup":"^0.32.11","axios":"0.27.2","blake2b":"^2.1.4","tweetnacl":"^1.0.3","wasmcurves":"0.2.1","web-worker":"^1.2.0","wasmbuilder":"^0.0.16","@vocdoni/proto":"1.15.3","tiny-invariant":"^1.3.1","@size-limit/file":"^8.2.4","iso-language-codes":"^1.1.0","@ethersproject/sha2":"^5.7.0","@ethersproject/bytes":"^5.7.0","@ethersproject/units":"^5.7.0","@ethersproject/wallet":"^5.7.0","@ethersproject/address":"^5.7.0","@ethersproject/strings":"^5.7.0","@ethersproject/bignumber":"^5.7.0","@ethersproject/keccak256":"^5.7.0","@ethersproject/providers":"^5.7.1","@ethersproject/signing-key":"^5.7.0","@ethersproject/abstract-signer":"^5.7.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.3.0","husky":"^8.0.2","tslib":"^2.4.0","buffer":"^6.0.3","eslint":"^8.27.0","rimraf":"^3.0.2","rollup":"^3.22.0","blakejs":"^1.2.1","esbuild":"^0.17.10","snarkjs":"vocdoni/snarkjs#v0.7.0-groth16browser","ts-jest":"^29.0.3","prettier":"^2.7.1","size-limit":"^8.1.0","typescript":"^4.8.4","@types/jest":"^29.2.2","circomlibjs":"^0.1.7","ffjavascript":"^0.2.59","blindsecp256k1":"^0.0.9","rollup-plugin-dts":"^5.1.1","@rollup/plugin-json":"^6.0.0","rollup-plugin-esbuild":"^5.0.0","eslint-config-prettier":"^8.5.0","eslint-plugin-prettier":"^4.2.1","@rollup/plugin-commonjs":"^24.0.0","@typescript-eslint/parser":"^5.42.1","@rollup/plugin-node-resolve":"^15.0.1","rollup-plugin-polyfill-node":"^0.12.0","@typescript-eslint/eslint-plugin":"^5.42.1"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.1.0_1691772772832_0.9712455695142233","host":"s3://npm-registry-packages"}},"0.1.1":{"name":"@vocdoni/sdk","version":"0.1.1","keywords":["voting","blockchain","vocdoni"],"author":{"name":"Vocdoni"},"license":"AGPL-3.0-or-later","_id":"@vocdoni/sdk@0.1.1","maintainers":[{"name":"elboletaire","email":"elboletaire@underave.net"},{"name":"emmdim","email":"manos@aragon.org"},{"name":"marcvelmer","email":"marc1987@gmail.com"},{"name":"brickpop","email":"itsbrickpop@gmail.com"},{"name":"jpainan","email":"jpainan@vocdoni.io"}],"dist":{"shasum":"ebb40164c09a516a77f9222b92d912c578c224af","tarball":"https://registry.npmjs.org/@vocdoni/sdk/-/sdk-0.1.1.tgz","fileCount":13,"integrity":"sha512-Z673X4lukKNO7EHFriI2JA0JVMfJ+AdS+UusawcZzNAdHAmCPdzrskjsL9MiYLRwOIYX+0osa/YsfnLvx/FwqA==","signatures":[{"sig":"MEYCIQD40fCXKwRS+1+1yRh58McKtrRr8N7FKgadxFgczpfcnQIhAMQXtfwU/JReyESFQtwOJMKM3F8D0kNAUzjGcr+Vvo1W","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":32824181},"jest":{"preset":"ts-jest","testEnvironment":"node"},"main":"dist/index.js","husky":{"hooks":{"pre-commit":"yarn lint"}},"types":"./dist/index.d.ts","module":"dist/index.mjs","engines":{"node":">=14"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./umd":{"types":"./dist/index.d.ts","default":"./dist/index.umd.js"},"./package.json":"./package.json"},"scripts":{"lint":"eslint src test --ext .js,.jsx,.ts,.tsx","size":"size-limit","test":"yarn test:unit && yarn test:api && yarn test:integration","build":"rollup -c","clean":"rimraf node_modules dist","start":"yarn watch","watch":"yarn build --watch","lintfix":"yarn lint --fix","prepare":"yarn build","test:api":"jest test/api","ts-types":"tsc --emitDeclarationOnly --outDir dist","test:unit":"jest test/unit --verbose","test:integration":"yarn test:integration:account && yarn test:integration:csp && yarn test:integration:election && yarn test:integration:other","test:integration:zk":"jest test/integration/zk.test.ts --forceExit --runInBand","test:integration:csp":"jest test/integration/csp.test.ts","test:integration:other":"jest test/integration/other.test.ts","test:integration:account":"jest test/integration/account.test.ts","test:integration:election":"jest test/integration/election.test.ts"},"_npmUser":{"name":"emmdim","email":"manos@aragon.org"},"prettier":{"semi":true,"printWidth":120,"singleQuote":true,"trailingComma":"es5"},"deprecated":"0.1.x is no longer supported","repository":{"url":"https://github.com/vocdoni/vocdoni-sdk.git","type":"git"},"size-limit":[{"path":"dist/index.js","limit":"2 MB"},{"path":"dist/index.mjs","limit":"2 MB"},{"path":"dist/index.umd.js","limit":"2 MB"}],"description":"⚒️An SDK for building applications on top of Vocdoni API","directories":{},"licenseText":"                    GNU AFFERO GENERAL PUBLIC LICENSE\n                       Version 3, 19 November 2007\n\n Copyright (C) 2020 Vocdoni Roots MTU, <https://vocdoni.io>\n Everyone is permitted to copy and distribute verbatim copies\n of this license document, but changing it is not allowed.\n\n                            Preamble\n\n  The GNU Affero General Public License is a free, copyleft license for\nsoftware and other kinds of works, specifically designed to ensure\ncooperation with the community in the case of network server software.\n\n  The licenses for most software and other practical works are designed\nto take away your freedom to share and change the works.  By contrast,\nour General Public Licenses are intended to guarantee your freedom to\nshare and change all versions of a program--to make sure it remains free\nsoftware for all its users.\n\n  When we speak of free software, we are referring to freedom, not\nprice.  Our General Public Licenses are designed to make sure that you\nhave the freedom to distribute copies of free software (and charge for\nthem if you wish), that you receive source code or can get it if you\nwant it, that you can change the software or use pieces of it in new\nfree programs, and that you know you can do these things.\n\n  Developers that use our General Public Licenses protect your rights\nwith two steps: (1) assert copyright on the software, and (2) offer\nyou this License which gives you legal permission to copy, distribute\nand/or modify the software.\n\n  A secondary benefit of defending all users' freedom is that\nimprovements made in alternate versions of the program, if they\nreceive widespread use, become available for other developers to\nincorporate.  Many developers of free software are heartened and\nencouraged by the resulting cooperation.  However, in the case of\nsoftware used on network servers, this result may fail to come about.\nThe GNU General Public License permits making a modified version and\nletting the public access it on a server without ever releasing its\nsource code to the public.\n\n  The GNU Affero General Public License is designed specifically to\nensure that, in such cases, the modified source code becomes available\nto the community.  It requires the operator of a network server to\nprovide the source code of the modified version running there to the\nusers of that server.  Therefore, public use of a modified version, on\na publicly accessible server, gives the public access to the source\ncode of the modified version.\n\n  An older license, called the Affero General Public License and\npublished by Affero, was designed to accomplish similar goals.  This is\na different license, not a version of the Affero GPL, but Affero has\nreleased a new version of the Affero GPL which permits relicensing under\nthis license.\n\n  The precise terms and conditions for copying, distribution and\nmodification follow.\n\n                       TERMS AND CONDITIONS\n\n  0. Definitions.\n\n  \"This License\" refers to version 3 of the GNU Affero General Public License.\n\n  \"Copyright\" also means copyright-like laws that apply to other kinds of\nworks, such as semiconductor masks.\n\n  \"The Program\" refers to any copyrightable work licensed under this\nLicense.  Each licensee is addressed as \"you\".  \"Licensees\" and\n\"recipients\" may be individuals or organizations.\n\n  To \"modify\" a work means to copy from or adapt all or part of the work\nin a fashion requiring copyright permission, other than the making of an\nexact copy.  The resulting work is called a \"modified version\" of the\nearlier work or a work \"based on\" the earlier work.\n\n  A \"covered work\" means either the unmodified Program or a work based\non the Program.\n\n  To \"propagate\" a work means to do anything with it that, without\npermission, would make you directly or secondarily liable for\ninfringement under applicable copyright law, except executing it on a\ncomputer or modifying a private copy.  Propagation includes copying,\ndistribution (with or without modification), making available to the\npublic, and in some countries other activities as well.\n\n  To \"convey\" a work means any kind of propagation that enables other\nparties to make or receive copies.  Mere interaction with a user through\na computer network, with no transfer of a copy, is not conveying.\n\n  An interactive user interface displays \"Appropriate Legal Notices\"\nto the extent that it includes a convenient and prominently visible\nfeature that (1) displays an appropriate copyright notice, and (2)\ntells the user that there is no warranty for the work (except to the\nextent that warranties are provided), that licensees may convey the\nwork under this License, and how to view a copy of this License.  If\nthe interface presents a list of user commands or options, such as a\nmenu, a prominent item in the list meets this criterion.\n\n  1. Source Code.\n\n  The \"source code\" for a work means the preferred form of the work\nfor making modifications to it.  \"Object code\" means any non-source\nform of a work.\n\n  A \"Standard Interface\" means an interface that either is an official\nstandard defined by a recognized standards body, or, in the case of\ninterfaces specified for a particular programming language, one that\nis widely used among developers working in that language.\n\n  The \"System Libraries\" of an executable work include anything, other\nthan the work as a whole, that (a) is included in the normal form of\npackaging a Major Component, but which is not part of that Major\nComponent, and (b) serves only to enable use of the work with that\nMajor Component, or to implement a Standard Interface for which an\nimplementation is available to the public in source code form.  A\n\"Major Component\", in this context, means a major essential component\n(kernel, window system, and so on) of the specific operating system\n(if any) on which the executable work runs, or a compiler used to\nproduce the work, or an object code interpreter used to run it.\n\n  The \"Corresponding Source\" for a work in object code form means all\nthe source code needed to generate, install, and (for an executable\nwork) run the object code and to modify the work, including scripts to\ncontrol those activities.  However, it does not include the work's\nSystem Libraries, or general-purpose tools or generally available free\nprograms which are used unmodified in performing those activities but\nwhich are not part of the work.  For example, Corresponding Source\nincludes interface definition files associated with source files for\nthe work, and the source code for shared libraries and dynamically\nlinked subprograms that the work is specifically designed to require,\nsuch as by intimate data communication or control flow between those\nsubprograms and other parts of the work.\n\n  The Corresponding Source need not include anything that users\ncan regenerate automatically from other parts of the Corresponding\nSource.\n\n  The Corresponding Source for a work in source code form is that\nsame work.\n\n  2. Basic Permissions.\n\n  All rights granted under this License are granted for the term of\ncopyright on the Program, and are irrevocable provided the stated\nconditions are met.  This License explicitly affirms your unlimited\npermission to run the unmodified Program.  The output from running a\ncovered work is covered by this License only if the output, given its\ncontent, constitutes a covered work.  This License acknowledges your\nrights of fair use or other equivalent, as provided by copyright law.\n\n  You may make, run and propagate covered works that you do not\nconvey, without conditions so long as your license otherwise remains\nin force.  You may convey covered works to others for the sole purpose\nof having them make modifications exclusively for you, or provide you\nwith facilities for running those works, provided that you comply with\nthe terms of this License in conveying all material for which you do\nnot control copyright.  Those thus making or running the covered works\nfor you must do so exclusively on your behalf, under your direction\nand control, on terms that prohibit them from making any copies of\nyour copyrighted material outside their relationship with you.\n\n  Conveying under any other circumstances is permitted solely under\nthe conditions stated below.  Sublicensing is not allowed; section 10\nmakes it unnecessary.\n\n  3. Protecting Users' Legal Rights From Anti-Circumvention Law.\n\n  No covered work shall be deemed part of an effective technological\nmeasure under any applicable law fulfilling obligations under article\n11 of the WIPO copyright treaty adopted on 20 December 1996, or\nsimilar laws prohibiting or restricting circumvention of such\nmeasures.\n\n  When you convey a covered work, you waive any legal power to forbid\ncircumvention of technological measures to the extent such circumvention\nis effected by exercising rights under this License with respect to\nthe covered work, and you disclaim any intention to limit operation or\nmodification of the work as a means of enforcing, against the work's\nusers, your or third parties' legal rights to forbid circumvention of\ntechnological measures.\n\n  4. Conveying Verbatim Copies.\n\n  You may convey verbatim copies of the Program's source code as you\nreceive it, in any medium, provided that you conspicuously and\nappropriately publish on each copy an appropriate copyright notice;\nkeep intact all notices stating that this License and any\nnon-permissive terms added in accord with section 7 apply to the code;\nkeep intact all notices of the absence of any warranty; and give all\nrecipients a copy of this License along with the Program.\n\n  You may charge any price or no price for each copy that you convey,\nand you may offer support or warranty protection for a fee.\n\n  5. Conveying Modified Source Versions.\n\n  You may convey a work based on the Program, or the modifications to\nproduce it from the Program, in the form of source code under the\nterms of section 4, provided that you also meet all of these conditions:\n\n    a) The work must carry prominent notices stating that you modified\n    it, and giving a relevant date.\n\n    b) The work must carry prominent notices stating that it is\n    released under this License and any conditions added under section\n    7.  This requirement modifies the requirement in section 4 to\n    \"keep intact all notices\".\n\n    c) You must license the entire work, as a whole, under this\n    License to anyone who comes into possession of a copy.  This\n    License will therefore apply, along with any applicable section 7\n    additional terms, to the whole of the work, and all its parts,\n    regardless of how they are packaged.  This License gives no\n    permission to license the work in any other way, but it does not\n    invalidate such permission if you have separately received it.\n\n    d) If the work has interactive user interfaces, each must display\n    Appropriate Legal Notices; however, if the Program has interactive\n    interfaces that do not display Appropriate Legal Notices, your\n    work need not make them do so.\n\n  A compilation of a covered work with other separate and independent\nworks, which are not by their nature extensions of the covered work,\nand which are not combined with it such as to form a larger program,\nin or on a volume of a storage or distribution medium, is called an\n\"aggregate\" if the compilation and its resulting copyright are not\nused to limit the access or legal rights of the compilation's users\nbeyond what the individual works permit.  Inclusion of a covered work\nin an aggregate does not cause this License to apply to the other\nparts of the aggregate.\n\n  6. Conveying Non-Source Forms.\n\n  You may convey a covered work in object code form under the terms\nof sections 4 and 5, provided that you also convey the\nmachine-readable Corresponding Source under the terms of this License,\nin one of these ways:\n\n    a) Convey the object code in, or embodied in, a physical product\n    (including a physical distribution medium), accompanied by the\n    Corresponding Source fixed on a durable physical medium\n    customarily used for software interchange.\n\n    b) Convey the object code in, or embodied in, a physical product\n    (including a physical distribution medium), accompanied by a\n    written offer, valid for at least three years and valid for as\n    long as you offer spare parts or customer support for that product\n    model, to give anyone who possesses the object code either (1) a\n    copy of the Corresponding Source for all the software in the\n    product that is covered by this License, on a durable physical\n    medium customarily used for software interchange, for a price no\n    more than your reasonable cost of physically performing this\n    conveying of source, or (2) access to copy the\n    Corresponding Source from a network server at no charge.\n\n    c) Convey individual copies of the object code with a copy of the\n    written offer to provide the Corresponding Source.  This\n    alternative is allowed only occasionally and noncommercially, and\n    only if you received the object code with such an offer, in accord\n    with subsection 6b.\n\n    d) Convey the object code by offering access from a designated\n    place (gratis or for a charge), and offer equivalent access to the\n    Corresponding Source in the same way through the same place at no\n    further charge.  You need not require recipients to copy the\n    Corresponding Source along with the object code.  If the place to\n    copy the object code is a network server, the Corresponding Source\n    may be on a different server (operated by you or a third party)\n    that supports equivalent copying facilities, provided you maintain\n    clear directions next to the object code saying where to find the\n    Corresponding Source.  Regardless of what server hosts the\n    Corresponding Source, you remain obligated to ensure that it is\n    available for as long as needed to satisfy these requirements.\n\n    e) Convey the object code using peer-to-peer transmission, provided\n    you inform other peers where the object code and Corresponding\n    Source of the work are being offered to the general public at no\n    charge under subsection 6d.\n\n  A separable portion of the object code, whose source code is excluded\nfrom the Corresponding Source as a System Library, need not be\nincluded in conveying the object code work.\n\n  A \"User Product\" is either (1) a \"consumer product\", which means any\ntangible personal property which is normally used for personal, family,\nor household purposes, or (2) anything designed or sold for incorporation\ninto a dwelling.  In determining whether a product is a consumer product,\ndoubtful cases shall be resolved in favor of coverage.  For a particular\nproduct received by a particular user, \"normally used\" refers to a\ntypical or common use of that class of product, regardless of the status\nof the particular user or of the way in which the particular user\nactually uses, or expects or is expected to use, the product.  A product\nis a consumer product regardless of whether the product has substantial\ncommercial, industrial or non-consumer uses, unless such uses represent\nthe only significant mode of use of the product.\n\n  \"Installation Information\" for a User Product means any methods,\nprocedures, authorization keys, or other information required to install\nand execute modified versions of a covered work in that User Product from\na modified version of its Corresponding Source.  The information must\nsuffice to ensure that the continued functioning of the modified object\ncode is in no case prevented or interfered with solely because\nmodification has been made.\n\n  If you convey an object code work under this section in, or with, or\nspecifically for use in, a User Product, and the conveying occurs as\npart of a transaction in which the right of possession and use of the\nUser Product is transferred to the recipient in perpetuity or for a\nfixed term (regardless of how the transaction is characterized), the\nCorresponding Source conveyed under this section must be accompanied\nby the Installation Information.  But this requirement does not apply\nif neither you nor any third party retains the ability to install\nmodified object code on the User Product (for example, the work has\nbeen installed in ROM).\n\n  The requirement to provide Installation Information does not include a\nrequirement to continue to provide support service, warranty, or updates\nfor a work that has been modified or installed by the recipient, or for\nthe User Product in which it has been modified or installed.  Access to a\nnetwork may be denied when the modification itself materially and\nadversely affects the operation of the network or violates the rules and\nprotocols for communication across the network.\n\n  Corresponding Source conveyed, and Installation Information provided,\nin accord with this section must be in a format that is publicly\ndocumented (and with an implementation available to the public in\nsource code form), and must require no special password or key for\nunpacking, reading or copying.\n\n  7. Additional Terms.\n\n  \"Additional permissions\" are terms that supplement the terms of this\nLicense by making exceptions from one or more of its conditions.\nAdditional permissions that are applicable to the entire Program shall\nbe treated as though they were included in this License, to the extent\nthat they are valid under applicable law.  If additional permissions\napply only to part of the Program, that part may be used separately\nunder those permissions, but the entire Program remains governed by\nthis License without regard to the additional permissions.\n\n  When you convey a copy of a covered work, you may at your option\nremove any additional permissions from that copy, or from any part of\nit.  (Additional permissions may be written to require their own\nremoval in certain cases when you modify the work.)  You may place\nadditional permissions on material, added by you to a covered work,\nfor which you have or can give appropriate copyright permission.\n\n  Notwithstanding any other provision of this License, for material you\nadd to a covered work, you may (if authorized by the copyright holders of\nthat material) supplement the terms of this License with terms:\n\n    a) Disclaiming warranty or limiting liability differently from the\n    terms of sections 15 and 16 of this License; or\n\n    b) Requiring preservation of specified reasonable legal notices or\n    author attributions in that material or in the Appropriate Legal\n    Notices displayed by works containing it; or\n\n    c) Prohibiting misrepresentation of the origin of that material, or\n    requiring that modified versions of such material be marked in\n    reasonable ways as different from the original version; or\n\n    d) Limiting the use for publicity purposes of names of licensors or\n    authors of the material; or\n\n    e) Declining to grant rights under trademark law for use of some\n    trade names, trademarks, or service marks; or\n\n    f) Requiring indemnification of licensors and authors of that\n    material by anyone who conveys the material (or modified versions of\n    it) with contractual assumptions of liability to the recipient, for\n    any liability that these contractual assumptions directly impose on\n    those licensors and authors.\n\n  All other non-permissive additional terms are considered \"further\nrestrictions\" within the meaning of section 10.  If the Program as you\nreceived it, or any part of it, contains a notice stating that it is\ngoverned by this License along with a term that is a further\nrestriction, you may remove that term.  If a license document contains\na further restriction but permits relicensing or conveying under this\nLicense, you may add to a covered work material governed by the terms\nof that license document, provided that the further restriction does\nnot survive such relicensing or conveying.\n\n  If you add terms to a covered work in accord with this section, you\nmust place, in the relevant source files, a statement of the\nadditional terms that apply to those files, or a notice indicating\nwhere to find the applicable terms.\n\n  Additional terms, permissive or non-permissive, may be stated in the\nform of a separately written license, or stated as exceptions;\nthe above requirements apply either way.\n\n  8. Termination.\n\n  You may not propagate or modify a covered work except as expressly\nprovided under this License.  Any attempt otherwise to propagate or\nmodify it is void, and will automatically terminate your rights under\nthis License (including any patent licenses granted under the third\nparagraph of section 11).\n\n  However, if you cease all violation of this License, then your\nlicense from a particular copyright holder is reinstated (a)\nprovisionally, unless and until the copyright holder explicitly and\nfinally terminates your license, and (b) permanently, if the copyright\nholder fails to notify you of the violation by some reasonable means\nprior to 60 days after the cessation.\n\n  Moreover, your license from a particular copyright holder is\nreinstated permanently if the copyright holder notifies you of the\nviolation by some reasonable means, this is the first time you have\nreceived notice of violation of this License (for any work) from that\ncopyright holder, and you cure the violation prior to 30 days after\nyour receipt of the notice.\n\n  Termination of your rights under this section does not terminate the\nlicenses of parties who have received copies or rights from you under\nthis License.  If your rights have been terminated and not permanently\nreinstated, you do not qualify to receive new licenses for the same\nmaterial under section 10.\n\n  9. Acceptance Not Required for Having Copies.\n\n  You are not required to accept this License in order to receive or\nrun a copy of the Program.  Ancillary propagation of a covered work\noccurring solely as a consequence of using peer-to-peer transmission\nto receive a copy likewise does not require acceptance.  However,\nnothing other than this License grants you permission to propagate or\nmodify any covered work.  These actions infringe copyright if you do\nnot accept this License.  Therefore, by modifying or propagating a\ncovered work, you indicate your acceptance of this License to do so.\n\n  10. Automatic Licensing of Downstream Recipients.\n\n  Each time you convey a covered work, the recipient automatically\nreceives a license from the original licensors, to run, modify and\npropagate that work, subject to this License.  You are not responsible\nfor enforcing compliance by third parties with this License.\n\n  An \"entity transaction\" is a transaction transferring control of an\norganization, or substantially all assets of one, or subdividing an\norganization, or merging organizations.  If propagation of a covered\nwork results from an entity transaction, each party to that\ntransaction who receives a copy of the work also receives whatever\nlicenses to the work the party's predecessor in interest had or could\ngive under the previous paragraph, plus a right to possession of the\nCorresponding Source of the work from the predecessor in interest, if\nthe predecessor has it or can get it with reasonable efforts.\n\n  You may not impose any further restrictions on the exercise of the\nrights granted or affirmed under this License.  For example, you may\nnot impose a license fee, royalty, or other charge for exercise of\nrights granted under this License, and you may not initiate litigation\n(including a cross-claim or counterclaim in a lawsuit) alleging that\nany patent claim is infringed by making, using, selling, offering for\nsale, or importing the Program or any portion of it.\n\n  11. Patents.\n\n  A \"contributor\" is a copyright holder who authorizes use under this\nLicense of the Program or a work on which the Program is based.  The\nwork thus licensed is called the contributor's \"contributor version\".\n\n  A contributor's \"essential patent claims\" are all patent claims\nowned or controlled by the contributor, whether already acquired or\nhereafter acquired, that would be infringed by some manner, permitted\nby this License, of making, using, or selling its contributor version,\nbut do not include claims that would be infringed only as a\nconsequence of further modification of the contributor version.  For\npurposes of this definition, \"control\" includes the right to grant\npatent sublicenses in a manner consistent with the requirements of\nthis License.\n\n  Each contributor grants you a non-exclusive, worldwide, royalty-free\npatent license under the contributor's essential patent claims, to\nmake, use, sell, offer for sale, import and otherwise run, modify and\npropagate the contents of its contributor version.\n\n  In the following three paragraphs, a \"patent license\" is any express\nagreement or commitment, however denominated, not to enforce a patent\n(such as an express permission to practice a patent or covenant not to\nsue for patent infringement).  To \"grant\" such a patent license to a\nparty means to make such an agreement or commitment not to enforce a\npatent against the party.\n\n  If you convey a covered work, knowingly relying on a patent license,\nand the Corresponding Source of the work is not available for anyone\nto copy, free of charge and under the terms of this License, through a\npublicly available network server or other readily accessible means,\nthen you must either (1) cause the Corresponding Source to be so\navailable, or (2) arrange to deprive yourself of the benefit of the\npatent license for this particular work, or (3) arrange, in a manner\nconsistent with the requirements of this License, to extend the patent\nlicense to downstream recipients.  \"Knowingly relying\" means you have\nactual knowledge that, but for the patent license, your conveying the\ncovered work in a country, or your recipient's use of the covered work\nin a country, would infringe one or more identifiable patents in that\ncountry that you have reason to believe are valid.\n\n  If, pursuant to or in connection with a single transaction or\narrangement, you convey, or propagate by procuring conveyance of, a\ncovered work, and grant a patent license to some of the parties\nreceiving the covered work authorizing them to use, propagate, modify\nor convey a specific copy of the covered work, then the patent license\nyou grant is automatically extended to all recipients of the covered\nwork and works based on it.\n\n  A patent license is \"discriminatory\" if it does not include within\nthe scope of its coverage, prohibits the exercise of, or is\nconditioned on the non-exercise of one or more of the rights that are\nspecifically granted under this License.  You may not convey a covered\nwork if you are a party to an arrangement with a third party that is\nin the business of distributing software, under which you make payment\nto the third party based on the extent of your activity of conveying\nthe work, and under which the third party grants, to any of the\nparties who would receive the covered work from you, a discriminatory\npatent license (a) in connection with copies of the covered work\nconveyed by you (or copies made from those copies), or (b) primarily\nfor and in connection with specific products or compilations that\ncontain the covered work, unless you entered into that arrangement,\nor that patent license was granted, prior to 28 March 2007.\n\n  Nothing in this License shall be construed as excluding or limiting\nany implied license or other defenses to infringement that may\notherwise be available to you under applicable patent law.\n\n  12. No Surrender of Others' Freedom.\n\n  If conditions are imposed on you (whether by court order, agreement or\notherwise) that contradict the conditions of this License, they do not\nexcuse you from the conditions of this License.  If you cannot convey a\ncovered work so as to satisfy simultaneously your obligations under this\nLicense and any other pertinent obligations, then as a consequence you may\nnot convey it at all.  For example, if you agree to terms that obligate you\nto collect a royalty for further conveying from those to whom you convey\nthe Program, the only way you could satisfy both those terms and this\nLicense would be to refrain entirely from conveying the Program.\n\n  13. Remote Network Interaction; Use with the GNU General Public License.\n\n  Notwithstanding any other provision of this License, if you modify the\nProgram, your modified version must prominently offer all users\ninteracting with it remotely through a computer network (if your version\nsupports such interaction) an opportunity to receive the Corresponding\nSource of your version by providing access to the Corresponding Source\nfrom a network server at no charge, through some standard or customary\nmeans of facilitating copying of software.  This Corresponding Source\nshall include the Corresponding Source for any work covered by version 3\nof the GNU General Public License that is incorporated pursuant to the\nfollowing paragraph.\n\n  Notwithstanding any other provision of this License, you have\npermission to link or combine any covered work with a work licensed\nunder version 3 of the GNU General Public License into a single\ncombined work, and to convey the resulting work.  The terms of this\nLicense will continue to apply to the part which is the covered work,\nbut the work with which it is combined will remain governed by version\n3 of the GNU General Public License.\n\n  14. Revised Versions of this License.\n\n  The Free Software Foundation may publish revised and/or new versions of\nthe GNU Affero General Public License from time to time.  Such new versions\nwill be similar in spirit to the present version, but may differ in detail to\naddress new problems or concerns.\n\n  Each version is given a distinguishing version number.  If the\nProgram specifies that a certain numbered version of the GNU Affero General\nPublic License \"or any later version\" applies to it, you have the\noption of following the terms and conditions either of that numbered\nversion or of any later version published by the Free Software\nFoundation.  If the Program does not specify a version number of the\nGNU Affero General Public License, you may choose any version ever published\nby the Free Software Foundation.\n\n  If the Program specifies that a proxy can decide which future\nversions of the GNU Affero General Public License can be used, that proxy's\npublic statement of acceptance of a version permanently authorizes you\nto choose that version for the Program.\n\n  Later license versions may give you additional or different\npermissions.  However, no additional obligations are imposed on any\nauthor or copyright holder as a result of your choosing to follow a\nlater version.\n\n  15. Disclaimer of Warranty.\n\n  THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY\nAPPLICABLE LAW.  EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT\nHOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM \"AS IS\" WITHOUT WARRANTY\nOF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,\nTHE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\nPURPOSE.  THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM\nIS WITH YOU.  SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF\nALL NECESSARY SERVICING, REPAIR OR CORRECTION.\n\n  16. Limitation of Liability.\n\n  IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING\nWILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS\nTHE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY\nGENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE\nUSE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF\nDATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD\nPARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),\nEVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF\nSUCH DAMAGES.\n\n  17. Interpretation of Sections 15 and 16.\n\n  If the disclaimer of warranty and limitation of liability provided\nabove cannot be given local legal effect according to their terms,\nreviewing courts shall apply local law that most closely approximates\nan absolute waiver of all civil liability in connection with the\nProgram, unless a warranty or assumption of liability accompanies a\ncopy of the Program in return for a fee.\n\n                     END OF TERMS AND CONDITIONS\n\n            How to Apply These Terms to Your New Programs\n\n  If you develop a new program, and you want it to be of the greatest\npossible use to the public, the best way to achieve this is to make it\nfree software which everyone can redistribute and change under these terms.\n\n  To do so, attach the following notices to the program.  It is safest\nto attach them to the start of each source file to most effectively\nstate the exclusion of warranty; and each file should have at least\nthe \"copyright\" line and a pointer to where the full notice is found.\n\n    <one line to give the program's name and a brief idea of what it does.>\n    Copyright (C) <year>  <name of author>\n\n    This program is free software: you can redistribute it and/or modify\n    it under the terms of the GNU Affero General Public License as published by\n    the Free Software Foundation, either version 3 of the License, or\n    (at your option) any later version.\n\n    This program is distributed in the hope that it will be useful,\n    but WITHOUT ANY WARRANTY; without even the implied warranty of\n    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n    GNU Affero General Public License for more details.\n\n    You should have received a copy of the GNU Affero General Public License\n    along with this program.  If not, see <https://www.gnu.org/licenses/>.\n\nAlso add information on how to contact you by electronic and paper mail.\n\n  If your software can interact with users remotely through a computer\nnetwork, you should also make sure that it provides a way for users to\nget its source.  For example, if your program is a web application, its\ninterface could display a \"Source\" link that leads users to an archive\nof the code.  There are many ways you could offer source, and different\nsolutions will be better for different programs; see section 13 for the\nspecific requirements.\n\n  You should also get your employer (if you work as a programmer) or school,\nif any, to sign a \"copyright disclaimer\" for the program, if necessary.\nFor more information on this, and how to apply and follow the GNU AGPL, see\n<https://www.gnu.org/licenses/>.\n","dependencies":{"yup":"^0.32.11","axios":"0.27.2","blake2b":"^2.1.4","tweetnacl":"^1.0.3","wasmcurves":"0.2.1","web-worker":"^1.2.0","wasmbuilder":"^0.0.16","@vocdoni/proto":"1.15.3","tiny-invariant":"^1.3.1","readable-stream":"^4.4.2","@size-limit/file":"^8.2.4","iso-language-codes":"^1.1.0","@ethersproject/sha2":"^5.7.0","@ethersproject/bytes":"^5.7.0","@ethersproject/units":"^5.7.0","@ethersproject/wallet":"^5.7.0","@ethersproject/address":"^5.7.0","@ethersproject/strings":"^5.7.0","@ethersproject/bignumber":"^5.7.0","@ethersproject/keccak256":"^5.7.0","@ethersproject/providers":"^5.7.1","@ethersproject/signing-key":"^5.7.0","@ethersproject/abstract-signer":"^5.7.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.3.0","husky":"^8.0.2","tslib":"^2.4.0","buffer":"^6.0.3","eslint":"^8.27.0","rimraf":"^3.0.2","rollup":"^3.22.0","blakejs":"^1.2.1","esbuild":"^0.17.10","snarkjs":"vocdoni/snarkjs#v0.7.0-groth16browser","ts-jest":"^29.0.3","prettier":"^2.7.1","size-limit":"^8.1.0","typescript":"^4.8.4","@types/jest":"^29.2.2","circomlibjs":"^0.1.7","ffjavascript":"^0.2.59","blindsecp256k1":"^0.0.9","rollup-plugin-dts":"^5.1.1","@rollup/plugin-json":"^6.0.0","rollup-plugin-esbuild":"^5.0.0","eslint-config-prettier":"^8.5.0","eslint-plugin-prettier":"^4.2.1","@rollup/plugin-commonjs":"^24.0.0","@typescript-eslint/parser":"^5.42.1","@rollup/plugin-node-resolve":"^15.0.1","rollup-plugin-polyfill-node":"^0.12.0","@typescript-eslint/eslint-plugin":"^5.42.1"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.1.1_1692096561031_0.49949633028247153","host":"s3://npm-registry-packages"}},"0.2.0":{"name":"@vocdoni/sdk","version":"0.2.0","keywords":["voting","blockchain","vocdoni"],"author":{"name":"Vocdoni"},"license":"AGPL-3.0-or-later","_id":"@vocdoni/sdk@0.2.0","maintainers":[{"name":"elboletaire","email":"elboletaire@underave.net"},{"name":"emmdim","email":"manos@aragon.org"},{"name":"marcvelmer","email":"marc1987@gmail.com"},{"name":"brickpop","email":"itsbrickpop@gmail.com"},{"name":"jpainan","email":"jpainan@vocdoni.io"}],"homepage":"https://github.com/vocdoni/vocdoni-sdk#readme","bugs":{"url":"https://github.com/vocdoni/vocdoni-sdk/issues"},"dist":{"shasum":"659beff1fb1f397e3a1dedad88528985d3f34d24","tarball":"https://registry.npmjs.org/@vocdoni/sdk/-/sdk-0.2.0.tgz","fileCount":10,"integrity":"sha512-6xsomwX8PJdlGj2sFR0U2e5oBgrfla+CweVqSuny8H6RCaAKoBGKdauyGtagUNq5siHAxRj2FfTEAIStyvktFg==","signatures":[{"sig":"MEQCIDMuO8bJPbv/THnrlIsA0zK7XXlUvfJb2EEiZhpWxxrYAiAs+bSavKCh6eUhd3ZuFw35Ty1kouf6H9NXkBm2qtDtCQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":32924860},"jest":{"preset":"ts-jest","testEnvironment":"node"},"main":"dist/index.js","husky":{"hooks":{"pre-commit":"yarn lint"}},"types":"./dist/index.d.ts","module":"dist/index.mjs","engines":{"node":">=14"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./umd":{"types":"./dist/index.d.ts","default":"./dist/index.umd.js"},"./package.json":"./package.json"},"gitHead":"0f31b2a14add166e74f2ada89064fa03bf68460c","scripts":{"lint":"eslint src test --ext .js,.jsx,.ts,.tsx","size":"size-limit","test":"yarn test:unit && yarn test:api && yarn test:census3 && yarn test:integration","build":"rollup -c","clean":"rimraf node_modules dist","start":"yarn watch","watch":"yarn build --watch","lintfix":"yarn lint --fix","prepare":"yarn build","test:api":"jest test/api","ts-types":"tsc --emitDeclarationOnly --outDir dist","test:unit":"jest test/unit --verbose","test:census3":"jest test/census3","test:integration":"yarn test:integration:account && yarn test:integration:csp && yarn test:integration:election && yarn test:integration:other","test:integration:zk":"jest test/integration/zk.test.ts --forceExit --runInBand","test:integration:csp":"jest test/integration/csp.test.ts","test:integration:other":"jest test/integration/other.test.ts","test:integration:account":"jest test/integration/account.test.ts","test:integration:election":"jest test/integration/election.test.ts"},"_npmUser":{"name":"marcvelmer","email":"marc1987@gmail.com"},"prettier":{"semi":true,"printWidth":120,"singleQuote":true,"trailingComma":"es5"},"deprecated":"0.2.x is no longer supported","repository":{"url":"git+https://github.com/vocdoni/vocdoni-sdk.git","type":"git"},"size-limit":[{"path":"dist/index.js","limit":"2 MB"},{"path":"dist/index.mjs","limit":"2 MB"},{"path":"dist/index.umd.js","limit":"2 MB"}],"_npmVersion":"9.6.3","description":"⚒️An SDK for building applications on top of Vocdoni API","directories":{},"_nodeVersion":"18.12.1","dependencies":{"yup":"^0.32.11","axios":"0.27.2","blake2b":"^2.1.4","tweetnacl":"^1.0.3","wasmcurves":"0.2.1","web-worker":"^1.2.0","wasmbuilder":"^0.0.16","@vocdoni/proto":"1.15.3","tiny-invariant":"^1.3.1","readable-stream":"^4.4.2","@size-limit/file":"^8.2.4","iso-language-codes":"^1.1.0","@ethersproject/sha2":"^5.7.0","@ethersproject/bytes":"^5.7.0","@ethersproject/units":"^5.7.0","@ethersproject/wallet":"^5.7.0","@ethersproject/address":"^5.7.0","@ethersproject/strings":"^5.7.0","@ethersproject/bignumber":"^5.7.0","@ethersproject/keccak256":"^5.7.0","@ethersproject/providers":"^5.7.1","@ethersproject/signing-key":"^5.7.0","@ethersproject/abstract-signer":"^5.7.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.3.0","husky":"^8.0.2","tslib":"^2.4.0","buffer":"^6.0.3","eslint":"^8.27.0","rimraf":"^3.0.2","rollup":"^3.22.0","blakejs":"^1.2.1","esbuild":"^0.17.10","snarkjs":"github:vocdoni/snarkjs#v0.7.0-groth16browser","ts-jest":"^29.0.3","prettier":"^2.7.1","size-limit":"^8.1.0","typescript":"^4.8.4","@types/jest":"^29.2.2","circomlibjs":"^0.1.7","ffjavascript":"^0.2.59","blindsecp256k1":"^0.0.9","rollup-plugin-dts":"^5.1.1","@rollup/plugin-json":"^6.0.0","rollup-plugin-esbuild":"^5.0.0","eslint-config-prettier":"^8.5.0","eslint-plugin-prettier":"^4.2.1","@rollup/plugin-commonjs":"^24.0.0","@typescript-eslint/parser":"^5.42.1","@rollup/plugin-node-resolve":"^15.0.1","rollup-plugin-polyfill-node":"^0.12.0","@typescript-eslint/eslint-plugin":"^5.42.1"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.2.0_1693836404758_0.6843399711676825","host":"s3://npm-registry-packages"}},"0.3.0":{"name":"@vocdoni/sdk","version":"0.3.0","keywords":["voting","blockchain","vocdoni"],"author":{"name":"Vocdoni"},"license":"AGPL-3.0-or-later","_id":"@vocdoni/sdk@0.3.0","maintainers":[{"name":"elboletaire","email":"elboletaire@underave.net"},{"name":"emmdim","email":"manos@aragon.org"},{"name":"marcvelmer","email":"marc1987@gmail.com"},{"name":"brickpop","email":"itsbrickpop@gmail.com"},{"name":"jpainan","email":"jpainan@vocdoni.io"}],"dist":{"shasum":"fa02565b60ab9c76b6201a797d153005e94ca551","tarball":"https://registry.npmjs.org/@vocdoni/sdk/-/sdk-0.3.0.tgz","fileCount":13,"integrity":"sha512-70OP9dbv4MpomSpJ/os2wfgSGshkG1e0PzemDPlTTNl90OEvJaRXzISndX5E80c5eFjtEUIYiSk9W1q+xDomGg==","signatures":[{"sig":"MEUCIQDCG/8x7uT1lNrPoDQ/14Rd+Kux45IyuIcLJYDLvfy+tAIgF7xbFWWlpVCKkfd3AoJ87v2u7UkSjpJ5tt+rD32i+Ug=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":33087799},"jest":{"preset":"ts-jest","testEnvironment":"node"},"main":"dist/index.js","husky":{"hooks":{"pre-commit":"yarn lint"}},"types":"./dist/index.d.ts","module":"dist/index.mjs","engines":{"node":">=14"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./umd":{"types":"./dist/index.d.ts","default":"./dist/index.umd.js"},"./package.json":"./package.json"},"scripts":{"lint":"eslint src test --ext .js,.jsx,.ts,.tsx","size":"size-limit","test":"yarn test:unit && yarn test:api && yarn test:census3 && yarn test:service && yarn test:integration","build":"rollup -c","clean":"rimraf node_modules dist","start":"yarn watch","watch":"yarn build --watch","lintfix":"yarn lint --fix","prepare":"yarn build","test:api":"jest test/api","ts-types":"tsc --emitDeclarationOnly --outDir dist","test:unit":"jest test/unit --verbose","test:census3":"jest test/census3","test:service":"yarn test:service:census && yarn test:service:anonymous && yarn test:service:csp","test:integration":"yarn test:integration:account && yarn test:integration:csp && yarn test:integration:election && yarn test:integration:other","test:service:csp":"jest test/services/csp.test.ts","test:integration:zk":"jest test/integration/zk.test.ts --forceExit --runInBand","test:service:census":"jest test/services/census.test.ts","test:integration:csp":"jest test/integration/csp.test.ts","test:integration:other":"jest test/integration/other.test.ts","test:service:anonymous":"jest test/services/anonymous.test.ts","test:integration:account":"jest test/integration/account.test.ts","test:integration:election":"jest test/integration/election.test.ts"},"_npmUser":{"name":"emmdim","email":"manos@aragon.org"},"prettier":{"semi":true,"printWidth":120,"singleQuote":true,"trailingComma":"es5"},"deprecated":"0.3.x is no longer supported","repository":{"url":"https://github.com/vocdoni/vocdoni-sdk.git","type":"git"},"size-limit":[{"path":"dist/index.js","limit":"2 MB"},{"path":"dist/index.mjs","limit":"2 MB"},{"path":"dist/index.umd.js","limit":"2 MB"}],"description":"⚒️An SDK for building applications on top of Vocdoni API","directories":{},"licenseText":"                    GNU AFFERO GENERAL PUBLIC LICENSE\n                       Version 3, 19 November 2007\n\n Copyright (C) 2020 Vocdoni Roots MTU, <https://vocdoni.io>\n Everyone is permitted to copy and distribute verbatim copies\n of this license document, but changing it is not allowed.\n\n                            Preamble\n\n  The GNU Affero General Public License is a free, copyleft license for\nsoftware and other kinds of works, specifically designed to ensure\ncooperation with the community in the case of network server software.\n\n  The licenses for most software and other practical works are designed\nto take away your freedom to share and change the works.  By contrast,\nour General Public Licenses are intended to guarantee your freedom to\nshare and change all versions of a program--to make sure it remains free\nsoftware for all its users.\n\n  When we speak of free software, we are referring to freedom, not\nprice.  Our General Public Licenses are designed to make sure that you\nhave the freedom to distribute copies of free software (and charge for\nthem if you wish), that you receive source code or can get it if you\nwant it, that you can change the software or use pieces of it in new\nfree programs, and that you know you can do these things.\n\n  Developers that use our General Public Licenses protect your rights\nwith two steps: (1) assert copyright on the software, and (2) offer\nyou this License which gives you legal permission to copy, distribute\nand/or modify the software.\n\n  A secondary benefit of defending all users' freedom is that\nimprovements made in alternate versions of the program, if they\nreceive widespread use, become available for other developers to\nincorporate.  Many developers of free software are heartened and\nencouraged by the resulting cooperation.  However, in the case of\nsoftware used on network servers, this result may fail to come about.\nThe GNU General Public License permits making a modified version and\nletting the public access it on a server without ever releasing its\nsource code to the public.\n\n  The GNU Affero General Public License is designed specifically to\nensure that, in such cases, the modified source code becomes available\nto the community.  It requires the operator of a network server to\nprovide the source code of the modified version running there to the\nusers of that server.  Therefore, public use of a modified version, on\na publicly accessible server, gives the public access to the source\ncode of the modified version.\n\n  An older license, called the Affero General Public License and\npublished by Affero, was designed to accomplish similar goals.  This is\na different license, not a version of the Affero GPL, but Affero has\nreleased a new version of the Affero GPL which permits relicensing under\nthis license.\n\n  The precise terms and conditions for copying, distribution and\nmodification follow.\n\n                       TERMS AND CONDITIONS\n\n  0. Definitions.\n\n  \"This License\" refers to version 3 of the GNU Affero General Public License.\n\n  \"Copyright\" also means copyright-like laws that apply to other kinds of\nworks, such as semiconductor masks.\n\n  \"The Program\" refers to any copyrightable work licensed under this\nLicense.  Each licensee is addressed as \"you\".  \"Licensees\" and\n\"recipients\" may be individuals or organizations.\n\n  To \"modify\" a work means to copy from or adapt all or part of the work\nin a fashion requiring copyright permission, other than the making of an\nexact copy.  The resulting work is called a \"modified version\" of the\nearlier work or a work \"based on\" the earlier work.\n\n  A \"covered work\" means either the unmodified Program or a work based\non the Program.\n\n  To \"propagate\" a work means to do anything with it that, without\npermission, would make you directly or secondarily liable for\ninfringement under applicable copyright law, except executing it on a\ncomputer or modifying a private copy.  Propagation includes copying,\ndistribution (with or without modification), making available to the\npublic, and in some countries other activities as well.\n\n  To \"convey\" a work means any kind of propagation that enables other\nparties to make or receive copies.  Mere interaction with a user through\na computer network, with no transfer of a copy, is not conveying.\n\n  An interactive user interface displays \"Appropriate Legal Notices\"\nto the extent that it includes a convenient and prominently visible\nfeature that (1) displays an appropriate copyright notice, and (2)\ntells the user that there is no warranty for the work (except to the\nextent that warranties are provided), that licensees may convey the\nwork under this License, and how to view a copy of this License.  If\nthe interface presents a list of user commands or options, such as a\nmenu, a prominent item in the list meets this criterion.\n\n  1. Source Code.\n\n  The \"source code\" for a work means the preferred form of the work\nfor making modifications to it.  \"Object code\" means any non-source\nform of a work.\n\n  A \"Standard Interface\" means an interface that either is an official\nstandard defined by a recognized standards body, or, in the case of\ninterfaces specified for a particular programming language, one that\nis widely used among developers working in that language.\n\n  The \"System Libraries\" of an executable work include anything, other\nthan the work as a whole, that (a) is included in the normal form of\npackaging a Major Component, but which is not part of that Major\nComponent, and (b) serves only to enable use of the work with that\nMajor Component, or to implement a Standard Interface for which an\nimplementation is available to the public in source code form.  A\n\"Major Component\", in this context, means a major essential component\n(kernel, window system, and so on) of the specific operating system\n(if any) on which the executable work runs, or a compiler used to\nproduce the work, or an object code interpreter used to run it.\n\n  The \"Corresponding Source\" for a work in object code form means all\nthe source code needed to generate, install, and (for an executable\nwork) run the object code and to modify the work, including scripts to\ncontrol those activities.  However, it does not include the work's\nSystem Libraries, or general-purpose tools or generally available free\nprograms which are used unmodified in performing those activities but\nwhich are not part of the work.  For example, Corresponding Source\nincludes interface definition files associated with source files for\nthe work, and the source code for shared libraries and dynamically\nlinked subprograms that the work is specifically designed to require,\nsuch as by intimate data communication or control flow between those\nsubprograms and other parts of the work.\n\n  The Corresponding Source need not include anything that users\ncan regenerate automatically from other parts of the Corresponding\nSource.\n\n  The Corresponding Source for a work in source code form is that\nsame work.\n\n  2. Basic Permissions.\n\n  All rights granted under this License are granted for the term of\ncopyright on the Program, and are irrevocable provided the stated\nconditions are met.  This License explicitly affirms your unlimited\npermission to run the unmodified Program.  The output from running a\ncovered work is covered by this License only if the output, given its\ncontent, constitutes a covered work.  This License acknowledges your\nrights of fair use or other equivalent, as provided by copyright law.\n\n  You may make, run and propagate covered works that you do not\nconvey, without conditions so long as your license otherwise remains\nin force.  You may convey covered works to others for the sole purpose\nof having them make modifications exclusively for you, or provide you\nwith facilities for running those works, provided that you comply with\nthe terms of this License in conveying all material for which you do\nnot control copyright.  Those thus making or running the covered works\nfor you must do so exclusively on your behalf, under your direction\nand control, on terms that prohibit them from making any copies of\nyour copyrighted material outside their relationship with you.\n\n  Conveying under any other circumstances is permitted solely under\nthe conditions stated below.  Sublicensing is not allowed; section 10\nmakes it unnecessary.\n\n  3. Protecting Users' Legal Rights From Anti-Circumvention Law.\n\n  No covered work shall be deemed part of an effective technological\nmeasure under any applicable law fulfilling obligations under article\n11 of the WIPO copyright treaty adopted on 20 December 1996, or\nsimilar laws prohibiting or restricting circumvention of such\nmeasures.\n\n  When you convey a covered work, you waive any legal power to forbid\ncircumvention of technological measures to the extent such circumvention\nis effected by exercising rights under this License with respect to\nthe covered work, and you disclaim any intention to limit operation or\nmodification of the work as a means of enforcing, against the work's\nusers, your or third parties' legal rights to forbid circumvention of\ntechnological measures.\n\n  4. Conveying Verbatim Copies.\n\n  You may convey verbatim copies of the Program's source code as you\nreceive it, in any medium, provided that you conspicuously and\nappropriately publish on each copy an appropriate copyright notice;\nkeep intact all notices stating that this License and any\nnon-permissive terms added in accord with section 7 apply to the code;\nkeep intact all notices of the absence of any warranty; and give all\nrecipients a copy of this License along with the Program.\n\n  You may charge any price or no price for each copy that you convey,\nand you may offer support or warranty protection for a fee.\n\n  5. Conveying Modified Source Versions.\n\n  You may convey a work based on the Program, or the modifications to\nproduce it from the Program, in the form of source code under the\nterms of section 4, provided that you also meet all of these conditions:\n\n    a) The work must carry prominent notices stating that you modified\n    it, and giving a relevant date.\n\n    b) The work must carry prominent notices stating that it is\n    released under this License and any conditions added under section\n    7.  This requirement modifies the requirement in section 4 to\n    \"keep intact all notices\".\n\n    c) You must license the entire work, as a whole, under this\n    License to anyone who comes into possession of a copy.  This\n    License will therefore apply, along with any applicable section 7\n    additional terms, to the whole of the work, and all its parts,\n    regardless of how they are packaged.  This License gives no\n    permission to license the work in any other way, but it does not\n    invalidate such permission if you have separately received it.\n\n    d) If the work has interactive user interfaces, each must display\n    Appropriate Legal Notices; however, if the Program has interactive\n    interfaces that do not display Appropriate Legal Notices, your\n    work need not make them do so.\n\n  A compilation of a covered work with other separate and independent\nworks, which are not by their nature extensions of the covered work,\nand which are not combined with it such as to form a larger program,\nin or on a volume of a storage or distribution medium, is called an\n\"aggregate\" if the compilation and its resulting copyright are not\nused to limit the access or legal rights of the compilation's users\nbeyond what the individual works permit.  Inclusion of a covered work\nin an aggregate does not cause this License to apply to the other\nparts of the aggregate.\n\n  6. Conveying Non-Source Forms.\n\n  You may convey a covered work in object code form under the terms\nof sections 4 and 5, provided that you also convey the\nmachine-readable Corresponding Source under the terms of this License,\nin one of these ways:\n\n    a) Convey the object code in, or embodied in, a physical product\n    (including a physical distribution medium), accompanied by the\n    Corresponding Source fixed on a durable physical medium\n    customarily used for software interchange.\n\n    b) Convey the object code in, or embodied in, a physical product\n    (including a physical distribution medium), accompanied by a\n    written offer, valid for at least three years and valid for as\n    long as you offer spare parts or customer support for that product\n    model, to give anyone who possesses the object code either (1) a\n    copy of the Corresponding Source for all the software in the\n    product that is covered by this License, on a durable physical\n    medium customarily used for software interchange, for a price no\n    more than your reasonable cost of physically performing this\n    conveying of source, or (2) access to copy the\n    Corresponding Source from a network server at no charge.\n\n    c) Convey individual copies of the object code with a copy of the\n    written offer to provide the Corresponding Source.  This\n    alternative is allowed only occasionally and noncommercially, and\n    only if you received the object code with such an offer, in accord\n    with subsection 6b.\n\n    d) Convey the object code by offering access from a designated\n    place (gratis or for a charge), and offer equivalent access to the\n    Corresponding Source in the same way through the same place at no\n    further charge.  You need not require recipients to copy the\n    Corresponding Source along with the object code.  If the place to\n    copy the object code is a network server, the Corresponding Source\n    may be on a different server (operated by you or a third party)\n    that supports equivalent copying facilities, provided you maintain\n    clear directions next to the object code saying where to find the\n    Corresponding Source.  Regardless of what server hosts the\n    Corresponding Source, you remain obligated to ensure that it is\n    available for as long as needed to satisfy these requirements.\n\n    e) Convey the object code using peer-to-peer transmission, provided\n    you inform other peers where the object code and Corresponding\n    Source of the work are being offered to the general public at no\n    charge under subsection 6d.\n\n  A separable portion of the object code, whose source code is excluded\nfrom the Corresponding Source as a System Library, need not be\nincluded in conveying the object code work.\n\n  A \"User Product\" is either (1) a \"consumer product\", which means any\ntangible personal property which is normally used for personal, family,\nor household purposes, or (2) anything designed or sold for incorporation\ninto a dwelling.  In determining whether a product is a consumer product,\ndoubtful cases shall be resolved in favor of coverage.  For a particular\nproduct received by a particular user, \"normally used\" refers to a\ntypical or common use of that class of product, regardless of the status\nof the particular user or of the way in which the particular user\nactually uses, or expects or is expected to use, the product.  A product\nis a consumer product regardless of whether the product has substantial\ncommercial, industrial or non-consumer uses, unless such uses represent\nthe only significant mode of use of the product.\n\n  \"Installation Information\" for a User Product means any methods,\nprocedures, authorization keys, or other information required to install\nand execute modified versions of a covered work in that User Product from\na modified version of its Corresponding Source.  The information must\nsuffice to ensure that the continued functioning of the modified object\ncode is in no case prevented or interfered with solely because\nmodification has been made.\n\n  If you convey an object code work under this section in, or with, or\nspecifically for use in, a User Product, and the conveying occurs as\npart of a transaction in which the right of possession and use of the\nUser Product is transferred to the recipient in perpetuity or for a\nfixed term (regardless of how the transaction is characterized), the\nCorresponding Source conveyed under this section must be accompanied\nby the Installation Information.  But this requirement does not apply\nif neither you nor any third party retains the ability to install\nmodified object code on the User Product (for example, the work has\nbeen installed in ROM).\n\n  The requirement to provide Installation Information does not include a\nrequirement to continue to provide support service, warranty, or updates\nfor a work that has been modified or installed by the recipient, or for\nthe User Product in which it has been modified or installed.  Access to a\nnetwork may be denied when the modification itself materially and\nadversely affects the operation of the network or violates the rules and\nprotocols for communication across the network.\n\n  Corresponding Source conveyed, and Installation Information provided,\nin accord with this section must be in a format that is publicly\ndocumented (and with an implementation available to the public in\nsource code form), and must require no special password or key for\nunpacking, reading or copying.\n\n  7. Additional Terms.\n\n  \"Additional permissions\" are terms that supplement the terms of this\nLicense by making exceptions from one or more of its conditions.\nAdditional permissions that are applicable to the entire Program shall\nbe treated as though they were included in this License, to the extent\nthat they are valid under applicable law.  If additional permissions\napply only to part of the Program, that part may be used separately\nunder those permissions, but the entire Program remains governed by\nthis License without regard to the additional permissions.\n\n  When you convey a copy of a covered work, you may at your option\nremove any additional permissions from that copy, or from any part of\nit.  (Additional permissions may be written to require their own\nremoval in certain cases when you modify the work.)  You may place\nadditional permissions on material, added by you to a covered work,\nfor which you have or can give appropriate copyright permission.\n\n  Notwithstanding any other provision of this License, for material you\nadd to a covered work, you may (if authorized by the copyright holders of\nthat material) supplement the terms of this License with terms:\n\n    a) Disclaiming warranty or limiting liability differently from the\n    terms of sections 15 and 16 of this License; or\n\n    b) Requiring preservation of specified reasonable legal notices or\n    author attributions in that material or in the Appropriate Legal\n    Notices displayed by works containing it; or\n\n    c) Prohibiting misrepresentation of the origin of that material, or\n    requiring that modified versions of such material be marked in\n    reasonable ways as different from the original version; or\n\n    d) Limiting the use for publicity purposes of names of licensors or\n    authors of the material; or\n\n    e) Declining to grant rights under trademark law for use of some\n    trade names, trademarks, or service marks; or\n\n    f) Requiring indemnification of licensors and authors of that\n    material by anyone who conveys the material (or modified versions of\n    it) with contractual assumptions of liability to the recipient, for\n    any liability that these contractual assumptions directly impose on\n    those licensors and authors.\n\n  All other non-permissive additional terms are considered \"further\nrestrictions\" within the meaning of section 10.  If the Program as you\nreceived it, or any part of it, contains a notice stating that it is\ngoverned by this License along with a term that is a further\nrestriction, you may remove that term.  If a license document contains\na further restriction but permits relicensing or conveying under this\nLicense, you may add to a covered work material governed by the terms\nof that license document, provided that the further restriction does\nnot survive such relicensing or conveying.\n\n  If you add terms to a covered work in accord with this section, you\nmust place, in the relevant source files, a statement of the\nadditional terms that apply to those files, or a notice indicating\nwhere to find the applicable terms.\n\n  Additional terms, permissive or non-permissive, may be stated in the\nform of a separately written license, or stated as exceptions;\nthe above requirements apply either way.\n\n  8. Termination.\n\n  You may not propagate or modify a covered work except as expressly\nprovided under this License.  Any attempt otherwise to propagate or\nmodify it is void, and will automatically terminate your rights under\nthis License (including any patent licenses granted under the third\nparagraph of section 11).\n\n  However, if you cease all violation of this License, then your\nlicense from a particular copyright holder is reinstated (a)\nprovisionally, unless and until the copyright holder explicitly and\nfinally terminates your license, and (b) permanently, if the copyright\nholder fails to notify you of the violation by some reasonable means\nprior to 60 days after the cessation.\n\n  Moreover, your license from a particular copyright holder is\nreinstated permanently if the copyright holder notifies you of the\nviolation by some reasonable means, this is the first time you have\nreceived notice of violation of this License (for any work) from that\ncopyright holder, and you cure the violation prior to 30 days after\nyour receipt of the notice.\n\n  Termination of your rights under this section does not terminate the\nlicenses of parties who have received copies or rights from you under\nthis License.  If your rights have been terminated and not permanently\nreinstated, you do not qualify to receive new licenses for the same\nmaterial under section 10.\n\n  9. Acceptance Not Required for Having Copies.\n\n  You are not required to accept this License in order to receive or\nrun a copy of the Program.  Ancillary propagation of a covered work\noccurring solely as a consequence of using peer-to-peer transmission\nto receive a copy likewise does not require acceptance.  However,\nnothing other than this License grants you permission to propagate or\nmodify any covered work.  These actions infringe copyright if you do\nnot accept this License.  Therefore, by modifying or propagating a\ncovered work, you indicate your acceptance of this License to do so.\n\n  10. Automatic Licensing of Downstream Recipients.\n\n  Each time you convey a covered work, the recipient automatically\nreceives a license from the original licensors, to run, modify and\npropagate that work, subject to this License.  You are not responsible\nfor enforcing compliance by third parties with this License.\n\n  An \"entity transaction\" is a transaction transferring control of an\norganization, or substantially all assets of one, or subdividing an\norganization, or merging organizations.  If propagation of a covered\nwork results from an entity transaction, each party to that\ntransaction who receives a copy of the work also receives whatever\nlicenses to the work the party's predecessor in interest had or could\ngive under the previous paragraph, plus a right to possession of the\nCorresponding Source of the work from the predecessor in interest, if\nthe predecessor has it or can get it with reasonable efforts.\n\n  You may not impose any further restrictions on the exercise of the\nrights granted or affirmed under this License.  For example, you may\nnot impose a license fee, royalty, or other charge for exercise of\nrights granted under this License, and you may not initiate litigation\n(including a cross-claim or counterclaim in a lawsuit) alleging that\nany patent claim is infringed by making, using, selling, offering for\nsale, or importing the Program or any portion of it.\n\n  11. Patents.\n\n  A \"contributor\" is a copyright holder who authorizes use under this\nLicense of the Program or a work on which the Program is based.  The\nwork thus licensed is called the contributor's \"contributor version\".\n\n  A contributor's \"essential patent claims\" are all patent claims\nowned or controlled by the contributor, whether already acquired or\nhereafter acquired, that would be infringed by some manner, permitted\nby this License, of making, using, or selling its contributor version,\nbut do not include claims that would be infringed only as a\nconsequence of further modification of the contributor version.  For\npurposes of this definition, \"control\" includes the right to grant\npatent sublicenses in a manner consistent with the requirements of\nthis License.\n\n  Each contributor grants you a non-exclusive, worldwide, royalty-free\npatent license under the contributor's essential patent claims, to\nmake, use, sell, offer for sale, import and otherwise run, modify and\npropagate the contents of its contributor version.\n\n  In the following three paragraphs, a \"patent license\" is any express\nagreement or commitment, however denominated, not to enforce a patent\n(such as an express permission to practice a patent or covenant not to\nsue for patent infringement).  To \"grant\" such a patent license to a\nparty means to make such an agreement or commitment not to enforce a\npatent against the party.\n\n  If you convey a covered work, knowingly relying on a patent license,\nand the Corresponding Source of the work is not available for anyone\nto copy, free of charge and under the terms of this License, through a\npublicly available network server or other readily accessible means,\nthen you must either (1) cause the Corresponding Source to be so\navailable, or (2) arrange to deprive yourself of the benefit of the\npatent license for this particular work, or (3) arrange, in a manner\nconsistent with the requirements of this License, to extend the patent\nlicense to downstream recipients.  \"Knowingly relying\" means you have\nactual knowledge that, but for the patent license, your conveying the\ncovered work in a country, or your recipient's use of the covered work\nin a country, would infringe one or more identifiable patents in that\ncountry that you have reason to believe are valid.\n\n  If, pursuant to or in connection with a single transaction or\narrangement, you convey, or propagate by procuring conveyance of, a\ncovered work, and grant a patent license to some of the parties\nreceiving the covered work authorizing them to use, propagate, modify\nor convey a specific copy of the covered work, then the patent license\nyou grant is automatically extended to all recipients of the covered\nwork and works based on it.\n\n  A patent license is \"discriminatory\" if it does not include within\nthe scope of its coverage, prohibits the exercise of, or is\nconditioned on the non-exercise of one or more of the rights that are\nspecifically granted under this License.  You may not convey a covered\nwork if you are a party to an arrangement with a third party that is\nin the business of distributing software, under which you make payment\nto the third party based on the extent of your activity of conveying\nthe work, and under which the third party grants, to any of the\nparties who would receive the covered work from you, a discriminatory\npatent license (a) in connection with copies of the covered work\nconveyed by you (or copies made from those copies), or (b) primarily\nfor and in connection with specific products or compilations that\ncontain the covered work, unless you entered into that arrangement,\nor that patent license was granted, prior to 28 March 2007.\n\n  Nothing in this License shall be construed as excluding or limiting\nany implied license or other defenses to infringement that may\notherwise be available to you under applicable patent law.\n\n  12. No Surrender of Others' Freedom.\n\n  If conditions are imposed on you (whether by court order, agreement or\notherwise) that contradict the conditions of this License, they do not\nexcuse you from the conditions of this License.  If you cannot convey a\ncovered work so as to satisfy simultaneously your obligations under this\nLicense and any other pertinent obligations, then as a consequence you may\nnot convey it at all.  For example, if you agree to terms that obligate you\nto collect a royalty for further conveying from those to whom you convey\nthe Program, the only way you could satisfy both those terms and this\nLicense would be to refrain entirely from conveying the Program.\n\n  13. Remote Network Interaction; Use with the GNU General Public License.\n\n  Notwithstanding any other provision of this License, if you modify the\nProgram, your modified version must prominently offer all users\ninteracting with it remotely through a computer network (if your version\nsupports such interaction) an opportunity to receive the Corresponding\nSource of your version by providing access to the Corresponding Source\nfrom a network server at no charge, through some standard or customary\nmeans of facilitating copying of software.  This Corresponding Source\nshall include the Corresponding Source for any work covered by version 3\nof the GNU General Public License that is incorporated pursuant to the\nfollowing paragraph.\n\n  Notwithstanding any other provision of this License, you have\npermission to link or combine any covered work with a work licensed\nunder version 3 of the GNU General Public License into a single\ncombined work, and to convey the resulting work.  The terms of this\nLicense will continue to apply to the part which is the covered work,\nbut the work with which it is combined will remain governed by version\n3 of the GNU General Public License.\n\n  14. Revised Versions of this License.\n\n  The Free Software Foundation may publish revised and/or new versions of\nthe GNU Affero General Public License from time to time.  Such new versions\nwill be similar in spirit to the present version, but may differ in detail to\naddress new problems or concerns.\n\n  Each version is given a distinguishing version number.  If the\nProgram specifies that a certain numbered version of the GNU Affero General\nPublic License \"or any later version\" applies to it, you have the\noption of following the terms and conditions either of that numbered\nversion or of any later version published by the Free Software\nFoundation.  If the Program does not specify a version number of the\nGNU Affero General Public License, you may choose any version ever published\nby the Free Software Foundation.\n\n  If the Program specifies that a proxy can decide which future\nversions of the GNU Affero General Public License can be used, that proxy's\npublic statement of acceptance of a version permanently authorizes you\nto choose that version for the Program.\n\n  Later license versions may give you additional or different\npermissions.  However, no additional obligations are imposed on any\nauthor or copyright holder as a result of your choosing to follow a\nlater version.\n\n  15. Disclaimer of Warranty.\n\n  THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY\nAPPLICABLE LAW.  EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT\nHOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM \"AS IS\" WITHOUT WARRANTY\nOF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,\nTHE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\nPURPOSE.  THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM\nIS WITH YOU.  SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF\nALL NECESSARY SERVICING, REPAIR OR CORRECTION.\n\n  16. Limitation of Liability.\n\n  IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING\nWILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS\nTHE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY\nGENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE\nUSE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF\nDATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD\nPARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),\nEVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF\nSUCH DAMAGES.\n\n  17. Interpretation of Sections 15 and 16.\n\n  If the disclaimer of warranty and limitation of liability provided\nabove cannot be given local legal effect according to their terms,\nreviewing courts shall apply local law that most closely approximates\nan absolute waiver of all civil liability in connection with the\nProgram, unless a warranty or assumption of liability accompanies a\ncopy of the Program in return for a fee.\n\n                     END OF TERMS AND CONDITIONS\n\n            How to Apply These Terms to Your New Programs\n\n  If you develop a new program, and you want it to be of the greatest\npossible use to the public, the best way to achieve this is to make it\nfree software which everyone can redistribute and change under these terms.\n\n  To do so, attach the following notices to the program.  It is safest\nto attach them to the start of each source file to most effectively\nstate the exclusion of warranty; and each file should have at least\nthe \"copyright\" line and a pointer to where the full notice is found.\n\n    <one line to give the program's name and a brief idea of what it does.>\n    Copyright (C) <year>  <name of author>\n\n    This program is free software: you can redistribute it and/or modify\n    it under the terms of the GNU Affero General Public License as published by\n    the Free Software Foundation, either version 3 of the License, or\n    (at your option) any later version.\n\n    This program is distributed in the hope that it will be useful,\n    but WITHOUT ANY WARRANTY; without even the implied warranty of\n    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n    GNU Affero General Public License for more details.\n\n    You should have received a copy of the GNU Affero General Public License\n    along with this program.  If not, see <https://www.gnu.org/licenses/>.\n\nAlso add information on how to contact you by electronic and paper mail.\n\n  If your software can interact with users remotely through a computer\nnetwork, you should also make sure that it provides a way for users to\nget its source.  For example, if your program is a web application, its\ninterface could display a \"Source\" link that leads users to an archive\nof the code.  There are many ways you could offer source, and different\nsolutions will be better for different programs; see section 13 for the\nspecific requirements.\n\n  You should also get your employer (if you work as a programmer) or school,\nif any, to sign a \"copyright disclaimer\" for the program, if necessary.\nFor more information on this, and how to apply and follow the GNU AGPL, see\n<https://www.gnu.org/licenses/>.\n","dependencies":{"yup":"^0.32.11","axios":"0.27.2","blake2b":"^2.1.4","tweetnacl":"^1.0.3","wasmcurves":"0.2.1","web-worker":"^1.2.0","wasmbuilder":"^0.0.16","@vocdoni/proto":"1.15.3","tiny-invariant":"^1.3.1","readable-stream":"^4.4.2","@size-limit/file":"^8.2.4","iso-language-codes":"^1.1.0","@ethersproject/sha2":"^5.7.0","@ethersproject/bytes":"^5.7.0","@ethersproject/units":"^5.7.0","@ethersproject/wallet":"^5.7.0","@ethersproject/address":"^5.7.0","@ethersproject/strings":"^5.7.0","@ethersproject/bignumber":"^5.7.0","@ethersproject/keccak256":"^5.7.0","@ethersproject/providers":"^5.7.1","@ethersproject/signing-key":"^5.7.0","@ethersproject/abstract-signer":"^5.7.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.3.0","husky":"^8.0.2","tslib":"^2.4.0","buffer":"^6.0.3","eslint":"^8.27.0","rimraf":"^3.0.2","rollup":"^3.22.0","blakejs":"^1.2.1","esbuild":"^0.17.10","snarkjs":"vocdoni/snarkjs#v0.7.0-groth16browser","ts-jest":"^29.0.3","prettier":"^2.7.1","size-limit":"^8.1.0","typescript":"^4.8.4","@types/jest":"^29.2.2","circomlibjs":"^0.1.7","ffjavascript":"^0.2.59","blindsecp256k1":"^0.0.9","rollup-plugin-dts":"^5.1.1","@rollup/plugin-json":"^6.0.0","rollup-plugin-esbuild":"^5.0.0","eslint-config-prettier":"^8.5.0","eslint-plugin-prettier":"^4.2.1","@rollup/plugin-commonjs":"^24.0.0","@typescript-eslint/parser":"^5.42.1","@rollup/plugin-node-resolve":"^15.0.1","rollup-plugin-polyfill-node":"^0.12.0","@typescript-eslint/eslint-plugin":"^5.42.1"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.3.0_1694623401196_0.5848529547571835","host":"s3://npm-registry-packages"}},"0.3.1":{"name":"@vocdoni/sdk","version":"0.3.1","keywords":["voting","blockchain","vocdoni"],"author":{"name":"Vocdoni"},"license":"AGPL-3.0-or-later","_id":"@vocdoni/sdk@0.3.1","maintainers":[{"name":"elboletaire","email":"elboletaire@underave.net"},{"name":"emmdim","email":"manos@aragon.org"},{"name":"marcvelmer","email":"marc1987@gmail.com"},{"name":"brickpop","email":"itsbrickpop@gmail.com"},{"name":"jpainan","email":"jpainan@vocdoni.io"}],"dist":{"shasum":"94f137d6bc554c990123c70e2833b5ebd47be2f9","tarball":"https://registry.npmjs.org/@vocdoni/sdk/-/sdk-0.3.1.tgz","fileCount":13,"integrity":"sha512-CAZ1d9wqjoeubSN0GTHTbsXLZTFeInrsNpYPHVczVxxqjnlccQnsfyWQqSfu4kQOSCd91in/ywNS3BuuWEob+w==","signatures":[{"sig":"MEUCIDOelRGMRwNgyLa1UrvRK7fZ8UvcTJldtZ/sSzMrqn+AAiEAkoNgSn6vGuM0MqxFU7011DmVCFR/+j3s3K1gN4QOjeM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":33119331},"jest":{"preset":"ts-jest","testEnvironment":"node"},"main":"dist/index.js","husky":{"hooks":{"pre-commit":"yarn lint"}},"types":"./dist/index.d.ts","module":"dist/index.mjs","engines":{"node":">=14"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./umd":{"types":"./dist/index.d.ts","default":"./dist/index.umd.js"},"./package.json":"./package.json"},"scripts":{"lint":"eslint src test --ext .js,.jsx,.ts,.tsx","size":"size-limit","test":"yarn test:unit && yarn test:api && yarn test:census3 && yarn test:service && yarn test:integration","build":"rollup -c","clean":"rimraf node_modules dist","start":"yarn watch","watch":"yarn build --watch","lintfix":"yarn lint --fix","prepare":"yarn build","test:api":"jest test/api","ts-types":"tsc --emitDeclarationOnly --outDir dist","test:unit":"jest test/unit --verbose","test:census3":"jest test/census3","test:service":"yarn test:service:census && yarn test:service:anonymous && yarn test:service:csp","test:integration":"yarn test:integration:account && yarn test:integration:csp && yarn test:integration:election && yarn test:integration:other","test:service:csp":"jest test/services/csp.test.ts","test:integration:zk":"jest test/integration/zk.test.ts --forceExit --runInBand","test:service:census":"jest test/services/census.test.ts","test:integration:csp":"jest test/integration/csp.test.ts","test:integration:other":"jest test/integration/other.test.ts","test:service:anonymous":"jest test/services/anonymous.test.ts","test:integration:account":"jest test/integration/account.test.ts","test:integration:election":"jest test/integration/election.test.ts"},"_npmUser":{"name":"emmdim","email":"manos@aragon.org"},"prettier":{"semi":true,"printWidth":120,"singleQuote":true,"trailingComma":"es5"},"deprecated":"0.3.x is no longer supported","repository":{"url":"https://github.com/vocdoni/vocdoni-sdk.git","type":"git"},"size-limit":[{"path":"dist/index.js","limit":"2 MB"},{"path":"dist/index.mjs","limit":"2 MB"},{"path":"dist/index.umd.js","limit":"2 MB"}],"description":"⚒️An SDK for building applications on top of Vocdoni API","directories":{},"licenseText":"                    GNU AFFERO GENERAL PUBLIC LICENSE\n                       Version 3, 19 November 2007\n\n Copyright (C) 2020 Vocdoni Roots MTU, <https://vocdoni.io>\n Everyone is permitted to copy and distribute verbatim copies\n of this license document, but changing it is not allowed.\n\n                            Preamble\n\n  The GNU Affero General Public License is a free, copyleft license for\nsoftware and other kinds of works, specifically designed to ensure\ncooperation with the community in the case of network server software.\n\n  The licenses for most software and other practical works are designed\nto take away your freedom to share and change the works.  By contrast,\nour General Public Licenses are intended to guarantee your freedom to\nshare and change all versions of a program--to make sure it remains free\nsoftware for all its users.\n\n  When we speak of free software, we are referring to freedom, not\nprice.  Our General Public Licenses are designed to make sure that you\nhave the freedom to distribute copies of free software (and charge for\nthem if you wish), that you receive source code or can get it if you\nwant it, that you can change the software or use pieces of it in new\nfree programs, and that you know you can do these things.\n\n  Developers that use our General Public Licenses protect your rights\nwith two steps: (1) assert copyright on the software, and (2) offer\nyou this License which gives you legal permission to copy, distribute\nand/or modify the software.\n\n  A secondary benefit of defending all users' freedom is that\nimprovements made in alternate versions of the program, if they\nreceive widespread use, become available for other developers to\nincorporate.  Many developers of free software are heartened and\nencouraged by the resulting cooperation.  However, in the case of\nsoftware used on network servers, this result may fail to come about.\nThe GNU General Public License permits making a modified version and\nletting the public access it on a server without ever releasing its\nsource code to the public.\n\n  The GNU Affero General Public License is designed specifically to\nensure that, in such cases, the modified source code becomes available\nto the community.  It requires the operator of a network server to\nprovide the source code of the modified version running there to the\nusers of that server.  Therefore, public use of a modified version, on\na publicly accessible server, gives the public access to the source\ncode of the modified version.\n\n  An older license, called the Affero General Public License and\npublished by Affero, was designed to accomplish similar goals.  This is\na different license, not a version of the Affero GPL, but Affero has\nreleased a new version of the Affero GPL which permits relicensing under\nthis license.\n\n  The precise terms and conditions for copying, distribution and\nmodification follow.\n\n                       TERMS AND CONDITIONS\n\n  0. Definitions.\n\n  \"This License\" refers to version 3 of the GNU Affero General Public License.\n\n  \"Copyright\" also means copyright-like laws that apply to other kinds of\nworks, such as semiconductor masks.\n\n  \"The Program\" refers to any copyrightable work licensed under this\nLicense.  Each licensee is addressed as \"you\".  \"Licensees\" and\n\"recipients\" may be individuals or organizations.\n\n  To \"modify\" a work means to copy from or adapt all or part of the work\nin a fashion requiring copyright permission, other than the making of an\nexact copy.  The resulting work is called a \"modified version\" of the\nearlier work or a work \"based on\" the earlier work.\n\n  A \"covered work\" means either the unmodified Program or a work based\non the Program.\n\n  To \"propagate\" a work means to do anything with it that, without\npermission, would make you directly or secondarily liable for\ninfringement under applicable copyright law, except executing it on a\ncomputer or modifying a private copy.  Propagation includes copying,\ndistribution (with or without modification), making available to the\npublic, and in some countries other activities as well.\n\n  To \"convey\" a work means any kind of propagation that enables other\nparties to make or receive copies.  Mere interaction with a user through\na computer network, with no transfer of a copy, is not conveying.\n\n  An interactive user interface displays \"Appropriate Legal Notices\"\nto the extent that it includes a convenient and prominently visible\nfeature that (1) displays an appropriate copyright notice, and (2)\ntells the user that there is no warranty for the work (except to the\nextent that warranties are provided), that licensees may convey the\nwork under this License, and how to view a copy of this License.  If\nthe interface presents a list of user commands or options, such as a\nmenu, a prominent item in the list meets this criterion.\n\n  1. Source Code.\n\n  The \"source code\" for a work means the preferred form of the work\nfor making modifications to it.  \"Object code\" means any non-source\nform of a work.\n\n  A \"Standard Interface\" means an interface that either is an official\nstandard defined by a recognized standards body, or, in the case of\ninterfaces specified for a particular programming language, one that\nis widely used among developers working in that language.\n\n  The \"System Libraries\" of an executable work include anything, other\nthan the work as a whole, that (a) is included in the normal form of\npackaging a Major Component, but which is not part of that Major\nComponent, and (b) serves only to enable use of the work with that\nMajor Component, or to implement a Standard Interface for which an\nimplementation is available to the public in source code form.  A\n\"Major Component\", in this context, means a major essential component\n(kernel, window system, and so on) of the specific operating system\n(if any) on which the executable work runs, or a compiler used to\nproduce the work, or an object code interpreter used to run it.\n\n  The \"Corresponding Source\" for a work in object code form means all\nthe source code needed to generate, install, and (for an executable\nwork) run the object code and to modify the work, including scripts to\ncontrol those activities.  However, it does not include the work's\nSystem Libraries, or general-purpose tools or generally available free\nprograms which are used unmodified in performing those activities but\nwhich are not part of the work.  For example, Corresponding Source\nincludes interface definition files associated with source files for\nthe work, and the source code for shared libraries and dynamically\nlinked subprograms that the work is specifically designed to require,\nsuch as by intimate data communication or control flow between those\nsubprograms and other parts of the work.\n\n  The Corresponding Source need not include anything that users\ncan regenerate automatically from other parts of the Corresponding\nSource.\n\n  The Corresponding Source for a work in source code form is that\nsame work.\n\n  2. Basic Permissions.\n\n  All rights granted under this License are granted for the term of\ncopyright on the Program, and are irrevocable provided the stated\nconditions are met.  This License explicitly affirms your unlimited\npermission to run the unmodified Program.  The output from running a\ncovered work is covered by this License only if the output, given its\ncontent, constitutes a covered work.  This License acknowledges your\nrights of fair use or other equivalent, as provided by copyright law.\n\n  You may make, run and propagate covered works that you do not\nconvey, without conditions so long as your license otherwise remains\nin force.  You may convey covered works to others for the sole purpose\nof having them make modifications exclusively for you, or provide you\nwith facilities for running those works, provided that you comply with\nthe terms of this License in conveying all material for which you do\nnot control copyright.  Those thus making or running the covered works\nfor you must do so exclusively on your behalf, under your direction\nand control, on terms that prohibit them from making any copies of\nyour copyrighted material outside their relationship with you.\n\n  Conveying under any other circumstances is permitted solely under\nthe conditions stated below.  Sublicensing is not allowed; section 10\nmakes it unnecessary.\n\n  3. Protecting Users' Legal Rights From Anti-Circumvention Law.\n\n  No covered work shall be deemed part of an effective technological\nmeasure under any applicable law fulfilling obligations under article\n11 of the WIPO copyright treaty adopted on 20 December 1996, or\nsimilar laws prohibiting or restricting circumvention of such\nmeasures.\n\n  When you convey a covered work, you waive any legal power to forbid\ncircumvention of technological measures to the extent such circumvention\nis effected by exercising rights under this License with respect to\nthe covered work, and you disclaim any intention to limit operation or\nmodification of the work as a means of enforcing, against the work's\nusers, your or third parties' legal rights to forbid circumvention of\ntechnological measures.\n\n  4. Conveying Verbatim Copies.\n\n  You may convey verbatim copies of the Program's source code as you\nreceive it, in any medium, provided that you conspicuously and\nappropriately publish on each copy an appropriate copyright notice;\nkeep intact all notices stating that this License and any\nnon-permissive terms added in accord with section 7 apply to the code;\nkeep intact all notices of the absence of any warranty; and give all\nrecipients a copy of this License along with the Program.\n\n  You may charge any price or no price for each copy that you convey,\nand you may offer support or warranty protection for a fee.\n\n  5. Conveying Modified Source Versions.\n\n  You may convey a work based on the Program, or the modifications to\nproduce it from the Program, in the form of source code under the\nterms of section 4, provided that you also meet all of these conditions:\n\n    a) The work must carry prominent notices stating that you modified\n    it, and giving a relevant date.\n\n    b) The work must carry prominent notices stating that it is\n    released under this License and any conditions added under section\n    7.  This requirement modifies the requirement in section 4 to\n    \"keep intact all notices\".\n\n    c) You must license the entire work, as a whole, under this\n    License to anyone who comes into possession of a copy.  This\n    License will therefore apply, along with any applicable section 7\n    additional terms, to the whole of the work, and all its parts,\n    regardless of how they are packaged.  This License gives no\n    permission to license the work in any other way, but it does not\n    invalidate such permission if you have separately received it.\n\n    d) If the work has interactive user interfaces, each must display\n    Appropriate Legal Notices; however, if the Program has interactive\n    interfaces that do not display Appropriate Legal Notices, your\n    work need not make them do so.\n\n  A compilation of a covered work with other separate and independent\nworks, which are not by their nature extensions of the covered work,\nand which are not combined with it such as to form a larger program,\nin or on a volume of a storage or distribution medium, is called an\n\"aggregate\" if the compilation and its resulting copyright are not\nused to limit the access or legal rights of the compilation's users\nbeyond what the individual works permit.  Inclusion of a covered work\nin an aggregate does not cause this License to apply to the other\nparts of the aggregate.\n\n  6. Conveying Non-Source Forms.\n\n  You may convey a covered work in object code form under the terms\nof sections 4 and 5, provided that you also convey the\nmachine-readable Corresponding Source under the terms of this License,\nin one of these ways:\n\n    a) Convey the object code in, or embodied in, a physical product\n    (including a physical distribution medium), accompanied by the\n    Corresponding Source fixed on a durable physical medium\n    customarily used for software interchange.\n\n    b) Convey the object code in, or embodied in, a physical product\n    (including a physical distribution medium), accompanied by a\n    written offer, valid for at least three years and valid for as\n    long as you offer spare parts or customer support for that product\n    model, to give anyone who possesses the object code either (1) a\n    copy of the Corresponding Source for all the software in the\n    product that is covered by this License, on a durable physical\n    medium customarily used for software interchange, for a price no\n    more than your reasonable cost of physically performing this\n    conveying of source, or (2) access to copy the\n    Corresponding Source from a network server at no charge.\n\n    c) Convey individual copies of the object code with a copy of the\n    written offer to provide the Corresponding Source.  This\n    alternative is allowed only occasionally and noncommercially, and\n    only if you received the object code with such an offer, in accord\n    with subsection 6b.\n\n    d) Convey the object code by offering access from a designated\n    place (gratis or for a charge), and offer equivalent access to the\n    Corresponding Source in the same way through the same place at no\n    further charge.  You need not require recipients to copy the\n    Corresponding Source along with the object code.  If the place to\n    copy the object code is a network server, the Corresponding Source\n    may be on a different server (operated by you or a third party)\n    that supports equivalent copying facilities, provided you maintain\n    clear directions next to the object code saying where to find the\n    Corresponding Source.  Regardless of what server hosts the\n    Corresponding Source, you remain obligated to ensure that it is\n    available for as long as needed to satisfy these requirements.\n\n    e) Convey the object code using peer-to-peer transmission, provided\n    you inform other peers where the object code and Corresponding\n    Source of the work are being offered to the general public at no\n    charge under subsection 6d.\n\n  A separable portion of the object code, whose source code is excluded\nfrom the Corresponding Source as a System Library, need not be\nincluded in conveying the object code work.\n\n  A \"User Product\" is either (1) a \"consumer product\", which means any\ntangible personal property which is normally used for personal, family,\nor household purposes, or (2) anything designed or sold for incorporation\ninto a dwelling.  In determining whether a product is a consumer product,\ndoubtful cases shall be resolved in favor of coverage.  For a particular\nproduct received by a particular user, \"normally used\" refers to a\ntypical or common use of that class of product, regardless of the status\nof the particular user or of the way in which the particular user\nactually uses, or expects or is expected to use, the product.  A product\nis a consumer product regardless of whether the product has substantial\ncommercial, industrial or non-consumer uses, unless such uses represent\nthe only significant mode of use of the product.\n\n  \"Installation Information\" for a User Product means any methods,\nprocedures, authorization keys, or other information required to install\nand execute modified versions of a covered work in that User Product from\na modified version of its Corresponding Source.  The information must\nsuffice to ensure that the continued functioning of the modified object\ncode is in no case prevented or interfered with solely because\nmodification has been made.\n\n  If you convey an object code work under this section in, or with, or\nspecifically for use in, a User Product, and the conveying occurs as\npart of a transaction in which the right of possession and use of the\nUser Product is transferred to the recipient in perpetuity or for a\nfixed term (regardless of how the transaction is characterized), the\nCorresponding Source conveyed under this section must be accompanied\nby the Installation Information.  But this requirement does not apply\nif neither you nor any third party retains the ability to install\nmodified object code on the User Product (for example, the work has\nbeen installed in ROM).\n\n  The requirement to provide Installation Information does not include a\nrequirement to continue to provide support service, warranty, or updates\nfor a work that has been modified or installed by the recipient, or for\nthe User Product in which it has been modified or installed.  Access to a\nnetwork may be denied when the modification itself materially and\nadversely affects the operation of the network or violates the rules and\nprotocols for communication across the network.\n\n  Corresponding Source conveyed, and Installation Information provided,\nin accord with this section must be in a format that is publicly\ndocumented (and with an implementation available to the public in\nsource code form), and must require no special password or key for\nunpacking, reading or copying.\n\n  7. Additional Terms.\n\n  \"Additional permissions\" are terms that supplement the terms of this\nLicense by making exceptions from one or more of its conditions.\nAdditional permissions that are applicable to the entire Program shall\nbe treated as though they were included in this License, to the extent\nthat they are valid under applicable law.  If additional permissions\napply only to part of the Program, that part may be used separately\nunder those permissions, but the entire Program remains governed by\nthis License without regard to the additional permissions.\n\n  When you convey a copy of a covered work, you may at your option\nremove any additional permissions from that copy, or from any part of\nit.  (Additional permissions may be written to require their own\nremoval in certain cases when you modify the work.)  You may place\nadditional permissions on material, added by you to a covered work,\nfor which you have or can give appropriate copyright permission.\n\n  Notwithstanding any other provision of this License, for material you\nadd to a covered work, you may (if authorized by the copyright holders of\nthat material) supplement the terms of this License with terms:\n\n    a) Disclaiming warranty or limiting liability differently from the\n    terms of sections 15 and 16 of this License; or\n\n    b) Requiring preservation of specified reasonable legal notices or\n    author attributions in that material or in the Appropriate Legal\n    Notices displayed by works containing it; or\n\n    c) Prohibiting misrepresentation of the origin of that material, or\n    requiring that modified versions of such material be marked in\n    reasonable ways as different from the original version; or\n\n    d) Limiting the use for publicity purposes of names of licensors or\n    authors of the material; or\n\n    e) Declining to grant rights under trademark law for use of some\n    trade names, trademarks, or service marks; or\n\n    f) Requiring indemnification of licensors and authors of that\n    material by anyone who conveys the material (or modified versions of\n    it) with contractual assumptions of liability to the recipient, for\n    any liability that these contractual assumptions directly impose on\n    those licensors and authors.\n\n  All other non-permissive additional terms are considered \"further\nrestrictions\" within the meaning of section 10.  If the Program as you\nreceived it, or any part of it, contains a notice stating that it is\ngoverned by this License along with a term that is a further\nrestriction, you may remove that term.  If a license document contains\na further restriction but permits relicensing or conveying under this\nLicense, you may add to a covered work material governed by the terms\nof that license document, provided that the further restriction does\nnot survive such relicensing or conveying.\n\n  If you add terms to a covered work in accord with this section, you\nmust place, in the relevant source files, a statement of the\nadditional terms that apply to those files, or a notice indicating\nwhere to find the applicable terms.\n\n  Additional terms, permissive or non-permissive, may be stated in the\nform of a separately written license, or stated as exceptions;\nthe above requirements apply either way.\n\n  8. Termination.\n\n  You may not propagate or modify a covered work except as expressly\nprovided under this License.  Any attempt otherwise to propagate or\nmodify it is void, and will automatically terminate your rights under\nthis License (including any patent licenses granted under the third\nparagraph of section 11).\n\n  However, if you cease all violation of this License, then your\nlicense from a particular copyright holder is reinstated (a)\nprovisionally, unless and until the copyright holder explicitly and\nfinally terminates your license, and (b) permanently, if the copyright\nholder fails to notify you of the violation by some reasonable means\nprior to 60 days after the cessation.\n\n  Moreover, your license from a particular copyright holder is\nreinstated permanently if the copyright holder notifies you of the\nviolation by some reasonable means, this is the first time you have\nreceived notice of violation of this License (for any work) from that\ncopyright holder, and you cure the violation prior to 30 days after\nyour receipt of the notice.\n\n  Termination of your rights under this section does not terminate the\nlicenses of parties who have received copies or rights from you under\nthis License.  If your rights have been terminated and not permanently\nreinstated, you do not qualify to receive new licenses for the same\nmaterial under section 10.\n\n  9. Acceptance Not Required for Having Copies.\n\n  You are not required to accept this License in order to receive or\nrun a copy of the Program.  Ancillary propagation of a covered work\noccurring solely as a consequence of using peer-to-peer transmission\nto receive a copy likewise does not require acceptance.  However,\nnothing other than this License grants you permission to propagate or\nmodify any covered work.  These actions infringe copyright if you do\nnot accept this License.  Therefore, by modifying or propagating a\ncovered work, you indicate your acceptance of this License to do so.\n\n  10. Automatic Licensing of Downstream Recipients.\n\n  Each time you convey a covered work, the recipient automatically\nreceives a license from the original licensors, to run, modify and\npropagate that work, subject to this License.  You are not responsible\nfor enforcing compliance by third parties with this License.\n\n  An \"entity transaction\" is a transaction transferring control of an\norganization, or substantially all assets of one, or subdividing an\norganization, or merging organizations.  If propagation of a covered\nwork results from an entity transaction, each party to that\ntransaction who receives a copy of the work also receives whatever\nlicenses to the work the party's predecessor in interest had or could\ngive under the previous paragraph, plus a right to possession of the\nCorresponding Source of the work from the predecessor in interest, if\nthe predecessor has it or can get it with reasonable efforts.\n\n  You may not impose any further restrictions on the exercise of the\nrights granted or affirmed under this License.  For example, you may\nnot impose a license fee, royalty, or other charge for exercise of\nrights granted under this License, and you may not initiate litigation\n(including a cross-claim or counterclaim in a lawsuit) alleging that\nany patent claim is infringed by making, using, selling, offering for\nsale, or importing the Program or any portion of it.\n\n  11. Patents.\n\n  A \"contributor\" is a copyright holder who authorizes use under this\nLicense of the Program or a work on which the Program is based.  The\nwork thus licensed is called the contributor's \"contributor version\".\n\n  A contributor's \"essential patent claims\" are all patent claims\nowned or controlled by the contributor, whether already acquired or\nhereafter acquired, that would be infringed by some manner, permitted\nby this License, of making, using, or selling its contributor version,\nbut do not include claims that would be infringed only as a\nconsequence of further modification of the contributor version.  For\npurposes of this definition, \"control\" includes the right to grant\npatent sublicenses in a manner consistent with the requirements of\nthis License.\n\n  Each contributor grants you a non-exclusive, worldwide, royalty-free\npatent license under the contributor's essential patent claims, to\nmake, use, sell, offer for sale, import and otherwise run, modify and\npropagate the contents of its contributor version.\n\n  In the following three paragraphs, a \"patent license\" is any express\nagreement or commitment, however denominated, not to enforce a patent\n(such as an express permission to practice a patent or covenant not to\nsue for patent infringement).  To \"grant\" such a patent license to a\nparty means to make such an agreement or commitment not to enforce a\npatent against the party.\n\n  If you convey a covered work, knowingly relying on a patent license,\nand the Corresponding Source of the work is not available for anyone\nto copy, free of charge and under the terms of this License, through a\npublicly available network server or other readily accessible means,\nthen you must either (1) cause the Corresponding Source to be so\navailable, or (2) arrange to deprive yourself of the benefit of the\npatent license for this particular work, or (3) arrange, in a manner\nconsistent with the requirements of this License, to extend the patent\nlicense to downstream recipients.  \"Knowingly relying\" means you have\nactual knowledge that, but for the patent license, your conveying the\ncovered work in a country, or your recipient's use of the covered work\nin a country, would infringe one or more identifiable patents in that\ncountry that you have reason to believe are valid.\n\n  If, pursuant to or in connection with a single transaction or\narrangement, you convey, or propagate by procuring conveyance of, a\ncovered work, and grant a patent license to some of the parties\nreceiving the covered work authorizing them to use, propagate, modify\nor convey a specific copy of the covered work, then the patent license\nyou grant is automatically extended to all recipients of the covered\nwork and works based on it.\n\n  A patent license is \"discriminatory\" if it does not include within\nthe scope of its coverage, prohibits the exercise of, or is\nconditioned on the non-exercise of one or more of the rights that are\nspecifically granted under this License.  You may not convey a covered\nwork if you are a party to an arrangement with a third party that is\nin the business of distributing software, under which you make payment\nto the third party based on the extent of your activity of conveying\nthe work, and under which the third party grants, to any of the\nparties who would receive the covered work from you, a discriminatory\npatent license (a) in connection with copies of the covered work\nconveyed by you (or copies made from those copies), or (b) primarily\nfor and in connection with specific products or compilations that\ncontain the covered work, unless you entered into that arrangement,\nor that patent license was granted, prior to 28 March 2007.\n\n  Nothing in this License shall be construed as excluding or limiting\nany implied license or other defenses to infringement that may\notherwise be available to you under applicable patent law.\n\n  12. No Surrender of Others' Freedom.\n\n  If conditions are imposed on you (whether by court order, agreement or\notherwise) that contradict the conditions of this License, they do not\nexcuse you from the conditions of this License.  If you cannot convey a\ncovered work so as to satisfy simultaneously your obligations under this\nLicense and any other pertinent obligations, then as a consequence you may\nnot convey it at all.  For example, if you agree to terms that obligate you\nto collect a royalty for further conveying from those to whom you convey\nthe Program, the only way you could satisfy both those terms and this\nLicense would be to refrain entirely from conveying the Program.\n\n  13. Remote Network Interaction; Use with the GNU General Public License.\n\n  Notwithstanding any other provision of this License, if you modify the\nProgram, your modified version must prominently offer all users\ninteracting with it remotely through a computer network (if your version\nsupports such interaction) an opportunity to receive the Corresponding\nSource of your version by providing access to the Corresponding Source\nfrom a network server at no charge, through some standard or customary\nmeans of facilitating copying of software.  This Corresponding Source\nshall include the Corresponding Source for any work covered by version 3\nof the GNU General Public License that is incorporated pursuant to the\nfollowing paragraph.\n\n  Notwithstanding any other provision of this License, you have\npermission to link or combine any covered work with a work licensed\nunder version 3 of the GNU General Public License into a single\ncombined work, and to convey the resulting work.  The terms of this\nLicense will continue to apply to the part which is the covered work,\nbut the work with which it is combined will remain governed by version\n3 of the GNU General Public License.\n\n  14. Revised Versions of this License.\n\n  The Free Software Foundation may publish revised and/or new versions of\nthe GNU Affero General Public License from time to time.  Such new versions\nwill be similar in spirit to the present version, but may differ in detail to\naddress new problems or concerns.\n\n  Each version is given a distinguishing version number.  If the\nProgram specifies that a certain numbered version of the GNU Affero General\nPublic License \"or any later version\" applies to it, you have the\noption of following the terms and conditions either of that numbered\nversion or of any later version published by the Free Software\nFoundation.  If the Program does not specify a version number of the\nGNU Affero General Public License, you may choose any version ever published\nby the Free Software Foundation.\n\n  If the Program specifies that a proxy can decide which future\nversions of the GNU Affero General Public License can be used, that proxy's\npublic statement of acceptance of a version permanently authorizes you\nto choose that version for the Program.\n\n  Later license versions may give you additional or different\npermissions.  However, no additional obligations are imposed on any\nauthor or copyright holder as a result of your choosing to follow a\nlater version.\n\n  15. Disclaimer of Warranty.\n\n  THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY\nAPPLICABLE LAW.  EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT\nHOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM \"AS IS\" WITHOUT WARRANTY\nOF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,\nTHE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\nPURPOSE.  THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM\nIS WITH YOU.  SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF\nALL NECESSARY SERVICING, REPAIR OR CORRECTION.\n\n  16. Limitation of Liability.\n\n  IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING\nWILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS\nTHE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY\nGENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE\nUSE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF\nDATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD\nPARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),\nEVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF\nSUCH DAMAGES.\n\n  17. Interpretation of Sections 15 and 16.\n\n  If the disclaimer of warranty and limitation of liability provided\nabove cannot be given local legal effect according to their terms,\nreviewing courts shall apply local law that most closely approximates\nan absolute waiver of all civil liability in connection with the\nProgram, unless a warranty or assumption of liability accompanies a\ncopy of the Program in return for a fee.\n\n                     END OF TERMS AND CONDITIONS\n\n            How to Apply These Terms to Your New Programs\n\n  If you develop a new program, and you want it to be of the greatest\npossible use to the public, the best way to achieve this is to make it\nfree software which everyone can redistribute and change under these terms.\n\n  To do so, attach the following notices to the program.  It is safest\nto attach them to the start of each source file to most effectively\nstate the exclusion of warranty; and each file should have at least\nthe \"copyright\" line and a pointer to where the full notice is found.\n\n    <one line to give the program's name and a brief idea of what it does.>\n    Copyright (C) <year>  <name of author>\n\n    This program is free software: you can redistribute it and/or modify\n    it under the terms of the GNU Affero General Public License as published by\n    the Free Software Foundation, either version 3 of the License, or\n    (at your option) any later version.\n\n    This program is distributed in the hope that it will be useful,\n    but WITHOUT ANY WARRANTY; without even the implied warranty of\n    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n    GNU Affero General Public License for more details.\n\n    You should have received a copy of the GNU Affero General Public License\n    along with this program.  If not, see <https://www.gnu.org/licenses/>.\n\nAlso add information on how to contact you by electronic and paper mail.\n\n  If your software can interact with users remotely through a computer\nnetwork, you should also make sure that it provides a way for users to\nget its source.  For example, if your program is a web application, its\ninterface could display a \"Source\" link that leads users to an archive\nof the code.  There are many ways you could offer source, and different\nsolutions will be better for different programs; see section 13 for the\nspecific requirements.\n\n  You should also get your employer (if you work as a programmer) or school,\nif any, to sign a \"copyright disclaimer\" for the program, if necessary.\nFor more information on this, and how to apply and follow the GNU AGPL, see\n<https://www.gnu.org/licenses/>.\n","dependencies":{"yup":"^0.32.11","axios":"0.27.2","blake2b":"^2.1.4","tweetnacl":"^1.0.3","wasmcurves":"0.2.1","web-worker":"^1.2.0","wasmbuilder":"^0.0.16","@vocdoni/proto":"1.15.3","tiny-invariant":"^1.3.1","readable-stream":"^4.4.2","@size-limit/file":"^8.2.4","iso-language-codes":"^1.1.0","@ethersproject/sha2":"^5.7.0","@ethersproject/bytes":"^5.7.0","@ethersproject/units":"^5.7.0","@ethersproject/wallet":"^5.7.0","@ethersproject/address":"^5.7.0","@ethersproject/strings":"^5.7.0","@ethersproject/bignumber":"^5.7.0","@ethersproject/keccak256":"^5.7.0","@ethersproject/providers":"^5.7.1","@ethersproject/signing-key":"^5.7.0","@ethersproject/abstract-signer":"^5.7.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.3.0","husky":"^8.0.2","tslib":"^2.4.0","buffer":"^6.0.3","eslint":"^8.27.0","rimraf":"^3.0.2","rollup":"^3.22.0","blakejs":"^1.2.1","esbuild":"^0.17.10","snarkjs":"vocdoni/snarkjs#v0.7.0-groth16browser","ts-jest":"^29.0.3","prettier":"^2.7.1","size-limit":"^8.1.0","typescript":"^4.8.4","@types/jest":"^29.2.2","circomlibjs":"^0.1.7","ffjavascript":"^0.2.59","blindsecp256k1":"^0.0.9","rollup-plugin-dts":"^5.1.1","@rollup/plugin-json":"^6.0.0","rollup-plugin-esbuild":"^5.0.0","eslint-config-prettier":"^8.5.0","eslint-plugin-prettier":"^4.2.1","@rollup/plugin-commonjs":"^24.0.0","@typescript-eslint/parser":"^5.42.1","@rollup/plugin-node-resolve":"^15.0.1","rollup-plugin-polyfill-node":"^0.12.0","@typescript-eslint/eslint-plugin":"^5.42.1"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.3.1_1695221176069_0.8938768779546991","host":"s3://npm-registry-packages"}},"0.3.2":{"name":"@vocdoni/sdk","version":"0.3.2","keywords":["voting","blockchain","vocdoni"],"author":{"name":"Vocdoni"},"license":"AGPL-3.0-or-later","_id":"@vocdoni/sdk@0.3.2","maintainers":[{"name":"elboletaire","email":"elboletaire@underave.net"},{"name":"emmdim","email":"manos@aragon.org"},{"name":"marcvelmer","email":"marc1987@gmail.com"},{"name":"brickpop","email":"itsbrickpop@gmail.com"},{"name":"jpainan","email":"jpainan@vocdoni.io"}],"dist":{"shasum":"c2017b446cf9e95571ebf2f1e87c267ef9b17bdc","tarball":"https://registry.npmjs.org/@vocdoni/sdk/-/sdk-0.3.2.tgz","fileCount":13,"integrity":"sha512-9PAGTLrDY1abHivi0qYq+HgSS3FZHPZgv1R5icIT9Ct3D7kxj9gvkQNS3zgEQu56WiH0f3cHW6XcsmlcUn6RTQ==","signatures":[{"sig":"MEYCIQDM+tZtJCoM3Dm9zIw0ZqXyYPqjT3X04FHVPeS9cMTxAQIhANAnzwiKYwUJnl4lUF4+Rki/FIE7GaVcd+lfA8nLkby8","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":33142045},"jest":{"preset":"ts-jest","testEnvironment":"node"},"main":"dist/index.js","husky":{"hooks":{"pre-commit":"yarn lint"}},"types":"./dist/index.d.ts","module":"dist/index.mjs","engines":{"node":">=14"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./umd":{"types":"./dist/index.d.ts","default":"./dist/index.umd.js"},"./package.json":"./package.json"},"scripts":{"lint":"eslint src test --ext .js,.jsx,.ts,.tsx","size":"size-limit","test":"yarn test:unit && yarn test:api && yarn test:census3 && yarn test:service && yarn test:integration","build":"rollup -c","clean":"rimraf node_modules dist","start":"yarn watch","watch":"yarn build --watch","lintfix":"yarn lint --fix","prepare":"yarn build","test:api":"jest test/api","ts-types":"tsc --emitDeclarationOnly --outDir dist","test:unit":"jest test/unit --verbose","test:census3":"jest test/census3","test:service":"yarn test:service:census && yarn test:service:anonymous && yarn test:service:csp","test:integration":"yarn test:integration:account && yarn test:integration:csp && yarn test:integration:election && yarn test:integration:other","test:service:csp":"jest test/services/csp.test.ts","test:integration:zk":"jest test/integration/zk.test.ts --forceExit --runInBand","test:service:census":"jest test/services/census.test.ts","test:integration:csp":"jest test/integration/csp.test.ts","test:integration:other":"jest test/integration/other.test.ts","test:service:anonymous":"jest test/services/anonymous.test.ts","test:integration:account":"jest test/integration/account.test.ts","test:integration:election":"jest test/integration/election.test.ts"},"_npmUser":{"name":"emmdim","email":"manos@aragon.org"},"prettier":{"semi":true,"printWidth":120,"singleQuote":true,"trailingComma":"es5"},"deprecated":"0.3.x is no longer supported","repository":{"url":"https://github.com/vocdoni/vocdoni-sdk.git","type":"git"},"size-limit":[{"path":"dist/index.js","limit":"2 MB"},{"path":"dist/index.mjs","limit":"2 MB"},{"path":"dist/index.umd.js","limit":"2 MB"}],"description":"⚒️An SDK for building applications on top of Vocdoni API","directories":{},"licenseText":"                    GNU AFFERO GENERAL PUBLIC LICENSE\n                       Version 3, 19 November 2007\n\n Copyright (C) 2020 Vocdoni Roots MTU, <https://vocdoni.io>\n Everyone is permitted to copy and distribute verbatim copies\n of this license document, but changing it is not allowed.\n\n                            Preamble\n\n  The GNU Affero General Public License is a free, copyleft license for\nsoftware and other kinds of works, specifically designed to ensure\ncooperation with the community in the case of network server software.\n\n  The licenses for most software and other practical works are designed\nto take away your freedom to share and change the works.  By contrast,\nour General Public Licenses are intended to guarantee your freedom to\nshare and change all versions of a program--to make sure it remains free\nsoftware for all its users.\n\n  When we speak of free software, we are referring to freedom, not\nprice.  Our General Public Licenses are designed to make sure that you\nhave the freedom to distribute copies of free software (and charge for\nthem if you wish), that you receive source code or can get it if you\nwant it, that you can change the software or use pieces of it in new\nfree programs, and that you know you can do these things.\n\n  Developers that use our General Public Licenses protect your rights\nwith two steps: (1) assert copyright on the software, and (2) offer\nyou this License which gives you legal permission to copy, distribute\nand/or modify the software.\n\n  A secondary benefit of defending all users' freedom is that\nimprovements made in alternate versions of the program, if they\nreceive widespread use, become available for other developers to\nincorporate.  Many developers of free software are heartened and\nencouraged by the resulting cooperation.  However, in the case of\nsoftware used on network servers, this result may fail to come about.\nThe GNU General Public License permits making a modified version and\nletting the public access it on a server without ever releasing its\nsource code to the public.\n\n  The GNU Affero General Public License is designed specifically to\nensure that, in such cases, the modified source code becomes available\nto the community.  It requires the operator of a network server to\nprovide the source code of the modified version running there to the\nusers of that server.  Therefore, public use of a modified version, on\na publicly accessible server, gives the public access to the source\ncode of the modified version.\n\n  An older license, called the Affero General Public License and\npublished by Affero, was designed to accomplish similar goals.  This is\na different license, not a version of the Affero GPL, but Affero has\nreleased a new version of the Affero GPL which permits relicensing under\nthis license.\n\n  The precise terms and conditions for copying, distribution and\nmodification follow.\n\n                       TERMS AND CONDITIONS\n\n  0. Definitions.\n\n  \"This License\" refers to version 3 of the GNU Affero General Public License.\n\n  \"Copyright\" also means copyright-like laws that apply to other kinds of\nworks, such as semiconductor masks.\n\n  \"The Program\" refers to any copyrightable work licensed under this\nLicense.  Each licensee is addressed as \"you\".  \"Licensees\" and\n\"recipients\" may be individuals or organizations.\n\n  To \"modify\" a work means to copy from or adapt all or part of the work\nin a fashion requiring copyright permission, other than the making of an\nexact copy.  The resulting work is called a \"modified version\" of the\nearlier work or a work \"based on\" the earlier work.\n\n  A \"covered work\" means either the unmodified Program or a work based\non the Program.\n\n  To \"propagate\" a work means to do anything with it that, without\npermission, would make you directly or secondarily liable for\ninfringement under applicable copyright law, except executing it on a\ncomputer or modifying a private copy.  Propagation includes copying,\ndistribution (with or without modification), making available to the\npublic, and in some countries other activities as well.\n\n  To \"convey\" a work means any kind of propagation that enables other\nparties to make or receive copies.  Mere interaction with a user through\na computer network, with no transfer of a copy, is not conveying.\n\n  An interactive user interface displays \"Appropriate Legal Notices\"\nto the extent that it includes a convenient and prominently visible\nfeature that (1) displays an appropriate copyright notice, and (2)\ntells the user that there is no warranty for the work (except to the\nextent that warranties are provided), that licensees may convey the\nwork under this License, and how to view a copy of this License.  If\nthe interface presents a list of user commands or options, such as a\nmenu, a prominent item in the list meets this criterion.\n\n  1. Source Code.\n\n  The \"source code\" for a work means the preferred form of the work\nfor making modifications to it.  \"Object code\" means any non-source\nform of a work.\n\n  A \"Standard Interface\" means an interface that either is an official\nstandard defined by a recognized standards body, or, in the case of\ninterfaces specified for a particular programming language, one that\nis widely used among developers working in that language.\n\n  The \"System Libraries\" of an executable work include anything, other\nthan the work as a whole, that (a) is included in the normal form of\npackaging a Major Component, but which is not part of that Major\nComponent, and (b) serves only to enable use of the work with that\nMajor Component, or to implement a Standard Interface for which an\nimplementation is available to the public in source code form.  A\n\"Major Component\", in this context, means a major essential component\n(kernel, window system, and so on) of the specific operating system\n(if any) on which the executable work runs, or a compiler used to\nproduce the work, or an object code interpreter used to run it.\n\n  The \"Corresponding Source\" for a work in object code form means all\nthe source code needed to generate, install, and (for an executable\nwork) run the object code and to modify the work, including scripts to\ncontrol those activities.  However, it does not include the work's\nSystem Libraries, or general-purpose tools or generally available free\nprograms which are used unmodified in performing those activities but\nwhich are not part of the work.  For example, Corresponding Source\nincludes interface definition files associated with source files for\nthe work, and the source code for shared libraries and dynamically\nlinked subprograms that the work is specifically designed to require,\nsuch as by intimate data communication or control flow between those\nsubprograms and other parts of the work.\n\n  The Corresponding Source need not include anything that users\ncan regenerate automatically from other parts of the Corresponding\nSource.\n\n  The Corresponding Source for a work in source code form is that\nsame work.\n\n  2. Basic Permissions.\n\n  All rights granted under this License are granted for the term of\ncopyright on the Program, and are irrevocable provided the stated\nconditions are met.  This License explicitly affirms your unlimited\npermission to run the unmodified Program.  The output from running a\ncovered work is covered by this License only if the output, given its\ncontent, constitutes a covered work.  This License acknowledges your\nrights of fair use or other equivalent, as provided by copyright law.\n\n  You may make, run and propagate covered works that you do not\nconvey, without conditions so long as your license otherwise remains\nin force.  You may convey covered works to others for the sole purpose\nof having them make modifications exclusively for you, or provide you\nwith facilities for running those works, provided that you comply with\nthe terms of this License in conveying all material for which you do\nnot control copyright.  Those thus making or running the covered works\nfor you must do so exclusively on your behalf, under your direction\nand control, on terms that prohibit them from making any copies of\nyour copyrighted material outside their relationship with you.\n\n  Conveying under any other circumstances is permitted solely under\nthe conditions stated below.  Sublicensing is not allowed; section 10\nmakes it unnecessary.\n\n  3. Protecting Users' Legal Rights From Anti-Circumvention Law.\n\n  No covered work shall be deemed part of an effective technological\nmeasure under any applicable law fulfilling obligations under article\n11 of the WIPO copyright treaty adopted on 20 December 1996, or\nsimilar laws prohibiting or restricting circumvention of such\nmeasures.\n\n  When you convey a covered work, you waive any legal power to forbid\ncircumvention of technological measures to the extent such circumvention\nis effected by exercising rights under this License with respect to\nthe covered work, and you disclaim any intention to limit operation or\nmodification of the work as a means of enforcing, against the work's\nusers, your or third parties' legal rights to forbid circumvention of\ntechnological measures.\n\n  4. Conveying Verbatim Copies.\n\n  You may convey verbatim copies of the Program's source code as you\nreceive it, in any medium, provided that you conspicuously and\nappropriately publish on each copy an appropriate copyright notice;\nkeep intact all notices stating that this License and any\nnon-permissive terms added in accord with section 7 apply to the code;\nkeep intact all notices of the absence of any warranty; and give all\nrecipients a copy of this License along with the Program.\n\n  You may charge any price or no price for each copy that you convey,\nand you may offer support or warranty protection for a fee.\n\n  5. Conveying Modified Source Versions.\n\n  You may convey a work based on the Program, or the modifications to\nproduce it from the Program, in the form of source code under the\nterms of section 4, provided that you also meet all of these conditions:\n\n    a) The work must carry prominent notices stating that you modified\n    it, and giving a relevant date.\n\n    b) The work must carry prominent notices stating that it is\n    released under this License and any conditions added under section\n    7.  This requirement modifies the requirement in section 4 to\n    \"keep intact all notices\".\n\n    c) You must license the entire work, as a whole, under this\n    License to anyone who comes into possession of a copy.  This\n    License will therefore apply, along with any applicable section 7\n    additional terms, to the whole of the work, and all its parts,\n    regardless of how they are packaged.  This License gives no\n    permission to license the work in any other way, but it does not\n    invalidate such permission if you have separately received it.\n\n    d) If the work has interactive user interfaces, each must display\n    Appropriate Legal Notices; however, if the Program has interactive\n    interfaces that do not display Appropriate Legal Notices, your\n    work need not make them do so.\n\n  A compilation of a covered work with other separate and independent\nworks, which are not by their nature extensions of the covered work,\nand which are not combined with it such as to form a larger program,\nin or on a volume of a storage or distribution medium, is called an\n\"aggregate\" if the compilation and its resulting copyright are not\nused to limit the access or legal rights of the compilation's users\nbeyond what the individual works permit.  Inclusion of a covered work\nin an aggregate does not cause this License to apply to the other\nparts of the aggregate.\n\n  6. Conveying Non-Source Forms.\n\n  You may convey a covered work in object code form under the terms\nof sections 4 and 5, provided that you also convey the\nmachine-readable Corresponding Source under the terms of this License,\nin one of these ways:\n\n    a) Convey the object code in, or embodied in, a physical product\n    (including a physical distribution medium), accompanied by the\n    Corresponding Source fixed on a durable physical medium\n    customarily used for software interchange.\n\n    b) Convey the object code in, or embodied in, a physical product\n    (including a physical distribution medium), accompanied by a\n    written offer, valid for at least three years and valid for as\n    long as you offer spare parts or customer support for that product\n    model, to give anyone who possesses the object code either (1) a\n    copy of the Corresponding Source for all the software in the\n    product that is covered by this License, on a durable physical\n    medium customarily used for software interchange, for a price no\n    more than your reasonable cost of physically performing this\n    conveying of source, or (2) access to copy the\n    Corresponding Source from a network server at no charge.\n\n    c) Convey individual copies of the object code with a copy of the\n    written offer to provide the Corresponding Source.  This\n    alternative is allowed only occasionally and noncommercially, and\n    only if you received the object code with such an offer, in accord\n    with subsection 6b.\n\n    d) Convey the object code by offering access from a designated\n    place (gratis or for a charge), and offer equivalent access to the\n    Corresponding Source in the same way through the same place at no\n    further charge.  You need not require recipients to copy the\n    Corresponding Source along with the object code.  If the place to\n    copy the object code is a network server, the Corresponding Source\n    may be on a different server (operated by you or a third party)\n    that supports equivalent copying facilities, provided you maintain\n    clear directions next to the object code saying where to find the\n    Corresponding Source.  Regardless of what server hosts the\n    Corresponding Source, you remain obligated to ensure that it is\n    available for as long as needed to satisfy these requirements.\n\n    e) Convey the object code using peer-to-peer transmission, provided\n    you inform other peers where the object code and Corresponding\n    Source of the work are being offered to the general public at no\n    charge under subsection 6d.\n\n  A separable portion of the object code, whose source code is excluded\nfrom the Corresponding Source as a System Library, need not be\nincluded in conveying the object code work.\n\n  A \"User Product\" is either (1) a \"consumer product\", which means any\ntangible personal property which is normally used for personal, family,\nor household purposes, or (2) anything designed or sold for incorporation\ninto a dwelling.  In determining whether a product is a consumer product,\ndoubtful cases shall be resolved in favor of coverage.  For a particular\nproduct received by a particular user, \"normally used\" refers to a\ntypical or common use of that class of product, regardless of the status\nof the particular user or of the way in which the particular user\nactually uses, or expects or is expected to use, the product.  A product\nis a consumer product regardless of whether the product has substantial\ncommercial, industrial or non-consumer uses, unless such uses represent\nthe only significant mode of use of the product.\n\n  \"Installation Information\" for a User Product means any methods,\nprocedures, authorization keys, or other information required to install\nand execute modified versions of a covered work in that User Product from\na modified version of its Corresponding Source.  The information must\nsuffice to ensure that the continued functioning of the modified object\ncode is in no case prevented or interfered with solely because\nmodification has been made.\n\n  If you convey an object code work under this section in, or with, or\nspecifically for use in, a User Product, and the conveying occurs as\npart of a transaction in which the right of possession and use of the\nUser Product is transferred to the recipient in perpetuity or for a\nfixed term (regardless of how the transaction is characterized), the\nCorresponding Source conveyed under this section must be accompanied\nby the Installation Information.  But this requirement does not apply\nif neither you nor any third party retains the ability to install\nmodified object code on the User Product (for example, the work has\nbeen installed in ROM).\n\n  The requirement to provide Installation Information does not include a\nrequirement to continue to provide support service, warranty, or updates\nfor a work that has been modified or installed by the recipient, or for\nthe User Product in which it has been modified or installed.  Access to a\nnetwork may be denied when the modification itself materially and\nadversely affects the operation of the network or violates the rules and\nprotocols for communication across the network.\n\n  Corresponding Source conveyed, and Installation Information provided,\nin accord with this section must be in a format that is publicly\ndocumented (and with an implementation available to the public in\nsource code form), and must require no special password or key for\nunpacking, reading or copying.\n\n  7. Additional Terms.\n\n  \"Additional permissions\" are terms that supplement the terms of this\nLicense by making exceptions from one or more of its conditions.\nAdditional permissions that are applicable to the entire Program shall\nbe treated as though they were included in this License, to the extent\nthat they are valid under applicable law.  If additional permissions\napply only to part of the Program, that part may be used separately\nunder those permissions, but the entire Program remains governed by\nthis License without regard to the additional permissions.\n\n  When you convey a copy of a covered work, you may at your option\nremove any additional permissions from that copy, or from any part of\nit.  (Additional permissions may be written to require their own\nremoval in certain cases when you modify the work.)  You may place\nadditional permissions on material, added by you to a covered work,\nfor which you have or can give appropriate copyright permission.\n\n  Notwithstanding any other provision of this License, for material you\nadd to a covered work, you may (if authorized by the copyright holders of\nthat material) supplement the terms of this License with terms:\n\n    a) Disclaiming warranty or limiting liability differently from the\n    terms of sections 15 and 16 of this License; or\n\n    b) Requiring preservation of specified reasonable legal notices or\n    author attributions in that material or in the Appropriate Legal\n    Notices displayed by works containing it; or\n\n    c) Prohibiting misrepresentation of the origin of that material, or\n    requiring that modified versions of such material be marked in\n    reasonable ways as different from the original version; or\n\n    d) Limiting the use for publicity purposes of names of licensors or\n    authors of the material; or\n\n    e) Declining to grant rights under trademark law for use of some\n    trade names, trademarks, or service marks; or\n\n    f) Requiring indemnification of licensors and authors of that\n    material by anyone who conveys the material (or modified versions of\n    it) with contractual assumptions of liability to the recipient, for\n    any liability that these contractual assumptions directly impose on\n    those licensors and authors.\n\n  All other non-permissive additional terms are considered \"further\nrestrictions\" within the meaning of section 10.  If the Program as you\nreceived it, or any part of it, contains a notice stating that it is\ngoverned by this License along with a term that is a further\nrestriction, you may remove that term.  If a license document contains\na further restriction but permits relicensing or conveying under this\nLicense, you may add to a covered work material governed by the terms\nof that license document, provided that the further restriction does\nnot survive such relicensing or conveying.\n\n  If you add terms to a covered work in accord with this section, you\nmust place, in the relevant source files, a statement of the\nadditional terms that apply to those files, or a notice indicating\nwhere to find the applicable terms.\n\n  Additional terms, permissive or non-permissive, may be stated in the\nform of a separately written license, or stated as exceptions;\nthe above requirements apply either way.\n\n  8. Termination.\n\n  You may not propagate or modify a covered work except as expressly\nprovided under this License.  Any attempt otherwise to propagate or\nmodify it is void, and will automatically terminate your rights under\nthis License (including any patent licenses granted under the third\nparagraph of section 11).\n\n  However, if you cease all violation of this License, then your\nlicense from a particular copyright holder is reinstated (a)\nprovisionally, unless and until the copyright holder explicitly and\nfinally terminates your license, and (b) permanently, if the copyright\nholder fails to notify you of the violation by some reasonable means\nprior to 60 days after the cessation.\n\n  Moreover, your license from a particular copyright holder is\nreinstated permanently if the copyright holder notifies you of the\nviolation by some reasonable means, this is the first time you have\nreceived notice of violation of this License (for any work) from that\ncopyright holder, and you cure the violation prior to 30 days after\nyour receipt of the notice.\n\n  Termination of your rights under this section does not terminate the\nlicenses of parties who have received copies or rights from you under\nthis License.  If your rights have been terminated and not permanently\nreinstated, you do not qualify to receive new licenses for the same\nmaterial under section 10.\n\n  9. Acceptance Not Required for Having Copies.\n\n  You are not required to accept this License in order to receive or\nrun a copy of the Program.  Ancillary propagation of a covered work\noccurring solely as a consequence of using peer-to-peer transmission\nto receive a copy likewise does not require acceptance.  However,\nnothing other than this License grants you permission to propagate or\nmodify any covered work.  These actions infringe copyright if you do\nnot accept this License.  Therefore, by modifying or propagating a\ncovered work, you indicate your acceptance of this License to do so.\n\n  10. Automatic Licensing of Downstream Recipients.\n\n  Each time you convey a covered work, the recipient automatically\nreceives a license from the original licensors, to run, modify and\npropagate that work, subject to this License.  You are not responsible\nfor enforcing compliance by third parties with this License.\n\n  An \"entity transaction\" is a transaction transferring control of an\norganization, or substantially all assets of one, or subdividing an\norganization, or merging organizations.  If propagation of a covered\nwork results from an entity transaction, each party to that\ntransaction who receives a copy of the work also receives whatever\nlicenses to the work the party's predecessor in interest had or could\ngive under the previous paragraph, plus a right to possession of the\nCorresponding Source of the work from the predecessor in interest, if\nthe predecessor has it or can get it with reasonable efforts.\n\n  You may not impose any further restrictions on the exercise of the\nrights granted or affirmed under this License.  For example, you may\nnot impose a license fee, royalty, or other charge for exercise of\nrights granted under this License, and you may not initiate litigation\n(including a cross-claim or counterclaim in a lawsuit) alleging that\nany patent claim is infringed by making, using, selling, offering for\nsale, or importing the Program or any portion of it.\n\n  11. Patents.\n\n  A \"contributor\" is a copyright holder who authorizes use under this\nLicense of the Program or a work on which the Program is based.  The\nwork thus licensed is called the contributor's \"contributor version\".\n\n  A contributor's \"essential patent claims\" are all patent claims\nowned or controlled by the contributor, whether already acquired or\nhereafter acquired, that would be infringed by some manner, permitted\nby this License, of making, using, or selling its contributor version,\nbut do not include claims that would be infringed only as a\nconsequence of further modification of the contributor version.  For\npurposes of this definition, \"control\" includes the right to grant\npatent sublicenses in a manner consistent with the requirements of\nthis License.\n\n  Each contributor grants you a non-exclusive, worldwide, royalty-free\npatent license under the contributor's essential patent claims, to\nmake, use, sell, offer for sale, import and otherwise run, modify and\npropagate the contents of its contributor version.\n\n  In the following three paragraphs, a \"patent license\" is any express\nagreement or commitment, however denominated, not to enforce a patent\n(such as an express permission to practice a patent or covenant not to\nsue for patent infringement).  To \"grant\" such a patent license to a\nparty means to make such an agreement or commitment not to enforce a\npatent against the party.\n\n  If you convey a covered work, knowingly relying on a patent license,\nand the Corresponding Source of the work is not available for anyone\nto copy, free of charge and under the terms of this License, through a\npublicly available network server or other readily accessible means,\nthen you must either (1) cause the Corresponding Source to be so\navailable, or (2) arrange to deprive yourself of the benefit of the\npatent license for this particular work, or (3) arrange, in a manner\nconsistent with the requirements of this License, to extend the patent\nlicense to downstream recipients.  \"Knowingly relying\" means you have\nactual knowledge that, but for the patent license, your conveying the\ncovered work in a country, or your recipient's use of the covered work\nin a country, would infringe one or more identifiable patents in that\ncountry that you have reason to believe are valid.\n\n  If, pursuant to or in connection with a single transaction or\narrangement, you convey, or propagate by procuring conveyance of, a\ncovered work, and grant a patent license to some of the parties\nreceiving the covered work authorizing them to use, propagate, modify\nor convey a specific copy of the covered work, then the patent license\nyou grant is automatically extended to all recipients of the covered\nwork and works based on it.\n\n  A patent license is \"discriminatory\" if it does not include within\nthe scope of its coverage, prohibits the exercise of, or is\nconditioned on the non-exercise of one or more of the rights that are\nspecifically granted under this License.  You may not convey a covered\nwork if you are a party to an arrangement with a third party that is\nin the business of distributing software, under which you make payment\nto the third party based on the extent of your activity of conveying\nthe work, and under which the third party grants, to any of the\nparties who would receive the covered work from you, a discriminatory\npatent license (a) in connection with copies of the covered work\nconveyed by you (or copies made from those copies), or (b) primarily\nfor and in connection with specific products or compilations that\ncontain the covered work, unless you entered into that arrangement,\nor that patent license was granted, prior to 28 March 2007.\n\n  Nothing in this License shall be construed as excluding or limiting\nany implied license or other defenses to infringement that may\notherwise be available to you under applicable patent law.\n\n  12. No Surrender of Others' Freedom.\n\n  If conditions are imposed on you (whether by court order, agreement or\notherwise) that contradict the conditions of this License, they do not\nexcuse you from the conditions of this License.  If you cannot convey a\ncovered work so as to satisfy simultaneously your obligations under this\nLicense and any other pertinent obligations, then as a consequence you may\nnot convey it at all.  For example, if you agree to terms that obligate you\nto collect a royalty for further conveying from those to whom you convey\nthe Program, the only way you could satisfy both those terms and this\nLicense would be to refrain entirely from conveying the Program.\n\n  13. Remote Network Interaction; Use with the GNU General Public License.\n\n  Notwithstanding any other provision of this License, if you modify the\nProgram, your modified version must prominently offer all users\ninteracting with it remotely through a computer network (if your version\nsupports such interaction) an opportunity to receive the Corresponding\nSource of your version by providing access to the Corresponding Source\nfrom a network server at no charge, through some standard or customary\nmeans of facilitating copying of software.  This Corresponding Source\nshall include the Corresponding Source for any work covered by version 3\nof the GNU General Public License that is incorporated pursuant to the\nfollowing paragraph.\n\n  Notwithstanding any other provision of this License, you have\npermission to link or combine any covered work with a work licensed\nunder version 3 of the GNU General Public License into a single\ncombined work, and to convey the resulting work.  The terms of this\nLicense will continue to apply to the part which is the covered work,\nbut the work with which it is combined will remain governed by version\n3 of the GNU General Public License.\n\n  14. Revised Versions of this License.\n\n  The Free Software Foundation may publish revised and/or new versions of\nthe GNU Affero General Public License from time to time.  Such new versions\nwill be similar in spirit to the present version, but may differ in detail to\naddress new problems or concerns.\n\n  Each version is given a distinguishing version number.  If the\nProgram specifies that a certain numbered version of the GNU Affero General\nPublic License \"or any later version\" applies to it, you have the\noption of following the terms and conditions either of that numbered\nversion or of any later version published by the Free Software\nFoundation.  If the Program does not specify a version number of the\nGNU Affero General Public License, you may choose any version ever published\nby the Free Software Foundation.\n\n  If the Program specifies that a proxy can decide which future\nversions of the GNU Affero General Public License can be used, that proxy's\npublic statement of acceptance of a version permanently authorizes you\nto choose that version for the Program.\n\n  Later license versions may give you additional or different\npermissions.  However, no additional obligations are imposed on any\nauthor or copyright holder as a result of your choosing to follow a\nlater version.\n\n  15. Disclaimer of Warranty.\n\n  THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY\nAPPLICABLE LAW.  EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT\nHOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM \"AS IS\" WITHOUT WARRANTY\nOF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,\nTHE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\nPURPOSE.  THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM\nIS WITH YOU.  SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF\nALL NECESSARY SERVICING, REPAIR OR CORRECTION.\n\n  16. Limitation of Liability.\n\n  IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING\nWILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS\nTHE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY\nGENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE\nUSE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF\nDATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD\nPARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),\nEVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF\nSUCH DAMAGES.\n\n  17. Interpretation of Sections 15 and 16.\n\n  If the disclaimer of warranty and limitation of liability provided\nabove cannot be given local legal effect according to their terms,\nreviewing courts shall apply local law that most closely approximates\nan absolute waiver of all civil liability in connection with the\nProgram, unless a warranty or assumption of liability accompanies a\ncopy of the Program in return for a fee.\n\n                     END OF TERMS AND CONDITIONS\n\n            How to Apply These Terms to Your New Programs\n\n  If you develop a new program, and you want it to be of the greatest\npossible use to the public, the best way to achieve this is to make it\nfree software which everyone can redistribute and change under these terms.\n\n  To do so, attach the following notices to the program.  It is safest\nto attach them to the start of each source file to most effectively\nstate the exclusion of warranty; and each file should have at least\nthe \"copyright\" line and a pointer to where the full notice is found.\n\n    <one line to give the program's name and a brief idea of what it does.>\n    Copyright (C) <year>  <name of author>\n\n    This program is free software: you can redistribute it and/or modify\n    it under the terms of the GNU Affero General Public License as published by\n    the Free Software Foundation, either version 3 of the License, or\n    (at your option) any later version.\n\n    This program is distributed in the hope that it will be useful,\n    but WITHOUT ANY WARRANTY; without even the implied warranty of\n    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n    GNU Affero General Public License for more details.\n\n    You should have received a copy of the GNU Affero General Public License\n    along with this program.  If not, see <https://www.gnu.org/licenses/>.\n\nAlso add information on how to contact you by electronic and paper mail.\n\n  If your software can interact with users remotely through a computer\nnetwork, you should also make sure that it provides a way for users to\nget its source.  For example, if your program is a web application, its\ninterface could display a \"Source\" link that leads users to an archive\nof the code.  There are many ways you could offer source, and different\nsolutions will be better for different programs; see section 13 for the\nspecific requirements.\n\n  You should also get your employer (if you work as a programmer) or school,\nif any, to sign a \"copyright disclaimer\" for the program, if necessary.\nFor more information on this, and how to apply and follow the GNU AGPL, see\n<https://www.gnu.org/licenses/>.\n","dependencies":{"yup":"^0.32.11","axios":"0.27.2","blake2b":"^2.1.4","tweetnacl":"^1.0.3","wasmcurves":"0.2.1","web-worker":"^1.2.0","wasmbuilder":"^0.0.16","@vocdoni/proto":"1.15.3","tiny-invariant":"^1.3.1","readable-stream":"^4.4.2","@size-limit/file":"^8.2.4","iso-language-codes":"^1.1.0","@ethersproject/sha2":"^5.7.0","@ethersproject/bytes":"^5.7.0","@ethersproject/units":"^5.7.0","@ethersproject/wallet":"^5.7.0","@ethersproject/address":"^5.7.0","@ethersproject/strings":"^5.7.0","@ethersproject/bignumber":"^5.7.0","@ethersproject/keccak256":"^5.7.0","@ethersproject/providers":"^5.7.1","@ethersproject/signing-key":"^5.7.0","@ethersproject/abstract-signer":"^5.7.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.3.0","husky":"^8.0.2","tslib":"^2.4.0","buffer":"^6.0.3","eslint":"^8.27.0","rimraf":"^3.0.2","rollup":"^3.22.0","blakejs":"^1.2.1","esbuild":"^0.17.10","snarkjs":"vocdoni/snarkjs#v0.7.0-groth16browser","ts-jest":"^29.0.3","prettier":"^2.7.1","size-limit":"^8.1.0","typescript":"^4.8.4","@types/jest":"^29.2.2","circomlibjs":"^0.1.7","ffjavascript":"^0.2.59","blindsecp256k1":"^0.0.9","rollup-plugin-dts":"^5.1.1","@rollup/plugin-json":"^6.0.0","rollup-plugin-esbuild":"^5.0.0","eslint-config-prettier":"^8.5.0","eslint-plugin-prettier":"^4.2.1","@rollup/plugin-commonjs":"^24.0.0","@typescript-eslint/parser":"^5.42.1","@rollup/plugin-node-resolve":"^15.0.1","rollup-plugin-polyfill-node":"^0.12.0","@typescript-eslint/eslint-plugin":"^5.42.1"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.3.2_1696959827522_0.33306089432467423","host":"s3://npm-registry-packages"}},"0.4.0":{"name":"@vocdoni/sdk","version":"0.4.0","keywords":["voting","blockchain","vocdoni"],"author":{"name":"Vocdoni"},"license":"AGPL-3.0-or-later","_id":"@vocdoni/sdk@0.4.0","maintainers":[{"name":"elboletaire","email":"elboletaire@underave.net"},{"name":"emmdim","email":"manos@aragon.org"},{"name":"marcvelmer","email":"marc1987@gmail.com"},{"name":"brickpop","email":"itsbrickpop@gmail.com"},{"name":"jpainan","email":"jpainan@vocdoni.io"}],"dist":{"shasum":"48c86b45ea31fca0c1bedcf8a8187d5c1df1e691","tarball":"https://registry.npmjs.org/@vocdoni/sdk/-/sdk-0.4.0.tgz","fileCount":13,"integrity":"sha512-deqrsDT8pZ7y9W2+03WPDr8B2/ts0KProiFkQ7xbJ4FxS6JdlTnsd70sI+n6EZaxvwlUSZTsF7lNRzlbOdjkDA==","signatures":[{"sig":"MEUCIQCWqZh/7Vc+NlvTNyXdbkd2znxuF5SwCJuNHHdE66kCAQIgCdxTuQwjCN9PmhCqImCrnEaHhjLH4hCTmQON9RWhqhk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":33170815},"jest":{"preset":"ts-jest","testEnvironment":"node"},"main":"dist/index.js","husky":{"hooks":{"pre-commit":"yarn lint"}},"types":"./dist/index.d.ts","module":"dist/index.mjs","engines":{"node":">=14"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./umd":{"types":"./dist/index.d.ts","default":"./dist/index.umd.js"},"./package.json":"./package.json"},"scripts":{"lint":"eslint src test --ext .js,.jsx,.ts,.tsx","size":"size-limit","test":"yarn test:unit && yarn test:api && yarn test:census3 && yarn test:service && yarn test:integration","build":"rollup -c","clean":"rimraf node_modules dist","start":"yarn watch","watch":"yarn build --watch","lintfix":"yarn lint --fix","prepare":"yarn build","test:api":"jest test/api","ts-types":"tsc --emitDeclarationOnly --outDir dist","test:unit":"jest test/unit --verbose","test:census3":"jest test/census3","test:service":"yarn test:service:census && yarn test:service:anonymous && yarn test:service:csp","test:integration":"yarn test:integration:account && yarn test:integration:csp && yarn test:integration:election && yarn test:integration:other","test:service:csp":"jest test/services/csp.test.ts","test:integration:zk":"jest test/integration/zk.test.ts --forceExit --runInBand","test:service:census":"jest test/services/census.test.ts","test:integration:csp":"jest test/integration/csp.test.ts","test:integration:other":"jest test/integration/other.test.ts","test:service:anonymous":"jest test/services/anonymous.test.ts","test:integration:account":"jest test/integration/account.test.ts","test:integration:election":"jest test/integration/election.test.ts"},"_npmUser":{"name":"emmdim","email":"manos@aragon.org"},"prettier":{"semi":true,"printWidth":120,"singleQuote":true,"trailingComma":"es5"},"deprecated":"0.4.x is no longer supported","repository":{"url":"https://github.com/vocdoni/vocdoni-sdk.git","type":"git"},"size-limit":[{"path":"dist/index.js","limit":"2 MB"},{"path":"dist/index.mjs","limit":"2 MB"},{"path":"dist/index.umd.js","limit":"2 MB"}],"description":"⚒️An SDK for building applications on top of Vocdoni API","directories":{},"licenseText":"                    GNU AFFERO GENERAL PUBLIC LICENSE\n                       Version 3, 19 November 2007\n\n Copyright (C) 2020 Vocdoni Roots MTU, <https://vocdoni.io>\n Everyone is permitted to copy and distribute verbatim copies\n of this license document, but changing it is not allowed.\n\n                            Preamble\n\n  The GNU Affero General Public License is a free, copyleft license for\nsoftware and other kinds of works, specifically designed to ensure\ncooperation with the community in the case of network server software.\n\n  The licenses for most software and other practical works are designed\nto take away your freedom to share and change the works.  By contrast,\nour General Public Licenses are intended to guarantee your freedom to\nshare and change all versions of a program--to make sure it remains free\nsoftware for all its users.\n\n  When we speak of free software, we are referring to freedom, not\nprice.  Our General Public Licenses are designed to make sure that you\nhave the freedom to distribute copies of free software (and charge for\nthem if you wish), that you receive source code or can get it if you\nwant it, that you can change the software or use pieces of it in new\nfree programs, and that you know you can do these things.\n\n  Developers that use our General Public Licenses protect your rights\nwith two steps: (1) assert copyright on the software, and (2) offer\nyou this License which gives you legal permission to copy, distribute\nand/or modify the software.\n\n  A secondary benefit of defending all users' freedom is that\nimprovements made in alternate versions of the program, if they\nreceive widespread use, become available for other developers to\nincorporate.  Many developers of free software are heartened and\nencouraged by the resulting cooperation.  However, in the case of\nsoftware used on network servers, this result may fail to come about.\nThe GNU General Public License permits making a modified version and\nletting the public access it on a server without ever releasing its\nsource code to the public.\n\n  The GNU Affero General Public License is designed specifically to\nensure that, in such cases, the modified source code becomes available\nto the community.  It requires the operator of a network server to\nprovide the source code of the modified version running there to the\nusers of that server.  Therefore, public use of a modified version, on\na publicly accessible server, gives the public access to the source\ncode of the modified version.\n\n  An older license, called the Affero General Public License and\npublished by Affero, was designed to accomplish similar goals.  This is\na different license, not a version of the Affero GPL, but Affero has\nreleased a new version of the Affero GPL which permits relicensing under\nthis license.\n\n  The precise terms and conditions for copying, distribution and\nmodification follow.\n\n                       TERMS AND CONDITIONS\n\n  0. Definitions.\n\n  \"This License\" refers to version 3 of the GNU Affero General Public License.\n\n  \"Copyright\" also means copyright-like laws that apply to other kinds of\nworks, such as semiconductor masks.\n\n  \"The Program\" refers to any copyrightable work licensed under this\nLicense.  Each licensee is addressed as \"you\".  \"Licensees\" and\n\"recipients\" may be individuals or organizations.\n\n  To \"modify\" a work means to copy from or adapt all or part of the work\nin a fashion requiring copyright permission, other than the making of an\nexact copy.  The resulting work is called a \"modified version\" of the\nearlier work or a work \"based on\" the earlier work.\n\n  A \"covered work\" means either the unmodified Program or a work based\non the Program.\n\n  To \"propagate\" a work means to do anything with it that, without\npermission, would make you directly or secondarily liable for\ninfringement under applicable copyright law, except executing it on a\ncomputer or modifying a private copy.  Propagation includes copying,\ndistribution (with or without modification), making available to the\npublic, and in some countries other activities as well.\n\n  To \"convey\" a work means any kind of propagation that enables other\nparties to make or receive copies.  Mere interaction with a user through\na computer network, with no transfer of a copy, is not conveying.\n\n  An interactive user interface displays \"Appropriate Legal Notices\"\nto the extent that it includes a convenient and prominently visible\nfeature that (1) displays an appropriate copyright notice, and (2)\ntells the user that there is no warranty for the work (except to the\nextent that warranties are provided), that licensees may convey the\nwork under this License, and how to view a copy of this License.  If\nthe interface presents a list of user commands or options, such as a\nmenu, a prominent item in the list meets this criterion.\n\n  1. Source Code.\n\n  The \"source code\" for a work means the preferred form of the work\nfor making modifications to it.  \"Object code\" means any non-source\nform of a work.\n\n  A \"Standard Interface\" means an interface that either is an official\nstandard defined by a recognized standards body, or, in the case of\ninterfaces specified for a particular programming language, one that\nis widely used among developers working in that language.\n\n  The \"System Libraries\" of an executable work include anything, other\nthan the work as a whole, that (a) is included in the normal form of\npackaging a Major Component, but which is not part of that Major\nComponent, and (b) serves only to enable use of the work with that\nMajor Component, or to implement a Standard Interface for which an\nimplementation is available to the public in source code form.  A\n\"Major Component\", in this context, means a major essential component\n(kernel, window system, and so on) of the specific operating system\n(if any) on which the executable work runs, or a compiler used to\nproduce the work, or an object code interpreter used to run it.\n\n  The \"Corresponding Source\" for a work in object code form means all\nthe source code needed to generate, install, and (for an executable\nwork) run the object code and to modify the work, including scripts to\ncontrol those activities.  However, it does not include the work's\nSystem Libraries, or general-purpose tools or generally available free\nprograms which are used unmodified in performing those activities but\nwhich are not part of the work.  For example, Corresponding Source\nincludes interface definition files associated with source files for\nthe work, and the source code for shared libraries and dynamically\nlinked subprograms that the work is specifically designed to require,\nsuch as by intimate data communication or control flow between those\nsubprograms and other parts of the work.\n\n  The Corresponding Source need not include anything that users\ncan regenerate automatically from other parts of the Corresponding\nSource.\n\n  The Corresponding Source for a work in source code form is that\nsame work.\n\n  2. Basic Permissions.\n\n  All rights granted under this License are granted for the term of\ncopyright on the Program, and are irrevocable provided the stated\nconditions are met.  This License explicitly affirms your unlimited\npermission to run the unmodified Program.  The output from running a\ncovered work is covered by this License only if the output, given its\ncontent, constitutes a covered work.  This License acknowledges your\nrights of fair use or other equivalent, as provided by copyright law.\n\n  You may make, run and propagate covered works that you do not\nconvey, without conditions so long as your license otherwise remains\nin force.  You may convey covered works to others for the sole purpose\nof having them make modifications exclusively for you, or provide you\nwith facilities for running those works, provided that you comply with\nthe terms of this License in conveying all material for which you do\nnot control copyright.  Those thus making or running the covered works\nfor you must do so exclusively on your behalf, under your direction\nand control, on terms that prohibit them from making any copies of\nyour copyrighted material outside their relationship with you.\n\n  Conveying under any other circumstances is permitted solely under\nthe conditions stated below.  Sublicensing is not allowed; section 10\nmakes it unnecessary.\n\n  3. Protecting Users' Legal Rights From Anti-Circumvention Law.\n\n  No covered work shall be deemed part of an effective technological\nmeasure under any applicable law fulfilling obligations under article\n11 of the WIPO copyright treaty adopted on 20 December 1996, or\nsimilar laws prohibiting or restricting circumvention of such\nmeasures.\n\n  When you convey a covered work, you waive any legal power to forbid\ncircumvention of technological measures to the extent such circumvention\nis effected by exercising rights under this License with respect to\nthe covered work, and you disclaim any intention to limit operation or\nmodification of the work as a means of enforcing, against the work's\nusers, your or third parties' legal rights to forbid circumvention of\ntechnological measures.\n\n  4. Conveying Verbatim Copies.\n\n  You may convey verbatim copies of the Program's source code as you\nreceive it, in any medium, provided that you conspicuously and\nappropriately publish on each copy an appropriate copyright notice;\nkeep intact all notices stating that this License and any\nnon-permissive terms added in accord with section 7 apply to the code;\nkeep intact all notices of the absence of any warranty; and give all\nrecipients a copy of this License along with the Program.\n\n  You may charge any price or no price for each copy that you convey,\nand you may offer support or warranty protection for a fee.\n\n  5. Conveying Modified Source Versions.\n\n  You may convey a work based on the Program, or the modifications to\nproduce it from the Program, in the form of source code under the\nterms of section 4, provided that you also meet all of these conditions:\n\n    a) The work must carry prominent notices stating that you modified\n    it, and giving a relevant date.\n\n    b) The work must carry prominent notices stating that it is\n    released under this License and any conditions added under section\n    7.  This requirement modifies the requirement in section 4 to\n    \"keep intact all notices\".\n\n    c) You must license the entire work, as a whole, under this\n    License to anyone who comes into possession of a copy.  This\n    License will therefore apply, along with any applicable section 7\n    additional terms, to the whole of the work, and all its parts,\n    regardless of how they are packaged.  This License gives no\n    permission to license the work in any other way, but it does not\n    invalidate such permission if you have separately received it.\n\n    d) If the work has interactive user interfaces, each must display\n    Appropriate Legal Notices; however, if the Program has interactive\n    interfaces that do not display Appropriate Legal Notices, your\n    work need not make them do so.\n\n  A compilation of a covered work with other separate and independent\nworks, which are not by their nature extensions of the covered work,\nand which are not combined with it such as to form a larger program,\nin or on a volume of a storage or distribution medium, is called an\n\"aggregate\" if the compilation and its resulting copyright are not\nused to limit the access or legal rights of the compilation's users\nbeyond what the individual works permit.  Inclusion of a covered work\nin an aggregate does not cause this License to apply to the other\nparts of the aggregate.\n\n  6. Conveying Non-Source Forms.\n\n  You may convey a covered work in object code form under the terms\nof sections 4 and 5, provided that you also convey the\nmachine-readable Corresponding Source under the terms of this License,\nin one of these ways:\n\n    a) Convey the object code in, or embodied in, a physical product\n    (including a physical distribution medium), accompanied by the\n    Corresponding Source fixed on a durable physical medium\n    customarily used for software interchange.\n\n    b) Convey the object code in, or embodied in, a physical product\n    (including a physical distribution medium), accompanied by a\n    written offer, valid for at least three years and valid for as\n    long as you offer spare parts or customer support for that product\n    model, to give anyone who possesses the object code either (1) a\n    copy of the Corresponding Source for all the software in the\n    product that is covered by this License, on a durable physical\n    medium customarily used for software interchange, for a price no\n    more than your reasonable cost of physically performing this\n    conveying of source, or (2) access to copy the\n    Corresponding Source from a network server at no charge.\n\n    c) Convey individual copies of the object code with a copy of the\n    written offer to provide the Corresponding Source.  This\n    alternative is allowed only occasionally and noncommercially, and\n    only if you received the object code with such an offer, in accord\n    with subsection 6b.\n\n    d) Convey the object code by offering access from a designated\n    place (gratis or for a charge), and offer equivalent access to the\n    Corresponding Source in the same way through the same place at no\n    further charge.  You need not require recipients to copy the\n    Corresponding Source along with the object code.  If the place to\n    copy the object code is a network server, the Corresponding Source\n    may be on a different server (operated by you or a third party)\n    that supports equivalent copying facilities, provided you maintain\n    clear directions next to the object code saying where to find the\n    Corresponding Source.  Regardless of what server hosts the\n    Corresponding Source, you remain obligated to ensure that it is\n    available for as long as needed to satisfy these requirements.\n\n    e) Convey the object code using peer-to-peer transmission, provided\n    you inform other peers where the object code and Corresponding\n    Source of the work are being offered to the general public at no\n    charge under subsection 6d.\n\n  A separable portion of the object code, whose source code is excluded\nfrom the Corresponding Source as a System Library, need not be\nincluded in conveying the object code work.\n\n  A \"User Product\" is either (1) a \"consumer product\", which means any\ntangible personal property which is normally used for personal, family,\nor household purposes, or (2) anything designed or sold for incorporation\ninto a dwelling.  In determining whether a product is a consumer product,\ndoubtful cases shall be resolved in favor of coverage.  For a particular\nproduct received by a particular user, \"normally used\" refers to a\ntypical or common use of that class of product, regardless of the status\nof the particular user or of the way in which the particular user\nactually uses, or expects or is expected to use, the product.  A product\nis a consumer product regardless of whether the product has substantial\ncommercial, industrial or non-consumer uses, unless such uses represent\nthe only significant mode of use of the product.\n\n  \"Installation Information\" for a User Product means any methods,\nprocedures, authorization keys, or other information required to install\nand execute modified versions of a covered work in that User Product from\na modified version of its Corresponding Source.  The information must\nsuffice to ensure that the continued functioning of the modified object\ncode is in no case prevented or interfered with solely because\nmodification has been made.\n\n  If you convey an object code work under this section in, or with, or\nspecifically for use in, a User Product, and the conveying occurs as\npart of a transaction in which the right of possession and use of the\nUser Product is transferred to the recipient in perpetuity or for a\nfixed term (regardless of how the transaction is characterized), the\nCorresponding Source conveyed under this section must be accompanied\nby the Installation Information.  But this requirement does not apply\nif neither you nor any third party retains the ability to install\nmodified object code on the User Product (for example, the work has\nbeen installed in ROM).\n\n  The requirement to provide Installation Information does not include a\nrequirement to continue to provide support service, warranty, or updates\nfor a work that has been modified or installed by the recipient, or for\nthe User Product in which it has been modified or installed.  Access to a\nnetwork may be denied when the modification itself materially and\nadversely affects the operation of the network or violates the rules and\nprotocols for communication across the network.\n\n  Corresponding Source conveyed, and Installation Information provided,\nin accord with this section must be in a format that is publicly\ndocumented (and with an implementation available to the public in\nsource code form), and must require no special password or key for\nunpacking, reading or copying.\n\n  7. Additional Terms.\n\n  \"Additional permissions\" are terms that supplement the terms of this\nLicense by making exceptions from one or more of its conditions.\nAdditional permissions that are applicable to the entire Program shall\nbe treated as though they were included in this License, to the extent\nthat they are valid under applicable law.  If additional permissions\napply only to part of the Program, that part may be used separately\nunder those permissions, but the entire Program remains governed by\nthis License without regard to the additional permissions.\n\n  When you convey a copy of a covered work, you may at your option\nremove any additional permissions from that copy, or from any part of\nit.  (Additional permissions may be written to require their own\nremoval in certain cases when you modify the work.)  You may place\nadditional permissions on material, added by you to a covered work,\nfor which you have or can give appropriate copyright permission.\n\n  Notwithstanding any other provision of this License, for material you\nadd to a covered work, you may (if authorized by the copyright holders of\nthat material) supplement the terms of this License with terms:\n\n    a) Disclaiming warranty or limiting liability differently from the\n    terms of sections 15 and 16 of this License; or\n\n    b) Requiring preservation of specified reasonable legal notices or\n    author attributions in that material or in the Appropriate Legal\n    Notices displayed by works containing it; or\n\n    c) Prohibiting misrepresentation of the origin of that material, or\n    requiring that modified versions of such material be marked in\n    reasonable ways as different from the original version; or\n\n    d) Limiting the use for publicity purposes of names of licensors or\n    authors of the material; or\n\n    e) Declining to grant rights under trademark law for use of some\n    trade names, trademarks, or service marks; or\n\n    f) Requiring indemnification of licensors and authors of that\n    material by anyone who conveys the material (or modified versions of\n    it) with contractual assumptions of liability to the recipient, for\n    any liability that these contractual assumptions directly impose on\n    those licensors and authors.\n\n  All other non-permissive additional terms are considered \"further\nrestrictions\" within the meaning of section 10.  If the Program as you\nreceived it, or any part of it, contains a notice stating that it is\ngoverned by this License along with a term that is a further\nrestriction, you may remove that term.  If a license document contains\na further restriction but permits relicensing or conveying under this\nLicense, you may add to a covered work material governed by the terms\nof that license document, provided that the further restriction does\nnot survive such relicensing or conveying.\n\n  If you add terms to a covered work in accord with this section, you\nmust place, in the relevant source files, a statement of the\nadditional terms that apply to those files, or a notice indicating\nwhere to find the applicable terms.\n\n  Additional terms, permissive or non-permissive, may be stated in the\nform of a separately written license, or stated as exceptions;\nthe above requirements apply either way.\n\n  8. Termination.\n\n  You may not propagate or modify a covered work except as expressly\nprovided under this License.  Any attempt otherwise to propagate or\nmodify it is void, and will automatically terminate your rights under\nthis License (including any patent licenses granted under the third\nparagraph of section 11).\n\n  However, if you cease all violation of this License, then your\nlicense from a particular copyright holder is reinstated (a)\nprovisionally, unless and until the copyright holder explicitly and\nfinally terminates your license, and (b) permanently, if the copyright\nholder fails to notify you of the violation by some reasonable means\nprior to 60 days after the cessation.\n\n  Moreover, your license from a particular copyright holder is\nreinstated permanently if the copyright holder notifies you of the\nviolation by some reasonable means, this is the first time you have\nreceived notice of violation of this License (for any work) from that\ncopyright holder, and you cure the violation prior to 30 days after\nyour receipt of the notice.\n\n  Termination of your rights under this section does not terminate the\nlicenses of parties who have received copies or rights from you under\nthis License.  If your rights have been terminated and not permanently\nreinstated, you do not qualify to receive new licenses for the same\nmaterial under section 10.\n\n  9. Acceptance Not Required for Having Copies.\n\n  You are not required to accept this License in order to receive or\nrun a copy of the Program.  Ancillary propagation of a covered work\noccurring solely as a consequence of using peer-to-peer transmission\nto receive a copy likewise does not require acceptance.  However,\nnothing other than this License grants you permission to propagate or\nmodify any covered work.  These actions infringe copyright if you do\nnot accept this License.  Therefore, by modifying or propagating a\ncovered work, you indicate your acceptance of this License to do so.\n\n  10. Automatic Licensing of Downstream Recipients.\n\n  Each time you convey a covered work, the recipient automatically\nreceives a license from the original licensors, to run, modify and\npropagate that work, subject to this License.  You are not responsible\nfor enforcing compliance by third parties with this License.\n\n  An \"entity transaction\" is a transaction transferring control of an\norganization, or substantially all assets of one, or subdividing an\norganization, or merging organizations.  If propagation of a covered\nwork results from an entity transaction, each party to that\ntransaction who receives a copy of the work also receives whatever\nlicenses to the work the party's predecessor in interest had or could\ngive under the previous paragraph, plus a right to possession of the\nCorresponding Source of the work from the predecessor in interest, if\nthe predecessor has it or can get it with reasonable efforts.\n\n  You may not impose any further restrictions on the exercise of the\nrights granted or affirmed under this License.  For example, you may\nnot impose a license fee, royalty, or other charge for exercise of\nrights granted under this License, and you may not initiate litigation\n(including a cross-claim or counterclaim in a lawsuit) alleging that\nany patent claim is infringed by making, using, selling, offering for\nsale, or importing the Program or any portion of it.\n\n  11. Patents.\n\n  A \"contributor\" is a copyright holder who authorizes use under this\nLicense of the Program or a work on which the Program is based.  The\nwork thus licensed is called the contributor's \"contributor version\".\n\n  A contributor's \"essential patent claims\" are all patent claims\nowned or controlled by the contributor, whether already acquired or\nhereafter acquired, that would be infringed by some manner, permitted\nby this License, of making, using, or selling its contributor version,\nbut do not include claims that would be infringed only as a\nconsequence of further modification of the contributor version.  For\npurposes of this definition, \"control\" includes the right to grant\npatent sublicenses in a manner consistent with the requirements of\nthis License.\n\n  Each contributor grants you a non-exclusive, worldwide, royalty-free\npatent license under the contributor's essential patent claims, to\nmake, use, sell, offer for sale, import and otherwise run, modify and\npropagate the contents of its contributor version.\n\n  In the following three paragraphs, a \"patent license\" is any express\nagreement or commitment, however denominated, not to enforce a patent\n(such as an express permission to practice a patent or covenant not to\nsue for patent infringement).  To \"grant\" such a patent license to a\nparty means to make such an agreement or commitment not to enforce a\npatent against the party.\n\n  If you convey a covered work, knowingly relying on a patent license,\nand the Corresponding Source of the work is not available for anyone\nto copy, free of charge and under the terms of this License, through a\npublicly available network server or other readily accessible means,\nthen you must either (1) cause the Corresponding Source to be so\navailable, or (2) arrange to deprive yourself of the benefit of the\npatent license for this particular work, or (3) arrange, in a manner\nconsistent with the requirements of this License, to extend the patent\nlicense to downstream recipients.  \"Knowingly relying\" means you have\nactual knowledge that, but for the patent license, your conveying the\ncovered work in a country, or your recipient's use of the covered work\nin a country, would infringe one or more identifiable patents in that\ncountry that you have reason to believe are valid.\n\n  If, pursuant to or in connection with a single transaction or\narrangement, you convey, or propagate by procuring conveyance of, a\ncovered work, and grant a patent license to some of the parties\nreceiving the covered work authorizing them to use, propagate, modify\nor convey a specific copy of the covered work, then the patent license\nyou grant is automatically extended to all recipients of the covered\nwork and works based on it.\n\n  A patent license is \"discriminatory\" if it does not include within\nthe scope of its coverage, prohibits the exercise of, or is\nconditioned on the non-exercise of one or more of the rights that are\nspecifically granted under this License.  You may not convey a covered\nwork if you are a party to an arrangement with a third party that is\nin the business of distributing software, under which you make payment\nto the third party based on the extent of your activity of conveying\nthe work, and under which the third party grants, to any of the\nparties who would receive the covered work from you, a discriminatory\npatent license (a) in connection with copies of the covered work\nconveyed by you (or copies made from those copies), or (b) primarily\nfor and in connection with specific products or compilations that\ncontain the covered work, unless you entered into that arrangement,\nor that patent license was granted, prior to 28 March 2007.\n\n  Nothing in this License shall be construed as excluding or limiting\nany implied license or other defenses to infringement that may\notherwise be available to you under applicable patent law.\n\n  12. No Surrender of Others' Freedom.\n\n  If conditions are imposed on you (whether by court order, agreement or\notherwise) that contradict the conditions of this License, they do not\nexcuse you from the conditions of this License.  If you cannot convey a\ncovered work so as to satisfy simultaneously your obligations under this\nLicense and any other pertinent obligations, then as a consequence you may\nnot convey it at all.  For example, if you agree to terms that obligate you\nto collect a royalty for further conveying from those to whom you convey\nthe Program, the only way you could satisfy both those terms and this\nLicense would be to refrain entirely from conveying the Program.\n\n  13. Remote Network Interaction; Use with the GNU General Public License.\n\n  Notwithstanding any other provision of this License, if you modify the\nProgram, your modified version must prominently offer all users\ninteracting with it remotely through a computer network (if your version\nsupports such interaction) an opportunity to receive the Corresponding\nSource of your version by providing access to the Corresponding Source\nfrom a network server at no charge, through some standard or customary\nmeans of facilitating copying of software.  This Corresponding Source\nshall include the Corresponding Source for any work covered by version 3\nof the GNU General Public License that is incorporated pursuant to the\nfollowing paragraph.\n\n  Notwithstanding any other provision of this License, you have\npermission to link or combine any covered work with a work licensed\nunder version 3 of the GNU General Public License into a single\ncombined work, and to convey the resulting work.  The terms of this\nLicense will continue to apply to the part which is the covered work,\nbut the work with which it is combined will remain governed by version\n3 of the GNU General Public License.\n\n  14. Revised Versions of this License.\n\n  The Free Software Foundation may publish revised and/or new versions of\nthe GNU Affero General Public License from time to time.  Such new versions\nwill be similar in spirit to the present version, but may differ in detail to\naddress new problems or concerns.\n\n  Each version is given a distinguishing version number.  If the\nProgram specifies that a certain numbered version of the GNU Affero General\nPublic License \"or any later version\" applies to it, you have the\noption of following the terms and conditions either of that numbered\nversion or of any later version published by the Free Software\nFoundation.  If the Program does not specify a version number of the\nGNU Affero General Public License, you may choose any version ever published\nby the Free Software Foundation.\n\n  If the Program specifies that a proxy can decide which future\nversions of the GNU Affero General Public License can be used, that proxy's\npublic statement of acceptance of a version permanently authorizes you\nto choose that version for the Program.\n\n  Later license versions may give you additional or different\npermissions.  However, no additional obligations are imposed on any\nauthor or copyright holder as a result of your choosing to follow a\nlater version.\n\n  15. Disclaimer of Warranty.\n\n  THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY\nAPPLICABLE LAW.  EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT\nHOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM \"AS IS\" WITHOUT WARRANTY\nOF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,\nTHE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\nPURPOSE.  THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM\nIS WITH YOU.  SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF\nALL NECESSARY SERVICING, REPAIR OR CORRECTION.\n\n  16. Limitation of Liability.\n\n  IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING\nWILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS\nTHE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY\nGENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE\nUSE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF\nDATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD\nPARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),\nEVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF\nSUCH DAMAGES.\n\n  17. Interpretation of Sections 15 and 16.\n\n  If the disclaimer of warranty and limitation of liability provided\nabove cannot be given local legal effect according to their terms,\nreviewing courts shall apply local law that most closely approximates\nan absolute waiver of all civil liability in connection with the\nProgram, unless a warranty or assumption of liability accompanies a\ncopy of the Program in return for a fee.\n\n                     END OF TERMS AND CONDITIONS\n\n            How to Apply These Terms to Your New Programs\n\n  If you develop a new program, and you want it to be of the greatest\npossible use to the public, the best way to achieve this is to make it\nfree software which everyone can redistribute and change under these terms.\n\n  To do so, attach the following notices to the program.  It is safest\nto attach them to the start of each source file to most effectively\nstate the exclusion of warranty; and each file should have at least\nthe \"copyright\" line and a pointer to where the full notice is found.\n\n    <one line to give the program's name and a brief idea of what it does.>\n    Copyright (C) <year>  <name of author>\n\n    This program is free software: you can redistribute it and/or modify\n    it under the terms of the GNU Affero General Public License as published by\n    the Free Software Foundation, either version 3 of the License, or\n    (at your option) any later version.\n\n    This program is distributed in the hope that it will be useful,\n    but WITHOUT ANY WARRANTY; without even the implied warranty of\n    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n    GNU Affero General Public License for more details.\n\n    You should have received a copy of the GNU Affero General Public License\n    along with this program.  If not, see <https://www.gnu.org/licenses/>.\n\nAlso add information on how to contact you by electronic and paper mail.\n\n  If your software can interact with users remotely through a computer\nnetwork, you should also make sure that it provides a way for users to\nget its source.  For example, if your program is a web application, its\ninterface could display a \"Source\" link that leads users to an archive\nof the code.  There are many ways you could offer source, and different\nsolutions will be better for different programs; see section 13 for the\nspecific requirements.\n\n  You should also get your employer (if you work as a programmer) or school,\nif any, to sign a \"copyright disclaimer\" for the program, if necessary.\nFor more information on this, and how to apply and follow the GNU AGPL, see\n<https://www.gnu.org/licenses/>.\n","dependencies":{"yup":"^0.32.11","axios":"0.27.2","blake2b":"^2.1.4","tweetnacl":"^1.0.3","wasmcurves":"0.2.1","web-worker":"^1.2.0","wasmbuilder":"^0.0.16","@vocdoni/proto":"1.15.3","tiny-invariant":"^1.3.1","readable-stream":"^4.4.2","@size-limit/file":"^8.2.4","iso-language-codes":"^1.1.0","@ethersproject/sha2":"^5.7.0","@ethersproject/bytes":"^5.7.0","@ethersproject/units":"^5.7.0","@ethersproject/wallet":"^5.7.0","@ethersproject/address":"^5.7.0","@ethersproject/strings":"^5.7.0","@ethersproject/bignumber":"^5.7.0","@ethersproject/keccak256":"^5.7.0","@ethersproject/providers":"^5.7.1","@ethersproject/signing-key":"^5.7.0","@ethersproject/abstract-signer":"^5.7.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.3.0","husky":"^8.0.2","tslib":"^2.4.0","buffer":"^6.0.3","eslint":"^8.27.0","rimraf":"^3.0.2","rollup":"^3.22.0","blakejs":"^1.2.1","esbuild":"^0.17.10","snarkjs":"vocdoni/snarkjs#v0.7.0-groth16browser","ts-jest":"^29.0.3","prettier":"^2.7.1","size-limit":"^8.1.0","typescript":"^4.8.4","@types/jest":"^29.2.2","circomlibjs":"^0.1.7","ffjavascript":"^0.2.59","blindsecp256k1":"^0.0.9","rollup-plugin-dts":"^5.1.1","@rollup/plugin-json":"^6.0.0","rollup-plugin-esbuild":"^5.0.0","eslint-config-prettier":"^8.5.0","eslint-plugin-prettier":"^4.2.1","@rollup/plugin-commonjs":"^24.0.0","@typescript-eslint/parser":"^5.42.1","@rollup/plugin-node-resolve":"^15.0.1","rollup-plugin-polyfill-node":"^0.12.0","@typescript-eslint/eslint-plugin":"^5.42.1"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.4.0_1696967363195_0.9772705131455366","host":"s3://npm-registry-packages"}},"0.4.1":{"name":"@vocdoni/sdk","version":"0.4.1","keywords":["voting","blockchain","vocdoni"],"author":{"name":"Vocdoni"},"license":"AGPL-3.0-or-later","_id":"@vocdoni/sdk@0.4.1","maintainers":[{"name":"elboletaire","email":"elboletaire@underave.net"},{"name":"emmdim","email":"manos@aragon.org"},{"name":"marcvelmer","email":"marc1987@gmail.com"},{"name":"brickpop","email":"itsbrickpop@gmail.com"},{"name":"jpainan","email":"jpainan@vocdoni.io"}],"dist":{"shasum":"f97d70bfe831da73f3966f1181aa838a5838d644","tarball":"https://registry.npmjs.org/@vocdoni/sdk/-/sdk-0.4.1.tgz","fileCount":13,"integrity":"sha512-6rfwMgJDqkFg2xmpGaKrcabZHdo55RvnQib/wh5X2s7aECEEl4MX8srijijSU6pLw+IIQWYfa63XBa2jKqTkGQ==","signatures":[{"sig":"MEUCIH6JM7IYg0m2M8h5RZKYiUVJ9f88BxRqLCGz14rBsp/kAiEAqEGpZTBua49Yfi/Kb8Df6fWKlVbNZbRdFeDbjYQIihg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":33167113},"jest":{"preset":"ts-jest","testEnvironment":"node"},"main":"dist/index.js","husky":{"hooks":{"pre-commit":"yarn lint"}},"types":"./dist/index.d.ts","module":"dist/index.mjs","engines":{"node":">=14"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./umd":{"types":"./dist/index.d.ts","default":"./dist/index.umd.js"},"./package.json":"./package.json"},"scripts":{"lint":"eslint src test --ext .js,.jsx,.ts,.tsx","size":"size-limit","test":"yarn test:unit && yarn test:api && yarn test:census3 && yarn test:service && yarn test:integration","build":"rollup -c","clean":"rimraf node_modules dist","start":"yarn watch","watch":"yarn build --watch","lintfix":"yarn lint --fix","prepare":"yarn build","test:api":"jest test/api","ts-types":"tsc --emitDeclarationOnly --outDir dist","test:unit":"jest test/unit --verbose","test:census3":"jest test/census3","test:service":"yarn test:service:census && yarn test:service:anonymous && yarn test:service:csp","test:integration":"yarn test:integration:account && yarn test:integration:csp && yarn test:integration:election && yarn test:integration:other","test:service:csp":"jest test/services/csp.test.ts","test:integration:zk":"jest test/integration/zk.test.ts --forceExit --runInBand","test:service:census":"jest test/services/census.test.ts","test:integration:csp":"jest test/integration/csp.test.ts","test:integration:other":"jest test/integration/other.test.ts","test:service:anonymous":"jest test/services/anonymous.test.ts","test:integration:account":"jest test/integration/account.test.ts","test:integration:election":"jest test/integration/election.test.ts"},"_npmUser":{"name":"emmdim","email":"manos@aragon.org"},"prettier":{"semi":true,"printWidth":120,"singleQuote":true,"trailingComma":"es5"},"deprecated":"0.4.x is no longer supported","repository":{"url":"https://github.com/vocdoni/vocdoni-sdk.git","type":"git"},"size-limit":[{"path":"dist/index.js","limit":"2 MB"},{"path":"dist/index.mjs","limit":"2 MB"},{"path":"dist/index.umd.js","limit":"2 MB"}],"description":"⚒️An SDK for building applications on top of Vocdoni API","directories":{},"licenseText":"                    GNU AFFERO GENERAL PUBLIC LICENSE\n                       Version 3, 19 November 2007\n\n Copyright (C) 2020 Vocdoni Roots MTU, <https://vocdoni.io>\n Everyone is permitted to copy and distribute verbatim copies\n of this license document, but changing it is not allowed.\n\n                            Preamble\n\n  The GNU Affero General Public License is a free, copyleft license for\nsoftware and other kinds of works, specifically designed to ensure\ncooperation with the community in the case of network server software.\n\n  The licenses for most software and other practical works are designed\nto take away your freedom to share and change the works.  By contrast,\nour General Public Licenses are intended to guarantee your freedom to\nshare and change all versions of a program--to make sure it remains free\nsoftware for all its users.\n\n  When we speak of free software, we are referring to freedom, not\nprice.  Our General Public Licenses are designed to make sure that you\nhave the freedom to distribute copies of free software (and charge for\nthem if you wish), that you receive source code or can get it if you\nwant it, that you can change the software or use pieces of it in new\nfree programs, and that you know you can do these things.\n\n  Developers that use our General Public Licenses protect your rights\nwith two steps: (1) assert copyright on the software, and (2) offer\nyou this License which gives you legal permission to copy, distribute\nand/or modify the software.\n\n  A secondary benefit of defending all users' freedom is that\nimprovements made in alternate versions of the program, if they\nreceive widespread use, become available for other developers to\nincorporate.  Many developers of free software are heartened and\nencouraged by the resulting cooperation.  However, in the case of\nsoftware used on network servers, this result may fail to come about.\nThe GNU General Public License permits making a modified version and\nletting the public access it on a server without ever releasing its\nsource code to the public.\n\n  The GNU Affero General Public License is designed specifically to\nensure that, in such cases, the modified source code becomes available\nto the community.  It requires the operator of a network server to\nprovide the source code of the modified version running there to the\nusers of that server.  Therefore, public use of a modified version, on\na publicly accessible server, gives the public access to the source\ncode of the modified version.\n\n  An older license, called the Affero General Public License and\npublished by Affero, was designed to accomplish similar goals.  This is\na different license, not a version of the Affero GPL, but Affero has\nreleased a new version of the Affero GPL which permits relicensing under\nthis license.\n\n  The precise terms and conditions for copying, distribution and\nmodification follow.\n\n                       TERMS AND CONDITIONS\n\n  0. Definitions.\n\n  \"This License\" refers to version 3 of the GNU Affero General Public License.\n\n  \"Copyright\" also means copyright-like laws that apply to other kinds of\nworks, such as semiconductor masks.\n\n  \"The Program\" refers to any copyrightable work licensed under this\nLicense.  Each licensee is addressed as \"you\".  \"Licensees\" and\n\"recipients\" may be individuals or organizations.\n\n  To \"modify\" a work means to copy from or adapt all or part of the work\nin a fashion requiring copyright permission, other than the making of an\nexact copy.  The resulting work is called a \"modified version\" of the\nearlier work or a work \"based on\" the earlier work.\n\n  A \"covered work\" means either the unmodified Program or a work based\non the Program.\n\n  To \"propagate\" a work means to do anything with it that, without\npermission, would make you directly or secondarily liable for\ninfringement under applicable copyright law, except executing it on a\ncomputer or modifying a private copy.  Propagation includes copying,\ndistribution (with or without modification), making available to the\npublic, and in some countries other activities as well.\n\n  To \"convey\" a work means any kind of propagation that enables other\nparties to make or receive copies.  Mere interaction with a user through\na computer network, with no transfer of a copy, is not conveying.\n\n  An interactive user interface displays \"Appropriate Legal Notices\"\nto the extent that it includes a convenient and prominently visible\nfeature that (1) displays an appropriate copyright notice, and (2)\ntells the user that there is no warranty for the work (except to the\nextent that warranties are provided), that licensees may convey the\nwork under this License, and how to view a copy of this License.  If\nthe interface presents a list of user commands or options, such as a\nmenu, a prominent item in the list meets this criterion.\n\n  1. Source Code.\n\n  The \"source code\" for a work means the preferred form of the work\nfor making modifications to it.  \"Object code\" means any non-source\nform of a work.\n\n  A \"Standard Interface\" means an interface that either is an official\nstandard defined by a recognized standards body, or, in the case of\ninterfaces specified for a particular programming language, one that\nis widely used among developers working in that language.\n\n  The \"System Libraries\" of an executable work include anything, other\nthan the work as a whole, that (a) is included in the normal form of\npackaging a Major Component, but which is not part of that Major\nComponent, and (b) serves only to enable use of the work with that\nMajor Component, or to implement a Standard Interface for which an\nimplementation is available to the public in source code form.  A\n\"Major Component\", in this context, means a major essential component\n(kernel, window system, and so on) of the specific operating system\n(if any) on which the executable work runs, or a compiler used to\nproduce the work, or an object code interpreter used to run it.\n\n  The \"Corresponding Source\" for a work in object code form means all\nthe source code needed to generate, install, and (for an executable\nwork) run the object code and to modify the work, including scripts to\ncontrol those activities.  However, it does not include the work's\nSystem Libraries, or general-purpose tools or generally available free\nprograms which are used unmodified in performing those activities but\nwhich are not part of the work.  For example, Corresponding Source\nincludes interface definition files associated with source files for\nthe work, and the source code for shared libraries and dynamically\nlinked subprograms that the work is specifically designed to require,\nsuch as by intimate data communication or control flow between those\nsubprograms and other parts of the work.\n\n  The Corresponding Source need not include anything that users\ncan regenerate automatically from other parts of the Corresponding\nSource.\n\n  The Corresponding Source for a work in source code form is that\nsame work.\n\n  2. Basic Permissions.\n\n  All rights granted under this License are granted for the term of\ncopyright on the Program, and are irrevocable provided the stated\nconditions are met.  This License explicitly affirms your unlimited\npermission to run the unmodified Program.  The output from running a\ncovered work is covered by this License only if the output, given its\ncontent, constitutes a covered work.  This License acknowledges your\nrights of fair use or other equivalent, as provided by copyright law.\n\n  You may make, run and propagate covered works that you do not\nconvey, without conditions so long as your license otherwise remains\nin force.  You may convey covered works to others for the sole purpose\nof having them make modifications exclusively for you, or provide you\nwith facilities for running those works, provided that you comply with\nthe terms of this License in conveying all material for which you do\nnot control copyright.  Those thus making or running the covered works\nfor you must do so exclusively on your behalf, under your direction\nand control, on terms that prohibit them from making any copies of\nyour copyrighted material outside their relationship with you.\n\n  Conveying under any other circumstances is permitted solely under\nthe conditions stated below.  Sublicensing is not allowed; section 10\nmakes it unnecessary.\n\n  3. Protecting Users' Legal Rights From Anti-Circumvention Law.\n\n  No covered work shall be deemed part of an effective technological\nmeasure under any applicable law fulfilling obligations under article\n11 of the WIPO copyright treaty adopted on 20 December 1996, or\nsimilar laws prohibiting or restricting circumvention of such\nmeasures.\n\n  When you convey a covered work, you waive any legal power to forbid\ncircumvention of technological measures to the extent such circumvention\nis effected by exercising rights under this License with respect to\nthe covered work, and you disclaim any intention to limit operation or\nmodification of the work as a means of enforcing, against the work's\nusers, your or third parties' legal rights to forbid circumvention of\ntechnological measures.\n\n  4. Conveying Verbatim Copies.\n\n  You may convey verbatim copies of the Program's source code as you\nreceive it, in any medium, provided that you conspicuously and\nappropriately publish on each copy an appropriate copyright notice;\nkeep intact all notices stating that this License and any\nnon-permissive terms added in accord with section 7 apply to the code;\nkeep intact all notices of the absence of any warranty; and give all\nrecipients a copy of this License along with the Program.\n\n  You may charge any price or no price for each copy that you convey,\nand you may offer support or warranty protection for a fee.\n\n  5. Conveying Modified Source Versions.\n\n  You may convey a work based on the Program, or the modifications to\nproduce it from the Program, in the form of source code under the\nterms of section 4, provided that you also meet all of these conditions:\n\n    a) The work must carry prominent notices stating that you modified\n    it, and giving a relevant date.\n\n    b) The work must carry prominent notices stating that it is\n    released under this License and any conditions added under section\n    7.  This requirement modifies the requirement in section 4 to\n    \"keep intact all notices\".\n\n    c) You must license the entire work, as a whole, under this\n    License to anyone who comes into possession of a copy.  This\n    License will therefore apply, along with any applicable section 7\n    additional terms, to the whole of the work, and all its parts,\n    regardless of how they are packaged.  This License gives no\n    permission to license the work in any other way, but it does not\n    invalidate such permission if you have separately received it.\n\n    d) If the work has interactive user interfaces, each must display\n    Appropriate Legal Notices; however, if the Program has interactive\n    interfaces that do not display Appropriate Legal Notices, your\n    work need not make them do so.\n\n  A compilation of a covered work with other separate and independent\nworks, which are not by their nature extensions of the covered work,\nand which are not combined with it such as to form a larger program,\nin or on a volume of a storage or distribution medium, is called an\n\"aggregate\" if the compilation and its resulting copyright are not\nused to limit the access or legal rights of the compilation's users\nbeyond what the individual works permit.  Inclusion of a covered work\nin an aggregate does not cause this License to apply to the other\nparts of the aggregate.\n\n  6. Conveying Non-Source Forms.\n\n  You may convey a covered work in object code form under the terms\nof sections 4 and 5, provided that you also convey the\nmachine-readable Corresponding Source under the terms of this License,\nin one of these ways:\n\n    a) Convey the object code in, or embodied in, a physical product\n    (including a physical distribution medium), accompanied by the\n    Corresponding Source fixed on a durable physical medium\n    customarily used for software interchange.\n\n    b) Convey the object code in, or embodied in, a physical product\n    (including a physical distribution medium), accompanied by a\n    written offer, valid for at least three years and valid for as\n    long as you offer spare parts or customer support for that product\n    model, to give anyone who possesses the object code either (1) a\n    copy of the Corresponding Source for all the software in the\n    product that is covered by this License, on a durable physical\n    medium customarily used for software interchange, for a price no\n    more than your reasonable cost of physically performing this\n    conveying of source, or (2) access to copy the\n    Corresponding Source from a network server at no charge.\n\n    c) Convey individual copies of the object code with a copy of the\n    written offer to provide the Corresponding Source.  This\n    alternative is allowed only occasionally and noncommercially, and\n    only if you received the object code with such an offer, in accord\n    with subsection 6b.\n\n    d) Convey the object code by offering access from a designated\n    place (gratis or for a charge), and offer equivalent access to the\n    Corresponding Source in the same way through the same place at no\n    further charge.  You need not require recipients to copy the\n    Corresponding Source along with the object code.  If the place to\n    copy the object code is a network server, the Corresponding Source\n    may be on a different server (operated by you or a third party)\n    that supports equivalent copying facilities, provided you maintain\n    clear directions next to the object code saying where to find the\n    Corresponding Source.  Regardless of what server hosts the\n    Corresponding Source, you remain obligated to ensure that it is\n    available for as long as needed to satisfy these requirements.\n\n    e) Convey the object code using peer-to-peer transmission, provided\n    you inform other peers where the object code and Corresponding\n    Source of the work are being offered to the general public at no\n    charge under subsection 6d.\n\n  A separable portion of the object code, whose source code is excluded\nfrom the Corresponding Source as a System Library, need not be\nincluded in conveying the object code work.\n\n  A \"User Product\" is either (1) a \"consumer product\", which means any\ntangible personal property which is normally used for personal, family,\nor household purposes, or (2) anything designed or sold for incorporation\ninto a dwelling.  In determining whether a product is a consumer product,\ndoubtful cases shall be resolved in favor of coverage.  For a particular\nproduct received by a particular user, \"normally used\" refers to a\ntypical or common use of that class of product, regardless of the status\nof the particular user or of the way in which the particular user\nactually uses, or expects or is expected to use, the product.  A product\nis a consumer product regardless of whether the product has substantial\ncommercial, industrial or non-consumer uses, unless such uses represent\nthe only significant mode of use of the product.\n\n  \"Installation Information\" for a User Product means any methods,\nprocedures, authorization keys, or other information required to install\nand execute modified versions of a covered work in that User Product from\na modified version of its Corresponding Source.  The information must\nsuffice to ensure that the continued functioning of the modified object\ncode is in no case prevented or interfered with solely because\nmodification has been made.\n\n  If you convey an object code work under this section in, or with, or\nspecifically for use in, a User Product, and the conveying occurs as\npart of a transaction in which the right of possession and use of the\nUser Product is transferred to the recipient in perpetuity or for a\nfixed term (regardless of how the transaction is characterized), the\nCorresponding Source conveyed under this section must be accompanied\nby the Installation Information.  But this requirement does not apply\nif neither you nor any third party retains the ability to install\nmodified object code on the User Product (for example, the work has\nbeen installed in ROM).\n\n  The requirement to provide Installation Information does not include a\nrequirement to continue to provide support service, warranty, or updates\nfor a work that has been modified or installed by the recipient, or for\nthe User Product in which it has been modified or installed.  Access to a\nnetwork may be denied when the modification itself materially and\nadversely affects the operation of the network or violates the rules and\nprotocols for communication across the network.\n\n  Corresponding Source conveyed, and Installation Information provided,\nin accord with this section must be in a format that is publicly\ndocumented (and with an implementation available to the public in\nsource code form), and must require no special password or key for\nunpacking, reading or copying.\n\n  7. Additional Terms.\n\n  \"Additional permissions\" are terms that supplement the terms of this\nLicense by making exceptions from one or more of its conditions.\nAdditional permissions that are applicable to the entire Program shall\nbe treated as though they were included in this License, to the extent\nthat they are valid under applicable law.  If additional permissions\napply only to part of the Program, that part may be used separately\nunder those permissions, but the entire Program remains governed by\nthis License without regard to the additional permissions.\n\n  When you convey a copy of a covered work, you may at your option\nremove any additional permissions from that copy, or from any part of\nit.  (Additional permissions may be written to require their own\nremoval in certain cases when you modify the work.)  You may place\nadditional permissions on material, added by you to a covered work,\nfor which you have or can give appropriate copyright permission.\n\n  Notwithstanding any other provision of this License, for material you\nadd to a covered work, you may (if authorized by the copyright holders of\nthat material) supplement the terms of this License with terms:\n\n    a) Disclaiming warranty or limiting liability differently from the\n    terms of sections 15 and 16 of this License; or\n\n    b) Requiring preservation of specified reasonable legal notices or\n    author attributions in that material or in the Appropriate Legal\n    Notices displayed by works containing it; or\n\n    c) Prohibiting misrepresentation of the origin of that material, or\n    requiring that modified versions of such material be marked in\n    reasonable ways as different from the original version; or\n\n    d) Limiting the use for publicity purposes of names of licensors or\n    authors of the material; or\n\n    e) Declining to grant rights under trademark law for use of some\n    trade names, trademarks, or service marks; or\n\n    f) Requiring indemnification of licensors and authors of that\n    material by anyone who conveys the material (or modified versions of\n    it) with contractual assumptions of liability to the recipient, for\n    any liability that these contractual assumptions directly impose on\n    those licensors and authors.\n\n  All other non-permissive additional terms are considered \"further\nrestrictions\" within the meaning of section 10.  If the Program as you\nreceived it, or any part of it, contains a notice stating that it is\ngoverned by this License along with a term that is a further\nrestriction, you may remove that term.  If a license document contains\na further restriction but permits relicensing or conveying under this\nLicense, you may add to a covered work material governed by the terms\nof that license document, provided that the further restriction does\nnot survive such relicensing or conveying.\n\n  If you add terms to a covered work in accord with this section, you\nmust place, in the relevant source files, a statement of the\nadditional terms that apply to those files, or a notice indicating\nwhere to find the applicable terms.\n\n  Additional terms, permissive or non-permissive, may be stated in the\nform of a separately written license, or stated as exceptions;\nthe above requirements apply either way.\n\n  8. Termination.\n\n  You may not propagate or modify a covered work except as expressly\nprovided under this License.  Any attempt otherwise to propagate or\nmodify it is void, and will automatically terminate your rights under\nthis License (including any patent licenses granted under the third\nparagraph of section 11).\n\n  However, if you cease all violation of this License, then your\nlicense from a particular copyright holder is reinstated (a)\nprovisionally, unless and until the copyright holder explicitly and\nfinally terminates your license, and (b) permanently, if the copyright\nholder fails to notify you of the violation by some reasonable means\nprior to 60 days after the cessation.\n\n  Moreover, your license from a particular copyright holder is\nreinstated permanently if the copyright holder notifies you of the\nviolation by some reasonable means, this is the first time you have\nreceived notice of violation of this License (for any work) from that\ncopyright holder, and you cure the violation prior to 30 days after\nyour receipt of the notice.\n\n  Termination of your rights under this section does not terminate the\nlicenses of parties who have received copies or rights from you under\nthis License.  If your rights have been terminated and not permanently\nreinstated, you do not qualify to receive new licenses for the same\nmaterial under section 10.\n\n  9. Acceptance Not Required for Having Copies.\n\n  You are not required to accept this License in order to receive or\nrun a copy of the Program.  Ancillary propagation of a covered work\noccurring solely as a consequence of using peer-to-peer transmission\nto receive a copy likewise does not require acceptance.  However,\nnothing other than this License grants you permission to propagate or\nmodify any covered work.  These actions infringe copyright if you do\nnot accept this License.  Therefore, by modifying or propagating a\ncovered work, you indicate your acceptance of this License to do so.\n\n  10. Automatic Licensing of Downstream Recipients.\n\n  Each time you convey a covered work, the recipient automatically\nreceives a license from the original licensors, to run, modify and\npropagate that work, subject to this License.  You are not responsible\nfor enforcing compliance by third parties with this License.\n\n  An \"entity transaction\" is a transaction transferring control of an\norganization, or substantially all assets of one, or subdividing an\norganization, or merging organizations.  If propagation of a covered\nwork results from an entity transaction, each party to that\ntransaction who receives a copy of the work also receives whatever\nlicenses to the work the party's predecessor in interest had or could\ngive under the previous paragraph, plus a right to possession of the\nCorresponding Source of the work from the predecessor in interest, if\nthe predecessor has it or can get it with reasonable efforts.\n\n  You may not impose any further restrictions on the exercise of the\nrights granted or affirmed under this License.  For example, you may\nnot impose a license fee, royalty, or other charge for exercise of\nrights granted under this License, and you may not initiate litigation\n(including a cross-claim or counterclaim in a lawsuit) alleging that\nany patent claim is infringed by making, using, selling, offering for\nsale, or importing the Program or any portion of it.\n\n  11. Patents.\n\n  A \"contributor\" is a copyright holder who authorizes use under this\nLicense of the Program or a work on which the Program is based.  The\nwork thus licensed is called the contributor's \"contributor version\".\n\n  A contributor's \"essential patent claims\" are all patent claims\nowned or controlled by the contributor, whether already acquired or\nhereafter acquired, that would be infringed by some manner, permitted\nby this License, of making, using, or selling its contributor version,\nbut do not include claims that would be infringed only as a\nconsequence of further modification of the contributor version.  For\npurposes of this definition, \"control\" includes the right to grant\npatent sublicenses in a manner consistent with the requirements of\nthis License.\n\n  Each contributor grants you a non-exclusive, worldwide, royalty-free\npatent license under the contributor's essential patent claims, to\nmake, use, sell, offer for sale, import and otherwise run, modify and\npropagate the contents of its contributor version.\n\n  In the following three paragraphs, a \"patent license\" is any express\nagreement or commitment, however denominated, not to enforce a patent\n(such as an express permission to practice a patent or covenant not to\nsue for patent infringement).  To \"grant\" such a patent license to a\nparty means to make such an agreement or commitment not to enforce a\npatent against the party.\n\n  If you convey a covered work, knowingly relying on a patent license,\nand the Corresponding Source of the work is not available for anyone\nto copy, free of charge and under the terms of this License, through a\npublicly available network server or other readily accessible means,\nthen you must either (1) cause the Corresponding Source to be so\navailable, or (2) arrange to deprive yourself of the benefit of the\npatent license for this particular work, or (3) arrange, in a manner\nconsistent with the requirements of this License, to extend the patent\nlicense to downstream recipients.  \"Knowingly relying\" means you have\nactual knowledge that, but for the patent license, your conveying the\ncovered work in a country, or your recipient's use of the covered work\nin a country, would infringe one or more identifiable patents in that\ncountry that you have reason to believe are valid.\n\n  If, pursuant to or in connection with a single transaction or\narrangement, you convey, or propagate by procuring conveyance of, a\ncovered work, and grant a patent license to some of the parties\nreceiving the covered work authorizing them to use, propagate, modify\nor convey a specific copy of the covered work, then the patent license\nyou grant is automatically extended to all recipients of the covered\nwork and works based on it.\n\n  A patent license is \"discriminatory\" if it does not include within\nthe scope of its coverage, prohibits the exercise of, or is\nconditioned on the non-exercise of one or more of the rights that are\nspecifically granted under this License.  You may not convey a covered\nwork if you are a party to an arrangement with a third party that is\nin the business of distributing software, under which you make payment\nto the third party based on the extent of your activity of conveying\nthe work, and under which the third party grants, to any of the\nparties who would receive the covered work from you, a discriminatory\npatent license (a) in connection with copies of the covered work\nconveyed by you (or copies made from those copies), or (b) primarily\nfor and in connection with specific products or compilations that\ncontain the covered work, unless you entered into that arrangement,\nor that patent license was granted, prior to 28 March 2007.\n\n  Nothing in this License shall be construed as excluding or limiting\nany implied license or other defenses to infringement that may\notherwise be available to you under applicable patent law.\n\n  12. No Surrender of Others' Freedom.\n\n  If conditions are imposed on you (whether by court order, agreement or\notherwise) that contradict the conditions of this License, they do not\nexcuse you from the conditions of this License.  If you cannot convey a\ncovered work so as to satisfy simultaneously your obligations under this\nLicense and any other pertinent obligations, then as a consequence you may\nnot convey it at all.  For example, if you agree to terms that obligate you\nto collect a royalty for further conveying from those to whom you convey\nthe Program, the only way you could satisfy both those terms and this\nLicense would be to refrain entirely from conveying the Program.\n\n  13. Remote Network Interaction; Use with the GNU General Public License.\n\n  Notwithstanding any other provision of this License, if you modify the\nProgram, your modified version must prominently offer all users\ninteracting with it remotely through a computer network (if your version\nsupports such interaction) an opportunity to receive the Corresponding\nSource of your version by providing access to the Corresponding Source\nfrom a network server at no charge, through some standard or customary\nmeans of facilitating copying of software.  This Corresponding Source\nshall include the Corresponding Source for any work covered by version 3\nof the GNU General Public License that is incorporated pursuant to the\nfollowing paragraph.\n\n  Notwithstanding any other provision of this License, you have\npermission to link or combine any covered work with a work licensed\nunder version 3 of the GNU General Public License into a single\ncombined work, and to convey the resulting work.  The terms of this\nLicense will continue to apply to the part which is the covered work,\nbut the work with which it is combined will remain governed by version\n3 of the GNU General Public License.\n\n  14. Revised Versions of this License.\n\n  The Free Software Foundation may publish revised and/or new versions of\nthe GNU Affero General Public License from time to time.  Such new versions\nwill be similar in spirit to the present version, but may differ in detail to\naddress new problems or concerns.\n\n  Each version is given a distinguishing version number.  If the\nProgram specifies that a certain numbered version of the GNU Affero General\nPublic License \"or any later version\" applies to it, you have the\noption of following the terms and conditions either of that numbered\nversion or of any later version published by the Free Software\nFoundation.  If the Program does not specify a version number of the\nGNU Affero General Public License, you may choose any version ever published\nby the Free Software Foundation.\n\n  If the Program specifies that a proxy can decide which future\nversions of the GNU Affero General Public License can be used, that proxy's\npublic statement of acceptance of a version permanently authorizes you\nto choose that version for the Program.\n\n  Later license versions may give you additional or different\npermissions.  However, no additional obligations are imposed on any\nauthor or copyright holder as a result of your choosing to follow a\nlater version.\n\n  15. Disclaimer of Warranty.\n\n  THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY\nAPPLICABLE LAW.  EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT\nHOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM \"AS IS\" WITHOUT WARRANTY\nOF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,\nTHE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\nPURPOSE.  THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM\nIS WITH YOU.  SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF\nALL NECESSARY SERVICING, REPAIR OR CORRECTION.\n\n  16. Limitation of Liability.\n\n  IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING\nWILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS\nTHE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY\nGENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE\nUSE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF\nDATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD\nPARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),\nEVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF\nSUCH DAMAGES.\n\n  17. Interpretation of Sections 15 and 16.\n\n  If the disclaimer of warranty and limitation of liability provided\nabove cannot be given local legal effect according to their terms,\nreviewing courts shall apply local law that most closely approximates\nan absolute waiver of all civil liability in connection with the\nProgram, unless a warranty or assumption of liability accompanies a\ncopy of the Program in return for a fee.\n\n                     END OF TERMS AND CONDITIONS\n\n            How to Apply These Terms to Your New Programs\n\n  If you develop a new program, and you want it to be of the greatest\npossible use to the public, the best way to achieve this is to make it\nfree software which everyone can redistribute and change under these terms.\n\n  To do so, attach the following notices to the program.  It is safest\nto attach them to the start of each source file to most effectively\nstate the exclusion of warranty; and each file should have at least\nthe \"copyright\" line and a pointer to where the full notice is found.\n\n    <one line to give the program's name and a brief idea of what it does.>\n    Copyright (C) <year>  <name of author>\n\n    This program is free software: you can redistribute it and/or modify\n    it under the terms of the GNU Affero General Public License as published by\n    the Free Software Foundation, either version 3 of the License, or\n    (at your option) any later version.\n\n    This program is distributed in the hope that it will be useful,\n    but WITHOUT ANY WARRANTY; without even the implied warranty of\n    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n    GNU Affero General Public License for more details.\n\n    You should have received a copy of the GNU Affero General Public License\n    along with this program.  If not, see <https://www.gnu.org/licenses/>.\n\nAlso add information on how to contact you by electronic and paper mail.\n\n  If your software can interact with users remotely through a computer\nnetwork, you should also make sure that it provides a way for users to\nget its source.  For example, if your program is a web application, its\ninterface could display a \"Source\" link that leads users to an archive\nof the code.  There are many ways you could offer source, and different\nsolutions will be better for different programs; see section 13 for the\nspecific requirements.\n\n  You should also get your employer (if you work as a programmer) or school,\nif any, to sign a \"copyright disclaimer\" for the program, if necessary.\nFor more information on this, and how to apply and follow the GNU AGPL, see\n<https://www.gnu.org/licenses/>.\n","dependencies":{"yup":"^0.32.11","axios":"0.27.2","blake2b":"^2.1.4","tweetnacl":"^1.0.3","wasmcurves":"0.2.1","web-worker":"^1.2.0","wasmbuilder":"^0.0.16","@vocdoni/proto":"1.15.3","tiny-invariant":"^1.3.1","readable-stream":"^4.4.2","@size-limit/file":"^8.2.4","iso-language-codes":"^1.1.0","@ethersproject/sha2":"^5.7.0","@ethersproject/bytes":"^5.7.0","@ethersproject/units":"^5.7.0","@ethersproject/wallet":"^5.7.0","@ethersproject/address":"^5.7.0","@ethersproject/strings":"^5.7.0","@ethersproject/bignumber":"^5.7.0","@ethersproject/keccak256":"^5.7.0","@ethersproject/providers":"^5.7.1","@ethersproject/signing-key":"^5.7.0","@ethersproject/abstract-signer":"^5.7.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.3.0","husky":"^8.0.2","tslib":"^2.4.0","buffer":"^6.0.3","eslint":"^8.27.0","rimraf":"^3.0.2","rollup":"^3.22.0","blakejs":"^1.2.1","esbuild":"^0.17.10","snarkjs":"vocdoni/snarkjs#v0.7.0-groth16browser","ts-jest":"^29.0.3","prettier":"^2.7.1","size-limit":"^8.1.0","typescript":"^4.8.4","@types/jest":"^29.2.2","circomlibjs":"^0.1.7","ffjavascript":"^0.2.59","blindsecp256k1":"^0.0.9","rollup-plugin-dts":"^5.1.1","@rollup/plugin-json":"^6.0.0","rollup-plugin-esbuild":"^5.0.0","eslint-config-prettier":"^8.5.0","eslint-plugin-prettier":"^4.2.1","@rollup/plugin-commonjs":"^24.0.0","@typescript-eslint/parser":"^5.42.1","@rollup/plugin-node-resolve":"^15.0.1","rollup-plugin-polyfill-node":"^0.12.0","@typescript-eslint/eslint-plugin":"^5.42.1"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.4.1_1698161255403_0.8655975516172751","host":"s3://npm-registry-packages"}},"0.4.2":{"name":"@vocdoni/sdk","version":"0.4.2","keywords":["voting","blockchain","vocdoni"],"author":{"name":"Vocdoni"},"license":"AGPL-3.0-or-later","_id":"@vocdoni/sdk@0.4.2","maintainers":[{"name":"elboletaire","email":"elboletaire@underave.net"},{"name":"emmdim","email":"manos@vocdoni.io"},{"name":"marcvelmer","email":"marc1987@gmail.com"},{"name":"brickpop","email":"itsbrickpop@gmail.com"},{"name":"jpainan","email":"jpainan@vocdoni.io"}],"dist":{"shasum":"c9b34914ed9f800a5e5e8c0a6f77adea67cb4096","tarball":"https://registry.npmjs.org/@vocdoni/sdk/-/sdk-0.4.2.tgz","fileCount":13,"integrity":"sha512-7VLO7Oirylvh1qSwf37maSnb4aiVdf7tV1jhzApYPCDG8f4UZWG+nWby0nfkuaZGZEaldpx/yxwJgWCWkcwz/A==","signatures":[{"sig":"MEUCIQDOpOOhzwQ68ebeDin1GLxXPdQf4XQJAD4fE84CmmGYqgIgS1DTQHj8BKH1qZyb9z+FeuOQD07yRbnUgDi71Zb/fo8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31693783},"jest":{"preset":"ts-jest","testEnvironment":"node"},"main":"dist/index.js","husky":{"hooks":{"pre-commit":"yarn lint"}},"types":"./dist/index.d.ts","module":"dist/index.mjs","engines":{"node":">=14"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./umd":{"types":"./dist/index.d.ts","default":"./dist/index.umd.js"},"./package.json":"./package.json"},"scripts":{"lint":"eslint src test --ext .js,.jsx,.ts,.tsx","size":"size-limit","test":"yarn test:unit && yarn test:api && yarn test:census3 && yarn test:service && yarn test:integration","build":"rollup -c","clean":"rimraf node_modules dist","start":"yarn watch","watch":"yarn build --watch","lintfix":"yarn lint --fix","prepare":"yarn build","test:api":"jest test/api","ts-types":"tsc --emitDeclarationOnly --outDir dist","test:unit":"jest test/unit --verbose","test:census3":"jest test/census3","test:service":"yarn test:service:census && yarn test:service:anonymous && yarn test:service:csp","test:integration":"yarn test:integration:account && yarn test:integration:csp && yarn test:integration:election && yarn test:integration:other","test:service:csp":"jest test/services/csp.test.ts","test:integration:zk":"jest test/integration/zk.test.ts --forceExit --runInBand","test:service:census":"jest test/services/census.test.ts","test:integration:csp":"jest test/integration/csp.test.ts","test:integration:other":"jest test/integration/other.test.ts","test:service:anonymous":"jest test/services/anonymous.test.ts","test:integration:account":"jest test/integration/account.test.ts","test:integration:election":"jest test/integration/election.test.ts"},"_npmUser":{"name":"emmdim","email":"manos@vocdoni.io"},"prettier":{"semi":true,"printWidth":120,"singleQuote":true,"trailingComma":"es5"},"deprecated":"0.4.x is no longer supported","repository":{"url":"https://github.com/vocdoni/vocdoni-sdk.git","type":"git"},"size-limit":[{"path":"dist/index.js","limit":"2 MB"},{"path":"dist/index.mjs","limit":"2 MB"},{"path":"dist/index.umd.js","limit":"2 MB"}],"description":"⚒️An SDK for building applications on top of Vocdoni API","directories":{},"licenseText":"                    GNU AFFERO GENERAL PUBLIC LICENSE\n                       Version 3, 19 November 2007\n\n Copyright (C) 2020 Vocdoni Roots MTU, <https://vocdoni.io>\n Everyone is permitted to copy and distribute verbatim copies\n of this license document, but changing it is not allowed.\n\n                            Preamble\n\n  The GNU Affero General Public License is a free, copyleft license for\nsoftware and other kinds of works, specifically designed to ensure\ncooperation with the community in the case of network server software.\n\n  The licenses for most software and other practical works are designed\nto take away your freedom to share and change the works.  By contrast,\nour General Public Licenses are intended to guarantee your freedom to\nshare and change all versions of a program--to make sure it remains free\nsoftware for all its users.\n\n  When we speak of free software, we are referring to freedom, not\nprice.  Our General Public Licenses are designed to make sure that you\nhave the freedom to distribute copies of free software (and charge for\nthem if you wish), that you receive source code or can get it if you\nwant it, that you can change the software or use pieces of it in new\nfree programs, and that you know you can do these things.\n\n  Developers that use our General Public Licenses protect your rights\nwith two steps: (1) assert copyright on the software, and (2) offer\nyou this License which gives you legal permission to copy, distribute\nand/or modify the software.\n\n  A secondary benefit of defending all users' freedom is that\nimprovements made in alternate versions of the program, if they\nreceive widespread use, become available for other developers to\nincorporate.  Many developers of free software are heartened and\nencouraged by the resulting cooperation.  However, in the case of\nsoftware used on network servers, this result may fail to come about.\nThe GNU General Public License permits making a modified version and\nletting the public access it on a server without ever releasing its\nsource code to the public.\n\n  The GNU Affero General Public License is designed specifically to\nensure that, in such cases, the modified source code becomes available\nto the community.  It requires the operator of a network server to\nprovide the source code of the modified version running there to the\nusers of that server.  Therefore, public use of a modified version, on\na publicly accessible server, gives the public access to the source\ncode of the modified version.\n\n  An older license, called the Affero General Public License and\npublished by Affero, was designed to accomplish similar goals.  This is\na different license, not a version of the Affero GPL, but Affero has\nreleased a new version of the Affero GPL which permits relicensing under\nthis license.\n\n  The precise terms and conditions for copying, distribution and\nmodification follow.\n\n                       TERMS AND CONDITIONS\n\n  0. Definitions.\n\n  \"This License\" refers to version 3 of the GNU Affero General Public License.\n\n  \"Copyright\" also means copyright-like laws that apply to other kinds of\nworks, such as semiconductor masks.\n\n  \"The Program\" refers to any copyrightable work licensed under this\nLicense.  Each licensee is addressed as \"you\".  \"Licensees\" and\n\"recipients\" may be individuals or organizations.\n\n  To \"modify\" a work means to copy from or adapt all or part of the work\nin a fashion requiring copyright permission, other than the making of an\nexact copy.  The resulting work is called a \"modified version\" of the\nearlier work or a work \"based on\" the earlier work.\n\n  A \"covered work\" means either the unmodified Program or a work based\non the Program.\n\n  To \"propagate\" a work means to do anything with it that, without\npermission, would make you directly or secondarily liable for\ninfringement under applicable copyright law, except executing it on a\ncomputer or modifying a private copy.  Propagation includes copying,\ndistribution (with or without modification), making available to the\npublic, and in some countries other activities as well.\n\n  To \"convey\" a work means any kind of propagation that enables other\nparties to make or receive copies.  Mere interaction with a user through\na computer network, with no transfer of a copy, is not conveying.\n\n  An interactive user interface displays \"Appropriate Legal Notices\"\nto the extent that it includes a convenient and prominently visible\nfeature that (1) displays an appropriate copyright notice, and (2)\ntells the user that there is no warranty for the work (except to the\nextent that warranties are provided), that licensees may convey the\nwork under this License, and how to view a copy of this License.  If\nthe interface presents a list of user commands or options, such as a\nmenu, a prominent item in the list meets this criterion.\n\n  1. Source Code.\n\n  The \"source code\" for a work means the preferred form of the work\nfor making modifications to it.  \"Object code\" means any non-source\nform of a work.\n\n  A \"Standard Interface\" means an interface that either is an official\nstandard defined by a recognized standards body, or, in the case of\ninterfaces specified for a particular programming language, one that\nis widely used among developers working in that language.\n\n  The \"System Libraries\" of an executable work include anything, other\nthan the work as a whole, that (a) is included in the normal form of\npackaging a Major Component, but which is not part of that Major\nComponent, and (b) serves only to enable use of the work with that\nMajor Component, or to implement a Standard Interface for which an\nimplementation is available to the public in source code form.  A\n\"Major Component\", in this context, means a major essential component\n(kernel, window system, and so on) of the specific operating system\n(if any) on which the executable work runs, or a compiler used to\nproduce the work, or an object code interpreter used to run it.\n\n  The \"Corresponding Source\" for a work in object code form means all\nthe source code needed to generate, install, and (for an executable\nwork) run the object code and to modify the work, including scripts to\ncontrol those activities.  However, it does not include the work's\nSystem Libraries, or general-purpose tools or generally available free\nprograms which are used unmodified in performing those activities but\nwhich are not part of the work.  For example, Corresponding Source\nincludes interface definition files associated with source files for\nthe work, and the source code for shared libraries and dynamically\nlinked subprograms that the work is specifically designed to require,\nsuch as by intimate data communication or control flow between those\nsubprograms and other parts of the work.\n\n  The Corresponding Source need not include anything that users\ncan regenerate automatically from other parts of the Corresponding\nSource.\n\n  The Corresponding Source for a work in source code form is that\nsame work.\n\n  2. Basic Permissions.\n\n  All rights granted under this License are granted for the term of\ncopyright on the Program, and are irrevocable provided the stated\nconditions are met.  This License explicitly affirms your unlimited\npermission to run the unmodified Program.  The output from running a\ncovered work is covered by this License only if the output, given its\ncontent, constitutes a covered work.  This License acknowledges your\nrights of fair use or other equivalent, as provided by copyright law.\n\n  You may make, run and propagate covered works that you do not\nconvey, without conditions so long as your license otherwise remains\nin force.  You may convey covered works to others for the sole purpose\nof having them make modifications exclusively for you, or provide you\nwith facilities for running those works, provided that you comply with\nthe terms of this License in conveying all material for which you do\nnot control copyright.  Those thus making or running the covered works\nfor you must do so exclusively on your behalf, under your direction\nand control, on terms that prohibit them from making any copies of\nyour copyrighted material outside their relationship with you.\n\n  Conveying under any other circumstances is permitted solely under\nthe conditions stated below.  Sublicensing is not allowed; section 10\nmakes it unnecessary.\n\n  3. Protecting Users' Legal Rights From Anti-Circumvention Law.\n\n  No covered work shall be deemed part of an effective technological\nmeasure under any applicable law fulfilling obligations under article\n11 of the WIPO copyright treaty adopted on 20 December 1996, or\nsimilar laws prohibiting or restricting circumvention of such\nmeasures.\n\n  When you convey a covered work, you waive any legal power to forbid\ncircumvention of technological measures to the extent such circumvention\nis effected by exercising rights under this License with respect to\nthe covered work, and you disclaim any intention to limit operation or\nmodification of the work as a means of enforcing, against the work's\nusers, your or third parties' legal rights to forbid circumvention of\ntechnological measures.\n\n  4. Conveying Verbatim Copies.\n\n  You may convey verbatim copies of the Program's source code as you\nreceive it, in any medium, provided that you conspicuously and\nappropriately publish on each copy an appropriate copyright notice;\nkeep intact all notices stating that this License and any\nnon-permissive terms added in accord with section 7 apply to the code;\nkeep intact all notices of the absence of any warranty; and give all\nrecipients a copy of this License along with the Program.\n\n  You may charge any price or no price for each copy that you convey,\nand you may offer support or warranty protection for a fee.\n\n  5. Conveying Modified Source Versions.\n\n  You may convey a work based on the Program, or the modifications to\nproduce it from the Program, in the form of source code under the\nterms of section 4, provided that you also meet all of these conditions:\n\n    a) The work must carry prominent notices stating that you modified\n    it, and giving a relevant date.\n\n    b) The work must carry prominent notices stating that it is\n    released under this License and any conditions added under section\n    7.  This requirement modifies the requirement in section 4 to\n    \"keep intact all notices\".\n\n    c) You must license the entire work, as a whole, under this\n    License to anyone who comes into possession of a copy.  This\n    License will therefore apply, along with any applicable section 7\n    additional terms, to the whole of the work, and all its parts,\n    regardless of how they are packaged.  This License gives no\n    permission to license the work in any other way, but it does not\n    invalidate such permission if you have separately received it.\n\n    d) If the work has interactive user interfaces, each must display\n    Appropriate Legal Notices; however, if the Program has interactive\n    interfaces that do not display Appropriate Legal Notices, your\n    work need not make them do so.\n\n  A compilation of a covered work with other separate and independent\nworks, which are not by their nature extensions of the covered work,\nand which are not combined with it such as to form a larger program,\nin or on a volume of a storage or distribution medium, is called an\n\"aggregate\" if the compilation and its resulting copyright are not\nused to limit the access or legal rights of the compilation's users\nbeyond what the individual works permit.  Inclusion of a covered work\nin an aggregate does not cause this License to apply to the other\nparts of the aggregate.\n\n  6. Conveying Non-Source Forms.\n\n  You may convey a covered work in object code form under the terms\nof sections 4 and 5, provided that you also convey the\nmachine-readable Corresponding Source under the terms of this License,\nin one of these ways:\n\n    a) Convey the object code in, or embodied in, a physical product\n    (including a physical distribution medium), accompanied by the\n    Corresponding Source fixed on a durable physical medium\n    customarily used for software interchange.\n\n    b) Convey the object code in, or embodied in, a physical product\n    (including a physical distribution medium), accompanied by a\n    written offer, valid for at least three years and valid for as\n    long as you offer spare parts or customer support for that product\n    model, to give anyone who possesses the object code either (1) a\n    copy of the Corresponding Source for all the software in the\n    product that is covered by this License, on a durable physical\n    medium customarily used for software interchange, for a price no\n    more than your reasonable cost of physically performing this\n    conveying of source, or (2) access to copy the\n    Corresponding Source from a network server at no charge.\n\n    c) Convey individual copies of the object code with a copy of the\n    written offer to provide the Corresponding Source.  This\n    alternative is allowed only occasionally and noncommercially, and\n    only if you received the object code with such an offer, in accord\n    with subsection 6b.\n\n    d) Convey the object code by offering access from a designated\n    place (gratis or for a charge), and offer equivalent access to the\n    Corresponding Source in the same way through the same place at no\n    further charge.  You need not require recipients to copy the\n    Corresponding Source along with the object code.  If the place to\n    copy the object code is a network server, the Corresponding Source\n    may be on a different server (operated by you or a third party)\n    that supports equivalent copying facilities, provided you maintain\n    clear directions next to the object code saying where to find the\n    Corresponding Source.  Regardless of what server hosts the\n    Corresponding Source, you remain obligated to ensure that it is\n    available for as long as needed to satisfy these requirements.\n\n    e) Convey the object code using peer-to-peer transmission, provided\n    you inform other peers where the object code and Corresponding\n    Source of the work are being offered to the general public at no\n    charge under subsection 6d.\n\n  A separable portion of the object code, whose source code is excluded\nfrom the Corresponding Source as a System Library, need not be\nincluded in conveying the object code work.\n\n  A \"User Product\" is either (1) a \"consumer product\", which means any\ntangible personal property which is normally used for personal, family,\nor household purposes, or (2) anything designed or sold for incorporation\ninto a dwelling.  In determining whether a product is a consumer product,\ndoubtful cases shall be resolved in favor of coverage.  For a particular\nproduct received by a particular user, \"normally used\" refers to a\ntypical or common use of that class of product, regardless of the status\nof the particular user or of the way in which the particular user\nactually uses, or expects or is expected to use, the product.  A product\nis a consumer product regardless of whether the product has substantial\ncommercial, industrial or non-consumer uses, unless such uses represent\nthe only significant mode of use of the product.\n\n  \"Installation Information\" for a User Product means any methods,\nprocedures, authorization keys, or other information required to install\nand execute modified versions of a covered work in that User Product from\na modified version of its Corresponding Source.  The information must\nsuffice to ensure that the continued functioning of the modified object\ncode is in no case prevented or interfered with solely because\nmodification has been made.\n\n  If you convey an object code work under this section in, or with, or\nspecifically for use in, a User Product, and the conveying occurs as\npart of a transaction in which the right of possession and use of the\nUser Product is transferred to the recipient in perpetuity or for a\nfixed term (regardless of how the transaction is characterized), the\nCorresponding Source conveyed under this section must be accompanied\nby the Installation Information.  But this requirement does not apply\nif neither you nor any third party retains the ability to install\nmodified object code on the User Product (for example, the work has\nbeen installed in ROM).\n\n  The requirement to provide Installation Information does not include a\nrequirement to continue to provide support service, warranty, or updates\nfor a work that has been modified or installed by the recipient, or for\nthe User Product in which it has been modified or installed.  Access to a\nnetwork may be denied when the modification itself materially and\nadversely affects the operation of the network or violates the rules and\nprotocols for communication across the network.\n\n  Corresponding Source conveyed, and Installation Information provided,\nin accord with this section must be in a format that is publicly\ndocumented (and with an implementation available to the public in\nsource code form), and must require no special password or key for\nunpacking, reading or copying.\n\n  7. Additional Terms.\n\n  \"Additional permissions\" are terms that supplement the terms of this\nLicense by making exceptions from one or more of its conditions.\nAdditional permissions that are applicable to the entire Program shall\nbe treated as though they were included in this License, to the extent\nthat they are valid under applicable law.  If additional permissions\napply only to part of the Program, that part may be used separately\nunder those permissions, but the entire Program remains governed by\nthis License without regard to the additional permissions.\n\n  When you convey a copy of a covered work, you may at your option\nremove any additional permissions from that copy, or from any part of\nit.  (Additional permissions may be written to require their own\nremoval in certain cases when you modify the work.)  You may place\nadditional permissions on material, added by you to a covered work,\nfor which you have or can give appropriate copyright permission.\n\n  Notwithstanding any other provision of this License, for material you\nadd to a covered work, you may (if authorized by the copyright holders of\nthat material) supplement the terms of this License with terms:\n\n    a) Disclaiming warranty or limiting liability differently from the\n    terms of sections 15 and 16 of this License; or\n\n    b) Requiring preservation of specified reasonable legal notices or\n    author attributions in that material or in the Appropriate Legal\n    Notices displayed by works containing it; or\n\n    c) Prohibiting misrepresentation of the origin of that material, or\n    requiring that modified versions of such material be marked in\n    reasonable ways as different from the original version; or\n\n    d) Limiting the use for publicity purposes of names of licensors or\n    authors of the material; or\n\n    e) Declining to grant rights under trademark law for use of some\n    trade names, trademarks, or service marks; or\n\n    f) Requiring indemnification of licensors and authors of that\n    material by anyone who conveys the material (or modified versions of\n    it) with contractual assumptions of liability to the recipient, for\n    any liability that these contractual assumptions directly impose on\n    those licensors and authors.\n\n  All other non-permissive additional terms are considered \"further\nrestrictions\" within the meaning of section 10.  If the Program as you\nreceived it, or any part of it, contains a notice stating that it is\ngoverned by this License along with a term that is a further\nrestriction, you may remove that term.  If a license document contains\na further restriction but permits relicensing or conveying under this\nLicense, you may add to a covered work material governed by the terms\nof that license document, provided that the further restriction does\nnot survive such relicensing or conveying.\n\n  If you add terms to a covered work in accord with this section, you\nmust place, in the relevant source files, a statement of the\nadditional terms that apply to those files, or a notice indicating\nwhere to find the applicable terms.\n\n  Additional terms, permissive or non-permissive, may be stated in the\nform of a separately written license, or stated as exceptions;\nthe above requirements apply either way.\n\n  8. Termination.\n\n  You may not propagate or modify a covered work except as expressly\nprovided under this License.  Any attempt otherwise to propagate or\nmodify it is void, and will automatically terminate your rights under\nthis License (including any patent licenses granted under the third\nparagraph of section 11).\n\n  However, if you cease all violation of this License, then your\nlicense from a particular copyright holder is reinstated (a)\nprovisionally, unless and until the copyright holder explicitly and\nfinally terminates your license, and (b) permanently, if the copyright\nholder fails to notify you of the violation by some reasonable means\nprior to 60 days after the cessation.\n\n  Moreover, your license from a particular copyright holder is\nreinstated permanently if the copyright holder notifies you of the\nviolation by some reasonable means, this is the first time you have\nreceived notice of violation of this License (for any work) from that\ncopyright holder, and you cure the violation prior to 30 days after\nyour receipt of the notice.\n\n  Termination of your rights under this section does not terminate the\nlicenses of parties who have received copies or rights from you under\nthis License.  If your rights have been terminated and not permanently\nreinstated, you do not qualify to receive new licenses for the same\nmaterial under section 10.\n\n  9. Acceptance Not Required for Having Copies.\n\n  You are not required to accept this License in order to receive or\nrun a copy of the Program.  Ancillary propagation of a covered work\noccurring solely as a consequence of using peer-to-peer transmission\nto receive a copy likewise does not require acceptance.  However,\nnothing other than this License grants you permission to propagate or\nmodify any covered work.  These actions infringe copyright if you do\nnot accept this License.  Therefore, by modifying or propagating a\ncovered work, you indicate your acceptance of this License to do so.\n\n  10. Automatic Licensing of Downstream Recipients.\n\n  Each time you convey a covered work, the recipient automatically\nreceives a license from the original licensors, to run, modify and\npropagate that work, subject to this License.  You are not responsible\nfor enforcing compliance by third parties with this License.\n\n  An \"entity transaction\" is a transaction transferring control of an\norganization, or substantially all assets of one, or subdividing an\norganization, or merging organizations.  If propagation of a covered\nwork results from an entity transaction, each party to that\ntransaction who receives a copy of the work also receives whatever\nlicenses to the work the party's predecessor in interest had or could\ngive under the previous paragraph, plus a right to possession of the\nCorresponding Source of the work from the predecessor in interest, if\nthe predecessor has it or can get it with reasonable efforts.\n\n  You may not impose any further restrictions on the exercise of the\nrights granted or affirmed under this License.  For example, you may\nnot impose a license fee, royalty, or other charge for exercise of\nrights granted under this License, and you may not initiate litigation\n(including a cross-claim or counterclaim in a lawsuit) alleging that\nany patent claim is infringed by making, using, selling, offering for\nsale, or importing the Program or any portion of it.\n\n  11. Patents.\n\n  A \"contributor\" is a copyright holder who authorizes use under this\nLicense of the Program or a work on which the Program is based.  The\nwork thus licensed is called the contributor's \"contributor version\".\n\n  A contributor's \"essential patent claims\" are all patent claims\nowned or controlled by the contributor, whether already acquired or\nhereafter acquired, that would be infringed by some manner, permitted\nby this License, of making, using, or selling its contributor version,\nbut do not include claims that would be infringed only as a\nconsequence of further modification of the contributor version.  For\npurposes of this definition, \"control\" includes the right to grant\npatent sublicenses in a manner consistent with the requirements of\nthis License.\n\n  Each contributor grants you a non-exclusive, worldwide, royalty-free\npatent license under the contributor's essential patent claims, to\nmake, use, sell, offer for sale, import and otherwise run, modify and\npropagate the contents of its contributor version.\n\n  In the following three paragraphs, a \"patent license\" is any express\nagreement or commitment, however denominated, not to enforce a patent\n(such as an express permission to practice a patent or covenant not to\nsue for patent infringement).  To \"grant\" such a patent license to a\nparty means to make such an agreement or commitment not to enforce a\npatent against the party.\n\n  If you convey a covered work, knowingly relying on a patent license,\nand the Corresponding Source of the work is not available for anyone\nto copy, free of charge and under the terms of this License, through a\npublicly available network server or other readily accessible means,\nthen you must either (1) cause the Corresponding Source to be so\navailable, or (2) arrange to deprive yourself of the benefit of the\npatent license for this particular work, or (3) arrange, in a manner\nconsistent with the requirements of this License, to extend the patent\nlicense to downstream recipients.  \"Knowingly relying\" means you have\nactual knowledge that, but for the patent license, your conveying the\ncovered work in a country, or your recipient's use of the covered work\nin a country, would infringe one or more identifiable patents in that\ncountry that you have reason to believe are valid.\n\n  If, pursuant to or in connection with a single transaction or\narrangement, you convey, or propagate by procuring conveyance of, a\ncovered work, and grant a patent license to some of the parties\nreceiving the covered work authorizing them to use, propagate, modify\nor convey a specific copy of the covered work, then the patent license\nyou grant is automatically extended to all recipients of the covered\nwork and works based on it.\n\n  A patent license is \"discriminatory\" if it does not include within\nthe scope of its coverage, prohibits the exercise of, or is\nconditioned on the non-exercise of one or more of the rights that are\nspecifically granted under this License.  You may not convey a covered\nwork if you are a party to an arrangement with a third party that is\nin the business of distributing software, under which you make payment\nto the third party based on the extent of your activity of conveying\nthe work, and under which the third party grants, to any of the\nparties who would receive the covered work from you, a discriminatory\npatent license (a) in connection with copies of the covered work\nconveyed by you (or copies made from those copies), or (b) primarily\nfor and in connection with specific products or compilations that\ncontain the covered work, unless you entered into that arrangement,\nor that patent license was granted, prior to 28 March 2007.\n\n  Nothing in this License shall be construed as excluding or limiting\nany implied license or other defenses to infringement that may\notherwise be available to you under applicable patent law.\n\n  12. No Surrender of Others' Freedom.\n\n  If conditions are imposed on you (whether by court order, agreement or\notherwise) that contradict the conditions of this License, they do not\nexcuse you from the conditions of this License.  If you cannot convey a\ncovered work so as to satisfy simultaneously your obligations under this\nLicense and any other pertinent obligations, then as a consequence you may\nnot convey it at all.  For example, if you agree to terms that obligate you\nto collect a royalty for further conveying from those to whom you convey\nthe Program, the only way you could satisfy both those terms and this\nLicense would be to refrain entirely from conveying the Program.\n\n  13. Remote Network Interaction; Use with the GNU General Public License.\n\n  Notwithstanding any other provision of this License, if you modify the\nProgram, your modified version must prominently offer all users\ninteracting with it remotely through a computer network (if your version\nsupports such interaction) an opportunity to receive the Corresponding\nSource of your version by providing access to the Corresponding Source\nfrom a network server at no charge, through some standard or customary\nmeans of facilitating copying of software.  This Corresponding Source\nshall include the Corresponding Source for any work covered by version 3\nof the GNU General Public License that is incorporated pursuant to the\nfollowing paragraph.\n\n  Notwithstanding any other provision of this License, you have\npermission to link or combine any covered work with a work licensed\nunder version 3 of the GNU General Public License into a single\ncombined work, and to convey the resulting work.  The terms of this\nLicense will continue to apply to the part which is the covered work,\nbut the work with which it is combined will remain governed by version\n3 of the GNU General Public License.\n\n  14. Revised Versions of this License.\n\n  The Free Software Foundation may publish revised and/or new versions of\nthe GNU Affero General Public License from time to time.  Such new versions\nwill be similar in spirit to the present version, but may differ in detail to\naddress new problems or concerns.\n\n  Each version is given a distinguishing version number.  If the\nProgram specifies that a certain numbered version of the GNU Affero General\nPublic License \"or any later version\" applies to it, you have the\noption of following the terms and conditions either of that numbered\nversion or of any later version published by the Free Software\nFoundation.  If the Program does not specify a version number of the\nGNU Affero General Public License, you may choose any version ever published\nby the Free Software Foundation.\n\n  If the Program specifies that a proxy can decide which future\nversions of the GNU Affero General Public License can be used, that proxy's\npublic statement of acceptance of a version permanently authorizes you\nto choose that version for the Program.\n\n  Later license versions may give you additional or different\npermissions.  However, no additional obligations are imposed on any\nauthor or copyright holder as a result of your choosing to follow a\nlater version.\n\n  15. Disclaimer of Warranty.\n\n  THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY\nAPPLICABLE LAW.  EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT\nHOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM \"AS IS\" WITHOUT WARRANTY\nOF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,\nTHE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\nPURPOSE.  THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM\nIS WITH YOU.  SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF\nALL NECESSARY SERVICING, REPAIR OR CORRECTION.\n\n  16. Limitation of Liability.\n\n  IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING\nWILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS\nTHE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY\nGENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE\nUSE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF\nDATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD\nPARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),\nEVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF\nSUCH DAMAGES.\n\n  17. Interpretation of Sections 15 and 16.\n\n  If the disclaimer of warranty and limitation of liability provided\nabove cannot be given local legal effect according to their terms,\nreviewing courts shall apply local law that most closely approximates\nan absolute waiver of all civil liability in connection with the\nProgram, unless a warranty or assumption of liability accompanies a\ncopy of the Program in return for a fee.\n\n                     END OF TERMS AND CONDITIONS\n\n            How to Apply These Terms to Your New Programs\n\n  If you develop a new program, and you want it to be of the greatest\npossible use to the public, the best way to achieve this is to make it\nfree software which everyone can redistribute and change under these terms.\n\n  To do so, attach the following notices to the program.  It is safest\nto attach them to the start of each source file to most effectively\nstate the exclusion of warranty; and each file should have at least\nthe \"copyright\" line and a pointer to where the full notice is found.\n\n    <one line to give the program's name and a brief idea of what it does.>\n    Copyright (C) <year>  <name of author>\n\n    This program is free software: you can redistribute it and/or modify\n    it under the terms of the GNU Affero General Public License as published by\n    the Free Software Foundation, either version 3 of the License, or\n    (at your option) any later version.\n\n    This program is distributed in the hope that it will be useful,\n    but WITHOUT ANY WARRANTY; without even the implied warranty of\n    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n    GNU Affero General Public License for more details.\n\n    You should have received a copy of the GNU Affero General Public License\n    along with this program.  If not, see <https://www.gnu.org/licenses/>.\n\nAlso add information on how to contact you by electronic and paper mail.\n\n  If your software can interact with users remotely through a computer\nnetwork, you should also make sure that it provides a way for users to\nget its source.  For example, if your program is a web application, its\ninterface could display a \"Source\" link that leads users to an archive\nof the code.  There are many ways you could offer source, and different\nsolutions will be better for different programs; see section 13 for the\nspecific requirements.\n\n  You should also get your employer (if you work as a programmer) or school,\nif any, to sign a \"copyright disclaimer\" for the program, if necessary.\nFor more information on this, and how to apply and follow the GNU AGPL, see\n<https://www.gnu.org/licenses/>.\n","resolutions":{"ffjavascript":"0.2.59"},"dependencies":{"yup":"^0.32.11","axios":"0.27.2","blake2b":"^2.1.4","tweetnacl":"^1.0.3","wasmcurves":"0.2.1","web-worker":"^1.2.0","wasmbuilder":"^0.0.16","@vocdoni/proto":"1.15.4","tiny-invariant":"^1.3.1","readable-stream":"^4.4.2","@size-limit/file":"^8.2.4","iso-language-codes":"^1.1.0","@ethersproject/sha2":"^5.7.0","@ethersproject/bytes":"^5.7.0","@ethersproject/units":"^5.7.0","@ethersproject/wallet":"^5.7.0","@ethersproject/address":"^5.7.0","@ethersproject/strings":"^5.7.0","@ethersproject/bignumber":"^5.7.0","@ethersproject/keccak256":"^5.7.0","@ethersproject/providers":"^5.7.1","@ethersproject/signing-key":"^5.7.0","@ethersproject/abstract-signer":"^5.7.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.3.0","husky":"^8.0.2","tslib":"^2.4.0","buffer":"^6.0.3","eslint":"^8.27.0","rimraf":"^3.0.2","rollup":"^3.22.0","blakejs":"^1.2.1","esbuild":"^0.17.10","snarkjs":"vocdoni/snarkjs#v0.7.0-groth16browser","ts-jest":"^29.0.3","prettier":"^2.7.1","size-limit":"^8.1.0","typescript":"^4.8.4","@types/jest":"^29.2.2","circomlibjs":"^0.1.7","ffjavascript":"0.2.59","blindsecp256k1":"^0.0.9","rollup-plugin-dts":"^5.1.1","@rollup/plugin-json":"^6.0.0","rollup-plugin-esbuild":"^5.0.0","eslint-config-prettier":"^8.5.0","eslint-plugin-prettier":"^4.2.1","@rollup/plugin-commonjs":"^24.0.0","@typescript-eslint/parser":"^5.42.1","@rollup/plugin-node-resolve":"^15.0.1","rollup-plugin-polyfill-node":"^0.12.0","@typescript-eslint/eslint-plugin":"^5.42.1"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.4.2_1699313935506_0.9538583549279358","host":"s3://npm-registry-packages"}},"0.4.3":{"name":"@vocdoni/sdk","version":"0.4.3","keywords":["voting","blockchain","vocdoni"],"author":{"name":"Vocdoni"},"license":"AGPL-3.0-or-later","_id":"@vocdoni/sdk@0.4.3","maintainers":[{"name":"elboletaire","email":"elboletaire@underave.net"},{"name":"emmdim","email":"manos@vocdoni.io"},{"name":"marcvelmer","email":"marc1987@gmail.com"},{"name":"brickpop","email":"itsbrickpop@gmail.com"},{"name":"jpainan","email":"jpainan@vocdoni.io"}],"dist":{"shasum":"31a136c25f81249575eb8dfe18c84560630d1438","tarball":"https://registry.npmjs.org/@vocdoni/sdk/-/sdk-0.4.3.tgz","fileCount":13,"integrity":"sha512-3E77LKa1KXIMRisqLUCeyzPDC6aO8SfBjA9zCgAk9nkfej23i51P2czhLdVRXDMTDTrBe0/nawNz3Aeihk9NEQ==","signatures":[{"sig":"MEUCIQCKoVBUV7eJ+9ZGi6YlwJEf4Z4Q3D/8KYdCXaBDctWu5QIgGi0L505O3SQx7h1Ew/PKJxTLkA65vy7jq9fGizAoud4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31707456},"jest":{"preset":"ts-jest","testEnvironment":"node"},"main":"dist/index.js","husky":{"hooks":{"pre-commit":"yarn lint"}},"types":"./dist/index.d.ts","module":"dist/index.mjs","engines":{"node":">=14"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./umd":{"types":"./dist/index.d.ts","default":"./dist/index.umd.js"},"./package.json":"./package.json"},"scripts":{"lint":"eslint src test --ext .js,.jsx,.ts,.tsx","size":"size-limit","test":"yarn test:unit && yarn test:api && yarn test:census3 && yarn test:service && yarn test:integration","build":"rollup -c","clean":"rimraf node_modules dist","start":"yarn watch","watch":"yarn build --watch","lintfix":"yarn lint --fix","prepare":"yarn build","test:api":"jest test/api","ts-types":"tsc --emitDeclarationOnly --outDir dist","test:unit":"jest test/unit --verbose","test:census3":"jest test/census3","test:service":"yarn test:service:census && yarn test:service:anonymous && yarn test:service:csp","test:integration":"yarn test:integration:account && yarn test:integration:csp && yarn test:integration:election && yarn test:integration:other","test:service:csp":"jest test/services/csp.test.ts","test:integration:zk":"jest test/integration/zk.test.ts --forceExit --runInBand","test:service:census":"jest test/services/census.test.ts","test:integration:csp":"jest test/integration/csp.test.ts","test:integration:other":"jest test/integration/other.test.ts","test:service:anonymous":"jest test/services/anonymous.test.ts","test:integration:account":"jest test/integration/account.test.ts","test:integration:election":"jest test/integration/election.test.ts"},"_npmUser":{"name":"emmdim","email":"manos@vocdoni.io"},"prettier":{"semi":true,"printWidth":120,"singleQuote":true,"trailingComma":"es5"},"deprecated":"0.4.x is no longer supported","repository":{"url":"https://github.com/vocdoni/vocdoni-sdk.git","type":"git"},"size-limit":[{"path":"dist/index.js","limit":"2 MB"},{"path":"dist/index.mjs","limit":"2 MB"},{"path":"dist/index.umd.js","limit":"2 MB"}],"description":"⚒️An SDK for building applications on top of Vocdoni API","directories":{},"licenseText":"                    GNU AFFERO GENERAL PUBLIC LICENSE\n                       Version 3, 19 November 2007\n\n Copyright (C) 2020 Vocdoni Roots MTU, <https://vocdoni.io>\n Everyone is permitted to copy and distribute verbatim copies\n of this license document, but changing it is not allowed.\n\n                            Preamble\n\n  The GNU Affero General Public License is a free, copyleft license for\nsoftware and other kinds of works, specifically designed to ensure\ncooperation with the community in the case of network server software.\n\n  The licenses for most software and other practical works are designed\nto take away your freedom to share and change the works.  By contrast,\nour General Public Licenses are intended to guarantee your freedom to\nshare and change all versions of a program--to make sure it remains free\nsoftware for all its users.\n\n  When we speak of free software, we are referring to freedom, not\nprice.  Our General Public Licenses are designed to make sure that you\nhave the freedom to distribute copies of free software (and charge for\nthem if you wish), that you receive source code or can get it if you\nwant it, that you can change the software or use pieces of it in new\nfree programs, and that you know you can do these things.\n\n  Developers that use our General Public Licenses protect your rights\nwith two steps: (1) assert copyright on the software, and (2) offer\nyou this License which gives you legal permission to copy, distribute\nand/or modify the software.\n\n  A secondary benefit of defending all users' freedom is that\nimprovements made in alternate versions of the program, if they\nreceive widespread use, become available for other developers to\nincorporate.  Many developers of free software are heartened and\nencouraged by the resulting cooperation.  However, in the case of\nsoftware used on network servers, this result may fail to come about.\nThe GNU General Public License permits making a modified version and\nletting the public access it on a server without ever releasing its\nsource code to the public.\n\n  The GNU Affero General Public License is designed specifically to\nensure that, in such cases, the modified source code becomes available\nto the community.  It requires the operator of a network server to\nprovide the source code of the modified version running there to the\nusers of that server.  Therefore, public use of a modified version, on\na publicly accessible server, gives the public access to the source\ncode of the modified version.\n\n  An older license, called the Affero General Public License and\npublished by Affero, was designed to accomplish similar goals.  This is\na different license, not a version of the Affero GPL, but Affero has\nreleased a new version of the Affero GPL which permits relicensing under\nthis license.\n\n  The precise terms and conditions for copying, distribution and\nmodification follow.\n\n                       TERMS AND CONDITIONS\n\n  0. Definitions.\n\n  \"This License\" refers to version 3 of the GNU Affero General Public License.\n\n  \"Copyright\" also means copyright-like laws that apply to other kinds of\nworks, such as semiconductor masks.\n\n  \"The Program\" refers to any copyrightable work licensed under this\nLicense.  Each licensee is addressed as \"you\".  \"Licensees\" and\n\"recipients\" may be individuals or organizations.\n\n  To \"modify\" a work means to copy from or adapt all or part of the work\nin a fashion requiring copyright permission, other than the making of an\nexact copy.  The resulting work is called a \"modified version\" of the\nearlier work or a work \"based on\" the earlier work.\n\n  A \"covered work\" means either the unmodified Program or a work based\non the Program.\n\n  To \"propagate\" a work means to do anything with it that, without\npermission, would make you directly or secondarily liable for\ninfringement under applicable copyright law, except executing it on a\ncomputer or modifying a private copy.  Propagation includes copying,\ndistribution (with or without modification), making available to the\npublic, and in some countries other activities as well.\n\n  To \"convey\" a work means any kind of propagation that enables other\nparties to make or receive copies.  Mere interaction with a user through\na computer network, with no transfer of a copy, is not conveying.\n\n  An interactive user interface displays \"Appropriate Legal Notices\"\nto the extent that it includes a convenient and prominently visible\nfeature that (1) displays an appropriate copyright notice, and (2)\ntells the user that there is no warranty for the work (except to the\nextent that warranties are provided), that licensees may convey the\nwork under this License, and how to view a copy of this License.  If\nthe interface presents a list of user commands or options, such as a\nmenu, a prominent item in the list meets this criterion.\n\n  1. Source Code.\n\n  The \"source code\" for a work means the preferred form of the work\nfor making modifications to it.  \"Object code\" means any non-source\nform of a work.\n\n  A \"Standard Interface\" means an interface that either is an official\nstandard defined by a recognized standards body, or, in the case of\ninterfaces specified for a particular programming language, one that\nis widely used among developers working in that language.\n\n  The \"System Libraries\" of an executable work include anything, other\nthan the work as a whole, that (a) is included in the normal form of\npackaging a Major Component, but which is not part of that Major\nComponent, and (b) serves only to enable use of the work with that\nMajor Component, or to implement a Standard Interface for which an\nimplementation is available to the public in source code form.  A\n\"Major Component\", in this context, means a major essential component\n(kernel, window system, and so on) of the specific operating system\n(if any) on which the executable work runs, or a compiler used to\nproduce the work, or an object code interpreter used to run it.\n\n  The \"Corresponding Source\" for a work in object code form means all\nthe source code needed to generate, install, and (for an executable\nwork) run the object code and to modify the work, including scripts to\ncontrol those activities.  However, it does not include the work's\nSystem Libraries, or general-purpose tools or generally available free\nprograms which are used unmodified in performing those activities but\nwhich are not part of the work.  For example, Corresponding Source\nincludes interface definition files associated with source files for\nthe work, and the source code for shared libraries and dynamically\nlinked subprograms that the work is specifically designed to require,\nsuch as by intimate data communication or control flow between those\nsubprograms and other parts of the work.\n\n  The Corresponding Source need not include anything that users\ncan regenerate automatically from other parts of the Corresponding\nSource.\n\n  The Corresponding Source for a work in source code form is that\nsame work.\n\n  2. Basic Permissions.\n\n  All rights granted under this License are granted for the term of\ncopyright on the Program, and are irrevocable provided the stated\nconditions are met.  This License explicitly affirms your unlimited\npermission to run the unmodified Program.  The output from running a\ncovered work is covered by this License only if the output, given its\ncontent, constitutes a covered work.  This License acknowledges your\nrights of fair use or other equivalent, as provided by copyright law.\n\n  You may make, run and propagate covered works that you do not\nconvey, without conditions so long as your license otherwise remains\nin force.  You may convey covered works to others for the sole purpose\nof having them make modifications exclusively for you, or provide you\nwith facilities for running those works, provided that you comply with\nthe terms of this License in conveying all material for which you do\nnot control copyright.  Those thus making or running the covered works\nfor you must do so exclusively on your behalf, under your direction\nand control, on terms that prohibit them from making any copies of\nyour copyrighted material outside their relationship with you.\n\n  Conveying under any other circumstances is permitted solely under\nthe conditions stated below.  Sublicensing is not allowed; section 10\nmakes it unnecessary.\n\n  3. Protecting Users' Legal Rights From Anti-Circumvention Law.\n\n  No covered work shall be deemed part of an effective technological\nmeasure under any applicable law fulfilling obligations under article\n11 of the WIPO copyright treaty adopted on 20 December 1996, or\nsimilar laws prohibiting or restricting circumvention of such\nmeasures.\n\n  When you convey a covered work, you waive any legal power to forbid\ncircumvention of technological measures to the extent such circumvention\nis effected by exercising rights under this License with respect to\nthe covered work, and you disclaim any intention to limit operation or\nmodification of the work as a means of enforcing, against the work's\nusers, your or third parties' legal rights to forbid circumvention of\ntechnological measures.\n\n  4. Conveying Verbatim Copies.\n\n  You may convey verbatim copies of the Program's source code as you\nreceive it, in any medium, provided that you conspicuously and\nappropriately publish on each copy an appropriate copyright notice;\nkeep intact all notices stating that this License and any\nnon-permissive terms added in accord with section 7 apply to the code;\nkeep intact all notices of the absence of any warranty; and give all\nrecipients a copy of this License along with the Program.\n\n  You may charge any price or no price for each copy that you convey,\nand you may offer support or warranty protection for a fee.\n\n  5. Conveying Modified Source Versions.\n\n  You may convey a work based on the Program, or the modifications to\nproduce it from the Program, in the form of source code under the\nterms of section 4, provided that you also meet all of these conditions:\n\n    a) The work must carry prominent notices stating that you modified\n    it, and giving a relevant date.\n\n    b) The work must carry prominent notices stating that it is\n    released under this License and any conditions added under section\n    7.  This requirement modifies the requirement in section 4 to\n    \"keep intact all notices\".\n\n    c) You must license the entire work, as a whole, under this\n    License to anyone who comes into possession of a copy.  This\n    License will therefore apply, along with any applicable section 7\n    additional terms, to the whole of the work, and all its parts,\n    regardless of how they are packaged.  This License gives no\n    permission to license the work in any other way, but it does not\n    invalidate such permission if you have separately received it.\n\n    d) If the work has interactive user interfaces, each must display\n    Appropriate Legal Notices; however, if the Program has interactive\n    interfaces that do not display Appropriate Legal Notices, your\n    work need not make them do so.\n\n  A compilation of a covered work with other separate and independent\nworks, which are not by their nature extensions of the covered work,\nand which are not combined with it such as to form a larger program,\nin or on a volume of a storage or distribution medium, is called an\n\"aggregate\" if the compilation and its resulting copyright are not\nused to limit the access or legal rights of the compilation's users\nbeyond what the individual works permit.  Inclusion of a covered work\nin an aggregate does not cause this License to apply to the other\nparts of the aggregate.\n\n  6. Conveying Non-Source Forms.\n\n  You may convey a covered work in object code form under the terms\nof sections 4 and 5, provided that you also convey the\nmachine-readable Corresponding Source under the terms of this License,\nin one of these ways:\n\n    a) Convey the object code in, or embodied in, a physical product\n    (including a physical distribution medium), accompanied by the\n    Corresponding Source fixed on a durable physical medium\n    customarily used for software interchange.\n\n    b) Convey the object code in, or embodied in, a physical product\n    (including a physical distribution medium), accompanied by a\n    written offer, valid for at least three years and valid for as\n    long as you offer spare parts or customer support for that product\n    model, to give anyone who possesses the object code either (1) a\n    copy of the Corresponding Source for all the software in the\n    product that is covered by this License, on a durable physical\n    medium customarily used for software interchange, for a price no\n    more than your reasonable cost of physically performing this\n    conveying of source, or (2) access to copy the\n    Corresponding Source from a network server at no charge.\n\n    c) Convey individual copies of the object code with a copy of the\n    written offer to provide the Corresponding Source.  This\n    alternative is allowed only occasionally and noncommercially, and\n    only if you received the object code with such an offer, in accord\n    with subsection 6b.\n\n    d) Convey the object code by offering access from a designated\n    place (gratis or for a charge), and offer equivalent access to the\n    Corresponding Source in the same way through the same place at no\n    further charge.  You need not require recipients to copy the\n    Corresponding Source along with the object code.  If the place to\n    copy the object code is a network server, the Corresponding Source\n    may be on a different server (operated by you or a third party)\n    that supports equivalent copying facilities, provided you maintain\n    clear directions next to the object code saying where to find the\n    Corresponding Source.  Regardless of what server hosts the\n    Corresponding Source, you remain obligated to ensure that it is\n    available for as long as needed to satisfy these requirements.\n\n    e) Convey the object code using peer-to-peer transmission, provided\n    you inform other peers where the object code and Corresponding\n    Source of the work are being offered to the general public at no\n    charge under subsection 6d.\n\n  A separable portion of the object code, whose source code is excluded\nfrom the Corresponding Source as a System Library, need not be\nincluded in conveying the object code work.\n\n  A \"User Product\" is either (1) a \"consumer product\", which means any\ntangible personal property which is normally used for personal, family,\nor household purposes, or (2) anything designed or sold for incorporation\ninto a dwelling.  In determining whether a product is a consumer product,\ndoubtful cases shall be resolved in favor of coverage.  For a particular\nproduct received by a particular user, \"normally used\" refers to a\ntypical or common use of that class of product, regardless of the status\nof the particular user or of the way in which the particular user\nactually uses, or expects or is expected to use, the product.  A product\nis a consumer product regardless of whether the product has substantial\ncommercial, industrial or non-consumer uses, unless such uses represent\nthe only significant mode of use of the product.\n\n  \"Installation Information\" for a User Product means any methods,\nprocedures, authorization keys, or other information required to install\nand execute modified versions of a covered work in that User Product from\na modified version of its Corresponding Source.  The information must\nsuffice to ensure that the continued functioning of the modified object\ncode is in no case prevented or interfered with solely because\nmodification has been made.\n\n  If you convey an object code work under this section in, or with, or\nspecifically for use in, a User Product, and the conveying occurs as\npart of a transaction in which the right of possession and use of the\nUser Product is transferred to the recipient in perpetuity or for a\nfixed term (regardless of how the transaction is characterized), the\nCorresponding Source conveyed under this section must be accompanied\nby the Installation Information.  But this requirement does not apply\nif neither you nor any third party retains the ability to install\nmodified object code on the User Product (for example, the work has\nbeen installed in ROM).\n\n  The requirement to provide Installation Information does not include a\nrequirement to continue to provide support service, warranty, or updates\nfor a work that has been modified or installed by the recipient, or for\nthe User Product in which it has been modified or installed.  Access to a\nnetwork may be denied when the modification itself materially and\nadversely affects the operation of the network or violates the rules and\nprotocols for communication across the network.\n\n  Corresponding Source conveyed, and Installation Information provided,\nin accord with this section must be in a format that is publicly\ndocumented (and with an implementation available to the public in\nsource code form), and must require no special password or key for\nunpacking, reading or copying.\n\n  7. Additional Terms.\n\n  \"Additional permissions\" are terms that supplement the terms of this\nLicense by making exceptions from one or more of its conditions.\nAdditional permissions that are applicable to the entire Program shall\nbe treated as though they were included in this License, to the extent\nthat they are valid under applicable law.  If additional permissions\napply only to part of the Program, that part may be used separately\nunder those permissions, but the entire Program remains governed by\nthis License without regard to the additional permissions.\n\n  When you convey a copy of a covered work, you may at your option\nremove any additional permissions from that copy, or from any part of\nit.  (Additional permissions may be written to require their own\nremoval in certain cases when you modify the work.)  You may place\nadditional permissions on material, added by you to a covered work,\nfor which you have or can give appropriate copyright permission.\n\n  Notwithstanding any other provision of this License, for material you\nadd to a covered work, you may (if authorized by the copyright holders of\nthat material) supplement the terms of this License with terms:\n\n    a) Disclaiming warranty or limiting liability differently from the\n    terms of sections 15 and 16 of this License; or\n\n    b) Requiring preservation of specified reasonable legal notices or\n    author attributions in that material or in the Appropriate Legal\n    Notices displayed by works containing it; or\n\n    c) Prohibiting misrepresentation of the origin of that material, or\n    requiring that modified versions of such material be marked in\n    reasonable ways as different from the original version; or\n\n    d) Limiting the use for publicity purposes of names of licensors or\n    authors of the material; or\n\n    e) Declining to grant rights under trademark law for use of some\n    trade names, trademarks, or service marks; or\n\n    f) Requiring indemnification of licensors and authors of that\n    material by anyone who conveys the material (or modified versions of\n    it) with contractual assumptions of liability to the recipient, for\n    any liability that these contractual assumptions directly impose on\n    those licensors and authors.\n\n  All other non-permissive additional terms are considered \"further\nrestrictions\" within the meaning of section 10.  If the Program as you\nreceived it, or any part of it, contains a notice stating that it is\ngoverned by this License along with a term that is a further\nrestriction, you may remove that term.  If a license document contains\na further restriction but permits relicensing or conveying under this\nLicense, you may add to a covered work material governed by the terms\nof that license document, provided that the further restriction does\nnot survive such relicensing or conveying.\n\n  If you add terms to a covered work in accord with this section, you\nmust place, in the relevant source files, a statement of the\nadditional terms that apply to those files, or a notice indicating\nwhere to find the applicable terms.\n\n  Additional terms, permissive or non-permissive, may be stated in the\nform of a separately written license, or stated as exceptions;\nthe above requirements apply either way.\n\n  8. Termination.\n\n  You may not propagate or modify a covered work except as expressly\nprovided under this License.  Any attempt otherwise to propagate or\nmodify it is void, and will automatically terminate your rights under\nthis License (including any patent licenses granted under the third\nparagraph of section 11).\n\n  However, if you cease all violation of this License, then your\nlicense from a particular copyright holder is reinstated (a)\nprovisionally, unless and until the copyright holder explicitly and\nfinally terminates your license, and (b) permanently, if the copyright\nholder fails to notify you of the violation by some reasonable means\nprior to 60 days after the cessation.\n\n  Moreover, your license from a particular copyright holder is\nreinstated permanently if the copyright holder notifies you of the\nviolation by some reasonable means, this is the first time you have\nreceived notice of violation of this License (for any work) from that\ncopyright holder, and you cure the violation prior to 30 days after\nyour receipt of the notice.\n\n  Termination of your rights under this section does not terminate the\nlicenses of parties who have received copies or rights from you under\nthis License.  If your rights have been terminated and not permanently\nreinstated, you do not qualify to receive new licenses for the same\nmaterial under section 10.\n\n  9. Acceptance Not Required for Having Copies.\n\n  You are not required to accept this License in order to receive or\nrun a copy of the Program.  Ancillary propagation of a covered work\noccurring solely as a consequence of using peer-to-peer transmission\nto receive a copy likewise does not require acceptance.  However,\nnothing other than this License grants you permission to propagate or\nmodify any covered work.  These actions infringe copyright if you do\nnot accept this License.  Therefore, by modifying or propagating a\ncovered work, you indicate your acceptance of this License to do so.\n\n  10. Automatic Licensing of Downstream Recipients.\n\n  Each time you convey a covered work, the recipient automatically\nreceives a license from the original licensors, to run, modify and\npropagate that work, subject to this License.  You are not responsible\nfor enforcing compliance by third parties with this License.\n\n  An \"entity transaction\" is a transaction transferring control of an\norganization, or substantially all assets of one, or subdividing an\norganization, or merging organizations.  If propagation of a covered\nwork results from an entity transaction, each party to that\ntransaction who receives a copy of the work also receives whatever\nlicenses to the work the party's predecessor in interest had or could\ngive under the previous paragraph, plus a right to possession of the\nCorresponding Source of the work from the predecessor in interest, if\nthe predecessor has it or can get it with reasonable efforts.\n\n  You may not impose any further restrictions on the exercise of the\nrights granted or affirmed under this License.  For example, you may\nnot impose a license fee, royalty, or other charge for exercise of\nrights granted under this License, and you may not initiate litigation\n(including a cross-claim or counterclaim in a lawsuit) alleging that\nany patent claim is infringed by making, using, selling, offering for\nsale, or importing the Program or any portion of it.\n\n  11. Patents.\n\n  A \"contributor\" is a copyright holder who authorizes use under this\nLicense of the Program or a work on which the Program is based.  The\nwork thus licensed is called the contributor's \"contributor version\".\n\n  A contributor's \"essential patent claims\" are all patent claims\nowned or controlled by the contributor, whether already acquired or\nhereafter acquired, that would be infringed by some manner, permitted\nby this License, of making, using, or selling its contributor version,\nbut do not include claims that would be infringed only as a\nconsequence of further modification of the contributor version.  For\npurposes of this definition, \"control\" includes the right to grant\npatent sublicenses in a manner consistent with the requirements of\nthis License.\n\n  Each contributor grants you a non-exclusive, worldwide, royalty-free\npatent license under the contributor's essential patent claims, to\nmake, use, sell, offer for sale, import and otherwise run, modify and\npropagate the contents of its contributor version.\n\n  In the following three paragraphs, a \"patent license\" is any express\nagreement or commitment, however denominated, not to enforce a patent\n(such as an express permission to practice a patent or covenant not to\nsue for patent infringement).  To \"grant\" such a patent license to a\nparty means to make such an agreement or commitment not to enforce a\npatent against the party.\n\n  If you convey a covered work, knowingly relying on a patent license,\nand the Corresponding Source of the work is not available for anyone\nto copy, free of charge and under the terms of this License, through a\npublicly available network server or other readily accessible means,\nthen you must either (1) cause the Corresponding Source to be so\navailable, or (2) arrange to deprive yourself of the benefit of the\npatent license for this particular work, or (3) arrange, in a manner\nconsistent with the requirements of this License, to extend the patent\nlicense to downstream recipients.  \"Knowingly relying\" means you have\nactual knowledge that, but for the patent license, your conveying the\ncovered work in a country, or your recipient's use of the covered work\nin a country, would infringe one or more identifiable patents in that\ncountry that you have reason to believe are valid.\n\n  If, pursuant to or in connection with a single transaction or\narrangement, you convey, or propagate by procuring conveyance of, a\ncovered work, and grant a patent license to some of the parties\nreceiving the covered work authorizing them to use, propagate, modify\nor convey a specific copy of the covered work, then the patent license\nyou grant is automatically extended to all recipients of the covered\nwork and works based on it.\n\n  A patent license is \"discriminatory\" if it does not include within\nthe scope of its coverage, prohibits the exercise of, or is\nconditioned on the non-exercise of one or more of the rights that are\nspecifically granted under this License.  You may not convey a covered\nwork if you are a party to an arrangement with a third party that is\nin the business of distributing software, under which you make payment\nto the third party based on the extent of your activity of conveying\nthe work, and under which the third party grants, to any of the\nparties who would receive the covered work from you, a discriminatory\npatent license (a) in connection with copies of the covered work\nconveyed by you (or copies made from those copies), or (b) primarily\nfor and in connection with specific products or compilations that\ncontain the covered work, unless you entered into that arrangement,\nor that patent license was granted, prior to 28 March 2007.\n\n  Nothing in this License shall be construed as excluding or limiting\nany implied license or other defenses to infringement that may\notherwise be available to you under applicable patent law.\n\n  12. No Surrender of Others' Freedom.\n\n  If conditions are imposed on you (whether by court order, agreement or\notherwise) that contradict the conditions of this License, they do not\nexcuse you from the conditions of this License.  If you cannot convey a\ncovered work so as to satisfy simultaneously your obligations under this\nLicense and any other pertinent obligations, then as a consequence you may\nnot convey it at all.  For example, if you agree to terms that obligate you\nto collect a royalty for further conveying from those to whom you convey\nthe Program, the only way you could satisfy both those terms and this\nLicense would be to refrain entirely from conveying the Program.\n\n  13. Remote Network Interaction; Use with the GNU General Public License.\n\n  Notwithstanding any other provision of this License, if you modify the\nProgram, your modified version must prominently offer all users\ninteracting with it remotely through a computer network (if your version\nsupports such interaction) an opportunity to receive the Corresponding\nSource of your version by providing access to the Corresponding Source\nfrom a network server at no charge, through some standard or customary\nmeans of facilitating copying of software.  This Corresponding Source\nshall include the Corresponding Source for any work covered by version 3\nof the GNU General Public License that is incorporated pursuant to the\nfollowing paragraph.\n\n  Notwithstanding any other provision of this License, you have\npermission to link or combine any covered work with a work licensed\nunder version 3 of the GNU General Public License into a single\ncombined work, and to convey the resulting work.  The terms of this\nLicense will continue to apply to the part which is the covered work,\nbut the work with which it is combined will remain governed by version\n3 of the GNU General Public License.\n\n  14. Revised Versions of this License.\n\n  The Free Software Foundation may publish revised and/or new versions of\nthe GNU Affero General Public License from time to time.  Such new versions\nwill be similar in spirit to the present version, but may differ in detail to\naddress new problems or concerns.\n\n  Each version is given a distinguishing version number.  If the\nProgram specifies that a certain numbered version of the GNU Affero General\nPublic License \"or any later version\" applies to it, you have the\noption of following the terms and conditions either of that numbered\nversion or of any later version published by the Free Software\nFoundation.  If the Program does not specify a version number of the\nGNU Affero General Public License, you may choose any version ever published\nby the Free Software Foundation.\n\n  If the Program specifies that a proxy can decide which future\nversions of the GNU Affero General Public License can be used, that proxy's\npublic statement of acceptance of a version permanently authorizes you\nto choose that version for the Program.\n\n  Later license versions may give you additional or different\npermissions.  However, no additional obligations are imposed on any\nauthor or copyright holder as a result of your choosing to follow a\nlater version.\n\n  15. Disclaimer of Warranty.\n\n  THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY\nAPPLICABLE LAW.  EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT\nHOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM \"AS IS\" WITHOUT WARRANTY\nOF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,\nTHE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\nPURPOSE.  THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM\nIS WITH YOU.  SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF\nALL NECESSARY SERVICING, REPAIR OR CORRECTION.\n\n  16. Limitation of Liability.\n\n  IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING\nWILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS\nTHE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY\nGENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE\nUSE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF\nDATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD\nPARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),\nEVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF\nSUCH DAMAGES.\n\n  17. Interpretation of Sections 15 and 16.\n\n  If the disclaimer of warranty and limitation of liability provided\nabove cannot be given local legal effect according to their terms,\nreviewing courts shall apply local law that most closely approximates\nan absolute waiver of all civil liability in connection with the\nProgram, unless a warranty or assumption of liability accompanies a\ncopy of the Program in return for a fee.\n\n                     END OF TERMS AND CONDITIONS\n\n            How to Apply These Terms to Your New Programs\n\n  If you develop a new program, and you want it to be of the greatest\npossible use to the public, the best way to achieve this is to make it\nfree software which everyone can redistribute and change under these terms.\n\n  To do so, attach the following notices to the program.  It is safest\nto attach them to the start of each source file to most effectively\nstate the exclusion of warranty; and each file should have at least\nthe \"copyright\" line and a pointer to where the full notice is found.\n\n    <one line to give the program's name and a brief idea of what it does.>\n    Copyright (C) <year>  <name of author>\n\n    This program is free software: you can redistribute it and/or modify\n    it under the terms of the GNU Affero General Public License as published by\n    the Free Software Foundation, either version 3 of the License, or\n    (at your option) any later version.\n\n    This program is distributed in the hope that it will be useful,\n    but WITHOUT ANY WARRANTY; without even the implied warranty of\n    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n    GNU Affero General Public License for more details.\n\n    You should have received a copy of the GNU Affero General Public License\n    along with this program.  If not, see <https://www.gnu.org/licenses/>.\n\nAlso add information on how to contact you by electronic and paper mail.\n\n  If your software can interact with users remotely through a computer\nnetwork, you should also make sure that it provides a way for users to\nget its source.  For example, if your program is a web application, its\ninterface could display a \"Source\" link that leads users to an archive\nof the code.  There are many ways you could offer source, and different\nsolutions will be better for different programs; see section 13 for the\nspecific requirements.\n\n  You should also get your employer (if you work as a programmer) or school,\nif any, to sign a \"copyright disclaimer\" for the program, if necessary.\nFor more information on this, and how to apply and follow the GNU AGPL, see\n<https://www.gnu.org/licenses/>.\n","resolutions":{"ffjavascript":"0.2.59"},"dependencies":{"yup":"^0.32.11","axios":"0.27.2","blake2b":"^2.1.4","tweetnacl":"^1.0.3","wasmcurves":"0.2.1","web-worker":"^1.2.0","wasmbuilder":"^0.0.16","@vocdoni/proto":"1.15.4","tiny-invariant":"^1.3.1","readable-stream":"^4.4.2","@size-limit/file":"^8.2.4","iso-language-codes":"^1.1.0","@ethersproject/sha2":"^5.7.0","@ethersproject/bytes":"^5.7.0","@ethersproject/units":"^5.7.0","@ethersproject/wallet":"^5.7.0","@ethersproject/address":"^5.7.0","@ethersproject/strings":"^5.7.0","@ethersproject/bignumber":"^5.7.0","@ethersproject/keccak256":"^5.7.0","@ethersproject/providers":"^5.7.1","@ethersproject/signing-key":"^5.7.0","@ethersproject/abstract-signer":"^5.7.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.3.0","husky":"^8.0.2","tslib":"^2.4.0","buffer":"^6.0.3","eslint":"^8.27.0","rimraf":"^3.0.2","rollup":"^3.22.0","blakejs":"^1.2.1","esbuild":"^0.17.10","snarkjs":"vocdoni/snarkjs#v0.7.0-groth16browser","ts-jest":"^29.0.3","prettier":"^2.7.1","size-limit":"^8.1.0","typescript":"^4.8.4","@types/jest":"^29.2.2","circomlibjs":"^0.1.7","ffjavascript":"0.2.59","blindsecp256k1":"^0.0.9","rollup-plugin-dts":"^5.1.1","@rollup/plugin-json":"^6.0.0","rollup-plugin-esbuild":"^5.0.0","eslint-config-prettier":"^8.5.0","eslint-plugin-prettier":"^4.2.1","@rollup/plugin-commonjs":"^24.0.0","@typescript-eslint/parser":"^5.42.1","@rollup/plugin-node-resolve":"^15.0.1","rollup-plugin-polyfill-node":"^0.12.0","@typescript-eslint/eslint-plugin":"^5.42.1"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.4.3_1699548969312_0.7465230955521438","host":"s3://npm-registry-packages"}},"0.5.0":{"name":"@vocdoni/sdk","version":"0.5.0","keywords":["voting","blockchain","vocdoni"],"author":{"name":"Vocdoni"},"license":"AGPL-3.0-or-later","_id":"@vocdoni/sdk@0.5.0","maintainers":[{"name":"elboletaire","email":"elboletaire@underave.net"},{"name":"emmdim","email":"manos@vocdoni.io"},{"name":"marcvelmer","email":"marc1987@gmail.com"},{"name":"brickpop","email":"itsbrickpop@gmail.com"},{"name":"jpainan","email":"jpainan@vocdoni.io"}],"dist":{"shasum":"34084e796bb744c68c17e107f80cdf30b9b316e4","tarball":"https://registry.npmjs.org/@vocdoni/sdk/-/sdk-0.5.0.tgz","fileCount":13,"integrity":"sha512-7MobpmGeCyMyywj8UdpwHdJTE/z28m6jENgwe7UHIYYsaTqzSyWV8Zq/RisRA5vD2jgQbXTVmhzzzV0LXBDwuQ==","signatures":[{"sig":"MEQCID12X4+eBL1rbmmd4na5Yf497pP7OXKsmAvUPfg9Rh+pAiB/RP0BS6rfhBEOz//PMnbt7LnUl7z+KDzeK0665ULPYw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31879233},"jest":{"preset":"ts-jest","testEnvironment":"node"},"main":"dist/index.js","husky":{"hooks":{"pre-commit":"yarn lint"}},"types":"./dist/index.d.ts","module":"dist/index.mjs","engines":{"node":">=14"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./umd":{"types":"./dist/index.d.ts","default":"./dist/index.umd.js"},"./package.json":"./package.json"},"scripts":{"lint":"eslint src test --ext .js,.jsx,.ts,.tsx","size":"size-limit","test":"yarn test:unit && yarn test:api && yarn test:census3 && yarn test:service && yarn test:integration","build":"rollup -c","clean":"rimraf node_modules dist","start":"yarn watch","watch":"yarn build --watch","lintfix":"yarn lint --fix","prepare":"yarn build","test:api":"jest test/api","ts-types":"tsc --emitDeclarationOnly --outDir dist","test:unit":"jest test/unit --verbose","test:census3":"yarn test:census3:api && yarn test:census3:integration","test:service":"yarn test:service:census && yarn test:service:anonymous && yarn test:service:csp","test:census3:api":"jest test/census3/api","test:integration":"yarn test:integration:account && yarn test:integration:csp && yarn test:integration:election && yarn test:integration:other","test:service:csp":"jest test/services/csp.test.ts","test:integration:zk":"jest test/integration/zk.test.ts --forceExit --runInBand","test:service:census":"jest test/services/census.test.ts","test:integration:csp":"jest test/integration/csp.test.ts","test:integration:other":"jest test/integration/other.test.ts","test:service:anonymous":"jest test/services/anonymous.test.ts","test:census3:integration":"jest test/census3/integration","test:integration:account":"jest test/integration/account.test.ts","test:integration:election":"jest test/integration/election.test.ts"},"_npmUser":{"name":"emmdim","email":"manos@vocdoni.io"},"prettier":{"semi":true,"printWidth":120,"singleQuote":true,"trailingComma":"es5"},"deprecated":"0.5.0 is no longer supported","repository":{"url":"https://github.com/vocdoni/vocdoni-sdk.git","type":"git"},"size-limit":[{"path":"dist/index.js","limit":"2 MB"},{"path":"dist/index.mjs","limit":"2 MB"},{"path":"dist/index.umd.js","limit":"2 MB"}],"description":"⚒️An SDK for building applications on top of Vocdoni API","directories":{},"licenseText":"                    GNU AFFERO GENERAL PUBLIC LICENSE\n                       Version 3, 19 November 2007\n\n Copyright (C) 2020 Vocdoni Roots MTU, <https://vocdoni.io>\n Everyone is permitted to copy and distribute verbatim copies\n of this license document, but changing it is not allowed.\n\n                            Preamble\n\n  The GNU Affero General Public License is a free, copyleft license for\nsoftware and other kinds of works, specifically designed to ensure\ncooperation with the community in the case of network server software.\n\n  The licenses for most software and other practical works are designed\nto take away your freedom to share and change the works.  By contrast,\nour General Public Licenses are intended to guarantee your freedom to\nshare and change all versions of a program--to make sure it remains free\nsoftware for all its users.\n\n  When we speak of free software, we are referring to freedom, not\nprice.  Our General Public Licenses are designed to make sure that you\nhave the freedom to distribute copies of free software (and charge for\nthem if you wish), that you receive source code or can get it if you\nwant it, that you can change the software or use pieces of it in new\nfree programs, and that you know you can do these things.\n\n  Developers that use our General Public Licenses protect your rights\nwith two steps: (1) assert copyright on the software, and (2) offer\nyou this License which gives you legal permission to copy, distribute\nand/or modify the software.\n\n  A secondary benefit of defending all users' freedom is that\nimprovements made in alternate versions of the program, if they\nreceive widespread use, become available for other developers to\nincorporate.  Many developers of free software are heartened and\nencouraged by the resulting cooperation.  However, in the case of\nsoftware used on network servers, this result may fail to come about.\nThe GNU General Public License permits making a modified version and\nletting the public access it on a server without ever releasing its\nsource code to the public.\n\n  The GNU Affero General Public License is designed specifically to\nensure that, in such cases, the modified source code becomes available\nto the community.  It requires the operator of a network server to\nprovide the source code of the modified version running there to the\nusers of that server.  Therefore, public use of a modified version, on\na publicly accessible server, gives the public access to the source\ncode of the modified version.\n\n  An older license, called the Affero General Public License and\npublished by Affero, was designed to accomplish similar goals.  This is\na different license, not a version of the Affero GPL, but Affero has\nreleased a new version of the Affero GPL which permits relicensing under\nthis license.\n\n  The precise terms and conditions for copying, distribution and\nmodification follow.\n\n                       TERMS AND CONDITIONS\n\n  0. Definitions.\n\n  \"This License\" refers to version 3 of the GNU Affero General Public License.\n\n  \"Copyright\" also means copyright-like laws that apply to other kinds of\nworks, such as semiconductor masks.\n\n  \"The Program\" refers to any copyrightable work licensed under this\nLicense.  Each licensee is addressed as \"you\".  \"Licensees\" and\n\"recipients\" may be individuals or organizations.\n\n  To \"modify\" a work means to copy from or adapt all or part of the work\nin a fashion requiring copyright permission, other than the making of an\nexact copy.  The resulting work is called a \"modified version\" of the\nearlier work or a work \"based on\" the earlier work.\n\n  A \"covered work\" means either the unmodified Program or a work based\non the Program.\n\n  To \"propagate\" a work means to do anything with it that, without\npermission, would make you directly or secondarily liable for\ninfringement under applicable copyright law, except executing it on a\ncomputer or modifying a private copy.  Propagation includes copying,\ndistribution (with or without modification), making available to the\npublic, and in some countries other activities as well.\n\n  To \"convey\" a work means any kind of propagation that enables other\nparties to make or receive copies.  Mere interaction with a user through\na computer network, with no transfer of a copy, is not conveying.\n\n  An interactive user interface displays \"Appropriate Legal Notices\"\nto the extent that it includes a convenient and prominently visible\nfeature that (1) displays an appropriate copyright notice, and (2)\ntells the user that there is no warranty for the work (except to the\nextent that warranties are provided), that licensees may convey the\nwork under this License, and how to view a copy of this License.  If\nthe interface presents a list of user commands or options, such as a\nmenu, a prominent item in the list meets this criterion.\n\n  1. Source Code.\n\n  The \"source code\" for a work means the preferred form of the work\nfor making modifications to it.  \"Object code\" means any non-source\nform of a work.\n\n  A \"Standard Interface\" means an interface that either is an official\nstandard defined by a recognized standards body, or, in the case of\ninterfaces specified for a particular programming language, one that\nis widely used among developers working in that language.\n\n  The \"System Libraries\" of an executable work include anything, other\nthan the work as a whole, that (a) is included in the normal form of\npackaging a Major Component, but which is not part of that Major\nComponent, and (b) serves only to enable use of the work with that\nMajor Component, or to implement a Standard Interface for which an\nimplementation is available to the public in source code form.  A\n\"Major Component\", in this context, means a major essential component\n(kernel, window system, and so on) of the specific operating system\n(if any) on which the executable work runs, or a compiler used to\nproduce the work, or an object code interpreter used to run it.\n\n  The \"Corresponding Source\" for a work in object code form means all\nthe source code needed to generate, install, and (for an executable\nwork) run the object code and to modify the work, including scripts to\ncontrol those activities.  However, it does not include the work's\nSystem Libraries, or general-purpose tools or generally available free\nprograms which are used unmodified in performing those activities but\nwhich are not part of the work.  For example, Corresponding Source\nincludes interface definition files associated with source files for\nthe work, and the source code for shared libraries and dynamically\nlinked subprograms that the work is specifically designed to require,\nsuch as by intimate data communication or control flow between those\nsubprograms and other parts of the work.\n\n  The Corresponding Source need not include anything that users\ncan regenerate automatically from other parts of the Corresponding\nSource.\n\n  The Corresponding Source for a work in source code form is that\nsame work.\n\n  2. Basic Permissions.\n\n  All rights granted under this License are granted for the term of\ncopyright on the Program, and are irrevocable provided the stated\nconditions are met.  This License explicitly affirms your unlimited\npermission to run the unmodified Program.  The output from running a\ncovered work is covered by this License only if the output, given its\ncontent, constitutes a covered work.  This License acknowledges your\nrights of fair use or other equivalent, as provided by copyright law.\n\n  You may make, run and propagate covered works that you do not\nconvey, without conditions so long as your license otherwise remains\nin force.  You may convey covered works to others for the sole purpose\nof having them make modifications exclusively for you, or provide you\nwith facilities for running those works, provided that you comply with\nthe terms of this License in conveying all material for which you do\nnot control copyright.  Those thus making or running the covered works\nfor you must do so exclusively on your behalf, under your direction\nand control, on terms that prohibit them from making any copies of\nyour copyrighted material outside their relationship with you.\n\n  Conveying under any other circumstances is permitted solely under\nthe conditions stated below.  Sublicensing is not allowed; section 10\nmakes it unnecessary.\n\n  3. Protecting Users' Legal Rights From Anti-Circumvention Law.\n\n  No covered work shall be deemed part of an effective technological\nmeasure under any applicable law fulfilling obligations under article\n11 of the WIPO copyright treaty adopted on 20 December 1996, or\nsimilar laws prohibiting or restricting circumvention of such\nmeasures.\n\n  When you convey a covered work, you waive any legal power to forbid\ncircumvention of technological measures to the extent such circumvention\nis effected by exercising rights under this License with respect to\nthe covered work, and you disclaim any intention to limit operation or\nmodification of the work as a means of enforcing, against the work's\nusers, your or third parties' legal rights to forbid circumvention of\ntechnological measures.\n\n  4. Conveying Verbatim Copies.\n\n  You may convey verbatim copies of the Program's source code as you\nreceive it, in any medium, provided that you conspicuously and\nappropriately publish on each copy an appropriate copyright notice;\nkeep intact all notices stating that this License and any\nnon-permissive terms added in accord with section 7 apply to the code;\nkeep intact all notices of the absence of any warranty; and give all\nrecipients a copy of this License along with the Program.\n\n  You may charge any price or no price for each copy that you convey,\nand you may offer support or warranty protection for a fee.\n\n  5. Conveying Modified Source Versions.\n\n  You may convey a work based on the Program, or the modifications to\nproduce it from the Program, in the form of source code under the\nterms of section 4, provided that you also meet all of these conditions:\n\n    a) The work must carry prominent notices stating that you modified\n    it, and giving a relevant date.\n\n    b) The work must carry prominent notices stating that it is\n    released under this License and any conditions added under section\n    7.  This requirement modifies the requirement in section 4 to\n    \"keep intact all notices\".\n\n    c) You must license the entire work, as a whole, under this\n    License to anyone who comes into possession of a copy.  This\n    License will therefore apply, along with any applicable section 7\n    additional terms, to the whole of the work, and all its parts,\n    regardless of how they are packaged.  This License gives no\n    permission to license the work in any other way, but it does not\n    invalidate such permission if you have separately received it.\n\n    d) If the work has interactive user interfaces, each must display\n    Appropriate Legal Notices; however, if the Program has interactive\n    interfaces that do not display Appropriate Legal Notices, your\n    work need not make them do so.\n\n  A compilation of a covered work with other separate and independent\nworks, which are not by their nature extensions of the covered work,\nand which are not combined with it such as to form a larger program,\nin or on a volume of a storage or distribution medium, is called an\n\"aggregate\" if the compilation and its resulting copyright are not\nused to limit the access or legal rights of the compilation's users\nbeyond what the individual works permit.  Inclusion of a covered work\nin an aggregate does not cause this License to apply to the other\nparts of the aggregate.\n\n  6. Conveying Non-Source Forms.\n\n  You may convey a covered work in object code form under the terms\nof sections 4 and 5, provided that you also convey the\nmachine-readable Corresponding Source under the terms of this License,\nin one of these ways:\n\n    a) Convey the object code in, or embodied in, a physical product\n    (including a physical distribution medium), accompanied by the\n    Corresponding Source fixed on a durable physical medium\n    customarily used for software interchange.\n\n    b) Convey the object code in, or embodied in, a physical product\n    (including a physical distribution medium), accompanied by a\n    written offer, valid for at least three years and valid for as\n    long as you offer spare parts or customer support for that product\n    model, to give anyone who possesses the object code either (1) a\n    copy of the Corresponding Source for all the software in the\n    product that is covered by this License, on a durable physical\n    medium customarily used for software interchange, for a price no\n    more than your reasonable cost of physically performing this\n    conveying of source, or (2) access to copy the\n    Corresponding Source from a network server at no charge.\n\n    c) Convey individual copies of the object code with a copy of the\n    written offer to provide the Corresponding Source.  This\n    alternative is allowed only occasionally and noncommercially, and\n    only if you received the object code with such an offer, in accord\n    with subsection 6b.\n\n    d) Convey the object code by offering access from a designated\n    place (gratis or for a charge), and offer equivalent access to the\n    Corresponding Source in the same way through the same place at no\n    further charge.  You need not require recipients to copy the\n    Corresponding Source along with the object code.  If the place to\n    copy the object code is a network server, the Corresponding Source\n    may be on a different server (operated by you or a third party)\n    that supports equivalent copying facilities, provided you maintain\n    clear directions next to the object code saying where to find the\n    Corresponding Source.  Regardless of what server hosts the\n    Corresponding Source, you remain obligated to ensure that it is\n    available for as long as needed to satisfy these requirements.\n\n    e) Convey the object code using peer-to-peer transmission, provided\n    you inform other peers where the object code and Corresponding\n    Source of the work are being offered to the general public at no\n    charge under subsection 6d.\n\n  A separable portion of the object code, whose source code is excluded\nfrom the Corresponding Source as a System Library, need not be\nincluded in conveying the object code work.\n\n  A \"User Product\" is either (1) a \"consumer product\", which means any\ntangible personal property which is normally used for personal, family,\nor household purposes, or (2) anything designed or sold for incorporation\ninto a dwelling.  In determining whether a product is a consumer product,\ndoubtful cases shall be resolved in favor of coverage.  For a particular\nproduct received by a particular user, \"normally used\" refers to a\ntypical or common use of that class of product, regardless of the status\nof the particular user or of the way in which the particular user\nactually uses, or expects or is expected to use, the product.  A product\nis a consumer product regardless of whether the product has substantial\ncommercial, industrial or non-consumer uses, unless such uses represent\nthe only significant mode of use of the product.\n\n  \"Installation Information\" for a User Product means any methods,\nprocedures, authorization keys, or other information required to install\nand execute modified versions of a covered work in that User Product from\na modified version of its Corresponding Source.  The information must\nsuffice to ensure that the continued functioning of the modified object\ncode is in no case prevented or interfered with solely because\nmodification has been made.\n\n  If you convey an object code work under this section in, or with, or\nspecifically for use in, a User Product, and the conveying occurs as\npart of a transaction in which the right of possession and use of the\nUser Product is transferred to the recipient in perpetuity or for a\nfixed term (regardless of how the transaction is characterized), the\nCorresponding Source conveyed under this section must be accompanied\nby the Installation Information.  But this requirement does not apply\nif neither you nor any third party retains the ability to install\nmodified object code on the User Product (for example, the work has\nbeen installed in ROM).\n\n  The requirement to provide Installation Information does not include a\nrequirement to continue to provide support service, warranty, or updates\nfor a work that has been modified or installed by the recipient, or for\nthe User Product in which it has been modified or installed.  Access to a\nnetwork may be denied when the modification itself materially and\nadversely affects the operation of the network or violates the rules and\nprotocols for communication across the network.\n\n  Corresponding Source conveyed, and Installation Information provided,\nin accord with this section must be in a format that is publicly\ndocumented (and with an implementation available to the public in\nsource code form), and must require no special password or key for\nunpacking, reading or copying.\n\n  7. Additional Terms.\n\n  \"Additional permissions\" are terms that supplement the terms of this\nLicense by making exceptions from one or more of its conditions.\nAdditional permissions that are applicable to the entire Program shall\nbe treated as though they were included in this License, to the extent\nthat they are valid under applicable law.  If additional permissions\napply only to part of the Program, that part may be used separately\nunder those permissions, but the entire Program remains governed by\nthis License without regard to the additional permissions.\n\n  When you convey a copy of a covered work, you may at your option\nremove any additional permissions from that copy, or from any part of\nit.  (Additional permissions may be written to require their own\nremoval in certain cases when you modify the work.)  You may place\nadditional permissions on material, added by you to a covered work,\nfor which you have or can give appropriate copyright permission.\n\n  Notwithstanding any other provision of this License, for material you\nadd to a covered work, you may (if authorized by the copyright holders of\nthat material) supplement the terms of this License with terms:\n\n    a) Disclaiming warranty or limiting liability differently from the\n    terms of sections 15 and 16 of this License; or\n\n    b) Requiring preservation of specified reasonable legal notices or\n    author attributions in that material or in the Appropriate Legal\n    Notices displayed by works containing it; or\n\n    c) Prohibiting misrepresentation of the origin of that material, or\n    requiring that modified versions of such material be marked in\n    reasonable ways as different from the original version; or\n\n    d) Limiting the use for publicity purposes of names of licensors or\n    authors of the material; or\n\n    e) Declining to grant rights under trademark law for use of some\n    trade names, trademarks, or service marks; or\n\n    f) Requiring indemnification of licensors and authors of that\n    material by anyone who conveys the material (or modified versions of\n    it) with contractual assumptions of liability to the recipient, for\n    any liability that these contractual assumptions directly impose on\n    those licensors and authors.\n\n  All other non-permissive additional terms are considered \"further\nrestrictions\" within the meaning of section 10.  If the Program as you\nreceived it, or any part of it, contains a notice stating that it is\ngoverned by this License along with a term that is a further\nrestriction, you may remove that term.  If a license document contains\na further restriction but permits relicensing or conveying under this\nLicense, you may add to a covered work material governed by the terms\nof that license document, provided that the further restriction does\nnot survive such relicensing or conveying.\n\n  If you add terms to a covered work in accord with this section, you\nmust place, in the relevant source files, a statement of the\nadditional terms that apply to those files, or a notice indicating\nwhere to find the applicable terms.\n\n  Additional terms, permissive or non-permissive, may be stated in the\nform of a separately written license, or stated as exceptions;\nthe above requirements apply either way.\n\n  8. Termination.\n\n  You may not propagate or modify a covered work except as expressly\nprovided under this License.  Any attempt otherwise to propagate or\nmodify it is void, and will automatically terminate your rights under\nthis License (including any patent licenses granted under the third\nparagraph of section 11).\n\n  However, if you cease all violation of this License, then your\nlicense from a particular copyright holder is reinstated (a)\nprovisionally, unless and until the copyright holder explicitly and\nfinally terminates your license, and (b) permanently, if the copyright\nholder fails to notify you of the violation by some reasonable means\nprior to 60 days after the cessation.\n\n  Moreover, your license from a particular copyright holder is\nreinstated permanently if the copyright holder notifies you of the\nviolation by some reasonable means, this is the first time you have\nreceived notice of violation of this License (for any work) from that\ncopyright holder, and you cure the violation prior to 30 days after\nyour receipt of the notice.\n\n  Termination of your rights under this section does not terminate the\nlicenses of parties who have received copies or rights from you under\nthis License.  If your rights have been terminated and not permanently\nreinstated, you do not qualify to receive new licenses for the same\nmaterial under section 10.\n\n  9. Acceptance Not Required for Having Copies.\n\n  You are not required to accept this License in order to receive or\nrun a copy of the Program.  Ancillary propagation of a covered work\noccurring solely as a consequence of using peer-to-peer transmission\nto receive a copy likewise does not require acceptance.  However,\nnothing other than this License grants you permission to propagate or\nmodify any covered work.  These actions infringe copyright if you do\nnot accept this License.  Therefore, by modifying or propagating a\ncovered work, you indicate your acceptance of this License to do so.\n\n  10. Automatic Licensing of Downstream Recipients.\n\n  Each time you convey a covered work, the recipient automatically\nreceives a license from the original licensors, to run, modify and\npropagate that work, subject to this License.  You are not responsible\nfor enforcing compliance by third parties with this License.\n\n  An \"entity transaction\" is a transaction transferring control of an\norganization, or substantially all assets of one, or subdividing an\norganization, or merging organizations.  If propagation of a covered\nwork results from an entity transaction, each party to that\ntransaction who receives a copy of the work also receives whatever\nlicenses to the work the party's predecessor in interest had or could\ngive under the previous paragraph, plus a right to possession of the\nCorresponding Source of the work from the predecessor in interest, if\nthe predecessor has it or can get it with reasonable efforts.\n\n  You may not impose any further restrictions on the exercise of the\nrights granted or affirmed under this License.  For example, you may\nnot impose a license fee, royalty, or other charge for exercise of\nrights granted under this License, and you may not initiate litigation\n(including a cross-claim or counterclaim in a lawsuit) alleging that\nany patent claim is infringed by making, using, selling, offering for\nsale, or importing the Program or any portion of it.\n\n  11. Patents.\n\n  A \"contributor\" is a copyright holder who authorizes use under this\nLicense of the Program or a work on which the Program is based.  The\nwork thus licensed is called the contributor's \"contributor version\".\n\n  A contributor's \"essential patent claims\" are all patent claims\nowned or controlled by the contributor, whether already acquired or\nhereafter acquired, that would be infringed by some manner, permitted\nby this License, of making, using, or selling its contributor version,\nbut do not include claims that would be infringed only as a\nconsequence of further modification of the contributor version.  For\npurposes of this definition, \"control\" includes the right to grant\npatent sublicenses in a manner consistent with the requirements of\nthis License.\n\n  Each contributor grants you a non-exclusive, worldwide, royalty-free\npatent license under the contributor's essential patent claims, to\nmake, use, sell, offer for sale, import and otherwise run, modify and\npropagate the contents of its contributor version.\n\n  In the following three paragraphs, a \"patent license\" is any express\nagreement or commitment, however denominated, not to enforce a patent\n(such as an express permission to practice a patent or covenant not to\nsue for patent infringement).  To \"grant\" such a patent license to a\nparty means to make such an agreement or commitment not to enforce a\npatent against the party.\n\n  If you convey a covered work, knowingly relying on a patent license,\nand the Corresponding Source of the work is not available for anyone\nto copy, free of charge and under the terms of this License, through a\npublicly available network server or other readily accessible means,\nthen you must either (1) cause the Corresponding Source to be so\navailable, or (2) arrange to deprive yourself of the benefit of the\npatent license for this particular work, or (3) arrange, in a manner\nconsistent with the requirements of this License, to extend the patent\nlicense to downstream recipients.  \"Knowingly relying\" means you have\nactual knowledge that, but for the patent license, your conveying the\ncovered work in a country, or your recipient's use of the covered work\nin a country, would infringe one or more identifiable patents in that\ncountry that you have reason to believe are valid.\n\n  If, pursuant to or in connection with a single transaction or\narrangement, you convey, or propagate by procuring conveyance of, a\ncovered work, and grant a patent license to some of the parties\nreceiving the covered work authorizing them to use, propagate, modify\nor convey a specific copy of the covered work, then the patent license\nyou grant is automatically extended to all recipients of the covered\nwork and works based on it.\n\n  A patent license is \"discriminatory\" if it does not include within\nthe scope of its coverage, prohibits the exercise of, or is\nconditioned on the non-exercise of one or more of the rights that are\nspecifically granted under this License.  You may not convey a covered\nwork if you are a party to an arrangement with a third party that is\nin the business of distributing software, under which you make payment\nto the third party based on the extent of your activity of conveying\nthe work, and under which the third party grants, to any of the\nparties who would receive the covered work from you, a discriminatory\npatent license (a) in connection with copies of the covered work\nconveyed by you (or copies made from those copies), or (b) primarily\nfor and in connection with specific products or compilations that\ncontain the covered work, unless you entered into that arrangement,\nor that patent license was granted, prior to 28 March 2007.\n\n  Nothing in this License shall be construed as excluding or limiting\nany implied license or other defenses to infringement that may\notherwise be available to you under applicable patent law.\n\n  12. No Surrender of Others' Freedom.\n\n  If conditions are imposed on you (whether by court order, agreement or\notherwise) that contradict the conditions of this License, they do not\nexcuse you from the conditions of this License.  If you cannot convey a\ncovered work so as to satisfy simultaneously your obligations under this\nLicense and any other pertinent obligations, then as a consequence you may\nnot convey it at all.  For example, if you agree to terms that obligate you\nto collect a royalty for further conveying from those to whom you convey\nthe Program, the only way you could satisfy both those terms and this\nLicense would be to refrain entirely from conveying the Program.\n\n  13. Remote Network Interaction; Use with the GNU General Public License.\n\n  Notwithstanding any other provision of this License, if you modify the\nProgram, your modified version must prominently offer all users\ninteracting with it remotely through a computer network (if your version\nsupports such interaction) an opportunity to receive the Corresponding\nSource of your version by providing access to the Corresponding Source\nfrom a network server at no charge, through some standard or customary\nmeans of facilitating copying of software.  This Corresponding Source\nshall include the Corresponding Source for any work covered by version 3\nof the GNU General Public License that is incorporated pursuant to the\nfollowing paragraph.\n\n  Notwithstanding any other provision of this License, you have\npermission to link or combine any covered work with a work licensed\nunder version 3 of the GNU General Public License into a single\ncombined work, and to convey the resulting work.  The terms of this\nLicense will continue to apply to the part which is the covered work,\nbut the work with which it is combined will remain governed by version\n3 of the GNU General Public License.\n\n  14. Revised Versions of this License.\n\n  The Free Software Foundation may publish revised and/or new versions of\nthe GNU Affero General Public License from time to time.  Such new versions\nwill be similar in spirit to the present version, but may differ in detail to\naddress new problems or concerns.\n\n  Each version is given a distinguishing version number.  If the\nProgram specifies that a certain numbered version of the GNU Affero General\nPublic License \"or any later version\" applies to it, you have the\noption of following the terms and conditions either of that numbered\nversion or of any later version published by the Free Software\nFoundation.  If the Program does not specify a version number of the\nGNU Affero General Public License, you may choose any version ever published\nby the Free Software Foundation.\n\n  If the Program specifies that a proxy can decide which future\nversions of the GNU Affero General Public License can be used, that proxy's\npublic statement of acceptance of a version permanently authorizes you\nto choose that version for the Program.\n\n  Later license versions may give you additional or different\npermissions.  However, no additional obligations are imposed on any\nauthor or copyright holder as a result of your choosing to follow a\nlater version.\n\n  15. Disclaimer of Warranty.\n\n  THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY\nAPPLICABLE LAW.  EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT\nHOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM \"AS IS\" WITHOUT WARRANTY\nOF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,\nTHE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\nPURPOSE.  THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM\nIS WITH YOU.  SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF\nALL NECESSARY SERVICING, REPAIR OR CORRECTION.\n\n  16. Limitation of Liability.\n\n  IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING\nWILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS\nTHE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY\nGENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE\nUSE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF\nDATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD\nPARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),\nEVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF\nSUCH DAMAGES.\n\n  17. Interpretation of Sections 15 and 16.\n\n  If the disclaimer of warranty and limitation of liability provided\nabove cannot be given local legal effect according to their terms,\nreviewing courts shall apply local law that most closely approximates\nan absolute waiver of all civil liability in connection with the\nProgram, unless a warranty or assumption of liability accompanies a\ncopy of the Program in return for a fee.\n\n                     END OF TERMS AND CONDITIONS\n\n            How to Apply These Terms to Your New Programs\n\n  If you develop a new program, and you want it to be of the greatest\npossible use to the public, the best way to achieve this is to make it\nfree software which everyone can redistribute and change under these terms.\n\n  To do so, attach the following notices to the program.  It is safest\nto attach them to the start of each source file to most effectively\nstate the exclusion of warranty; and each file should have at least\nthe \"copyright\" line and a pointer to where the full notice is found.\n\n    <one line to give the program's name and a brief idea of what it does.>\n    Copyright (C) <year>  <name of author>\n\n    This program is free software: you can redistribute it and/or modify\n    it under the terms of the GNU Affero General Public License as published by\n    the Free Software Foundation, either version 3 of the License, or\n    (at your option) any later version.\n\n    This program is distributed in the hope that it will be useful,\n    but WITHOUT ANY WARRANTY; without even the implied warranty of\n    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n    GNU Affero General Public License for more details.\n\n    You should have received a copy of the GNU Affero General Public License\n    along with this program.  If not, see <https://www.gnu.org/licenses/>.\n\nAlso add information on how to contact you by electronic and paper mail.\n\n  If your software can interact with users remotely through a computer\nnetwork, you should also make sure that it provides a way for users to\nget its source.  For example, if your program is a web application, its\ninterface could display a \"Source\" link that leads users to an archive\nof the code.  There are many ways you could offer source, and different\nsolutions will be better for different programs; see section 13 for the\nspecific requirements.\n\n  You should also get your employer (if you work as a programmer) or school,\nif any, to sign a \"copyright disclaimer\" for the program, if necessary.\nFor more information on this, and how to apply and follow the GNU AGPL, see\n<https://www.gnu.org/licenses/>.\n","resolutions":{"ffjavascript":"0.2.59"},"dependencies":{"yup":"^0.32.11","axios":"0.27.2","blake2b":"^2.1.4","tweetnacl":"^1.0.3","wasmcurves":"0.2.1","web-worker":"^1.2.0","wasmbuilder":"^0.0.16","@vocdoni/proto":"1.15.4","tiny-invariant":"^1.3.1","readable-stream":"^4.4.2","@size-limit/file":"^8.2.4","iso-language-codes":"^1.1.0","@ethersproject/sha2":"^5.7.0","@ethersproject/bytes":"^5.7.0","@ethersproject/units":"^5.7.0","@ethersproject/wallet":"^5.7.0","@ethersproject/address":"^5.7.0","@ethersproject/strings":"^5.7.0","@ethersproject/bignumber":"^5.7.0","@ethersproject/keccak256":"^5.7.0","@ethersproject/providers":"^5.7.1","@ethersproject/signing-key":"^5.7.0","@ethersproject/abstract-signer":"^5.7.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.3.0","husky":"^8.0.2","tslib":"^2.4.0","buffer":"^6.0.3","eslint":"^8.27.0","rimraf":"^3.0.2","rollup":"^3.22.0","blakejs":"^1.2.1","esbuild":"^0.17.10","snarkjs":"vocdoni/snarkjs#v0.7.0-groth16browser","ts-jest":"^29.0.3","prettier":"^2.7.1","size-limit":"^8.1.0","typescript":"^4.8.4","@types/jest":"^29.2.2","circomlibjs":"^0.1.7","ffjavascript":"0.2.59","blindsecp256k1":"^0.0.9","rollup-plugin-dts":"^5.1.1","@rollup/plugin-json":"^6.0.0","rollup-plugin-esbuild":"^5.0.0","eslint-config-prettier":"^8.5.0","eslint-plugin-prettier":"^4.2.1","@rollup/plugin-commonjs":"^24.0.0","@typescript-eslint/parser":"^5.42.1","@rollup/plugin-node-resolve":"^15.0.1","rollup-plugin-polyfill-node":"^0.12.0","@typescript-eslint/eslint-plugin":"^5.42.1"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.5.0_1699972938669_0.17640949889540547","host":"s3://npm-registry-packages"}},"0.5.1":{"name":"@vocdoni/sdk","version":"0.5.1","keywords":["voting","blockchain","vocdoni"],"author":{"name":"Vocdoni"},"license":"AGPL-3.0-or-later","_id":"@vocdoni/sdk@0.5.1","maintainers":[{"name":"elboletaire","email":"elboletaire@underave.net"},{"name":"emmdim","email":"manos@vocdoni.io"},{"name":"marcvelmer","email":"marc1987@gmail.com"},{"name":"brickpop","email":"itsbrickpop@gmail.com"},{"name":"jpainan","email":"jpainan@vocdoni.io"}],"dist":{"shasum":"804172608659d45d639e7cba50fa66faf329d909","tarball":"https://registry.npmjs.org/@vocdoni/sdk/-/sdk-0.5.1.tgz","fileCount":13,"integrity":"sha512-Ly0N9wRt7KFShmhnVDAFSDHJgU2mmTR0X8kbXygB3ytDxCh32XX/ougm6PO5tyMPL5k6egm8SkhwdRBamuXpHQ==","signatures":[{"sig":"MEYCIQCcgHjSYUwIDA7l6JHxNwMMSz2s+Oqc9J9VwbSf/U/DfgIhAL+IMJQ5SrQ2tA4DMRcN64t4/IY2liD5iP7Bk0Knl0yW","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31882251},"jest":{"preset":"ts-jest","testEnvironment":"node"},"main":"dist/index.js","husky":{"hooks":{"pre-commit":"yarn lint"}},"types":"./dist/index.d.ts","module":"dist/index.mjs","engines":{"node":">=14"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./umd":{"types":"./dist/index.d.ts","default":"./dist/index.umd.js"},"./package.json":"./package.json"},"scripts":{"lint":"eslint src test --ext .js,.jsx,.ts,.tsx","size":"size-limit","test":"yarn test:unit && yarn test:api && yarn test:census3 && yarn test:service && yarn test:integration","build":"rollup -c","clean":"rimraf node_modules dist","start":"yarn watch","watch":"yarn build --watch","lintfix":"yarn lint --fix","prepare":"yarn build","test:api":"jest test/api","ts-types":"tsc --emitDeclarationOnly --outDir dist","test:unit":"jest test/unit --verbose","test:census3":"yarn test:census3:api && yarn test:census3:integration","test:service":"yarn test:service:census && yarn test:service:anonymous && yarn test:service:csp","test:census3:api":"jest test/census3/api","test:integration":"yarn test:integration:account && yarn test:integration:csp && yarn test:integration:election && yarn test:integration:other","test:service:csp":"jest test/services/csp.test.ts","test:integration:zk":"jest test/integration/zk.test.ts --forceExit --runInBand","test:service:census":"jest test/services/census.test.ts","test:integration:csp":"jest test/integration/csp.test.ts","test:integration:other":"jest test/integration/other.test.ts","test:service:anonymous":"jest test/services/anonymous.test.ts","test:census3:integration":"jest test/census3/integration","test:integration:account":"jest test/integration/account.test.ts","test:integration:election":"jest test/integration/election.test.ts"},"_npmUser":{"name":"emmdim","email":"manos@vocdoni.io"},"prettier":{"semi":true,"printWidth":120,"singleQuote":true,"trailingComma":"es5"},"deprecated":"0.5.1 is no longer supported","repository":{"url":"https://github.com/vocdoni/vocdoni-sdk.git","type":"git"},"size-limit":[{"path":"dist/index.js","limit":"2 MB"},{"path":"dist/index.mjs","limit":"2 MB"},{"path":"dist/index.umd.js","limit":"2 MB"}],"description":"⚒️An SDK for building applications on top of Vocdoni API","directories":{},"licenseText":"                    GNU AFFERO GENERAL PUBLIC LICENSE\n                       Version 3, 19 November 2007\n\n Copyright (C) 2020 Vocdoni Roots MTU, <https://vocdoni.io>\n Everyone is permitted to copy and distribute verbatim copies\n of this license document, but changing it is not allowed.\n\n                            Preamble\n\n  The GNU Affero General Public License is a free, copyleft license for\nsoftware and other kinds of works, specifically designed to ensure\ncooperation with the community in the case of network server software.\n\n  The licenses for most software and other practical works are designed\nto take away your freedom to share and change the works.  By contrast,\nour General Public Licenses are intended to guarantee your freedom to\nshare and change all versions of a program--to make sure it remains free\nsoftware for all its users.\n\n  When we speak of free software, we are referring to freedom, not\nprice.  Our General Public Licenses are designed to make sure that you\nhave the freedom to distribute copies of free software (and charge for\nthem if you wish), that you receive source code or can get it if you\nwant it, that you can change the software or use pieces of it in new\nfree programs, and that you know you can do these things.\n\n  Developers that use our General Public Licenses protect your rights\nwith two steps: (1) assert copyright on the software, and (2) offer\nyou this License which gives you legal permission to copy, distribute\nand/or modify the software.\n\n  A secondary benefit of defending all users' freedom is that\nimprovements made in alternate versions of the program, if they\nreceive widespread use, become available for other developers to\nincorporate.  Many developers of free software are heartened and\nencouraged by the resulting cooperation.  However, in the case of\nsoftware used on network servers, this result may fail to come about.\nThe GNU General Public License permits making a modified version and\nletting the public access it on a server without ever releasing its\nsource code to the public.\n\n  The GNU Affero General Public License is designed specifically to\nensure that, in such cases, the modified source code becomes available\nto the community.  It requires the operator of a network server to\nprovide the source code of the modified version running there to the\nusers of that server.  Therefore, public use of a modified version, on\na publicly accessible server, gives the public access to the source\ncode of the modified version.\n\n  An older license, called the Affero General Public License and\npublished by Affero, was designed to accomplish similar goals.  This is\na different license, not a version of the Affero GPL, but Affero has\nreleased a new version of the Affero GPL which permits relicensing under\nthis license.\n\n  The precise terms and conditions for copying, distribution and\nmodification follow.\n\n                       TERMS AND CONDITIONS\n\n  0. Definitions.\n\n  \"This License\" refers to version 3 of the GNU Affero General Public License.\n\n  \"Copyright\" also means copyright-like laws that apply to other kinds of\nworks, such as semiconductor masks.\n\n  \"The Program\" refers to any copyrightable work licensed under this\nLicense.  Each licensee is addressed as \"you\".  \"Licensees\" and\n\"recipients\" may be individuals or organizations.\n\n  To \"modify\" a work means to copy from or adapt all or part of the work\nin a fashion requiring copyright permission, other than the making of an\nexact copy.  The resulting work is called a \"modified version\" of the\nearlier work or a work \"based on\" the earlier work.\n\n  A \"covered work\" means either the unmodified Program or a work based\non the Program.\n\n  To \"propagate\" a work means to do anything with it that, without\npermission, would make you directly or secondarily liable for\ninfringement under applicable copyright law, except executing it on a\ncomputer or modifying a private copy.  Propagation includes copying,\ndistribution (with or without modification), making available to the\npublic, and in some countries other activities as well.\n\n  To \"convey\" a work means any kind of propagation that enables other\nparties to make or receive copies.  Mere interaction with a user through\na computer network, with no transfer of a copy, is not conveying.\n\n  An interactive user interface displays \"Appropriate Legal Notices\"\nto the extent that it includes a convenient and prominently visible\nfeature that (1) displays an appropriate copyright notice, and (2)\ntells the user that there is no warranty for the work (except to the\nextent that warranties are provided), that licensees may convey the\nwork under this License, and how to view a copy of this License.  If\nthe interface presents a list of user commands or options, such as a\nmenu, a prominent item in the list meets this criterion.\n\n  1. Source Code.\n\n  The \"source code\" for a work means the preferred form of the work\nfor making modifications to it.  \"Object code\" means any non-source\nform of a work.\n\n  A \"Standard Interface\" means an interface that either is an official\nstandard defined by a recognized standards body, or, in the case of\ninterfaces specified for a particular programming language, one that\nis widely used among developers working in that language.\n\n  The \"System Libraries\" of an executable work include anything, other\nthan the work as a whole, that (a) is included in the normal form of\npackaging a Major Component, but which is not part of that Major\nComponent, and (b) serves only to enable use of the work with that\nMajor Component, or to implement a Standard Interface for which an\nimplementation is available to the public in source code form.  A\n\"Major Component\", in this context, means a major essential component\n(kernel, window system, and so on) of the specific operating system\n(if any) on which the executable work runs, or a compiler used to\nproduce the work, or an object code interpreter used to run it.\n\n  The \"Corresponding Source\" for a work in object code form means all\nthe source code needed to generate, install, and (for an executable\nwork) run the object code and to modify the work, including scripts to\ncontrol those activities.  However, it does not include the work's\nSystem Libraries, or general-purpose tools or generally available free\nprograms which are used unmodified in performing those activities but\nwhich are not part of the work.  For example, Corresponding Source\nincludes interface definition files associated with source files for\nthe work, and the source code for shared libraries and dynamically\nlinked subprograms that the work is specifically designed to require,\nsuch as by intimate data communication or control flow between those\nsubprograms and other parts of the work.\n\n  The Corresponding Source need not include anything that users\ncan regenerate automatically from other parts of the Corresponding\nSource.\n\n  The Corresponding Source for a work in source code form is that\nsame work.\n\n  2. Basic Permissions.\n\n  All rights granted under this License are granted for the term of\ncopyright on the Program, and are irrevocable provided the stated\nconditions are met.  This License explicitly affirms your unlimited\npermission to run the unmodified Program.  The output from running a\ncovered work is covered by this License only if the output, given its\ncontent, constitutes a covered work.  This License acknowledges your\nrights of fair use or other equivalent, as provided by copyright law.\n\n  You may make, run and propagate covered works that you do not\nconvey, without conditions so long as your license otherwise remains\nin force.  You may convey covered works to others for the sole purpose\nof having them make modifications exclusively for you, or provide you\nwith facilities for running those works, provided that you comply with\nthe terms of this License in conveying all material for which you do\nnot control copyright.  Those thus making or running the covered works\nfor you must do so exclusively on your behalf, under your direction\nand control, on terms that prohibit them from making any copies of\nyour copyrighted material outside their relationship with you.\n\n  Conveying under any other circumstances is permitted solely under\nthe conditions stated below.  Sublicensing is not allowed; section 10\nmakes it unnecessary.\n\n  3. Protecting Users' Legal Rights From Anti-Circumvention Law.\n\n  No covered work shall be deemed part of an effective technological\nmeasure under any applicable law fulfilling obligations under article\n11 of the WIPO copyright treaty adopted on 20 December 1996, or\nsimilar laws prohibiting or restricting circumvention of such\nmeasures.\n\n  When you convey a covered work, you waive any legal power to forbid\ncircumvention of technological measures to the extent such circumvention\nis effected by exercising rights under this License with respect to\nthe covered work, and you disclaim any intention to limit operation or\nmodification of the work as a means of enforcing, against the work's\nusers, your or third parties' legal rights to forbid circumvention of\ntechnological measures.\n\n  4. Conveying Verbatim Copies.\n\n  You may convey verbatim copies of the Program's source code as you\nreceive it, in any medium, provided that you conspicuously and\nappropriately publish on each copy an appropriate copyright notice;\nkeep intact all notices stating that this License and any\nnon-permissive terms added in accord with section 7 apply to the code;\nkeep intact all notices of the absence of any warranty; and give all\nrecipients a copy of this License along with the Program.\n\n  You may charge any price or no price for each copy that you convey,\nand you may offer support or warranty protection for a fee.\n\n  5. Conveying Modified Source Versions.\n\n  You may convey a work based on the Program, or the modifications to\nproduce it from the Program, in the form of source code under the\nterms of section 4, provided that you also meet all of these conditions:\n\n    a) The work must carry prominent notices stating that you modified\n    it, and giving a relevant date.\n\n    b) The work must carry prominent notices stating that it is\n    released under this License and any conditions added under section\n    7.  This requirement modifies the requirement in section 4 to\n    \"keep intact all notices\".\n\n    c) You must license the entire work, as a whole, under this\n    License to anyone who comes into possession of a copy.  This\n    License will therefore apply, along with any applicable section 7\n    additional terms, to the whole of the work, and all its parts,\n    regardless of how they are packaged.  This License gives no\n    permission to license the work in any other way, but it does not\n    invalidate such permission if you have separately received it.\n\n    d) If the work has interactive user interfaces, each must display\n    Appropriate Legal Notices; however, if the Program has interactive\n    interfaces that do not display Appropriate Legal Notices, your\n    work need not make them do so.\n\n  A compilation of a covered work with other separate and independent\nworks, which are not by their nature extensions of the covered work,\nand which are not combined with it such as to form a larger program,\nin or on a volume of a storage or distribution medium, is called an\n\"aggregate\" if the compilation and its resulting copyright are not\nused to limit the access or legal rights of the compilation's users\nbeyond what the individual works permit.  Inclusion of a covered work\nin an aggregate does not cause this License to apply to the other\nparts of the aggregate.\n\n  6. Conveying Non-Source Forms.\n\n  You may convey a covered work in object code form under the terms\nof sections 4 and 5, provided that you also convey the\nmachine-readable Corresponding Source under the terms of this License,\nin one of these ways:\n\n    a) Convey the object code in, or embodied in, a physical product\n    (including a physical distribution medium), accompanied by the\n    Corresponding Source fixed on a durable physical medium\n    customarily used for software interchange.\n\n    b) Convey the object code in, or embodied in, a physical product\n    (including a physical distribution medium), accompanied by a\n    written offer, valid for at least three years and valid for as\n    long as you offer spare parts or customer support for that product\n    model, to give anyone who possesses the object code either (1) a\n    copy of the Corresponding Source for all the software in the\n    product that is covered by this License, on a durable physical\n    medium customarily used for software interchange, for a price no\n    more than your reasonable cost of physically performing this\n    conveying of source, or (2) access to copy the\n    Corresponding Source from a network server at no charge.\n\n    c) Convey individual copies of the object code with a copy of the\n    written offer to provide the Corresponding Source.  This\n    alternative is allowed only occasionally and noncommercially, and\n    only if you received the object code with such an offer, in accord\n    with subsection 6b.\n\n    d) Convey the object code by offering access from a designated\n    place (gratis or for a charge), and offer equivalent access to the\n    Corresponding Source in the same way through the same place at no\n    further charge.  You need not require recipients to copy the\n    Corresponding Source along with the object code.  If the place to\n    copy the object code is a network server, the Corresponding Source\n    may be on a different server (operated by you or a third party)\n    that supports equivalent copying facilities, provided you maintain\n    clear directions next to the object code saying where to find the\n    Corresponding Source.  Regardless of what server hosts the\n    Corresponding Source, you remain obligated to ensure that it is\n    available for as long as needed to satisfy these requirements.\n\n    e) Convey the object code using peer-to-peer transmission, provided\n    you inform other peers where the object code and Corresponding\n    Source of the work are being offered to the general public at no\n    charge under subsection 6d.\n\n  A separable portion of the object code, whose source code is excluded\nfrom the Corresponding Source as a System Library, need not be\nincluded in conveying the object code work.\n\n  A \"User Product\" is either (1) a \"consumer product\", which means any\ntangible personal property which is normally used for personal, family,\nor household purposes, or (2) anything designed or sold for incorporation\ninto a dwelling.  In determining whether a product is a consumer product,\ndoubtful cases shall be resolved in favor of coverage.  For a particular\nproduct received by a particular user, \"normally used\" refers to a\ntypical or common use of that class of product, regardless of the status\nof the particular user or of the way in which the particular user\nactually uses, or expects or is expected to use, the product.  A product\nis a consumer product regardless of whether the product has substantial\ncommercial, industrial or non-consumer uses, unless such uses represent\nthe only significant mode of use of the product.\n\n  \"Installation Information\" for a User Product means any methods,\nprocedures, authorization keys, or other information required to install\nand execute modified versions of a covered work in that User Product from\na modified version of its Corresponding Source.  The information must\nsuffice to ensure that the continued functioning of the modified object\ncode is in no case prevented or interfered with solely because\nmodification has been made.\n\n  If you convey an object code work under this section in, or with, or\nspecifically for use in, a User Product, and the conveying occurs as\npart of a transaction in which the right of possession and use of the\nUser Product is transferred to the recipient in perpetuity or for a\nfixed term (regardless of how the transaction is characterized), the\nCorresponding Source conveyed under this section must be accompanied\nby the Installation Information.  But this requirement does not apply\nif neither you nor any third party retains the ability to install\nmodified object code on the User Product (for example, the work has\nbeen installed in ROM).\n\n  The requirement to provide Installation Information does not include a\nrequirement to continue to provide support service, warranty, or updates\nfor a work that has been modified or installed by the recipient, or for\nthe User Product in which it has been modified or installed.  Access to a\nnetwork may be denied when the modification itself materially and\nadversely affects the operation of the network or violates the rules and\nprotocols for communication across the network.\n\n  Corresponding Source conveyed, and Installation Information provided,\nin accord with this section must be in a format that is publicly\ndocumented (and with an implementation available to the public in\nsource code form), and must require no special password or key for\nunpacking, reading or copying.\n\n  7. Additional Terms.\n\n  \"Additional permissions\" are terms that supplement the terms of this\nLicense by making exceptions from one or more of its conditions.\nAdditional permissions that are applicable to the entire Program shall\nbe treated as though they were included in this License, to the extent\nthat they are valid under applicable law.  If additional permissions\napply only to part of the Program, that part may be used separately\nunder those permissions, but the entire Program remains governed by\nthis License without regard to the additional permissions.\n\n  When you convey a copy of a covered work, you may at your option\nremove any additional permissions from that copy, or from any part of\nit.  (Additional permissions may be written to require their own\nremoval in certain cases when you modify the work.)  You may place\nadditional permissions on material, added by you to a covered work,\nfor which you have or can give appropriate copyright permission.\n\n  Notwithstanding any other provision of this License, for material you\nadd to a covered work, you may (if authorized by the copyright holders of\nthat material) supplement the terms of this License with terms:\n\n    a) Disclaiming warranty or limiting liability differently from the\n    terms of sections 15 and 16 of this License; or\n\n    b) Requiring preservation of specified reasonable legal notices or\n    author attributions in that material or in the Appropriate Legal\n    Notices displayed by works containing it; or\n\n    c) Prohibiting misrepresentation of the origin of that material, or\n    requiring that modified versions of such material be marked in\n    reasonable ways as different from the original version; or\n\n    d) Limiting the use for publicity purposes of names of licensors or\n    authors of the material; or\n\n    e) Declining to grant rights under trademark law for use of some\n    trade names, trademarks, or service marks; or\n\n    f) Requiring indemnification of licensors and authors of that\n    material by anyone who conveys the material (or modified versions of\n    it) with contractual assumptions of liability to the recipient, for\n    any liability that these contractual assumptions directly impose on\n    those licensors and authors.\n\n  All other non-permissive additional terms are considered \"further\nrestrictions\" within the meaning of section 10.  If the Program as you\nreceived it, or any part of it, contains a notice stating that it is\ngoverned by this License along with a term that is a further\nrestriction, you may remove that term.  If a license document contains\na further restriction but permits relicensing or conveying under this\nLicense, you may add to a covered work material governed by the terms\nof that license document, provided that the further restriction does\nnot survive such relicensing or conveying.\n\n  If you add terms to a covered work in accord with this section, you\nmust place, in the relevant source files, a statement of the\nadditional terms that apply to those files, or a notice indicating\nwhere to find the applicable terms.\n\n  Additional terms, permissive or non-permissive, may be stated in the\nform of a separately written license, or stated as exceptions;\nthe above requirements apply either way.\n\n  8. Termination.\n\n  You may not propagate or modify a covered work except as expressly\nprovided under this License.  Any attempt otherwise to propagate or\nmodify it is void, and will automatically terminate your rights under\nthis License (including any patent licenses granted under the third\nparagraph of section 11).\n\n  However, if you cease all violation of this License, then your\nlicense from a particular copyright holder is reinstated (a)\nprovisionally, unless and until the copyright holder explicitly and\nfinally terminates your license, and (b) permanently, if the copyright\nholder fails to notify you of the violation by some reasonable means\nprior to 60 days after the cessation.\n\n  Moreover, your license from a particular copyright holder is\nreinstated permanently if the copyright holder notifies you of the\nviolation by some reasonable means, this is the first time you have\nreceived notice of violation of this License (for any work) from that\ncopyright holder, and you cure the violation prior to 30 days after\nyour receipt of the notice.\n\n  Termination of your rights under this section does not terminate the\nlicenses of parties who have received copies or rights from you under\nthis License.  If your rights have been terminated and not permanently\nreinstated, you do not qualify to receive new licenses for the same\nmaterial under section 10.\n\n  9. Acceptance Not Required for Having Copies.\n\n  You are not required to accept this License in order to receive or\nrun a copy of the Program.  Ancillary propagation of a covered work\noccurring solely as a consequence of using peer-to-peer transmission\nto receive a copy likewise does not require acceptance.  However,\nnothing other than this License grants you permission to propagate or\nmodify any covered work.  These actions infringe copyright if you do\nnot accept this License.  Therefore, by modifying or propagating a\ncovered work, you indicate your acceptance of this License to do so.\n\n  10. Automatic Licensing of Downstream Recipients.\n\n  Each time you convey a covered work, the recipient automatically\nreceives a license from the original licensors, to run, modify and\npropagate that work, subject to this License.  You are not responsible\nfor enforcing compliance by third parties with this License.\n\n  An \"entity transaction\" is a transaction transferring control of an\norganization, or substantially all assets of one, or subdividing an\norganization, or merging organizations.  If propagation of a covered\nwork results from an entity transaction, each party to that\ntransaction who receives a copy of the work also receives whatever\nlicenses to the work the party's predecessor in interest had or could\ngive under the previous paragraph, plus a right to possession of the\nCorresponding Source of the work from the predecessor in interest, if\nthe predecessor has it or can get it with reasonable efforts.\n\n  You may not impose any further restrictions on the exercise of the\nrights granted or affirmed under this License.  For example, you may\nnot impose a license fee, royalty, or other charge for exercise of\nrights granted under this License, and you may not initiate litigation\n(including a cross-claim or counterclaim in a lawsuit) alleging that\nany patent claim is infringed by making, using, selling, offering for\nsale, or importing the Program or any portion of it.\n\n  11. Patents.\n\n  A \"contributor\" is a copyright holder who authorizes use under this\nLicense of the Program or a work on which the Program is based.  The\nwork thus licensed is called the contributor's \"contributor version\".\n\n  A contributor's \"essential patent claims\" are all patent claims\nowned or controlled by the contributor, whether already acquired or\nhereafter acquired, that would be infringed by some manner, permitted\nby this License, of making, using, or selling its contributor version,\nbut do not include claims that would be infringed only as a\nconsequence of further modification of the contributor version.  For\npurposes of this definition, \"control\" includes the right to grant\npatent sublicenses in a manner consistent with the requirements of\nthis License.\n\n  Each contributor grants you a non-exclusive, worldwide, royalty-free\npatent license under the contributor's essential patent claims, to\nmake, use, sell, offer for sale, import and otherwise run, modify and\npropagate the contents of its contributor version.\n\n  In the following three paragraphs, a \"patent license\" is any express\nagreement or commitment, however denominated, not to enforce a patent\n(such as an express permission to practice a patent or covenant not to\nsue for patent infringement).  To \"grant\" such a patent license to a\nparty means to make such an agreement or commitment not to enforce a\npatent against the party.\n\n  If you convey a covered work, knowingly relying on a patent license,\nand the Corresponding Source of the work is not available for anyone\nto copy, free of charge and under the terms of this License, through a\npublicly available network server or other readily accessible means,\nthen you must either (1) cause the Corresponding Source to be so\navailable, or (2) arrange to deprive yourself of the benefit of the\npatent license for this particular work, or (3) arrange, in a manner\nconsistent with the requirements of this License, to extend the patent\nlicense to downstream recipients.  \"Knowingly relying\" means you have\nactual knowledge that, but for the patent license, your conveying the\ncovered work in a country, or your recipient's use of the covered work\nin a country, would infringe one or more identifiable patents in that\ncountry that you have reason to believe are valid.\n\n  If, pursuant to or in connection with a single transaction or\narrangement, you convey, or propagate by procuring conveyance of, a\ncovered work, and grant a patent license to some of the parties\nreceiving the covered work authorizing them to use, propagate, modify\nor convey a specific copy of the covered work, then the patent license\nyou grant is automatically extended to all recipients of the covered\nwork and works based on it.\n\n  A patent license is \"discriminatory\" if it does not include within\nthe scope of its coverage, prohibits the exercise of, or is\nconditioned on the non-exercise of one or more of the rights that are\nspecifically granted under this License.  You may not convey a covered\nwork if you are a party to an arrangement with a third party that is\nin the business of distributing software, under which you make payment\nto the third party based on the extent of your activity of conveying\nthe work, and under which the third party grants, to any of the\nparties who would receive the covered work from you, a discriminatory\npatent license (a) in connection with copies of the covered work\nconveyed by you (or copies made from those copies), or (b) primarily\nfor and in connection with specific products or compilations that\ncontain the covered work, unless you entered into that arrangement,\nor that patent license was granted, prior to 28 March 2007.\n\n  Nothing in this License shall be construed as excluding or limiting\nany implied license or other defenses to infringement that may\notherwise be available to you under applicable patent law.\n\n  12. No Surrender of Others' Freedom.\n\n  If conditions are imposed on you (whether by court order, agreement or\notherwise) that contradict the conditions of this License, they do not\nexcuse you from the conditions of this License.  If you cannot convey a\ncovered work so as to satisfy simultaneously your obligations under this\nLicense and any other pertinent obligations, then as a consequence you may\nnot convey it at all.  For example, if you agree to terms that obligate you\nto collect a royalty for further conveying from those to whom you convey\nthe Program, the only way you could satisfy both those terms and this\nLicense would be to refrain entirely from conveying the Program.\n\n  13. Remote Network Interaction; Use with the GNU General Public License.\n\n  Notwithstanding any other provision of this License, if you modify the\nProgram, your modified version must prominently offer all users\ninteracting with it remotely through a computer network (if your version\nsupports such interaction) an opportunity to receive the Corresponding\nSource of your version by providing access to the Corresponding Source\nfrom a network server at no charge, through some standard or customary\nmeans of facilitating copying of software.  This Corresponding Source\nshall include the Corresponding Source for any work covered by version 3\nof the GNU General Public License that is incorporated pursuant to the\nfollowing paragraph.\n\n  Notwithstanding any other provision of this License, you have\npermission to link or combine any covered work with a work licensed\nunder version 3 of the GNU General Public License into a single\ncombined work, and to convey the resulting work.  The terms of this\nLicense will continue to apply to the part which is the covered work,\nbut the work with which it is combined will remain governed by version\n3 of the GNU General Public License.\n\n  14. Revised Versions of this License.\n\n  The Free Software Foundation may publish revised and/or new versions of\nthe GNU Affero General Public License from time to time.  Such new versions\nwill be similar in spirit to the present version, but may differ in detail to\naddress new problems or concerns.\n\n  Each version is given a distinguishing version number.  If the\nProgram specifies that a certain numbered version of the GNU Affero General\nPublic License \"or any later version\" applies to it, you have the\noption of following the terms and conditions either of that numbered\nversion or of any later version published by the Free Software\nFoundation.  If the Program does not specify a version number of the\nGNU Affero General Public License, you may choose any version ever published\nby the Free Software Foundation.\n\n  If the Program specifies that a proxy can decide which future\nversions of the GNU Affero General Public License can be used, that proxy's\npublic statement of acceptance of a version permanently authorizes you\nto choose that version for the Program.\n\n  Later license versions may give you additional or different\npermissions.  However, no additional obligations are imposed on any\nauthor or copyright holder as a result of your choosing to follow a\nlater version.\n\n  15. Disclaimer of Warranty.\n\n  THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY\nAPPLICABLE LAW.  EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT\nHOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM \"AS IS\" WITHOUT WARRANTY\nOF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,\nTHE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\nPURPOSE.  THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM\nIS WITH YOU.  SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF\nALL NECESSARY SERVICING, REPAIR OR CORRECTION.\n\n  16. Limitation of Liability.\n\n  IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING\nWILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS\nTHE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY\nGENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE\nUSE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF\nDATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD\nPARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),\nEVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF\nSUCH DAMAGES.\n\n  17. Interpretation of Sections 15 and 16.\n\n  If the disclaimer of warranty and limitation of liability provided\nabove cannot be given local legal effect according to their terms,\nreviewing courts shall apply local law that most closely approximates\nan absolute waiver of all civil liability in connection with the\nProgram, unless a warranty or assumption of liability accompanies a\ncopy of the Program in return for a fee.\n\n                     END OF TERMS AND CONDITIONS\n\n            How to Apply These Terms to Your New Programs\n\n  If you develop a new program, and you want it to be of the greatest\npossible use to the public, the best way to achieve this is to make it\nfree software which everyone can redistribute and change under these terms.\n\n  To do so, attach the following notices to the program.  It is safest\nto attach them to the start of each source file to most effectively\nstate the exclusion of warranty; and each file should have at least\nthe \"copyright\" line and a pointer to where the full notice is found.\n\n    <one line to give the program's name and a brief idea of what it does.>\n    Copyright (C) <year>  <name of author>\n\n    This program is free software: you can redistribute it and/or modify\n    it under the terms of the GNU Affero General Public License as published by\n    the Free Software Foundation, either version 3 of the License, or\n    (at your option) any later version.\n\n    This program is distributed in the hope that it will be useful,\n    but WITHOUT ANY WARRANTY; without even the implied warranty of\n    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n    GNU Affero General Public License for more details.\n\n    You should have received a copy of the GNU Affero General Public License\n    along with this program.  If not, see <https://www.gnu.org/licenses/>.\n\nAlso add information on how to contact you by electronic and paper mail.\n\n  If your software can interact with users remotely through a computer\nnetwork, you should also make sure that it provides a way for users to\nget its source.  For example, if your program is a web application, its\ninterface could display a \"Source\" link that leads users to an archive\nof the code.  There are many ways you could offer source, and different\nsolutions will be better for different programs; see section 13 for the\nspecific requirements.\n\n  You should also get your employer (if you work as a programmer) or school,\nif any, to sign a \"copyright disclaimer\" for the program, if necessary.\nFor more information on this, and how to apply and follow the GNU AGPL, see\n<https://www.gnu.org/licenses/>.\n","resolutions":{"ffjavascript":"0.2.59"},"dependencies":{"yup":"^0.32.11","axios":"0.27.2","blake2b":"^2.1.4","tweetnacl":"^1.0.3","wasmcurves":"0.2.1","web-worker":"^1.2.0","wasmbuilder":"^0.0.16","@vocdoni/proto":"1.15.4","tiny-invariant":"^1.3.1","readable-stream":"^4.4.2","@size-limit/file":"^8.2.4","iso-language-codes":"^1.1.0","@ethersproject/sha2":"^5.7.0","@ethersproject/bytes":"^5.7.0","@ethersproject/units":"^5.7.0","@ethersproject/wallet":"^5.7.0","@ethersproject/address":"^5.7.0","@ethersproject/strings":"^5.7.0","@ethersproject/bignumber":"^5.7.0","@ethersproject/keccak256":"^5.7.0","@ethersproject/providers":"^5.7.1","@ethersproject/signing-key":"^5.7.0","@ethersproject/abstract-signer":"^5.7.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.3.0","husky":"^8.0.2","tslib":"^2.4.0","buffer":"^6.0.3","eslint":"^8.27.0","rimraf":"^3.0.2","rollup":"^3.22.0","blakejs":"^1.2.1","esbuild":"^0.17.10","snarkjs":"vocdoni/snarkjs#v0.7.0-groth16browser","ts-jest":"^29.0.3","prettier":"^2.7.1","size-limit":"^8.1.0","typescript":"^4.8.4","@types/jest":"^29.2.2","circomlibjs":"^0.1.7","ffjavascript":"0.2.59","blindsecp256k1":"^0.0.9","rollup-plugin-dts":"^5.1.1","@rollup/plugin-json":"^6.0.0","rollup-plugin-esbuild":"^5.0.0","eslint-config-prettier":"^8.5.0","eslint-plugin-prettier":"^4.2.1","@rollup/plugin-commonjs":"^24.0.0","@typescript-eslint/parser":"^5.42.1","@rollup/plugin-node-resolve":"^15.0.1","rollup-plugin-polyfill-node":"^0.12.0","@typescript-eslint/eslint-plugin":"^5.42.1"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.5.1_1700055983283_0.13160572393114456","host":"s3://npm-registry-packages"}},"0.5.2":{"name":"@vocdoni/sdk","version":"0.5.2","keywords":["voting","blockchain","vocdoni"],"author":{"name":"Vocdoni"},"license":"AGPL-3.0-or-later","_id":"@vocdoni/sdk@0.5.2","maintainers":[{"name":"elboletaire","email":"elboletaire@underave.net"},{"name":"emmdim","email":"manos@vocdoni.io"},{"name":"marcvelmer","email":"marc1987@gmail.com"},{"name":"brickpop","email":"itsbrickpop@gmail.com"},{"name":"jpainan","email":"jpainan@vocdoni.io"}],"dist":{"shasum":"36d7a01bb97ecb97db9f446fde167348ddf829b1","tarball":"https://registry.npmjs.org/@vocdoni/sdk/-/sdk-0.5.2.tgz","fileCount":13,"integrity":"sha512-PBxjBWXo0r+niMaN/tehxo+tMpCtpw9jU4UJXgTpvkQdR4lVV2+216aGg42sqNTjnx7txm5Bye8O7bHC6/xLxQ==","signatures":[{"sig":"MEQCIErrLrqkuLlDGwWU02vBooLabYeQJaVGZKd5EASo0RgLAiAq+YnG+BYceC9FPdhDsOlnAIr8lZwk9KZ73ioMCEL9gQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31886795},"jest":{"preset":"ts-jest","testEnvironment":"node"},"main":"dist/index.js","husky":{"hooks":{"pre-commit":"yarn lint"}},"types":"./dist/index.d.ts","module":"dist/index.mjs","engines":{"node":">=14"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./umd":{"types":"./dist/index.d.ts","default":"./dist/index.umd.js"},"./package.json":"./package.json"},"scripts":{"lint":"eslint src test --ext .js,.jsx,.ts,.tsx","size":"size-limit","test":"yarn test:unit && yarn test:api && yarn test:census3 && yarn test:service && yarn test:integration","build":"rollup -c","clean":"rimraf node_modules dist","start":"yarn watch","watch":"yarn build --watch","lintfix":"yarn lint --fix","prepare":"yarn build","test:api":"jest test/api","ts-types":"tsc --emitDeclarationOnly --outDir dist","test:unit":"jest test/unit --verbose","test:census3":"yarn test:census3:api && yarn test:census3:integration","test:service":"yarn test:service:census && yarn test:service:anonymous && yarn test:service:csp","test:census3:api":"jest test/census3/api","test:integration":"yarn test:integration:account && yarn test:integration:csp && yarn test:integration:election && yarn test:integration:other","test:service:csp":"jest test/services/csp.test.ts","test:integration:zk":"jest test/integration/zk.test.ts --forceExit --runInBand","test:service:census":"jest test/services/census.test.ts","test:integration:csp":"jest test/integration/csp.test.ts","test:integration:other":"jest test/integration/other.test.ts","test:service:anonymous":"jest test/services/anonymous.test.ts","test:census3:integration":"jest test/census3/integration","test:integration:account":"jest test/integration/account.test.ts","test:integration:election":"jest test/integration/election.test.ts"},"_npmUser":{"name":"emmdim","email":"manos@vocdoni.io"},"prettier":{"semi":true,"printWidth":120,"singleQuote":true,"trailingComma":"es5"},"repository":{"url":"https://github.com/vocdoni/vocdoni-sdk.git","type":"git"},"size-limit":[{"path":"dist/index.js","limit":"2 MB"},{"path":"dist/index.mjs","limit":"2 MB"},{"path":"dist/index.umd.js","limit":"2 MB"}],"description":"⚒️An SDK for building applications on top of Vocdoni API","directories":{},"licenseText":"                    GNU AFFERO GENERAL PUBLIC LICENSE\n                       Version 3, 19 November 2007\n\n Copyright (C) 2020 Vocdoni Roots MTU, <https://vocdoni.io>\n Everyone is permitted to copy and distribute verbatim copies\n of this license document, but changing it is not allowed.\n\n                            Preamble\n\n  The GNU Affero General Public License is a free, copyleft license for\nsoftware and other kinds of works, specifically designed to ensure\ncooperation with the community in the case of network server software.\n\n  The licenses for most software and other practical works are designed\nto take away your freedom to share and change the works.  By contrast,\nour General Public Licenses are intended to guarantee your freedom to\nshare and change all versions of a program--to make sure it remains free\nsoftware for all its users.\n\n  When we speak of free software, we are referring to freedom, not\nprice.  Our General Public Licenses are designed to make sure that you\nhave the freedom to distribute copies of free software (and charge for\nthem if you wish), that you receive source code or can get it if you\nwant it, that you can change the software or use pieces of it in new\nfree programs, and that you know you can do these things.\n\n  Developers that use our General Public Licenses protect your rights\nwith two steps: (1) assert copyright on the software, and (2) offer\nyou this License which gives you legal permission to copy, distribute\nand/or modify the software.\n\n  A secondary benefit of defending all users' freedom is that\nimprovements made in alternate versions of the program, if they\nreceive widespread use, become available for other developers to\nincorporate.  Many developers of free software are heartened and\nencouraged by the resulting cooperation.  However, in the case of\nsoftware used on network servers, this result may fail to come about.\nThe GNU General Public License permits making a modified version and\nletting the public access it on a server without ever releasing its\nsource code to the public.\n\n  The GNU Affero General Public License is designed specifically to\nensure that, in such cases, the modified source code becomes available\nto the community.  It requires the operator of a network server to\nprovide the source code of the modified version running there to the\nusers of that server.  Therefore, public use of a modified version, on\na publicly accessible server, gives the public access to the source\ncode of the modified version.\n\n  An older license, called the Affero General Public License and\npublished by Affero, was designed to accomplish similar goals.  This is\na different license, not a version of the Affero GPL, but Affero has\nreleased a new version of the Affero GPL which permits relicensing under\nthis license.\n\n  The precise terms and conditions for copying, distribution and\nmodification follow.\n\n                       TERMS AND CONDITIONS\n\n  0. Definitions.\n\n  \"This License\" refers to version 3 of the GNU Affero General Public License.\n\n  \"Copyright\" also means copyright-like laws that apply to other kinds of\nworks, such as semiconductor masks.\n\n  \"The Program\" refers to any copyrightable work licensed under this\nLicense.  Each licensee is addressed as \"you\".  \"Licensees\" and\n\"recipients\" may be individuals or organizations.\n\n  To \"modify\" a work means to copy from or adapt all or part of the work\nin a fashion requiring copyright permission, other than the making of an\nexact copy.  The resulting work is called a \"modified version\" of the\nearlier work or a work \"based on\" the earlier work.\n\n  A \"covered work\" means either the unmodified Program or a work based\non the Program.\n\n  To \"propagate\" a work means to do anything with it that, without\npermission, would make you directly or secondarily liable for\ninfringement under applicable copyright law, except executing it on a\ncomputer or modifying a private copy.  Propagation includes copying,\ndistribution (with or without modification), making available to the\npublic, and in some countries other activities as well.\n\n  To \"convey\" a work means any kind of propagation that enables other\nparties to make or receive copies.  Mere interaction with a user through\na computer network, with no transfer of a copy, is not conveying.\n\n  An interactive user interface displays \"Appropriate Legal Notices\"\nto the extent that it includes a convenient and prominently visible\nfeature that (1) displays an appropriate copyright notice, and (2)\ntells the user that there is no warranty for the work (except to the\nextent that warranties are provided), that licensees may convey the\nwork under this License, and how to view a copy of this License.  If\nthe interface presents a list of user commands or options, such as a\nmenu, a prominent item in the list meets this criterion.\n\n  1. Source Code.\n\n  The \"source code\" for a work means the preferred form of the work\nfor making modifications to it.  \"Object code\" means any non-source\nform of a work.\n\n  A \"Standard Interface\" means an interface that either is an official\nstandard defined by a recognized standards body, or, in the case of\ninterfaces specified for a particular programming language, one that\nis widely used among developers working in that language.\n\n  The \"System Libraries\" of an executable work include anything, other\nthan the work as a whole, that (a) is included in the normal form of\npackaging a Major Component, but which is not part of that Major\nComponent, and (b) serves only to enable use of the work with that\nMajor Component, or to implement a Standard Interface for which an\nimplementation is available to the public in source code form.  A\n\"Major Component\", in this context, means a major essential component\n(kernel, window system, and so on) of the specific operating system\n(if any) on which the executable work runs, or a compiler used to\nproduce the work, or an object code interpreter used to run it.\n\n  The \"Corresponding Source\" for a work in object code form means all\nthe source code needed to generate, install, and (for an executable\nwork) run the object code and to modify the work, including scripts to\ncontrol those activities.  However, it does not include the work's\nSystem Libraries, or general-purpose tools or generally available free\nprograms which are used unmodified in performing those activities but\nwhich are not part of the work.  For example, Corresponding Source\nincludes interface definition files associated with source files for\nthe work, and the source code for shared libraries and dynamically\nlinked subprograms that the work is specifically designed to require,\nsuch as by intimate data communication or control flow between those\nsubprograms and other parts of the work.\n\n  The Corresponding Source need not include anything that users\ncan regenerate automatically from other parts of the Corresponding\nSource.\n\n  The Corresponding Source for a work in source code form is that\nsame work.\n\n  2. Basic Permissions.\n\n  All rights granted under this License are granted for the term of\ncopyright on the Program, and are irrevocable provided the stated\nconditions are met.  This License explicitly affirms your unlimited\npermission to run the unmodified Program.  The output from running a\ncovered work is covered by this License only if the output, given its\ncontent, constitutes a covered work.  This License acknowledges your\nrights of fair use or other equivalent, as provided by copyright law.\n\n  You may make, run and propagate covered works that you do not\nconvey, without conditions so long as your license otherwise remains\nin force.  You may convey covered works to others for the sole purpose\nof having them make modifications exclusively for you, or provide you\nwith facilities for running those works, provided that you comply with\nthe terms of this License in conveying all material for which you do\nnot control copyright.  Those thus making or running the covered works\nfor you must do so exclusively on your behalf, under your direction\nand control, on terms that prohibit them from making any copies of\nyour copyrighted material outside their relationship with you.\n\n  Conveying under any other circumstances is permitted solely under\nthe conditions stated below.  Sublicensing is not allowed; section 10\nmakes it unnecessary.\n\n  3. Protecting Users' Legal Rights From Anti-Circumvention Law.\n\n  No covered work shall be deemed part of an effective technological\nmeasure under any applicable law fulfilling obligations under article\n11 of the WIPO copyright treaty adopted on 20 December 1996, or\nsimilar laws prohibiting or restricting circumvention of such\nmeasures.\n\n  When you convey a covered work, you waive any legal power to forbid\ncircumvention of technological measures to the extent such circumvention\nis effected by exercising rights under this License with respect to\nthe covered work, and you disclaim any intention to limit operation or\nmodification of the work as a means of enforcing, against the work's\nusers, your or third parties' legal rights to forbid circumvention of\ntechnological measures.\n\n  4. Conveying Verbatim Copies.\n\n  You may convey verbatim copies of the Program's source code as you\nreceive it, in any medium, provided that you conspicuously and\nappropriately publish on each copy an appropriate copyright notice;\nkeep intact all notices stating that this License and any\nnon-permissive terms added in accord with section 7 apply to the code;\nkeep intact all notices of the absence of any warranty; and give all\nrecipients a copy of this License along with the Program.\n\n  You may charge any price or no price for each copy that you convey,\nand you may offer support or warranty protection for a fee.\n\n  5. Conveying Modified Source Versions.\n\n  You may convey a work based on the Program, or the modifications to\nproduce it from the Program, in the form of source code under the\nterms of section 4, provided that you also meet all of these conditions:\n\n    a) The work must carry prominent notices stating that you modified\n    it, and giving a relevant date.\n\n    b) The work must carry prominent notices stating that it is\n    released under this License and any conditions added under section\n    7.  This requirement modifies the requirement in section 4 to\n    \"keep intact all notices\".\n\n    c) You must license the entire work, as a whole, under this\n    License to anyone who comes into possession of a copy.  This\n    License will therefore apply, along with any applicable section 7\n    additional terms, to the whole of the work, and all its parts,\n    regardless of how they are packaged.  This License gives no\n    permission to license the work in any other way, but it does not\n    invalidate such permission if you have separately received it.\n\n    d) If the work has interactive user interfaces, each must display\n    Appropriate Legal Notices; however, if the Program has interactive\n    interfaces that do not display Appropriate Legal Notices, your\n    work need not make them do so.\n\n  A compilation of a covered work with other separate and independent\nworks, which are not by their nature extensions of the covered work,\nand which are not combined with it such as to form a larger program,\nin or on a volume of a storage or distribution medium, is called an\n\"aggregate\" if the compilation and its resulting copyright are not\nused to limit the access or legal rights of the compilation's users\nbeyond what the individual works permit.  Inclusion of a covered work\nin an aggregate does not cause this License to apply to the other\nparts of the aggregate.\n\n  6. Conveying Non-Source Forms.\n\n  You may convey a covered work in object code form under the terms\nof sections 4 and 5, provided that you also convey the\nmachine-readable Corresponding Source under the terms of this License,\nin one of these ways:\n\n    a) Convey the object code in, or embodied in, a physical product\n    (including a physical distribution medium), accompanied by the\n    Corresponding Source fixed on a durable physical medium\n    customarily used for software interchange.\n\n    b) Convey the object code in, or embodied in, a physical product\n    (including a physical distribution medium), accompanied by a\n    written offer, valid for at least three years and valid for as\n    long as you offer spare parts or customer support for that product\n    model, to give anyone who possesses the object code either (1) a\n    copy of the Corresponding Source for all the software in the\n    product that is covered by this License, on a durable physical\n    medium customarily used for software interchange, for a price no\n    more than your reasonable cost of physically performing this\n    conveying of source, or (2) access to copy the\n    Corresponding Source from a network server at no charge.\n\n    c) Convey individual copies of the object code with a copy of the\n    written offer to provide the Corresponding Source.  This\n    alternative is allowed only occasionally and noncommercially, and\n    only if you received the object code with such an offer, in accord\n    with subsection 6b.\n\n    d) Convey the object code by offering access from a designated\n    place (gratis or for a charge), and offer equivalent access to the\n    Corresponding Source in the same way through the same place at no\n    further charge.  You need not require recipients to copy the\n    Corresponding Source along with the object code.  If the place to\n    copy the object code is a network server, the Corresponding Source\n    may be on a different server (operated by you or a third party)\n    that supports equivalent copying facilities, provided you maintain\n    clear directions next to the object code saying where to find the\n    Corresponding Source.  Regardless of what server hosts the\n    Corresponding Source, you remain obligated to ensure that it is\n    available for as long as needed to satisfy these requirements.\n\n    e) Convey the object code using peer-to-peer transmission, provided\n    you inform other peers where the object code and Corresponding\n    Source of the work are being offered to the general public at no\n    charge under subsection 6d.\n\n  A separable portion of the object code, whose source code is excluded\nfrom the Corresponding Source as a System Library, need not be\nincluded in conveying the object code work.\n\n  A \"User Product\" is either (1) a \"consumer product\", which means any\ntangible personal property which is normally used for personal, family,\nor household purposes, or (2) anything designed or sold for incorporation\ninto a dwelling.  In determining whether a product is a consumer product,\ndoubtful cases shall be resolved in favor of coverage.  For a particular\nproduct received by a particular user, \"normally used\" refers to a\ntypical or common use of that class of product, regardless of the status\nof the particular user or of the way in which the particular user\nactually uses, or expects or is expected to use, the product.  A product\nis a consumer product regardless of whether the product has substantial\ncommercial, industrial or non-consumer uses, unless such uses represent\nthe only significant mode of use of the product.\n\n  \"Installation Information\" for a User Product means any methods,\nprocedures, authorization keys, or other information required to install\nand execute modified versions of a covered work in that User Product from\na modified version of its Corresponding Source.  The information must\nsuffice to ensure that the continued functioning of the modified object\ncode is in no case prevented or interfered with solely because\nmodification has been made.\n\n  If you convey an object code work under this section in, or with, or\nspecifically for use in, a User Product, and the conveying occurs as\npart of a transaction in which the right of possession and use of the\nUser Product is transferred to the recipient in perpetuity or for a\nfixed term (regardless of how the transaction is characterized), the\nCorresponding Source conveyed under this section must be accompanied\nby the Installation Information.  But this requirement does not apply\nif neither you nor any third party retains the ability to install\nmodified object code on the User Product (for example, the work has\nbeen installed in ROM).\n\n  The requirement to provide Installation Information does not include a\nrequirement to continue to provide support service, warranty, or updates\nfor a work that has been modified or installed by the recipient, or for\nthe User Product in which it has been modified or installed.  Access to a\nnetwork may be denied when the modification itself materially and\nadversely affects the operation of the network or violates the rules and\nprotocols for communication across the network.\n\n  Corresponding Source conveyed, and Installation Information provided,\nin accord with this section must be in a format that is publicly\ndocumented (and with an implementation available to the public in\nsource code form), and must require no special password or key for\nunpacking, reading or copying.\n\n  7. Additional Terms.\n\n  \"Additional permissions\" are terms that supplement the terms of this\nLicense by making exceptions from one or more of its conditions.\nAdditional permissions that are applicable to the entire Program shall\nbe treated as though they were included in this License, to the extent\nthat they are valid under applicable law.  If additional permissions\napply only to part of the Program, that part may be used separately\nunder those permissions, but the entire Program remains governed by\nthis License without regard to the additional permissions.\n\n  When you convey a copy of a covered work, you may at your option\nremove any additional permissions from that copy, or from any part of\nit.  (Additional permissions may be written to require their own\nremoval in certain cases when you modify the work.)  You may place\nadditional permissions on material, added by you to a covered work,\nfor which you have or can give appropriate copyright permission.\n\n  Notwithstanding any other provision of this License, for material you\nadd to a covered work, you may (if authorized by the copyright holders of\nthat material) supplement the terms of this License with terms:\n\n    a) Disclaiming warranty or limiting liability differently from the\n    terms of sections 15 and 16 of this License; or\n\n    b) Requiring preservation of specified reasonable legal notices or\n    author attributions in that material or in the Appropriate Legal\n    Notices displayed by works containing it; or\n\n    c) Prohibiting misrepresentation of the origin of that material, or\n    requiring that modified versions of such material be marked in\n    reasonable ways as different from the original version; or\n\n    d) Limiting the use for publicity purposes of names of licensors or\n    authors of the material; or\n\n    e) Declining to grant rights under trademark law for use of some\n    trade names, trademarks, or service marks; or\n\n    f) Requiring indemnification of licensors and authors of that\n    material by anyone who conveys the material (or modified versions of\n    it) with contractual assumptions of liability to the recipient, for\n    any liability that these contractual assumptions directly impose on\n    those licensors and authors.\n\n  All other non-permissive additional terms are considered \"further\nrestrictions\" within the meaning of section 10.  If the Program as you\nreceived it, or any part of it, contains a notice stating that it is\ngoverned by this License along with a term that is a further\nrestriction, you may remove that term.  If a license document contains\na further restriction but permits relicensing or conveying under this\nLicense, you may add to a covered work material governed by the terms\nof that license document, provided that the further restriction does\nnot survive such relicensing or conveying.\n\n  If you add terms to a covered work in accord with this section, you\nmust place, in the relevant source files, a statement of the\nadditional terms that apply to those files, or a notice indicating\nwhere to find the applicable terms.\n\n  Additional terms, permissive or non-permissive, may be stated in the\nform of a separately written license, or stated as exceptions;\nthe above requirements apply either way.\n\n  8. Termination.\n\n  You may not propagate or modify a covered work except as expressly\nprovided under this License.  Any attempt otherwise to propagate or\nmodify it is void, and will automatically terminate your rights under\nthis License (including any patent licenses granted under the third\nparagraph of section 11).\n\n  However, if you cease all violation of this License, then your\nlicense from a particular copyright holder is reinstated (a)\nprovisionally, unless and until the copyright holder explicitly and\nfinally terminates your license, and (b) permanently, if the copyright\nholder fails to notify you of the violation by some reasonable means\nprior to 60 days after the cessation.\n\n  Moreover, your license from a particular copyright holder is\nreinstated permanently if the copyright holder notifies you of the\nviolation by some reasonable means, this is the first time you have\nreceived notice of violation of this License (for any work) from that\ncopyright holder, and you cure the violation prior to 30 days after\nyour receipt of the notice.\n\n  Termination of your rights under this section does not terminate the\nlicenses of parties who have received copies or rights from you under\nthis License.  If your rights have been terminated and not permanently\nreinstated, you do not qualify to receive new licenses for the same\nmaterial under section 10.\n\n  9. Acceptance Not Required for Having Copies.\n\n  You are not required to accept this License in order to receive or\nrun a copy of the Program.  Ancillary propagation of a covered work\noccurring solely as a consequence of using peer-to-peer transmission\nto receive a copy likewise does not require acceptance.  However,\nnothing other than this License grants you permission to propagate or\nmodify any covered work.  These actions infringe copyright if you do\nnot accept this License.  Therefore, by modifying or propagating a\ncovered work, you indicate your acceptance of this License to do so.\n\n  10. Automatic Licensing of Downstream Recipients.\n\n  Each time you convey a covered work, the recipient automatically\nreceives a license from the original licensors, to run, modify and\npropagate that work, subject to this License.  You are not responsible\nfor enforcing compliance by third parties with this License.\n\n  An \"entity transaction\" is a transaction transferring control of an\norganization, or substantially all assets of one, or subdividing an\norganization, or merging organizations.  If propagation of a covered\nwork results from an entity transaction, each party to that\ntransaction who receives a copy of the work also receives whatever\nlicenses to the work the party's predecessor in interest had or could\ngive under the previous paragraph, plus a right to possession of the\nCorresponding Source of the work from the predecessor in interest, if\nthe predecessor has it or can get it with reasonable efforts.\n\n  You may not impose any further restrictions on the exercise of the\nrights granted or affirmed under this License.  For example, you may\nnot impose a license fee, royalty, or other charge for exercise of\nrights granted under this License, and you may not initiate litigation\n(including a cross-claim or counterclaim in a lawsuit) alleging that\nany patent claim is infringed by making, using, selling, offering for\nsale, or importing the Program or any portion of it.\n\n  11. Patents.\n\n  A \"contributor\" is a copyright holder who authorizes use under this\nLicense of the Program or a work on which the Program is based.  The\nwork thus licensed is called the contributor's \"contributor version\".\n\n  A contributor's \"essential patent claims\" are all patent claims\nowned or controlled by the contributor, whether already acquired or\nhereafter acquired, that would be infringed by some manner, permitted\nby this License, of making, using, or selling its contributor version,\nbut do not include claims that would be infringed only as a\nconsequence of further modification of the contributor version.  For\npurposes of this definition, \"control\" includes the right to grant\npatent sublicenses in a manner consistent with the requirements of\nthis License.\n\n  Each contributor grants you a non-exclusive, worldwide, royalty-free\npatent license under the contributor's essential patent claims, to\nmake, use, sell, offer for sale, import and otherwise run, modify and\npropagate the contents of its contributor version.\n\n  In the following three paragraphs, a \"patent license\" is any express\nagreement or commitment, however denominated, not to enforce a patent\n(such as an express permission to practice a patent or covenant not to\nsue for patent infringement).  To \"grant\" such a patent license to a\nparty means to make such an agreement or commitment not to enforce a\npatent against the party.\n\n  If you convey a covered work, knowingly relying on a patent license,\nand the Corresponding Source of the work is not available for anyone\nto copy, free of charge and under the terms of this License, through a\npublicly available network server or other readily accessible means,\nthen you must either (1) cause the Corresponding Source to be so\navailable, or (2) arrange to deprive yourself of the benefit of the\npatent license for this particular work, or (3) arrange, in a manner\nconsistent with the requirements of this License, to extend the patent\nlicense to downstream recipients.  \"Knowingly relying\" means you have\nactual knowledge that, but for the patent license, your conveying the\ncovered work in a country, or your recipient's use of the covered work\nin a country, would infringe one or more identifiable patents in that\ncountry that you have reason to believe are valid.\n\n  If, pursuant to or in connection with a single transaction or\narrangement, you convey, or propagate by procuring conveyance of, a\ncovered work, and grant a patent license to some of the parties\nreceiving the covered work authorizing them to use, propagate, modify\nor convey a specific copy of the covered work, then the patent license\nyou grant is automatically extended to all recipients of the covered\nwork and works based on it.\n\n  A patent license is \"discriminatory\" if it does not include within\nthe scope of its coverage, prohibits the exercise of, or is\nconditioned on the non-exercise of one or more of the rights that are\nspecifically granted under this License.  You may not convey a covered\nwork if you are a party to an arrangement with a third party that is\nin the business of distributing software, under which you make payment\nto the third party based on the extent of your activity of conveying\nthe work, and under which the third party grants, to any of the\nparties who would receive the covered work from you, a discriminatory\npatent license (a) in connection with copies of the covered work\nconveyed by you (or copies made from those copies), or (b) primarily\nfor and in connection with specific products or compilations that\ncontain the covered work, unless you entered into that arrangement,\nor that patent license was granted, prior to 28 March 2007.\n\n  Nothing in this License shall be construed as excluding or limiting\nany implied license or other defenses to infringement that may\notherwise be available to you under applicable patent law.\n\n  12. No Surrender of Others' Freedom.\n\n  If conditions are imposed on you (whether by court order, agreement or\notherwise) that contradict the conditions of this License, they do not\nexcuse you from the conditions of this License.  If you cannot convey a\ncovered work so as to satisfy simultaneously your obligations under this\nLicense and any other pertinent obligations, then as a consequence you may\nnot convey it at all.  For example, if you agree to terms that obligate you\nto collect a royalty for further conveying from those to whom you convey\nthe Program, the only way you could satisfy both those terms and this\nLicense would be to refrain entirely from conveying the Program.\n\n  13. Remote Network Interaction; Use with the GNU General Public License.\n\n  Notwithstanding any other provision of this License, if you modify the\nProgram, your modified version must prominently offer all users\ninteracting with it remotely through a computer network (if your version\nsupports such interaction) an opportunity to receive the Corresponding\nSource of your version by providing access to the Corresponding Source\nfrom a network server at no charge, through some standard or customary\nmeans of facilitating copying of software.  This Corresponding Source\nshall include the Corresponding Source for any work covered by version 3\nof the GNU General Public License that is incorporated pursuant to the\nfollowing paragraph.\n\n  Notwithstanding any other provision of this License, you have\npermission to link or combine any covered work with a work licensed\nunder version 3 of the GNU General Public License into a single\ncombined work, and to convey the resulting work.  The terms of this\nLicense will continue to apply to the part which is the covered work,\nbut the work with which it is combined will remain governed by version\n3 of the GNU General Public License.\n\n  14. Revised Versions of this License.\n\n  The Free Software Foundation may publish revised and/or new versions of\nthe GNU Affero General Public License from time to time.  Such new versions\nwill be similar in spirit to the present version, but may differ in detail to\naddress new problems or concerns.\n\n  Each version is given a distinguishing version number.  If the\nProgram specifies that a certain numbered version of the GNU Affero General\nPublic License \"or any later version\" applies to it, you have the\noption of following the terms and conditions either of that numbered\nversion or of any later version published by the Free Software\nFoundation.  If the Program does not specify a version number of the\nGNU Affero General Public License, you may choose any version ever published\nby the Free Software Foundation.\n\n  If the Program specifies that a proxy can decide which future\nversions of the GNU Affero General Public License can be used, that proxy's\npublic statement of acceptance of a version permanently authorizes you\nto choose that version for the Program.\n\n  Later license versions may give you additional or different\npermissions.  However, no additional obligations are imposed on any\nauthor or copyright holder as a result of your choosing to follow a\nlater version.\n\n  15. Disclaimer of Warranty.\n\n  THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY\nAPPLICABLE LAW.  EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT\nHOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM \"AS IS\" WITHOUT WARRANTY\nOF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,\nTHE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\nPURPOSE.  THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM\nIS WITH YOU.  SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF\nALL NECESSARY SERVICING, REPAIR OR CORRECTION.\n\n  16. Limitation of Liability.\n\n  IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING\nWILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS\nTHE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY\nGENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE\nUSE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF\nDATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD\nPARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),\nEVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF\nSUCH DAMAGES.\n\n  17. Interpretation of Sections 15 and 16.\n\n  If the disclaimer of warranty and limitation of liability provided\nabove cannot be given local legal effect according to their terms,\nreviewing courts shall apply local law that most closely approximates\nan absolute waiver of all civil liability in connection with the\nProgram, unless a warranty or assumption of liability accompanies a\ncopy of the Program in return for a fee.\n\n                     END OF TERMS AND CONDITIONS\n\n            How to Apply These Terms to Your New Programs\n\n  If you develop a new program, and you want it to be of the greatest\npossible use to the public, the best way to achieve this is to make it\nfree software which everyone can redistribute and change under these terms.\n\n  To do so, attach the following notices to the program.  It is safest\nto attach them to the start of each source file to most effectively\nstate the exclusion of warranty; and each file should have at least\nthe \"copyright\" line and a pointer to where the full notice is found.\n\n    <one line to give the program's name and a brief idea of what it does.>\n    Copyright (C) <year>  <name of author>\n\n    This program is free software: you can redistribute it and/or modify\n    it under the terms of the GNU Affero General Public License as published by\n    the Free Software Foundation, either version 3 of the License, or\n    (at your option) any later version.\n\n    This program is distributed in the hope that it will be useful,\n    but WITHOUT ANY WARRANTY; without even the implied warranty of\n    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n    GNU Affero General Public License for more details.\n\n    You should have received a copy of the GNU Affero General Public License\n    along with this program.  If not, see <https://www.gnu.org/licenses/>.\n\nAlso add information on how to contact you by electronic and paper mail.\n\n  If your software can interact with users remotely through a computer\nnetwork, you should also make sure that it provides a way for users to\nget its source.  For example, if your program is a web application, its\ninterface could display a \"Source\" link that leads users to an archive\nof the code.  There are many ways you could offer source, and different\nsolutions will be better for different programs; see section 13 for the\nspecific requirements.\n\n  You should also get your employer (if you work as a programmer) or school,\nif any, to sign a \"copyright disclaimer\" for the program, if necessary.\nFor more information on this, and how to apply and follow the GNU AGPL, see\n<https://www.gnu.org/licenses/>.\n","resolutions":{"ffjavascript":"0.2.59"},"dependencies":{"yup":"^0.32.11","axios":"0.27.2","blake2b":"^2.1.4","tweetnacl":"^1.0.3","wasmcurves":"0.2.1","web-worker":"^1.2.0","wasmbuilder":"^0.0.16","@vocdoni/proto":"1.15.4","tiny-invariant":"^1.3.1","readable-stream":"^4.4.2","@size-limit/file":"^8.2.4","iso-language-codes":"^1.1.0","@ethersproject/sha2":"^5.7.0","@ethersproject/bytes":"^5.7.0","@ethersproject/units":"^5.7.0","@ethersproject/wallet":"^5.7.0","@ethersproject/address":"^5.7.0","@ethersproject/strings":"^5.7.0","@ethersproject/bignumber":"^5.7.0","@ethersproject/keccak256":"^5.7.0","@ethersproject/providers":"^5.7.1","@ethersproject/signing-key":"^5.7.0","@ethersproject/abstract-signer":"^5.7.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.3.0","husky":"^8.0.2","tslib":"^2.4.0","buffer":"^6.0.3","eslint":"^8.27.0","rimraf":"^3.0.2","rollup":"^3.22.0","blakejs":"^1.2.1","esbuild":"^0.17.10","snarkjs":"vocdoni/snarkjs#v0.7.0-groth16browser","ts-jest":"^29.0.3","prettier":"^2.7.1","size-limit":"^8.1.0","typescript":"^4.8.4","@types/jest":"^29.2.2","circomlibjs":"^0.1.7","ffjavascript":"0.2.59","blindsecp256k1":"^0.0.9","rollup-plugin-dts":"^5.1.1","@rollup/plugin-json":"^6.0.0","rollup-plugin-esbuild":"^5.0.0","eslint-config-prettier":"^8.5.0","eslint-plugin-prettier":"^4.2.1","@rollup/plugin-commonjs":"^24.0.0","@typescript-eslint/parser":"^5.42.1","@rollup/plugin-node-resolve":"^15.0.1","rollup-plugin-polyfill-node":"^0.12.0","@typescript-eslint/eslint-plugin":"^5.42.1"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.5.2_1700154740564_0.4079061308813612","host":"s3://npm-registry-packages"}},"0.5.3":{"name":"@vocdoni/sdk","version":"0.5.3","keywords":["voting","blockchain","vocdoni"],"author":{"name":"Vocdoni"},"license":"AGPL-3.0-or-later","_id":"@vocdoni/sdk@0.5.3","maintainers":[{"name":"elboletaire","email":"elboletaire@underave.net"},{"name":"emmdim","email":"manos@vocdoni.io"},{"name":"marcvelmer","email":"marc1987@gmail.com"},{"name":"brickpop","email":"itsbrickpop@gmail.com"},{"name":"jpainan","email":"jpainan@vocdoni.io"}],"dist":{"shasum":"0b631361775985a93b7ef03d0dad5d5867627ef4","tarball":"https://registry.npmjs.org/@vocdoni/sdk/-/sdk-0.5.3.tgz","fileCount":13,"integrity":"sha512-cA7dIzOshUEjFn6+MTjpC0WkNEsY3VPL0SFuzyidRcTuwjmLofB7mm0xYXDt1idvBHsIfetyMElrhQuk/ZEbTw==","signatures":[{"sig":"MEUCIQDJyhkF1YbJ8Y7TdyEDh3dFgnXO7qq29LGqt8IJ+CzSVQIgHJGSALr46W8EeI+kRqGYgzPIuE8aufijn8rYwmizp4c=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31901189},"jest":{"preset":"ts-jest","testEnvironment":"node"},"main":"dist/index.js","husky":{"hooks":{"pre-commit":"yarn lint"}},"types":"./dist/index.d.ts","module":"dist/index.mjs","engines":{"node":">=14"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./umd":{"types":"./dist/index.d.ts","default":"./dist/index.umd.js"},"./package.json":"./package.json"},"scripts":{"lint":"eslint src test --ext .js,.jsx,.ts,.tsx","size":"size-limit","test":"yarn test:unit && yarn test:api && yarn test:census3 && yarn test:service && yarn test:integration","build":"rollup -c","clean":"rimraf node_modules dist","start":"yarn watch","watch":"yarn build --watch","lintfix":"yarn lint --fix","prepare":"yarn build","test:api":"jest test/api","ts-types":"tsc --emitDeclarationOnly --outDir dist","test:unit":"jest test/unit --verbose","test:census3":"yarn test:census3:api && yarn test:census3:integration","test:service":"yarn test:service:census && yarn test:service:anonymous && yarn test:service:csp","test:census3:api":"jest test/census3/api","test:integration":"yarn test:integration:account && yarn test:integration:csp && yarn test:integration:election && yarn test:integration:other","test:service:csp":"jest test/services/csp.test.ts","test:integration:zk":"jest test/integration/zk.test.ts --forceExit --runInBand","test:service:census":"jest test/services/census.test.ts","test:integration:csp":"jest test/integration/csp.test.ts","test:integration:other":"jest test/integration/other.test.ts","test:service:anonymous":"jest test/services/anonymous.test.ts","test:census3:integration":"jest test/census3/integration","test:integration:account":"jest test/integration/account.test.ts","test:integration:election":"jest test/integration/election.test.ts"},"_npmUser":{"name":"emmdim","email":"manos@vocdoni.io"},"prettier":{"semi":true,"printWidth":120,"singleQuote":true,"trailingComma":"es5"},"repository":{"url":"https://github.com/vocdoni/vocdoni-sdk.git","type":"git"},"size-limit":[{"path":"dist/index.js","limit":"2 MB"},{"path":"dist/index.mjs","limit":"2 MB"},{"path":"dist/index.umd.js","limit":"2 MB"}],"description":"⚒️An SDK for building applications on top of Vocdoni API","directories":{},"licenseText":"                    GNU AFFERO GENERAL PUBLIC LICENSE\n                       Version 3, 19 November 2007\n\n Copyright (C) 2020 Vocdoni Roots MTU, <https://vocdoni.io>\n Everyone is permitted to copy and distribute verbatim copies\n of this license document, but changing it is not allowed.\n\n                            Preamble\n\n  The GNU Affero General Public License is a free, copyleft license for\nsoftware and other kinds of works, specifically designed to ensure\ncooperation with the community in the case of network server software.\n\n  The licenses for most software and other practical works are designed\nto take away your freedom to share and change the works.  By contrast,\nour General Public Licenses are intended to guarantee your freedom to\nshare and change all versions of a program--to make sure it remains free\nsoftware for all its users.\n\n  When we speak of free software, we are referring to freedom, not\nprice.  Our General Public Licenses are designed to make sure that you\nhave the freedom to distribute copies of free software (and charge for\nthem if you wish), that you receive source code or can get it if you\nwant it, that you can change the software or use pieces of it in new\nfree programs, and that you know you can do these things.\n\n  Developers that use our General Public Licenses protect your rights\nwith two steps: (1) assert copyright on the software, and (2) offer\nyou this License which gives you legal permission to copy, distribute\nand/or modify the software.\n\n  A secondary benefit of defending all users' freedom is that\nimprovements made in alternate versions of the program, if they\nreceive widespread use, become available for other developers to\nincorporate.  Many developers of free software are heartened and\nencouraged by the resulting cooperation.  However, in the case of\nsoftware used on network servers, this result may fail to come about.\nThe GNU General Public License permits making a modified version and\nletting the public access it on a server without ever releasing its\nsource code to the public.\n\n  The GNU Affero General Public License is designed specifically to\nensure that, in such cases, the modified source code becomes available\nto the community.  It requires the operator of a network server to\nprovide the source code of the modified version running there to the\nusers of that server.  Therefore, public use of a modified version, on\na publicly accessible server, gives the public access to the source\ncode of the modified version.\n\n  An older license, called the Affero General Public License and\npublished by Affero, was designed to accomplish similar goals.  This is\na different license, not a version of the Affero GPL, but Affero has\nreleased a new version of the Affero GPL which permits relicensing under\nthis license.\n\n  The precise terms and conditions for copying, distribution and\nmodification follow.\n\n                       TERMS AND CONDITIONS\n\n  0. Definitions.\n\n  \"This License\" refers to version 3 of the GNU Affero General Public License.\n\n  \"Copyright\" also means copyright-like laws that apply to other kinds of\nworks, such as semiconductor masks.\n\n  \"The Program\" refers to any copyrightable work licensed under this\nLicense.  Each licensee is addressed as \"you\".  \"Licensees\" and\n\"recipients\" may be individuals or organizations.\n\n  To \"modify\" a work means to copy from or adapt all or part of the work\nin a fashion requiring copyright permission, other than the making of an\nexact copy.  The resulting work is called a \"modified version\" of the\nearlier work or a work \"based on\" the earlier work.\n\n  A \"covered work\" means either the unmodified Program or a work based\non the Program.\n\n  To \"propagate\" a work means to do anything with it that, without\npermission, would make you directly or secondarily liable for\ninfringement under applicable copyright law, except executing it on a\ncomputer or modifying a private copy.  Propagation includes copying,\ndistribution (with or without modification), making available to the\npublic, and in some countries other activities as well.\n\n  To \"convey\" a work means any kind of propagation that enables other\nparties to make or receive copies.  Mere interaction with a user through\na computer network, with no transfer of a copy, is not conveying.\n\n  An interactive user interface displays \"Appropriate Legal Notices\"\nto the extent that it includes a convenient and prominently visible\nfeature that (1) displays an appropriate copyright notice, and (2)\ntells the user that there is no warranty for the work (except to the\nextent that warranties are provided), that licensees may convey the\nwork under this License, and how to view a copy of this License.  If\nthe interface presents a list of user commands or options, such as a\nmenu, a prominent item in the list meets this criterion.\n\n  1. Source Code.\n\n  The \"source code\" for a work means the preferred form of the work\nfor making modifications to it.  \"Object code\" means any non-source\nform of a work.\n\n  A \"Standard Interface\" means an interface that either is an official\nstandard defined by a recognized standards body, or, in the case of\ninterfaces specified for a particular programming language, one that\nis widely used among developers working in that language.\n\n  The \"System Libraries\" of an executable work include anything, other\nthan the work as a whole, that (a) is included in the normal form of\npackaging a Major Component, but which is not part of that Major\nComponent, and (b) serves only to enable use of the work with that\nMajor Component, or to implement a Standard Interface for which an\nimplementation is available to the public in source code form.  A\n\"Major Component\", in this context, means a major essential component\n(kernel, window system, and so on) of the specific operating system\n(if any) on which the executable work runs, or a compiler used to\nproduce the work, or an object code interpreter used to run it.\n\n  The \"Corresponding Source\" for a work in object code form means all\nthe source code needed to generate, install, and (for an executable\nwork) run the object code and to modify the work, including scripts to\ncontrol those activities.  However, it does not include the work's\nSystem Libraries, or general-purpose tools or generally available free\nprograms which are used unmodified in performing those activities but\nwhich are not part of the work.  For example, Corresponding Source\nincludes interface definition files associated with source files for\nthe work, and the source code for shared libraries and dynamically\nlinked subprograms that the work is specifically designed to require,\nsuch as by intimate data communication or control flow between those\nsubprograms and other parts of the work.\n\n  The Corresponding Source need not include anything that users\ncan regenerate automatically from other parts of the Corresponding\nSource.\n\n  The Corresponding Source for a work in source code form is that\nsame work.\n\n  2. Basic Permissions.\n\n  All rights granted under this License are granted for the term of\ncopyright on the Program, and are irrevocable provided the stated\nconditions are met.  This License explicitly affirms your unlimited\npermission to run the unmodified Program.  The output from running a\ncovered work is covered by this License only if the output, given its\ncontent, constitutes a covered work.  This License acknowledges your\nrights of fair use or other equivalent, as provided by copyright law.\n\n  You may make, run and propagate covered works that you do not\nconvey, without conditions so long as your license otherwise remains\nin force.  You may convey covered works to others for the sole purpose\nof having them make modifications exclusively for you, or provide you\nwith facilities for running those works, provided that you comply with\nthe terms of this License in conveying all material for which you do\nnot control copyright.  Those thus making or running the covered works\nfor you must do so exclusively on your behalf, under your direction\nand control, on terms that prohibit them from making any copies of\nyour copyrighted material outside their relationship with you.\n\n  Conveying under any other circumstances is permitted solely under\nthe conditions stated below.  Sublicensing is not allowed; section 10\nmakes it unnecessary.\n\n  3. Protecting Users' Legal Rights From Anti-Circumvention Law.\n\n  No covered work shall be deemed part of an effective technological\nmeasure under any applicable law fulfilling obligations under article\n11 of the WIPO copyright treaty adopted on 20 December 1996, or\nsimilar laws prohibiting or restricting circumvention of such\nmeasures.\n\n  When you convey a covered work, you waive any legal power to forbid\ncircumvention of technological measures to the extent such circumvention\nis effected by exercising rights under this License with respect to\nthe covered work, and you disclaim any intention to limit operation or\nmodification of the work as a means of enforcing, against the work's\nusers, your or third parties' legal rights to forbid circumvention of\ntechnological measures.\n\n  4. Conveying Verbatim Copies.\n\n  You may convey verbatim copies of the Program's source code as you\nreceive it, in any medium, provided that you conspicuously and\nappropriately publish on each copy an appropriate copyright notice;\nkeep intact all notices stating that this License and any\nnon-permissive terms added in accord with section 7 apply to the code;\nkeep intact all notices of the absence of any warranty; and give all\nrecipients a copy of this License along with the Program.\n\n  You may charge any price or no price for each copy that you convey,\nand you may offer support or warranty protection for a fee.\n\n  5. Conveying Modified Source Versions.\n\n  You may convey a work based on the Program, or the modifications to\nproduce it from the Program, in the form of source code under the\nterms of section 4, provided that you also meet all of these conditions:\n\n    a) The work must carry prominent notices stating that you modified\n    it, and giving a relevant date.\n\n    b) The work must carry prominent notices stating that it is\n    released under this License and any conditions added under section\n    7.  This requirement modifies the requirement in section 4 to\n    \"keep intact all notices\".\n\n    c) You must license the entire work, as a whole, under this\n    License to anyone who comes into possession of a copy.  This\n    License will therefore apply, along with any applicable section 7\n    additional terms, to the whole of the work, and all its parts,\n    regardless of how they are packaged.  This License gives no\n    permission to license the work in any other way, but it does not\n    invalidate such permission if you have separately received it.\n\n    d) If the work has interactive user interfaces, each must display\n    Appropriate Legal Notices; however, if the Program has interactive\n    interfaces that do not display Appropriate Legal Notices, your\n    work need not make them do so.\n\n  A compilation of a covered work with other separate and independent\nworks, which are not by their nature extensions of the covered work,\nand which are not combined with it such as to form a larger program,\nin or on a volume of a storage or distribution medium, is called an\n\"aggregate\" if the compilation and its resulting copyright are not\nused to limit the access or legal rights of the compilation's users\nbeyond what the individual works permit.  Inclusion of a covered work\nin an aggregate does not cause this License to apply to the other\nparts of the aggregate.\n\n  6. Conveying Non-Source Forms.\n\n  You may convey a covered work in object code form under the terms\nof sections 4 and 5, provided that you also convey the\nmachine-readable Corresponding Source under the terms of this License,\nin one of these ways:\n\n    a) Convey the object code in, or embodied in, a physical product\n    (including a physical distribution medium), accompanied by the\n    Corresponding Source fixed on a durable physical medium\n    customarily used for software interchange.\n\n    b) Convey the object code in, or embodied in, a physical product\n    (including a physical distribution medium), accompanied by a\n    written offer, valid for at least three years and valid for as\n    long as you offer spare parts or customer support for that product\n    model, to give anyone who possesses the object code either (1) a\n    copy of the Corresponding Source for all the software in the\n    product that is covered by this License, on a durable physical\n    medium customarily used for software interchange, for a price no\n    more than your reasonable cost of physically performing this\n    conveying of source, or (2) access to copy the\n    Corresponding Source from a network server at no charge.\n\n    c) Convey individual copies of the object code with a copy of the\n    written offer to provide the Corresponding Source.  This\n    alternative is allowed only occasionally and noncommercially, and\n    only if you received the object code with such an offer, in accord\n    with subsection 6b.\n\n    d) Convey the object code by offering access from a designated\n    place (gratis or for a charge), and offer equivalent access to the\n    Corresponding Source in the same way through the same place at no\n    further charge.  You need not require recipients to copy the\n    Corresponding Source along with the object code.  If the place to\n    copy the object code is a network server, the Corresponding Source\n    may be on a different server (operated by you or a third party)\n    that supports equivalent copying facilities, provided you maintain\n    clear directions next to the object code saying where to find the\n    Corresponding Source.  Regardless of what server hosts the\n    Corresponding Source, you remain obligated to ensure that it is\n    available for as long as needed to satisfy these requirements.\n\n    e) Convey the object code using peer-to-peer transmission, provided\n    you inform other peers where the object code and Corresponding\n    Source of the work are being offered to the general public at no\n    charge under subsection 6d.\n\n  A separable portion of the object code, whose source code is excluded\nfrom the Corresponding Source as a System Library, need not be\nincluded in conveying the object code work.\n\n  A \"User Product\" is either (1) a \"consumer product\", which means any\ntangible personal property which is normally used for personal, family,\nor household purposes, or (2) anything designed or sold for incorporation\ninto a dwelling.  In determining whether a product is a consumer product,\ndoubtful cases shall be resolved in favor of coverage.  For a particular\nproduct received by a particular user, \"normally used\" refers to a\ntypical or common use of that class of product, regardless of the status\nof the particular user or of the way in which the particular user\nactually uses, or expects or is expected to use, the product.  A product\nis a consumer product regardless of whether the product has substantial\ncommercial, industrial or non-consumer uses, unless such uses represent\nthe only significant mode of use of the product.\n\n  \"Installation Information\" for a User Product means any methods,\nprocedures, authorization keys, or other information required to install\nand execute modified versions of a covered work in that User Product from\na modified version of its Corresponding Source.  The information must\nsuffice to ensure that the continued functioning of the modified object\ncode is in no case prevented or interfered with solely because\nmodification has been made.\n\n  If you convey an object code work under this section in, or with, or\nspecifically for use in, a User Product, and the conveying occurs as\npart of a transaction in which the right of possession and use of the\nUser Product is transferred to the recipient in perpetuity or for a\nfixed term (regardless of how the transaction is characterized), the\nCorresponding Source conveyed under this section must be accompanied\nby the Installation Information.  But this requirement does not apply\nif neither you nor any third party retains the ability to install\nmodified object code on the User Product (for example, the work has\nbeen installed in ROM).\n\n  The requirement to provide Installation Information does not include a\nrequirement to continue to provide support service, warranty, or updates\nfor a work that has been modified or installed by the recipient, or for\nthe User Product in which it has been modified or installed.  Access to a\nnetwork may be denied when the modification itself materially and\nadversely affects the operation of the network or violates the rules and\nprotocols for communication across the network.\n\n  Corresponding Source conveyed, and Installation Information provided,\nin accord with this section must be in a format that is publicly\ndocumented (and with an implementation available to the public in\nsource code form), and must require no special password or key for\nunpacking, reading or copying.\n\n  7. Additional Terms.\n\n  \"Additional permissions\" are terms that supplement the terms of this\nLicense by making exceptions from one or more of its conditions.\nAdditional permissions that are applicable to the entire Program shall\nbe treated as though they were included in this License, to the extent\nthat they are valid under applicable law.  If additional permissions\napply only to part of the Program, that part may be used separately\nunder those permissions, but the entire Program remains governed by\nthis License without regard to the additional permissions.\n\n  When you convey a copy of a covered work, you may at your option\nremove any additional permissions from that copy, or from any part of\nit.  (Additional permissions may be written to require their own\nremoval in certain cases when you modify the work.)  You may place\nadditional permissions on material, added by you to a covered work,\nfor which you have or can give appropriate copyright permission.\n\n  Notwithstanding any other provision of this License, for material you\nadd to a covered work, you may (if authorized by the copyright holders of\nthat material) supplement the terms of this License with terms:\n\n    a) Disclaiming warranty or limiting liability differently from the\n    terms of sections 15 and 16 of this License; or\n\n    b) Requiring preservation of specified reasonable legal notices or\n    author attributions in that material or in the Appropriate Legal\n    Notices displayed by works containing it; or\n\n    c) Prohibiting misrepresentation of the origin of that material, or\n    requiring that modified versions of such material be marked in\n    reasonable ways as different from the original version; or\n\n    d) Limiting the use for publicity purposes of names of licensors or\n    authors of the material; or\n\n    e) Declining to grant rights under trademark law for use of some\n    trade names, trademarks, or service marks; or\n\n    f) Requiring indemnification of licensors and authors of that\n    material by anyone who conveys the material (or modified versions of\n    it) with contractual assumptions of liability to the recipient, for\n    any liability that these contractual assumptions directly impose on\n    those licensors and authors.\n\n  All other non-permissive additional terms are considered \"further\nrestrictions\" within the meaning of section 10.  If the Program as you\nreceived it, or any part of it, contains a notice stating that it is\ngoverned by this License along with a term that is a further\nrestriction, you may remove that term.  If a license document contains\na further restriction but permits relicensing or conveying under this\nLicense, you may add to a covered work material governed by the terms\nof that license document, provided that the further restriction does\nnot survive such relicensing or conveying.\n\n  If you add terms to a covered work in accord with this section, you\nmust place, in the relevant source files, a statement of the\nadditional terms that apply to those files, or a notice indicating\nwhere to find the applicable terms.\n\n  Additional terms, permissive or non-permissive, may be stated in the\nform of a separately written license, or stated as exceptions;\nthe above requirements apply either way.\n\n  8. Termination.\n\n  You may not propagate or modify a covered work except as expressly\nprovided under this License.  Any attempt otherwise to propagate or\nmodify it is void, and will automatically terminate your rights under\nthis License (including any patent licenses granted under the third\nparagraph of section 11).\n\n  However, if you cease all violation of this License, then your\nlicense from a particular copyright holder is reinstated (a)\nprovisionally, unless and until the copyright holder explicitly and\nfinally terminates your license, and (b) permanently, if the copyright\nholder fails to notify you of the violation by some reasonable means\nprior to 60 days after the cessation.\n\n  Moreover, your license from a particular copyright holder is\nreinstated permanently if the copyright holder notifies you of the\nviolation by some reasonable means, this is the first time you have\nreceived notice of violation of this License (for any work) from that\ncopyright holder, and you cure the violation prior to 30 days after\nyour receipt of the notice.\n\n  Termination of your rights under this section does not terminate the\nlicenses of parties who have received copies or rights from you under\nthis License.  If your rights have been terminated and not permanently\nreinstated, you do not qualify to receive new licenses for the same\nmaterial under section 10.\n\n  9. Acceptance Not Required for Having Copies.\n\n  You are not required to accept this License in order to receive or\nrun a copy of the Program.  Ancillary propagation of a covered work\noccurring solely as a consequence of using peer-to-peer transmission\nto receive a copy likewise does not require acceptance.  However,\nnothing other than this License grants you permission to propagate or\nmodify any covered work.  These actions infringe copyright if you do\nnot accept this License.  Therefore, by modifying or propagating a\ncovered work, you indicate your acceptance of this License to do so.\n\n  10. Automatic Licensing of Downstream Recipients.\n\n  Each time you convey a covered work, the recipient automatically\nreceives a license from the original licensors, to run, modify and\npropagate that work, subject to this License.  You are not responsible\nfor enforcing compliance by third parties with this License.\n\n  An \"entity transaction\" is a transaction transferring control of an\norganization, or substantially all assets of one, or subdividing an\norganization, or merging organizations.  If propagation of a covered\nwork results from an entity transaction, each party to that\ntransaction who receives a copy of the work also receives whatever\nlicenses to the work the party's predecessor in interest had or could\ngive under the previous paragraph, plus a right to possession of the\nCorresponding Source of the work from the predecessor in interest, if\nthe predecessor has it or can get it with reasonable efforts.\n\n  You may not impose any further restrictions on the exercise of the\nrights granted or affirmed under this License.  For example, you may\nnot impose a license fee, royalty, or other charge for exercise of\nrights granted under this License, and you may not initiate litigation\n(including a cross-claim or counterclaim in a lawsuit) alleging that\nany patent claim is infringed by making, using, selling, offering for\nsale, or importing the Program or any portion of it.\n\n  11. Patents.\n\n  A \"contributor\" is a copyright holder who authorizes use under this\nLicense of the Program or a work on which the Program is based.  The\nwork thus licensed is called the contributor's \"contributor version\".\n\n  A contributor's \"essential patent claims\" are all patent claims\nowned or controlled by the contributor, whether already acquired or\nhereafter acquired, that would be infringed by some manner, permitted\nby this License, of making, using, or selling its contributor version,\nbut do not include claims that would be infringed only as a\nconsequence of further modification of the contributor version.  For\npurposes of this definition, \"control\" includes the right to grant\npatent sublicenses in a manner consistent with the requirements of\nthis License.\n\n  Each contributor grants you a non-exclusive, worldwide, royalty-free\npatent license under the contributor's essential patent claims, to\nmake, use, sell, offer for sale, import and otherwise run, modify and\npropagate the contents of its contributor version.\n\n  In the following three paragraphs, a \"patent license\" is any express\nagreement or commitment, however denominated, not to enforce a patent\n(such as an express permission to practice a patent or covenant not to\nsue for patent infringement).  To \"grant\" such a patent license to a\nparty means to make such an agreement or commitment not to enforce a\npatent against the party.\n\n  If you convey a covered work, knowingly relying on a patent license,\nand the Corresponding Source of the work is not available for anyone\nto copy, free of charge and under the terms of this License, through a\npublicly available network server or other readily accessible means,\nthen you must either (1) cause the Corresponding Source to be so\navailable, or (2) arrange to deprive yourself of the benefit of the\npatent license for this particular work, or (3) arrange, in a manner\nconsistent with the requirements of this License, to extend the patent\nlicense to downstream recipients.  \"Knowingly relying\" means you have\nactual knowledge that, but for the patent license, your conveying the\ncovered work in a country, or your recipient's use of the covered work\nin a country, would infringe one or more identifiable patents in that\ncountry that you have reason to believe are valid.\n\n  If, pursuant to or in connection with a single transaction or\narrangement, you convey, or propagate by procuring conveyance of, a\ncovered work, and grant a patent license to some of the parties\nreceiving the covered work authorizing them to use, propagate, modify\nor convey a specific copy of the covered work, then the patent license\nyou grant is automatically extended to all recipients of the covered\nwork and works based on it.\n\n  A patent license is \"discriminatory\" if it does not include within\nthe scope of its coverage, prohibits the exercise of, or is\nconditioned on the non-exercise of one or more of the rights that are\nspecifically granted under this License.  You may not convey a covered\nwork if you are a party to an arrangement with a third party that is\nin the business of distributing software, under which you make payment\nto the third party based on the extent of your activity of conveying\nthe work, and under which the third party grants, to any of the\nparties who would receive the covered work from you, a discriminatory\npatent license (a) in connection with copies of the covered work\nconveyed by you (or copies made from those copies), or (b) primarily\nfor and in connection with specific products or compilations that\ncontain the covered work, unless you entered into that arrangement,\nor that patent license was granted, prior to 28 March 2007.\n\n  Nothing in this License shall be construed as excluding or limiting\nany implied license or other defenses to infringement that may\notherwise be available to you under applicable patent law.\n\n  12. No Surrender of Others' Freedom.\n\n  If conditions are imposed on you (whether by court order, agreement or\notherwise) that contradict the conditions of this License, they do not\nexcuse you from the conditions of this License.  If you cannot convey a\ncovered work so as to satisfy simultaneously your obligations under this\nLicense and any other pertinent obligations, then as a consequence you may\nnot convey it at all.  For example, if you agree to terms that obligate you\nto collect a royalty for further conveying from those to whom you convey\nthe Program, the only way you could satisfy both those terms and this\nLicense would be to refrain entirely from conveying the Program.\n\n  13. Remote Network Interaction; Use with the GNU General Public License.\n\n  Notwithstanding any other provision of this License, if you modify the\nProgram, your modified version must prominently offer all users\ninteracting with it remotely through a computer network (if your version\nsupports such interaction) an opportunity to receive the Corresponding\nSource of your version by providing access to the Corresponding Source\nfrom a network server at no charge, through some standard or customary\nmeans of facilitating copying of software.  This Corresponding Source\nshall include the Corresponding Source for any work covered by version 3\nof the GNU General Public License that is incorporated pursuant to the\nfollowing paragraph.\n\n  Notwithstanding any other provision of this License, you have\npermission to link or combine any covered work with a work licensed\nunder version 3 of the GNU General Public License into a single\ncombined work, and to convey the resulting work.  The terms of this\nLicense will continue to apply to the part which is the covered work,\nbut the work with which it is combined will remain governed by version\n3 of the GNU General Public License.\n\n  14. Revised Versions of this License.\n\n  The Free Software Foundation may publish revised and/or new versions of\nthe GNU Affero General Public License from time to time.  Such new versions\nwill be similar in spirit to the present version, but may differ in detail to\naddress new problems or concerns.\n\n  Each version is given a distinguishing version number.  If the\nProgram specifies that a certain numbered version of the GNU Affero General\nPublic License \"or any later version\" applies to it, you have the\noption of following the terms and conditions either of that numbered\nversion or of any later version published by the Free Software\nFoundation.  If the Program does not specify a version number of the\nGNU Affero General Public License, you may choose any version ever published\nby the Free Software Foundation.\n\n  If the Program specifies that a proxy can decide which future\nversions of the GNU Affero General Public License can be used, that proxy's\npublic statement of acceptance of a version permanently authorizes you\nto choose that version for the Program.\n\n  Later license versions may give you additional or different\npermissions.  However, no additional obligations are imposed on any\nauthor or copyright holder as a result of your choosing to follow a\nlater version.\n\n  15. Disclaimer of Warranty.\n\n  THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY\nAPPLICABLE LAW.  EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT\nHOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM \"AS IS\" WITHOUT WARRANTY\nOF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,\nTHE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\nPURPOSE.  THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM\nIS WITH YOU.  SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF\nALL NECESSARY SERVICING, REPAIR OR CORRECTION.\n\n  16. Limitation of Liability.\n\n  IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING\nWILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS\nTHE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY\nGENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE\nUSE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF\nDATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD\nPARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),\nEVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF\nSUCH DAMAGES.\n\n  17. Interpretation of Sections 15 and 16.\n\n  If the disclaimer of warranty and limitation of liability provided\nabove cannot be given local legal effect according to their terms,\nreviewing courts shall apply local law that most closely approximates\nan absolute waiver of all civil liability in connection with the\nProgram, unless a warranty or assumption of liability accompanies a\ncopy of the Program in return for a fee.\n\n                     END OF TERMS AND CONDITIONS\n\n            How to Apply These Terms to Your New Programs\n\n  If you develop a new program, and you want it to be of the greatest\npossible use to the public, the best way to achieve this is to make it\nfree software which everyone can redistribute and change under these terms.\n\n  To do so, attach the following notices to the program.  It is safest\nto attach them to the start of each source file to most effectively\nstate the exclusion of warranty; and each file should have at least\nthe \"copyright\" line and a pointer to where the full notice is found.\n\n    <one line to give the program's name and a brief idea of what it does.>\n    Copyright (C) <year>  <name of author>\n\n    This program is free software: you can redistribute it and/or modify\n    it under the terms of the GNU Affero General Public License as published by\n    the Free Software Foundation, either version 3 of the License, or\n    (at your option) any later version.\n\n    This program is distributed in the hope that it will be useful,\n    but WITHOUT ANY WARRANTY; without even the implied warranty of\n    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n    GNU Affero General Public License for more details.\n\n    You should have received a copy of the GNU Affero General Public License\n    along with this program.  If not, see <https://www.gnu.org/licenses/>.\n\nAlso add information on how to contact you by electronic and paper mail.\n\n  If your software can interact with users remotely through a computer\nnetwork, you should also make sure that it provides a way for users to\nget its source.  For example, if your program is a web application, its\ninterface could display a \"Source\" link that leads users to an archive\nof the code.  There are many ways you could offer source, and different\nsolutions will be better for different programs; see section 13 for the\nspecific requirements.\n\n  You should also get your employer (if you work as a programmer) or school,\nif any, to sign a \"copyright disclaimer\" for the program, if necessary.\nFor more information on this, and how to apply and follow the GNU AGPL, see\n<https://www.gnu.org/licenses/>.\n","resolutions":{"ffjavascript":"0.2.59"},"dependencies":{"yup":"^0.32.11","axios":"0.27.2","blake2b":"^2.1.4","tweetnacl":"^1.0.3","wasmcurves":"0.2.1","web-worker":"^1.2.0","wasmbuilder":"^0.0.16","@vocdoni/proto":"1.15.4","tiny-invariant":"^1.3.1","readable-stream":"^4.4.2","@size-limit/file":"^8.2.4","iso-language-codes":"^1.1.0","@ethersproject/sha2":"^5.7.0","@ethersproject/bytes":"^5.7.0","@ethersproject/units":"^5.7.0","@ethersproject/wallet":"^5.7.0","@ethersproject/address":"^5.7.0","@ethersproject/strings":"^5.7.0","@ethersproject/bignumber":"^5.7.0","@ethersproject/keccak256":"^5.7.0","@ethersproject/providers":"^5.7.1","@ethersproject/signing-key":"^5.7.0","@ethersproject/abstract-signer":"^5.7.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.3.0","husky":"^8.0.2","tslib":"^2.4.0","buffer":"^6.0.3","eslint":"^8.27.0","rimraf":"^3.0.2","rollup":"^3.22.0","blakejs":"^1.2.1","esbuild":"^0.17.10","snarkjs":"vocdoni/snarkjs#v0.7.0-groth16browser","ts-jest":"^29.0.3","prettier":"^2.7.1","size-limit":"^8.1.0","typescript":"^4.8.4","@types/jest":"^29.2.2","circomlibjs":"^0.1.7","ffjavascript":"0.2.59","blindsecp256k1":"^0.0.9","rollup-plugin-dts":"^5.1.1","@rollup/plugin-json":"^6.0.0","rollup-plugin-esbuild":"^5.0.0","eslint-config-prettier":"^8.5.0","eslint-plugin-prettier":"^4.2.1","@rollup/plugin-commonjs":"^24.0.0","@typescript-eslint/parser":"^5.42.1","@rollup/plugin-node-resolve":"^15.0.1","rollup-plugin-polyfill-node":"^0.12.0","@typescript-eslint/eslint-plugin":"^5.42.1"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.5.3_1701175618676_0.8520785802807653","host":"s3://npm-registry-packages"}},"0.6.0":{"name":"@vocdoni/sdk","version":"0.6.0","keywords":["voting","blockchain","vocdoni"],"author":{"name":"Vocdoni"},"license":"AGPL-3.0-or-later","_id":"@vocdoni/sdk@0.6.0","maintainers":[{"name":"elboletaire","email":"elboletaire@underave.net"},{"name":"emmdim","email":"manos@vocdoni.io"},{"name":"marcvelmer","email":"marc1987@gmail.com"},{"name":"brickpop","email":"itsbrickpop@gmail.com"},{"name":"jpainan","email":"jpainan@vocdoni.io"}],"dist":{"shasum":"d0415740ab673fa73b704f944fcba49af29ac286","tarball":"https://registry.npmjs.org/@vocdoni/sdk/-/sdk-0.6.0.tgz","fileCount":13,"integrity":"sha512-PuzrWjmh8ZxFMoOREAW3dASszYA2eU4u4Cns7lDSleQ3CxRcoyOw9iiY69Nw2Njis67b+8B2oT2yow1kp+cDoA==","signatures":[{"sig":"MEUCIF09ep0r4ykjvPuj9JPvj+JdYKxJj6NO9UCzGXkTAgQaAiEA8U3BHPCqvlEhdCfxJktHVpry9OqFzNIDW6xzix3gp1U=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31937944},"jest":{"preset":"ts-jest","testEnvironment":"node"},"main":"dist/index.js","husky":{"hooks":{"pre-commit":"yarn lint"}},"types":"./dist/index.d.ts","module":"dist/index.mjs","engines":{"node":">=14"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./umd":{"types":"./dist/index.d.ts","default":"./dist/index.umd.js"},"./package.json":"./package.json"},"scripts":{"lint":"eslint src test --ext .js,.jsx,.ts,.tsx","size":"size-limit","test":"yarn test:unit && yarn test:api && yarn test:census3 && yarn test:service && yarn test:integration","build":"rollup -c","clean":"rimraf node_modules dist","start":"yarn watch","watch":"yarn build --watch","lintfix":"yarn lint --fix","prepare":"yarn build","test:api":"jest test/api","ts-types":"tsc --emitDeclarationOnly --outDir dist","test:unit":"jest test/unit --verbose","test:census3":"yarn test:census3:api && yarn test:census3:integration","test:service":"yarn test:service:census && yarn test:service:anonymous && yarn test:service:csp","test:census3:api":"jest test/census3/api","test:integration":"yarn test:integration:account && yarn test:integration:csp && yarn test:integration:election && yarn test:integration:other","test:service:csp":"jest test/services/csp.test.ts","test:integration:zk":"jest test/integration/zk.test.ts --forceExit --runInBand","test:service:census":"jest test/services/census.test.ts","test:integration:csp":"jest test/integration/csp.test.ts","test:integration:other":"jest test/integration/other.test.ts","test:service:anonymous":"jest test/services/anonymous.test.ts","test:census3:integration":"jest test/census3/integration","test:integration:account":"jest test/integration/account.test.ts","test:integration:election":"jest test/integration/election.test.ts"},"_npmUser":{"name":"emmdim","email":"manos@vocdoni.io"},"prettier":{"semi":true,"printWidth":120,"singleQuote":true,"trailingComma":"es5"},"repository":{"url":"https://github.com/vocdoni/vocdoni-sdk.git","type":"git"},"size-limit":[{"path":"dist/index.js","limit":"2 MB"},{"path":"dist/index.mjs","limit":"2 MB"},{"path":"dist/index.umd.js","limit":"2 MB"}],"description":"⚒️An SDK for building applications on top of Vocdoni API","directories":{},"licenseText":"                    GNU AFFERO GENERAL PUBLIC LICENSE\n                       Version 3, 19 November 2007\n\n Copyright (C) 2020 Vocdoni Roots MTU, <https://vocdoni.io>\n Everyone is permitted to copy and distribute verbatim copies\n of this license document, but changing it is not allowed.\n\n                            Preamble\n\n  The GNU Affero General Public License is a free, copyleft license for\nsoftware and other kinds of works, specifically designed to ensure\ncooperation with the community in the case of network server software.\n\n  The licenses for most software and other practical works are designed\nto take away your freedom to share and change the works.  By contrast,\nour General Public Licenses are intended to guarantee your freedom to\nshare and change all versions of a program--to make sure it remains free\nsoftware for all its users.\n\n  When we speak of free software, we are referring to freedom, not\nprice.  Our General Public Licenses are designed to make sure that you\nhave the freedom to distribute copies of free software (and charge for\nthem if you wish), that you receive source code or can get it if you\nwant it, that you can change the software or use pieces of it in new\nfree programs, and that you know you can do these things.\n\n  Developers that use our General Public Licenses protect your rights\nwith two steps: (1) assert copyright on the software, and (2) offer\nyou this License which gives you legal permission to copy, distribute\nand/or modify the software.\n\n  A secondary benefit of defending all users' freedom is that\nimprovements made in alternate versions of the program, if they\nreceive widespread use, become available for other developers to\nincorporate.  Many developers of free software are heartened and\nencouraged by the resulting cooperation.  However, in the case of\nsoftware used on network servers, this result may fail to come about.\nThe GNU General Public License permits making a modified version and\nletting the public access it on a server without ever releasing its\nsource code to the public.\n\n  The GNU Affero General Public License is designed specifically to\nensure that, in such cases, the modified source code becomes available\nto the community.  It requires the operator of a network server to\nprovide the source code of the modified version running there to the\nusers of that server.  Therefore, public use of a modified version, on\na publicly accessible server, gives the public access to the source\ncode of the modified version.\n\n  An older license, called the Affero General Public License and\npublished by Affero, was designed to accomplish similar goals.  This is\na different license, not a version of the Affero GPL, but Affero has\nreleased a new version of the Affero GPL which permits relicensing under\nthis license.\n\n  The precise terms and conditions for copying, distribution and\nmodification follow.\n\n                       TERMS AND CONDITIONS\n\n  0. Definitions.\n\n  \"This License\" refers to version 3 of the GNU Affero General Public License.\n\n  \"Copyright\" also means copyright-like laws that apply to other kinds of\nworks, such as semiconductor masks.\n\n  \"The Program\" refers to any copyrightable work licensed under this\nLicense.  Each licensee is addressed as \"you\".  \"Licensees\" and\n\"recipients\" may be individuals or organizations.\n\n  To \"modify\" a work means to copy from or adapt all or part of the work\nin a fashion requiring copyright permission, other than the making of an\nexact copy.  The resulting work is called a \"modified version\" of the\nearlier work or a work \"based on\" the earlier work.\n\n  A \"covered work\" means either the unmodified Program or a work based\non the Program.\n\n  To \"propagate\" a work means to do anything with it that, without\npermission, would make you directly or secondarily liable for\ninfringement under applicable copyright law, except executing it on a\ncomputer or modifying a private copy.  Propagation includes copying,\ndistribution (with or without modification), making available to the\npublic, and in some countries other activities as well.\n\n  To \"convey\" a work means any kind of propagation that enables other\nparties to make or receive copies.  Mere interaction with a user through\na computer network, with no transfer of a copy, is not conveying.\n\n  An interactive user interface displays \"Appropriate Legal Notices\"\nto the extent that it includes a convenient and prominently visible\nfeature that (1) displays an appropriate copyright notice, and (2)\ntells the user that there is no warranty for the work (except to the\nextent that warranties are provided), that licensees may convey the\nwork under this License, and how to view a copy of this License.  If\nthe interface presents a list of user commands or options, such as a\nmenu, a prominent item in the list meets this criterion.\n\n  1. Source Code.\n\n  The \"source code\" for a work means the preferred form of the work\nfor making modifications to it.  \"Object code\" means any non-source\nform of a work.\n\n  A \"Standard Interface\" means an interface that either is an official\nstandard defined by a recognized standards body, or, in the case of\ninterfaces specified for a particular programming language, one that\nis widely used among developers working in that language.\n\n  The \"System Libraries\" of an executable work include anything, other\nthan the work as a whole, that (a) is included in the normal form of\npackaging a Major Component, but which is not part of that Major\nComponent, and (b) serves only to enable use of the work with that\nMajor Component, or to implement a Standard Interface for which an\nimplementation is available to the public in source code form.  A\n\"Major Component\", in this context, means a major essential component\n(kernel, window system, and so on) of the specific operating system\n(if any) on which the executable work runs, or a compiler used to\nproduce the work, or an object code interpreter used to run it.\n\n  The \"Corresponding Source\" for a work in object code form means all\nthe source code needed to generate, install, and (for an executable\nwork) run the object code and to modify the work, including scripts to\ncontrol those activities.  However, it does not include the work's\nSystem Libraries, or general-purpose tools or generally available free\nprograms which are used unmodified in performing those activities but\nwhich are not part of the work.  For example, Corresponding Source\nincludes interface definition files associated with source files for\nthe work, and the source code for shared libraries and dynamically\nlinked subprograms that the work is specifically designed to require,\nsuch as by intimate data communication or control flow between those\nsubprograms and other parts of the work.\n\n  The Corresponding Source need not include anything that users\ncan regenerate automatically from other parts of the Corresponding\nSource.\n\n  The Corresponding Source for a work in source code form is that\nsame work.\n\n  2. Basic Permissions.\n\n  All rights granted under this License are granted for the term of\ncopyright on the Program, and are irrevocable provided the stated\nconditions are met.  This License explicitly affirms your unlimited\npermission to run the unmodified Program.  The output from running a\ncovered work is covered by this License only if the output, given its\ncontent, constitutes a covered work.  This License acknowledges your\nrights of fair use or other equivalent, as provided by copyright law.\n\n  You may make, run and propagate covered works that you do not\nconvey, without conditions so long as your license otherwise remains\nin force.  You may convey covered works to others for the sole purpose\nof having them make modifications exclusively for you, or provide you\nwith facilities for running those works, provided that you comply with\nthe terms of this License in conveying all material for which you do\nnot control copyright.  Those thus making or running the covered works\nfor you must do so exclusively on your behalf, under your direction\nand control, on terms that prohibit them from making any copies of\nyour copyrighted material outside their relationship with you.\n\n  Conveying under any other circumstances is permitted solely under\nthe conditions stated below.  Sublicensing is not allowed; section 10\nmakes it unnecessary.\n\n  3. Protecting Users' Legal Rights From Anti-Circumvention Law.\n\n  No covered work shall be deemed part of an effective technological\nmeasure under any applicable law fulfilling obligations under article\n11 of the WIPO copyright treaty adopted on 20 December 1996, or\nsimilar laws prohibiting or restricting circumvention of such\nmeasures.\n\n  When you convey a covered work, you waive any legal power to forbid\ncircumvention of technological measures to the extent such circumvention\nis effected by exercising rights under this License with respect to\nthe covered work, and you disclaim any intention to limit operation or\nmodification of the work as a means of enforcing, against the work's\nusers, your or third parties' legal rights to forbid circumvention of\ntechnological measures.\n\n  4. Conveying Verbatim Copies.\n\n  You may convey verbatim copies of the Program's source code as you\nreceive it, in any medium, provided that you conspicuously and\nappropriately publish on each copy an appropriate copyright notice;\nkeep intact all notices stating that this License and any\nnon-permissive terms added in accord with section 7 apply to the code;\nkeep intact all notices of the absence of any warranty; and give all\nrecipients a copy of this License along with the Program.\n\n  You may charge any price or no price for each copy that you convey,\nand you may offer support or warranty protection for a fee.\n\n  5. Conveying Modified Source Versions.\n\n  You may convey a work based on the Program, or the modifications to\nproduce it from the Program, in the form of source code under the\nterms of section 4, provided that you also meet all of these conditions:\n\n    a) The work must carry prominent notices stating that you modified\n    it, and giving a relevant date.\n\n    b) The work must carry prominent notices stating that it is\n    released under this License and any conditions added under section\n    7.  This requirement modifies the requirement in section 4 to\n    \"keep intact all notices\".\n\n    c) You must license the entire work, as a whole, under this\n    License to anyone who comes into possession of a copy.  This\n    License will therefore apply, along with any applicable section 7\n    additional terms, to the whole of the work, and all its parts,\n    regardless of how they are packaged.  This License gives no\n    permission to license the work in any other way, but it does not\n    invalidate such permission if you have separately received it.\n\n    d) If the work has interactive user interfaces, each must display\n    Appropriate Legal Notices; however, if the Program has interactive\n    interfaces that do not display Appropriate Legal Notices, your\n    work need not make them do so.\n\n  A compilation of a covered work with other separate and independent\nworks, which are not by their nature extensions of the covered work,\nand which are not combined with it such as to form a larger program,\nin or on a volume of a storage or distribution medium, is called an\n\"aggregate\" if the compilation and its resulting copyright are not\nused to limit the access or legal rights of the compilation's users\nbeyond what the individual works permit.  Inclusion of a covered work\nin an aggregate does not cause this License to apply to the other\nparts of the aggregate.\n\n  6. Conveying Non-Source Forms.\n\n  You may convey a covered work in object code form under the terms\nof sections 4 and 5, provided that you also convey the\nmachine-readable Corresponding Source under the terms of this License,\nin one of these ways:\n\n    a) Convey the object code in, or embodied in, a physical product\n    (including a physical distribution medium), accompanied by the\n    Corresponding Source fixed on a durable physical medium\n    customarily used for software interchange.\n\n    b) Convey the object code in, or embodied in, a physical product\n    (including a physical distribution medium), accompanied by a\n    written offer, valid for at least three years and valid for as\n    long as you offer spare parts or customer support for that product\n    model, to give anyone who possesses the object code either (1) a\n    copy of the Corresponding Source for all the software in the\n    product that is covered by this License, on a durable physical\n    medium customarily used for software interchange, for a price no\n    more than your reasonable cost of physically performing this\n    conveying of source, or (2) access to copy the\n    Corresponding Source from a network server at no charge.\n\n    c) Convey individual copies of the object code with a copy of the\n    written offer to provide the Corresponding Source.  This\n    alternative is allowed only occasionally and noncommercially, and\n    only if you received the object code with such an offer, in accord\n    with subsection 6b.\n\n    d) Convey the object code by offering access from a designated\n    place (gratis or for a charge), and offer equivalent access to the\n    Corresponding Source in the same way through the same place at no\n    further charge.  You need not require recipients to copy the\n    Corresponding Source along with the object code.  If the place to\n    copy the object code is a network server, the Corresponding Source\n    may be on a different server (operated by you or a third party)\n    that supports equivalent copying facilities, provided you maintain\n    clear directions next to the object code saying where to find the\n    Corresponding Source.  Regardless of what server hosts the\n    Corresponding Source, you remain obligated to ensure that it is\n    available for as long as needed to satisfy these requirements.\n\n    e) Convey the object code using peer-to-peer transmission, provided\n    you inform other peers where the object code and Corresponding\n    Source of the work are being offered to the general public at no\n    charge under subsection 6d.\n\n  A separable portion of the object code, whose source code is excluded\nfrom the Corresponding Source as a System Library, need not be\nincluded in conveying the object code work.\n\n  A \"User Product\" is either (1) a \"consumer product\", which means any\ntangible personal property which is normally used for personal, family,\nor household purposes, or (2) anything designed or sold for incorporation\ninto a dwelling.  In determining whether a product is a consumer product,\ndoubtful cases shall be resolved in favor of coverage.  For a particular\nproduct received by a particular user, \"normally used\" refers to a\ntypical or common use of that class of product, regardless of the status\nof the particular user or of the way in which the particular user\nactually uses, or expects or is expected to use, the product.  A product\nis a consumer product regardless of whether the product has substantial\ncommercial, industrial or non-consumer uses, unless such uses represent\nthe only significant mode of use of the product.\n\n  \"Installation Information\" for a User Product means any methods,\nprocedures, authorization keys, or other information required to install\nand execute modified versions of a covered work in that User Product from\na modified version of its Corresponding Source.  The information must\nsuffice to ensure that the continued functioning of the modified object\ncode is in no case prevented or interfered with solely because\nmodification has been made.\n\n  If you convey an object code work under this section in, or with, or\nspecifically for use in, a User Product, and the conveying occurs as\npart of a transaction in which the right of possession and use of the\nUser Product is transferred to the recipient in perpetuity or for a\nfixed term (regardless of how the transaction is characterized), the\nCorresponding Source conveyed under this section must be accompanied\nby the Installation Information.  But this requirement does not apply\nif neither you nor any third party retains the ability to install\nmodified object code on the User Product (for example, the work has\nbeen installed in ROM).\n\n  The requirement to provide Installation Information does not include a\nrequirement to continue to provide support service, warranty, or updates\nfor a work that has been modified or installed by the recipient, or for\nthe User Product in which it has been modified or installed.  Access to a\nnetwork may be denied when the modification itself materially and\nadversely affects the operation of the network or violates the rules and\nprotocols for communication across the network.\n\n  Corresponding Source conveyed, and Installation Information provided,\nin accord with this section must be in a format that is publicly\ndocumented (and with an implementation available to the public in\nsource code form), and must require no special password or key for\nunpacking, reading or copying.\n\n  7. Additional Terms.\n\n  \"Additional permissions\" are terms that supplement the terms of this\nLicense by making exceptions from one or more of its conditions.\nAdditional permissions that are applicable to the entire Program shall\nbe treated as though they were included in this License, to the extent\nthat they are valid under applicable law.  If additional permissions\napply only to part of the Program, that part may be used separately\nunder those permissions, but the entire Program remains governed by\nthis License without regard to the additional permissions.\n\n  When you convey a copy of a covered work, you may at your option\nremove any additional permissions from that copy, or from any part of\nit.  (Additional permissions may be written to require their own\nremoval in certain cases when you modify the work.)  You may place\nadditional permissions on material, added by you to a covered work,\nfor which you have or can give appropriate copyright permission.\n\n  Notwithstanding any other provision of this License, for material you\nadd to a covered work, you may (if authorized by the copyright holders of\nthat material) supplement the terms of this License with terms:\n\n    a) Disclaiming warranty or limiting liability differently from the\n    terms of sections 15 and 16 of this License; or\n\n    b) Requiring preservation of specified reasonable legal notices or\n    author attributions in that material or in the Appropriate Legal\n    Notices displayed by works containing it; or\n\n    c) Prohibiting misrepresentation of the origin of that material, or\n    requiring that modified versions of such material be marked in\n    reasonable ways as different from the original version; or\n\n    d) Limiting the use for publicity purposes of names of licensors or\n    authors of the material; or\n\n    e) Declining to grant rights under trademark law for use of some\n    trade names, trademarks, or service marks; or\n\n    f) Requiring indemnification of licensors and authors of that\n    material by anyone who conveys the material (or modified versions of\n    it) with contractual assumptions of liability to the recipient, for\n    any liability that these contractual assumptions directly impose on\n    those licensors and authors.\n\n  All other non-permissive additional terms are considered \"further\nrestrictions\" within the meaning of section 10.  If the Program as you\nreceived it, or any part of it, contains a notice stating that it is\ngoverned by this License along with a term that is a further\nrestriction, you may remove that term.  If a license document contains\na further restriction but permits relicensing or conveying under this\nLicense, you may add to a covered work material governed by the terms\nof that license document, provided that the further restriction does\nnot survive such relicensing or conveying.\n\n  If you add terms to a covered work in accord with this section, you\nmust place, in the relevant source files, a statement of the\nadditional terms that apply to those files, or a notice indicating\nwhere to find the applicable terms.\n\n  Additional terms, permissive or non-permissive, may be stated in the\nform of a separately written license, or stated as exceptions;\nthe above requirements apply either way.\n\n  8. Termination.\n\n  You may not propagate or modify a covered work except as expressly\nprovided under this License.  Any attempt otherwise to propagate or\nmodify it is void, and will automatically terminate your rights under\nthis License (including any patent licenses granted under the third\nparagraph of section 11).\n\n  However, if you cease all violation of this License, then your\nlicense from a particular copyright holder is reinstated (a)\nprovisionally, unless and until the copyright holder explicitly and\nfinally terminates your license, and (b) permanently, if the copyright\nholder fails to notify you of the violation by some reasonable means\nprior to 60 days after the cessation.\n\n  Moreover, your license from a particular copyright holder is\nreinstated permanently if the copyright holder notifies you of the\nviolation by some reasonable means, this is the first time you have\nreceived notice of violation of this License (for any work) from that\ncopyright holder, and you cure the violation prior to 30 days after\nyour receipt of the notice.\n\n  Termination of your rights under this section does not terminate the\nlicenses of parties who have received copies or rights from you under\nthis License.  If your rights have been terminated and not permanently\nreinstated, you do not qualify to receive new licenses for the same\nmaterial under section 10.\n\n  9. Acceptance Not Required for Having Copies.\n\n  You are not required to accept this License in order to receive or\nrun a copy of the Program.  Ancillary propagation of a covered work\noccurring solely as a consequence of using peer-to-peer transmission\nto receive a copy likewise does not require acceptance.  However,\nnothing other than this License grants you permission to propagate or\nmodify any covered work.  These actions infringe copyright if you do\nnot accept this License.  Therefore, by modifying or propagating a\ncovered work, you indicate your acceptance of this License to do so.\n\n  10. Automatic Licensing of Downstream Recipients.\n\n  Each time you convey a covered work, the recipient automatically\nreceives a license from the original licensors, to run, modify and\npropagate that work, subject to this License.  You are not responsible\nfor enforcing compliance by third parties with this License.\n\n  An \"entity transaction\" is a transaction transferring control of an\norganization, or substantially all assets of one, or subdividing an\norganization, or merging organizations.  If propagation of a covered\nwork results from an entity transaction, each party to that\ntransaction who receives a copy of the work also receives whatever\nlicenses to the work the party's predecessor in interest had or could\ngive under the previous paragraph, plus a right to possession of the\nCorresponding Source of the work from the predecessor in interest, if\nthe predecessor has it or can get it with reasonable efforts.\n\n  You may not impose any further restrictions on the exercise of the\nrights granted or affirmed under this License.  For example, you may\nnot impose a license fee, royalty, or other charge for exercise of\nrights granted under this License, and you may not initiate litigation\n(including a cross-claim or counterclaim in a lawsuit) alleging that\nany patent claim is infringed by making, using, selling, offering for\nsale, or importing the Program or any portion of it.\n\n  11. Patents.\n\n  A \"contributor\" is a copyright holder who authorizes use under this\nLicense of the Program or a work on which the Program is based.  The\nwork thus licensed is called the contributor's \"contributor version\".\n\n  A contributor's \"essential patent claims\" are all patent claims\nowned or controlled by the contributor, whether already acquired or\nhereafter acquired, that would be infringed by some manner, permitted\nby this License, of making, using, or selling its contributor version,\nbut do not include claims that would be infringed only as a\nconsequence of further modification of the contributor version.  For\npurposes of this definition, \"control\" includes the right to grant\npatent sublicenses in a manner consistent with the requirements of\nthis License.\n\n  Each contributor grants you a non-exclusive, worldwide, royalty-free\npatent license under the contributor's essential patent claims, to\nmake, use, sell, offer for sale, import and otherwise run, modify and\npropagate the contents of its contributor version.\n\n  In the following three paragraphs, a \"patent license\" is any express\nagreement or commitment, however denominated, not to enforce a patent\n(such as an express permission to practice a patent or covenant not to\nsue for patent infringement).  To \"grant\" such a patent license to a\nparty means to make such an agreement or commitment not to enforce a\npatent against the party.\n\n  If you convey a covered work, knowingly relying on a patent license,\nand the Corresponding Source of the work is not available for anyone\nto copy, free of charge and under the terms of this License, through a\npublicly available network server or other readily accessible means,\nthen you must either (1) cause the Corresponding Source to be so\navailable, or (2) arrange to deprive yourself of the benefit of the\npatent license for this particular work, or (3) arrange, in a manner\nconsistent with the requirements of this License, to extend the patent\nlicense to downstream recipients.  \"Knowingly relying\" means you have\nactual knowledge that, but for the patent license, your conveying the\ncovered work in a country, or your recipient's use of the covered work\nin a country, would infringe one or more identifiable patents in that\ncountry that you have reason to believe are valid.\n\n  If, pursuant to or in connection with a single transaction or\narrangement, you convey, or propagate by procuring conveyance of, a\ncovered work, and grant a patent license to some of the parties\nreceiving the covered work authorizing them to use, propagate, modify\nor convey a specific copy of the covered work, then the patent license\nyou grant is automatically extended to all recipients of the covered\nwork and works based on it.\n\n  A patent license is \"discriminatory\" if it does not include within\nthe scope of its coverage, prohibits the exercise of, or is\nconditioned on the non-exercise of one or more of the rights that are\nspecifically granted under this License.  You may not convey a covered\nwork if you are a party to an arrangement with a third party that is\nin the business of distributing software, under which you make payment\nto the third party based on the extent of your activity of conveying\nthe work, and under which the third party grants, to any of the\nparties who would receive the covered work from you, a discriminatory\npatent license (a) in connection with copies of the covered work\nconveyed by you (or copies made from those copies), or (b) primarily\nfor and in connection with specific products or compilations that\ncontain the covered work, unless you entered into that arrangement,\nor that patent license was granted, prior to 28 March 2007.\n\n  Nothing in this License shall be construed as excluding or limiting\nany implied license or other defenses to infringement that may\notherwise be available to you under applicable patent law.\n\n  12. No Surrender of Others' Freedom.\n\n  If conditions are imposed on you (whether by court order, agreement or\notherwise) that contradict the conditions of this License, they do not\nexcuse you from the conditions of this License.  If you cannot convey a\ncovered work so as to satisfy simultaneously your obligations under this\nLicense and any other pertinent obligations, then as a consequence you may\nnot convey it at all.  For example, if you agree to terms that obligate you\nto collect a royalty for further conveying from those to whom you convey\nthe Program, the only way you could satisfy both those terms and this\nLicense would be to refrain entirely from conveying the Program.\n\n  13. Remote Network Interaction; Use with the GNU General Public License.\n\n  Notwithstanding any other provision of this License, if you modify the\nProgram, your modified version must prominently offer all users\ninteracting with it remotely through a computer network (if your version\nsupports such interaction) an opportunity to receive the Corresponding\nSource of your version by providing access to the Corresponding Source\nfrom a network server at no charge, through some standard or customary\nmeans of facilitating copying of software.  This Corresponding Source\nshall include the Corresponding Source for any work covered by version 3\nof the GNU General Public License that is incorporated pursuant to the\nfollowing paragraph.\n\n  Notwithstanding any other provision of this License, you have\npermission to link or combine any covered work with a work licensed\nunder version 3 of the GNU General Public License into a single\ncombined work, and to convey the resulting work.  The terms of this\nLicense will continue to apply to the part which is the covered work,\nbut the work with which it is combined will remain governed by version\n3 of the GNU General Public License.\n\n  14. Revised Versions of this License.\n\n  The Free Software Foundation may publish revised and/or new versions of\nthe GNU Affero General Public License from time to time.  Such new versions\nwill be similar in spirit to the present version, but may differ in detail to\naddress new problems or concerns.\n\n  Each version is given a distinguishing version number.  If the\nProgram specifies that a certain numbered version of the GNU Affero General\nPublic License \"or any later version\" applies to it, you have the\noption of following the terms and conditions either of that numbered\nversion or of any later version published by the Free Software\nFoundation.  If the Program does not specify a version number of the\nGNU Affero General Public License, you may choose any version ever published\nby the Free Software Foundation.\n\n  If the Program specifies that a proxy can decide which future\nversions of the GNU Affero General Public License can be used, that proxy's\npublic statement of acceptance of a version permanently authorizes you\nto choose that version for the Program.\n\n  Later license versions may give you additional or different\npermissions.  However, no additional obligations are imposed on any\nauthor or copyright holder as a result of your choosing to follow a\nlater version.\n\n  15. Disclaimer of Warranty.\n\n  THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY\nAPPLICABLE LAW.  EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT\nHOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM \"AS IS\" WITHOUT WARRANTY\nOF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,\nTHE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\nPURPOSE.  THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM\nIS WITH YOU.  SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF\nALL NECESSARY SERVICING, REPAIR OR CORRECTION.\n\n  16. Limitation of Liability.\n\n  IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING\nWILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS\nTHE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY\nGENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE\nUSE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF\nDATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD\nPARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),\nEVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF\nSUCH DAMAGES.\n\n  17. Interpretation of Sections 15 and 16.\n\n  If the disclaimer of warranty and limitation of liability provided\nabove cannot be given local legal effect according to their terms,\nreviewing courts shall apply local law that most closely approximates\nan absolute waiver of all civil liability in connection with the\nProgram, unless a warranty or assumption of liability accompanies a\ncopy of the Program in return for a fee.\n\n                     END OF TERMS AND CONDITIONS\n\n            How to Apply These Terms to Your New Programs\n\n  If you develop a new program, and you want it to be of the greatest\npossible use to the public, the best way to achieve this is to make it\nfree software which everyone can redistribute and change under these terms.\n\n  To do so, attach the following notices to the program.  It is safest\nto attach them to the start of each source file to most effectively\nstate the exclusion of warranty; and each file should have at least\nthe \"copyright\" line and a pointer to where the full notice is found.\n\n    <one line to give the program's name and a brief idea of what it does.>\n    Copyright (C) <year>  <name of author>\n\n    This program is free software: you can redistribute it and/or modify\n    it under the terms of the GNU Affero General Public License as published by\n    the Free Software Foundation, either version 3 of the License, or\n    (at your option) any later version.\n\n    This program is distributed in the hope that it will be useful,\n    but WITHOUT ANY WARRANTY; without even the implied warranty of\n    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n    GNU Affero General Public License for more details.\n\n    You should have received a copy of the GNU Affero General Public License\n    along with this program.  If not, see <https://www.gnu.org/licenses/>.\n\nAlso add information on how to contact you by electronic and paper mail.\n\n  If your software can interact with users remotely through a computer\nnetwork, you should also make sure that it provides a way for users to\nget its source.  For example, if your program is a web application, its\ninterface could display a \"Source\" link that leads users to an archive\nof the code.  There are many ways you could offer source, and different\nsolutions will be better for different programs; see section 13 for the\nspecific requirements.\n\n  You should also get your employer (if you work as a programmer) or school,\nif any, to sign a \"copyright disclaimer\" for the program, if necessary.\nFor more information on this, and how to apply and follow the GNU AGPL, see\n<https://www.gnu.org/licenses/>.\n","resolutions":{"ffjavascript":"0.2.59"},"dependencies":{"yup":"^0.32.11","axios":"0.27.2","blake2b":"^2.1.4","tweetnacl":"^1.0.3","wasmcurves":"0.2.1","web-worker":"^1.2.0","wasmbuilder":"^0.0.16","@vocdoni/proto":"1.15.4","tiny-invariant":"^1.3.1","readable-stream":"^4.4.2","@size-limit/file":"^8.2.4","iso-language-codes":"^1.1.0","@ethersproject/sha2":"^5.7.0","@ethersproject/bytes":"^5.7.0","@ethersproject/units":"^5.7.0","@ethersproject/wallet":"^5.7.0","@ethersproject/address":"^5.7.0","@ethersproject/strings":"^5.7.0","@ethersproject/bignumber":"^5.7.0","@ethersproject/keccak256":"^5.7.0","@ethersproject/providers":"^5.7.1","@ethersproject/signing-key":"^5.7.0","@ethersproject/abstract-signer":"^5.7.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.3.0","husky":"^8.0.2","tslib":"^2.4.0","buffer":"^6.0.3","eslint":"^8.27.0","rimraf":"^3.0.2","rollup":"^3.22.0","blakejs":"^1.2.1","esbuild":"^0.17.10","snarkjs":"vocdoni/snarkjs#v0.7.0-groth16browser","ts-jest":"^29.0.3","prettier":"^2.7.1","size-limit":"^8.1.0","typescript":"^4.8.4","@types/jest":"^29.2.2","circomlibjs":"^0.1.7","ffjavascript":"0.2.59","blindsecp256k1":"^0.0.9","rollup-plugin-dts":"^5.1.1","@rollup/plugin-json":"^6.0.0","rollup-plugin-esbuild":"^5.0.0","eslint-config-prettier":"^8.5.0","eslint-plugin-prettier":"^4.2.1","@rollup/plugin-commonjs":"^24.0.0","@typescript-eslint/parser":"^5.42.1","@rollup/plugin-node-resolve":"^15.0.1","rollup-plugin-polyfill-node":"^0.12.0","@typescript-eslint/eslint-plugin":"^5.42.1"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.6.0_1701195572678_0.5672979055929137","host":"s3://npm-registry-packages"}},"0.6.1":{"name":"@vocdoni/sdk","version":"0.6.1","keywords":["voting","blockchain","vocdoni"],"author":{"name":"Vocdoni"},"license":"AGPL-3.0-or-later","_id":"@vocdoni/sdk@0.6.1","maintainers":[{"name":"elboletaire","email":"elboletaire@underave.net"},{"name":"emmdim","email":"manos@vocdoni.io"},{"name":"marcvelmer","email":"marc1987@gmail.com"},{"name":"brickpop","email":"itsbrickpop@gmail.com"},{"name":"jpainan","email":"jpainan@vocdoni.io"}],"dist":{"shasum":"6d3eeb8f02cbe9d0974260dfea1108b77e633c35","tarball":"https://registry.npmjs.org/@vocdoni/sdk/-/sdk-0.6.1.tgz","fileCount":13,"integrity":"sha512-nDayMEvEwA0OaamiHLemtet9ilPx8khv+kdAkChhKeDz64fEJp1QezfijsHKFKLcIfQIawK0/+CWcUiqvdmg8g==","signatures":[{"sig":"MEUCIHXOHlgKoyOBJskj29w3oyNDx1cCrC7Sm3xamy2lhFGJAiEAmmaLLaw/Jz9/oknPWpZD+bOsytSfXhIJdlu6rk+E4V4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31946959},"jest":{"preset":"ts-jest","testEnvironment":"node"},"main":"dist/index.js","husky":{"hooks":{"pre-commit":"yarn lint"}},"types":"./dist/index.d.ts","module":"dist/index.mjs","engines":{"node":">=14"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./umd":{"types":"./dist/index.d.ts","default":"./dist/index.umd.js"},"./package.json":"./package.json"},"scripts":{"lint":"eslint src test --ext .js,.jsx,.ts,.tsx","size":"size-limit","test":"yarn test:unit && yarn test:api && yarn test:census3 && yarn test:service && yarn test:integration","build":"rollup -c","clean":"rimraf node_modules dist","start":"yarn watch","watch":"yarn build --watch","lintfix":"yarn lint --fix","prepare":"yarn build","test:api":"jest test/api","ts-types":"tsc --emitDeclarationOnly --outDir dist","test:unit":"jest test/unit --verbose","test:census3":"yarn test:census3:api && yarn test:census3:integration","test:service":"yarn test:service:census && yarn test:service:anonymous && yarn test:service:csp","test:census3:api":"jest test/census3/api","test:integration":"yarn test:integration:account && yarn test:integration:csp && yarn test:integration:election && yarn test:integration:other","test:service:csp":"jest test/services/csp.test.ts","test:integration:zk":"jest test/integration/zk.test.ts --forceExit --runInBand","test:service:census":"jest test/services/census.test.ts","test:integration:csp":"jest test/integration/csp.test.ts","test:integration:other":"jest test/integration/other.test.ts","test:service:anonymous":"jest test/services/anonymous.test.ts","test:census3:integration":"jest test/census3/integration","test:integration:account":"jest test/integration/account.test.ts","test:integration:election":"jest test/integration/election.test.ts"},"_npmUser":{"name":"emmdim","email":"manos@vocdoni.io"},"prettier":{"semi":true,"printWidth":120,"singleQuote":true,"trailingComma":"es5"},"repository":{"url":"https://github.com/vocdoni/vocdoni-sdk.git","type":"git"},"size-limit":[{"path":"dist/index.js","limit":"2 MB"},{"path":"dist/index.mjs","limit":"2 MB"},{"path":"dist/index.umd.js","limit":"2 MB"}],"description":"⚒️An SDK for building applications on top of Vocdoni API","directories":{},"licenseText":"                    GNU AFFERO GENERAL PUBLIC LICENSE\n                       Version 3, 19 November 2007\n\n Copyright (C) 2020 Vocdoni Roots MTU, <https://vocdoni.io>\n Everyone is permitted to copy and distribute verbatim copies\n of this license document, but changing it is not allowed.\n\n                            Preamble\n\n  The GNU Affero General Public License is a free, copyleft license for\nsoftware and other kinds of works, specifically designed to ensure\ncooperation with the community in the case of network server software.\n\n  The licenses for most software and other practical works are designed\nto take away your freedom to share and change the works.  By contrast,\nour General Public Licenses are intended to guarantee your freedom to\nshare and change all versions of a program--to make sure it remains free\nsoftware for all its users.\n\n  When we speak of free software, we are referring to freedom, not\nprice.  Our General Public Licenses are designed to make sure that you\nhave the freedom to distribute copies of free software (and charge for\nthem if you wish), that you receive source code or can get it if you\nwant it, that you can change the software or use pieces of it in new\nfree programs, and that you know you can do these things.\n\n  Developers that use our General Public Licenses protect your rights\nwith two steps: (1) assert copyright on the software, and (2) offer\nyou this License which gives you legal permission to copy, distribute\nand/or modify the software.\n\n  A secondary benefit of defending all users' freedom is that\nimprovements made in alternate versions of the program, if they\nreceive widespread use, become available for other developers to\nincorporate.  Many developers of free software are heartened and\nencouraged by the resulting cooperation.  However, in the case of\nsoftware used on network servers, this result may fail to come about.\nThe GNU General Public License permits making a modified version and\nletting the public access it on a server without ever releasing its\nsource code to the public.\n\n  The GNU Affero General Public License is designed specifically to\nensure that, in such cases, the modified source code becomes available\nto the community.  It requires the operator of a network server to\nprovide the source code of the modified version running there to the\nusers of that server.  Therefore, public use of a modified version, on\na publicly accessible server, gives the public access to the source\ncode of the modified version.\n\n  An older license, called the Affero General Public License and\npublished by Affero, was designed to accomplish similar goals.  This is\na different license, not a version of the Affero GPL, but Affero has\nreleased a new version of the Affero GPL which permits relicensing under\nthis license.\n\n  The precise terms and conditions for copying, distribution and\nmodification follow.\n\n                       TERMS AND CONDITIONS\n\n  0. Definitions.\n\n  \"This License\" refers to version 3 of the GNU Affero General Public License.\n\n  \"Copyright\" also means copyright-like laws that apply to other kinds of\nworks, such as semiconductor masks.\n\n  \"The Program\" refers to any copyrightable work licensed under this\nLicense.  Each licensee is addressed as \"you\".  \"Licensees\" and\n\"recipients\" may be individuals or organizations.\n\n  To \"modify\" a work means to copy from or adapt all or part of the work\nin a fashion requiring copyright permission, other than the making of an\nexact copy.  The resulting work is called a \"modified version\" of the\nearlier work or a work \"based on\" the earlier work.\n\n  A \"covered work\" means either the unmodified Program or a work based\non the Program.\n\n  To \"propagate\" a work means to do anything with it that, without\npermission, would make you directly or secondarily liable for\ninfringement under applicable copyright law, except executing it on a\ncomputer or modifying a private copy.  Propagation includes copying,\ndistribution (with or without modification), making available to the\npublic, and in some countries other activities as well.\n\n  To \"convey\" a work means any kind of propagation that enables other\nparties to make or receive copies.  Mere interaction with a user through\na computer network, with no transfer of a copy, is not conveying.\n\n  An interactive user interface displays \"Appropriate Legal Notices\"\nto the extent that it includes a convenient and prominently visible\nfeature that (1) displays an appropriate copyright notice, and (2)\ntells the user that there is no warranty for the work (except to the\nextent that warranties are provided), that licensees may convey the\nwork under this License, and how to view a copy of this License.  If\nthe interface presents a list of user commands or options, such as a\nmenu, a prominent item in the list meets this criterion.\n\n  1. Source Code.\n\n  The \"source code\" for a work means the preferred form of the work\nfor making modifications to it.  \"Object code\" means any non-source\nform of a work.\n\n  A \"Standard Interface\" means an interface that either is an official\nstandard defined by a recognized standards body, or, in the case of\ninterfaces specified for a particular programming language, one that\nis widely used among developers working in that language.\n\n  The \"System Libraries\" of an executable work include anything, other\nthan the work as a whole, that (a) is included in the normal form of\npackaging a Major Component, but which is not part of that Major\nComponent, and (b) serves only to enable use of the work with that\nMajor Component, or to implement a Standard Interface for which an\nimplementation is available to the public in source code form.  A\n\"Major Component\", in this context, means a major essential component\n(kernel, window system, and so on) of the specific operating system\n(if any) on which the executable work runs, or a compiler used to\nproduce the work, or an object code interpreter used to run it.\n\n  The \"Corresponding Source\" for a work in object code form means all\nthe source code needed to generate, install, and (for an executable\nwork) run the object code and to modify the work, including scripts to\ncontrol those activities.  However, it does not include the work's\nSystem Libraries, or general-purpose tools or generally available free\nprograms which are used unmodified in performing those activities but\nwhich are not part of the work.  For example, Corresponding Source\nincludes interface definition files associated with source files for\nthe work, and the source code for shared libraries and dynamically\nlinked subprograms that the work is specifically designed to require,\nsuch as by intimate data communication or control flow between those\nsubprograms and other parts of the work.\n\n  The Corresponding Source need not include anything that users\ncan regenerate automatically from other parts of the Corresponding\nSource.\n\n  The Corresponding Source for a work in source code form is that\nsame work.\n\n  2. Basic Permissions.\n\n  All rights granted under this License are granted for the term of\ncopyright on the Program, and are irrevocable provided the stated\nconditions are met.  This License explicitly affirms your unlimited\npermission to run the unmodified Program.  The output from running a\ncovered work is covered by this License only if the output, given its\ncontent, constitutes a covered work.  This License acknowledges your\nrights of fair use or other equivalent, as provided by copyright law.\n\n  You may make, run and propagate covered works that you do not\nconvey, without conditions so long as your license otherwise remains\nin force.  You may convey covered works to others for the sole purpose\nof having them make modifications exclusively for you, or provide you\nwith facilities for running those works, provided that you comply with\nthe terms of this License in conveying all material for which you do\nnot control copyright.  Those thus making or running the covered works\nfor you must do so exclusively on your behalf, under your direction\nand control, on terms that prohibit them from making any copies of\nyour copyrighted material outside their relationship with you.\n\n  Conveying under any other circumstances is permitted solely under\nthe conditions stated below.  Sublicensing is not allowed; section 10\nmakes it unnecessary.\n\n  3. Protecting Users' Legal Rights From Anti-Circumvention Law.\n\n  No covered work shall be deemed part of an effective technological\nmeasure under any applicable law fulfilling obligations under article\n11 of the WIPO copyright treaty adopted on 20 December 1996, or\nsimilar laws prohibiting or restricting circumvention of such\nmeasures.\n\n  When you convey a covered work, you waive any legal power to forbid\ncircumvention of technological measures to the extent such circumvention\nis effected by exercising rights under this License with respect to\nthe covered work, and you disclaim any intention to limit operation or\nmodification of the work as a means of enforcing, against the work's\nusers, your or third parties' legal rights to forbid circumvention of\ntechnological measures.\n\n  4. Conveying Verbatim Copies.\n\n  You may convey verbatim copies of the Program's source code as you\nreceive it, in any medium, provided that you conspicuously and\nappropriately publish on each copy an appropriate copyright notice;\nkeep intact all notices stating that this License and any\nnon-permissive terms added in accord with section 7 apply to the code;\nkeep intact all notices of the absence of any warranty; and give all\nrecipients a copy of this License along with the Program.\n\n  You may charge any price or no price for each copy that you convey,\nand you may offer support or warranty protection for a fee.\n\n  5. Conveying Modified Source Versions.\n\n  You may convey a work based on the Program, or the modifications to\nproduce it from the Program, in the form of source code under the\nterms of section 4, provided that you also meet all of these conditions:\n\n    a) The work must carry prominent notices stating that you modified\n    it, and giving a relevant date.\n\n    b) The work must carry prominent notices stating that it is\n    released under this License and any conditions added under section\n    7.  This requirement modifies the requirement in section 4 to\n    \"keep intact all notices\".\n\n    c) You must license the entire work, as a whole, under this\n    License to anyone who comes into possession of a copy.  This\n    License will therefore apply, along with any applicable section 7\n    additional terms, to the whole of the work, and all its parts,\n    regardless of how they are packaged.  This License gives no\n    permission to license the work in any other way, but it does not\n    invalidate such permission if you have separately received it.\n\n    d) If the work has interactive user interfaces, each must display\n    Appropriate Legal Notices; however, if the Program has interactive\n    interfaces that do not display Appropriate Legal Notices, your\n    work need not make them do so.\n\n  A compilation of a covered work with other separate and independent\nworks, which are not by their nature extensions of the covered work,\nand which are not combined with it such as to form a larger program,\nin or on a volume of a storage or distribution medium, is called an\n\"aggregate\" if the compilation and its resulting copyright are not\nused to limit the access or legal rights of the compilation's users\nbeyond what the individual works permit.  Inclusion of a covered work\nin an aggregate does not cause this License to apply to the other\nparts of the aggregate.\n\n  6. Conveying Non-Source Forms.\n\n  You may convey a covered work in object code form under the terms\nof sections 4 and 5, provided that you also convey the\nmachine-readable Corresponding Source under the terms of this License,\nin one of these ways:\n\n    a) Convey the object code in, or embodied in, a physical product\n    (including a physical distribution medium), accompanied by the\n    Corresponding Source fixed on a durable physical medium\n    customarily used for software interchange.\n\n    b) Convey the object code in, or embodied in, a physical product\n    (including a physical distribution medium), accompanied by a\n    written offer, valid for at least three years and valid for as\n    long as you offer spare parts or customer support for that product\n    model, to give anyone who possesses the object code either (1) a\n    copy of the Corresponding Source for all the software in the\n    product that is covered by this License, on a durable physical\n    medium customarily used for software interchange, for a price no\n    more than your reasonable cost of physically performing this\n    conveying of source, or (2) access to copy the\n    Corresponding Source from a network server at no charge.\n\n    c) Convey individual copies of the object code with a copy of the\n    written offer to provide the Corresponding Source.  This\n    alternative is allowed only occasionally and noncommercially, and\n    only if you received the object code with such an offer, in accord\n    with subsection 6b.\n\n    d) Convey the object code by offering access from a designated\n    place (gratis or for a charge), and offer equivalent access to the\n    Corresponding Source in the same way through the same place at no\n    further charge.  You need not require recipients to copy the\n    Corresponding Source along with the object code.  If the place to\n    copy the object code is a network server, the Corresponding Source\n    may be on a different server (operated by you or a third party)\n    that supports equivalent copying facilities, provided you maintain\n    clear directions next to the object code saying where to find the\n    Corresponding Source.  Regardless of what server hosts the\n    Corresponding Source, you remain obligated to ensure that it is\n    available for as long as needed to satisfy these requirements.\n\n    e) Convey the object code using peer-to-peer transmission, provided\n    you inform other peers where the object code and Corresponding\n    Source of the work are being offered to the general public at no\n    charge under subsection 6d.\n\n  A separable portion of the object code, whose source code is excluded\nfrom the Corresponding Source as a System Library, need not be\nincluded in conveying the object code work.\n\n  A \"User Product\" is either (1) a \"consumer product\", which means any\ntangible personal property which is normally used for personal, family,\nor household purposes, or (2) anything designed or sold for incorporation\ninto a dwelling.  In determining whether a product is a consumer product,\ndoubtful cases shall be resolved in favor of coverage.  For a particular\nproduct received by a particular user, \"normally used\" refers to a\ntypical or common use of that class of product, regardless of the status\nof the particular user or of the way in which the particular user\nactually uses, or expects or is expected to use, the product.  A product\nis a consumer product regardless of whether the product has substantial\ncommercial, industrial or non-consumer uses, unless such uses represent\nthe only significant mode of use of the product.\n\n  \"Installation Information\" for a User Product means any methods,\nprocedures, authorization keys, or other information required to install\nand execute modified versions of a covered work in that User Product from\na modified version of its Corresponding Source.  The information must\nsuffice to ensure that the continued functioning of the modified object\ncode is in no case prevented or interfered with solely because\nmodification has been made.\n\n  If you convey an object code work under this section in, or with, or\nspecifically for use in, a User Product, and the conveying occurs as\npart of a transaction in which the right of possession and use of the\nUser Product is transferred to the recipient in perpetuity or for a\nfixed term (regardless of how the transaction is characterized), the\nCorresponding Source conveyed under this section must be accompanied\nby the Installation Information.  But this requirement does not apply\nif neither you nor any third party retains the ability to install\nmodified object code on the User Product (for example, the work has\nbeen installed in ROM).\n\n  The requirement to provide Installation Information does not include a\nrequirement to continue to provide support service, warranty, or updates\nfor a work that has been modified or installed by the recipient, or for\nthe User Product in which it has been modified or installed.  Access to a\nnetwork may be denied when the modification itself materially and\nadversely affects the operation of the network or violates the rules and\nprotocols for communication across the network.\n\n  Corresponding Source conveyed, and Installation Information provided,\nin accord with this section must be in a format that is publicly\ndocumented (and with an implementation available to the public in\nsource code form), and must require no special password or key for\nunpacking, reading or copying.\n\n  7. Additional Terms.\n\n  \"Additional permissions\" are terms that supplement the terms of this\nLicense by making exceptions from one or more of its conditions.\nAdditional permissions that are applicable to the entire Program shall\nbe treated as though they were included in this License, to the extent\nthat they are valid under applicable law.  If additional permissions\napply only to part of the Program, that part may be used separately\nunder those permissions, but the entire Program remains governed by\nthis License without regard to the additional permissions.\n\n  When you convey a copy of a covered work, you may at your option\nremove any additional permissions from that copy, or from any part of\nit.  (Additional permissions may be written to require their own\nremoval in certain cases when you modify the work.)  You may place\nadditional permissions on material, added by you to a covered work,\nfor which you have or can give appropriate copyright permission.\n\n  Notwithstanding any other provision of this License, for material you\nadd to a covered work, you may (if authorized by the copyright holders of\nthat material) supplement the terms of this License with terms:\n\n    a) Disclaiming warranty or limiting liability differently from the\n    terms of sections 15 and 16 of this License; or\n\n    b) Requiring preservation of specified reasonable legal notices or\n    author attributions in that material or in the Appropriate Legal\n    Notices displayed by works containing it; or\n\n    c) Prohibiting misrepresentation of the origin of that material, or\n    requiring that modified versions of such material be marked in\n    reasonable ways as different from the original version; or\n\n    d) Limiting the use for publicity purposes of names of licensors or\n    authors of the material; or\n\n    e) Declining to grant rights under trademark law for use of some\n    trade names, trademarks, or service marks; or\n\n    f) Requiring indemnification of licensors and authors of that\n    material by anyone who conveys the material (or modified versions of\n    it) with contractual assumptions of liability to the recipient, for\n    any liability that these contractual assumptions directly impose on\n    those licensors and authors.\n\n  All other non-permissive additional terms are considered \"further\nrestrictions\" within the meaning of section 10.  If the Program as you\nreceived it, or any part of it, contains a notice stating that it is\ngoverned by this License along with a term that is a further\nrestriction, you may remove that term.  If a license document contains\na further restriction but permits relicensing or conveying under this\nLicense, you may add to a covered work material governed by the terms\nof that license document, provided that the further restriction does\nnot survive such relicensing or conveying.\n\n  If you add terms to a covered work in accord with this section, you\nmust place, in the relevant source files, a statement of the\nadditional terms that apply to those files, or a notice indicating\nwhere to find the applicable terms.\n\n  Additional terms, permissive or non-permissive, may be stated in the\nform of a separately written license, or stated as exceptions;\nthe above requirements apply either way.\n\n  8. Termination.\n\n  You may not propagate or modify a covered work except as expressly\nprovided under this License.  Any attempt otherwise to propagate or\nmodify it is void, and will automatically terminate your rights under\nthis License (including any patent licenses granted under the third\nparagraph of section 11).\n\n  However, if you cease all violation of this License, then your\nlicense from a particular copyright holder is reinstated (a)\nprovisionally, unless and until the copyright holder explicitly and\nfinally terminates your license, and (b) permanently, if the copyright\nholder fails to notify you of the violation by some reasonable means\nprior to 60 days after the cessation.\n\n  Moreover, your license from a particular copyright holder is\nreinstated permanently if the copyright holder notifies you of the\nviolation by some reasonable means, this is the first time you have\nreceived notice of violation of this License (for any work) from that\ncopyright holder, and you cure the violation prior to 30 days after\nyour receipt of the notice.\n\n  Termination of your rights under this section does not terminate the\nlicenses of parties who have received copies or rights from you under\nthis License.  If your rights have been terminated and not permanently\nreinstated, you do not qualify to receive new licenses for the same\nmaterial under section 10.\n\n  9. Acceptance Not Required for Having Copies.\n\n  You are not required to accept this License in order to receive or\nrun a copy of the Program.  Ancillary propagation of a covered work\noccurring solely as a consequence of using peer-to-peer transmission\nto receive a copy likewise does not require acceptance.  However,\nnothing other than this License grants you permission to propagate or\nmodify any covered work.  These actions infringe copyright if you do\nnot accept this License.  Therefore, by modifying or propagating a\ncovered work, you indicate your acceptance of this License to do so.\n\n  10. Automatic Licensing of Downstream Recipients.\n\n  Each time you convey a covered work, the recipient automatically\nreceives a license from the original licensors, to run, modify and\npropagate that work, subject to this License.  You are not responsible\nfor enforcing compliance by third parties with this License.\n\n  An \"entity transaction\" is a transaction transferring control of an\norganization, or substantially all assets of one, or subdividing an\norganization, or merging organizations.  If propagation of a covered\nwork results from an entity transaction, each party to that\ntransaction who receives a copy of the work also receives whatever\nlicenses to the work the party's predecessor in interest had or could\ngive under the previous paragraph, plus a right to possession of the\nCorresponding Source of the work from the predecessor in interest, if\nthe predecessor has it or can get it with reasonable efforts.\n\n  You may not impose any further restrictions on the exercise of the\nrights granted or affirmed under this License.  For example, you may\nnot impose a license fee, royalty, or other charge for exercise of\nrights granted under this License, and you may not initiate litigation\n(including a cross-claim or counterclaim in a lawsuit) alleging that\nany patent claim is infringed by making, using, selling, offering for\nsale, or importing the Program or any portion of it.\n\n  11. Patents.\n\n  A \"contributor\" is a copyright holder who authorizes use under this\nLicense of the Program or a work on which the Program is based.  The\nwork thus licensed is called the contributor's \"contributor version\".\n\n  A contributor's \"essential patent claims\" are all patent claims\nowned or controlled by the contributor, whether already acquired or\nhereafter acquired, that would be infringed by some manner, permitted\nby this License, of making, using, or selling its contributor version,\nbut do not include claims that would be infringed only as a\nconsequence of further modification of the contributor version.  For\npurposes of this definition, \"control\" includes the right to grant\npatent sublicenses in a manner consistent with the requirements of\nthis License.\n\n  Each contributor grants you a non-exclusive, worldwide, royalty-free\npatent license under the contributor's essential patent claims, to\nmake, use, sell, offer for sale, import and otherwise run, modify and\npropagate the contents of its contributor version.\n\n  In the following three paragraphs, a \"patent license\" is any express\nagreement or commitment, however denominated, not to enforce a patent\n(such as an express permission to practice a patent or covenant not to\nsue for patent infringement).  To \"grant\" such a patent license to a\nparty means to make such an agreement or commitment not to enforce a\npatent against the party.\n\n  If you convey a covered work, knowingly relying on a patent license,\nand the Corresponding Source of the work is not available for anyone\nto copy, free of charge and under the terms of this License, through a\npublicly available network server or other readily accessible means,\nthen you must either (1) cause the Corresponding Source to be so\navailable, or (2) arrange to deprive yourself of the benefit of the\npatent license for this particular work, or (3) arrange, in a manner\nconsistent with the requirements of this License, to extend the patent\nlicense to downstream recipients.  \"Knowingly relying\" means you have\nactual knowledge that, but for the patent license, your conveying the\ncovered work in a country, or your recipient's use of the covered work\nin a country, would infringe one or more identifiable patents in that\ncountry that you have reason to believe are valid.\n\n  If, pursuant to or in connection with a single transaction or\narrangement, you convey, or propagate by procuring conveyance of, a\ncovered work, and grant a patent license to some of the parties\nreceiving the covered work authorizing them to use, propagate, modify\nor convey a specific copy of the covered work, then the patent license\nyou grant is automatically extended to all recipients of the covered\nwork and works based on it.\n\n  A patent license is \"discriminatory\" if it does not include within\nthe scope of its coverage, prohibits the exercise of, or is\nconditioned on the non-exercise of one or more of the rights that are\nspecifically granted under this License.  You may not convey a covered\nwork if you are a party to an arrangement with a third party that is\nin the business of distributing software, under which you make payment\nto the third party based on the extent of your activity of conveying\nthe work, and under which the third party grants, to any of the\nparties who would receive the covered work from you, a discriminatory\npatent license (a) in connection with copies of the covered work\nconveyed by you (or copies made from those copies), or (b) primarily\nfor and in connection with specific products or compilations that\ncontain the covered work, unless you entered into that arrangement,\nor that patent license was granted, prior to 28 March 2007.\n\n  Nothing in this License shall be construed as excluding or limiting\nany implied license or other defenses to infringement that may\notherwise be available to you under applicable patent law.\n\n  12. No Surrender of Others' Freedom.\n\n  If conditions are imposed on you (whether by court order, agreement or\notherwise) that contradict the conditions of this License, they do not\nexcuse you from the conditions of this License.  If you cannot convey a\ncovered work so as to satisfy simultaneously your obligations under this\nLicense and any other pertinent obligations, then as a consequence you may\nnot convey it at all.  For example, if you agree to terms that obligate you\nto collect a royalty for further conveying from those to whom you convey\nthe Program, the only way you could satisfy both those terms and this\nLicense would be to refrain entirely from conveying the Program.\n\n  13. Remote Network Interaction; Use with the GNU General Public License.\n\n  Notwithstanding any other provision of this License, if you modify the\nProgram, your modified version must prominently offer all users\ninteracting with it remotely through a computer network (if your version\nsupports such interaction) an opportunity to receive the Corresponding\nSource of your version by providing access to the Corresponding Source\nfrom a network server at no charge, through some standard or customary\nmeans of facilitating copying of software.  This Corresponding Source\nshall include the Corresponding Source for any work covered by version 3\nof the GNU General Public License that is incorporated pursuant to the\nfollowing paragraph.\n\n  Notwithstanding any other provision of this License, you have\npermission to link or combine any covered work with a work licensed\nunder version 3 of the GNU General Public License into a single\ncombined work, and to convey the resulting work.  The terms of this\nLicense will continue to apply to the part which is the covered work,\nbut the work with which it is combined will remain governed by version\n3 of the GNU General Public License.\n\n  14. Revised Versions of this License.\n\n  The Free Software Foundation may publish revised and/or new versions of\nthe GNU Affero General Public License from time to time.  Such new versions\nwill be similar in spirit to the present version, but may differ in detail to\naddress new problems or concerns.\n\n  Each version is given a distinguishing version number.  If the\nProgram specifies that a certain numbered version of the GNU Affero General\nPublic License \"or any later version\" applies to it, you have the\noption of following the terms and conditions either of that numbered\nversion or of any later version published by the Free Software\nFoundation.  If the Program does not specify a version number of the\nGNU Affero General Public License, you may choose any version ever published\nby the Free Software Foundation.\n\n  If the Program specifies that a proxy can decide which future\nversions of the GNU Affero General Public License can be used, that proxy's\npublic statement of acceptance of a version permanently authorizes you\nto choose that version for the Program.\n\n  Later license versions may give you additional or different\npermissions.  However, no additional obligations are imposed on any\nauthor or copyright holder as a result of your choosing to follow a\nlater version.\n\n  15. Disclaimer of Warranty.\n\n  THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY\nAPPLICABLE LAW.  EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT\nHOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM \"AS IS\" WITHOUT WARRANTY\nOF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,\nTHE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\nPURPOSE.  THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM\nIS WITH YOU.  SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF\nALL NECESSARY SERVICING, REPAIR OR CORRECTION.\n\n  16. Limitation of Liability.\n\n  IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING\nWILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS\nTHE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY\nGENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE\nUSE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF\nDATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD\nPARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),\nEVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF\nSUCH DAMAGES.\n\n  17. Interpretation of Sections 15 and 16.\n\n  If the disclaimer of warranty and limitation of liability provided\nabove cannot be given local legal effect according to their terms,\nreviewing courts shall apply local law that most closely approximates\nan absolute waiver of all civil liability in connection with the\nProgram, unless a warranty or assumption of liability accompanies a\ncopy of the Program in return for a fee.\n\n                     END OF TERMS AND CONDITIONS\n\n            How to Apply These Terms to Your New Programs\n\n  If you develop a new program, and you want it to be of the greatest\npossible use to the public, the best way to achieve this is to make it\nfree software which everyone can redistribute and change under these terms.\n\n  To do so, attach the following notices to the program.  It is safest\nto attach them to the start of each source file to most effectively\nstate the exclusion of warranty; and each file should have at least\nthe \"copyright\" line and a pointer to where the full notice is found.\n\n    <one line to give the program's name and a brief idea of what it does.>\n    Copyright (C) <year>  <name of author>\n\n    This program is free software: you can redistribute it and/or modify\n    it under the terms of the GNU Affero General Public License as published by\n    the Free Software Foundation, either version 3 of the License, or\n    (at your option) any later version.\n\n    This program is distributed in the hope that it will be useful,\n    but WITHOUT ANY WARRANTY; without even the implied warranty of\n    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n    GNU Affero General Public License for more details.\n\n    You should have received a copy of the GNU Affero General Public License\n    along with this program.  If not, see <https://www.gnu.org/licenses/>.\n\nAlso add information on how to contact you by electronic and paper mail.\n\n  If your software can interact with users remotely through a computer\nnetwork, you should also make sure that it provides a way for users to\nget its source.  For example, if your program is a web application, its\ninterface could display a \"Source\" link that leads users to an archive\nof the code.  There are many ways you could offer source, and different\nsolutions will be better for different programs; see section 13 for the\nspecific requirements.\n\n  You should also get your employer (if you work as a programmer) or school,\nif any, to sign a \"copyright disclaimer\" for the program, if necessary.\nFor more information on this, and how to apply and follow the GNU AGPL, see\n<https://www.gnu.org/licenses/>.\n","resolutions":{"ffjavascript":"0.2.59"},"dependencies":{"yup":"^0.32.11","axios":"0.27.2","blake2b":"^2.1.4","tweetnacl":"^1.0.3","wasmcurves":"0.2.1","web-worker":"^1.2.0","wasmbuilder":"^0.0.16","@vocdoni/proto":"1.15.4","tiny-invariant":"^1.3.1","readable-stream":"^4.4.2","@size-limit/file":"^8.2.4","iso-language-codes":"^1.1.0","@ethersproject/sha2":"^5.7.0","@ethersproject/bytes":"^5.7.0","@ethersproject/units":"^5.7.0","@ethersproject/wallet":"^5.7.0","@ethersproject/address":"^5.7.0","@ethersproject/strings":"^5.7.0","@ethersproject/bignumber":"^5.7.0","@ethersproject/keccak256":"^5.7.0","@ethersproject/providers":"^5.7.1","@ethersproject/signing-key":"^5.7.0","@ethersproject/abstract-signer":"^5.7.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.3.0","husky":"^8.0.2","tslib":"^2.4.0","buffer":"^6.0.3","eslint":"^8.27.0","rimraf":"^3.0.2","rollup":"^3.22.0","blakejs":"^1.2.1","esbuild":"^0.17.10","snarkjs":"vocdoni/snarkjs#v0.7.0-groth16browser","ts-jest":"^29.0.3","prettier":"^2.7.1","size-limit":"^8.1.0","typescript":"^4.8.4","@types/jest":"^29.2.2","circomlibjs":"^0.1.7","ffjavascript":"0.2.59","blindsecp256k1":"^0.0.9","rollup-plugin-dts":"^5.1.1","@rollup/plugin-json":"^6.0.0","rollup-plugin-esbuild":"^5.0.0","eslint-config-prettier":"^8.5.0","eslint-plugin-prettier":"^4.2.1","@rollup/plugin-commonjs":"^24.0.0","@typescript-eslint/parser":"^5.42.1","@rollup/plugin-node-resolve":"^15.0.1","rollup-plugin-polyfill-node":"^0.12.0","@typescript-eslint/eslint-plugin":"^5.42.1"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.6.1_1701279366521_0.7615890882759546","host":"s3://npm-registry-packages"}},"0.7.0":{"name":"@vocdoni/sdk","version":"0.7.0","keywords":["voting","blockchain","vocdoni"],"author":{"name":"Vocdoni"},"license":"AGPL-3.0-or-later","_id":"@vocdoni/sdk@0.7.0","maintainers":[{"name":"elboletaire","email":"elboletaire@underave.net"},{"name":"emmdim","email":"manos@vocdoni.io"},{"name":"marcvelmer","email":"marc1987@gmail.com"},{"name":"brickpop","email":"itsbrickpop@gmail.com"},{"name":"jpainan","email":"jpainan@vocdoni.io"}],"dist":{"shasum":"39c14751b8097d0d0550d7816ff31df659b27758","tarball":"https://registry.npmjs.org/@vocdoni/sdk/-/sdk-0.7.0.tgz","fileCount":13,"integrity":"sha512-hAF6pj+C2X6SFXKcN4xeS8WEWhcS55WTZunpZvu3VSp8tG15FRhH2+SFv3/2KvL5e0m5j18vpX+Wt6+gfMJhcQ==","signatures":[{"sig":"MEUCIQCSyb6kwpCA45lPp7Bt+07hu4NhEvnuMprzsX4b0tLn9gIgc/LuBOpdASLgpu9lQ2G8gm4cIFPnHvUJPbfp4kmwV24=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31954197},"jest":{"preset":"ts-jest","testEnvironment":"node"},"main":"dist/index.js","husky":{"hooks":{"pre-commit":"yarn lint"}},"types":"./dist/index.d.ts","module":"dist/index.mjs","engines":{"node":">=14"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./umd":{"types":"./dist/index.d.ts","default":"./dist/index.umd.js"},"./package.json":"./package.json"},"scripts":{"lint":"eslint src test --ext .js,.jsx,.ts,.tsx","size":"size-limit","test":"yarn test:unit && yarn test:api && yarn test:census3 && yarn test:service && yarn test:integration","build":"rollup -c","clean":"rimraf node_modules dist","start":"yarn watch","watch":"yarn build --watch","lintfix":"yarn lint --fix","prepare":"yarn build","test:api":"jest test/api","ts-types":"tsc --emitDeclarationOnly --outDir dist","test:unit":"jest test/unit --verbose","test:census3":"yarn test:census3:api && yarn test:census3:integration","test:service":"yarn test:service:census && yarn test:service:anonymous && yarn test:service:csp","test:census3:api":"jest test/census3/api","test:integration":"yarn test:integration:account && yarn test:integration:csp && yarn test:integration:election && yarn test:integration:other","test:service:csp":"jest test/services/csp.test.ts","test:integration:zk":"jest test/integration/zk.test.ts --forceExit --runInBand","test:service:census":"jest test/services/census.test.ts","test:integration:csp":"jest test/integration/csp.test.ts","test:integration:other":"jest test/integration/other.test.ts","test:service:anonymous":"jest test/services/anonymous.test.ts","test:census3:integration":"jest test/census3/integration","test:integration:account":"jest test/integration/account.test.ts","test:integration:election":"jest test/integration/election.test.ts"},"_npmUser":{"name":"emmdim","email":"manos@vocdoni.io"},"prettier":{"semi":true,"printWidth":120,"singleQuote":true,"trailingComma":"es5"},"repository":{"url":"https://github.com/vocdoni/vocdoni-sdk.git","type":"git"},"size-limit":[{"path":"dist/index.js","limit":"2 MB"},{"path":"dist/index.mjs","limit":"2 MB"},{"path":"dist/index.umd.js","limit":"2 MB"}],"description":"⚒️An SDK for building applications on top of Vocdoni API","directories":{},"licenseText":"                    GNU AFFERO GENERAL PUBLIC LICENSE\n                       Version 3, 19 November 2007\n\n Copyright (C) 2020 Vocdoni Roots MTU, <https://vocdoni.io>\n Everyone is permitted to copy and distribute verbatim copies\n of this license document, but changing it is not allowed.\n\n                            Preamble\n\n  The GNU Affero General Public License is a free, copyleft license for\nsoftware and other kinds of works, specifically designed to ensure\ncooperation with the community in the case of network server software.\n\n  The licenses for most software and other practical works are designed\nto take away your freedom to share and change the works.  By contrast,\nour General Public Licenses are intended to guarantee your freedom to\nshare and change all versions of a program--to make sure it remains free\nsoftware for all its users.\n\n  When we speak of free software, we are referring to freedom, not\nprice.  Our General Public Licenses are designed to make sure that you\nhave the freedom to distribute copies of free software (and charge for\nthem if you wish), that you receive source code or can get it if you\nwant it, that you can change the software or use pieces of it in new\nfree programs, and that you know you can do these things.\n\n  Developers that use our General Public Licenses protect your rights\nwith two steps: (1) assert copyright on the software, and (2) offer\nyou this License which gives you legal permission to copy, distribute\nand/or modify the software.\n\n  A secondary benefit of defending all users' freedom is that\nimprovements made in alternate versions of the program, if they\nreceive widespread use, become available for other developers to\nincorporate.  Many developers of free software are heartened and\nencouraged by the resulting cooperation.  However, in the case of\nsoftware used on network servers, this result may fail to come about.\nThe GNU General Public License permits making a modified version and\nletting the public access it on a server without ever releasing its\nsource code to the public.\n\n  The GNU Affero General Public License is designed specifically to\nensure that, in such cases, the modified source code becomes available\nto the community.  It requires the operator of a network server to\nprovide the source code of the modified version running there to the\nusers of that server.  Therefore, public use of a modified version, on\na publicly accessible server, gives the public access to the source\ncode of the modified version.\n\n  An older license, called the Affero General Public License and\npublished by Affero, was designed to accomplish similar goals.  This is\na different license, not a version of the Affero GPL, but Affero has\nreleased a new version of the Affero GPL which permits relicensing under\nthis license.\n\n  The precise terms and conditions for copying, distribution and\nmodification follow.\n\n                       TERMS AND CONDITIONS\n\n  0. Definitions.\n\n  \"This License\" refers to version 3 of the GNU Affero General Public License.\n\n  \"Copyright\" also means copyright-like laws that apply to other kinds of\nworks, such as semiconductor masks.\n\n  \"The Program\" refers to any copyrightable work licensed under this\nLicense.  Each licensee is addressed as \"you\".  \"Licensees\" and\n\"recipients\" may be individuals or organizations.\n\n  To \"modify\" a work means to copy from or adapt all or part of the work\nin a fashion requiring copyright permission, other than the making of an\nexact copy.  The resulting work is called a \"modified version\" of the\nearlier work or a work \"based on\" the earlier work.\n\n  A \"covered work\" means either the unmodified Program or a work based\non the Program.\n\n  To \"propagate\" a work means to do anything with it that, without\npermission, would make you directly or secondarily liable for\ninfringement under applicable copyright law, except executing it on a\ncomputer or modifying a private copy.  Propagation includes copying,\ndistribution (with or without modification), making available to the\npublic, and in some countries other activities as well.\n\n  To \"convey\" a work means any kind of propagation that enables other\nparties to make or receive copies.  Mere interaction with a user through\na computer network, with no transfer of a copy, is not conveying.\n\n  An interactive user interface displays \"Appropriate Legal Notices\"\nto the extent that it includes a convenient and prominently visible\nfeature that (1) displays an appropriate copyright notice, and (2)\ntells the user that there is no warranty for the work (except to the\nextent that warranties are provided), that licensees may convey the\nwork under this License, and how to view a copy of this License.  If\nthe interface presents a list of user commands or options, such as a\nmenu, a prominent item in the list meets this criterion.\n\n  1. Source Code.\n\n  The \"source code\" for a work means the preferred form of the work\nfor making modifications to it.  \"Object code\" means any non-source\nform of a work.\n\n  A \"Standard Interface\" means an interface that either is an official\nstandard defined by a recognized standards body, or, in the case of\ninterfaces specified for a particular programming language, one that\nis widely used among developers working in that language.\n\n  The \"System Libraries\" of an executable work include anything, other\nthan the work as a whole, that (a) is included in the normal form of\npackaging a Major Component, but which is not part of that Major\nComponent, and (b) serves only to enable use of the work with that\nMajor Component, or to implement a Standard Interface for which an\nimplementation is available to the public in source code form.  A\n\"Major Component\", in this context, means a major essential component\n(kernel, window system, and so on) of the specific operating system\n(if any) on which the executable work runs, or a compiler used to\nproduce the work, or an object code interpreter used to run it.\n\n  The \"Corresponding Source\" for a work in object code form means all\nthe source code needed to generate, install, and (for an executable\nwork) run the object code and to modify the work, including scripts to\ncontrol those activities.  However, it does not include the work's\nSystem Libraries, or general-purpose tools or generally available free\nprograms which are used unmodified in performing those activities but\nwhich are not part of the work.  For example, Corresponding Source\nincludes interface definition files associated with source files for\nthe work, and the source code for shared libraries and dynamically\nlinked subprograms that the work is specifically designed to require,\nsuch as by intimate data communication or control flow between those\nsubprograms and other parts of the work.\n\n  The Corresponding Source need not include anything that users\ncan regenerate automatically from other parts of the Corresponding\nSource.\n\n  The Corresponding Source for a work in source code form is that\nsame work.\n\n  2. Basic Permissions.\n\n  All rights granted under this License are granted for the term of\ncopyright on the Program, and are irrevocable provided the stated\nconditions are met.  This License explicitly affirms your unlimited\npermission to run the unmodified Program.  The output from running a\ncovered work is covered by this License only if the output, given its\ncontent, constitutes a covered work.  This License acknowledges your\nrights of fair use or other equivalent, as provided by copyright law.\n\n  You may make, run and propagate covered works that you do not\nconvey, without conditions so long as your license otherwise remains\nin force.  You may convey covered works to others for the sole purpose\nof having them make modifications exclusively for you, or provide you\nwith facilities for running those works, provided that you comply with\nthe terms of this License in conveying all material for which you do\nnot control copyright.  Those thus making or running the covered works\nfor you must do so exclusively on your behalf, under your direction\nand control, on terms that prohibit them from making any copies of\nyour copyrighted material outside their relationship with you.\n\n  Conveying under any other circumstances is permitted solely under\nthe conditions stated below.  Sublicensing is not allowed; section 10\nmakes it unnecessary.\n\n  3. Protecting Users' Legal Rights From Anti-Circumvention Law.\n\n  No covered work shall be deemed part of an effective technological\nmeasure under any applicable law fulfilling obligations under article\n11 of the WIPO copyright treaty adopted on 20 December 1996, or\nsimilar laws prohibiting or restricting circumvention of such\nmeasures.\n\n  When you convey a covered work, you waive any legal power to forbid\ncircumvention of technological measures to the extent such circumvention\nis effected by exercising rights under this License with respect to\nthe covered work, and you disclaim any intention to limit operation or\nmodification of the work as a means of enforcing, against the work's\nusers, your or third parties' legal rights to forbid circumvention of\ntechnological measures.\n\n  4. Conveying Verbatim Copies.\n\n  You may convey verbatim copies of the Program's source code as you\nreceive it, in any medium, provided that you conspicuously and\nappropriately publish on each copy an appropriate copyright notice;\nkeep intact all notices stating that this License and any\nnon-permissive terms added in accord with section 7 apply to the code;\nkeep intact all notices of the absence of any warranty; and give all\nrecipients a copy of this License along with the Program.\n\n  You may charge any price or no price for each copy that you convey,\nand you may offer support or warranty protection for a fee.\n\n  5. Conveying Modified Source Versions.\n\n  You may convey a work based on the Program, or the modifications to\nproduce it from the Program, in the form of source code under the\nterms of section 4, provided that you also meet all of these conditions:\n\n    a) The work must carry prominent notices stating that you modified\n    it, and giving a relevant date.\n\n    b) The work must carry prominent notices stating that it is\n    released under this License and any conditions added under section\n    7.  This requirement modifies the requirement in section 4 to\n    \"keep intact all notices\".\n\n    c) You must license the entire work, as a whole, under this\n    License to anyone who comes into possession of a copy.  This\n    License will therefore apply, along with any applicable section 7\n    additional terms, to the whole of the work, and all its parts,\n    regardless of how they are packaged.  This License gives no\n    permission to license the work in any other way, but it does not\n    invalidate such permission if you have separately received it.\n\n    d) If the work has interactive user interfaces, each must display\n    Appropriate Legal Notices; however, if the Program has interactive\n    interfaces that do not display Appropriate Legal Notices, your\n    work need not make them do so.\n\n  A compilation of a covered work with other separate and independent\nworks, which are not by their nature extensions of the covered work,\nand which are not combined with it such as to form a larger program,\nin or on a volume of a storage or distribution medium, is called an\n\"aggregate\" if the compilation and its resulting copyright are not\nused to limit the access or legal rights of the compilation's users\nbeyond what the individual works permit.  Inclusion of a covered work\nin an aggregate does not cause this License to apply to the other\nparts of the aggregate.\n\n  6. Conveying Non-Source Forms.\n\n  You may convey a covered work in object code form under the terms\nof sections 4 and 5, provided that you also convey the\nmachine-readable Corresponding Source under the terms of this License,\nin one of these ways:\n\n    a) Convey the object code in, or embodied in, a physical product\n    (including a physical distribution medium), accompanied by the\n    Corresponding Source fixed on a durable physical medium\n    customarily used for software interchange.\n\n    b) Convey the object code in, or embodied in, a physical product\n    (including a physical distribution medium), accompanied by a\n    written offer, valid for at least three years and valid for as\n    long as you offer spare parts or customer support for that product\n    model, to give anyone who possesses the object code either (1) a\n    copy of the Corresponding Source for all the software in the\n    product that is covered by this License, on a durable physical\n    medium customarily used for software interchange, for a price no\n    more than your reasonable cost of physically performing this\n    conveying of source, or (2) access to copy the\n    Corresponding Source from a network server at no charge.\n\n    c) Convey individual copies of the object code with a copy of the\n    written offer to provide the Corresponding Source.  This\n    alternative is allowed only occasionally and noncommercially, and\n    only if you received the object code with such an offer, in accord\n    with subsection 6b.\n\n    d) Convey the object code by offering access from a designated\n    place (gratis or for a charge), and offer equivalent access to the\n    Corresponding Source in the same way through the same place at no\n    further charge.  You need not require recipients to copy the\n    Corresponding Source along with the object code.  If the place to\n    copy the object code is a network server, the Corresponding Source\n    may be on a different server (operated by you or a third party)\n    that supports equivalent copying facilities, provided you maintain\n    clear directions next to the object code saying where to find the\n    Corresponding Source.  Regardless of what server hosts the\n    Corresponding Source, you remain obligated to ensure that it is\n    available for as long as needed to satisfy these requirements.\n\n    e) Convey the object code using peer-to-peer transmission, provided\n    you inform other peers where the object code and Corresponding\n    Source of the work are being offered to the general public at no\n    charge under subsection 6d.\n\n  A separable portion of the object code, whose source code is excluded\nfrom the Corresponding Source as a System Library, need not be\nincluded in conveying the object code work.\n\n  A \"User Product\" is either (1) a \"consumer product\", which means any\ntangible personal property which is normally used for personal, family,\nor household purposes, or (2) anything designed or sold for incorporation\ninto a dwelling.  In determining whether a product is a consumer product,\ndoubtful cases shall be resolved in favor of coverage.  For a particular\nproduct received by a particular user, \"normally used\" refers to a\ntypical or common use of that class of product, regardless of the status\nof the particular user or of the way in which the particular user\nactually uses, or expects or is expected to use, the product.  A product\nis a consumer product regardless of whether the product has substantial\ncommercial, industrial or non-consumer uses, unless such uses represent\nthe only significant mode of use of the product.\n\n  \"Installation Information\" for a User Product means any methods,\nprocedures, authorization keys, or other information required to install\nand execute modified versions of a covered work in that User Product from\na modified version of its Corresponding Source.  The information must\nsuffice to ensure that the continued functioning of the modified object\ncode is in no case prevented or interfered with solely because\nmodification has been made.\n\n  If you convey an object code work under this section in, or with, or\nspecifically for use in, a User Product, and the conveying occurs as\npart of a transaction in which the right of possession and use of the\nUser Product is transferred to the recipient in perpetuity or for a\nfixed term (regardless of how the transaction is characterized), the\nCorresponding Source conveyed under this section must be accompanied\nby the Installation Information.  But this requirement does not apply\nif neither you nor any third party retains the ability to install\nmodified object code on the User Product (for example, the work has\nbeen installed in ROM).\n\n  The requirement to provide Installation Information does not include a\nrequirement to continue to provide support service, warranty, or updates\nfor a work that has been modified or installed by the recipient, or for\nthe User Product in which it has been modified or installed.  Access to a\nnetwork may be denied when the modification itself materially and\nadversely affects the operation of the network or violates the rules and\nprotocols for communication across the network.\n\n  Corresponding Source conveyed, and Installation Information provided,\nin accord with this section must be in a format that is publicly\ndocumented (and with an implementation available to the public in\nsource code form), and must require no special password or key for\nunpacking, reading or copying.\n\n  7. Additional Terms.\n\n  \"Additional permissions\" are terms that supplement the terms of this\nLicense by making exceptions from one or more of its conditions.\nAdditional permissions that are applicable to the entire Program shall\nbe treated as though they were included in this License, to the extent\nthat they are valid under applicable law.  If additional permissions\napply only to part of the Program, that part may be used separately\nunder those permissions, but the entire Program remains governed by\nthis License without regard to the additional permissions.\n\n  When you convey a copy of a covered work, you may at your option\nremove any additional permissions from that copy, or from any part of\nit.  (Additional permissions may be written to require their own\nremoval in certain cases when you modify the work.)  You may place\nadditional permissions on material, added by you to a covered work,\nfor which you have or can give appropriate copyright permission.\n\n  Notwithstanding any other provision of this License, for material you\nadd to a covered work, you may (if authorized by the copyright holders of\nthat material) supplement the terms of this License with terms:\n\n    a) Disclaiming warranty or limiting liability differently from the\n    terms of sections 15 and 16 of this License; or\n\n    b) Requiring preservation of specified reasonable legal notices or\n    author attributions in that material or in the Appropriate Legal\n    Notices displayed by works containing it; or\n\n    c) Prohibiting misrepresentation of the origin of that material, or\n    requiring that modified versions of such material be marked in\n    reasonable ways as different from the original version; or\n\n    d) Limiting the use for publicity purposes of names of licensors or\n    authors of the material; or\n\n    e) Declining to grant rights under trademark law for use of some\n    trade names, trademarks, or service marks; or\n\n    f) Requiring indemnification of licensors and authors of that\n    material by anyone who conveys the material (or modified versions of\n    it) with contractual assumptions of liability to the recipient, for\n    any liability that these contractual assumptions directly impose on\n    those licensors and authors.\n\n  All other non-permissive additional terms are considered \"further\nrestrictions\" within the meaning of section 10.  If the Program as you\nreceived it, or any part of it, contains a notice stating that it is\ngoverned by this License along with a term that is a further\nrestriction, you may remove that term.  If a license document contains\na further restriction but permits relicensing or conveying under this\nLicense, you may add to a covered work material governed by the terms\nof that license document, provided that the further restriction does\nnot survive such relicensing or conveying.\n\n  If you add terms to a covered work in accord with this section, you\nmust place, in the relevant source files, a statement of the\nadditional terms that apply to those files, or a notice indicating\nwhere to find the applicable terms.\n\n  Additional terms, permissive or non-permissive, may be stated in the\nform of a separately written license, or stated as exceptions;\nthe above requirements apply either way.\n\n  8. Termination.\n\n  You may not propagate or modify a covered work except as expressly\nprovided under this License.  Any attempt otherwise to propagate or\nmodify it is void, and will automatically terminate your rights under\nthis License (including any patent licenses granted under the third\nparagraph of section 11).\n\n  However, if you cease all violation of this License, then your\nlicense from a particular copyright holder is reinstated (a)\nprovisionally, unless and until the copyright holder explicitly and\nfinally terminates your license, and (b) permanently, if the copyright\nholder fails to notify you of the violation by some reasonable means\nprior to 60 days after the cessation.\n\n  Moreover, your license from a particular copyright holder is\nreinstated permanently if the copyright holder notifies you of the\nviolation by some reasonable means, this is the first time you have\nreceived notice of violation of this License (for any work) from that\ncopyright holder, and you cure the violation prior to 30 days after\nyour receipt of the notice.\n\n  Termination of your rights under this section does not terminate the\nlicenses of parties who have received copies or rights from you under\nthis License.  If your rights have been terminated and not permanently\nreinstated, you do not qualify to receive new licenses for the same\nmaterial under section 10.\n\n  9. Acceptance Not Required for Having Copies.\n\n  You are not required to accept this License in order to receive or\nrun a copy of the Program.  Ancillary propagation of a covered work\noccurring solely as a consequence of using peer-to-peer transmission\nto receive a copy likewise does not require acceptance.  However,\nnothing other than this License grants you permission to propagate or\nmodify any covered work.  These actions infringe copyright if you do\nnot accept this License.  Therefore, by modifying or propagating a\ncovered work, you indicate your acceptance of this License to do so.\n\n  10. Automatic Licensing of Downstream Recipients.\n\n  Each time you convey a covered work, the recipient automatically\nreceives a license from the original licensors, to run, modify and\npropagate that work, subject to this License.  You are not responsible\nfor enforcing compliance by third parties with this License.\n\n  An \"entity transaction\" is a transaction transferring control of an\norganization, or substantially all assets of one, or subdividing an\norganization, or merging organizations.  If propagation of a covered\nwork results from an entity transaction, each party to that\ntransaction who receives a copy of the work also receives whatever\nlicenses to the work the party's predecessor in interest had or could\ngive under the previous paragraph, plus a right to possession of the\nCorresponding Source of the work from the predecessor in interest, if\nthe predecessor has it or can get it with reasonable efforts.\n\n  You may not impose any further restrictions on the exercise of the\nrights granted or affirmed under this License.  For example, you may\nnot impose a license fee, royalty, or other charge for exercise of\nrights granted under this License, and you may not initiate litigation\n(including a cross-claim or counterclaim in a lawsuit) alleging that\nany patent claim is infringed by making, using, selling, offering for\nsale, or importing the Program or any portion of it.\n\n  11. Patents.\n\n  A \"contributor\" is a copyright holder who authorizes use under this\nLicense of the Program or a work on which the Program is based.  The\nwork thus licensed is called the contributor's \"contributor version\".\n\n  A contributor's \"essential patent claims\" are all patent claims\nowned or controlled by the contributor, whether already acquired or\nhereafter acquired, that would be infringed by some manner, permitted\nby this License, of making, using, or selling its contributor version,\nbut do not include claims that would be infringed only as a\nconsequence of further modification of the contributor version.  For\npurposes of this definition, \"control\" includes the right to grant\npatent sublicenses in a manner consistent with the requirements of\nthis License.\n\n  Each contributor grants you a non-exclusive, worldwide, royalty-free\npatent license under the contributor's essential patent claims, to\nmake, use, sell, offer for sale, import and otherwise run, modify and\npropagate the contents of its contributor version.\n\n  In the following three paragraphs, a \"patent license\" is any express\nagreement or commitment, however denominated, not to enforce a patent\n(such as an express permission to practice a patent or covenant not to\nsue for patent infringement).  To \"grant\" such a patent license to a\nparty means to make such an agreement or commitment not to enforce a\npatent against the party.\n\n  If you convey a covered work, knowingly relying on a patent license,\nand the Corresponding Source of the work is not available for anyone\nto copy, free of charge and under the terms of this License, through a\npublicly available network server or other readily accessible means,\nthen you must either (1) cause the Corresponding Source to be so\navailable, or (2) arrange to deprive yourself of the benefit of the\npatent license for this particular work, or (3) arrange, in a manner\nconsistent with the requirements of this License, to extend the patent\nlicense to downstream recipients.  \"Knowingly relying\" means you have\nactual knowledge that, but for the patent license, your conveying the\ncovered work in a country, or your recipient's use of the covered work\nin a country, would infringe one or more identifiable patents in that\ncountry that you have reason to believe are valid.\n\n  If, pursuant to or in connection with a single transaction or\narrangement, you convey, or propagate by procuring conveyance of, a\ncovered work, and grant a patent license to some of the parties\nreceiving the covered work authorizing them to use, propagate, modify\nor convey a specific copy of the covered work, then the patent license\nyou grant is automatically extended to all recipients of the covered\nwork and works based on it.\n\n  A patent license is \"discriminatory\" if it does not include within\nthe scope of its coverage, prohibits the exercise of, or is\nconditioned on the non-exercise of one or more of the rights that are\nspecifically granted under this License.  You may not convey a covered\nwork if you are a party to an arrangement with a third party that is\nin the business of distributing software, under which you make payment\nto the third party based on the extent of your activity of conveying\nthe work, and under which the third party grants, to any of the\nparties who would receive the covered work from you, a discriminatory\npatent license (a) in connection with copies of the covered work\nconveyed by you (or copies made from those copies), or (b) primarily\nfor and in connection with specific products or compilations that\ncontain the covered work, unless you entered into that arrangement,\nor that patent license was granted, prior to 28 March 2007.\n\n  Nothing in this License shall be construed as excluding or limiting\nany implied license or other defenses to infringement that may\notherwise be available to you under applicable patent law.\n\n  12. No Surrender of Others' Freedom.\n\n  If conditions are imposed on you (whether by court order, agreement or\notherwise) that contradict the conditions of this License, they do not\nexcuse you from the conditions of this License.  If you cannot convey a\ncovered work so as to satisfy simultaneously your obligations under this\nLicense and any other pertinent obligations, then as a consequence you may\nnot convey it at all.  For example, if you agree to terms that obligate you\nto collect a royalty for further conveying from those to whom you convey\nthe Program, the only way you could satisfy both those terms and this\nLicense would be to refrain entirely from conveying the Program.\n\n  13. Remote Network Interaction; Use with the GNU General Public License.\n\n  Notwithstanding any other provision of this License, if you modify the\nProgram, your modified version must prominently offer all users\ninteracting with it remotely through a computer network (if your version\nsupports such interaction) an opportunity to receive the Corresponding\nSource of your version by providing access to the Corresponding Source\nfrom a network server at no charge, through some standard or customary\nmeans of facilitating copying of software.  This Corresponding Source\nshall include the Corresponding Source for any work covered by version 3\nof the GNU General Public License that is incorporated pursuant to the\nfollowing paragraph.\n\n  Notwithstanding any other provision of this License, you have\npermission to link or combine any covered work with a work licensed\nunder version 3 of the GNU General Public License into a single\ncombined work, and to convey the resulting work.  The terms of this\nLicense will continue to apply to the part which is the covered work,\nbut the work with which it is combined will remain governed by version\n3 of the GNU General Public License.\n\n  14. Revised Versions of this License.\n\n  The Free Software Foundation may publish revised and/or new versions of\nthe GNU Affero General Public License from time to time.  Such new versions\nwill be similar in spirit to the present version, but may differ in detail to\naddress new problems or concerns.\n\n  Each version is given a distinguishing version number.  If the\nProgram specifies that a certain numbered version of the GNU Affero General\nPublic License \"or any later version\" applies to it, you have the\noption of following the terms and conditions either of that numbered\nversion or of any later version published by the Free Software\nFoundation.  If the Program does not specify a version number of the\nGNU Affero General Public License, you may choose any version ever published\nby the Free Software Foundation.\n\n  If the Program specifies that a proxy can decide which future\nversions of the GNU Affero General Public License can be used, that proxy's\npublic statement of acceptance of a version permanently authorizes you\nto choose that version for the Program.\n\n  Later license versions may give you additional or different\npermissions.  However, no additional obligations are imposed on any\nauthor or copyright holder as a result of your choosing to follow a\nlater version.\n\n  15. Disclaimer of Warranty.\n\n  THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY\nAPPLICABLE LAW.  EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT\nHOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM \"AS IS\" WITHOUT WARRANTY\nOF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,\nTHE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\nPURPOSE.  THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM\nIS WITH YOU.  SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF\nALL NECESSARY SERVICING, REPAIR OR CORRECTION.\n\n  16. Limitation of Liability.\n\n  IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING\nWILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS\nTHE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY\nGENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE\nUSE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF\nDATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD\nPARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),\nEVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF\nSUCH DAMAGES.\n\n  17. Interpretation of Sections 15 and 16.\n\n  If the disclaimer of warranty and limitation of liability provided\nabove cannot be given local legal effect according to their terms,\nreviewing courts shall apply local law that most closely approximates\nan absolute waiver of all civil liability in connection with the\nProgram, unless a warranty or assumption of liability accompanies a\ncopy of the Program in return for a fee.\n\n                     END OF TERMS AND CONDITIONS\n\n            How to Apply These Terms to Your New Programs\n\n  If you develop a new program, and you want it to be of the greatest\npossible use to the public, the best way to achieve this is to make it\nfree software which everyone can redistribute and change under these terms.\n\n  To do so, attach the following notices to the program.  It is safest\nto attach them to the start of each source file to most effectively\nstate the exclusion of warranty; and each file should have at least\nthe \"copyright\" line and a pointer to where the full notice is found.\n\n    <one line to give the program's name and a brief idea of what it does.>\n    Copyright (C) <year>  <name of author>\n\n    This program is free software: you can redistribute it and/or modify\n    it under the terms of the GNU Affero General Public License as published by\n    the Free Software Foundation, either version 3 of the License, or\n    (at your option) any later version.\n\n    This program is distributed in the hope that it will be useful,\n    but WITHOUT ANY WARRANTY; without even the implied warranty of\n    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n    GNU Affero General Public License for more details.\n\n    You should have received a copy of the GNU Affero General Public License\n    along with this program.  If not, see <https://www.gnu.org/licenses/>.\n\nAlso add information on how to contact you by electronic and paper mail.\n\n  If your software can interact with users remotely through a computer\nnetwork, you should also make sure that it provides a way for users to\nget its source.  For example, if your program is a web application, its\ninterface could display a \"Source\" link that leads users to an archive\nof the code.  There are many ways you could offer source, and different\nsolutions will be better for different programs; see section 13 for the\nspecific requirements.\n\n  You should also get your employer (if you work as a programmer) or school,\nif any, to sign a \"copyright disclaimer\" for the program, if necessary.\nFor more information on this, and how to apply and follow the GNU AGPL, see\n<https://www.gnu.org/licenses/>.\n","resolutions":{"ffjavascript":"0.2.59"},"dependencies":{"yup":"^0.32.11","axios":"0.27.2","blake2b":"^2.1.4","js-sha256":"^0.10.1","tweetnacl":"^1.0.3","wasmcurves":"0.2.1","web-worker":"^1.2.0","wasmbuilder":"^0.0.16","@vocdoni/proto":"1.15.4","tiny-invariant":"^1.3.1","readable-stream":"^4.4.2","@size-limit/file":"^8.2.4","iso-language-codes":"^1.1.0","@ethersproject/bytes":"^5.7.0","@ethersproject/units":"^5.7.0","@ethersproject/wallet":"^5.7.0","@ethersproject/address":"^5.7.0","@ethersproject/strings":"^5.7.0","@ethersproject/bignumber":"^5.7.0","@ethersproject/keccak256":"^5.7.0","@ethersproject/providers":"^5.7.1","@ethersproject/signing-key":"^5.7.0","@ethersproject/abstract-signer":"^5.7.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.3.0","husky":"^8.0.2","tslib":"^2.4.0","buffer":"^6.0.3","eslint":"^8.27.0","rimraf":"^3.0.2","rollup":"^3.22.0","blakejs":"^1.2.1","esbuild":"^0.17.10","snarkjs":"vocdoni/snarkjs#v0.7.0-groth16browser","ts-jest":"^29.0.3","prettier":"^2.7.1","size-limit":"^8.1.0","typescript":"^4.8.4","@types/jest":"^29.2.2","circomlibjs":"^0.1.7","ffjavascript":"0.2.59","blindsecp256k1":"^0.0.9","rollup-plugin-dts":"^5.1.1","@rollup/plugin-json":"^6.0.0","rollup-plugin-esbuild":"^5.0.0","eslint-config-prettier":"^8.5.0","eslint-plugin-prettier":"^4.2.1","@rollup/plugin-commonjs":"^24.0.0","@typescript-eslint/parser":"^5.42.1","@rollup/plugin-node-resolve":"^15.0.1","rollup-plugin-polyfill-node":"^0.12.0","@typescript-eslint/eslint-plugin":"^5.42.1"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.7.0_1702473505273_0.6069322739405487","host":"s3://npm-registry-packages"}},"0.7.1":{"name":"@vocdoni/sdk","version":"0.7.1","keywords":["voting","blockchain","vocdoni"],"author":{"name":"Vocdoni"},"license":"AGPL-3.0-or-later","_id":"@vocdoni/sdk@0.7.1","maintainers":[{"name":"elboletaire","email":"elboletaire@underave.net"},{"name":"emmdim","email":"manos@vocdoni.io"},{"name":"marcvelmer","email":"marc1987@gmail.com"},{"name":"brickpop","email":"itsbrickpop@gmail.com"},{"name":"jpainan","email":"jpainan@vocdoni.io"}],"dist":{"shasum":"99504b04222c521a65e5bd352bfc04379fb5b568","tarball":"https://registry.npmjs.org/@vocdoni/sdk/-/sdk-0.7.1.tgz","fileCount":13,"integrity":"sha512-qgHZoFsaJBkwWsrJeu1EZM5iMqqB2DlvQKjtncwAR8PZK/7ueVvavBMoig1Zx5REBhEhY1MKWs1d253lMHjIpw==","signatures":[{"sig":"MEYCIQCn6SmKF0Ydg+8C2lBw67Zb/LP7G0McOlUgvCJ/oNCLQQIhAIFNoxnBy3uAOBSkgUb7yFUpPX3XQiKC+Lspq5N8Cbwg","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":32004145},"jest":{"preset":"ts-jest","testEnvironment":"node"},"main":"dist/index.js","husky":{"hooks":{"pre-commit":"yarn lint"}},"types":"./dist/index.d.ts","module":"dist/index.mjs","engines":{"node":">=14"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./umd":{"types":"./dist/index.d.ts","default":"./dist/index.umd.js"},"./package.json":"./package.json"},"scripts":{"lint":"eslint src test --ext .js,.jsx,.ts,.tsx","size":"size-limit","test":"yarn test:unit && yarn test:api && yarn test:census3 && yarn test:service && yarn test:integration","build":"rollup -c","clean":"rimraf node_modules dist","start":"yarn watch","watch":"yarn build --watch","lintfix":"yarn lint --fix","prepare":"yarn build","test:api":"jest test/api","ts-types":"tsc --emitDeclarationOnly --outDir dist","test:unit":"jest test/unit --verbose","test:census3":"yarn test:census3:api && yarn test:census3:integration","test:service":"yarn test:service:census && yarn test:service:anonymous && yarn test:service:csp","test:census3:api":"jest test/census3/api","test:integration":"yarn test:integration:account && yarn test:integration:csp && yarn test:integration:election && yarn test:integration:other","test:service:csp":"jest test/services/csp.test.ts","test:integration:zk":"jest test/integration/zk.test.ts --forceExit --runInBand","test:service:census":"jest test/services/census.test.ts","test:integration:csp":"jest test/integration/csp.test.ts","test:integration:other":"jest test/integration/other.test.ts","test:service:anonymous":"jest test/services/anonymous.test.ts","test:census3:integration":"jest test/census3/integration","test:integration:account":"jest test/integration/account.test.ts","test:integration:election":"jest test/integration/election.test.ts"},"_npmUser":{"name":"emmdim","email":"manos@vocdoni.io"},"prettier":{"semi":true,"printWidth":120,"singleQuote":true,"trailingComma":"es5"},"repository":{"url":"https://github.com/vocdoni/vocdoni-sdk.git","type":"git"},"size-limit":[{"path":"dist/index.js","limit":"2 MB"},{"path":"dist/index.mjs","limit":"2 MB"},{"path":"dist/index.umd.js","limit":"2 MB"}],"description":"⚒️An SDK for building applications on top of Vocdoni API","directories":{},"licenseText":"                    GNU AFFERO GENERAL PUBLIC LICENSE\n                       Version 3, 19 November 2007\n\n Copyright (C) 2020 Vocdoni Roots MTU, <https://vocdoni.io>\n Everyone is permitted to copy and distribute verbatim copies\n of this license document, but changing it is not allowed.\n\n                            Preamble\n\n  The GNU Affero General Public License is a free, copyleft license for\nsoftware and other kinds of works, specifically designed to ensure\ncooperation with the community in the case of network server software.\n\n  The licenses for most software and other practical works are designed\nto take away your freedom to share and change the works.  By contrast,\nour General Public Licenses are intended to guarantee your freedom to\nshare and change all versions of a program--to make sure it remains free\nsoftware for all its users.\n\n  When we speak of free software, we are referring to freedom, not\nprice.  Our General Public Licenses are designed to make sure that you\nhave the freedom to distribute copies of free software (and charge for\nthem if you wish), that you receive source code or can get it if you\nwant it, that you can change the software or use pieces of it in new\nfree programs, and that you know you can do these things.\n\n  Developers that use our General Public Licenses protect your rights\nwith two steps: (1) assert copyright on the software, and (2) offer\nyou this License which gives you legal permission to copy, distribute\nand/or modify the software.\n\n  A secondary benefit of defending all users' freedom is that\nimprovements made in alternate versions of the program, if they\nreceive widespread use, become available for other developers to\nincorporate.  Many developers of free software are heartened and\nencouraged by the resulting cooperation.  However, in the case of\nsoftware used on network servers, this result may fail to come about.\nThe GNU General Public License permits making a modified version and\nletting the public access it on a server without ever releasing its\nsource code to the public.\n\n  The GNU Affero General Public License is designed specifically to\nensure that, in such cases, the modified source code becomes available\nto the community.  It requires the operator of a network server to\nprovide the source code of the modified version running there to the\nusers of that server.  Therefore, public use of a modified version, on\na publicly accessible server, gives the public access to the source\ncode of the modified version.\n\n  An older license, called the Affero General Public License and\npublished by Affero, was designed to accomplish similar goals.  This is\na different license, not a version of the Affero GPL, but Affero has\nreleased a new version of the Affero GPL which permits relicensing under\nthis license.\n\n  The precise terms and conditions for copying, distribution and\nmodification follow.\n\n                       TERMS AND CONDITIONS\n\n  0. Definitions.\n\n  \"This License\" refers to version 3 of the GNU Affero General Public License.\n\n  \"Copyright\" also means copyright-like laws that apply to other kinds of\nworks, such as semiconductor masks.\n\n  \"The Program\" refers to any copyrightable work licensed under this\nLicense.  Each licensee is addressed as \"you\".  \"Licensees\" and\n\"recipients\" may be individuals or organizations.\n\n  To \"modify\" a work means to copy from or adapt all or part of the work\nin a fashion requiring copyright permission, other than the making of an\nexact copy.  The resulting work is called a \"modified version\" of the\nearlier work or a work \"based on\" the earlier work.\n\n  A \"covered work\" means either the unmodified Program or a work based\non the Program.\n\n  To \"propagate\" a work means to do anything with it that, without\npermission, would make you directly or secondarily liable for\ninfringement under applicable copyright law, except executing it on a\ncomputer or modifying a private copy.  Propagation includes copying,\ndistribution (with or without modification), making available to the\npublic, and in some countries other activities as well.\n\n  To \"convey\" a work means any kind of propagation that enables other\nparties to make or receive copies.  Mere interaction with a user through\na computer network, with no transfer of a copy, is not conveying.\n\n  An interactive user interface displays \"Appropriate Legal Notices\"\nto the extent that it includes a convenient and prominently visible\nfeature that (1) displays an appropriate copyright notice, and (2)\ntells the user that there is no warranty for the work (except to the\nextent that warranties are provided), that licensees may convey the\nwork under this License, and how to view a copy of this License.  If\nthe interface presents a list of user commands or options, such as a\nmenu, a prominent item in the list meets this criterion.\n\n  1. Source Code.\n\n  The \"source code\" for a work means the preferred form of the work\nfor making modifications to it.  \"Object code\" means any non-source\nform of a work.\n\n  A \"Standard Interface\" means an interface that either is an official\nstandard defined by a recognized standards body, or, in the case of\ninterfaces specified for a particular programming language, one that\nis widely used among developers working in that language.\n\n  The \"System Libraries\" of an executable work include anything, other\nthan the work as a whole, that (a) is included in the normal form of\npackaging a Major Component, but which is not part of that Major\nComponent, and (b) serves only to enable use of the work with that\nMajor Component, or to implement a Standard Interface for which an\nimplementation is available to the public in source code form.  A\n\"Major Component\", in this context, means a major essential component\n(kernel, window system, and so on) of the specific operating system\n(if any) on which the executable work runs, or a compiler used to\nproduce the work, or an object code interpreter used to run it.\n\n  The \"Corresponding Source\" for a work in object code form means all\nthe source code needed to generate, install, and (for an executable\nwork) run the object code and to modify the work, including scripts to\ncontrol those activities.  However, it does not include the work's\nSystem Libraries, or general-purpose tools or generally available free\nprograms which are used unmodified in performing those activities but\nwhich are not part of the work.  For example, Corresponding Source\nincludes interface definition files associated with source files for\nthe work, and the source code for shared libraries and dynamically\nlinked subprograms that the work is specifically designed to require,\nsuch as by intimate data communication or control flow between those\nsubprograms and other parts of the work.\n\n  The Corresponding Source need not include anything that users\ncan regenerate automatically from other parts of the Corresponding\nSource.\n\n  The Corresponding Source for a work in source code form is that\nsame work.\n\n  2. Basic Permissions.\n\n  All rights granted under this License are granted for the term of\ncopyright on the Program, and are irrevocable provided the stated\nconditions are met.  This License explicitly affirms your unlimited\npermission to run the unmodified Program.  The output from running a\ncovered work is covered by this License only if the output, given its\ncontent, constitutes a covered work.  This License acknowledges your\nrights of fair use or other equivalent, as provided by copyright law.\n\n  You may make, run and propagate covered works that you do not\nconvey, without conditions so long as your license otherwise remains\nin force.  You may convey covered works to others for the sole purpose\nof having them make modifications exclusively for you, or provide you\nwith facilities for running those works, provided that you comply with\nthe terms of this License in conveying all material for which you do\nnot control copyright.  Those thus making or running the covered works\nfor you must do so exclusively on your behalf, under your direction\nand control, on terms that prohibit them from making any copies of\nyour copyrighted material outside their relationship with you.\n\n  Conveying under any other circumstances is permitted solely under\nthe conditions stated below.  Sublicensing is not allowed; section 10\nmakes it unnecessary.\n\n  3. Protecting Users' Legal Rights From Anti-Circumvention Law.\n\n  No covered work shall be deemed part of an effective technological\nmeasure under any applicable law fulfilling obligations under article\n11 of the WIPO copyright treaty adopted on 20 December 1996, or\nsimilar laws prohibiting or restricting circumvention of such\nmeasures.\n\n  When you convey a covered work, you waive any legal power to forbid\ncircumvention of technological measures to the extent such circumvention\nis effected by exercising rights under this License with respect to\nthe covered work, and you disclaim any intention to limit operation or\nmodification of the work as a means of enforcing, against the work's\nusers, your or third parties' legal rights to forbid circumvention of\ntechnological measures.\n\n  4. Conveying Verbatim Copies.\n\n  You may convey verbatim copies of the Program's source code as you\nreceive it, in any medium, provided that you conspicuously and\nappropriately publish on each copy an appropriate copyright notice;\nkeep intact all notices stating that this License and any\nnon-permissive terms added in accord with section 7 apply to the code;\nkeep intact all notices of the absence of any warranty; and give all\nrecipients a copy of this License along with the Program.\n\n  You may charge any price or no price for each copy that you convey,\nand you may offer support or warranty protection for a fee.\n\n  5. Conveying Modified Source Versions.\n\n  You may convey a work based on the Program, or the modifications to\nproduce it from the Program, in the form of source code under the\nterms of section 4, provided that you also meet all of these conditions:\n\n    a) The work must carry prominent notices stating that you modified\n    it, and giving a relevant date.\n\n    b) The work must carry prominent notices stating that it is\n    released under this License and any conditions added under section\n    7.  This requirement modifies the requirement in section 4 to\n    \"keep intact all notices\".\n\n    c) You must license the entire work, as a whole, under this\n    License to anyone who comes into possession of a copy.  This\n    License will therefore apply, along with any applicable section 7\n    additional terms, to the whole of the work, and all its parts,\n    regardless of how they are packaged.  This License gives no\n    permission to license the work in any other way, but it does not\n    invalidate such permission if you have separately received it.\n\n    d) If the work has interactive user interfaces, each must display\n    Appropriate Legal Notices; however, if the Program has interactive\n    interfaces that do not display Appropriate Legal Notices, your\n    work need not make them do so.\n\n  A compilation of a covered work with other separate and independent\nworks, which are not by their nature extensions of the covered work,\nand which are not combined with it such as to form a larger program,\nin or on a volume of a storage or distribution medium, is called an\n\"aggregate\" if the compilation and its resulting copyright are not\nused to limit the access or legal rights of the compilation's users\nbeyond what the individual works permit.  Inclusion of a covered work\nin an aggregate does not cause this License to apply to the other\nparts of the aggregate.\n\n  6. Conveying Non-Source Forms.\n\n  You may convey a covered work in object code form under the terms\nof sections 4 and 5, provided that you also convey the\nmachine-readable Corresponding Source under the terms of this License,\nin one of these ways:\n\n    a) Convey the object code in, or embodied in, a physical product\n    (including a physical distribution medium), accompanied by the\n    Corresponding Source fixed on a durable physical medium\n    customarily used for software interchange.\n\n    b) Convey the object code in, or embodied in, a physical product\n    (including a physical distribution medium), accompanied by a\n    written offer, valid for at least three years and valid for as\n    long as you offer spare parts or customer support for that product\n    model, to give anyone who possesses the object code either (1) a\n    copy of the Corresponding Source for all the software in the\n    product that is covered by this License, on a durable physical\n    medium customarily used for software interchange, for a price no\n    more than your reasonable cost of physically performing this\n    conveying of source, or (2) access to copy the\n    Corresponding Source from a network server at no charge.\n\n    c) Convey individual copies of the object code with a copy of the\n    written offer to provide the Corresponding Source.  This\n    alternative is allowed only occasionally and noncommercially, and\n    only if you received the object code with such an offer, in accord\n    with subsection 6b.\n\n    d) Convey the object code by offering access from a designated\n    place (gratis or for a charge), and offer equivalent access to the\n    Corresponding Source in the same way through the same place at no\n    further charge.  You need not require recipients to copy the\n    Corresponding Source along with the object code.  If the place to\n    copy the object code is a network server, the Corresponding Source\n    may be on a different server (operated by you or a third party)\n    that supports equivalent copying facilities, provided you maintain\n    clear directions next to the object code saying where to find the\n    Corresponding Source.  Regardless of what server hosts the\n    Corresponding Source, you remain obligated to ensure that it is\n    available for as long as needed to satisfy these requirements.\n\n    e) Convey the object code using peer-to-peer transmission, provided\n    you inform other peers where the object code and Corresponding\n    Source of the work are being offered to the general public at no\n    charge under subsection 6d.\n\n  A separable portion of the object code, whose source code is excluded\nfrom the Corresponding Source as a System Library, need not be\nincluded in conveying the object code work.\n\n  A \"User Product\" is either (1) a \"consumer product\", which means any\ntangible personal property which is normally used for personal, family,\nor household purposes, or (2) anything designed or sold for incorporation\ninto a dwelling.  In determining whether a product is a consumer product,\ndoubtful cases shall be resolved in favor of coverage.  For a particular\nproduct received by a particular user, \"normally used\" refers to a\ntypical or common use of that class of product, regardless of the status\nof the particular user or of the way in which the particular user\nactually uses, or expects or is expected to use, the product.  A product\nis a consumer product regardless of whether the product has substantial\ncommercial, industrial or non-consumer uses, unless such uses represent\nthe only significant mode of use of the product.\n\n  \"Installation Information\" for a User Product means any methods,\nprocedures, authorization keys, or other information required to install\nand execute modified versions of a covered work in that User Product from\na modified version of its Corresponding Source.  The information must\nsuffice to ensure that the continued functioning of the modified object\ncode is in no case prevented or interfered with solely because\nmodification has been made.\n\n  If you convey an object code work under this section in, or with, or\nspecifically for use in, a User Product, and the conveying occurs as\npart of a transaction in which the right of possession and use of the\nUser Product is transferred to the recipient in perpetuity or for a\nfixed term (regardless of how the transaction is characterized), the\nCorresponding Source conveyed under this section must be accompanied\nby the Installation Information.  But this requirement does not apply\nif neither you nor any third party retains the ability to install\nmodified object code on the User Product (for example, the work has\nbeen installed in ROM).\n\n  The requirement to provide Installation Information does not include a\nrequirement to continue to provide support service, warranty, or updates\nfor a work that has been modified or installed by the recipient, or for\nthe User Product in which it has been modified or installed.  Access to a\nnetwork may be denied when the modification itself materially and\nadversely affects the operation of the network or violates the rules and\nprotocols for communication across the network.\n\n  Corresponding Source conveyed, and Installation Information provided,\nin accord with this section must be in a format that is publicly\ndocumented (and with an implementation available to the public in\nsource code form), and must require no special password or key for\nunpacking, reading or copying.\n\n  7. Additional Terms.\n\n  \"Additional permissions\" are terms that supplement the terms of this\nLicense by making exceptions from one or more of its conditions.\nAdditional permissions that are applicable to the entire Program shall\nbe treated as though they were included in this License, to the extent\nthat they are valid under applicable law.  If additional permissions\napply only to part of the Program, that part may be used separately\nunder those permissions, but the entire Program remains governed by\nthis License without regard to the additional permissions.\n\n  When you convey a copy of a covered work, you may at your option\nremove any additional permissions from that copy, or from any part of\nit.  (Additional permissions may be written to require their own\nremoval in certain cases when you modify the work.)  You may place\nadditional permissions on material, added by you to a covered work,\nfor which you have or can give appropriate copyright permission.\n\n  Notwithstanding any other provision of this License, for material you\nadd to a covered work, you may (if authorized by the copyright holders of\nthat material) supplement the terms of this License with terms:\n\n    a) Disclaiming warranty or limiting liability differently from the\n    terms of sections 15 and 16 of this License; or\n\n    b) Requiring preservation of specified reasonable legal notices or\n    author attributions in that material or in the Appropriate Legal\n    Notices displayed by works containing it; or\n\n    c) Prohibiting misrepresentation of the origin of that material, or\n    requiring that modified versions of such material be marked in\n    reasonable ways as different from the original version; or\n\n    d) Limiting the use for publicity purposes of names of licensors or\n    authors of the material; or\n\n    e) Declining to grant rights under trademark law for use of some\n    trade names, trademarks, or service marks; or\n\n    f) Requiring indemnification of licensors and authors of that\n    material by anyone who conveys the material (or modified versions of\n    it) with contractual assumptions of liability to the recipient, for\n    any liability that these contractual assumptions directly impose on\n    those licensors and authors.\n\n  All other non-permissive additional terms are considered \"further\nrestrictions\" within the meaning of section 10.  If the Program as you\nreceived it, or any part of it, contains a notice stating that it is\ngoverned by this License along with a term that is a further\nrestriction, you may remove that term.  If a license document contains\na further restriction but permits relicensing or conveying under this\nLicense, you may add to a covered work material governed by the terms\nof that license document, provided that the further restriction does\nnot survive such relicensing or conveying.\n\n  If you add terms to a covered work in accord with this section, you\nmust place, in the relevant source files, a statement of the\nadditional terms that apply to those files, or a notice indicating\nwhere to find the applicable terms.\n\n  Additional terms, permissive or non-permissive, may be stated in the\nform of a separately written license, or stated as exceptions;\nthe above requirements apply either way.\n\n  8. Termination.\n\n  You may not propagate or modify a covered work except as expressly\nprovided under this License.  Any attempt otherwise to propagate or\nmodify it is void, and will automatically terminate your rights under\nthis License (including any patent licenses granted under the third\nparagraph of section 11).\n\n  However, if you cease all violation of this License, then your\nlicense from a particular copyright holder is reinstated (a)\nprovisionally, unless and until the copyright holder explicitly and\nfinally terminates your license, and (b) permanently, if the copyright\nholder fails to notify you of the violation by some reasonable means\nprior to 60 days after the cessation.\n\n  Moreover, your license from a particular copyright holder is\nreinstated permanently if the copyright holder notifies you of the\nviolation by some reasonable means, this is the first time you have\nreceived notice of violation of this License (for any work) from that\ncopyright holder, and you cure the violation prior to 30 days after\nyour receipt of the notice.\n\n  Termination of your rights under this section does not terminate the\nlicenses of parties who have received copies or rights from you under\nthis License.  If your rights have been terminated and not permanently\nreinstated, you do not qualify to receive new licenses for the same\nmaterial under section 10.\n\n  9. Acceptance Not Required for Having Copies.\n\n  You are not required to accept this License in order to receive or\nrun a copy of the Program.  Ancillary propagation of a covered work\noccurring solely as a consequence of using peer-to-peer transmission\nto receive a copy likewise does not require acceptance.  However,\nnothing other than this License grants you permission to propagate or\nmodify any covered work.  These actions infringe copyright if you do\nnot accept this License.  Therefore, by modifying or propagating a\ncovered work, you indicate your acceptance of this License to do so.\n\n  10. Automatic Licensing of Downstream Recipients.\n\n  Each time you convey a covered work, the recipient automatically\nreceives a license from the original licensors, to run, modify and\npropagate that work, subject to this License.  You are not responsible\nfor enforcing compliance by third parties with this License.\n\n  An \"entity transaction\" is a transaction transferring control of an\norganization, or substantially all assets of one, or subdividing an\norganization, or merging organizations.  If propagation of a covered\nwork results from an entity transaction, each party to that\ntransaction who receives a copy of the work also receives whatever\nlicenses to the work the party's predecessor in interest had or could\ngive under the previous paragraph, plus a right to possession of the\nCorresponding Source of the work from the predecessor in interest, if\nthe predecessor has it or can get it with reasonable efforts.\n\n  You may not impose any further restrictions on the exercise of the\nrights granted or affirmed under this License.  For example, you may\nnot impose a license fee, royalty, or other charge for exercise of\nrights granted under this License, and you may not initiate litigation\n(including a cross-claim or counterclaim in a lawsuit) alleging that\nany patent claim is infringed by making, using, selling, offering for\nsale, or importing the Program or any portion of it.\n\n  11. Patents.\n\n  A \"contributor\" is a copyright holder who authorizes use under this\nLicense of the Program or a work on which the Program is based.  The\nwork thus licensed is called the contributor's \"contributor version\".\n\n  A contributor's \"essential patent claims\" are all patent claims\nowned or controlled by the contributor, whether already acquired or\nhereafter acquired, that would be infringed by some manner, permitted\nby this License, of making, using, or selling its contributor version,\nbut do not include claims that would be infringed only as a\nconsequence of further modification of the contributor version.  For\npurposes of this definition, \"control\" includes the right to grant\npatent sublicenses in a manner consistent with the requirements of\nthis License.\n\n  Each contributor grants you a non-exclusive, worldwide, royalty-free\npatent license under the contributor's essential patent claims, to\nmake, use, sell, offer for sale, import and otherwise run, modify and\npropagate the contents of its contributor version.\n\n  In the following three paragraphs, a \"patent license\" is any express\nagreement or commitment, however denominated, not to enforce a patent\n(such as an express permission to practice a patent or covenant not to\nsue for patent infringement).  To \"grant\" such a patent license to a\nparty means to make such an agreement or commitment not to enforce a\npatent against the party.\n\n  If you convey a covered work, knowingly relying on a patent license,\nand the Corresponding Source of the work is not available for anyone\nto copy, free of charge and under the terms of this License, through a\npublicly available network server or other readily accessible means,\nthen you must either (1) cause the Corresponding Source to be so\navailable, or (2) arrange to deprive yourself of the benefit of the\npatent license for this particular work, or (3) arrange, in a manner\nconsistent with the requirements of this License, to extend the patent\nlicense to downstream recipients.  \"Knowingly relying\" means you have\nactual knowledge that, but for the patent license, your conveying the\ncovered work in a country, or your recipient's use of the covered work\nin a country, would infringe one or more identifiable patents in that\ncountry that you have reason to believe are valid.\n\n  If, pursuant to or in connection with a single transaction or\narrangement, you convey, or propagate by procuring conveyance of, a\ncovered work, and grant a patent license to some of the parties\nreceiving the covered work authorizing them to use, propagate, modify\nor convey a specific copy of the covered work, then the patent license\nyou grant is automatically extended to all recipients of the covered\nwork and works based on it.\n\n  A patent license is \"discriminatory\" if it does not include within\nthe scope of its coverage, prohibits the exercise of, or is\nconditioned on the non-exercise of one or more of the rights that are\nspecifically granted under this License.  You may not convey a covered\nwork if you are a party to an arrangement with a third party that is\nin the business of distributing software, under which you make payment\nto the third party based on the extent of your activity of conveying\nthe work, and under which the third party grants, to any of the\nparties who would receive the covered work from you, a discriminatory\npatent license (a) in connection with copies of the covered work\nconveyed by you (or copies made from those copies), or (b) primarily\nfor and in connection with specific products or compilations that\ncontain the covered work, unless you entered into that arrangement,\nor that patent license was granted, prior to 28 March 2007.\n\n  Nothing in this License shall be construed as excluding or limiting\nany implied license or other defenses to infringement that may\notherwise be available to you under applicable patent law.\n\n  12. No Surrender of Others' Freedom.\n\n  If conditions are imposed on you (whether by court order, agreement or\notherwise) that contradict the conditions of this License, they do not\nexcuse you from the conditions of this License.  If you cannot convey a\ncovered work so as to satisfy simultaneously your obligations under this\nLicense and any other pertinent obligations, then as a consequence you may\nnot convey it at all.  For example, if you agree to terms that obligate you\nto collect a royalty for further conveying from those to whom you convey\nthe Program, the only way you could satisfy both those terms and this\nLicense would be to refrain entirely from conveying the Program.\n\n  13. Remote Network Interaction; Use with the GNU General Public License.\n\n  Notwithstanding any other provision of this License, if you modify the\nProgram, your modified version must prominently offer all users\ninteracting with it remotely through a computer network (if your version\nsupports such interaction) an opportunity to receive the Corresponding\nSource of your version by providing access to the Corresponding Source\nfrom a network server at no charge, through some standard or customary\nmeans of facilitating copying of software.  This Corresponding Source\nshall include the Corresponding Source for any work covered by version 3\nof the GNU General Public License that is incorporated pursuant to the\nfollowing paragraph.\n\n  Notwithstanding any other provision of this License, you have\npermission to link or combine any covered work with a work licensed\nunder version 3 of the GNU General Public License into a single\ncombined work, and to convey the resulting work.  The terms of this\nLicense will continue to apply to the part which is the covered work,\nbut the work with which it is combined will remain governed by version\n3 of the GNU General Public License.\n\n  14. Revised Versions of this License.\n\n  The Free Software Foundation may publish revised and/or new versions of\nthe GNU Affero General Public License from time to time.  Such new versions\nwill be similar in spirit to the present version, but may differ in detail to\naddress new problems or concerns.\n\n  Each version is given a distinguishing version number.  If the\nProgram specifies that a certain numbered version of the GNU Affero General\nPublic License \"or any later version\" applies to it, you have the\noption of following the terms and conditions either of that numbered\nversion or of any later version published by the Free Software\nFoundation.  If the Program does not specify a version number of the\nGNU Affero General Public License, you may choose any version ever published\nby the Free Software Foundation.\n\n  If the Program specifies that a proxy can decide which future\nversions of the GNU Affero General Public License can be used, that proxy's\npublic statement of acceptance of a version permanently authorizes you\nto choose that version for the Program.\n\n  Later license versions may give you additional or different\npermissions.  However, no additional obligations are imposed on any\nauthor or copyright holder as a result of your choosing to follow a\nlater version.\n\n  15. Disclaimer of Warranty.\n\n  THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY\nAPPLICABLE LAW.  EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT\nHOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM \"AS IS\" WITHOUT WARRANTY\nOF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,\nTHE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\nPURPOSE.  THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM\nIS WITH YOU.  SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF\nALL NECESSARY SERVICING, REPAIR OR CORRECTION.\n\n  16. Limitation of Liability.\n\n  IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING\nWILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS\nTHE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY\nGENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE\nUSE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF\nDATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD\nPARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),\nEVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF\nSUCH DAMAGES.\n\n  17. Interpretation of Sections 15 and 16.\n\n  If the disclaimer of warranty and limitation of liability provided\nabove cannot be given local legal effect according to their terms,\nreviewing courts shall apply local law that most closely approximates\nan absolute waiver of all civil liability in connection with the\nProgram, unless a warranty or assumption of liability accompanies a\ncopy of the Program in return for a fee.\n\n                     END OF TERMS AND CONDITIONS\n\n            How to Apply These Terms to Your New Programs\n\n  If you develop a new program, and you want it to be of the greatest\npossible use to the public, the best way to achieve this is to make it\nfree software which everyone can redistribute and change under these terms.\n\n  To do so, attach the following notices to the program.  It is safest\nto attach them to the start of each source file to most effectively\nstate the exclusion of warranty; and each file should have at least\nthe \"copyright\" line and a pointer to where the full notice is found.\n\n    <one line to give the program's name and a brief idea of what it does.>\n    Copyright (C) <year>  <name of author>\n\n    This program is free software: you can redistribute it and/or modify\n    it under the terms of the GNU Affero General Public License as published by\n    the Free Software Foundation, either version 3 of the License, or\n    (at your option) any later version.\n\n    This program is distributed in the hope that it will be useful,\n    but WITHOUT ANY WARRANTY; without even the implied warranty of\n    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n    GNU Affero General Public License for more details.\n\n    You should have received a copy of the GNU Affero General Public License\n    along with this program.  If not, see <https://www.gnu.org/licenses/>.\n\nAlso add information on how to contact you by electronic and paper mail.\n\n  If your software can interact with users remotely through a computer\nnetwork, you should also make sure that it provides a way for users to\nget its source.  For example, if your program is a web application, its\ninterface could display a \"Source\" link that leads users to an archive\nof the code.  There are many ways you could offer source, and different\nsolutions will be better for different programs; see section 13 for the\nspecific requirements.\n\n  You should also get your employer (if you work as a programmer) or school,\nif any, to sign a \"copyright disclaimer\" for the program, if necessary.\nFor more information on this, and how to apply and follow the GNU AGPL, see\n<https://www.gnu.org/licenses/>.\n","resolutions":{"ffjavascript":"0.2.59"},"dependencies":{"yup":"^0.32.11","axios":"0.27.2","blake2b":"^2.1.4","js-sha256":"^0.10.1","tweetnacl":"^1.0.3","wasmcurves":"0.2.1","web-worker":"^1.2.0","wasmbuilder":"^0.0.16","@vocdoni/proto":"1.15.4","tiny-invariant":"^1.3.1","readable-stream":"^4.4.2","@size-limit/file":"^8.2.4","iso-language-codes":"^1.1.0","@ethersproject/bytes":"^5.7.0","@ethersproject/units":"^5.7.0","@ethersproject/wallet":"^5.7.0","@ethersproject/address":"^5.7.0","@ethersproject/strings":"^5.7.0","@ethersproject/bignumber":"^5.7.0","@ethersproject/keccak256":"^5.7.0","@ethersproject/providers":"^5.7.1","@ethersproject/signing-key":"^5.7.0","@ethersproject/abstract-signer":"^5.7.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.3.0","husky":"^8.0.2","tslib":"^2.4.0","buffer":"^6.0.3","eslint":"^8.27.0","rimraf":"^3.0.2","rollup":"^3.22.0","blakejs":"^1.2.1","esbuild":"^0.17.10","snarkjs":"vocdoni/snarkjs#v0.7.0-groth16browser","ts-jest":"^29.0.3","prettier":"^2.7.1","size-limit":"^8.1.0","typescript":"^4.8.4","@types/jest":"^29.2.2","circomlibjs":"^0.1.7","ffjavascript":"0.2.59","blindsecp256k1":"^0.0.9","rollup-plugin-dts":"^5.1.1","@rollup/plugin-json":"^6.0.0","rollup-plugin-esbuild":"^5.0.0","eslint-config-prettier":"^8.5.0","eslint-plugin-prettier":"^4.2.1","@rollup/plugin-commonjs":"^24.0.0","@typescript-eslint/parser":"^5.42.1","@rollup/plugin-node-resolve":"^15.0.1","rollup-plugin-polyfill-node":"^0.12.0","@typescript-eslint/eslint-plugin":"^5.42.1"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.7.1_1704992506928_0.612134989326993","host":"s3://npm-registry-packages"}},"0.7.2":{"name":"@vocdoni/sdk","version":"0.7.2","keywords":["voting","blockchain","vocdoni"],"author":{"name":"Vocdoni"},"license":"AGPL-3.0-or-later","_id":"@vocdoni/sdk@0.7.2","maintainers":[{"name":"elboletaire","email":"elboletaire@underave.net"},{"name":"emmdim","email":"manos@vocdoni.io"},{"name":"marcvelmer","email":"marc1987@gmail.com"},{"name":"brickpop","email":"itsbrickpop@gmail.com"},{"name":"jpainan","email":"jpainan@vocdoni.io"}],"dist":{"shasum":"3f6c04756aa22b6dfbd29097c3ce681cca8d1c5d","tarball":"https://registry.npmjs.org/@vocdoni/sdk/-/sdk-0.7.2.tgz","fileCount":13,"integrity":"sha512-esPvJ7OrMz5XlAKBYpEjgAapZHfhmgqlw2hiNubXb/uXoP1kFmKy6JxSm8NplnGLQOTFjdmSOhRnpy3CUfEYQA==","signatures":[{"sig":"MEUCIE73AOEMIF093o9cMPqvl5VH3MtG8AYqe3syrDa0/jwIAiEAmmb6S0EGI0ovzAv1mH6N8kILk2Mda05VyBfnYDqrq2g=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":32082962},"jest":{"preset":"ts-jest","testEnvironment":"node"},"main":"dist/index.js","husky":{"hooks":{"pre-commit":"yarn lint"}},"types":"./dist/index.d.ts","module":"dist/index.mjs","engines":{"node":">=14"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./umd":{"types":"./dist/index.d.ts","default":"./dist/index.umd.js"},"./package.json":"./package.json"},"scripts":{"lint":"eslint src test --ext .js,.jsx,.ts,.tsx","size":"size-limit","test":"yarn test:unit && yarn test:api && yarn test:census3 && yarn test:service && yarn test:integration","build":"rollup -c","clean":"rimraf node_modules dist","start":"yarn watch","watch":"yarn build --watch","lintfix":"yarn lint --fix","prepare":"yarn build","test:api":"jest test/api","ts-types":"tsc --emitDeclarationOnly --outDir dist","test:unit":"jest test/unit --verbose","test:census3":"yarn test:census3:api && yarn test:census3:integration","test:service":"yarn test:service:census && yarn test:service:anonymous && yarn test:service:csp","test:census3:api":"jest test/census3/api","test:integration":"yarn test:integration:account && yarn test:integration:csp && yarn test:integration:election && yarn test:integration:other","test:service:csp":"jest test/services/csp.test.ts","test:integration:zk":"jest test/integration/zk.test.ts --forceExit --runInBand","test:service:census":"jest test/services/census.test.ts","test:integration:csp":"jest test/integration/csp.test.ts","test:integration:other":"jest test/integration/other.test.ts","test:service:anonymous":"jest test/services/anonymous.test.ts","test:census3:integration":"jest test/census3/integration","test:integration:account":"jest test/integration/account.test.ts","test:integration:election":"jest test/integration/election.test.ts"},"_npmUser":{"name":"emmdim","email":"manos@vocdoni.io"},"prettier":{"semi":true,"printWidth":120,"singleQuote":true,"trailingComma":"es5"},"repository":{"url":"https://github.com/vocdoni/vocdoni-sdk.git","type":"git"},"size-limit":[{"path":"dist/index.js","limit":"2 MB"},{"path":"dist/index.mjs","limit":"2 MB"},{"path":"dist/index.umd.js","limit":"2 MB"}],"description":"⚒️An SDK for building applications on top of Vocdoni API","directories":{},"licenseText":"                    GNU AFFERO GENERAL PUBLIC LICENSE\n                       Version 3, 19 November 2007\n\n Copyright (C) 2020 Vocdoni Roots MTU, <https://vocdoni.io>\n Everyone is permitted to copy and distribute verbatim copies\n of this license document, but changing it is not allowed.\n\n                            Preamble\n\n  The GNU Affero General Public License is a free, copyleft license for\nsoftware and other kinds of works, specifically designed to ensure\ncooperation with the community in the case of network server software.\n\n  The licenses for most software and other practical works are designed\nto take away your freedom to share and change the works.  By contrast,\nour General Public Licenses are intended to guarantee your freedom to\nshare and change all versions of a program--to make sure it remains free\nsoftware for all its users.\n\n  When we speak of free software, we are referring to freedom, not\nprice.  Our General Public Licenses are designed to make sure that you\nhave the freedom to distribute copies of free software (and charge for\nthem if you wish), that you receive source code or can get it if you\nwant it, that you can change the software or use pieces of it in new\nfree programs, and that you know you can do these things.\n\n  Developers that use our General Public Licenses protect your rights\nwith two steps: (1) assert copyright on the software, and (2) offer\nyou this License which gives you legal permission to copy, distribute\nand/or modify the software.\n\n  A secondary benefit of defending all users' freedom is that\nimprovements made in alternate versions of the program, if they\nreceive widespread use, become available for other developers to\nincorporate.  Many developers of free software are heartened and\nencouraged by the resulting cooperation.  However, in the case of\nsoftware used on network servers, this result may fail to come about.\nThe GNU General Public License permits making a modified version and\nletting the public access it on a server without ever releasing its\nsource code to the public.\n\n  The GNU Affero General Public License is designed specifically to\nensure that, in such cases, the modified source code becomes available\nto the community.  It requires the operator of a network server to\nprovide the source code of the modified version running there to the\nusers of that server.  Therefore, public use of a modified version, on\na publicly accessible server, gives the public access to the source\ncode of the modified version.\n\n  An older license, called the Affero General Public License and\npublished by Affero, was designed to accomplish similar goals.  This is\na different license, not a version of the Affero GPL, but Affero has\nreleased a new version of the Affero GPL which permits relicensing under\nthis license.\n\n  The precise terms and conditions for copying, distribution and\nmodification follow.\n\n                       TERMS AND CONDITIONS\n\n  0. Definitions.\n\n  \"This License\" refers to version 3 of the GNU Affero General Public License.\n\n  \"Copyright\" also means copyright-like laws that apply to other kinds of\nworks, such as semiconductor masks.\n\n  \"The Program\" refers to any copyrightable work licensed under this\nLicense.  Each licensee is addressed as \"you\".  \"Licensees\" and\n\"recipients\" may be individuals or organizations.\n\n  To \"modify\" a work means to copy from or adapt all or part of the work\nin a fashion requiring copyright permission, other than the making of an\nexact copy.  The resulting work is called a \"modified version\" of the\nearlier work or a work \"based on\" the earlier work.\n\n  A \"covered work\" means either the unmodified Program or a work based\non the Program.\n\n  To \"propagate\" a work means to do anything with it that, without\npermission, would make you directly or secondarily liable for\ninfringement under applicable copyright law, except executing it on a\ncomputer or modifying a private copy.  Propagation includes copying,\ndistribution (with or without modification), making available to the\npublic, and in some countries other activities as well.\n\n  To \"convey\" a work means any kind of propagation that enables other\nparties to make or receive copies.  Mere interaction with a user through\na computer network, with no transfer of a copy, is not conveying.\n\n  An interactive user interface displays \"Appropriate Legal Notices\"\nto the extent that it includes a convenient and prominently visible\nfeature that (1) displays an appropriate copyright notice, and (2)\ntells the user that there is no warranty for the work (except to the\nextent that warranties are provided), that licensees may convey the\nwork under this License, and how to view a copy of this License.  If\nthe interface presents a list of user commands or options, such as a\nmenu, a prominent item in the list meets this criterion.\n\n  1. Source Code.\n\n  The \"source code\" for a work means the preferred form of the work\nfor making modifications to it.  \"Object code\" means any non-source\nform of a work.\n\n  A \"Standard Interface\" means an interface that either is an official\nstandard defined by a recognized standards body, or, in the case of\ninterfaces specified for a particular programming language, one that\nis widely used among developers working in that language.\n\n  The \"System Libraries\" of an executable work include anything, other\nthan the work as a whole, that (a) is included in the normal form of\npackaging a Major Component, but which is not part of that Major\nComponent, and (b) serves only to enable use of the work with that\nMajor Component, or to implement a Standard Interface for which an\nimplementation is available to the public in source code form.  A\n\"Major Component\", in this context, means a major essential component\n(kernel, window system, and so on) of the specific operating system\n(if any) on which the executable work runs, or a compiler used to\nproduce the work, or an object code interpreter used to run it.\n\n  The \"Corresponding Source\" for a work in object code form means all\nthe source code needed to generate, install, and (for an executable\nwork) run the object code and to modify the work, including scripts to\ncontrol those activities.  However, it does not include the work's\nSystem Libraries, or general-purpose tools or generally available free\nprograms which are used unmodified in performing those activities but\nwhich are not part of the work.  For example, Corresponding Source\nincludes interface definition files associated with source files for\nthe work, and the source code for shared libraries and dynamically\nlinked subprograms that the work is specifically designed to require,\nsuch as by intimate data communication or control flow between those\nsubprograms and other parts of the work.\n\n  The Corresponding Source need not include anything that users\ncan regenerate automatically from other parts of the Corresponding\nSource.\n\n  The Corresponding Source for a work in source code form is that\nsame work.\n\n  2. Basic Permissions.\n\n  All rights granted under this License are granted for the term of\ncopyright on the Program, and are irrevocable provided the stated\nconditions are met.  This License explicitly affirms your unlimited\npermission to run the unmodified Program.  The output from running a\ncovered work is covered by this License only if the output, given its\ncontent, constitutes a covered work.  This License acknowledges your\nrights of fair use or other equivalent, as provided by copyright law.\n\n  You may make, run and propagate covered works that you do not\nconvey, without conditions so long as your license otherwise remains\nin force.  You may convey covered works to others for the sole purpose\nof having them make modifications exclusively for you, or provide you\nwith facilities for running those works, provided that you comply with\nthe terms of this License in conveying all material for which you do\nnot control copyright.  Those thus making or running the covered works\nfor you must do so exclusively on your behalf, under your direction\nand control, on terms that prohibit them from making any copies of\nyour copyrighted material outside their relationship with you.\n\n  Conveying under any other circumstances is permitted solely under\nthe conditions stated below.  Sublicensing is not allowed; section 10\nmakes it unnecessary.\n\n  3. Protecting Users' Legal Rights From Anti-Circumvention Law.\n\n  No covered work shall be deemed part of an effective technological\nmeasure under any applicable law fulfilling obligations under article\n11 of the WIPO copyright treaty adopted on 20 December 1996, or\nsimilar laws prohibiting or restricting circumvention of such\nmeasures.\n\n  When you convey a covered work, you waive any legal power to forbid\ncircumvention of technological measures to the extent such circumvention\nis effected by exercising rights under this License with respect to\nthe covered work, and you disclaim any intention to limit operation or\nmodification of the work as a means of enforcing, against the work's\nusers, your or third parties' legal rights to forbid circumvention of\ntechnological measures.\n\n  4. Conveying Verbatim Copies.\n\n  You may convey verbatim copies of the Program's source code as you\nreceive it, in any medium, provided that you conspicuously and\nappropriately publish on each copy an appropriate copyright notice;\nkeep intact all notices stating that this License and any\nnon-permissive terms added in accord with section 7 apply to the code;\nkeep intact all notices of the absence of any warranty; and give all\nrecipients a copy of this License along with the Program.\n\n  You may charge any price or no price for each copy that you convey,\nand you may offer support or warranty protection for a fee.\n\n  5. Conveying Modified Source Versions.\n\n  You may convey a work based on the Program, or the modifications to\nproduce it from the Program, in the form of source code under the\nterms of section 4, provided that you also meet all of these conditions:\n\n    a) The work must carry prominent notices stating that you modified\n    it, and giving a relevant date.\n\n    b) The work must carry prominent notices stating that it is\n    released under this License and any conditions added under section\n    7.  This requirement modifies the requirement in section 4 to\n    \"keep intact all notices\".\n\n    c) You must license the entire work, as a whole, under this\n    License to anyone who comes into possession of a copy.  This\n    License will therefore apply, along with any applicable section 7\n    additional terms, to the whole of the work, and all its parts,\n    regardless of how they are packaged.  This License gives no\n    permission to license the work in any other way, but it does not\n    invalidate such permission if you have separately received it.\n\n    d) If the work has interactive user interfaces, each must display\n    Appropriate Legal Notices; however, if the Program has interactive\n    interfaces that do not display Appropriate Legal Notices, your\n    work need not make them do so.\n\n  A compilation of a covered work with other separate and independent\nworks, which are not by their nature extensions of the covered work,\nand which are not combined with it such as to form a larger program,\nin or on a volume of a storage or distribution medium, is called an\n\"aggregate\" if the compilation and its resulting copyright are not\nused to limit the access or legal rights of the compilation's users\nbeyond what the individual works permit.  Inclusion of a covered work\nin an aggregate does not cause this License to apply to the other\nparts of the aggregate.\n\n  6. Conveying Non-Source Forms.\n\n  You may convey a covered work in object code form under the terms\nof sections 4 and 5, provided that you also convey the\nmachine-readable Corresponding Source under the terms of this License,\nin one of these ways:\n\n    a) Convey the object code in, or embodied in, a physical product\n    (including a physical distribution medium), accompanied by the\n    Corresponding Source fixed on a durable physical medium\n    customarily used for software interchange.\n\n    b) Convey the object code in, or embodied in, a physical product\n    (including a physical distribution medium), accompanied by a\n    written offer, valid for at least three years and valid for as\n    long as you offer spare parts or customer support for that product\n    model, to give anyone who possesses the object code either (1) a\n    copy of the Corresponding Source for all the software in the\n    product that is covered by this License, on a durable physical\n    medium customarily used for software interchange, for a price no\n    more than your reasonable cost of physically performing this\n    conveying of source, or (2) access to copy the\n    Corresponding Source from a network server at no charge.\n\n    c) Convey individual copies of the object code with a copy of the\n    written offer to provide the Corresponding Source.  This\n    alternative is allowed only occasionally and noncommercially, and\n    only if you received the object code with such an offer, in accord\n    with subsection 6b.\n\n    d) Convey the object code by offering access from a designated\n    place (gratis or for a charge), and offer equivalent access to the\n    Corresponding Source in the same way through the same place at no\n    further charge.  You need not require recipients to copy the\n    Corresponding Source along with the object code.  If the place to\n    copy the object code is a network server, the Corresponding Source\n    may be on a different server (operated by you or a third party)\n    that supports equivalent copying facilities, provided you maintain\n    clear directions next to the object code saying where to find the\n    Corresponding Source.  Regardless of what server hosts the\n    Corresponding Source, you remain obligated to ensure that it is\n    available for as long as needed to satisfy these requirements.\n\n    e) Convey the object code using peer-to-peer transmission, provided\n    you inform other peers where the object code and Corresponding\n    Source of the work are being offered to the general public at no\n    charge under subsection 6d.\n\n  A separable portion of the object code, whose source code is excluded\nfrom the Corresponding Source as a System Library, need not be\nincluded in conveying the object code work.\n\n  A \"User Product\" is either (1) a \"consumer product\", which means any\ntangible personal property which is normally used for personal, family,\nor household purposes, or (2) anything designed or sold for incorporation\ninto a dwelling.  In determining whether a product is a consumer product,\ndoubtful cases shall be resolved in favor of coverage.  For a particular\nproduct received by a particular user, \"normally used\" refers to a\ntypical or common use of that class of product, regardless of the status\nof the particular user or of the way in which the particular user\nactually uses, or expects or is expected to use, the product.  A product\nis a consumer product regardless of whether the product has substantial\ncommercial, industrial or non-consumer uses, unless such uses represent\nthe only significant mode of use of the product.\n\n  \"Installation Information\" for a User Product means any methods,\nprocedures, authorization keys, or other information required to install\nand execute modified versions of a covered work in that User Product from\na modified version of its Corresponding Source.  The information must\nsuffice to ensure that the continued functioning of the modified object\ncode is in no case prevented or interfered with solely because\nmodification has been made.\n\n  If you convey an object code work under this section in, or with, or\nspecifically for use in, a User Product, and the conveying occurs as\npart of a transaction in which the right of possession and use of the\nUser Product is transferred to the recipient in perpetuity or for a\nfixed term (regardless of how the transaction is characterized), the\nCorresponding Source conveyed under this section must be accompanied\nby the Installation Information.  But this requirement does not apply\nif neither you nor any third party retains the ability to install\nmodified object code on the User Product (for example, the work has\nbeen installed in ROM).\n\n  The requirement to provide Installation Information does not include a\nrequirement to continue to provide support service, warranty, or updates\nfor a work that has been modified or installed by the recipient, or for\nthe User Product in which it has been modified or installed.  Access to a\nnetwork may be denied when the modification itself materially and\nadversely affects the operation of the network or violates the rules and\nprotocols for communication across the network.\n\n  Corresponding Source conveyed, and Installation Information provided,\nin accord with this section must be in a format that is publicly\ndocumented (and with an implementation available to the public in\nsource code form), and must require no special password or key for\nunpacking, reading or copying.\n\n  7. Additional Terms.\n\n  \"Additional permissions\" are terms that supplement the terms of this\nLicense by making exceptions from one or more of its conditions.\nAdditional permissions that are applicable to the entire Program shall\nbe treated as though they were included in this License, to the extent\nthat they are valid under applicable law.  If additional permissions\napply only to part of the Program, that part may be used separately\nunder those permissions, but the entire Program remains governed by\nthis License without regard to the additional permissions.\n\n  When you convey a copy of a covered work, you may at your option\nremove any additional permissions from that copy, or from any part of\nit.  (Additional permissions may be written to require their own\nremoval in certain cases when you modify the work.)  You may place\nadditional permissions on material, added by you to a covered work,\nfor which you have or can give appropriate copyright permission.\n\n  Notwithstanding any other provision of this License, for material you\nadd to a covered work, you may (if authorized by the copyright holders of\nthat material) supplement the terms of this License with terms:\n\n    a) Disclaiming warranty or limiting liability differently from the\n    terms of sections 15 and 16 of this License; or\n\n    b) Requiring preservation of specified reasonable legal notices or\n    author attributions in that material or in the Appropriate Legal\n    Notices displayed by works containing it; or\n\n    c) Prohibiting misrepresentation of the origin of that material, or\n    requiring that modified versions of such material be marked in\n    reasonable ways as different from the original version; or\n\n    d) Limiting the use for publicity purposes of names of licensors or\n    authors of the material; or\n\n    e) Declining to grant rights under trademark law for use of some\n    trade names, trademarks, or service marks; or\n\n    f) Requiring indemnification of licensors and authors of that\n    material by anyone who conveys the material (or modified versions of\n    it) with contractual assumptions of liability to the recipient, for\n    any liability that these contractual assumptions directly impose on\n    those licensors and authors.\n\n  All other non-permissive additional terms are considered \"further\nrestrictions\" within the meaning of section 10.  If the Program as you\nreceived it, or any part of it, contains a notice stating that it is\ngoverned by this License along with a term that is a further\nrestriction, you may remove that term.  If a license document contains\na further restriction but permits relicensing or conveying under this\nLicense, you may add to a covered work material governed by the terms\nof that license document, provided that the further restriction does\nnot survive such relicensing or conveying.\n\n  If you add terms to a covered work in accord with this section, you\nmust place, in the relevant source files, a statement of the\nadditional terms that apply to those files, or a notice indicating\nwhere to find the applicable terms.\n\n  Additional terms, permissive or non-permissive, may be stated in the\nform of a separately written license, or stated as exceptions;\nthe above requirements apply either way.\n\n  8. Termination.\n\n  You may not propagate or modify a covered work except as expressly\nprovided under this License.  Any attempt otherwise to propagate or\nmodify it is void, and will automatically terminate your rights under\nthis License (including any patent licenses granted under the third\nparagraph of section 11).\n\n  However, if you cease all violation of this License, then your\nlicense from a particular copyright holder is reinstated (a)\nprovisionally, unless and until the copyright holder explicitly and\nfinally terminates your license, and (b) permanently, if the copyright\nholder fails to notify you of the violation by some reasonable means\nprior to 60 days after the cessation.\n\n  Moreover, your license from a particular copyright holder is\nreinstated permanently if the copyright holder notifies you of the\nviolation by some reasonable means, this is the first time you have\nreceived notice of violation of this License (for any work) from that\ncopyright holder, and you cure the violation prior to 30 days after\nyour receipt of the notice.\n\n  Termination of your rights under this section does not terminate the\nlicenses of parties who have received copies or rights from you under\nthis License.  If your rights have been terminated and not permanently\nreinstated, you do not qualify to receive new licenses for the same\nmaterial under section 10.\n\n  9. Acceptance Not Required for Having Copies.\n\n  You are not required to accept this License in order to receive or\nrun a copy of the Program.  Ancillary propagation of a covered work\noccurring solely as a consequence of using peer-to-peer transmission\nto receive a copy likewise does not require acceptance.  However,\nnothing other than this License grants you permission to propagate or\nmodify any covered work.  These actions infringe copyright if you do\nnot accept this License.  Therefore, by modifying or propagating a\ncovered work, you indicate your acceptance of this License to do so.\n\n  10. Automatic Licensing of Downstream Recipients.\n\n  Each time you convey a covered work, the recipient automatically\nreceives a license from the original licensors, to run, modify and\npropagate that work, subject to this License.  You are not responsible\nfor enforcing compliance by third parties with this License.\n\n  An \"entity transaction\" is a transaction transferring control of an\norganization, or substantially all assets of one, or subdividing an\norganization, or merging organizations.  If propagation of a covered\nwork results from an entity transaction, each party to that\ntransaction who receives a copy of the work also receives whatever\nlicenses to the work the party's predecessor in interest had or could\ngive under the previous paragraph, plus a right to possession of the\nCorresponding Source of the work from the predecessor in interest, if\nthe predecessor has it or can get it with reasonable efforts.\n\n  You may not impose any further restrictions on the exercise of the\nrights granted or affirmed under this License.  For example, you may\nnot impose a license fee, royalty, or other charge for exercise of\nrights granted under this License, and you may not initiate litigation\n(including a cross-claim or counterclaim in a lawsuit) alleging that\nany patent claim is infringed by making, using, selling, offering for\nsale, or importing the Program or any portion of it.\n\n  11. Patents.\n\n  A \"contributor\" is a copyright holder who authorizes use under this\nLicense of the Program or a work on which the Program is based.  The\nwork thus licensed is called the contributor's \"contributor version\".\n\n  A contributor's \"essential patent claims\" are all patent claims\nowned or controlled by the contributor, whether already acquired or\nhereafter acquired, that would be infringed by some manner, permitted\nby this License, of making, using, or selling its contributor version,\nbut do not include claims that would be infringed only as a\nconsequence of further modification of the contributor version.  For\npurposes of this definition, \"control\" includes the right to grant\npatent sublicenses in a manner consistent with the requirements of\nthis License.\n\n  Each contributor grants you a non-exclusive, worldwide, royalty-free\npatent license under the contributor's essential patent claims, to\nmake, use, sell, offer for sale, import and otherwise run, modify and\npropagate the contents of its contributor version.\n\n  In the following three paragraphs, a \"patent license\" is any express\nagreement or commitment, however denominated, not to enforce a patent\n(such as an express permission to practice a patent or covenant not to\nsue for patent infringement).  To \"grant\" such a patent license to a\nparty means to make such an agreement or commitment not to enforce a\npatent against the party.\n\n  If you convey a covered work, knowingly relying on a patent license,\nand the Corresponding Source of the work is not available for anyone\nto copy, free of charge and under the terms of this License, through a\npublicly available network server or other readily accessible means,\nthen you must either (1) cause the Corresponding Source to be so\navailable, or (2) arrange to deprive yourself of the benefit of the\npatent license for this particular work, or (3) arrange, in a manner\nconsistent with the requirements of this License, to extend the patent\nlicense to downstream recipients.  \"Knowingly relying\" means you have\nactual knowledge that, but for the patent license, your conveying the\ncovered work in a country, or your recipient's use of the covered work\nin a country, would infringe one or more identifiable patents in that\ncountry that you have reason to believe are valid.\n\n  If, pursuant to or in connection with a single transaction or\narrangement, you convey, or propagate by procuring conveyance of, a\ncovered work, and grant a patent license to some of the parties\nreceiving the covered work authorizing them to use, propagate, modify\nor convey a specific copy of the covered work, then the patent license\nyou grant is automatically extended to all recipients of the covered\nwork and works based on it.\n\n  A patent license is \"discriminatory\" if it does not include within\nthe scope of its coverage, prohibits the exercise of, or is\nconditioned on the non-exercise of one or more of the rights that are\nspecifically granted under this License.  You may not convey a covered\nwork if you are a party to an arrangement with a third party that is\nin the business of distributing software, under which you make payment\nto the third party based on the extent of your activity of conveying\nthe work, and under which the third party grants, to any of the\nparties who would receive the covered work from you, a discriminatory\npatent license (a) in connection with copies of the covered work\nconveyed by you (or copies made from those copies), or (b) primarily\nfor and in connection with specific products or compilations that\ncontain the covered work, unless you entered into that arrangement,\nor that patent license was granted, prior to 28 March 2007.\n\n  Nothing in this License shall be construed as excluding or limiting\nany implied license or other defenses to infringement that may\notherwise be available to you under applicable patent law.\n\n  12. No Surrender of Others' Freedom.\n\n  If conditions are imposed on you (whether by court order, agreement or\notherwise) that contradict the conditions of this License, they do not\nexcuse you from the conditions of this License.  If you cannot convey a\ncovered work so as to satisfy simultaneously your obligations under this\nLicense and any other pertinent obligations, then as a consequence you may\nnot convey it at all.  For example, if you agree to terms that obligate you\nto collect a royalty for further conveying from those to whom you convey\nthe Program, the only way you could satisfy both those terms and this\nLicense would be to refrain entirely from conveying the Program.\n\n  13. Remote Network Interaction; Use with the GNU General Public License.\n\n  Notwithstanding any other provision of this License, if you modify the\nProgram, your modified version must prominently offer all users\ninteracting with it remotely through a computer network (if your version\nsupports such interaction) an opportunity to receive the Corresponding\nSource of your version by providing access to the Corresponding Source\nfrom a network server at no charge, through some standard or customary\nmeans of facilitating copying of software.  This Corresponding Source\nshall include the Corresponding Source for any work covered by version 3\nof the GNU General Public License that is incorporated pursuant to the\nfollowing paragraph.\n\n  Notwithstanding any other provision of this License, you have\npermission to link or combine any covered work with a work licensed\nunder version 3 of the GNU General Public License into a single\ncombined work, and to convey the resulting work.  The terms of this\nLicense will continue to apply to the part which is the covered work,\nbut the work with which it is combined will remain governed by version\n3 of the GNU General Public License.\n\n  14. Revised Versions of this License.\n\n  The Free Software Foundation may publish revised and/or new versions of\nthe GNU Affero General Public License from time to time.  Such new versions\nwill be similar in spirit to the present version, but may differ in detail to\naddress new problems or concerns.\n\n  Each version is given a distinguishing version number.  If the\nProgram specifies that a certain numbered version of the GNU Affero General\nPublic License \"or any later version\" applies to it, you have the\noption of following the terms and conditions either of that numbered\nversion or of any later version published by the Free Software\nFoundation.  If the Program does not specify a version number of the\nGNU Affero General Public License, you may choose any version ever published\nby the Free Software Foundation.\n\n  If the Program specifies that a proxy can decide which future\nversions of the GNU Affero General Public License can be used, that proxy's\npublic statement of acceptance of a version permanently authorizes you\nto choose that version for the Program.\n\n  Later license versions may give you additional or different\npermissions.  However, no additional obligations are imposed on any\nauthor or copyright holder as a result of your choosing to follow a\nlater version.\n\n  15. Disclaimer of Warranty.\n\n  THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY\nAPPLICABLE LAW.  EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT\nHOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM \"AS IS\" WITHOUT WARRANTY\nOF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,\nTHE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\nPURPOSE.  THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM\nIS WITH YOU.  SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF\nALL NECESSARY SERVICING, REPAIR OR CORRECTION.\n\n  16. Limitation of Liability.\n\n  IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING\nWILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS\nTHE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY\nGENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE\nUSE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF\nDATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD\nPARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),\nEVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF\nSUCH DAMAGES.\n\n  17. Interpretation of Sections 15 and 16.\n\n  If the disclaimer of warranty and limitation of liability provided\nabove cannot be given local legal effect according to their terms,\nreviewing courts shall apply local law that most closely approximates\nan absolute waiver of all civil liability in connection with the\nProgram, unless a warranty or assumption of liability accompanies a\ncopy of the Program in return for a fee.\n\n                     END OF TERMS AND CONDITIONS\n\n            How to Apply These Terms to Your New Programs\n\n  If you develop a new program, and you want it to be of the greatest\npossible use to the public, the best way to achieve this is to make it\nfree software which everyone can redistribute and change under these terms.\n\n  To do so, attach the following notices to the program.  It is safest\nto attach them to the start of each source file to most effectively\nstate the exclusion of warranty; and each file should have at least\nthe \"copyright\" line and a pointer to where the full notice is found.\n\n    <one line to give the program's name and a brief idea of what it does.>\n    Copyright (C) <year>  <name of author>\n\n    This program is free software: you can redistribute it and/or modify\n    it under the terms of the GNU Affero General Public License as published by\n    the Free Software Foundation, either version 3 of the License, or\n    (at your option) any later version.\n\n    This program is distributed in the hope that it will be useful,\n    but WITHOUT ANY WARRANTY; without even the implied warranty of\n    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n    GNU Affero General Public License for more details.\n\n    You should have received a copy of the GNU Affero General Public License\n    along with this program.  If not, see <https://www.gnu.org/licenses/>.\n\nAlso add information on how to contact you by electronic and paper mail.\n\n  If your software can interact with users remotely through a computer\nnetwork, you should also make sure that it provides a way for users to\nget its source.  For example, if your program is a web application, its\ninterface could display a \"Source\" link that leads users to an archive\nof the code.  There are many ways you could offer source, and different\nsolutions will be better for different programs; see section 13 for the\nspecific requirements.\n\n  You should also get your employer (if you work as a programmer) or school,\nif any, to sign a \"copyright disclaimer\" for the program, if necessary.\nFor more information on this, and how to apply and follow the GNU AGPL, see\n<https://www.gnu.org/licenses/>.\n","resolutions":{"ffjavascript":"0.2.59"},"dependencies":{"yup":"^0.32.11","axios":"0.27.2","blake2b":"^2.1.4","js-sha256":"^0.10.1","tweetnacl":"^1.0.3","wasmcurves":"0.2.1","web-worker":"^1.2.0","wasmbuilder":"^0.0.16","@vocdoni/proto":"1.15.4","tiny-invariant":"^1.3.1","readable-stream":"^4.4.2","@size-limit/file":"^8.2.4","iso-language-codes":"^1.1.0","@ethersproject/bytes":"^5.7.0","@ethersproject/units":"^5.7.0","@ethersproject/wallet":"^5.7.0","@ethersproject/address":"^5.7.0","@ethersproject/strings":"^5.7.0","@ethersproject/bignumber":"^5.7.0","@ethersproject/keccak256":"^5.7.0","@ethersproject/providers":"^5.7.1","@ethersproject/signing-key":"^5.7.0","@ethersproject/abstract-signer":"^5.7.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.3.0","husky":"^8.0.2","tslib":"^2.4.0","buffer":"^6.0.3","eslint":"^8.27.0","rimraf":"^3.0.2","rollup":"^3.22.0","blakejs":"^1.2.1","esbuild":"^0.17.10","snarkjs":"vocdoni/snarkjs#v0.7.0-groth16browser","ts-jest":"^29.0.3","prettier":"^2.7.1","size-limit":"^8.1.0","typescript":"^4.8.4","@types/jest":"^29.2.2","circomlibjs":"^0.1.7","ffjavascript":"0.2.59","blindsecp256k1":"^0.0.9","rollup-plugin-dts":"^5.1.1","@rollup/plugin-json":"^6.0.0","rollup-plugin-esbuild":"^5.0.0","eslint-config-prettier":"^8.5.0","eslint-plugin-prettier":"^4.2.1","@rollup/plugin-commonjs":"^24.0.0","@typescript-eslint/parser":"^5.42.1","@rollup/plugin-node-resolve":"^15.0.1","rollup-plugin-polyfill-node":"^0.12.0","@typescript-eslint/eslint-plugin":"^5.42.1"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.7.2_1705532809227_0.736046595486392","host":"s3://npm-registry-packages"}},"0.7.3":{"name":"@vocdoni/sdk","version":"0.7.3","keywords":["voting","blockchain","vocdoni"],"author":{"name":"Vocdoni"},"license":"AGPL-3.0-or-later","_id":"@vocdoni/sdk@0.7.3","maintainers":[{"name":"elboletaire","email":"elboletaire@underave.net"},{"name":"emmdim","email":"manos@vocdoni.io"},{"name":"marcvelmer","email":"marc1987@gmail.com"},{"name":"brickpop","email":"itsbrickpop@gmail.com"},{"name":"jpainan","email":"jpainan@vocdoni.io"}],"homepage":"https://github.com/vocdoni/vocdoni-sdk#readme","bugs":{"url":"https://github.com/vocdoni/vocdoni-sdk/issues"},"dist":{"shasum":"d43ed2fa32c7a2dee8d4b56199d49bd5474f6044","tarball":"https://registry.npmjs.org/@vocdoni/sdk/-/sdk-0.7.3.tgz","fileCount":10,"integrity":"sha512-PQy63OU+hh1qhydPEkC5+9fmn46WyH9eQtgOUGysWWt6hsHW3bBqLBuhml/ZBkakFDYyECGJeFApWg7n69muPA==","signatures":[{"sig":"MEUCIHKv67pvaQPK3djb00fOjsh9mCYcHtSwD8K3sUnNNNllAiEAkudf5mUvGStE67sBA38t/3CwgZgVW1cYviWbhijKbYU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":32088938},"jest":{"preset":"ts-jest","testEnvironment":"node"},"main":"dist/index.js","husky":{"hooks":{"pre-commit":"yarn lint"}},"types":"./dist/index.d.ts","module":"dist/index.mjs","engines":{"node":">=14"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./umd":{"types":"./dist/index.d.ts","default":"./dist/index.umd.js"},"./package.json":"./package.json"},"gitHead":"e1983f1b960a7812261d03b2b7afe6ab0093d341","scripts":{"lint":"eslint src test --ext .js,.jsx,.ts,.tsx","size":"size-limit","test":"yarn test:unit && yarn test:api && yarn test:census3 && yarn test:service && yarn test:integration","build":"rollup -c","clean":"rimraf node_modules dist","start":"yarn watch","watch":"yarn build --watch","lintfix":"yarn lint --fix","prepare":"yarn build","test:api":"jest test/api","ts-types":"tsc --emitDeclarationOnly --outDir dist","test:unit":"jest test/unit --verbose","test:census3":"yarn test:census3:api && yarn test:census3:integration","test:service":"yarn test:service:census && yarn test:service:anonymous && yarn test:service:csp","test:census3:api":"jest test/census3/api","test:integration":"yarn test:integration:account && yarn test:integration:csp && yarn test:integration:election && yarn test:integration:other","test:service:csp":"jest test/services/csp.test.ts","test:integration:zk":"jest test/integration/zk.test.ts --forceExit --runInBand","test:service:census":"jest test/services/census.test.ts","test:integration:csp":"jest test/integration/csp.test.ts","test:integration:other":"jest test/integration/other.test.ts","test:service:anonymous":"jest test/services/anonymous.test.ts","test:census3:integration":"jest test/census3/integration","test:integration:account":"jest test/integration/account.test.ts","test:integration:election":"jest test/integration/election.test.ts"},"_npmUser":{"name":"marcvelmer","email":"marc1987@gmail.com"},"prettier":{"semi":true,"printWidth":120,"singleQuote":true,"trailingComma":"es5"},"repository":{"url":"git+https://github.com/vocdoni/vocdoni-sdk.git","type":"git"},"size-limit":[{"path":"dist/index.js","limit":"2 MB"},{"path":"dist/index.mjs","limit":"2 MB"},{"path":"dist/index.umd.js","limit":"2 MB"}],"_npmVersion":"9.6.3","description":"⚒️An SDK for building applications on top of Vocdoni API","directories":{},"resolutions":{"ffjavascript":"0.2.59"},"_nodeVersion":"18.12.1","dependencies":{"yup":"^0.32.11","axios":"0.27.2","blake2b":"^2.1.4","js-sha256":"^0.10.1","tweetnacl":"^1.0.3","wasmcurves":"0.2.1","web-worker":"^1.2.0","wasmbuilder":"^0.0.16","@vocdoni/proto":"1.15.4","tiny-invariant":"^1.3.1","readable-stream":"^4.4.2","@size-limit/file":"^8.2.4","iso-language-codes":"^1.1.0","@ethersproject/bytes":"^5.7.0","@ethersproject/units":"^5.7.0","@ethersproject/wallet":"^5.7.0","@ethersproject/address":"^5.7.0","@ethersproject/strings":"^5.7.0","@ethersproject/bignumber":"^5.7.0","@ethersproject/keccak256":"^5.7.0","@ethersproject/providers":"^5.7.1","@ethersproject/signing-key":"^5.7.0","@ethersproject/abstract-signer":"^5.7.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.3.0","husky":"^8.0.2","tslib":"^2.4.0","buffer":"^6.0.3","eslint":"^8.27.0","rimraf":"^3.0.2","rollup":"^3.22.0","blakejs":"^1.2.1","esbuild":"^0.17.10","snarkjs":"github:vocdoni/snarkjs#v0.7.0-groth16browser","ts-jest":"^29.0.3","prettier":"^2.7.1","size-limit":"^8.1.0","typescript":"^4.8.4","@types/jest":"^29.2.2","circomlibjs":"^0.1.7","ffjavascript":"0.2.59","blindsecp256k1":"^0.0.9","rollup-plugin-dts":"^5.1.1","@rollup/plugin-json":"^6.0.0","rollup-plugin-esbuild":"^5.0.0","eslint-config-prettier":"^8.5.0","eslint-plugin-prettier":"^4.2.1","@rollup/plugin-commonjs":"^24.0.0","@typescript-eslint/parser":"^5.42.1","@rollup/plugin-node-resolve":"^15.0.1","rollup-plugin-polyfill-node":"^0.12.0","@typescript-eslint/eslint-plugin":"^5.42.1"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.7.3_1706022089590_0.23535181533486305","host":"s3://npm-registry-packages"}},"0.7.4":{"name":"@vocdoni/sdk","version":"0.7.4","keywords":["voting","blockchain","vocdoni"],"author":{"name":"Vocdoni"},"license":"AGPL-3.0-or-later","_id":"@vocdoni/sdk@0.7.4","maintainers":[{"name":"elboletaire","email":"elboletaire@underave.net"},{"name":"emmdim","email":"manos@vocdoni.io"},{"name":"marcvelmer","email":"marc1987@gmail.com"},{"name":"brickpop","email":"itsbrickpop@gmail.com"},{"name":"jpainan","email":"jpainan@vocdoni.io"}],"homepage":"https://github.com/vocdoni/vocdoni-sdk#readme","bugs":{"url":"https://github.com/vocdoni/vocdoni-sdk/issues"},"dist":{"shasum":"7bad36c5588520432af7025934ee45c010f93d76","tarball":"https://registry.npmjs.org/@vocdoni/sdk/-/sdk-0.7.4.tgz","fileCount":10,"integrity":"sha512-S1LPTPL+sFNsXzTjqGt0X4ceTW9Nx6bzxPM5PxCRaVCjBefygOJQYRbPXq1RXqkyuJMKrIKg1I+FM6XBe5I3XQ==","signatures":[{"sig":"MEYCIQC8Ki3VpwWWwk18WbltcuUXnWoUmJ8ek71p1ljXLHwhDQIhAPReFkGYESFZjh7FuJ2lUH3gtLS7Vt8tZWx02Ypve49n","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":32142451},"jest":{"preset":"ts-jest","testEnvironment":"node"},"main":"dist/index.js","husky":{"hooks":{"pre-commit":"yarn lint"}},"types":"./dist/index.d.ts","module":"dist/index.mjs","engines":{"node":">=14"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./umd":{"types":"./dist/index.d.ts","default":"./dist/index.umd.js"},"./package.json":"./package.json"},"gitHead":"c3cf1686411b4c12af58be1772a53124409ced16","scripts":{"lint":"eslint src test --ext .js,.jsx,.ts,.tsx","size":"size-limit","test":"yarn test:unit && yarn test:api && yarn test:census3 && yarn test:service && yarn test:integration","build":"rollup -c","clean":"rimraf node_modules dist","start":"yarn watch","watch":"yarn build --watch","lintfix":"yarn lint --fix","prepare":"yarn build","test:api":"jest test/api","ts-types":"tsc --emitDeclarationOnly --outDir dist","test:unit":"jest test/unit --verbose","test:census3":"yarn test:census3:api && yarn test:census3:integration","test:service":"yarn test:service:census && yarn test:service:anonymous && yarn test:service:csp","test:census3:api":"jest test/census3/api","test:integration":"yarn test:integration:account && yarn test:integration:csp && yarn test:integration:election && yarn test:integration:other","test:service:csp":"jest test/services/csp.test.ts","test:integration:zk":"jest test/integration/zk.test.ts --forceExit --runInBand","test:service:census":"jest test/services/census.test.ts","test:integration:csp":"jest test/integration/csp.test.ts","test:integration:other":"jest test/integration/other.test.ts","test:service:anonymous":"jest test/services/anonymous.test.ts","test:census3:integration":"jest test/census3/integration","test:integration:account":"jest test/integration/account.test.ts","test:integration:election":"jest test/integration/election.test.ts"},"_npmUser":{"name":"marcvelmer","email":"marc1987@gmail.com"},"prettier":{"semi":true,"printWidth":120,"singleQuote":true,"trailingComma":"es5"},"repository":{"url":"git+https://github.com/vocdoni/vocdoni-sdk.git","type":"git"},"size-limit":[{"path":"dist/index.js","limit":"2 MB"},{"path":"dist/index.mjs","limit":"2 MB"},{"path":"dist/index.umd.js","limit":"2 MB"}],"_npmVersion":"9.6.3","description":"⚒️An SDK for building applications on top of Vocdoni API","directories":{},"resolutions":{"ffjavascript":"0.2.59"},"_nodeVersion":"18.12.1","dependencies":{"yup":"^0.32.11","axios":"0.27.2","blake2b":"^2.1.4","js-sha256":"^0.10.1","tweetnacl":"^1.0.3","wasmcurves":"0.2.1","web-worker":"^1.2.0","wasmbuilder":"^0.0.16","@vocdoni/proto":"1.15.4","tiny-invariant":"^1.3.1","readable-stream":"^4.4.2","@size-limit/file":"^8.2.4","iso-language-codes":"^1.1.0","@ethersproject/bytes":"^5.7.0","@ethersproject/units":"^5.7.0","@ethersproject/wallet":"^5.7.0","@ethersproject/address":"^5.7.0","@ethersproject/strings":"^5.7.0","@ethersproject/bignumber":"^5.7.0","@ethersproject/keccak256":"^5.7.0","@ethersproject/providers":"^5.7.1","@ethersproject/signing-key":"^5.7.0","@ethersproject/abstract-signer":"^5.7.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.3.0","husky":"^8.0.2","tslib":"^2.4.0","buffer":"^6.0.3","eslint":"^8.27.0","rimraf":"^3.0.2","rollup":"^3.22.0","blakejs":"^1.2.1","esbuild":"^0.17.10","snarkjs":"github:vocdoni/snarkjs#v0.7.0-groth16browser","ts-jest":"^29.0.3","prettier":"^2.7.1","size-limit":"^8.1.0","typescript":"^4.8.4","@types/jest":"^29.2.2","circomlibjs":"^0.1.7","ffjavascript":"0.2.59","blindsecp256k1":"^0.0.9","rollup-plugin-dts":"^5.1.1","@rollup/plugin-json":"^6.0.0","rollup-plugin-esbuild":"^5.0.0","eslint-config-prettier":"^8.5.0","eslint-plugin-prettier":"^4.2.1","@rollup/plugin-commonjs":"^24.0.0","@typescript-eslint/parser":"^5.42.1","@rollup/plugin-node-resolve":"^15.0.1","rollup-plugin-polyfill-node":"^0.12.0","@typescript-eslint/eslint-plugin":"^5.42.1"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.7.4_1707223828055_0.971873043074801","host":"s3://npm-registry-packages"}},"0.7.5":{"name":"@vocdoni/sdk","version":"0.7.5","keywords":["voting","blockchain","vocdoni"],"author":{"name":"Vocdoni"},"license":"AGPL-3.0-or-later","_id":"@vocdoni/sdk@0.7.5","maintainers":[{"name":"elboletaire","email":"elboletaire@underave.net"},{"name":"emmdim","email":"manos@vocdoni.io"},{"name":"marcvelmer","email":"marc1987@gmail.com"},{"name":"brickpop","email":"itsbrickpop@gmail.com"},{"name":"jpainan","email":"jpainan@vocdoni.io"}],"homepage":"https://github.com/vocdoni/vocdoni-sdk#readme","bugs":{"url":"https://github.com/vocdoni/vocdoni-sdk/issues"},"dist":{"shasum":"31a0f2e208475205facc5aca22d8f2f064e0e29c","tarball":"https://registry.npmjs.org/@vocdoni/sdk/-/sdk-0.7.5.tgz","fileCount":10,"integrity":"sha512-jzrQkkz36B0DFd72QffzqC0chve710xedZbOtiUwBIfbZRyx3W8PHoV2Ej91ldB+Y9tmVVS1wkFdFG3ErzgOhA==","signatures":[{"sig":"MEUCIQCyStlWVrAZ7qgWFUW7pToLEDRqQvAExfcjpBors5AtJwIgdy+fpLPJYeOLPn06cI9zDG7EYuwzqRb2o8QIVit1SVw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":32151246},"jest":{"preset":"ts-jest","testEnvironment":"node"},"main":"dist/index.js","husky":{"hooks":{"pre-commit":"yarn lint"}},"types":"./dist/index.d.ts","module":"dist/index.mjs","engines":{"node":">=14"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./umd":{"types":"./dist/index.d.ts","default":"./dist/index.umd.js"},"./package.json":"./package.json"},"gitHead":"bdf207f8131516d12db5e8da21e9eb716fef432a","scripts":{"lint":"eslint src test --ext .js,.jsx,.ts,.tsx","size":"size-limit","test":"yarn test:unit && yarn test:api && yarn test:census3 && yarn test:service && yarn test:integration","build":"rollup -c","clean":"rimraf node_modules dist","start":"yarn watch","watch":"yarn build --watch","lintfix":"yarn lint --fix","prepare":"yarn build","test:api":"jest test/api","ts-types":"tsc --emitDeclarationOnly --outDir dist","test:unit":"jest test/unit --verbose","test:census3":"yarn test:census3:api && yarn test:census3:integration","test:service":"yarn test:service:census && yarn test:service:anonymous && yarn test:service:csp","test:census3:api":"jest test/census3/api","test:integration":"yarn test:integration:account && yarn test:integration:csp && yarn test:integration:election && yarn test:integration:other","test:service:csp":"jest test/services/csp.test.ts","test:integration:zk":"jest test/integration/zk.test.ts --forceExit --runInBand","test:service:census":"jest test/services/census.test.ts","test:integration:csp":"jest test/integration/csp.test.ts","test:integration:other":"jest test/integration/other.test.ts","test:service:anonymous":"jest test/services/anonymous.test.ts","test:census3:integration":"jest test/census3/integration","test:integration:account":"jest test/integration/account.test.ts","test:integration:election":"jest test/integration/election.test.ts"},"_npmUser":{"name":"marcvelmer","email":"marc1987@gmail.com"},"prettier":{"semi":true,"printWidth":120,"singleQuote":true,"trailingComma":"es5"},"repository":{"url":"git+https://github.com/vocdoni/vocdoni-sdk.git","type":"git"},"size-limit":[{"path":"dist/index.js","limit":"2 MB"},{"path":"dist/index.mjs","limit":"2 MB"},{"path":"dist/index.umd.js","limit":"2 MB"}],"_npmVersion":"9.6.3","description":"⚒️An SDK for building applications on top of Vocdoni API","directories":{},"resolutions":{"ffjavascript":"0.2.59"},"_nodeVersion":"18.12.1","dependencies":{"yup":"^0.32.11","axios":"0.27.2","blake2b":"^2.1.4","js-sha256":"^0.10.1","tweetnacl":"^1.0.3","wasmcurves":"0.2.1","web-worker":"^1.2.0","wasmbuilder":"^0.0.16","@vocdoni/proto":"1.15.4","tiny-invariant":"^1.3.1","readable-stream":"^4.4.2","@size-limit/file":"^8.2.4","iso-language-codes":"^1.1.0","@ethersproject/bytes":"^5.7.0","@ethersproject/units":"^5.7.0","@ethersproject/wallet":"^5.7.0","@ethersproject/address":"^5.7.0","@ethersproject/strings":"^5.7.0","@ethersproject/bignumber":"^5.7.0","@ethersproject/keccak256":"^5.7.0","@ethersproject/providers":"^5.7.1","@ethersproject/signing-key":"^5.7.0","@ethersproject/abstract-signer":"^5.7.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.3.0","husky":"^8.0.2","tslib":"^2.4.0","buffer":"^6.0.3","eslint":"^8.27.0","rimraf":"^3.0.2","rollup":"^3.22.0","blakejs":"^1.2.1","esbuild":"^0.17.10","snarkjs":"github:vocdoni/snarkjs#v0.7.0-groth16browser","ts-jest":"^29.0.3","prettier":"^2.7.1","size-limit":"^8.1.0","typescript":"^4.8.4","@types/jest":"^29.2.2","circomlibjs":"^0.1.7","ffjavascript":"0.2.59","blindsecp256k1":"^0.0.9","rollup-plugin-dts":"^5.1.1","@rollup/plugin-json":"^6.0.0","rollup-plugin-esbuild":"^5.0.0","eslint-config-prettier":"^8.5.0","eslint-plugin-prettier":"^4.2.1","@rollup/plugin-commonjs":"^24.0.0","@typescript-eslint/parser":"^5.42.1","@rollup/plugin-node-resolve":"^15.0.1","rollup-plugin-polyfill-node":"^0.12.0","@typescript-eslint/eslint-plugin":"^5.42.1"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.7.5_1708016797320_0.9612160673023755","host":"s3://npm-registry-packages"}},"0.8.0":{"name":"@vocdoni/sdk","version":"0.8.0","keywords":["voting","blockchain","vocdoni"],"author":{"name":"Vocdoni"},"license":"AGPL-3.0-or-later","_id":"@vocdoni/sdk@0.8.0","maintainers":[{"name":"elboletaire","email":"elboletaire@underave.net"},{"name":"emmdim","email":"manos@vocdoni.io"},{"name":"marcvelmer","email":"marc1987@gmail.com"},{"name":"brickpop","email":"itsbrickpop@gmail.com"},{"name":"jpainan","email":"jpainan@vocdoni.io"}],"homepage":"https://github.com/vocdoni/vocdoni-sdk#readme","bugs":{"url":"https://github.com/vocdoni/vocdoni-sdk/issues"},"dist":{"shasum":"5a7cbfcf13fbe7e4fb302ecb05071ae63f6ba067","tarball":"https://registry.npmjs.org/@vocdoni/sdk/-/sdk-0.8.0.tgz","fileCount":10,"integrity":"sha512-Kj2RG7b8Ifdspf1r9gcwPdtExojFzkhZg9l35mPRp2VD3P82QtMl1DDbDlRwSZ4ajSHkXH2dWgUZ0KKJH75ySg==","signatures":[{"sig":"MEUCICynSRYuuV5Aab08LOBv2KnG6bZkzIBfPQV50qBBtRndAiEA812OWYb26LWx2xAbF2TkSor4W9E0rxMydqynbjD6T+I=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":32030592},"jest":{"preset":"ts-jest","testEnvironment":"node"},"main":"dist/index.js","husky":{"hooks":{"pre-commit":"yarn lint"}},"types":"./dist/index.d.ts","module":"dist/index.mjs","engines":{"node":">=14"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./umd":{"types":"./dist/index.d.ts","default":"./dist/index.umd.js"},"./package.json":"./package.json"},"gitHead":"71366611184b8f7579ec0b033f40a056d49ebb94","scripts":{"lint":"eslint src test --ext .js,.jsx,.ts,.tsx","size":"size-limit","test":"yarn test:unit && yarn test:api && yarn test:census3 && yarn test:service && yarn test:integration","build":"rollup -c","clean":"rimraf node_modules dist","start":"yarn watch","watch":"yarn build --watch","lintfix":"yarn lint --fix","prepare":"yarn build","test:api":"jest test/api","ts-types":"tsc --emitDeclarationOnly --outDir dist","test:unit":"jest test/unit --verbose","test:census3":"yarn test:census3:api && yarn test:census3:integration","test:service":"yarn test:service:census && yarn test:service:anonymous && yarn test:service:csp","test:census3:api":"jest test/census3/api","test:integration":"yarn test:integration:account && yarn test:integration:csp && yarn test:integration:election && yarn test:integration:other","test:service:csp":"jest test/services/csp.test.ts","test:integration:zk":"jest test/integration/zk.test.ts --forceExit --runInBand","test:service:census":"jest test/services/census.test.ts","test:integration:csp":"jest test/integration/csp.test.ts","test:integration:other":"jest test/integration/other.test.ts","test:service:anonymous":"jest test/services/anonymous.test.ts","test:census3:integration":"jest test/census3/integration","test:integration:account":"jest test/integration/account.test.ts","test:integration:election":"jest test/integration/election.test.ts"},"_npmUser":{"name":"marcvelmer","email":"marc1987@gmail.com"},"prettier":{"semi":true,"printWidth":120,"singleQuote":true,"trailingComma":"es5"},"repository":{"url":"git+https://github.com/vocdoni/vocdoni-sdk.git","type":"git"},"size-limit":[{"path":"dist/index.js","limit":"2 MB"},{"path":"dist/index.mjs","limit":"2 MB"},{"path":"dist/index.umd.js","limit":"2 MB"}],"_npmVersion":"9.6.3","description":"⚒️An SDK for building applications on top of Vocdoni API","directories":{},"resolutions":{"ffjavascript":"0.2.59"},"_nodeVersion":"18.12.1","dependencies":{"yup":"^0.32.11","axios":"0.27.2","blake2b":"^2.1.4","js-sha256":"^0.10.1","tweetnacl":"^1.0.3","wasmcurves":"0.2.1","web-worker":"^1.2.0","wasmbuilder":"^0.0.16","@vocdoni/proto":"1.15.5","tiny-invariant":"^1.3.1","readable-stream":"^4.4.2","@size-limit/file":"^8.2.4","iso-language-codes":"^1.1.0","@ethersproject/bytes":"^5.7.0","@ethersproject/units":"^5.7.0","@ethersproject/wallet":"^5.7.0","@ethersproject/address":"^5.7.0","@ethersproject/strings":"^5.7.0","@ethersproject/bignumber":"^5.7.0","@ethersproject/keccak256":"^5.7.0","@ethersproject/providers":"^5.7.1","@ethersproject/signing-key":"^5.7.0","@ethersproject/abstract-signer":"^5.7.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.3.0","husky":"^8.0.2","tslib":"^2.4.0","buffer":"^6.0.3","eslint":"^8.27.0","rimraf":"^3.0.2","rollup":"^3.22.0","blakejs":"^1.2.1","esbuild":"^0.17.10","snarkjs":"github:vocdoni/snarkjs#v0.7.0-groth16browser","ts-jest":"^29.0.3","prettier":"^2.7.1","size-limit":"^8.1.0","typescript":"^4.8.4","@types/jest":"^29.2.2","circomlibjs":"^0.1.7","ffjavascript":"0.2.59","blindsecp256k1":"^0.0.9","rollup-plugin-dts":"^5.1.1","@rollup/plugin-json":"^6.0.0","rollup-plugin-esbuild":"^5.0.0","eslint-config-prettier":"^8.5.0","eslint-plugin-prettier":"^4.2.1","@rollup/plugin-commonjs":"^24.0.0","@typescript-eslint/parser":"^5.42.1","@rollup/plugin-node-resolve":"^15.0.1","rollup-plugin-polyfill-node":"^0.12.0","@typescript-eslint/eslint-plugin":"^5.42.1"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.8.0_1713518190875_0.0753229115186751","host":"s3://npm-registry-packages"}},"0.8.1":{"name":"@vocdoni/sdk","version":"0.8.1","keywords":["voting","blockchain","vocdoni"],"author":{"name":"Vocdoni"},"license":"AGPL-3.0-or-later","_id":"@vocdoni/sdk@0.8.1","maintainers":[{"name":"elboletaire","email":"elboletaire@underave.net"},{"name":"emmdim","email":"manos@vocdoni.io"},{"name":"marcvelmer","email":"marc1987@gmail.com"},{"name":"brickpop","email":"itsbrickpop@gmail.com"},{"name":"jpainan","email":"jpainan@vocdoni.io"}],"homepage":"https://github.com/vocdoni/vocdoni-sdk#readme","bugs":{"url":"https://github.com/vocdoni/vocdoni-sdk/issues"},"dist":{"shasum":"c9d495f73d852fa5f97ca82f9c4b397f29d7cb6e","tarball":"https://registry.npmjs.org/@vocdoni/sdk/-/sdk-0.8.1.tgz","fileCount":10,"integrity":"sha512-3almLJNpBPXP4H05Axh/EOruC0M4WYFwNov1MQ3ir9EDsLtIYB/PP9PVplRxdtxuon1T9ibW+OpCxOTbk4QlFQ==","signatures":[{"sig":"MEUCIGE3D8mIzBB3L1gm+DoQLDtmbQiXbWUo5wAKgoVqTiT6AiEAsIQLUpTh0kz+pOwQhp3OKHnoRml1ShY77C9V/0hNWXg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":32061026},"jest":{"preset":"ts-jest","testEnvironment":"node"},"main":"dist/index.js","husky":{"hooks":{"pre-commit":"yarn lint"}},"types":"./dist/index.d.ts","module":"dist/index.mjs","engines":{"node":">=14"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./umd":{"types":"./dist/index.d.ts","default":"./dist/index.umd.js"},"./package.json":"./package.json"},"gitHead":"ee6390524b82e6ef535da03c0e3bb826e450e622","scripts":{"lint":"eslint src test --ext .js,.jsx,.ts,.tsx","size":"size-limit","test":"yarn test:unit && yarn test:api && yarn test:census3 && yarn test:service && yarn test:integration","build":"rollup -c","clean":"rimraf node_modules dist","start":"yarn watch","watch":"yarn build --watch","lintfix":"yarn lint --fix","prepare":"yarn build","test:api":"jest test/api","ts-types":"tsc --emitDeclarationOnly --outDir dist","test:unit":"jest test/unit --verbose","test:census3":"yarn test:census3:api && yarn test:census3:integration","test:service":"yarn test:service:census && yarn test:service:anonymous && yarn test:service:csp","test:census3:api":"jest test/census3/api","test:integration":"yarn test:integration:account && yarn test:integration:csp && yarn test:integration:election && yarn test:integration:other","test:service:csp":"jest test/services/csp.test.ts","test:integration:zk":"jest test/integration/zk.test.ts --forceExit --runInBand","test:service:census":"jest test/services/census.test.ts","test:integration:csp":"jest test/integration/csp.test.ts","test:integration:other":"jest test/integration/other.test.ts","test:service:anonymous":"jest test/services/anonymous.test.ts","test:census3:integration":"jest test/census3/integration","test:integration:account":"jest test/integration/account.test.ts","test:integration:election":"jest test/integration/election.test.ts"},"_npmUser":{"name":"marcvelmer","email":"marc1987@gmail.com"},"prettier":{"semi":true,"printWidth":120,"singleQuote":true,"trailingComma":"es5"},"repository":{"url":"git+https://github.com/vocdoni/vocdoni-sdk.git","type":"git"},"size-limit":[{"path":"dist/index.js","limit":"2 MB"},{"path":"dist/index.mjs","limit":"2 MB"},{"path":"dist/index.umd.js","limit":"2 MB"}],"_npmVersion":"9.6.3","description":"⚒️An SDK for building applications on top of Vocdoni API","directories":{},"resolutions":{"ffjavascript":"0.2.59"},"_nodeVersion":"18.12.1","dependencies":{"yup":"^0.32.11","axios":"0.28.1","blake2b":"^2.1.4","js-sha256":"^0.10.1","tweetnacl":"^1.0.3","wasmcurves":"0.2.1","web-worker":"^1.2.0","wasmbuilder":"^0.0.16","@vocdoni/proto":"1.15.5","tiny-invariant":"^1.3.1","readable-stream":"^4.4.2","@size-limit/file":"^8.2.4","iso-language-codes":"^1.1.0","@ethersproject/bytes":"^5.7.0","@ethersproject/units":"^5.7.0","@ethersproject/wallet":"^5.7.0","@ethersproject/address":"^5.7.0","@ethersproject/strings":"^5.7.0","@ethersproject/bignumber":"^5.7.0","@ethersproject/keccak256":"^5.7.0","@ethersproject/providers":"^5.7.1","@ethersproject/signing-key":"^5.7.0","@ethersproject/abstract-signer":"^5.7.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.3.0","husky":"^8.0.2","tslib":"^2.4.0","buffer":"^6.0.3","eslint":"^8.27.0","rimraf":"^3.0.2","rollup":"^3.22.0","blakejs":"^1.2.1","esbuild":"^0.17.10","snarkjs":"github:vocdoni/snarkjs#v0.7.0-groth16browser","ts-jest":"^29.0.3","prettier":"^2.7.1","size-limit":"^8.1.0","typescript":"^4.8.4","@types/jest":"^29.2.2","circomlibjs":"^0.1.7","ffjavascript":"0.2.59","blindsecp256k1":"^0.0.9","rollup-plugin-dts":"^5.1.1","@rollup/plugin-json":"^6.0.0","rollup-plugin-esbuild":"^5.0.0","eslint-config-prettier":"^8.5.0","eslint-plugin-prettier":"^4.2.1","@rollup/plugin-commonjs":"^24.0.0","@typescript-eslint/parser":"^5.42.1","@rollup/plugin-node-resolve":"^15.0.1","rollup-plugin-polyfill-node":"^0.12.0","@typescript-eslint/eslint-plugin":"^5.42.1"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.8.1_1716286507801_0.9794144483576446","host":"s3://npm-registry-packages"}},"0.8.2":{"name":"@vocdoni/sdk","version":"0.8.2","keywords":["voting","blockchain","vocdoni"],"author":{"name":"Vocdoni"},"license":"AGPL-3.0-or-later","_id":"@vocdoni/sdk@0.8.2","maintainers":[{"name":"elboletaire","email":"elboletaire@underave.net"},{"name":"emmdim","email":"manos@vocdoni.io"},{"name":"marcvelmer","email":"marc1987@gmail.com"},{"name":"brickpop","email":"itsbrickpop@gmail.com"},{"name":"jpainan","email":"jpainan@vocdoni.io"}],"homepage":"https://github.com/vocdoni/vocdoni-sdk#readme","bugs":{"url":"https://github.com/vocdoni/vocdoni-sdk/issues"},"dist":{"shasum":"3ab3948dcbaf50eb5d2bf573cf459c09ececec5e","tarball":"https://registry.npmjs.org/@vocdoni/sdk/-/sdk-0.8.2.tgz","fileCount":10,"integrity":"sha512-UCquK3srSA2/fxywpqcr53Sts81sz8oLNwG7XKlUcdvPpNbXAzOXsO9reLgprqiAEud27DYV9/6Rf68TttBZsQ==","signatures":[{"sig":"MEQCIEGISdlo8uxfmQZczz/TbTvbSy4qSiMiTaBwqfUBGB0pAiBswu9Yz5dDm3yC5H8qMrxi/s6fP/l5u7jU6jvDjLhHyA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":32114674},"jest":{"preset":"ts-jest","testEnvironment":"node"},"main":"dist/index.js","husky":{"hooks":{"pre-commit":"yarn lint"}},"types":"./dist/index.d.ts","module":"dist/index.mjs","engines":{"node":">=14"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./umd":{"types":"./dist/index.d.ts","default":"./dist/index.umd.js"},"./package.json":"./package.json"},"gitHead":"643931984af89e9dc6d8fd1972cf595cf03c0473","scripts":{"lint":"eslint src test --ext .js,.jsx,.ts,.tsx","size":"size-limit","test":"yarn test:unit && yarn test:api && yarn test:census3 && yarn test:service && yarn test:integration","build":"rollup -c","clean":"rimraf node_modules dist","start":"yarn watch","watch":"yarn build --watch","lintfix":"yarn lint --fix","prepare":"yarn build","test:api":"jest test/api","ts-types":"tsc --emitDeclarationOnly --outDir dist","test:unit":"jest test/unit --verbose","test:census3":"yarn test:census3:api && yarn test:census3:integration","test:service":"yarn test:service:census && yarn test:service:anonymous && yarn test:service:csp","test:census3:api":"jest test/census3/api","test:integration":"yarn test:integration:account && yarn test:integration:csp && yarn test:integration:election && yarn test:integration:other","test:service:csp":"jest test/services/csp.test.ts","test:integration:zk":"jest test/integration/zk.test.ts --forceExit --runInBand","test:service:census":"jest test/services/census.test.ts","test:integration:csp":"jest test/integration/csp.test.ts","test:integration:other":"jest test/integration/other.test.ts","test:service:anonymous":"jest test/services/anonymous.test.ts","test:census3:integration":"jest test/census3/integration","test:integration:account":"jest test/integration/account.test.ts","test:integration:election":"jest test/integration/election.test.ts"},"_npmUser":{"name":"marcvelmer","email":"marc1987@gmail.com"},"prettier":{"semi":true,"printWidth":120,"singleQuote":true,"trailingComma":"es5"},"repository":{"url":"git+https://github.com/vocdoni/vocdoni-sdk.git","type":"git"},"size-limit":[{"path":"dist/index.js","limit":"2 MB"},{"path":"dist/index.mjs","limit":"2 MB"},{"path":"dist/index.umd.js","limit":"2 MB"}],"_npmVersion":"9.6.3","description":"⚒️An SDK for building applications on top of Vocdoni API","directories":{},"resolutions":{"ffjavascript":"0.2.59"},"_nodeVersion":"18.12.1","dependencies":{"yup":"^0.32.11","axios":"0.28.1","blake2b":"^2.1.4","js-sha256":"^0.10.1","tweetnacl":"^1.0.3","wasmcurves":"0.2.1","web-worker":"^1.2.0","wasmbuilder":"^0.0.16","@vocdoni/proto":"1.15.8","tiny-invariant":"^1.3.1","readable-stream":"^4.4.2","@size-limit/file":"^8.2.4","iso-language-codes":"^1.1.0","@ethersproject/bytes":"^5.7.0","@ethersproject/units":"^5.7.0","@ethersproject/wallet":"^5.7.0","@ethersproject/address":"^5.7.0","@ethersproject/strings":"^5.7.0","@ethersproject/bignumber":"^5.7.0","@ethersproject/keccak256":"^5.7.0","@ethersproject/providers":"^5.7.1","@ethersproject/signing-key":"^5.7.0","@ethersproject/abstract-signer":"^5.7.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.3.0","husky":"^8.0.2","tslib":"^2.4.0","buffer":"^6.0.3","eslint":"^8.27.0","rimraf":"^3.0.2","rollup":"^3.22.0","blakejs":"^1.2.1","esbuild":"^0.17.10","snarkjs":"github:vocdoni/snarkjs#v0.7.0-groth16browser","ts-jest":"^29.0.3","prettier":"^2.7.1","size-limit":"^8.1.0","typescript":"^4.8.4","@types/jest":"^29.2.2","circomlibjs":"^0.1.7","ffjavascript":"0.2.59","blindsecp256k1":"^0.0.9","rollup-plugin-dts":"^5.1.1","@rollup/plugin-json":"^6.0.0","rollup-plugin-esbuild":"^5.0.0","eslint-config-prettier":"^8.5.0","eslint-plugin-prettier":"^4.2.1","@rollup/plugin-commonjs":"^24.0.0","@typescript-eslint/parser":"^5.42.1","@rollup/plugin-node-resolve":"^15.0.1","rollup-plugin-polyfill-node":"^0.12.0","@typescript-eslint/eslint-plugin":"^5.42.1"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.8.2_1718199186168_0.30415453283084215","host":"s3://npm-registry-packages"}},"0.8.3":{"name":"@vocdoni/sdk","version":"0.8.3","keywords":["voting","blockchain","vocdoni"],"author":{"name":"Vocdoni"},"license":"AGPL-3.0-or-later","_id":"@vocdoni/sdk@0.8.3","maintainers":[{"name":"elboletaire","email":"elboletaire@underave.net"},{"name":"emmdim","email":"manos@vocdoni.io"},{"name":"marcvelmer","email":"marc1987@gmail.com"},{"name":"brickpop","email":"itsbrickpop@gmail.com"},{"name":"jpainan","email":"jpainan@vocdoni.io"}],"homepage":"https://github.com/vocdoni/vocdoni-sdk#readme","bugs":{"url":"https://github.com/vocdoni/vocdoni-sdk/issues"},"dist":{"shasum":"379136c68bd4d098f2aeb9fa0c84eff58eab13ea","tarball":"https://registry.npmjs.org/@vocdoni/sdk/-/sdk-0.8.3.tgz","fileCount":10,"integrity":"sha512-Tu0AzWmYnlpvO8QZaRKKcISAk+kLRTx2rsXZc3S6DICnieu5GHrjx/owveLnCroKYkZ2Y5uNM3BfmMq54kSxIg==","signatures":[{"sig":"MEUCIQCRWLp0RdWRo1m9e6l4P5C2eaQihAB1mvOajy2arlViNwIgELYrhaQukrlxet9y82fZ5dwVXvsGFTiCRuvL4n/uEAU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":32148311},"jest":{"preset":"ts-jest","testEnvironment":"node"},"main":"dist/index.js","husky":{"hooks":{"pre-commit":"yarn lint"}},"types":"./dist/index.d.ts","module":"dist/index.mjs","engines":{"node":">=14"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./umd":{"types":"./dist/index.d.ts","default":"./dist/index.umd.js"},"./package.json":"./package.json"},"gitHead":"620dbc16a0c36e655d31c8907120ec87284c7a7e","scripts":{"lint":"eslint src test --ext .js,.jsx,.ts,.tsx","size":"size-limit","test":"yarn test:unit && yarn test:api && yarn test:census3 && yarn test:service && yarn test:integration","build":"rollup -c","clean":"rimraf node_modules dist","start":"yarn watch","watch":"yarn build --watch","lintfix":"yarn lint --fix","prepare":"yarn build","test:api":"jest test/api","ts-types":"tsc --emitDeclarationOnly --outDir dist","test:unit":"jest test/unit --verbose","test:census3":"yarn test:census3:api && yarn test:census3:integration","test:service":"yarn test:service:census && yarn test:service:anonymous && yarn test:service:csp","test:census3:api":"jest test/census3/api","test:integration":"yarn test:integration:account && yarn test:integration:csp && yarn test:integration:election && yarn test:integration:other","test:service:csp":"jest test/services/csp.test.ts","test:integration:zk":"jest test/integration/zk.test.ts --forceExit --runInBand","test:service:census":"jest test/services/census.test.ts","test:integration:csp":"jest test/integration/csp.test.ts","test:integration:other":"jest test/integration/other.test.ts","test:service:anonymous":"jest test/services/anonymous.test.ts","test:census3:integration":"jest test/census3/integration","test:integration:account":"jest test/integration/account.test.ts","test:integration:election":"jest test/integration/election.test.ts"},"_npmUser":{"name":"marcvelmer","email":"marc1987@gmail.com"},"prettier":{"semi":true,"printWidth":120,"singleQuote":true,"trailingComma":"es5"},"repository":{"url":"git+https://github.com/vocdoni/vocdoni-sdk.git","type":"git"},"size-limit":[{"path":"dist/index.js","limit":"2 MB"},{"path":"dist/index.mjs","limit":"2 MB"},{"path":"dist/index.umd.js","limit":"2 MB"}],"_npmVersion":"9.6.3","description":"⚒️An SDK for building applications on top of Vocdoni API","directories":{},"resolutions":{"ffjavascript":"0.2.59"},"_nodeVersion":"18.12.1","dependencies":{"yup":"^0.32.11","axios":"0.28.1","blake2b":"^2.1.4","js-sha256":"^0.10.1","tweetnacl":"^1.0.3","wasmcurves":"0.2.1","web-worker":"^1.2.0","wasmbuilder":"^0.0.16","@vocdoni/proto":"1.15.8","tiny-invariant":"^1.3.1","readable-stream":"^4.4.2","@size-limit/file":"^8.2.4","iso-language-codes":"^1.1.0","@ethersproject/bytes":"^5.7.0","@ethersproject/units":"^5.7.0","@ethersproject/wallet":"^5.7.0","@ethersproject/address":"^5.7.0","@ethersproject/strings":"^5.7.0","@ethersproject/bignumber":"^5.7.0","@ethersproject/keccak256":"^5.7.0","@ethersproject/providers":"^5.7.1","@ethersproject/signing-key":"^5.7.0","@ethersproject/abstract-signer":"^5.7.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.3.0","husky":"^8.0.2","tslib":"^2.4.0","buffer":"^6.0.3","eslint":"^8.27.0","rimraf":"^3.0.2","rollup":"^3.22.0","blakejs":"^1.2.1","esbuild":"^0.17.10","snarkjs":"github:vocdoni/snarkjs#v0.7.0-groth16browser","ts-jest":"^29.0.3","prettier":"^2.7.1","size-limit":"^8.1.0","typescript":"^4.8.4","@types/jest":"^29.2.2","circomlibjs":"^0.1.7","ffjavascript":"0.2.59","blindsecp256k1":"^0.0.9","rollup-plugin-dts":"^5.1.1","@rollup/plugin-json":"^6.0.0","rollup-plugin-esbuild":"^5.0.0","eslint-config-prettier":"^8.5.0","eslint-plugin-prettier":"^4.2.1","@rollup/plugin-commonjs":"^24.0.0","@typescript-eslint/parser":"^5.42.1","@rollup/plugin-node-resolve":"^15.0.1","rollup-plugin-polyfill-node":"^0.12.0","@typescript-eslint/eslint-plugin":"^5.42.1"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.8.3_1720178744434_0.6564802075674914","host":"s3://npm-registry-packages"}},"0.9.0":{"name":"@vocdoni/sdk","version":"0.9.0","keywords":["voting","blockchain","vocdoni"],"author":{"name":"Vocdoni"},"license":"AGPL-3.0-or-later","_id":"@vocdoni/sdk@0.9.0","maintainers":[{"name":"elboletaire","email":"elboletaire@underave.net"},{"name":"emmdim","email":"manos@vocdoni.org"},{"name":"marcvelmer","email":"marc1987@gmail.com"},{"name":"brickpop","email":"itsbrickpop@gmail.com"},{"name":"jpainan","email":"jpainan@vocdoni.io"}],"dist":{"shasum":"80c56054d5b775451f16aabdbdfbfb743c4089b7","tarball":"https://registry.npmjs.org/@vocdoni/sdk/-/sdk-0.9.0.tgz","fileCount":113,"integrity":"sha512-KTddq6hEh5rfZKN2kVcz6f9a69TMtxR2aciYdXqoBiH6Rc/I031AEIRfymn8+D3oEuFolNTNCEn5QTZoXehjaw==","signatures":[{"sig":"MEUCIQDC91MteMDCcDm/3ogDtNVgMp1JtGwiR9SZT+lrcTGHeQIgSNoDSJyGMC+lMhi2Q/0A7C5UqEyJ8GlCI8g0XMLAD4M=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1366506},"jest":{"preset":"ts-jest","testEnvironment":"node"},"main":"src/index.ts","husky":{"hooks":{"pre-commit":"yarn lint"}},"output":"dist/index","engines":{"node":">=14"},"scripts":{"lint":"eslint src test --ext .js,.jsx,.ts,.tsx","size":"size-limit","test":"yarn test:unit && yarn test:api && yarn test:census3 && yarn test:service && yarn test:integration","build":"rollup -c","clean":"rimraf node_modules dist","start":"yarn watch","watch":"yarn build --watch","lintfix":"yarn lint --fix","prepack":"clean-package","postpack":"mv -fv package.json.backup package.json","test:api":"jest test/api","ts-types":"tsc --emitDeclarationOnly --outDir dist","test:unit":"jest test/unit --verbose","test:census3":"yarn test:census3:api && yarn test:census3:integration","test:service":"yarn test:service:census && yarn test:service:anonymous && yarn test:service:csp","test:census3:api":"jest test/census3/api","test:integration":"yarn test:integration:account && yarn test:integration:csp && yarn test:integration:election && yarn test:integration:other","test:service:csp":"jest test/services/csp.test.ts","test:integration:zk":"jest test/integration/zk.test.ts --forceExit --runInBand","test:service:census":"jest test/services/census.test.ts","test:integration:csp":"jest test/integration/csp.test.ts","test:integration:other":"jest test/integration/other.test.ts","test:service:anonymous":"jest test/services/anonymous.test.ts","test:census3:integration":"jest test/census3/integration","test:integration:account":"jest test/integration/account.test.ts","test:integration:election":"jest test/integration/election.test.ts"},"_npmUser":{"name":"emmdim","email":"manos@vocdoni.org"},"prettier":{"semi":true,"printWidth":120,"singleQuote":true,"trailingComma":"es5"},"repository":{"url":"https://github.com/vocdoni/vocdoni-sdk.git","type":"git"},"size-limit":[{"path":"dist/index.js","limit":"2 MB"},{"path":"dist/index.mjs","limit":"2 MB"},{"path":"dist/index.umd.js","limit":"2 MB"}],"description":"⚒️An SDK for building applications on top of Vocdoni API","directories":{},"licenseText":"                    GNU AFFERO GENERAL PUBLIC LICENSE\n                       Version 3, 19 November 2007\n\n Copyright (C) 2020 Vocdoni Roots MTU, <https://vocdoni.io>\n Everyone is permitted to copy and distribute verbatim copies\n of this license document, but changing it is not allowed.\n\n                            Preamble\n\n  The GNU Affero General Public License is a free, copyleft license for\nsoftware and other kinds of works, specifically designed to ensure\ncooperation with the community in the case of network server software.\n\n  The licenses for most software and other practical works are designed\nto take away your freedom to share and change the works.  By contrast,\nour General Public Licenses are intended to guarantee your freedom to\nshare and change all versions of a program--to make sure it remains free\nsoftware for all its users.\n\n  When we speak of free software, we are referring to freedom, not\nprice.  Our General Public Licenses are designed to make sure that you\nhave the freedom to distribute copies of free software (and charge for\nthem if you wish), that you receive source code or can get it if you\nwant it, that you can change the software or use pieces of it in new\nfree programs, and that you know you can do these things.\n\n  Developers that use our General Public Licenses protect your rights\nwith two steps: (1) assert copyright on the software, and (2) offer\nyou this License which gives you legal permission to copy, distribute\nand/or modify the software.\n\n  A secondary benefit of defending all users' freedom is that\nimprovements made in alternate versions of the program, if they\nreceive widespread use, become available for other developers to\nincorporate.  Many developers of free software are heartened and\nencouraged by the resulting cooperation.  However, in the case of\nsoftware used on network servers, this result may fail to come about.\nThe GNU General Public License permits making a modified version and\nletting the public access it on a server without ever releasing its\nsource code to the public.\n\n  The GNU Affero General Public License is designed specifically to\nensure that, in such cases, the modified source code becomes available\nto the community.  It requires the operator of a network server to\nprovide the source code of the modified version running there to the\nusers of that server.  Therefore, public use of a modified version, on\na publicly accessible server, gives the public access to the source\ncode of the modified version.\n\n  An older license, called the Affero General Public License and\npublished by Affero, was designed to accomplish similar goals.  This is\na different license, not a version of the Affero GPL, but Affero has\nreleased a new version of the Affero GPL which permits relicensing under\nthis license.\n\n  The precise terms and conditions for copying, distribution and\nmodification follow.\n\n                       TERMS AND CONDITIONS\n\n  0. Definitions.\n\n  \"This License\" refers to version 3 of the GNU Affero General Public License.\n\n  \"Copyright\" also means copyright-like laws that apply to other kinds of\nworks, such as semiconductor masks.\n\n  \"The Program\" refers to any copyrightable work licensed under this\nLicense.  Each licensee is addressed as \"you\".  \"Licensees\" and\n\"recipients\" may be individuals or organizations.\n\n  To \"modify\" a work means to copy from or adapt all or part of the work\nin a fashion requiring copyright permission, other than the making of an\nexact copy.  The resulting work is called a \"modified version\" of the\nearlier work or a work \"based on\" the earlier work.\n\n  A \"covered work\" means either the unmodified Program or a work based\non the Program.\n\n  To \"propagate\" a work means to do anything with it that, without\npermission, would make you directly or secondarily liable for\ninfringement under applicable copyright law, except executing it on a\ncomputer or modifying a private copy.  Propagation includes copying,\ndistribution (with or without modification), making available to the\npublic, and in some countries other activities as well.\n\n  To \"convey\" a work means any kind of propagation that enables other\nparties to make or receive copies.  Mere interaction with a user through\na computer network, with no transfer of a copy, is not conveying.\n\n  An interactive user interface displays \"Appropriate Legal Notices\"\nto the extent that it includes a convenient and prominently visible\nfeature that (1) displays an appropriate copyright notice, and (2)\ntells the user that there is no warranty for the work (except to the\nextent that warranties are provided), that licensees may convey the\nwork under this License, and how to view a copy of this License.  If\nthe interface presents a list of user commands or options, such as a\nmenu, a prominent item in the list meets this criterion.\n\n  1. Source Code.\n\n  The \"source code\" for a work means the preferred form of the work\nfor making modifications to it.  \"Object code\" means any non-source\nform of a work.\n\n  A \"Standard Interface\" means an interface that either is an official\nstandard defined by a recognized standards body, or, in the case of\ninterfaces specified for a particular programming language, one that\nis widely used among developers working in that language.\n\n  The \"System Libraries\" of an executable work include anything, other\nthan the work as a whole, that (a) is included in the normal form of\npackaging a Major Component, but which is not part of that Major\nComponent, and (b) serves only to enable use of the work with that\nMajor Component, or to implement a Standard Interface for which an\nimplementation is available to the public in source code form.  A\n\"Major Component\", in this context, means a major essential component\n(kernel, window system, and so on) of the specific operating system\n(if any) on which the executable work runs, or a compiler used to\nproduce the work, or an object code interpreter used to run it.\n\n  The \"Corresponding Source\" for a work in object code form means all\nthe source code needed to generate, install, and (for an executable\nwork) run the object code and to modify the work, including scripts to\ncontrol those activities.  However, it does not include the work's\nSystem Libraries, or general-purpose tools or generally available free\nprograms which are used unmodified in performing those activities but\nwhich are not part of the work.  For example, Corresponding Source\nincludes interface definition files associated with source files for\nthe work, and the source code for shared libraries and dynamically\nlinked subprograms that the work is specifically designed to require,\nsuch as by intimate data communication or control flow between those\nsubprograms and other parts of the work.\n\n  The Corresponding Source need not include anything that users\ncan regenerate automatically from other parts of the Corresponding\nSource.\n\n  The Corresponding Source for a work in source code form is that\nsame work.\n\n  2. Basic Permissions.\n\n  All rights granted under this License are granted for the term of\ncopyright on the Program, and are irrevocable provided the stated\nconditions are met.  This License explicitly affirms your unlimited\npermission to run the unmodified Program.  The output from running a\ncovered work is covered by this License only if the output, given its\ncontent, constitutes a covered work.  This License acknowledges your\nrights of fair use or other equivalent, as provided by copyright law.\n\n  You may make, run and propagate covered works that you do not\nconvey, without conditions so long as your license otherwise remains\nin force.  You may convey covered works to others for the sole purpose\nof having them make modifications exclusively for you, or provide you\nwith facilities for running those works, provided that you comply with\nthe terms of this License in conveying all material for which you do\nnot control copyright.  Those thus making or running the covered works\nfor you must do so exclusively on your behalf, under your direction\nand control, on terms that prohibit them from making any copies of\nyour copyrighted material outside their relationship with you.\n\n  Conveying under any other circumstances is permitted solely under\nthe conditions stated below.  Sublicensing is not allowed; section 10\nmakes it unnecessary.\n\n  3. Protecting Users' Legal Rights From Anti-Circumvention Law.\n\n  No covered work shall be deemed part of an effective technological\nmeasure under any applicable law fulfilling obligations under article\n11 of the WIPO copyright treaty adopted on 20 December 1996, or\nsimilar laws prohibiting or restricting circumvention of such\nmeasures.\n\n  When you convey a covered work, you waive any legal power to forbid\ncircumvention of technological measures to the extent such circumvention\nis effected by exercising rights under this License with respect to\nthe covered work, and you disclaim any intention to limit operation or\nmodification of the work as a means of enforcing, against the work's\nusers, your or third parties' legal rights to forbid circumvention of\ntechnological measures.\n\n  4. Conveying Verbatim Copies.\n\n  You may convey verbatim copies of the Program's source code as you\nreceive it, in any medium, provided that you conspicuously and\nappropriately publish on each copy an appropriate copyright notice;\nkeep intact all notices stating that this License and any\nnon-permissive terms added in accord with section 7 apply to the code;\nkeep intact all notices of the absence of any warranty; and give all\nrecipients a copy of this License along with the Program.\n\n  You may charge any price or no price for each copy that you convey,\nand you may offer support or warranty protection for a fee.\n\n  5. Conveying Modified Source Versions.\n\n  You may convey a work based on the Program, or the modifications to\nproduce it from the Program, in the form of source code under the\nterms of section 4, provided that you also meet all of these conditions:\n\n    a) The work must carry prominent notices stating that you modified\n    it, and giving a relevant date.\n\n    b) The work must carry prominent notices stating that it is\n    released under this License and any conditions added under section\n    7.  This requirement modifies the requirement in section 4 to\n    \"keep intact all notices\".\n\n    c) You must license the entire work, as a whole, under this\n    License to anyone who comes into possession of a copy.  This\n    License will therefore apply, along with any applicable section 7\n    additional terms, to the whole of the work, and all its parts,\n    regardless of how they are packaged.  This License gives no\n    permission to license the work in any other way, but it does not\n    invalidate such permission if you have separately received it.\n\n    d) If the work has interactive user interfaces, each must display\n    Appropriate Legal Notices; however, if the Program has interactive\n    interfaces that do not display Appropriate Legal Notices, your\n    work need not make them do so.\n\n  A compilation of a covered work with other separate and independent\nworks, which are not by their nature extensions of the covered work,\nand which are not combined with it such as to form a larger program,\nin or on a volume of a storage or distribution medium, is called an\n\"aggregate\" if the compilation and its resulting copyright are not\nused to limit the access or legal rights of the compilation's users\nbeyond what the individual works permit.  Inclusion of a covered work\nin an aggregate does not cause this License to apply to the other\nparts of the aggregate.\n\n  6. Conveying Non-Source Forms.\n\n  You may convey a covered work in object code form under the terms\nof sections 4 and 5, provided that you also convey the\nmachine-readable Corresponding Source under the terms of this License,\nin one of these ways:\n\n    a) Convey the object code in, or embodied in, a physical product\n    (including a physical distribution medium), accompanied by the\n    Corresponding Source fixed on a durable physical medium\n    customarily used for software interchange.\n\n    b) Convey the object code in, or embodied in, a physical product\n    (including a physical distribution medium), accompanied by a\n    written offer, valid for at least three years and valid for as\n    long as you offer spare parts or customer support for that product\n    model, to give anyone who possesses the object code either (1) a\n    copy of the Corresponding Source for all the software in the\n    product that is covered by this License, on a durable physical\n    medium customarily used for software interchange, for a price no\n    more than your reasonable cost of physically performing this\n    conveying of source, or (2) access to copy the\n    Corresponding Source from a network server at no charge.\n\n    c) Convey individual copies of the object code with a copy of the\n    written offer to provide the Corresponding Source.  This\n    alternative is allowed only occasionally and noncommercially, and\n    only if you received the object code with such an offer, in accord\n    with subsection 6b.\n\n    d) Convey the object code by offering access from a designated\n    place (gratis or for a charge), and offer equivalent access to the\n    Corresponding Source in the same way through the same place at no\n    further charge.  You need not require recipients to copy the\n    Corresponding Source along with the object code.  If the place to\n    copy the object code is a network server, the Corresponding Source\n    may be on a different server (operated by you or a third party)\n    that supports equivalent copying facilities, provided you maintain\n    clear directions next to the object code saying where to find the\n    Corresponding Source.  Regardless of what server hosts the\n    Corresponding Source, you remain obligated to ensure that it is\n    available for as long as needed to satisfy these requirements.\n\n    e) Convey the object code using peer-to-peer transmission, provided\n    you inform other peers where the object code and Corresponding\n    Source of the work are being offered to the general public at no\n    charge under subsection 6d.\n\n  A separable portion of the object code, whose source code is excluded\nfrom the Corresponding Source as a System Library, need not be\nincluded in conveying the object code work.\n\n  A \"User Product\" is either (1) a \"consumer product\", which means any\ntangible personal property which is normally used for personal, family,\nor household purposes, or (2) anything designed or sold for incorporation\ninto a dwelling.  In determining whether a product is a consumer product,\ndoubtful cases shall be resolved in favor of coverage.  For a particular\nproduct received by a particular user, \"normally used\" refers to a\ntypical or common use of that class of product, regardless of the status\nof the particular user or of the way in which the particular user\nactually uses, or expects or is expected to use, the product.  A product\nis a consumer product regardless of whether the product has substantial\ncommercial, industrial or non-consumer uses, unless such uses represent\nthe only significant mode of use of the product.\n\n  \"Installation Information\" for a User Product means any methods,\nprocedures, authorization keys, or other information required to install\nand execute modified versions of a covered work in that User Product from\na modified version of its Corresponding Source.  The information must\nsuffice to ensure that the continued functioning of the modified object\ncode is in no case prevented or interfered with solely because\nmodification has been made.\n\n  If you convey an object code work under this section in, or with, or\nspecifically for use in, a User Product, and the conveying occurs as\npart of a transaction in which the right of possession and use of the\nUser Product is transferred to the recipient in perpetuity or for a\nfixed term (regardless of how the transaction is characterized), the\nCorresponding Source conveyed under this section must be accompanied\nby the Installation Information.  But this requirement does not apply\nif neither you nor any third party retains the ability to install\nmodified object code on the User Product (for example, the work has\nbeen installed in ROM).\n\n  The requirement to provide Installation Information does not include a\nrequirement to continue to provide support service, warranty, or updates\nfor a work that has been modified or installed by the recipient, or for\nthe User Product in which it has been modified or installed.  Access to a\nnetwork may be denied when the modification itself materially and\nadversely affects the operation of the network or violates the rules and\nprotocols for communication across the network.\n\n  Corresponding Source conveyed, and Installation Information provided,\nin accord with this section must be in a format that is publicly\ndocumented (and with an implementation available to the public in\nsource code form), and must require no special password or key for\nunpacking, reading or copying.\n\n  7. Additional Terms.\n\n  \"Additional permissions\" are terms that supplement the terms of this\nLicense by making exceptions from one or more of its conditions.\nAdditional permissions that are applicable to the entire Program shall\nbe treated as though they were included in this License, to the extent\nthat they are valid under applicable law.  If additional permissions\napply only to part of the Program, that part may be used separately\nunder those permissions, but the entire Program remains governed by\nthis License without regard to the additional permissions.\n\n  When you convey a copy of a covered work, you may at your option\nremove any additional permissions from that copy, or from any part of\nit.  (Additional permissions may be written to require their own\nremoval in certain cases when you modify the work.)  You may place\nadditional permissions on material, added by you to a covered work,\nfor which you have or can give appropriate copyright permission.\n\n  Notwithstanding any other provision of this License, for material you\nadd to a covered work, you may (if authorized by the copyright holders of\nthat material) supplement the terms of this License with terms:\n\n    a) Disclaiming warranty or limiting liability differently from the\n    terms of sections 15 and 16 of this License; or\n\n    b) Requiring preservation of specified reasonable legal notices or\n    author attributions in that material or in the Appropriate Legal\n    Notices displayed by works containing it; or\n\n    c) Prohibiting misrepresentation of the origin of that material, or\n    requiring that modified versions of such material be marked in\n    reasonable ways as different from the original version; or\n\n    d) Limiting the use for publicity purposes of names of licensors or\n    authors of the material; or\n\n    e) Declining to grant rights under trademark law for use of some\n    trade names, trademarks, or service marks; or\n\n    f) Requiring indemnification of licensors and authors of that\n    material by anyone who conveys the material (or modified versions of\n    it) with contractual assumptions of liability to the recipient, for\n    any liability that these contractual assumptions directly impose on\n    those licensors and authors.\n\n  All other non-permissive additional terms are considered \"further\nrestrictions\" within the meaning of section 10.  If the Program as you\nreceived it, or any part of it, contains a notice stating that it is\ngoverned by this License along with a term that is a further\nrestriction, you may remove that term.  If a license document contains\na further restriction but permits relicensing or conveying under this\nLicense, you may add to a covered work material governed by the terms\nof that license document, provided that the further restriction does\nnot survive such relicensing or conveying.\n\n  If you add terms to a covered work in accord with this section, you\nmust place, in the relevant source files, a statement of the\nadditional terms that apply to those files, or a notice indicating\nwhere to find the applicable terms.\n\n  Additional terms, permissive or non-permissive, may be stated in the\nform of a separately written license, or stated as exceptions;\nthe above requirements apply either way.\n\n  8. Termination.\n\n  You may not propagate or modify a covered work except as expressly\nprovided under this License.  Any attempt otherwise to propagate or\nmodify it is void, and will automatically terminate your rights under\nthis License (including any patent licenses granted under the third\nparagraph of section 11).\n\n  However, if you cease all violation of this License, then your\nlicense from a particular copyright holder is reinstated (a)\nprovisionally, unless and until the copyright holder explicitly and\nfinally terminates your license, and (b) permanently, if the copyright\nholder fails to notify you of the violation by some reasonable means\nprior to 60 days after the cessation.\n\n  Moreover, your license from a particular copyright holder is\nreinstated permanently if the copyright holder notifies you of the\nviolation by some reasonable means, this is the first time you have\nreceived notice of violation of this License (for any work) from that\ncopyright holder, and you cure the violation prior to 30 days after\nyour receipt of the notice.\n\n  Termination of your rights under this section does not terminate the\nlicenses of parties who have received copies or rights from you under\nthis License.  If your rights have been terminated and not permanently\nreinstated, you do not qualify to receive new licenses for the same\nmaterial under section 10.\n\n  9. Acceptance Not Required for Having Copies.\n\n  You are not required to accept this License in order to receive or\nrun a copy of the Program.  Ancillary propagation of a covered work\noccurring solely as a consequence of using peer-to-peer transmission\nto receive a copy likewise does not require acceptance.  However,\nnothing other than this License grants you permission to propagate or\nmodify any covered work.  These actions infringe copyright if you do\nnot accept this License.  Therefore, by modifying or propagating a\ncovered work, you indicate your acceptance of this License to do so.\n\n  10. Automatic Licensing of Downstream Recipients.\n\n  Each time you convey a covered work, the recipient automatically\nreceives a license from the original licensors, to run, modify and\npropagate that work, subject to this License.  You are not responsible\nfor enforcing compliance by third parties with this License.\n\n  An \"entity transaction\" is a transaction transferring control of an\norganization, or substantially all assets of one, or subdividing an\norganization, or merging organizations.  If propagation of a covered\nwork results from an entity transaction, each party to that\ntransaction who receives a copy of the work also receives whatever\nlicenses to the work the party's predecessor in interest had or could\ngive under the previous paragraph, plus a right to possession of the\nCorresponding Source of the work from the predecessor in interest, if\nthe predecessor has it or can get it with reasonable efforts.\n\n  You may not impose any further restrictions on the exercise of the\nrights granted or affirmed under this License.  For example, you may\nnot impose a license fee, royalty, or other charge for exercise of\nrights granted under this License, and you may not initiate litigation\n(including a cross-claim or counterclaim in a lawsuit) alleging that\nany patent claim is infringed by making, using, selling, offering for\nsale, or importing the Program or any portion of it.\n\n  11. Patents.\n\n  A \"contributor\" is a copyright holder who authorizes use under this\nLicense of the Program or a work on which the Program is based.  The\nwork thus licensed is called the contributor's \"contributor version\".\n\n  A contributor's \"essential patent claims\" are all patent claims\nowned or controlled by the contributor, whether already acquired or\nhereafter acquired, that would be infringed by some manner, permitted\nby this License, of making, using, or selling its contributor version,\nbut do not include claims that would be infringed only as a\nconsequence of further modification of the contributor version.  For\npurposes of this definition, \"control\" includes the right to grant\npatent sublicenses in a manner consistent with the requirements of\nthis License.\n\n  Each contributor grants you a non-exclusive, worldwide, royalty-free\npatent license under the contributor's essential patent claims, to\nmake, use, sell, offer for sale, import and otherwise run, modify and\npropagate the contents of its contributor version.\n\n  In the following three paragraphs, a \"patent license\" is any express\nagreement or commitment, however denominated, not to enforce a patent\n(such as an express permission to practice a patent or covenant not to\nsue for patent infringement).  To \"grant\" such a patent license to a\nparty means to make such an agreement or commitment not to enforce a\npatent against the party.\n\n  If you convey a covered work, knowingly relying on a patent license,\nand the Corresponding Source of the work is not available for anyone\nto copy, free of charge and under the terms of this License, through a\npublicly available network server or other readily accessible means,\nthen you must either (1) cause the Corresponding Source to be so\navailable, or (2) arrange to deprive yourself of the benefit of the\npatent license for this particular work, or (3) arrange, in a manner\nconsistent with the requirements of this License, to extend the patent\nlicense to downstream recipients.  \"Knowingly relying\" means you have\nactual knowledge that, but for the patent license, your conveying the\ncovered work in a country, or your recipient's use of the covered work\nin a country, would infringe one or more identifiable patents in that\ncountry that you have reason to believe are valid.\n\n  If, pursuant to or in connection with a single transaction or\narrangement, you convey, or propagate by procuring conveyance of, a\ncovered work, and grant a patent license to some of the parties\nreceiving the covered work authorizing them to use, propagate, modify\nor convey a specific copy of the covered work, then the patent license\nyou grant is automatically extended to all recipients of the covered\nwork and works based on it.\n\n  A patent license is \"discriminatory\" if it does not include within\nthe scope of its coverage, prohibits the exercise of, or is\nconditioned on the non-exercise of one or more of the rights that are\nspecifically granted under this License.  You may not convey a covered\nwork if you are a party to an arrangement with a third party that is\nin the business of distributing software, under which you make payment\nto the third party based on the extent of your activity of conveying\nthe work, and under which the third party grants, to any of the\nparties who would receive the covered work from you, a discriminatory\npatent license (a) in connection with copies of the covered work\nconveyed by you (or copies made from those copies), or (b) primarily\nfor and in connection with specific products or compilations that\ncontain the covered work, unless you entered into that arrangement,\nor that patent license was granted, prior to 28 March 2007.\n\n  Nothing in this License shall be construed as excluding or limiting\nany implied license or other defenses to infringement that may\notherwise be available to you under applicable patent law.\n\n  12. No Surrender of Others' Freedom.\n\n  If conditions are imposed on you (whether by court order, agreement or\notherwise) that contradict the conditions of this License, they do not\nexcuse you from the conditions of this License.  If you cannot convey a\ncovered work so as to satisfy simultaneously your obligations under this\nLicense and any other pertinent obligations, then as a consequence you may\nnot convey it at all.  For example, if you agree to terms that obligate you\nto collect a royalty for further conveying from those to whom you convey\nthe Program, the only way you could satisfy both those terms and this\nLicense would be to refrain entirely from conveying the Program.\n\n  13. Remote Network Interaction; Use with the GNU General Public License.\n\n  Notwithstanding any other provision of this License, if you modify the\nProgram, your modified version must prominently offer all users\ninteracting with it remotely through a computer network (if your version\nsupports such interaction) an opportunity to receive the Corresponding\nSource of your version by providing access to the Corresponding Source\nfrom a network server at no charge, through some standard or customary\nmeans of facilitating copying of software.  This Corresponding Source\nshall include the Corresponding Source for any work covered by version 3\nof the GNU General Public License that is incorporated pursuant to the\nfollowing paragraph.\n\n  Notwithstanding any other provision of this License, you have\npermission to link or combine any covered work with a work licensed\nunder version 3 of the GNU General Public License into a single\ncombined work, and to convey the resulting work.  The terms of this\nLicense will continue to apply to the part which is the covered work,\nbut the work with which it is combined will remain governed by version\n3 of the GNU General Public License.\n\n  14. Revised Versions of this License.\n\n  The Free Software Foundation may publish revised and/or new versions of\nthe GNU Affero General Public License from time to time.  Such new versions\nwill be similar in spirit to the present version, but may differ in detail to\naddress new problems or concerns.\n\n  Each version is given a distinguishing version number.  If the\nProgram specifies that a certain numbered version of the GNU Affero General\nPublic License \"or any later version\" applies to it, you have the\noption of following the terms and conditions either of that numbered\nversion or of any later version published by the Free Software\nFoundation.  If the Program does not specify a version number of the\nGNU Affero General Public License, you may choose any version ever published\nby the Free Software Foundation.\n\n  If the Program specifies that a proxy can decide which future\nversions of the GNU Affero General Public License can be used, that proxy's\npublic statement of acceptance of a version permanently authorizes you\nto choose that version for the Program.\n\n  Later license versions may give you additional or different\npermissions.  However, no additional obligations are imposed on any\nauthor or copyright holder as a result of your choosing to follow a\nlater version.\n\n  15. Disclaimer of Warranty.\n\n  THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY\nAPPLICABLE LAW.  EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT\nHOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM \"AS IS\" WITHOUT WARRANTY\nOF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,\nTHE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\nPURPOSE.  THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM\nIS WITH YOU.  SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF\nALL NECESSARY SERVICING, REPAIR OR CORRECTION.\n\n  16. Limitation of Liability.\n\n  IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING\nWILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS\nTHE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY\nGENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE\nUSE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF\nDATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD\nPARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),\nEVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF\nSUCH DAMAGES.\n\n  17. Interpretation of Sections 15 and 16.\n\n  If the disclaimer of warranty and limitation of liability provided\nabove cannot be given local legal effect according to their terms,\nreviewing courts shall apply local law that most closely approximates\nan absolute waiver of all civil liability in connection with the\nProgram, unless a warranty or assumption of liability accompanies a\ncopy of the Program in return for a fee.\n\n                     END OF TERMS AND CONDITIONS\n\n            How to Apply These Terms to Your New Programs\n\n  If you develop a new program, and you want it to be of the greatest\npossible use to the public, the best way to achieve this is to make it\nfree software which everyone can redistribute and change under these terms.\n\n  To do so, attach the following notices to the program.  It is safest\nto attach them to the start of each source file to most effectively\nstate the exclusion of warranty; and each file should have at least\nthe \"copyright\" line and a pointer to where the full notice is found.\n\n    <one line to give the program's name and a brief idea of what it does.>\n    Copyright (C) <year>  <name of author>\n\n    This program is free software: you can redistribute it and/or modify\n    it under the terms of the GNU Affero General Public License as published by\n    the Free Software Foundation, either version 3 of the License, or\n    (at your option) any later version.\n\n    This program is distributed in the hope that it will be useful,\n    but WITHOUT ANY WARRANTY; without even the implied warranty of\n    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n    GNU Affero General Public License for more details.\n\n    You should have received a copy of the GNU Affero General Public License\n    along with this program.  If not, see <https://www.gnu.org/licenses/>.\n\nAlso add information on how to contact you by electronic and paper mail.\n\n  If your software can interact with users remotely through a computer\nnetwork, you should also make sure that it provides a way for users to\nget its source.  For example, if your program is a web application, its\ninterface could display a \"Source\" link that leads users to an archive\nof the code.  There are many ways you could offer source, and different\nsolutions will be better for different programs; see section 13 for the\nspecific requirements.\n\n  You should also get your employer (if you work as a programmer) or school,\nif any, to sign a \"copyright disclaimer\" for the program, if necessary.\nFor more information on this, and how to apply and follow the GNU AGPL, see\n<https://www.gnu.org/licenses/>.\n","dependencies":{"yup":"^0.32.11","axios":"0.28.1","buffer":"^6.0.3","blake2b":"^2.1.4","snarkjs":"vocdoni/snarkjs#f/browser","js-sha256":"^0.10.1","tweetnacl":"^1.0.3","wasmcurves":"0.2.1","web-worker":"^1.2.0","circomlibjs":"vocdoni/circomlibjs#f/browser","wasmbuilder":"^0.0.16","@vocdoni/proto":"1.15.9","blindsecp256k1":"^0.0.9","tiny-invariant":"^1.3.1","readable-stream":"^4.4.2","@size-limit/file":"^8.2.4","iso-language-codes":"^1.1.0","@ethersproject/bytes":"^5.7.0","@ethersproject/units":"^5.7.0","@ethersproject/wallet":"^5.7.0","@ethersproject/address":"^5.7.0","@ethersproject/strings":"^5.7.0","@ethersproject/bignumber":"^5.7.0","@ethersproject/keccak256":"^5.7.0","@ethersproject/providers":"^5.7.1","@ethersproject/signing-key":"^5.7.0","@ethersproject/abstract-signer":"^5.7.0"},"clean-package":"./clean-package.config.json","_hasShrinkwrap":false,"devDependencies":{"jest":"^29.3.0","husky":"^8.0.2","tslib":"^2.4.0","eslint":"^8.27.0","rimraf":"^3.0.2","rollup":"^4.13.2","blakejs":"^1.2.1","esbuild":"^0.20.2","ts-jest":"^29.0.3","prettier":"^2.7.1","size-limit":"^8.1.0","typescript":"^4.8.4","@types/jest":"^29.2.2","clean-package":"^2.2.0","rollup-plugin-dts":"^6.1.0","@rollup/plugin-json":"^6.0.0","rollup-plugin-esbuild":"^6.1.1","eslint-config-prettier":"^8.5.0","eslint-plugin-prettier":"^4.2.1","@rollup/plugin-commonjs":"^25.0.7","@typescript-eslint/parser":"^5.42.1","@rollup/plugin-node-resolve":"^15.0.1","rollup-plugin-polyfill-node":"^0.13.0","@typescript-eslint/eslint-plugin":"^5.42.1"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.9.0_1725489164549_0.49676866042573975","host":"s3://npm-registry-packages"}},"0.9.1":{"name":"@vocdoni/sdk","version":"0.9.1","keywords":["voting","blockchain","vocdoni"],"author":{"name":"Vocdoni"},"license":"AGPL-3.0-or-later","_id":"@vocdoni/sdk@0.9.1","maintainers":[{"name":"jordipainan","email":"painan@vocdoni.org"},{"name":"elboletaire","email":"elboletaire@underave.net"},{"name":"emmdim","email":"manos@vocdoni.org"},{"name":"marcvelmer","email":"marc1987@gmail.com"}],"homepage":"https://github.com/vocdoni/vocdoni-sdk#readme","bugs":{"url":"https://github.com/vocdoni/vocdoni-sdk/issues"},"dist":{"shasum":"084df69b456ba91557cdf088103bfd6739f4dd43","tarball":"https://registry.npmjs.org/@vocdoni/sdk/-/sdk-0.9.1.tgz","fileCount":97,"integrity":"sha512-Cs2wse//UHdwZ5NTuJf5XqTqUQSYocTDzH14EwwUQWC4geGNiJNl7FWda+bKzBYTGWgPnOlr/Ez6JEJokDKPgQ==","signatures":[{"sig":"MEYCIQC4ZNy3rwHUaTi8/0Ai6vjVUOVO8GE9rk/osM2o86bvcgIhAJq8QM3nOPmrd+wmuHlTzv5/wEiq46IackzbGj8fDzgP","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":21065618},"jest":{"preset":"ts-jest","testEnvironment":"node"},"main":"src/index.ts","husky":{"hooks":{"pre-commit":"yarn lint"}},"output":"dist/index","engines":{"node":">=14"},"gitHead":"1861c5d733cdb392c8f60713ad0bb9418e190412","scripts":{"lint":"eslint src test --ext .js,.jsx,.ts,.tsx","size":"size-limit","test":"yarn test:unit && yarn test:api && yarn test:census3 && yarn test:service && yarn test:integration","build":"rollup -c","clean":"rimraf node_modules dist","start":"yarn watch","watch":"yarn build --watch","lintfix":"yarn lint --fix","prepack":"clean-package","postpack":"mv -fv package.json.backup package.json","test:api":"jest test/api","ts-types":"tsc --emitDeclarationOnly --outDir dist","test:unit":"jest test/unit --verbose","test:census3":"yarn test:census3:api && yarn test:census3:integration","test:service":"yarn test:service:census && yarn test:service:anonymous && yarn test:service:csp","test:census3:api":"jest test/census3/api","test:integration":"yarn test:integration:account && yarn test:integration:csp && yarn test:integration:election && yarn test:integration:other","test:service:csp":"jest test/services/csp.test.ts","test:integration:zk":"jest test/integration/zk.test.ts --forceExit --runInBand","test:service:census":"jest test/services/census.test.ts","test:integration:csp":"jest test/integration/csp.test.ts","test:integration:other":"jest test/integration/other.test.ts","test:service:anonymous":"jest test/services/anonymous.test.ts","test:census3:integration":"jest test/census3/integration","test:integration:account":"jest test/integration/account.test.ts","test:integration:election":"jest test/integration/election.test.ts"},"_npmUser":{"name":"marcvelmer","email":"marc1987@gmail.com"},"prettier":{"semi":true,"printWidth":120,"singleQuote":true,"trailingComma":"es5"},"repository":{"url":"git+https://github.com/vocdoni/vocdoni-sdk.git","type":"git"},"size-limit":[{"path":"dist/index.js","limit":"2 MB"},{"path":"dist/index.mjs","limit":"2 MB"},{"path":"dist/index.umd.js","limit":"2 MB"}],"_npmVersion":"9.6.3","description":"⚒️An SDK for building applications on top of Vocdoni API","directories":{},"_nodeVersion":"18.12.1","dependencies":{"yup":"^0.32.11","axios":"0.28.1","buffer":"^6.0.3","blake2b":"^2.1.4","snarkjs":"github:vocdoni/snarkjs#f/browser","js-sha256":"^0.10.1","tweetnacl":"^1.0.3","wasmcurves":"0.2.1","web-worker":"^1.2.0","circomlibjs":"github:vocdoni/circomlibjs#f/browser","wasmbuilder":"^0.0.16","@vocdoni/proto":"1.15.9","blindsecp256k1":"^0.0.9","tiny-invariant":"^1.3.1","readable-stream":"^4.4.2","@size-limit/file":"^8.2.4","iso-language-codes":"^1.1.0","@ethersproject/bytes":"^5.7.0","@ethersproject/units":"^5.7.0","@ethersproject/wallet":"^5.7.0","@ethersproject/address":"^5.7.0","@ethersproject/strings":"^5.7.0","@ethersproject/bignumber":"^5.7.0","@ethersproject/keccak256":"^5.7.0","@ethersproject/providers":"^5.7.1","@ethersproject/signing-key":"^5.7.0","@ethersproject/abstract-signer":"^5.7.0"},"clean-package":"./clean-package.config.json","_hasShrinkwrap":false,"devDependencies":{"jest":"^29.3.0","husky":"^8.0.2","tslib":"^2.4.0","eslint":"^8.27.0","rimraf":"^3.0.2","rollup":"^4.13.2","blakejs":"^1.2.1","esbuild":"^0.20.2","ts-jest":"^29.0.3","prettier":"^2.7.1","size-limit":"^8.1.0","typescript":"^4.8.4","@types/jest":"^29.2.2","clean-package":"^2.2.0","blindsecp256k1":"^0.0.9","rollup-plugin-dts":"^6.1.0","@rollup/plugin-json":"^6.0.0","rollup-plugin-esbuild":"^6.1.1","eslint-config-prettier":"^8.5.0","eslint-plugin-prettier":"^4.2.1","@rollup/plugin-commonjs":"^25.0.7","@typescript-eslint/parser":"^5.42.1","@rollup/plugin-node-resolve":"^15.0.1","rollup-plugin-polyfill-node":"^0.13.0","@typescript-eslint/eslint-plugin":"^5.42.1"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.9.1_1726597546410_0.43812139200635003","host":"s3://npm-registry-packages"}},"0.9.2":{"name":"@vocdoni/sdk","version":"0.9.2","keywords":["voting","blockchain","vocdoni"],"author":{"name":"Vocdoni"},"license":"AGPL-3.0-or-later","_id":"@vocdoni/sdk@0.9.2","maintainers":[{"name":"emmdim","email":"manos@vocdoni.org"},{"name":"marcvelmer","email":"marc1987@gmail.com"},{"name":"elboletaire","email":"elboletaire@underave.net"},{"name":"jordipainan","email":"painan@vocdoni.org"}],"homepage":"https://github.com/vocdoni/vocdoni-sdk#readme","bugs":{"url":"https://github.com/vocdoni/vocdoni-sdk/issues"},"dist":{"shasum":"a969ad1f8cc479619f58c16e81e4246321158ac6","tarball":"https://registry.npmjs.org/@vocdoni/sdk/-/sdk-0.9.2.tgz","fileCount":94,"integrity":"sha512-jssec34EoC9nM5gaFRS+GZnc0KVd2YYnj6NR8BvSpH09eVXmQKgDmBSztUzqkZQeIHLhmU+itKHyeLsE4N7mlw==","signatures":[{"sig":"MEUCIQCG8v6cZwS43ycDmXPsIPTuiqtvS6daFrBRxsl6aviOLgIgLL4JiPCJwAOWb9DfuWsy7jHXzeXhqNu//figkzE58Us=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1358838},"jest":{"preset":"ts-jest","testEnvironment":"node"},"main":"src/index.ts","husky":{"hooks":{"pre-commit":"yarn lint"}},"output":"dist/index","engines":{"node":">=14"},"gitHead":"09401e1099a0f03641b994ed392235bc78fec830","scripts":{"lint":"eslint src test --ext .js,.jsx,.ts,.tsx","size":"size-limit","test":"yarn test:unit && yarn test:api && yarn test:census3 && yarn test:service && yarn test:integration","build":"rollup -c","clean":"rimraf node_modules dist","start":"yarn watch","watch":"yarn build --watch","lintfix":"yarn lint --fix","prepack":"clean-package","postpack":"mv -fv package.json.backup package.json","test:api":"jest test/api","ts-types":"tsc --emitDeclarationOnly --outDir dist","test:unit":"jest test/unit --verbose","test:census3":"yarn test:census3:api && yarn test:census3:integration","test:service":"yarn test:service:census && yarn test:service:anonymous && yarn test:service:csp","test:census3:api":"jest test/census3/api","test:integration":"yarn test:integration:account && yarn test:integration:csp && yarn test:integration:election && yarn test:integration:other","test:service:csp":"jest test/services/csp.test.ts","test:integration:zk":"jest test/integration/zk.test.ts --forceExit --runInBand","test:service:census":"jest test/services/census.test.ts","test:integration:csp":"jest test/integration/csp.test.ts","test:integration:other":"jest test/integration/other.test.ts","test:service:anonymous":"jest test/services/anonymous.test.ts","test:census3:integration":"jest test/census3/integration","test:integration:account":"jest test/integration/account.test.ts","test:integration:election":"jest test/integration/election.test.ts"},"_npmUser":{"name":"marcvelmer","email":"marc1987@gmail.com"},"prettier":{"semi":true,"printWidth":120,"singleQuote":true,"trailingComma":"es5"},"repository":{"url":"git+https://github.com/vocdoni/vocdoni-sdk.git","type":"git"},"size-limit":[{"path":"dist/index.js","limit":"2 MB"},{"path":"dist/index.mjs","limit":"2 MB"},{"path":"dist/index.umd.js","limit":"2 MB"}],"_npmVersion":"10.8.2","description":"⚒️An SDK for building applications on top of Vocdoni API","directories":{},"_nodeVersion":"20.18.0","dependencies":{"yup":"^0.32.11","axios":"0.28.1","buffer":"^6.0.3","blake2b":"^2.1.4","blakejs":"^1.2.1","snarkjs":"github:vocdoni/snarkjs#f/browser","js-sha256":"^0.10.1","tweetnacl":"^1.0.3","wasmcurves":"0.2.1","web-worker":"^1.2.0","circomlibjs":"github:vocdoni/circomlibjs#f/browser","wasmbuilder":"^0.0.16","@vocdoni/proto":"1.15.9","blindsecp256k1":"^0.0.9","tiny-invariant":"^1.3.1","readable-stream":"^4.4.2","@size-limit/file":"^8.2.4","iso-language-codes":"^1.1.0","@ethersproject/bytes":"^5.7.0","@ethersproject/units":"^5.7.0","@ethersproject/wallet":"^5.7.0","@ethersproject/address":"^5.7.0","@ethersproject/strings":"^5.7.0","@ethersproject/bignumber":"^5.7.0","@ethersproject/keccak256":"^5.7.0","@ethersproject/providers":"^5.7.1","@ethersproject/signing-key":"^5.7.0","@ethersproject/abstract-signer":"^5.7.0"},"clean-package":"./clean-package.config.json","_hasShrinkwrap":false,"devDependencies":{"jest":"^29.3.0","husky":"^8.0.2","tslib":"^2.4.0","eslint":"^8.27.0","rimraf":"^3.0.2","rollup":"^4.13.2","esbuild":"^0.20.2","ts-jest":"^29.0.3","prettier":"^2.7.1","size-limit":"^8.1.0","typescript":"^4.8.4","@types/jest":"^29.2.2","clean-package":"^2.2.0","rollup-plugin-dts":"^6.1.0","@rollup/plugin-json":"^6.0.0","rollup-plugin-esbuild":"^6.1.1","eslint-config-prettier":"^8.5.0","eslint-plugin-prettier":"^4.2.1","@rollup/plugin-commonjs":"^25.0.7","@typescript-eslint/parser":"^5.42.1","@rollup/plugin-node-resolve":"^15.0.1","rollup-plugin-polyfill-node":"^0.13.0","@typescript-eslint/eslint-plugin":"^5.42.1"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.9.2_1740474367779_0.7524238528092395","host":"s3://npm-registry-packages-npm-production"}},"0.9.3":{"name":"@vocdoni/sdk","version":"0.9.3","keywords":["voting","blockchain","vocdoni"],"author":{"name":"Vocdoni"},"license":"AGPL-3.0-or-later","_id":"@vocdoni/sdk@0.9.3","maintainers":[{"name":"emmdim","email":"manos@vocdoni.org"},{"name":"marcvelmer","email":"marc1987@gmail.com"},{"name":"elboletaire","email":"elboletaire@underave.net"},{"name":"jordipainan","email":"painan@vocdoni.org"},{"name":"lucasmenendez-vocdoni","email":"lucas@vocdoni.org"}],"homepage":"https://github.com/vocdoni/vocdoni-sdk#readme","bugs":{"url":"https://github.com/vocdoni/vocdoni-sdk/issues"},"dist":{"shasum":"a5986a412fe446542349fa7617c3e68b0ead2249","tarball":"https://registry.npmjs.org/@vocdoni/sdk/-/sdk-0.9.3.tgz","fileCount":94,"integrity":"sha512-j1M/+MOiKRinFGmN0H8ZzfefyCq9I/DYO3EVSyROWyejJTZ/P+XGliKFnkhicc4iI8Fvi/bYBIhGSN1M/r3Whw==","signatures":[{"sig":"MEYCIQDpEeREM4X5RXO5RV3WY5Agxxvfst+nyIPneZjOpxEorQIhAMy7eK/q0wByTVlKxH+XI2659OktmGpqlqBtuhEg8HJ5","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1360871},"jest":{"preset":"ts-jest","testEnvironment":"node"},"main":"src/index.ts","husky":{"hooks":{"pre-commit":"yarn lint"}},"output":"dist/index","engines":{"node":">=14"},"gitHead":"67cd84e2bc379852e9e57bce55a3595dec107000","scripts":{"lint":"eslint src test --ext .js,.jsx,.ts,.tsx","size":"size-limit","test":"yarn test:unit && yarn test:api && yarn test:census3 && yarn test:service && yarn test:integration","build":"rollup -c","clean":"rimraf node_modules dist","start":"yarn watch","watch":"yarn build --watch","lintfix":"yarn lint --fix","prepack":"clean-package","postpack":"mv -fv package.json.backup package.json","test:api":"jest test/api","ts-types":"tsc --emitDeclarationOnly --outDir dist","test:unit":"jest test/unit --verbose","test:census3":"yarn test:census3:api && yarn test:census3:integration","test:service":"yarn test:service:census && yarn test:service:anonymous && yarn test:service:csp","test:census3:api":"jest test/census3/api","test:integration":"yarn test:integration:account && yarn test:integration:csp && yarn test:integration:election && yarn test:integration:other","test:service:csp":"jest test/services/csp.test.ts","test:integration:zk":"jest test/integration/zk.test.ts --forceExit --runInBand","test:service:census":"jest test/services/census.test.ts","test:integration:csp":"jest test/integration/csp.test.ts","test:integration:other":"jest test/integration/other.test.ts","test:service:anonymous":"jest test/services/anonymous.test.ts","test:census3:integration":"jest test/census3/integration","test:integration:account":"jest test/integration/account.test.ts","test:integration:election":"jest test/integration/election.test.ts"},"_npmUser":{"name":"marcvelmer","email":"marc1987@gmail.com"},"prettier":{"semi":true,"printWidth":120,"singleQuote":true,"trailingComma":"es5"},"repository":{"url":"git+https://github.com/vocdoni/vocdoni-sdk.git","type":"git"},"size-limit":[{"path":"dist/index.js","limit":"2 MB"},{"path":"dist/index.mjs","limit":"2 MB"},{"path":"dist/index.umd.js","limit":"2 MB"}],"_npmVersion":"10.9.0","description":"⚒️An SDK for building applications on top of Vocdoni API","directories":{},"_nodeVersion":"22.12.0","dependencies":{"yup":"^0.32.11","axios":"0.28.1","buffer":"^6.0.3","blake2b":"^2.1.4","blakejs":"^1.2.1","snarkjs":"github:vocdoni/snarkjs#f/browser","js-sha256":"^0.10.1","tweetnacl":"^1.0.3","wasmcurves":"0.2.1","web-worker":"^1.2.0","circomlibjs":"github:vocdoni/circomlibjs#f/browser","wasmbuilder":"^0.0.16","@vocdoni/proto":"1.15.12","blindsecp256k1":"^0.0.9","tiny-invariant":"^1.3.1","readable-stream":"^4.4.2","@size-limit/file":"^8.2.4","iso-language-codes":"^1.1.0","@ethersproject/bytes":"^5.7.0","@ethersproject/units":"^5.7.0","@ethersproject/wallet":"^5.7.0","@ethersproject/address":"^5.7.0","@ethersproject/strings":"^5.7.0","@ethersproject/bignumber":"^5.7.0","@ethersproject/keccak256":"^5.7.0","@ethersproject/providers":"^5.7.1","@ethersproject/signing-key":"^5.7.0","@ethersproject/abstract-signer":"^5.7.0"},"clean-package":"./clean-package.config.json","_hasShrinkwrap":false,"devDependencies":{"jest":"^29.3.0","husky":"^8.0.2","tslib":"^2.4.0","eslint":"^8.27.0","rimraf":"^3.0.2","rollup":"^4.13.2","esbuild":"^0.20.2","ts-jest":"^29.0.3","prettier":"^2.7.1","size-limit":"^8.1.0","typescript":"^4.8.4","@types/jest":"^29.2.2","clean-package":"^2.2.0","rollup-plugin-dts":"^6.1.0","@rollup/plugin-json":"^6.0.0","rollup-plugin-esbuild":"^6.1.1","eslint-config-prettier":"^8.5.0","eslint-plugin-prettier":"^4.2.1","@rollup/plugin-commonjs":"^25.0.7","@typescript-eslint/parser":"^5.42.1","@rollup/plugin-node-resolve":"^15.0.1","rollup-plugin-polyfill-node":"^0.13.0","@typescript-eslint/eslint-plugin":"^5.42.1"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.9.3_1765476070539_0.030440781402122807","host":"s3://npm-registry-packages-npm-production"}},"0.10.0":{"_id":"@vocdoni/sdk@0.10.0","bugs":{"url":"https://github.com/vocdoni/vocdoni-sdk/issues"},"dist":{"shasum":"a4be52299e28b64937203607f42ae99c0efa0ac5","tarball":"https://registry.npmjs.org/@vocdoni/sdk/-/sdk-0.10.0.tgz","fileCount":95,"integrity":"sha512-yxbFw5bivxpK23nygBdHcTbEgFAdf1bZZLS15LCw4S24m+US6BCgyMAi8/UTu0TmnZY3AtUNFtvg3jKNhyQ0Aw==","signatures":[{"sig":"MEUCIQChpOJdnyAxrBf8HAW5gB/gltUlZB6/uvnEmtLxIwj/8wIgB0Bq0U5/VU0MD778/1x/BjW6zhv1G/aXoHNi6z2VcT0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIHCiqWQj8OmS0x+9r/xmRLPdS2axgh6r+usqPzRAP5XFAiEA8nC7TQp0J8rRrYB9in5Rxkb83sH8bZLLUZwxSA/8m+E="}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@vocdoni%2fsdk@0.10.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":1390963},"jest":{"preset":"ts-jest","testEnvironment":"node"},"main":"src/index.ts","name":"@vocdoni/sdk","husky":{"hooks":{"pre-commit":"yarn lint"}},"author":{"name":"Vocdoni"},"output":"dist/index","engines":{"node":">=14"},"gitHead":"434b3bf88e321b53531aa9ed9bcbf03c056b10e7","license":"AGPL-3.0-or-later","scripts":{"lint":"eslint src test --ext .js,.jsx,.ts,.tsx","size":"size-limit","test":"yarn test:unit && yarn test:api && yarn test:census3 && yarn test:service && yarn test:integration","build":"rollup -c","clean":"rimraf node_modules dist","start":"yarn watch","watch":"yarn build --watch","lintfix":"yarn lint --fix","prepack":"clean-package","postpack":"mv -fv package.json.backup package.json","test:api":"jest test/api","ts-types":"tsc --emitDeclarationOnly --outDir dist","test:unit":"jest test/unit --verbose","test:census3":"yarn test:census3:api && yarn test:census3:integration","test:service":"yarn test:service:census && yarn test:service:anonymous && yarn test:service:csp","test:census3:api":"jest test/census3/api","test:integration":"yarn test:integration:account && yarn test:integration:csp && yarn test:integration:election && yarn test:integration:other","test:service:csp":"jest test/services/csp.test.ts","test:integration:zk":"jest test/integration/zk.test.ts --forceExit --runInBand","test:service:census":"jest test/services/census.test.ts","test:integration:csp":"jest test/integration/csp.test.ts","test:integration:other":"jest test/integration/other.test.ts","test:integration:stack":"scripts/integration-stack.sh run","test:service:anonymous":"jest test/services/anonymous.test.ts","test:census3:integration":"jest test/census3/integration","test:integration:account":"jest test/integration/account.test.ts","test:integration:election":"jest test/integration/election.test.ts"},"version":"0.10.0","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"aed06431-da1f-414a-bc25-8761c94f1115"}},"homepage":"https://github.com/vocdoni/vocdoni-sdk#readme","keywords":["voting","blockchain","vocdoni"],"prettier":{"semi":true,"printWidth":120,"singleQuote":true,"trailingComma":"es5"},"repository":{"url":"git+https://github.com/vocdoni/vocdoni-sdk.git","type":"git"},"size-limit":[{"path":"dist/index.js","limit":"2 MB"},{"path":"dist/index.mjs","limit":"2 MB"},{"path":"dist/index.umd.js","limit":"2 MB"}],"_npmVersion":"12.2.0","description":"⚒️An SDK for building applications on top of Vocdoni API","directories":{},"maintainers":[{"name":"emmdim","email":"manos@vocdoni.org"},{"name":"elboletaire","email":"elboletaire@underave.net"},{"name":"jordipainan","email":"painan@vocdoni.org"},{"name":"lucasmenendez-vocdoni","email":"lucas@vocdoni.org"}],"resolutions":{"ws":"^8.21.0","tar":"^7.5.19","underscore":"^1.13.8","@eslint-community/eslint-utils":">=4.2.0 <4.10.0"},"_nodeVersion":"24.21.0","dependencies":{"yup":"^0.32.11","axios":"0.34.0","buffer":"^6.0.3","blake2b":"^2.1.4","blakejs":"^1.2.1","snarkjs":"github:vocdoni/snarkjs#f/browser","js-sha256":"^0.10.1","tweetnacl":"^1.0.3","wasmcurves":"0.2.1","web-worker":"^1.2.0","circomlibjs":"github:vocdoni/circomlibjs#f/browser","wasmbuilder":"^0.0.16","@vocdoni/proto":"1.15.14","blindsecp256k1":"^0.0.9","tiny-invariant":"^1.3.1","readable-stream":"^4.4.2","@size-limit/file":"^8.2.4","iso-language-codes":"^1.1.0","@ethersproject/bytes":"^5.7.0","@ethersproject/units":"^5.7.0","@ethersproject/wallet":"^5.7.0","@ethersproject/address":"^5.7.0","@ethersproject/strings":"^5.7.0","@ethersproject/bignumber":"^5.7.0","@ethersproject/keccak256":"^5.7.0","@ethersproject/providers":"^5.7.1","@ethersproject/signing-key":"^5.7.0","@ethersproject/abstract-signer":"^5.7.0"},"clean-package":"./clean-package.config.json","_hasShrinkwrap":false,"devDependencies":{"jest":"^29.3.0","husky":"^8.0.2","tslib":"^2.4.0","eslint":"^8.27.0","rimraf":"^3.0.2","rollup":"^4.13.2","esbuild":"^0.25.0","ts-jest":"^29.0.3","prettier":"^2.7.1","size-limit":"^8.1.0","typescript":"^4.8.4","@types/jest":"^29.2.2","clean-package":"^2.2.0","rollup-plugin-dts":">=6.1.0 <6.4.1","@rollup/plugin-json":"^6.0.0","rollup-plugin-esbuild":"^6.1.1","eslint-config-prettier":"^8.5.0","eslint-plugin-prettier":"^4.2.1","@rollup/plugin-commonjs":"^25.0.7","@typescript-eslint/parser":"^5.42.1","@rollup/plugin-node-resolve":"^15.0.1","rollup-plugin-polyfill-node":"^0.13.0","@typescript-eslint/eslint-plugin":"^5.42.1"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/sdk_0.10.0_1790875263702_0.48755575302174115"}}},"time":{"created":"2022-12-01T12:49:34.811Z","modified":"2026-10-01T17:21:04.181Z","0.0.1-alpha":"2022-12-01T12:49:35.240Z","0.0.2-alpha":"2022-12-20T16:35:16.774Z","0.0.3-alpha":"2023-01-31T10:29:07.671Z","0.0.4-alpha":"2023-03-01T11:26:39.352Z","0.0.5":"2023-03-08T16:52:02.552Z","0.0.6":"2023-03-22T15:54:15.876Z","0.0.7":"2023-03-29T14:10:12.952Z","0.0.8":"2023-04-05T15:32:30.129Z","0.0.9":"2023-04-25T10:31:42.010Z","0.0.10":"2023-04-25T14:54:49.096Z","0.0.11":"2023-04-25T19:37:09.543Z","0.0.12":"2023-05-09T17:18:19.666Z","0.0.13":"2023-06-06T13:47:51.710Z","0.0.14":"2023-06-12T17:00:09.347Z","0.0.15":"2023-06-21T11:22:30.816Z","0.0.16":"2023-07-04T11:54:43.309Z","0.0.17":"2023-07-21T15:48:09.969Z","0.0.18":"2023-08-01T13:42:30.641Z","0.1.0":"2023-08-11T16:52:53.224Z","0.1.1":"2023-08-15T10:49:21.386Z","0.2.0":"2023-09-04T14:06:45.250Z","0.3.0":"2023-09-13T16:43:21.493Z","0.3.1":"2023-09-20T14:46:16.488Z","0.3.2":"2023-10-10T17:43:47.975Z","0.4.0":"2023-10-10T19:49:23.560Z","0.4.1":"2023-10-24T15:27:35.871Z","0.4.2":"2023-11-06T23:38:55.829Z","0.4.3":"2023-11-09T16:56:09.654Z","0.5.0":"2023-11-14T14:42:19.226Z","0.5.1":"2023-11-15T13:46:23.950Z","0.5.2":"2023-11-16T17:12:20.903Z","0.5.3":"2023-11-28T12:46:59.027Z","0.6.0":"2023-11-28T18:19:33.023Z","0.6.1":"2023-11-29T17:36:06.855Z","0.7.0":"2023-12-13T13:18:25.604Z","0.7.1":"2024-01-11T17:01:47.290Z","0.7.2":"2024-01-17T23:06:49.554Z","0.7.3":"2024-01-23T15:01:29.921Z","0.7.4":"2024-02-06T12:50:28.440Z","0.7.5":"2024-02-15T17:06:37.621Z","0.8.0":"2024-04-19T09:16:31.199Z","0.8.1":"2024-05-21T10:15:08.142Z","0.8.2":"2024-06-12T13:33:06.564Z","0.8.3":"2024-07-05T11:25:44.737Z","0.9.0":"2024-09-04T22:32:44.769Z","0.9.1":"2024-09-17T18:25:46.737Z","0.9.2":"2025-02-25T09:06:08.043Z","0.9.3":"2025-12-11T18:01:10.698Z","0.10.0":"2026-10-01T17:21:03.796Z"},"bugs":{"url":"https://github.com/vocdoni/vocdoni-sdk/issues"},"author":{"name":"Vocdoni"},"license":"AGPL-3.0-or-later","homepage":"https://github.com/vocdoni/vocdoni-sdk#readme","keywords":["voting","blockchain","vocdoni"],"repository":{"url":"git+https://github.com/vocdoni/vocdoni-sdk.git","type":"git"},"description":"⚒️An SDK for building applications on top of Vocdoni API","maintainers":[{"name":"emmdim","email":"manos@vocdoni.org"},{"name":"elboletaire","email":"elboletaire@underave.net"},{"name":"jordipainan","email":"painan@vocdoni.org"},{"name":"lucasmenendez-vocdoni","email":"lucas@vocdoni.org"}],"readme":"<p align=\"center\" width=\"100%\">\n    <picture>\n      <source media=\"(prefers-color-scheme: dark)\" srcset=\"https://vocdoni.io/images/vocdoni_logotype_full_blank.svg\" />\n      <source media=\"(prefers-color-scheme: light)\" srcset=\"https://vocdoni.io/images/vocdoni_logotype_full_white.svg\" />\n      <img alt=\"Vocdoni\" src=\"https://vocdoni.io/images/vocdoni_logotype_full_white.svg\" />\n  </picture>\n</p>\n\n<div align=\"center\">\n\n![npm](https://img.shields.io/npm/v/%40vocdoni%2Fsdk)\n![GitHub commit activity (main)](https://img.shields.io/github/commit-activity/m/vocdoni/vocdoni-sdk)\n[![Example workflow](https://github.com/vocdoni/vocdoni-sdk/actions/workflows/examples.yml/badge.svg)](https://vocdoni.github.io/vocdoni-sdk/)\n![Main workflow](https://github.com/vocdoni/vocdoni-sdk/actions/workflows/main.yml/badge.svg)\n[![Join Discord](https://img.shields.io/badge/discord-join%20chat-blue.svg)](https://discord.gg/xFTh8Np2ga)\n[![Twitter Follow](https://img.shields.io/twitter/follow/vocdoni.svg?style=social&label=Follow)](https://twitter.com/vocdoni)\n\n</div>\n\n# Vocdoni SDK\n\nThe Vocdoni SDK is a convenient way to interact with the Vocdoni Protocol\nthrough [its API][Vocdoni API], allowing anyone to create, manage and\nparticipate in voting processes and collective decision-making.\n\nIf you're using our integrator's/SaaS API, [use the integrator-sdk instead](https://github.com/vocdoni/integrator-sdk).\n\n## Live preview\n\nYou can test the SDK [here](https://vocdoni.github.io/vocdoni-sdk/).\n\n![Live preview](./docs/images/cra.png)\n\n> **No funds needed in your wallet**: Metamask or Walletconnect are only used for\n> signing transactions that are sent to the Vocdoni chain! Testing tokens in `dev`\n> environment are automatically sent from faucet once the account is created.\n\nSee [examples](#examples) for more examples.\n\n## Disclaimer\n\nThe Vocdoni SDK and the underlying API is WIP. Please beware that it can be broken\nat any time if the release is `alpha` or `beta`. We encourage to review this\nrepository for any change.\n\n## Prerequisites\n\nYou'll need a working [nodejs] environment, but other than that, you're\nfree to use any package manager (either npm, yarn, pnpm...). Let's start by\nadding the SDK to your project:\n\n~~~bash\n# with yarn\nyarn add @vocdoni/sdk\n# with npm\nnpm i @vocdoni/sdk\n# with pnpm\npnpm add @vocdoni/sdk\n~~~\n\nFor creating elections or vote on them, blockchain transactions need to be\nbuild, thus a signer is required. Any kind of standard [ethers] signer should\nwork.\n\nThis project has been bundled into many formats in order for you to\nimport it based on the environment you're using it. When importing it via\n`@vocdoni/sdk` it will choose a version based on your current environment\n(commonjs or esm). There's also another UMD version which can be accessed via\n`@vocdoni/sdk/umd` in case you need it.\n\n~~~js\n// Will use the correct version based on your environment\nimport { VocdoniSDKClient } from '@vocdoni/sdk'\n// UMD version\nimport SDK from '@vocdoni/sdk/umd'\n~~~\n\nYou can see a working ESM example [in the examples folder][example-esm].\n\n## SDK Usage\n\nThe entry point is the SDK constructor, it will instantiate a new client\nconnected to the API endpoint corresponding to `dev` (development) or `stg` (staging).\n\n> For this readme examples, the signer bootstrapping will be ignored and you'll\njust see a `signer` constant.\n\n### Environment\n\n#### Staging\n\nThis is the **recommended** environment for most testing use cases, since the\n`dev` environment is more subject to blockchain resets and downtimes than\nthe `stg` one.\n\n~~~ts\nconst client = new VocdoniSDKClient({\n  env: EnvOptions.STG, // mandatory, can be 'dev' or 'stg'\n  wallet: signer, // optional, the signer used (Metamask, Walletconnect)\n})\n~~~\n\n#### Development\n\n~~~ts\nconst client = new VocdoniSDKClient({\n  env: EnvOptions.DEV, // mandatory, can be 'dev' or 'stg'\n  wallet: signer, // optional, the signer used (Metamask, Walletconnect)\n})\n~~~\n\n### Registering account\n\nBefore creating any new processes, you should register your account against\nour blockchain (vochain):\n\n~~~ts\n(async () => {\n  const info = await client.createAccount()\n  console.log(info) // will show account information\n})();\n~~~\n\nThe `createAccount` method will try to fetch an existing account first and, if\nit does not exist, it will register it against the blockchain.\n\nThe account to be registered will be the one of the signer specified in the\nconstructor.\n\nYou can safely use `createAccount` to fetch any account information, but you can\nalso decide to just fetch it, without falling back to an account registration:\n\n~~~ts\n(async () => {\n  const info = await client.fetchAccountInfo()\n  console.log(info) // shows info (only if account exists, otherwise throws error)\n})();\n~~~\n\nThe `createAccount` also accepts some information about the account:\n\n~~~ts\n(async () => {\n  const account = new Account({\n    languages: ['es'],\n    name: {\n      es: 'Nombre de la cuenta',\n      default: 'Account name',\n    },\n    description: 'Description of the account',\n    feed: 'https://feed.io',\n    avatar: 'https://avatar.io',\n    header: 'https://header.io',\n    logo: 'https://logo.io',\n    meta: [\n      { key: 'twitter', value: 'https://twitter.com/@orghandle' },\n      { key: 'someIpfsValue', value: 'ipfs://QmXxgLNRSeK6jtFkJ9TsL8nYxFnJ8RKa2xXHUFKGankX6k' },\n      { key: 'someArbitraryData', value: [123, 456] },\n      { key: 'someEmptyData', value: {} },\n    ],\n  });\n  const info = await client.createAccount({ account })\n})();\n~~~\n\n### Vocdoni tokens; faucet & balance\n\nAccounts require Vocdoni tokens in order to be able to register against our\nblockchain. The process above will automatically fetch some tokens from a faucet\n**under development**. For production environments, you should contact us (Vocdoni)\nfor a byte64 string faucet, and specify it when creating your account:\n\n~~~ts\n(async () => {\n  const info = await client.createAccount({\n    faucetPackage: \"<b64string>\"\n  })\n})();\n~~~\n\nAccounts also require Vocdoni tokens in order to create new processes.\n\nYou can check the balance thanks to the previous methods (`createAccount` and/or\n`fetchAccountInfo`) and, under development, you can request new tokens thanks\nto the included faucet:\n\n~~~ts\n(async () => {\n  const info = await client.createAccount()\n  if (info.balance === 0) {\n    await client.collectFaucetTokens()\n  }\n})();\n~~~\n\n> Note: the `collectFaucetTokens` method only works under development environment\n> and for accounts with not enough tokens to create new processes.\n\n### Creating a voting process\n\nAfter you successfully registered your account against Vocdoni's blockchain, you\ncan start creating processes.\n\nA process will require a census of people who will vote it. Let's start creating\nit:\n\n~~~ts\nconst census = new PlainCensus()\n// accepts any ethereum-alike addresses\ncensus.add(address)\ncensus.add('0x0000000000000000000000000000000000000000')\n(async () => {\n  // random wallet, for example purposes\n  census.add(await Wallet.createRandom().getAddress())\n})();\n~~~\n\nAfter you got all the addresses for your census, you may as well create the\nprocess instance:\n\nThe simplest form to create an election with the minimum parameters is:\n\n~~~ts\nconst election = Election.from({\n  title: 'Election title',\n  description: 'Election description',\n  endDate: new Date('2023-01-23 23:23:23'),\n  census,\n})\n~~~\n\nCheck out the [election params interface] to see all the allowed params. There are several\noptions for creating custom types of elections or voting methods:\n\n~~~ts\nconst election = Election.from({\n  title: {\n    en: 'This is a test in english',\n    es: 'Esto es un test en castellano',\n    default: 'This is the default title',\n  },\n  description: 'Election description',\n  // a header image for your election (this is for example purposes; avoid using random sources)\n  header: 'https://source.unsplash.com/random/2048x600',\n  // a stream uri image for your election (this is for example purposes; avoid using random sources)\n  streamUri: 'https://source.unsplash.com/random/2048x600',\n  startDate: new Date('2023-01-23 12:00:00'),\n  endDate: new Date('2023-01-23 23:23:23'),\n  census,\n  electionType: {\n    autoStart: true, // if the election can start automatically at start date\n    interruptible: true, // if the election can be paused or ended\n    dynamicCensus: false, // if the census can be changed\n    secretUntilTheEnd: false, // if the election has to be secret until end date\n    anonymous: false, // if the election is anonymous\n  },\n  voteType: {\n    uniqueChoices: false, // if the choices are unique when voting\n    maxVoteOverwrites: 0, // number of times a vote can be overwritten\n    costFromWeight: false, // for cuadrating voting\n    costExponent: 10000, // for cuadrating voting\n  }\n})\n~~~\n\nOf course, you will also need some questions in this voting process, how would people\nvote otherwise?\n\n~~~ts\nelection.addQuestion('Ain\\'t this process awesome?', 'Question description', [\n  {\n    title: 'Yes',\n    value: 0,\n  },\n  {\n    title: 'No',\n    value: 1,\n  },\n]).addQuestion('How old are you?', 'Question description', [\n  {\n    title: 'Child (0-9 yo)',\n    value: 0,\n  },\n  {\n    title: 'Kid (10-16 yo)',\n    value: 1,\n  },\n  {\n    title: 'Adult (17-60 yo)',\n    value: 2,\n  },\n  {\n    title: 'Elder (60+ yo)',\n    value: 3,\n  },\n])\n~~~\n\n> If you're a developer, maybe the value set to zero in Yes (and vice-versa)\n> confuses you. Note that this is a mapping of values; people voting on Yes will\n> properly set the value as specified (zero in this case), thus printing the\n> results as you expect.\n\nYou can finally confirm the transaction in the blockchain by just calling\n`createElection`:\n\n~~~ts\n(async () => {\n  const id = await client.createElection(election)\n  console.log(id) // will show the created election id\n})();\n~~~\n\nThe election id you got there will be the one you use to access the election.\nAfter a few seconds of creating it, you should be able to check it on\n[our explorer][vochain explorer] (or the [dev one][dev vochain explorer] if\nyou're using the development environment).\n\n### Other election types\n\n#### Quadratic voting\n\nHere is a [full working example][quadratic voting example] of how to create a quadratic voting election.\nMore information can be found in the [documentation][quadratic voting documentation].\n\n#### Approval voting\n\nHere is a [full working example][approval voting example] of how to create an approval voting election.\nMore information can be found in the [documentation][approval voting documentation].\n\n#### Ranked voting\n\nHere is a [full working example][ranked voting example] of how to create a ranked voting election.\nMore information can be found in the [documentation][ranked voting documentation].\n\n### Other election functionalities\n\n#### Estimate election cost\n\nThis is a fast function (most times will resolve automatically) which allows to estimate a election price in tokens:\n\n~~~ts\n(async () => {\n  const price = await client.estimateElectionCost(election) // Should be an UnpublishedElection\n  console.log(price) // shows the estimation price\n})();\n~~~\n\n#### Calculate the real election cost\n\nThis function returns the exact election price in tokens:\n\n~~~ts\n(async () => {\n  const price = await client.calculateElectionCost(election) // Should be an UnpublishedElection\n  console.log(price) // shows the real price\n})();\n~~~\n\n### Fetching election info\n\nYou can always access a election information and metadata using `fetchElection`:\n\n~~~ts\n(async () => {\n  const info = await client.fetchElection(id)\n  console.log(info) // shows election information and metadata\n})();\n\n// or...\n(async () => {\n  client.setElectionId(id)\n  const info = await client.fetchElection()\n  console.log(info) // shows election information and metadata\n})();\n~~~\n\nSee the [PublishedElection class][publishedelection class] details for more information\nabout the returning object.\n\nYou can also fetch all the elections created for a given account using `fetchElections`:\n\n~~~ts\n(async () => {\n  const elections = await client.fetchElections('0x3d0380f4dcc8aa87be30ef0e38f56dfefeb1cfad')\n  console.log(elections) // Array of PublishedElection\n})();\n\n// it can be paginated using the second parameter\n(async () => {\n  const elections = await client.fetchElections('0x3d0380f4dcc8aa87be30ef0e38f56dfefeb1cfad', 2)\n  console.log(elections) // Array of PublishedElection\n})();\n~~~\n\n### Changing election status\n\nSee the [Election lifecycle states][election-lifecycle-states] details for more information\nabout the election status and the possible status changes once the election is created.\n\n#### Pause\n\n~~~ts\n(async () => {\n  await client.pauseElection(id)\n  const election = await client.fetchElection(id)\n  console.log(election.status) // Matches ElectionStatus.PAUSED\n})();\n~~~\n\n#### Cancel\n\n~~~ts\n(async () => {\n  await client.cancelElection(id)\n  const election = await client.fetchElection(id)\n  console.log(election.status) // Matches ElectionStatus.CANCELED\n})();\n~~~\n\n#### End\n\n~~~ts\n(async () => {\n  await client.endElection(id)\n  const election = await client.fetchElection(id)\n  console.log(election.status) // Matches ElectionStatus.ENDED\n})();\n~~~\n\n#### Continue\n\n~~~ts\n(async () => {\n  await client.continueElection(id)\n  const election = await client.fetchElection(id)\n  console.log(election.status) // Matches ElectionStatus.READY\n})();\n~~~\n\n### Voting to a process\n\n#### Check if a user is in census\n\n~~~ts\n(async () => {\n  const isInCensus = await client.isInCensus();\n  console.log(isInCensus) // true or false\n})();\n~~~\n\n#### Check if a user has already voted\n\n~~~ts\n(async () => {\n  const hasAlreadyVoted = await client.hasAlreadyVoted();\n  console.log(hasAlreadyVoted) // returns the vote identifier or null\n})();\n~~~\n\n#### Get how many times the user can submit a vote (vote rewrite)\n\n~~~ts\n(async () => {\n  const votesLeft = await client.votesLeftCount();\n  console.log(votesLeft) // number of times the user can submit his vote\n})();\n~~~\n\n#### Check if a user is able to vote\n\n~~~ts\n(async () => {\n  const isAbleToVote = await client.isAbleToVote();\n  console.log(isAbleToVote) // true or false\n})();\n~~~\n\n#### Vote\n\nTo vote a process you only need two things: the process id to vote to, and the\noption (or options) being voted:\n\n~~~ts\n(async () => {\n  client.setElectionId(id)\n  // votes \"Yes\" and \"Adult (17-60 yo)\"\n  const vote = new Vote([0, 2]);\n  const voteId = await client.submitVote(vote)\n})();\n~~~\n\n### Other SDK functionalities\n\n#### Generate a random Wallet\n\nYou can use the `generateRandomWallet` function to generate a random Wallet and assign it to the client.\nThis function returns the private key of the Wallet.\n\n~~~ts\nconst privateKey = client.generateRandomWallet();\nconsole.log(privateKey) // the private key of the wallet\n~~~\n\n#### Generate deterministic Wallet from data\n\nFor some cases where the voters don't have an owned Wallet, we can generate a deterministic\nWallet based on arbitrary data, like, for example, the user and hash password from a custom CRM.\n\nHere is an example where a Wallet is generated using the username and the hash of the password\nwhich we would use to identify the user in our platform. This Wallet can then be used for the\ncensus and for voting purposes.\n\n~~~ts\n// 9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08 is the sha256 of 'test'\nconst userWallet = VocdoniSDKClient.generateWalletFromData(['user1', '9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08']);\nconsole.log(userWallet) // address is 0x8AF1b3EDB817b5854e3311d583905a3421F49829\n~~~\n\n### Advanced\n\n#### Use a CSP to validate participants in an election\n\nThe SDK comes with an implementation of the common handler API of a CSP which is explained\n[here](https://github.com/vocdoni/blind-csp#api).\n\nFor creating a CSP based election, a `CspCensus` has to be set to the election. This census need the\nCSP public key (`CSP_PUBKEY` in the example) and the CSP Url (`CSP_URL` in the example).\n\n~~~ts\nconst election = Election.from({\n  title: 'Election title',\n  description: 'Election description',\n  // a header image for your process (this is for example purposes; avoid using random sources)\n  header: 'https://source.unsplash.com/random/2048x600',\n  endDate: new Date('2023-01-23 23:23:23'),\n  census: new CspCensus(CSP_PUBKEY, CSP_URL),\n})\n// The election can be created the same way from here...\n~~~\n\nThe SDK comes with some wrappers to get a blind signature from the CSP in order to vote.\nThe complete flow is shown here:\n\n~~~ts\n// Client initialization\nconst client = new VocdoniSDKClient({\n  env: EnvOptions.DEV,\n  wallet: signer, // the signer used (Metamask, Walletconnect)\n  electionId: '934234...', // The election identifier (has to be a CSP configured election)\n})\n\n// Auth steps for the CSP (can vary of the type of the CSP)\nconst step0 = (await client.cspStep(0, ['Name test'])) as ICspIntermediateStepResponse;\nconst step1 = (await client.cspStep(\n  1,\n  [step0.response.reduce((acc, v) => +acc + +v, 0).toString()],\n  step0.authToken\n)) as ICspFinalStepResponse;\n\n// Get the blind signature\nconst signature = await client.cspSign(signer.address, step1.token);\n\n// Get the vote based on the signature\nconst vote = client.cspVote(new Vote([index % 2]), signature);\n\n// Vote\nconst voteId = await client.submitVote(vote);\n~~~\n\nFor weighted CSP elections, pass the voter's `weight` to `cspSign`. The weight is part of the bundle the CSP\nblind-signs, so `cspSign` returns it together with the signature (`{ signature, weight }`) and `cspVote` reuses\nit automatically — there's no need to pass it twice, and passing a different weight to `cspVote` throws:\n\n~~~ts\n// Get the blind signature for a weighted vote\nconst signature = await client.cspSign(signer.address, step1.token, weight);\n\n// the weight travels with the signature returned by cspSign and is reused here\nconst vote = client.cspVote(new Vote([index % 2]), signature);\n~~~\n\nIf you need to send the signature elsewhere (e.g. sign on a backend and vote from a frontend), note that `weight` is\na `bigint`, which `JSON.stringify` can't serialize. Send it as a decimal string instead; `cspVote` accepts it as is:\n\n~~~ts\nconst payload = JSON.stringify({ ...signature, weight: signature.weight?.toString() });\n// ...later, somewhere else\nconst vote = client.cspVote(new Vote([index % 2]), JSON.parse(payload));\n~~~\n\nThe `weight` you pass here is a claim about what the CSP attested, not an instruction to it: the CSP blind-signs\nwithout seeing the bundle, using a key salted with the weight *it* holds for that voter. If the two disagree the\nchain rejects the vote, so the weight must be the one the CSP authorized. This means the CSP must implement the\n`OFF_CHAIN_CA_V2` salt derivation *including* the weight — the reference [blind-csp](https://github.com/vocdoni/blind-csp)\nservice does not yet carry a per-voter weight, so weighted blind votes only work against a CSP that does.\n\n## Census3\n\n### What is Census3?\n\nCensus3 is an API service to create censuses for elections with holders of a single token or a combination of them.\nThe service creates a list of holder addresses and balances and keeps it updated in real time, for every registered token.\nThen, it allows creating a merkle tree census (compatible with [Vocdoni](https://vocdoni.io/)) with those holders, using their balances as vote weights.\n\nMore information about Census3 can be found [here](https://github.com/vocdoni/census3).\n\n### Using Census3\n\nThe SDK comes with an implementation of the [Census3 API](https://github.com/vocdoni/census3/blob/main/api/README.md).\n\n#### Creating a Census3 client\n\n~~~ts\nconst client = new VocdoniCensus3Client({\n  env: EnvOptions.DEV // dev environment\n})\n~~~\n\n#### Getting basic service information\n\n~~~ts\n// Get the supported chains\nconst supportedChains = await client.getSupportedChains();\n// [\n//     {\n//     \"chainID\": 1,\n//     \"shortName\": \"eth\",\n//     \"name\": \"Ethereum Mainnet\"\n//     },\n//     {\n//       \"chainID\": 5,\n//       \"shortName\": \"gor\",\n//       \"name\": \"Goerli\"\n//     },\n//     {\n//       \"chainID\": 137,\n//       \"shortName\": \"matic\",\n//       \"name\": \"Polygon Mainnet\"\n//     },\n//     {\n//       \"chainID\": 80001,\n//       \"shortName\": \"maticmum\",\n//       \"name\": \"Mumbai\"\n//     }\n// ]\n~~~\n\n~~~ts\n// Get the supported token types\nconst supportedTypes = await client.getSupportedTypes();\n// [\"erc20\", \"erc777\", \"poap\", \"unknown\", \"erc721burned\", \"erc1155\", \"nation3\", \"want\", \"erc721\"]\n~~~\n\n#### Getting tokens information and creating them\n\n~~~ts\n// Get the supported tokens\nconst supportedTokens = await client.getSupportedTokens();\n// [\n//   {\n//     \"ID\": \"0x0AaCfbeC6a24756c20D41914F2caba817C0d8521\",\n//     \"type\": \"erc20\",\n//     \"decimals\": 18,\n//     \"startBlock\": 10886913,\n//     \"symbol\": \"YAM\",\n//     \"totalSupply\": \"\",\n//     \"name\": \"YAM\",\n//     \"status\": {\n//       \"atBlock\": 18565762,\n//       \"synced\": true,\n//       \"progress\": 100\n//     },\n//     \"size\": 14999,\n//     \"defaultStrategy\": 19,\n//     \"chainID\": 1,\n//     \"chainAddress\": \"eth:0x0AaCfbeC6a24756c20D41914F2caba817C0d8521\"\n//   },\n//   {\n//     \"ID\": \"0x0b38210ea11411557c13457D4dA7dC6ea731B88a\",\n//     \"type\": \"erc20\",\n//     \"decimals\": 18,\n//     \"startBlock\": 11203771,\n//     \"symbol\": \"API3\",\n//     \"totalSupply\": \"\",\n//     \"name\": \"API3\",\n//     \"status\": {\n//       \"atBlock\": 18565763,\n//       \"synced\": true,\n//       \"progress\": 100\n//     },\n//     \"size\": 51178,\n//     \"defaultStrategy\": 8,\n//     \"chainID\": 1,\n//     \"chainAddress\": \"eth:0x0b38210ea11411557c13457D4dA7dC6ea731B88a\"\n//   },\n//   ...\n// ]\n~~~\n\n~~~ts\n// Get a token by its ID (address) and chain identifier\nconst token = await client.getToken('0x0AaCfbeC6a24756c20D41914F2caba817C0d8521', 1);\n// {\n//   \"ID\": \"0x0AaCfbeC6a24756c20D41914F2caba817C0d8521\",\n//   \"type\": \"erc20\",\n//   \"decimals\": 18,\n//   \"startBlock\": 10886913,\n//   \"symbol\": \"YAM\",\n//   \"totalSupply\": \"15164231312592159866595366\",\n//   \"name\": \"YAM\",\n//   \"status\": {\n//     \"atBlock\": 18565783,\n//     \"synced\": true,\n//     \"progress\": 100\n//   },\n//   \"size\": 14999,\n//   \"defaultStrategy\": 19,\n//   \"chainID\": 1,\n//   \"chainAddress\": \"eth:0x0AaCfbeC6a24756c20D41914F2caba817C0d8521\",\n//   \"tags\": []\n// }\n~~~\n\n~~~ts\n// Check if a holder is registered for a given token\nconst token = await client.isHolderInToken(\n  '0x0AaCfbeC6a24756c20D41914F2caba817C0d8521',\n  1,\n  '0x111000000000000000000000000000000000dEaD'\n);\n// false\n~~~\n\n~~~ts\n// Creates a new token by passing the address, the type and the chain identifier\nconst token = await client.createToken('0xa117000000f279d81a1d3cc75430faa017fa5a2e', 'erc20', 1);\n~~~\n\n#### Getting strategies information and creating them\n\n~~~ts\n// Get the supported strategies\nconst supportedStrategies = await client.getStrategies();\n// [\n//   {\n//     \"ID\": 1,\n//     \"alias\": \"Default strategy for token CRV\",\n//     \"predicate\": \"CRV\",\n//     \"uri\": \"ipfs://bafybeicjqjklqpumewpaue6weg47byz6fwmbg6ozief3w2pgqx7zlwl5ea\",\n//     \"tokens\": {\n//       \"CRV\": {\n//         \"ID\": \"0xD533a949740bb3306d119CC777fa900bA034cd52\",\n//         \"chainID\": 1,\n//         \"minBalance\": \"0\",\n//         \"chainAddress\": \"eth:0xD533a949740bb3306d119CC777fa900bA034cd52\"\n//       }\n//     }\n//   },\n//   {\n//     \"ID\": 2,\n//     \"alias\": \"Default strategy for token UNI\",\n//     \"predicate\": \"UNI\",\n//     \"uri\": \"ipfs://bafybeiesxbsbvp2agcuolezec6hvimntqdg3w43xs62mecdj2fyeh5anxu\",\n//     \"tokens\": {\n//       \"UNI\": {\n//         \"ID\": \"0x1f9840a85d5aF5bf1D1762F925BDADdC4201F984\",\n//         \"chainID\": 1,\n//         \"minBalance\": \"0\",\n//         \"chainAddress\": \"eth:0x1f9840a85d5aF5bf1D1762F925BDADdC4201F984\"\n//       }\n//     }\n//   },\n//   ...\n// ]\n~~~\n\n~~~ts\n// Get the supported strategies by token and chain identifier\nconst supportedStrategiesByToken = await client.getStrategiesByToken('0x0AaCfbeC6a24756c20D41914F2caba817C0d8521', 1);\n// [\n//   {\n//     \"ID\": 19,\n//     \"alias\": \"Default strategy for token YAM\",\n//     \"predicate\": \"YAM\",\n//     \"uri\": \"ipfs://bafybeicddxfktpcmbkvrflifbod6eeaizfab7l5ijggswnn5jwu3uhv4i4\",\n//     \"tokens\": {\n//       \"YAM\": {\n//         \"ID\": \"0x0AaCfbeC6a24756c20D41914F2caba817C0d8521\",\n//         \"chainID\": 1,\n//         \"minBalance\": \"0\",\n//         \"chainAddress\": \"eth:0x0AaCfbeC6a24756c20D41914F2caba817C0d8521\"\n//       }\n//     }\n//   },\n//   {\n//     \"ID\": 37,\n//     \"alias\": \"testStrategy_1699887257144\",\n//     \"predicate\": \"(YAM OR API3) AND 1INCH\",\n//     \"uri\": \"ipfs://bafybeic2gw6nb75ledp3jbz46rmdrnti33hgtlm5icfluxn5ol4enqps7i\",\n//     \"tokens\": {\n//       \"1INCH\": {\n//         \"ID\": \"0x111111111117dC0aa78b770fA6A738034120C302\",\n//         \"chainID\": 1,\n//         \"minBalance\": \"50\",\n//         \"chainAddress\": \"eth:0x111111111117dC0aa78b770fA6A738034120C302\"\n//       },\n//       \"API3\": {\n//         \"ID\": \"0x0b38210ea11411557c13457D4dA7dC6ea731B88a\",\n//         \"chainID\": 1,\n//         \"minBalance\": \"0\",\n//         \"chainAddress\": \"eth:0x0b38210ea11411557c13457D4dA7dC6ea731B88a\"\n//       },\n//       \"YAM\": {\n//         \"ID\": \"0x0AaCfbeC6a24756c20D41914F2caba817C0d8521\",\n//         \"chainID\": 1,\n//         \"minBalance\": \"10000\",\n//         \"chainAddress\": \"eth:0x0AaCfbeC6a24756c20D41914F2caba817C0d8521\"\n//       }\n//     }\n//   },\n//   ...\n// ]\n~~~\n\n~~~ts\n// Get a strategy on a given identifier\nconst strategy = await client.getStrategy(1);\n// {\n//   \"ID\": 1,\n//   \"alias\": \"Default strategy for token CRV\",\n//   \"predicate\": \"CRV\",\n//   \"uri\": \"ipfs://bafybeicjqjklqpumewpaue6weg47byz6fwmbg6ozief3w2pgqx7zlwl5ea\",\n//   \"tokens\": {\n//       \"CRV\": {\n//         \"ID\": \"0xD533a949740bb3306d119CC777fa900bA034cd52\",\n//         \"chainID\": 1,\n//         \"minBalance\": \"0\",\n//         \"chainAddress\": \"eth:0xD533a949740bb3306d119CC777fa900bA034cd52\"\n//       }\n//   }\n// }\n~~~\n\n~~~ts\n// Get strategy estimation information for creating census\nconst size = await client.getStrategyEstimation(1);\n// {\n//   \"size\": 5516,\n//   \"timeToCreateCensus\": 3296,\n//   \"accuracy\": 100\n// }\n~~~\n\n~~~ts\n// Creates a new strategy by passing the alias, the predicate and the tokens information\nconst strategyId = await client.createStrategy('test_strategy', '(wANT OR ANT) AND USDC', {\n  \"wANT\": {\n    \"ID\": \"0x1324\",\n    \"chainID\": 1,\n    \"minBalance\": \"10000\"\n  },\n  \"ANT\": {\n    \"ID\": \"0x1324\",\n    \"chainID\": 5,\n  },\n  \"USDC\": {\n    \"ID\": \"0x1324\",\n    \"chainID\": 1,\n    \"minBalance\": \"50\"\n  },\n});\nconsole.log(strategyId) // strategy identifier\n~~~\n\n~~~ts\n// Imports a strategy from IPFS by the given cid\nconst strategy = await client.importStrategy('bafybeicjqjklqpumewpaue6weg47byz6fwmbg6ozief3w2pgqx7zlwl5ea');\n// {\n//   \"ID\": 1,\n//   \"alias\": \"Default strategy for token CRV\",\n//   \"predicate\": \"CRV\",\n//   \"uri\": \"ipfs://bafybeicjqjklqpumewpaue6weg47byz6fwmbg6ozief3w2pgqx7zlwl5ea\",\n//   \"tokens\": {\n//       \"CRV\": {\n//         \"ID\": \"0xD533a949740bb3306d119CC777fa900bA034cd52\",\n//         \"chainID\": 1,\n//         \"minBalance\": \"0\",\n//         \"chainAddress\": \"eth:0xD533a949740bb3306d119CC777fa900bA034cd52\"\n//       }\n//   }\n// }\n~~~\n\n~~~ts\n// Validates a predicate for a strategy and returns the parsed predicate in JSON\nconst validatePredicate = await client.validatePredicate('1INCH AND (YAM OR API3)');\n// {\n//   \"result\": {\n//   \"childs\": {\n//     \"operator\": \"AND\",\n//       \"tokens\": [\n//       {\n//         \"childs\": {\n//           \"operator\": \"OR\",\n//           \"tokens\": [\n//             {\n//               \"literal\": \"YAM\"\n//             },\n//             {\n//               \"literal\": \"API3\"\n//             }\n//           ]\n//         }\n//       },\n//       {\n//         \"literal\": \"1INCH\"\n//       }\n//     ]\n//   }\n// }\n// }\n~~~\n\n~~~ts\n// Gets the supported predicate operators\nconst operators = await client.getSupportedOperators();\n// [\n//   {\n//     \"description\": \"AND logical operator that returns the common token holders between symbols with fixed balance to 1\",\n//     \"tag\": \"AND\"\n//   },\n//   {\n//     \"description\": \"AND:sum logical operator that returns the common token holders between symbols with the sum of their balances on both tokens\",\n//     \"tag\": \"AND:sum\"\n//   },\n//   {\n//     \"description\": \"AND:mul logical operator that returns the common token holders between symbols with the multiplication of their balances on both tokens\",\n//     \"tag\": \"AND:mul\"\n//   },\n//   ...\n// ]\n~~~\n\n#### Getting censuses information and creating them\n\n~~~ts\n// Get the supported censuses by strategy identifier\nconst strategyID = 18;\nconst censusesByStrategy = await client.getCensuses(strategyID);\n// [\n//   {\n//     \"ID\": 18569955180,\n//     \"strategyID\": 18,\n//     \"merkleRoot\": \"9b1ac0ed374a66b781a22ec5e1b1382324adc0759662e1e6f85fc87f5a23407e\",\n//     \"uri\": \"ipfs://bafybeihwz2mbkkphgs2ni5laymgtfokaskujg2qfqcvoxhkccbdqp6k7ly\",\n//     \"size\": 14999,\n//     \"weight\": \"81637958624197446065983341792\",\n//     \"anonymous\": false\n//   },\n//   {\n//     \"ID\": 18569991180,\n//     \"strategyID\": 18,\n//     \"merkleRoot\": \"ab1c003b923c4fec0b24f84893ddda8835fd3990904dc64f06c1fc0eadef402f\",\n//     \"uri\": \"ipfs://bafybeig5jrzw7ayxb442evan4pwa4rfksznh3smyt4exyjkubet2u5ldjm\",\n//     \"size\": 14999,\n//     \"weight\": \"653103668993579568527866734336\",\n//     \"anonymous\": false\n//   },\n//   ...\n// ]\n~~~\n\n~~~ts\n// Get a census on a given identifier\nconst census = await client.getCensus(18569955180);\n// {\n//   \"ID\": 18569955180,\n//   \"strategyID\": 18,\n//   \"merkleRoot\": \"9b1ac0ed374a66b781a22ec5e1b1382324adc0759662e1e6f85fc87f5a23407e\",\n//   \"uri\": \"ipfs://bafybeihwz2mbkkphgs2ni5laymgtfokaskujg2qfqcvoxhkccbdqp6k7ly\",\n//   \"size\": 14999,\n//   \"weight\": \"1514939612264202552941935398517220938016694806267744586724593217517874\",\n//   \"anonymous\": false\n// }\n~~~\n\n~~~ts\n// Creates a new census by passing the strategy identifier\nconst strategyID = 18;\nconst census = await client.createCensus(strategyID);\n// {\n//   \"ID\": 18570184180,\n//   \"strategyID\": 18,\n//   \"merkleRoot\": \"542166dd4757904449e71d5c21058597ab4179f040ee1f9e7dd29eec622ca5ed\",\n//   \"uri\": \"ipfs://bafybeifbhmytl6olebkdoas6uftj3ae5akutmji4io6k37ilzu5uli2nle\",\n//   \"size\": 14999,\n//   \"weight\": \"42801802051163230603042274301444096\",\n//   \"anonymous\": false\n// }\n~~~\n\n~~~ts\n// Creates a new census by passing the token address, using the default strategy and returns\n// an instance of `TokenCensus` which can be directly used as a census in the Vocdoni chain\nconst census = await client.createTokenCensus('0x0AaCfbeC6a24756c20D41914F2caba817C0d8521', 1);\nconsole.log(typeof census); // TokenCensus\n~~~\n\n~~~ts\n// Creates a new census by passing a strategy and returns\n// an instance of `StrategyCensus` which can be directly used as a census in the Vocdoni chain\nconst census = await client.createStrategyCensus(12);\nconsole.log(typeof census); // StrategyCensus\n~~~\n\n## Examples\n\nYou can find a [full featured vite][example-vite] application with all the previous\nsteps in the [examples] folder. In that folder you'll also find a\n[es modules example][example-esm], creating and voting an election process.\n\n![example-esm demo](./examples/esm/esm.gif)\n\n## Docs\n\nYou can find the autogenerated docs in our [Developer Portal][devportal] or you\ncan build them following [this guide][builddocs].\n\n## Roadmap\n\n- [ ] Add support for DAVINCI\n- [ ] Add support for DAVINCI contracts for the Superchain ecosystem\n    - [ ] [Celo](https://celo.org) L2\n\n## License\n\nThis SDK is licensed under the [GNU Affero General Public License v3.0][license].\n\n    Vocdoni API Typescript SDK\n    Copyright (C) 2022 Vocdoni Roots MCU\n\n    This program is free software: you can redistribute it and/or modify\n    it under the terms of the GNU Affero General Public License as published by\n    the Free Software Foundation, either version 3 of the License, or\n    (at your option) any later version.\n\n    This program is distributed in the hope that it will be useful,\n    but WITHOUT ANY WARRANTY; without even the implied warranty of\n    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n    GNU Affero General Public License for more details.\n\n    You should have received a copy of the GNU Affero General Public License\n    along with this program.  If not, see <https://www.gnu.org/licenses/>.\n\n[Vocdoni API]: https://vocdoni.io/api\n[nodejs]: https://nodejs.org\n[ethers]: https://github.com/ethers-io/ethers.js\n[vochain explorer]: https://explorer.vote\n[dev vochain explorer]: https://dev.explorer.vote\n[publishedelection class]: ./src/types/election/published.ts\n[election-lifecycle-states]: https://developer.vocdoni.io/get-started/intro#election-lifecycle-states\n[election params interface]: ./src/types/election/election.ts#23\n[examples]: ./examples\n[example-vite]: ./examples/vite-react-app\n[example-esm]: ./examples/esm\n[quadratic voting example]: ./examples/typescript/src/quadratic.ts\n[quadratic voting documentation]: https://developer.vocdoni.io/protocol/ballot#quadratic-voting\n[approval voting example]: ./examples/typescript/src/approval.ts\n[approval voting documentation]: https://developer.vocdoni.io/protocol/ballot#multiquestion\n[ranked voting example]: ./examples/typescript/src/ranked.ts\n[ranked voting documentation]: https://developer.vocdoni.io/protocol/ballot#linear-weighted-choice\n[license]: ./LICENSE\n[devportal]: https://developer.vocdoni.io/sdk\n[builddocs]: ./docs/README.md\n","readmeFilename":"README.md"}