{"_id":"@autonomys/auto-wallet","_rev":"9-f894c4744b8a82c9f75274d77b84c429","name":"@autonomys/auto-wallet","dist-tags":{"latest":"1.6.15"},"versions":{"1.6.7":{"name":"@autonomys/auto-wallet","version":"1.6.7","author":{"url":"https://www.autonomys.xyz","name":"Autonomys"},"license":"MIT","_id":"@autonomys/auto-wallet@1.6.7","maintainers":[{"name":"jeremy-subspace","email":"jeremy@subspace.network"},{"name":"emilautonomys","email":"emil@autonomys.xyz"},{"name":"jim-autonomys","email":"jim@autonomys.xyz"}],"bugs":{"url":"https://github.com/autonomys/auto-sdk/issues"},"dist":{"shasum":"5c886a9de58dd1c756ed1a62d520687508b3ac5e","tarball":"https://registry.npmjs.org/@autonomys/auto-wallet/-/auto-wallet-1.6.7.tgz","fileCount":21,"integrity":"sha512-x0Hc08nqunc7gEqvPNINVdwHCWuG8Cv4ZI/fgmwZ11YzJJnRBTDuoOn7EduDrcZFUHUD5M0l/8rDAwTEZb7rBw==","signatures":[{"sig":"MEYCIQDq5sqZFwIWfLWy54ZJlkthsTX3fWDxl45BOyCfKQgvpwIhAOuVEJbP5/5kuY4QLRF6zyU6WexyUWx0k6zSlX6W2rLU","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":32896},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"8551d4d4ac4533518ecdf9e5c47e0a118ec50800","scripts":{"test":"jest --passWithNoTests","build":"tsc","clean":"rm -rf dist","format":"prettier --write \"src/**/*.ts\""},"_npmUser":{"name":"jim-autonomys","email":"jim@autonomys.xyz"},"repository":{"url":"https://github.com/autonomys/auto-sdk","type":"git"},"_npmVersion":"lerna/8.2.2/node@v18.20.8+x64 (linux)","description":"Framework-agnostic wallet connection core for Autonomys Network dApps","directories":{},"_nodeVersion":"18.20.8","dependencies":{"zustand":"^5.0.0","@autonomys/auto-utils":"^1.6.7","@talismn/connect-wallets":"^1.2.8"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","ts-jest":"^29.3.1","prettier":"^3.5.3","typescript":"^5.8.3","@types/jest":"^29.5.14","@polkadot/extension-inject":"^0.58.9"},"_npmOperationalInternal":{"tmp":"tmp/auto-wallet_1.6.7_1770801017539_0.7067515324992222","host":"s3://npm-registry-packages-npm-production"}},"1.6.8":{"name":"@autonomys/auto-wallet","version":"1.6.8","author":{"url":"https://www.autonomys.xyz","name":"Autonomys"},"license":"MIT","_id":"@autonomys/auto-wallet@1.6.8","maintainers":[{"name":"jeremy-subspace","email":"jeremy@subspace.network"},{"name":"emilautonomys","email":"emil@autonomys.xyz"},{"name":"jim-autonomys","email":"jim@autonomys.xyz"}],"bugs":{"url":"https://github.com/autonomys/auto-sdk/issues"},"dist":{"shasum":"63117baab9b68a8c29b34871f660368b8f465205","tarball":"https://registry.npmjs.org/@autonomys/auto-wallet/-/auto-wallet-1.6.8.tgz","fileCount":21,"integrity":"sha512-XuH2A0vEVnuI96H2zGoEgWge0TVNEKeqLl3N2pyJPF8gAOnaA4MssP4X3Et8HJzykhC9/OmARToWQKKoUAVlVA==","signatures":[{"sig":"MEQCIF8iLb10Nvrwvh3s3DTmSExKNzvxg9YWHBoxr4Ftgc/TAiA5HEfVcDSHZFpPcPj3iZbKppCFRuxoBlGZiNtRBzL2Aw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":32896},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"ef6a836bea69b69eba8278a00200f37fc75d1aa3","scripts":{"test":"jest --passWithNoTests","build":"tsc","clean":"rm -rf dist","format":"prettier --write \"src/**/*.ts\""},"_npmUser":{"name":"jim-autonomys","email":"jim@autonomys.xyz"},"repository":{"url":"https://github.com/autonomys/auto-sdk","type":"git"},"_npmVersion":"lerna/8.2.2/node@v18.20.8+x64 (linux)","description":"Framework-agnostic wallet connection core for Autonomys Network dApps","directories":{},"_nodeVersion":"18.20.8","dependencies":{"zustand":"^5.0.0","@autonomys/auto-utils":"^1.6.8","@talismn/connect-wallets":"^1.2.8"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","ts-jest":"^29.3.1","prettier":"^3.5.3","typescript":"^5.8.3","@types/jest":"^29.5.14","@polkadot/extension-inject":"^0.58.9"},"_npmOperationalInternal":{"tmp":"tmp/auto-wallet_1.6.8_1770823822385_0.10696235396945597","host":"s3://npm-registry-packages-npm-production"}},"1.6.9":{"name":"@autonomys/auto-wallet","version":"1.6.9","author":{"url":"https://www.autonomys.xyz","name":"Autonomys"},"license":"MIT","_id":"@autonomys/auto-wallet@1.6.9","maintainers":[{"name":"jeremy-subspace","email":"jeremy@subspace.network"},{"name":"emilautonomys","email":"emil@autonomys.xyz"},{"name":"jim-autonomys","email":"jim@autonomys.xyz"}],"bugs":{"url":"https://github.com/autonomys/auto-sdk/issues"},"dist":{"shasum":"f7f6c884e2eae466ebc842fd0f79d22485db403a","tarball":"https://registry.npmjs.org/@autonomys/auto-wallet/-/auto-wallet-1.6.9.tgz","fileCount":21,"integrity":"sha512-1opH317dVJnnP3m3prEOTVRo53r4qe14l1Gjr4+slXM6Reeh10LwUh9KikBEf8QFyACT7YOWzedk1xZnEm25xw==","signatures":[{"sig":"MEUCIF/hhhufd6z8DQ+1osd6/eCnfgfFxa3zzY3bPVeEk9OGAiEA0d7FVlllEmRnHVVhS9FwlSiiQSdXKSIATTjkOXc0AOk=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":32896},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"089f36f1badcbf57b875b512c2029b8cef74204b","scripts":{"test":"jest --passWithNoTests","build":"tsc","clean":"rm -rf dist","format":"prettier --write \"src/**/*.ts\""},"_npmUser":{"name":"jim-autonomys","email":"jim@autonomys.xyz"},"repository":{"url":"https://github.com/autonomys/auto-sdk","type":"git"},"_npmVersion":"lerna/8.2.2/node@v18.20.8+x64 (linux)","description":"Framework-agnostic wallet connection core for Autonomys Network dApps","directories":{},"_nodeVersion":"18.20.8","dependencies":{"zustand":"^5.0.0","@autonomys/auto-utils":"^1.6.9","@talismn/connect-wallets":"^1.2.8"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","ts-jest":"^29.3.1","prettier":"^3.5.3","typescript":"^5.8.3","@types/jest":"^29.5.14","@polkadot/extension-inject":"^0.58.9"},"_npmOperationalInternal":{"tmp":"tmp/auto-wallet_1.6.9_1770824390855_0.8270085924822703","host":"s3://npm-registry-packages-npm-production"}},"1.6.10":{"name":"@autonomys/auto-wallet","version":"1.6.10","author":{"url":"https://www.autonomys.xyz","name":"Autonomys"},"license":"MIT","_id":"@autonomys/auto-wallet@1.6.10","maintainers":[{"name":"jeremy-subspace","email":"jeremy@subspace.network"},{"name":"emilautonomys","email":"emil@autonomys.xyz"},{"name":"jim-autonomys","email":"jim@autonomys.xyz"}],"bugs":{"url":"https://github.com/autonomys/auto-sdk/issues"},"dist":{"shasum":"2c4277550c430103b3681f3baff8bec09d891770","tarball":"https://registry.npmjs.org/@autonomys/auto-wallet/-/auto-wallet-1.6.10.tgz","fileCount":21,"integrity":"sha512-NrTZXoj8bhu6lNf3ZzBNzN7j3U+OGLwTgQJNQn4CKaR8cIWBR7QvnnhxiTc4274C08DHtrIVlCdUSiXyCFlhtw==","signatures":[{"sig":"MEUCIQC8EtLi/Nf2vB+hgylj/Qy5n+6nwUizzJN1/3YAtFgH1gIgDf0kszbIVtl4wG9SR5BgNlG+o/IevgNktcdbhBhMEFs=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":34453},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"ff14841a080170350d57df19327f484c8b95f874","scripts":{"test":"jest --passWithNoTests","build":"tsc","clean":"rm -rf dist","format":"prettier --write \"src/**/*.ts\""},"_npmUser":{"name":"jim-autonomys","email":"jim@autonomys.xyz"},"repository":{"url":"https://github.com/autonomys/auto-sdk","type":"git"},"_npmVersion":"lerna/8.2.2/node@v18.20.8+x64 (linux)","description":"Framework-agnostic wallet connection core for Autonomys Network dApps","directories":{},"_nodeVersion":"18.20.8","dependencies":{"zustand":"^5.0.0","@autonomys/auto-utils":"^1.6.10","@talismn/connect-wallets":"^1.2.8"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","ts-jest":"^29.3.1","prettier":"^3.5.3","typescript":"^5.8.3","@types/jest":"^29.5.14","@polkadot/extension-inject":"^0.58.9"},"_npmOperationalInternal":{"tmp":"tmp/auto-wallet_1.6.10_1777904778478_0.9178747172298143","host":"s3://npm-registry-packages-npm-production"}},"1.6.11":{"name":"@autonomys/auto-wallet","version":"1.6.11","author":{"url":"https://www.autonomys.xyz","name":"Autonomys"},"license":"MIT","_id":"@autonomys/auto-wallet@1.6.11","maintainers":[{"name":"jeremy-subspace","email":"jeremy@subspace.network"},{"name":"emilautonomys","email":"emil@autonomys.xyz"},{"name":"jim-autonomys","email":"jim@autonomys.xyz"}],"bugs":{"url":"https://github.com/autonomys/auto-sdk/issues"},"dist":{"shasum":"2b94785a36061ab4b32458bd6a798a1930067e14","tarball":"https://registry.npmjs.org/@autonomys/auto-wallet/-/auto-wallet-1.6.11.tgz","fileCount":21,"integrity":"sha512-wrfHHWdcz3Z1lH2FREvnmrTIRIwgehdJuFKpamKX15inv6I3zIAvOe0uCyIY6tPCp3bUKqcT1YnvH0FcxNxccA==","signatures":[{"sig":"MEUCICjquWmJheHOyevdHQAKIASijqut4dHw541Ct/8j5HnXAiEAqgnRaCkIiS2Se1oRKH2N0MdiIUZFsRrTZ2HPPVZhEY4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":34453},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"30bd07b2f517a7c75dad9078fe3fdfd2abc30466","scripts":{"test":"jest --passWithNoTests","build":"tsc","clean":"rm -rf dist","format":"prettier --write \"src/**/*.ts\""},"_npmUser":{"name":"jim-autonomys","email":"jim@autonomys.xyz"},"repository":{"url":"https://github.com/autonomys/auto-sdk","type":"git"},"_npmVersion":"lerna/8.2.2/node@v18.20.8+x64 (linux)","description":"Framework-agnostic wallet connection core for Autonomys Network dApps","directories":{},"_nodeVersion":"18.20.8","dependencies":{"zustand":"^5.0.0","@autonomys/auto-utils":"^1.6.11","@talismn/connect-wallets":"^1.2.8"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","ts-jest":"^29.3.1","prettier":"^3.5.3","typescript":"^5.8.3","@types/jest":"^29.5.14","@polkadot/extension-inject":"^0.58.9"},"_npmOperationalInternal":{"tmp":"tmp/auto-wallet_1.6.11_1779983970654_0.4081973143576103","host":"s3://npm-registry-packages-npm-production"}},"1.6.12":{"name":"@autonomys/auto-wallet","version":"1.6.12","author":{"url":"https://www.autonomys.xyz","name":"Autonomys"},"license":"MIT","_id":"@autonomys/auto-wallet@1.6.12","maintainers":[{"name":"jeremy-subspace","email":"jeremy@subspace.network"},{"name":"emilautonomys","email":"emil@autonomys.xyz"},{"name":"jim-autonomys","email":"jim@autonomys.xyz"}],"bugs":{"url":"https://github.com/autonomys/auto-sdk/issues"},"dist":{"shasum":"503fef05edf308a7b097514dce1af6e2f3382e55","tarball":"https://registry.npmjs.org/@autonomys/auto-wallet/-/auto-wallet-1.6.12.tgz","fileCount":21,"integrity":"sha512-3HjDuBkrIWszlAXb4pnrFpmS139wO4wNPZnTVGnrkg50ZX/Xf0BdFYqgJhUJe6Wj8s4GvzCNDK+vv2um+vR7EQ==","signatures":[{"sig":"MEQCIHEEa35QN/VWRY+LvXcPpeHgQQ1MqIhoXD7fyiUlV3J2AiB9gf3S6FDmRfwCur4YsfbE61JzrZlM9utLOQTTAHiU3A==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":34453},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"e99acde812135913faeca46b62ae810919c1a1e5","scripts":{"test":"jest --passWithNoTests","build":"tsc","clean":"rm -rf dist","format":"prettier --write \"src/**/*.ts\""},"_npmUser":{"name":"jim-autonomys","email":"jim@autonomys.xyz"},"repository":{"url":"https://github.com/autonomys/auto-sdk","type":"git"},"_npmVersion":"lerna/8.2.2/node@v18.20.8+x64 (linux)","description":"Framework-agnostic wallet connection core for Autonomys Network dApps","directories":{},"_nodeVersion":"18.20.8","dependencies":{"zustand":"^5.0.0","@autonomys/auto-utils":"^1.6.12","@talismn/connect-wallets":"^1.2.8"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","ts-jest":"^29.3.1","prettier":"^3.5.3","typescript":"^5.8.3","@types/jest":"^29.5.14","@polkadot/extension-inject":"^0.58.9"},"_npmOperationalInternal":{"tmp":"tmp/auto-wallet_1.6.12_1780002115590_0.4370041048630291","host":"s3://npm-registry-packages-npm-production"}},"1.6.13":{"name":"@autonomys/auto-wallet","version":"1.6.13","author":{"url":"https://www.autonomys.xyz","name":"Autonomys"},"license":"MIT","_id":"@autonomys/auto-wallet@1.6.13","maintainers":[{"name":"jeremy-subspace","email":"jeremy@subspace.network"},{"name":"emilautonomys","email":"emil@autonomys.xyz"},{"name":"jim-autonomys","email":"jim@autonomys.xyz"}],"bugs":{"url":"https://github.com/autonomys/auto-sdk/issues"},"dist":{"shasum":"301545a99f8721f6e983bee14d0e6fc84ce7c6ff","tarball":"https://registry.npmjs.org/@autonomys/auto-wallet/-/auto-wallet-1.6.13.tgz","fileCount":21,"integrity":"sha512-yVWUGO3u0OIkcxTb3SdZRKBLOsny7QbBJtX/HW50HUSJDRAtUoRYCxxzssnB997T/hoLonx0qVH7ZF1NOb4Mng==","signatures":[{"sig":"MEQCIH+H/WMEa3o2Ur9xa1Rj9zTuAfKykLs5WGvdpbS+lhbjAiBqbdgQiN7nqi4NNrsMu+yaDhEBlJh232cwibQvY6E8CA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":34453},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"9860bbec6d92d4a5ef414471fea956ee5f663d8e","scripts":{"test":"jest --passWithNoTests","build":"tsc","clean":"rm -rf dist","format":"prettier --write \"src/**/*.ts\""},"_npmUser":{"name":"jim-autonomys","email":"jim@autonomys.xyz"},"repository":{"url":"https://github.com/autonomys/auto-sdk","type":"git"},"_npmVersion":"lerna/8.2.2/node@v18.20.8+x64 (linux)","description":"Framework-agnostic wallet connection core for Autonomys Network dApps","directories":{},"_nodeVersion":"18.20.8","dependencies":{"zustand":"^5.0.0","@autonomys/auto-utils":"^1.6.13","@talismn/connect-wallets":"^1.2.8"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","ts-jest":"^29.3.1","prettier":"^3.5.3","typescript":"^5.8.3","@types/jest":"^29.5.14","@polkadot/extension-inject":"^0.58.9"},"_npmOperationalInternal":{"tmp":"tmp/auto-wallet_1.6.13_1780064794447_0.43757996462518256","host":"s3://npm-registry-packages-npm-production"}},"1.6.14":{"name":"@autonomys/auto-wallet","version":"1.6.14","author":{"url":"https://www.autonomys.xyz","name":"Autonomys"},"license":"MIT","_id":"@autonomys/auto-wallet@1.6.14","maintainers":[{"name":"jeremy-subspace","email":"jeremy@subspace.network"},{"name":"emilautonomys","email":"emil@autonomys.xyz"},{"name":"jim-autonomys","email":"jim@autonomys.xyz"}],"bugs":{"url":"https://github.com/autonomys/auto-sdk/issues"},"dist":{"shasum":"41703a8d28fac0657a1e07fd6cbf226e5c75f3cd","tarball":"https://registry.npmjs.org/@autonomys/auto-wallet/-/auto-wallet-1.6.14.tgz","fileCount":21,"integrity":"sha512-MECTHZXyl+obBD2CYtB/BoePbr1GuGeoLxScRabwC0dXjq7goJCznLy9h4SBeLm6GAWt8Yu9RvX4857YQUBbKQ==","signatures":[{"sig":"MEYCIQDpClqJnGDI8RVayweAGhrgheRhjx0qTqT4jKReh91gCAIhAOzTNhfxaXMXJC5EzMeQkJ5B3kIXn92HaNKtSxm+FDlV","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":34453},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"470226a4aae913ce9eb762dacba6a2b541bbbff2","scripts":{"test":"jest --passWithNoTests","build":"tsc","clean":"rm -rf dist","format":"prettier --write \"src/**/*.ts\""},"_npmUser":{"name":"jim-autonomys","email":"jim@autonomys.xyz"},"repository":{"url":"https://github.com/autonomys/auto-sdk","type":"git"},"_npmVersion":"lerna/8.2.4/node@v18.20.8+x64 (linux)","description":"Framework-agnostic wallet connection core for Autonomys Network dApps","directories":{},"_nodeVersion":"18.20.8","dependencies":{"zustand":"^5.0.0","@autonomys/auto-utils":"^1.6.14","@talismn/connect-wallets":"^1.2.8"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","ts-jest":"^29.3.1","prettier":"^3.5.3","typescript":"^5.8.3","@types/jest":"^29.5.14","@polkadot/extension-inject":"^0.58.9"},"_npmOperationalInternal":{"tmp":"tmp/auto-wallet_1.6.14_1780587860535_0.8737150643637197","host":"s3://npm-registry-packages-npm-production"}},"1.6.15":{"_id":"@autonomys/auto-wallet@1.6.15","bugs":{"url":"https://github.com/autonomys/auto-sdk/issues"},"dist":{"shasum":"8268e2cc72cdda36dad69ca0d0d09ff129aca9fe","tarball":"https://registry.npmjs.org/@autonomys/auto-wallet/-/auto-wallet-1.6.15.tgz","fileCount":21,"integrity":"sha512-fxfchwxUGAHQL16/0LR3J/Sn3znDr2bnGCXcxZ5jlYh1pO1S+L8Iit2+NYr7Z2aZOOAhj883GJ9pfqGKA/Mhdw==","signatures":[{"sig":"MEUCIQDmi9wOOPkdlnjMYCZOn0NCqjJZypswLMwQlmu8o4qvewIgZJvWSlenb7rScBg2gvxqH5rIJlZNSc7AzMbC/nyTg9Y=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIDXsWdY83THUl76C1ozoUO4cNjp7uks5zNFUg+ZO21I3AiAFwOk+jwnWsVU2Z/m9qx606z6giVAiZ4u7hTFb/cRj6Q=="}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@autonomys%2fauto-wallet@1.6.15","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":34882},"main":"dist/index.js","name":"@autonomys/auto-wallet","types":"dist/index.d.ts","author":{"url":"https://www.autonomys.xyz","name":"Autonomys"},"gitHead":"9b45eadea6b3dec8650d02ae740092adf2efbeb1","license":"MIT","scripts":{"test":"jest --passWithNoTests","build":"tsc","clean":"rm -rf dist"},"version":"1.6.15","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"275b1ee5-1cd3-47cc-a2a2-a7d4f76e1445"}},"homepage":"https://github.com/autonomys/auto-sdk#readme","repository":{"url":"git+https://github.com/autonomys/auto-sdk.git","type":"git"},"_npmVersion":"lerna/9.0.7/node@v24.18.0+x64 (linux)","description":"Framework-agnostic wallet connection core for Autonomys Network dApps","directories":{},"maintainers":[{"name":"jeremy-subspace","email":"jeremy@subspace.network"},{"name":"emilautonomys","email":"emil@autonomys.xyz"},{"name":"jim-autonomys","email":"jim@autonomys.xyz"}],"_nodeVersion":"24.18.0","dependencies":{"zustand":"^5.0.14","@autonomys/auto-utils":"^1.6.15","@talismn/connect-wallets":"^1.2.8"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","ts-jest":"^29.4.11","typescript":"^5.9.3","@types/jest":"^29.5.14","@polkadot/extension-inject":"^0.63.1"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/auto-wallet_1.6.15_1790860195914_0.12992412849298685"}}},"time":{"created":"2026-02-11T09:10:17.475Z","modified":"2026-10-01T13:09:56.393Z","1.6.7":"2026-02-11T09:10:17.670Z","1.6.8":"2026-02-11T15:30:22.523Z","1.6.9":"2026-02-11T15:39:51.003Z","1.6.10":"2026-05-04T14:26:18.655Z","1.6.11":"2026-05-28T15:59:30.817Z","1.6.12":"2026-05-28T21:01:55.726Z","1.6.13":"2026-05-29T14:26:34.568Z","1.6.14":"2026-06-04T15:44:20.666Z","1.6.15":"2026-10-01T13:09:56.005Z"},"bugs":{"url":"https://github.com/autonomys/auto-sdk/issues"},"author":{"url":"https://www.autonomys.xyz","name":"Autonomys"},"license":"MIT","repository":{"url":"git+https://github.com/autonomys/auto-sdk.git","type":"git"},"description":"Framework-agnostic wallet connection core for Autonomys Network dApps","maintainers":[{"name":"jeremy-subspace","email":"jeremy@subspace.network"},{"name":"emilautonomys","email":"emil@autonomys.xyz"},{"name":"jim-autonomys","email":"jim@autonomys.xyz"}],"readme":"# Autonomys Auto Wallet SDK\n\n![Autonomys Banner](https://github.com/autonomys/auto-sdk/blob/main/.github/images/autonomys-banner.webp)\n\n[![Latest Github release](https://img.shields.io/github/v/tag/autonomys/auto-sdk.svg)](https://github.com/autonomys/auto-sdk/tags)\n[![Build status of the main branch on Linux/OSX](https://img.shields.io/github/actions/workflow/status/autonomys/auto-sdk/build.yaml?branch=main&label=Linux%2FOSX%20build)](https://github.com/autonomys/auto-sdk/actions/workflows/build.yaml)\n[![npm version](https://badge.fury.io/js/@autonomys%2Fauto-wallet.svg)](https://badge.fury.io/js/@autonomys%2Fauto-wallet)\n\n## Overview\n\nThe **Autonomys Auto Wallet SDK** (`@autonomys/auto-wallet`) provides framework-agnostic wallet connection logic for Autonomys Network dApps. It offers:\n\n- **Wallet Detection**: Discover installed Substrate wallet extensions (Talisman, SubWallet, Polkadot.js).\n- **Wallet Connection**: Connect to and disconnect from browser wallet extensions with timeout handling.\n- **Account Management**: List accounts, select active accounts, and format addresses with configurable SS58 prefixes.\n- **State Management**: A Zustand store factory with persistence, auto-reconnection, and error handling.\n- **Per-App Configuration**: All settings (dApp name, SS58 prefix, supported wallets, etc.) are configurable with sensible defaults.\n\nThis package is the foundation for `@autonomys/auto-wallet-react` and can also be used standalone with any JavaScript framework.\n\n## Features\n\n- **Configurable Store Factory**: Create isolated wallet stores with per-app configuration via `createWalletStore(config)`.\n- **Multi-Wallet Support**: Detect and connect to Talisman, SubWallet, and Polkadot.js out of the box.\n- **Persistent State**: Automatically saves and restores wallet preferences across sessions using `localStorage`.\n- **Auto-Reconnection**: Reconnects to the previously selected wallet and account on page reload.\n- **Timeout Handling**: Configurable connection timeouts with proper cleanup.\n- **Address Formatting**: Format addresses with configurable SS58 prefixes for any Substrate chain.\n- **TypeScript Support**: Fully typed for enhanced developer experience.\n\n## Installation\n\nInstall the package via npm or yarn:\n\n```bash\n# Using npm\nnpm install @autonomys/auto-wallet\n\n# Using yarn\nyarn add @autonomys/auto-wallet\n```\n\n## Getting Started\n\n### Prerequisites\n\n- **Node.js** (version 14 or higher)\n- **TypeScript** (optional, but recommended)\n- A browser environment with Substrate wallet extensions installed (for wallet detection)\n\n### Peer Dependencies\n\n- `zustand` (>=5.0.0) must be installed in your project.\n\n## Usage Examples\n\n### 1. Basic Store Creation\n\nCreate a wallet store with default configuration:\n\n```typescript\nimport { createWalletStore } from '@autonomys/auto-wallet'\n\nconst useWalletStore = createWalletStore()\n\n// Access state\nconst state = useWalletStore.getState()\nconsole.log(`Connected: ${state.isConnected}`)\n```\n\n### 2. Custom Configuration\n\nConfigure the store for your specific dApp and chain:\n\n```typescript\nimport { createWalletStore } from '@autonomys/auto-wallet'\n\nconst useWalletStore = createWalletStore({\n  dappName: 'My Autonomys dApp',\n  ss58Prefix: 42, // Use testnet prefix\n  storageKey: 'my-dapp-wallet', // Custom localStorage key\n  connectionTimeout: 15000, // 15 second timeout\n  supportedWallets: ['talisman'], // Only support Talisman\n})\n```\n\n### 3. Connecting a Wallet\n\n```typescript\nimport { createWalletStore } from '@autonomys/auto-wallet'\n\nconst useWalletStore = createWalletStore()\nconst { connectWallet, disconnectWallet, detectWallets } = useWalletStore.getState()\n\n// Detect installed wallets\ndetectWallets()\n\n// Connect to a specific wallet\nawait connectWallet('talisman')\n\n// Check connected accounts\nconst { accounts, selectedAccount } = useWalletStore.getState()\nconsole.log(`Selected account: ${selectedAccount?.address}`)\n\n// Disconnect\ndisconnectWallet()\n```\n\n### 4. Address Utilities\n\n```typescript\nimport { shortenAddress } from '@autonomys/auto-wallet'\n\nconst address = '5GmS1wtCfR4tK5SSgnZbVT4kYw5W8NmxmijcsxCQE6oLW6A8'\nconsole.log(shortenAddress(address)) // \"5GmS…W6A8\"\nconsole.log(shortenAddress(address, 6)) // \"5GmS1w…oLW6A8\"\n```\n\n## API Reference\n\n### Factory Function\n\n#### **`createWalletStore(config?: Partial<WalletConfig>): UseBoundStore<StoreApi<WalletState>>`**\n\nCreates a new Zustand wallet store with the given configuration merged with defaults.\n\n- **Parameters:**\n  - `config` (`Partial<WalletConfig>`, optional): Configuration overrides.\n- **Returns:** A Zustand store instance.\n\n### Configuration\n\n#### **`WalletConfig`**\n\nAll fields are optional with sensible defaults:\n\n| Field               | Type                     | Default                                       | Description                                    |\n| ------------------- | ------------------------ | --------------------------------------------- | ---------------------------------------------- |\n| `dappName`          | `string`                 | `'Autonomys'`                                 | Name shown when requesting wallet connection   |\n| `storageKey`        | `string`                 | `'autonomys-wallet-preferences'`              | localStorage key for persisting preferences    |\n| `ss58Prefix`        | `number`                 | `6094`                                        | SS58 address prefix (6094 = Autonomys mainnet) |\n| `supportedWallets`  | `string[]`               | `['talisman', 'subwallet-js', 'polkadot-js']` | Wallet extension names to detect               |\n| `connectionTimeout` | `number`                 | `30000`                                       | Connection timeout in milliseconds             |\n| `installUrls`       | `Record<string, string>` | Chrome Web Store links                        | Map of wallet name to install URL              |\n\n### Store State\n\n#### **`WalletState`**\n\nThe store state returned by `createWalletStore()`:\n\n**State Fields:**\n\n- `isConnected` (`boolean`): Whether a wallet is currently connected.\n- `isLoading` (`boolean`): Whether a connection or initialization is in progress.\n- `loadingType` (`LoadingType`): `'connecting'`, `'initializing'`, or `null`.\n- `connectionError` (`string | null`): Error message from the last failed connection attempt.\n- `selectedWallet` (`string | null`): Name of the currently connected wallet extension.\n- `selectedAccount` (`WalletAccount | null`): The active account.\n- `accounts` (`WalletAccount[]`): All accounts from the connected wallet.\n- `injector` (`InjectedExtension | null`): The wallet's injected extension (for signing transactions).\n- `availableWallets` (`Wallet[]`): Installed wallet extensions detected in the browser.\n- `config` (`Required<WalletConfig>`): The resolved configuration with all defaults applied.\n\n**Actions:**\n\n- `connectWallet(extensionName: string): Promise<void>`: Connect to a wallet extension by name.\n- `disconnectWallet(): void`: Disconnect the current wallet and clear state.\n- `selectAccount(address: string): void`: Switch the active account by address.\n- `clearError(): void`: Clear the current connection error.\n- `detectWallets(): void`: Re-scan for installed wallet extensions.\n- `initializeConnection(): Promise<void>`: Reconnect to a previously saved wallet (called automatically on rehydration).\n\n### Utility Functions\n\n#### **`connectToWallet(extensionName: string, config: Required<WalletConfig>)`**\n\nLow-level function to connect to a wallet extension. Used internally by the store.\n\n- **Parameters:**\n  - `extensionName` (`string`): The wallet extension name (e.g., `'talisman'`).\n  - `config` (`Required<WalletConfig>`): Resolved wallet configuration.\n- **Returns:** `Promise<{ accounts: WalletAccount[]; injector: InjectedExtension }>` or throws on error.\n\n#### **`shortenAddress(address?: string | null, length?: number): string`**\n\nShorten a Substrate address for display.\n\n- **Parameters:**\n  - `address` (`string`, optional): The full address.\n  - `length` (`number`, optional): Number of characters to keep on each side. Default: `4`.\n- **Returns:** Shortened address string (e.g., `\"5GmS…W6A8\"`) or empty string if no address provided.\n\n### Constants\n\n#### **`DEFAULT_WALLET_CONFIG`**\n\nThe default configuration object used when no overrides are provided:\n\n```typescript\nimport { DEFAULT_WALLET_CONFIG } from '@autonomys/auto-wallet'\n\nconsole.log(DEFAULT_WALLET_CONFIG.dappName) // 'Autonomys'\nconsole.log(DEFAULT_WALLET_CONFIG.ss58Prefix) // 6094\nconsole.log(DEFAULT_WALLET_CONFIG.supportedWallets) // ['talisman', 'subwallet-js', 'polkadot-js']\n```\n\n### Types\n\n- **`WalletConfig`**: Configuration interface for the wallet store.\n- **`WalletState`**: Full store state including actions.\n- **`WalletConnectionStatus`**: Union type: `'disconnected' | 'connecting' | 'initializing' | 'connected' | 'error'`.\n- **`LoadingType`**: `'connecting' | 'initializing' | null`.\n- **`Wallet`**: Re-exported from `@talismn/connect-wallets`.\n- **`WalletAccount`**: Re-exported from `@talismn/connect-wallets`.\n- **`InjectedExtension`**: Re-exported from `@polkadot/extension-inject/types`.\n\n## Error Handling\n\nThe store manages connection errors internally and exposes them via `connectionError`. You can also handle errors when calling actions directly:\n\n```typescript\nconst store = createWalletStore()\n\ntry {\n  await store.getState().connectWallet('talisman')\n} catch (error) {\n  console.error('Connection failed:', error)\n}\n\n// Or read the error from state\nconst { connectionError } = store.getState()\nif (connectionError) {\n  console.error('Stored error:', connectionError)\n}\n```\n","readmeFilename":"README.md","homepage":"https://github.com/autonomys/auto-sdk#readme"}