{"_id":"@archdao/archdao-client","_rev":"6-87a4cef6cd66bd9aef3a908827a3da0a","name":"@archdao/archdao-client","dist-tags":{"latest":"2.1.5"},"versions":{"1.7.1":{"name":"@archdao/archdao-client","version":"1.7.1","author":{"name":"ArchDaoFi"},"_id":"@archdao/archdao-client@1.7.1","maintainers":[{"name":"futarist","email":"admin@archdao.fi"}],"dist":{"shasum":"65df355dcf7f385a51d82c7797955cb8a3007574","tarball":"https://registry.npmjs.org/@archdao/archdao-client/-/archdao-client-1.7.1.tgz","fileCount":1106,"integrity":"sha512-q8KIQCctByn/IFcPEbehNYsuFFw5oeq3BcNm9RLHYLRlnCycz5543OPgdFe3yBOel0TZN6pJump/HsaelAFaog==","signatures":[{"sig":"MEUCIAZB6eMJYgD+RpLYy38aaV7FZfiHAxNnWSkkUo/OVAC8AiEAuvFjzTm+uADe5gVo0WBYM1nCV30XIkzNCA/q/IIBxB4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":2513602},"main":"./dist/commonjs/index.js","tshy":{"exports":{".":"./src/index.ts","./*":"./src/*.ts","./*.js":"./src/*.ts","./types":"./src/types/index.ts","./package.json":"./package.json","./models/errors":"./src/models/errors/index.ts","./models/components":"./src/models/components/index.ts","./models/operations":"./src/models/operations/index.ts"},"sourceDialects":["@archdao/archdao-client/source"]},"type":"module","types":"./dist/commonjs/index.d.ts","module":"./dist/esm/index.js","exports":{".":{"import":{"types":"./dist/esm/index.d.ts","default":"./dist/esm/index.js","@archdao/archdao-client/source":"./src/index.ts"},"require":{"types":"./dist/commonjs/index.d.ts","default":"./dist/commonjs/index.js"}},"./*":{"import":{"types":"./dist/esm/*.d.ts","default":"./dist/esm/*.js","@archdao/archdao-client/source":"./src/*.ts"},"require":{"types":"./dist/commonjs/*.d.ts","default":"./dist/commonjs/*.js"}},"./*.js":{"import":{"types":"./dist/esm/*.d.ts","default":"./dist/esm/*.js","@archdao/archdao-client/source":"./src/*.ts"},"require":{"types":"./dist/commonjs/*.d.ts","default":"./dist/commonjs/*.js"}},"./types":{"import":{"types":"./dist/esm/types/index.d.ts","default":"./dist/esm/types/index.js","@archdao/archdao-client/source":"./src/types/index.ts"},"require":{"types":"./dist/commonjs/types/index.d.ts","default":"./dist/commonjs/types/index.js"}},"./package.json":"./package.json","./models/errors":{"import":{"types":"./dist/esm/models/errors/index.d.ts","default":"./dist/esm/models/errors/index.js","@archdao/archdao-client/source":"./src/models/errors/index.ts"},"require":{"types":"./dist/commonjs/models/errors/index.d.ts","default":"./dist/commonjs/models/errors/index.js"}},"./models/components":{"import":{"types":"./dist/esm/models/components/index.d.ts","default":"./dist/esm/models/components/index.js","@archdao/archdao-client/source":"./src/models/components/index.ts"},"require":{"types":"./dist/commonjs/models/components/index.d.ts","default":"./dist/commonjs/models/components/index.js"}},"./models/operations":{"import":{"types":"./dist/esm/models/operations/index.d.ts","default":"./dist/esm/models/operations/index.js","@archdao/archdao-client/source":"./src/models/operations/index.ts"},"require":{"types":"./dist/commonjs/models/operations/index.d.ts","default":"./dist/commonjs/models/operations/index.js"}}},"gitHead":"c5c7c6b108fd1fb64a1d687be399b5668d65fe3e","scripts":{"lint":"eslint --cache --max-warnings=0 src","build":"tshy","prepublishOnly":"npm run build"},"_npmUser":{"name":"futarist","email":"admin@archdao.fi"},"_npmVersion":"11.3.0","description":"Developer-friendly, idiomatic Typescript SDK for the *archdao-client* API.","directories":{},"sideEffects":false,"_nodeVersion":"24.0.0","dependencies":{},"_hasShrinkwrap":false,"devDependencies":{"zod":"^3.25.17","tshy":"^2.0.0","eslint":"^9.19.0","globals":"^15.14.0","@eslint/js":"^9.19.0","typescript":"^5.4.5","typescript-eslint":"^8.22.0"},"peerDependencies":{"zod":">= 3"},"_npmOperationalInternal":{"tmp":"tmp/archdao-client_1.7.1_1768219637172_0.8055893278070134","host":"s3://npm-registry-packages-npm-production"}},"2.0.1":{"name":"@archdao/archdao-client","version":"2.0.1","author":{"name":"ArchDaoFi"},"_id":"@archdao/archdao-client@2.0.1","maintainers":[{"name":"futarist","email":"admin@archdao.fi"}],"dist":{"shasum":"dc2e7629b2fb657a8540aedd50623c1d03ad7ea4","tarball":"https://registry.npmjs.org/@archdao/archdao-client/-/archdao-client-2.0.1.tgz","fileCount":1061,"integrity":"sha512-hauz/JMBDQFYwL6VLGLBvsYoONPd7WfSjUg2gVTZtumhN0i+eP0JSAoFfuAFEX/j/htKd4KDbFSZ87PRvfwtiQ==","signatures":[{"sig":"MEUCIQCqTEoBFlCSFnR5uLoa7KIf7P06mU786yS6KMmGQTdQiwIgArzjx7fJvBHpdfpF7T9ANnAlhPVw35Zn8SHj3imoS+w=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":2465921},"main":"./dist/commonjs/index.js","tshy":{"exports":{".":"./src/index.ts","./*":"./src/*.ts","./*.js":"./src/*.ts","./types":"./src/types/index.ts","./package.json":"./package.json","./models/errors":"./src/models/errors/index.ts","./models/components":"./src/models/components/index.ts","./models/operations":"./src/models/operations/index.ts"},"sourceDialects":["@archdao/archdao-client/source"]},"type":"module","types":"./dist/commonjs/index.d.ts","module":"./dist/esm/index.js","exports":{".":{"import":{"types":"./dist/esm/index.d.ts","default":"./dist/esm/index.js","@archdao/archdao-client/source":"./src/index.ts"},"require":{"types":"./dist/commonjs/index.d.ts","default":"./dist/commonjs/index.js"}},"./*":{"import":{"types":"./dist/esm/*.d.ts","default":"./dist/esm/*.js","@archdao/archdao-client/source":"./src/*.ts"},"require":{"types":"./dist/commonjs/*.d.ts","default":"./dist/commonjs/*.js"}},"./*.js":{"import":{"types":"./dist/esm/*.d.ts","default":"./dist/esm/*.js","@archdao/archdao-client/source":"./src/*.ts"},"require":{"types":"./dist/commonjs/*.d.ts","default":"./dist/commonjs/*.js"}},"./types":{"import":{"types":"./dist/esm/types/index.d.ts","default":"./dist/esm/types/index.js","@archdao/archdao-client/source":"./src/types/index.ts"},"require":{"types":"./dist/commonjs/types/index.d.ts","default":"./dist/commonjs/types/index.js"}},"./package.json":"./package.json","./models/errors":{"import":{"types":"./dist/esm/models/errors/index.d.ts","default":"./dist/esm/models/errors/index.js","@archdao/archdao-client/source":"./src/models/errors/index.ts"},"require":{"types":"./dist/commonjs/models/errors/index.d.ts","default":"./dist/commonjs/models/errors/index.js"}},"./models/components":{"import":{"types":"./dist/esm/models/components/index.d.ts","default":"./dist/esm/models/components/index.js","@archdao/archdao-client/source":"./src/models/components/index.ts"},"require":{"types":"./dist/commonjs/models/components/index.d.ts","default":"./dist/commonjs/models/components/index.js"}},"./models/operations":{"import":{"types":"./dist/esm/models/operations/index.d.ts","default":"./dist/esm/models/operations/index.js","@archdao/archdao-client/source":"./src/models/operations/index.ts"},"require":{"types":"./dist/commonjs/models/operations/index.d.ts","default":"./dist/commonjs/models/operations/index.js"}}},"gitHead":"d7e55df07a1005b9df7b32bf7de0bb3dec58143a","scripts":{"lint":"eslint --cache --max-warnings=0 src","build":"tshy","prepublishOnly":"npm run build"},"_npmUser":{"name":"futarist","email":"admin@archdao.fi"},"_npmVersion":"11.3.0","description":"Developer-friendly, idiomatic Typescript SDK for the *archdao-client* API.","directories":{},"sideEffects":false,"_nodeVersion":"24.0.0","dependencies":{},"_hasShrinkwrap":false,"devDependencies":{"zod":"^3.25.17","tshy":"^2.0.0","eslint":"^9.19.0","globals":"^15.14.0","@eslint/js":"^9.19.0","typescript":"^5.4.5","typescript-eslint":"^8.22.0"},"peerDependencies":{"zod":">= 3"},"_npmOperationalInternal":{"tmp":"tmp/archdao-client_2.0.1_1768237216980_0.34701728666821596","host":"s3://npm-registry-packages-npm-production"}},"2.1.0":{"name":"@archdao/archdao-client","version":"2.1.0","author":{"name":"ArchDaoFi"},"_id":"@archdao/archdao-client@2.1.0","maintainers":[{"name":"futarist","email":"admin@archdao.fi"}],"dist":{"shasum":"b04ceba0b5c961d5586913e80a6eac7e643d5fcc","tarball":"https://registry.npmjs.org/@archdao/archdao-client/-/archdao-client-2.1.0.tgz","fileCount":1061,"integrity":"sha512-tZeXdWt0cf27gxVoJYZ4TKJZe2F8tj5tlOyiFjz+RU4GWTRmBwbZ+N7Lu5zE7rj/Ome97kKazT7ChzUhOmOCfA==","signatures":[{"sig":"MEYCIQCyvHccSxP8Zlz5ckRk1obFKn08BW6ZLckYwnN/2XOM9AIhAJS5CsQHc953qFt6i01i2ROsqgVvwh9vDv+3aYyCxX73","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":2468928},"main":"./dist/commonjs/index.js","tshy":{"exports":{".":"./src/index.ts","./*":"./src/*.ts","./*.js":"./src/*.ts","./types":"./src/types/index.ts","./package.json":"./package.json","./models/errors":"./src/models/errors/index.ts","./models/components":"./src/models/components/index.ts","./models/operations":"./src/models/operations/index.ts"},"sourceDialects":["@archdao/archdao-client/source"]},"type":"module","types":"./dist/commonjs/index.d.ts","module":"./dist/esm/index.js","exports":{".":{"import":{"types":"./dist/esm/index.d.ts","default":"./dist/esm/index.js","@archdao/archdao-client/source":"./src/index.ts"},"require":{"types":"./dist/commonjs/index.d.ts","default":"./dist/commonjs/index.js"}},"./*":{"import":{"types":"./dist/esm/*.d.ts","default":"./dist/esm/*.js","@archdao/archdao-client/source":"./src/*.ts"},"require":{"types":"./dist/commonjs/*.d.ts","default":"./dist/commonjs/*.js"}},"./*.js":{"import":{"types":"./dist/esm/*.d.ts","default":"./dist/esm/*.js","@archdao/archdao-client/source":"./src/*.ts"},"require":{"types":"./dist/commonjs/*.d.ts","default":"./dist/commonjs/*.js"}},"./types":{"import":{"types":"./dist/esm/types/index.d.ts","default":"./dist/esm/types/index.js","@archdao/archdao-client/source":"./src/types/index.ts"},"require":{"types":"./dist/commonjs/types/index.d.ts","default":"./dist/commonjs/types/index.js"}},"./package.json":"./package.json","./models/errors":{"import":{"types":"./dist/esm/models/errors/index.d.ts","default":"./dist/esm/models/errors/index.js","@archdao/archdao-client/source":"./src/models/errors/index.ts"},"require":{"types":"./dist/commonjs/models/errors/index.d.ts","default":"./dist/commonjs/models/errors/index.js"}},"./models/components":{"import":{"types":"./dist/esm/models/components/index.d.ts","default":"./dist/esm/models/components/index.js","@archdao/archdao-client/source":"./src/models/components/index.ts"},"require":{"types":"./dist/commonjs/models/components/index.d.ts","default":"./dist/commonjs/models/components/index.js"}},"./models/operations":{"import":{"types":"./dist/esm/models/operations/index.d.ts","default":"./dist/esm/models/operations/index.js","@archdao/archdao-client/source":"./src/models/operations/index.ts"},"require":{"types":"./dist/commonjs/models/operations/index.d.ts","default":"./dist/commonjs/models/operations/index.js"}}},"gitHead":"e6b96bc9c5a0a884c1bbe12c1047ca538759e304","scripts":{"lint":"eslint --cache --max-warnings=0 src","build":"tshy","prepublishOnly":"npm run build"},"_npmUser":{"name":"futarist","email":"admin@archdao.fi"},"_npmVersion":"11.3.0","description":"Developer-friendly, idiomatic Typescript SDK for the *archdao-client* API.","directories":{},"sideEffects":false,"_nodeVersion":"24.0.0","dependencies":{},"_hasShrinkwrap":false,"devDependencies":{"zod":"^3.25.17","tshy":"^2.0.0","eslint":"^9.19.0","globals":"^15.14.0","@eslint/js":"^9.19.0","typescript":"^5.4.5","typescript-eslint":"^8.22.0"},"peerDependencies":{"zod":">= 3"},"_npmOperationalInternal":{"tmp":"tmp/archdao-client_2.1.0_1768251906870_0.49113029581428513","host":"s3://npm-registry-packages-npm-production"}},"2.1.2":{"name":"@archdao/archdao-client","version":"2.1.2","author":{"name":"ArchDaoFi"},"_id":"@archdao/archdao-client@2.1.2","maintainers":[{"name":"futarist","email":"admin@archdao.fi"}],"dist":{"shasum":"690c5d48009db323458e8b0659b059a1e4596722","tarball":"https://registry.npmjs.org/@archdao/archdao-client/-/archdao-client-2.1.2.tgz","fileCount":1061,"integrity":"sha512-Hw6LCgabci3RdEdJ9AtmcSW27u4dKUFngxWhuV/NeJJ7H7ucBBXGZPK9c3HtMynzsrz9fxhErjB8gzCybB2MrA==","signatures":[{"sig":"MEYCIQDcgAmqwlgD8QVXRbZWVHkD7FMN7sY6RQL0e4rbACORWwIhAIIsd2ZVa1R1gdie1DkBnRjva+6yDp5aYBs20x3d7fgx","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":2469207},"main":"./dist/commonjs/index.js","tshy":{"exports":{".":"./src/index.ts","./*":"./src/*.ts","./*.js":"./src/*.ts","./types":"./src/types/index.ts","./package.json":"./package.json","./models/errors":"./src/models/errors/index.ts","./models/components":"./src/models/components/index.ts","./models/operations":"./src/models/operations/index.ts"},"sourceDialects":["@archdao/archdao-client/source"]},"type":"module","types":"./dist/commonjs/index.d.ts","module":"./dist/esm/index.js","exports":{".":{"import":{"types":"./dist/esm/index.d.ts","default":"./dist/esm/index.js","@archdao/archdao-client/source":"./src/index.ts"},"require":{"types":"./dist/commonjs/index.d.ts","default":"./dist/commonjs/index.js"}},"./*":{"import":{"types":"./dist/esm/*.d.ts","default":"./dist/esm/*.js","@archdao/archdao-client/source":"./src/*.ts"},"require":{"types":"./dist/commonjs/*.d.ts","default":"./dist/commonjs/*.js"}},"./*.js":{"import":{"types":"./dist/esm/*.d.ts","default":"./dist/esm/*.js","@archdao/archdao-client/source":"./src/*.ts"},"require":{"types":"./dist/commonjs/*.d.ts","default":"./dist/commonjs/*.js"}},"./types":{"import":{"types":"./dist/esm/types/index.d.ts","default":"./dist/esm/types/index.js","@archdao/archdao-client/source":"./src/types/index.ts"},"require":{"types":"./dist/commonjs/types/index.d.ts","default":"./dist/commonjs/types/index.js"}},"./package.json":"./package.json","./models/errors":{"import":{"types":"./dist/esm/models/errors/index.d.ts","default":"./dist/esm/models/errors/index.js","@archdao/archdao-client/source":"./src/models/errors/index.ts"},"require":{"types":"./dist/commonjs/models/errors/index.d.ts","default":"./dist/commonjs/models/errors/index.js"}},"./models/components":{"import":{"types":"./dist/esm/models/components/index.d.ts","default":"./dist/esm/models/components/index.js","@archdao/archdao-client/source":"./src/models/components/index.ts"},"require":{"types":"./dist/commonjs/models/components/index.d.ts","default":"./dist/commonjs/models/components/index.js"}},"./models/operations":{"import":{"types":"./dist/esm/models/operations/index.d.ts","default":"./dist/esm/models/operations/index.js","@archdao/archdao-client/source":"./src/models/operations/index.ts"},"require":{"types":"./dist/commonjs/models/operations/index.d.ts","default":"./dist/commonjs/models/operations/index.js"}}},"gitHead":"e3a3935e354419765f9ce2cf1d9640233336fa72","scripts":{"lint":"eslint --cache --max-warnings=0 src","build":"tshy","prepublishOnly":"npm run build"},"_npmUser":{"name":"futarist","email":"admin@archdao.fi"},"_npmVersion":"11.3.0","description":"Developer-friendly, idiomatic Typescript SDK for the *archdao-client* API.","directories":{},"sideEffects":false,"_nodeVersion":"24.0.0","dependencies":{},"_hasShrinkwrap":false,"devDependencies":{"zod":"^3.25.17","tshy":"^2.0.0","eslint":"^9.19.0","globals":"^15.14.0","@eslint/js":"^9.19.0","typescript":"^5.4.5","typescript-eslint":"^8.22.0"},"peerDependencies":{"zod":">= 3"},"_npmOperationalInternal":{"tmp":"tmp/archdao-client_2.1.2_1768688665309_0.3141818468158175","host":"s3://npm-registry-packages-npm-production"}},"2.1.3":{"name":"@archdao/archdao-client","version":"2.1.3","author":{"name":"ArchDaoFi"},"_id":"@archdao/archdao-client@2.1.3","maintainers":[{"name":"futarist","email":"admin@archdao.fi"}],"dist":{"shasum":"1412c90cb0d4a798c6ddb40f8791bc6c8fcb50cd","tarball":"https://registry.npmjs.org/@archdao/archdao-client/-/archdao-client-2.1.3.tgz","fileCount":1061,"integrity":"sha512-M02w70tH9qC/UMIF5mNGzZC8+gNqwKZgzLsqqst3EctwZAEMHnMKMC3/+6lGEHvcsY+7VWDpUgy5YZiZkOwShA==","signatures":[{"sig":"MEYCIQDDBBcxCw3oJoXW0N7MOJJI2BTrMIxvNKXDrGX24FvF/AIhAM7Pb9NXrj9LOcvnKv/hB1nzGUVDvuhfdD8MUMszvCjA","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":2471033},"main":"./dist/commonjs/index.js","tshy":{"exports":{".":"./src/index.ts","./*":"./src/*.ts","./*.js":"./src/*.ts","./types":"./src/types/index.ts","./package.json":"./package.json","./models/errors":"./src/models/errors/index.ts","./models/components":"./src/models/components/index.ts","./models/operations":"./src/models/operations/index.ts"},"sourceDialects":["@archdao/archdao-client/source"]},"type":"module","types":"./dist/commonjs/index.d.ts","module":"./dist/esm/index.js","exports":{".":{"import":{"types":"./dist/esm/index.d.ts","default":"./dist/esm/index.js","@archdao/archdao-client/source":"./src/index.ts"},"require":{"types":"./dist/commonjs/index.d.ts","default":"./dist/commonjs/index.js"}},"./*":{"import":{"types":"./dist/esm/*.d.ts","default":"./dist/esm/*.js","@archdao/archdao-client/source":"./src/*.ts"},"require":{"types":"./dist/commonjs/*.d.ts","default":"./dist/commonjs/*.js"}},"./*.js":{"import":{"types":"./dist/esm/*.d.ts","default":"./dist/esm/*.js","@archdao/archdao-client/source":"./src/*.ts"},"require":{"types":"./dist/commonjs/*.d.ts","default":"./dist/commonjs/*.js"}},"./types":{"import":{"types":"./dist/esm/types/index.d.ts","default":"./dist/esm/types/index.js","@archdao/archdao-client/source":"./src/types/index.ts"},"require":{"types":"./dist/commonjs/types/index.d.ts","default":"./dist/commonjs/types/index.js"}},"./package.json":"./package.json","./models/errors":{"import":{"types":"./dist/esm/models/errors/index.d.ts","default":"./dist/esm/models/errors/index.js","@archdao/archdao-client/source":"./src/models/errors/index.ts"},"require":{"types":"./dist/commonjs/models/errors/index.d.ts","default":"./dist/commonjs/models/errors/index.js"}},"./models/components":{"import":{"types":"./dist/esm/models/components/index.d.ts","default":"./dist/esm/models/components/index.js","@archdao/archdao-client/source":"./src/models/components/index.ts"},"require":{"types":"./dist/commonjs/models/components/index.d.ts","default":"./dist/commonjs/models/components/index.js"}},"./models/operations":{"import":{"types":"./dist/esm/models/operations/index.d.ts","default":"./dist/esm/models/operations/index.js","@archdao/archdao-client/source":"./src/models/operations/index.ts"},"require":{"types":"./dist/commonjs/models/operations/index.d.ts","default":"./dist/commonjs/models/operations/index.js"}}},"gitHead":"4b8ada3c80755ba96ed0fbdfd2962d2172406787","scripts":{"lint":"eslint --cache --max-warnings=0 src","build":"tshy","prepublishOnly":"npm run build"},"_npmUser":{"name":"futarist","email":"admin@archdao.fi"},"_npmVersion":"11.3.0","description":"Developer-friendly, idiomatic Typescript SDK for the *archdao-client* API.","directories":{},"sideEffects":false,"_nodeVersion":"24.0.0","dependencies":{},"_hasShrinkwrap":false,"devDependencies":{"zod":"^3.25.17","tshy":"^2.0.0","eslint":"^9.19.0","globals":"^15.14.0","@eslint/js":"^9.19.0","typescript":"^5.4.5","typescript-eslint":"^8.22.0"},"peerDependencies":{"zod":">= 3"},"_npmOperationalInternal":{"tmp":"tmp/archdao-client_2.1.3_1768689606129_0.21357265188386632","host":"s3://npm-registry-packages-npm-production"}},"2.1.5":{"name":"@archdao/archdao-client","version":"2.1.5","author":{"name":"ArchDaoFi"},"type":"module","tshy":{"sourceDialects":["@archdao/archdao-client/source"],"exports":{".":"./src/index.ts","./package.json":"./package.json","./types":"./src/types/index.ts","./models/errors":"./src/models/errors/index.ts","./models/components":"./src/models/components/index.ts","./models/operations":"./src/models/operations/index.ts","./*.js":"./src/*.ts","./*":"./src/*.ts"}},"sideEffects":false,"scripts":{"lint":"eslint --cache --max-warnings=0 src","build":"tshy","prepublishOnly":"npm run build"},"peerDependencies":{"zod":">= 3"},"devDependencies":{"@eslint/js":"^9.19.0","eslint":"^9.19.0","globals":"^15.14.0","tshy":"^2.0.0","typescript":"^5.4.5","typescript-eslint":"^8.22.0","zod":"^3.25.17"},"dependencies":{},"exports":{".":{"import":{"@archdao/archdao-client/source":"./src/index.ts","types":"./dist/esm/index.d.ts","default":"./dist/esm/index.js"},"require":{"types":"./dist/commonjs/index.d.ts","default":"./dist/commonjs/index.js"}},"./package.json":"./package.json","./types":{"import":{"@archdao/archdao-client/source":"./src/types/index.ts","types":"./dist/esm/types/index.d.ts","default":"./dist/esm/types/index.js"},"require":{"types":"./dist/commonjs/types/index.d.ts","default":"./dist/commonjs/types/index.js"}},"./models/errors":{"import":{"@archdao/archdao-client/source":"./src/models/errors/index.ts","types":"./dist/esm/models/errors/index.d.ts","default":"./dist/esm/models/errors/index.js"},"require":{"types":"./dist/commonjs/models/errors/index.d.ts","default":"./dist/commonjs/models/errors/index.js"}},"./models/components":{"import":{"@archdao/archdao-client/source":"./src/models/components/index.ts","types":"./dist/esm/models/components/index.d.ts","default":"./dist/esm/models/components/index.js"},"require":{"types":"./dist/commonjs/models/components/index.d.ts","default":"./dist/commonjs/models/components/index.js"}},"./models/operations":{"import":{"@archdao/archdao-client/source":"./src/models/operations/index.ts","types":"./dist/esm/models/operations/index.d.ts","default":"./dist/esm/models/operations/index.js"},"require":{"types":"./dist/commonjs/models/operations/index.d.ts","default":"./dist/commonjs/models/operations/index.js"}},"./*.js":{"import":{"@archdao/archdao-client/source":"./src/*.ts","types":"./dist/esm/*.d.ts","default":"./dist/esm/*.js"},"require":{"types":"./dist/commonjs/*.d.ts","default":"./dist/commonjs/*.js"}},"./*":{"import":{"@archdao/archdao-client/source":"./src/*.ts","types":"./dist/esm/*.d.ts","default":"./dist/esm/*.js"},"require":{"types":"./dist/commonjs/*.d.ts","default":"./dist/commonjs/*.js"}}},"main":"./dist/commonjs/index.js","types":"./dist/commonjs/index.d.ts","module":"./dist/esm/index.js","_id":"@archdao/archdao-client@2.1.5","gitHead":"6c240ea8504707a63eaf06630c77c336491c1561","description":"Developer-friendly, idiomatic Typescript SDK for the *archdao-client* API.","_nodeVersion":"24.0.0","_npmVersion":"11.3.0","dist":{"integrity":"sha512-REGPDKf/d3Zqrfq1KMH8BjkKPWhSXWUN7nhAPKFIi2ERq7lII/m9+luaeBmlrnFQYYT6TXYoL+s5ScR+nudYHA==","shasum":"3863dbee4efec25ce5147f450192b8a128fa878d","tarball":"https://registry.npmjs.org/@archdao/archdao-client/-/archdao-client-2.1.5.tgz","fileCount":1061,"unpackedSize":2471033,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQCNDYcXq2sHHvr9PXiljxp2+0QJn5TrmOB06rtIkNNP2gIgSZ7nB8ysLto3qeUFirWQG8MZQIAQ9WwQ6vTnRgNP82E="}]},"_npmUser":{"name":"futarist","email":"admin@archdao.fi"},"directories":{},"maintainers":[{"name":"futarist","email":"admin@archdao.fi"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/archdao-client_2.1.5_1768690780704_0.07578547345899622"},"_hasShrinkwrap":false}},"time":{"created":"2026-01-12T12:07:17.105Z","modified":"2026-01-17T22:59:41.017Z","1.7.1":"2026-01-12T12:07:17.367Z","2.0.1":"2026-01-12T17:00:17.191Z","2.1.0":"2026-01-12T21:05:07.084Z","2.1.2":"2026-01-17T22:24:25.555Z","2.1.3":"2026-01-17T22:40:06.361Z","2.1.5":"2026-01-17T22:59:40.878Z"},"author":{"name":"ArchDaoFi"},"description":"Developer-friendly, idiomatic Typescript SDK for the *archdao-client* API.","maintainers":[{"name":"futarist","email":"admin@archdao.fi"}],"readme":"# archdao-client\n\nDeveloper-friendly, idiomatic Typescript SDK for the *archdao-client* API.\n\n<div align=\"left\">\n    <a href=\"https://www.scalar.com/?utm_source=archdao-client&utm_campaign=typescript\"><img src=\"https://custom-icon-badges.demolab.com/badge/-Built%20By%20scalar+speakeasy-212015?style=for-the-badge&logo=scalar&labelColor=252525\" /></a>\n    <a href=\"https://opensource.org/licenses/MIT\">\n        <img src=\"https://img.shields.io/badge/License-MIT-blue.svg\" style=\"width: 100px; height: 28px;\" />\n    </a>\n</div>\n\n<br />\n\n## Summary\n\nArchDAO API: Backend API for the ArchDAO futarchy-based governance platform.\n<!-- End Summary [summary] -->\n\n<!-- Start Table of Contents [toc] -->\n## Table of Contents\n<!-- $toc-max-depth=2 -->\n* [@archdao/archdao-client](#archdaoarchdao-client)\n  * [SDK Installation](#sdk-installation)\n  * [Requirements](#requirements)\n  * [SDK Example Usage](#sdk-example-usage)\n  * [Authentication](#authentication)\n  * [Available Resources and Operations](#available-resources-and-operations)\n  * [Standalone functions](#standalone-functions)\n  * [Retries](#retries)\n  * [Error Handling](#error-handling)\n  * [Server Selection](#server-selection)\n  * [Custom HTTP Client](#custom-http-client)\n  * [Debugging](#debugging)\n* [Development](#development)\n  * [Maturity](#maturity)\n  * [Contributions](#contributions)\n\n<!-- End Table of Contents [toc] -->\n\n<!-- Start SDK Installation [installation] -->\n## SDK Installation\n\nThe SDK can be installed with either [npm](https://www.npmjs.com/), [pnpm](https://pnpm.io/), [bun](https://bun.sh/) or [yarn](https://classic.yarnpkg.com/en/) package managers.\n\n### NPM\n\n```bash\nnpm add @archdao/archdao-client\n```\n\n### PNPM\n\n```bash\npnpm add @archdao/archdao-client\n```\n\n### Bun\n\n```bash\nbun add @archdao/archdao-client\n```\n\n### Yarn\n\n```bash\nyarn add @archdao/archdao-client zod\n\n# Note that Yarn does not install peer dependencies automatically. You will need\n# to install zod as shown above.\n```\n\n> [!NOTE]\n> This package is published with CommonJS and ES Modules (ESM) support.\n<!-- End SDK Installation [installation] -->\n\n<!-- Start Requirements [requirements] -->\n## Requirements\n\nFor supported JavaScript runtimes, please consult [RUNTIMES.md](RUNTIMES.md).\n<!-- End Requirements [requirements] -->\n\n<!-- Start SDK Example Usage [usage] -->\n## SDK Example Usage\n\n### Example\n\n```typescript\nimport { ArchDAO } from \"@archdao/archdao-client\";\n\nconst archDAO = new ArchDAO();\n\nasync function run() {\n  const result = await archDAO.auth.createNonce({\n    address: \"<wallet_address>\",\n  });\n\n  console.log(result);\n}\n\nrun();\n\n```\n<!-- End SDK Example Usage [usage] -->\n\n<!-- Start Authentication [security] -->\n## Authentication\n\n### Per-Client Security Schemes\n\nThis SDK supports the following security scheme globally:\n\n| Name     | Type | Scheme      |\n| -------- | ---- | ----------- |\n| `bearer` | http | HTTP Bearer |\n\nTo authenticate with the API the `bearer` parameter must be set when initializing the SDK client instance. For example:\n```typescript\nimport { ArchDAO } from \"@archdao/archdao-client\";\n\nconst archDAO = new ArchDAO({\n  bearer: \"<YOUR_BEARER_TOKEN_HERE>\",\n});\n\nasync function run() {\n  const result = await archDAO.auth.createNonce({\n    address: \"<wallet_address>\",\n  });\n\n  console.log(result);\n}\n\nrun();\n\n```\n\n### Per-Operation Security Schemes\n\nSome operations in this SDK require the security scheme to be specified at the request level. For example:\n```typescript\nimport { ArchDAO } from \"@archdao/archdao-client\";\n\nconst archDAO = new ArchDAO();\n\nasync function run() {\n  const result = await archDAO.organization.listOrganizations({}, {});\n\n  console.log(result);\n}\n\nrun();\n\n```\n<!-- End Authentication [security] -->\n\n<!-- Start Available Resources and Operations [operations] -->\n## Available Resources and Operations\n\n<details open>\n<summary>Available methods</summary>\n\n### [admin](docs/sdks/admin/README.md)\n\n* [changeUserRole](docs/sdks/admin/README.md#changeuserrole) - Change user role\n* [listAuditLogs](docs/sdks/admin/README.md#listauditlogs) - List audit logs\n\n\n### [auth](docs/sdks/auth/README.md)\n\n* [createNonce](docs/sdks/auth/README.md#createnonce) - Create nonce\n* [login](docs/sdks/auth/README.md#login) - Login\n* [logout](docs/sdks/auth/README.md#logout) - Logout\n* [listNonces](docs/sdks/auth/README.md#listnonces) - List active sessions\n\n### [organization](docs/sdks/organization/README.md)\n\n* [listOrganizations](docs/sdks/organization/README.md#listorganizations) - List organizations\n* [getOrganization](docs/sdks/organization/README.md#getorganization) - Get organization by slug\n\n### [proposal](docs/sdks/proposal/README.md)\n\n* [listProposals](docs/sdks/proposal/README.md#listproposals) - List proposals\n* [createProposal](docs/sdks/proposal/README.md#createproposal) - Create proposal\n* [getProposal](docs/sdks/proposal/README.md#getproposal) - Get proposal\n* [updateProposal](docs/sdks/proposal/README.md#updateproposal) - Update proposal\n* [deleteProposal](docs/sdks/proposal/README.md#deleteproposal) - Delete proposal\n* [listStakes](docs/sdks/proposal/README.md#liststakes) - List stakes\n* [listTrades](docs/sdks/proposal/README.md#listtrades) - List trades\n\n### [raise](docs/sdks/raise/README.md)\n\n* [listRaises](docs/sdks/raise/README.md#listraises) - List raises\n* [getRaise](docs/sdks/raise/README.md#getraise) - Get raise\n* [updateRaise](docs/sdks/raise/README.md#updateraise) - Update raise\n* [listContributions](docs/sdks/raise/README.md#listcontributions) - List contributions\n\n### [user](docs/sdks/user/README.md)\n\n* [listUsers](docs/sdks/user/README.md#listusers) - List users\n* [getUser](docs/sdks/user/README.md#getuser) - Get user\n* [updateUser](docs/sdks/user/README.md#updateuser) - Update user\n\n</details>\n<!-- End Available Resources and Operations [operations] -->\n\n<!-- Start Standalone functions [standalone-funcs] -->\n## Standalone functions\n\nAll the methods listed above are available as standalone functions. These\nfunctions are ideal for use in applications running in the browser, serverless\nruntimes or other environments where application bundle size is a primary\nconcern. When using a bundler to build your application, all unused\nfunctionality will be either excluded from the final bundle or tree-shaken away.\n\nTo read more about standalone functions, check [FUNCTIONS.md](./FUNCTIONS.md).\n\n<details>\n\n<summary>Available standalone functions</summary>\n\n- [`adminChangeUserRole`](docs/sdks/admin/README.md#changeuserrole) - Change user role\n- [`adminListAuditLogs`](docs/sdks/admin/README.md#listauditlogs) - List audit logs\n- [`authCreateNonce`](docs/sdks/auth/README.md#createnonce) - Create nonce\n- [`authListNonces`](docs/sdks/auth/README.md#listnonces) - List active sessions\n- [`authLogin`](docs/sdks/auth/README.md#login) - Login\n- [`authLogout`](docs/sdks/auth/README.md#logout) - Logout\n- [`organizationGetOrganization`](docs/sdks/organization/README.md#getorganization) - Get organization by slug\n- [`organizationListOrganizations`](docs/sdks/organization/README.md#listorganizations) - List organizations\n- [`proposalCreateProposal`](docs/sdks/proposal/README.md#createproposal) - Create proposal\n- [`proposalDeleteProposal`](docs/sdks/proposal/README.md#deleteproposal) - Delete proposal\n- [`proposalGetProposal`](docs/sdks/proposal/README.md#getproposal) - Get proposal\n- [`proposalListProposals`](docs/sdks/proposal/README.md#listproposals) - List proposals\n- [`proposalListStakes`](docs/sdks/proposal/README.md#liststakes) - List stakes\n- [`proposalListTrades`](docs/sdks/proposal/README.md#listtrades) - List trades\n- [`proposalUpdateProposal`](docs/sdks/proposal/README.md#updateproposal) - Update proposal\n- [`raiseGetRaise`](docs/sdks/raise/README.md#getraise) - Get raise\n- [`raiseListContributions`](docs/sdks/raise/README.md#listcontributions) - List contributions\n- [`raiseListRaises`](docs/sdks/raise/README.md#listraises) - List raises\n- [`raiseUpdateRaise`](docs/sdks/raise/README.md#updateraise) - Update raise\n- [`userGetUser`](docs/sdks/user/README.md#getuser) - Get user\n- [`userListUsers`](docs/sdks/user/README.md#listusers) - List users\n- [`userUpdateUser`](docs/sdks/user/README.md#updateuser) - Update user\n\n</details>\n<!-- End Standalone functions [standalone-funcs] -->\n\n<!-- Start Retries [retries] -->\n## Retries\n\nSome of the endpoints in this SDK support retries.  If you use the SDK without any configuration, it will fall back to the default retry strategy provided by the API.  However, the default retry strategy can be overridden on a per-operation basis, or across the entire SDK.\n\nTo change the default retry strategy for a single API call, simply provide a retryConfig object to the call:\n```typescript\nimport { ArchDAO } from \"@archdao/archdao-client\";\n\nconst archDAO = new ArchDAO();\n\nasync function run() {\n  const result = await archDAO.auth.createNonce({\n    address: \"<wallet_address>\",\n  }, {\n    retries: {\n      strategy: \"backoff\",\n      backoff: {\n        initialInterval: 1,\n        maxInterval: 50,\n        exponent: 1.1,\n        maxElapsedTime: 100,\n      },\n      retryConnectionErrors: false,\n    },\n  });\n\n  console.log(result);\n}\n\nrun();\n\n```\n\nIf you'd like to override the default retry strategy for all operations that support retries, you can provide a retryConfig at SDK initialization:\n```typescript\nimport { ArchDAO } from \"@archdao/archdao-client\";\n\nconst archDAO = new ArchDAO({\n  retryConfig: {\n    strategy: \"backoff\",\n    backoff: {\n      initialInterval: 1,\n      maxInterval: 50,\n      exponent: 1.1,\n      maxElapsedTime: 100,\n    },\n    retryConnectionErrors: false,\n  },\n});\n\nasync function run() {\n  const result = await archDAO.auth.createNonce({\n    address: \"<wallet_address>\",\n  });\n\n  console.log(result);\n}\n\nrun();\n\n```\n<!-- End Retries [retries] -->\n\n<!-- Start Error Handling [errors] -->\n## Error Handling\n\n[`ArchDaoError`](./src/models/errors/archdaoerror.ts) is the base class for all HTTP error responses. It has the following properties:\n\n| Property            | Type       | Description                                                                             |\n| ------------------- | ---------- | --------------------------------------------------------------------------------------- |\n| `error.message`     | `string`   | Error message                                                                           |\n| `error.statusCode`  | `number`   | HTTP response status code eg `404`                                                      |\n| `error.headers`     | `Headers`  | HTTP response headers                                                                   |\n| `error.body`        | `string`   | HTTP body. Can be empty string if no body is returned.                                  |\n| `error.rawResponse` | `Response` | Raw HTTP response                                                                       |\n| `error.data$`       |            | Optional. Some errors may contain structured data. [See Error Classes](#error-classes). |\n\n### Example\n```typescript\nimport { ArchDAO } from \"@archdao/archdao-client\";\nimport * as errors from \"@archdao/archdao-client/models/errors\";\n\nconst archDAO = new ArchDAO();\n\nasync function run() {\n  try {\n    const result = await archDAO.auth.createNonce({\n      address: \"<wallet_address>\",\n    });\n\n    console.log(result);\n  } catch (error) {\n    // The base class for HTTP error responses\n    if (error instanceof errors.ArchDaoError) {\n      console.log(error.message);\n      console.log(error.statusCode);\n      console.log(error.body);\n      console.log(error.headers);\n\n      // Depending on the method different errors may be thrown\n      if (error instanceof errors.ErrorResponse) {\n        console.log(error.data$.success); // boolean\n        console.log(error.data$.error); // errors.ErrorT\n      }\n    }\n  }\n}\n\nrun();\n\n```\n\n### Error Classes\n**Primary errors:**\n* [`ArchDaoError`](./src/models/errors/archdaoerror.ts): The base class for HTTP error responses.\n  * [`ErrorResponse`](docs/models/errors/errorresponse.md): Validation error. *\n\n<details><summary>Less common errors (6)</summary>\n\n<br />\n\n**Network errors:**\n* [`ConnectionError`](./src/models/errors/httpclienterrors.ts): HTTP client was unable to make a request to a server.\n* [`RequestTimeoutError`](./src/models/errors/httpclienterrors.ts): HTTP request timed out due to an AbortSignal signal.\n* [`RequestAbortedError`](./src/models/errors/httpclienterrors.ts): HTTP request was aborted by the client.\n* [`InvalidRequestError`](./src/models/errors/httpclienterrors.ts): Any input used to create a request is invalid.\n* [`UnexpectedClientError`](./src/models/errors/httpclienterrors.ts): Unrecognised or unexpected error.\n\n\n**Inherit from [`ArchDaoError`](./src/models/errors/archdaoerror.ts)**:\n* [`ResponseValidationError`](./src/models/errors/responsevalidationerror.ts): Type mismatch between the data returned from the server and the structure expected by the SDK. See `error.rawValue` for the raw value and `error.pretty()` for a nicely formatted multi-line string.\n\n</details>\n\n\\* Check [the method documentation](#available-resources-and-operations) to see if the error is applicable.\n<!-- End Error Handling [errors] -->\n\n<!-- Start Server Selection [server] -->\n## Server Selection\n\n### Select Server by Index\n\nYou can override the default server globally by passing a server index to the `serverIdx: number` optional parameter when initializing the SDK client instance. The selected server will then be used as the default on the operations that use it. This table lists the indexes associated with the available servers:\n\n| #   | Server                        | Description       |\n| --- | ----------------------------- | ----------------- |\n| 0   | `http://localhost:3001`       | Local Development |\n| 1   | `https://mocks.archdao.fi/v1` | Test Server       |\n| 2   | `https://api.archdao.fi/v1`   | Production        |\n\n#### Example\n\n```typescript\nimport { ArchDAO } from \"@archdao/archdao-client\";\n\nconst archDAO = new ArchDAO({\n  serverIdx: 2,\n});\n\nasync function run() {\n  const result = await archDAO.auth.createNonce({\n    address: \"<wallet_address>\",\n  });\n\n  console.log(result);\n}\n\nrun();\n\n```\n\n### Override Server URL Per-Client\n\nThe default server can also be overridden globally by passing a URL to the `serverURL: string` optional parameter when initializing the SDK client instance. For example:\n```typescript\nimport { ArchDAO } from \"@archdao/archdao-client\";\n\nconst archDAO = new ArchDAO({\n  serverURL: \"https://api.archdao.fi/v1\",\n});\n\nasync function run() {\n  const result = await archDAO.auth.createNonce({\n    address: \"<wallet_address>\",\n  });\n\n  console.log(result);\n}\n\nrun();\n\n```\n<!-- End Server Selection [server] -->\n\n<!-- Start Custom HTTP Client [http-client] -->\n## Custom HTTP Client\n\nThe TypeScript SDK makes API calls using an `HTTPClient` that wraps the native\n[Fetch API](https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API). This\nclient is a thin wrapper around `fetch` and provides the ability to attach hooks\naround the request lifecycle that can be used to modify the request or handle\nerrors and response.\n\nThe `HTTPClient` constructor takes an optional `fetcher` argument that can be\nused to integrate a third-party HTTP client or when writing tests to mock out\nthe HTTP client and feed in fixtures.\n\nThe following example shows how to use the `\"beforeRequest\"` hook to to add a\ncustom header and a timeout to requests and how to use the `\"requestError\"` hook\nto log errors:\n\n```typescript\nimport { ArchDAO } from \"@archdao/archdao-client\";\nimport { HTTPClient } from \"@archdao/archdao-client/lib/http\";\n\nconst httpClient = new HTTPClient({\n  // fetcher takes a function that has the same signature as native `fetch`.\n  fetcher: (request) => {\n    return fetch(request);\n  }\n});\n\nhttpClient.addHook(\"beforeRequest\", (request) => {\n  const nextRequest = new Request(request, {\n    signal: request.signal || AbortSignal.timeout(5000)\n  });\n\n  nextRequest.headers.set(\"x-custom-header\", \"custom value\");\n\n  return nextRequest;\n});\n\nhttpClient.addHook(\"requestError\", (error, request) => {\n  console.group(\"Request Error\");\n  console.log(\"Reason:\", `${error}`);\n  console.log(\"Endpoint:\", `${request.method} ${request.url}`);\n  console.groupEnd();\n});\n\nconst sdk = new ArchDAO({ httpClient });\n```\n<!-- End Custom HTTP Client [http-client] -->\n\n<!-- Start Debugging [debug] -->\n## Debugging\n\nYou can setup your SDK to emit debug logs for SDK requests and responses.\n\nYou can pass a logger that matches `console`'s interface as an SDK option.\n\n> [!WARNING]\n> Beware that debug logging will reveal secrets, like API tokens in headers, in log messages printed to a console or files. It's recommended to use this feature only during local development and not in production.\n\n```typescript\nimport { ArchDAO } from \"@archdao/archdao-client\";\n\nconst sdk = new ArchDAO({ debugLogger: console });\n```\n<!-- End Debugging [debug] -->\n\n## Contributions\n\nWhile we value open-source contributions to this SDK, this library is generated programmatically. Any manual changes added to internal files will be overwritten on the next generation. \nWe look forward to hearing your feedback. Feel free to open a PR or an issue with a proof of concept and we'll do our best to include it in a future release.\n\n### SDK Created by [Scalar](https://www.scalar.com/?utm_source=archdao-client&utm_campaign=typescript)","readmeFilename":"README.md"}