{"_id":"@1shotapi/client-sdk","_rev":"20-7af4de63b16f72b95a1a22c2187564fa","name":"@1shotapi/client-sdk","dist-tags":{"latest":"1.1.9"},"versions":{"1.0.0":{"name":"@1shotapi/client-sdk","version":"1.0.0","keywords":["1shot","api","client","sdk","typescript"],"author":{"name":"1Shot API"},"license":"MIT","_id":"@1shotapi/client-sdk@1.0.0","maintainers":[{"name":"csibbach","email":"charlottewisteria@gmail.com"},{"name":"todd_uxly","email":"todd@uxly.software"}],"homepage":"https://github.com/1Shot-API/1Shot-API-SDK/tree/main/clients/node","bugs":{"url":"https://github.com/1Shot-API/1Shot-API-SDK/issues"},"dist":{"shasum":"097366c017320d929c03efd5d2a3b44110df296d","tarball":"https://registry.npmjs.org/@1shotapi/client-sdk/-/client-sdk-1.0.0.tgz","fileCount":86,"integrity":"sha512-XbRi1Er0wLn1oFWv3urQsxDH2LdGTcislGht0cyo6PiSv4luInqhWUUHXHftrgrBm1Ulbql3SDDdRI+Km0bMEg==","signatures":[{"sig":"MEYCIQCNbivHyRRJiZ+vXmFexW/O589kd7ubGFBybbMAjHK0HgIhAKnd+iL3siKyWm4jjMsxc8bshhvAxBg58BuHWjuEnKNW","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":429233},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","gitHead":"49d951ea41ffab76ec69a92476f9fd0c6b030d60","scripts":{"lint":"eslint \"src/**/*.ts\" --fix","test":"node --experimental-vm-modules node_modules/jest/bin/jest.js --config jest.config.mjs","build":"tsc","clean":"rimraf dist","format":"prettier --write \"src/**/*.ts\"","prepare":"npm run build","version":"npm run format && git add -A src","preversion":"npm run lint","postversion":"git push && git push --tags","prepublishOnly":"npm run lint && npm run test"},"_npmUser":{"name":"csibbach","email":"charlottewisteria@gmail.com"},"repository":{"url":"git+https://github.com/1Shot-API/1Shot-API-SDK.git","type":"git"},"_npmVersion":"11.5.1","description":"TypeScript client SDK for 1Shot API. Provides a strongly typed REST client and utility methods for verifying webhook signatures.","directories":{},"_nodeVersion":"20.19.1","dependencies":{"@noble/hashes":"^1.3.3","@noble/ed25519":"^2.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","eslint":"^9.37.0","rimraf":"^5.0.5","ts-jest":"^29.1.2","prettier":"^3.2.5","@eslint/js":"^9.37.0","typescript":"^5.9.2","@types/jest":"^29.5.14","@types/node":"^22.15.2","@eslint/compat":"^1.4.0","@eslint/eslintrc":"^3.3.1","eslint-plugin-import":"^2.32.0","eslint-config-prettier":"^9.1.0","eslint-plugin-prettier":"^5.5.4","@typescript-eslint/parser":"^8.46.0","@typescript-eslint/eslint-plugin":"^8.46.0","eslint-import-resolver-typescript":"^4.4.4"},"peerDependencies":{"zod":"^3.0.0"},"_npmOperationalInternal":{"tmp":"tmp/client-sdk_1.0.0_1770140700444_0.8952375527766214","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@1shotapi/client-sdk","version":"1.0.1","keywords":["1shot","api","client","sdk","typescript"],"author":{"name":"1Shot API"},"license":"MIT","_id":"@1shotapi/client-sdk@1.0.1","maintainers":[{"name":"csibbach","email":"charlottewisteria@gmail.com"},{"name":"todd_uxly","email":"todd@uxly.software"}],"homepage":"https://github.com/1Shot-API/1Shot-API-SDK/tree/main/clients/node","bugs":{"url":"https://github.com/1Shot-API/1Shot-API-SDK/issues"},"dist":{"shasum":"734d3474a46025c9e5713d18d3a65b59fad66612","tarball":"https://registry.npmjs.org/@1shotapi/client-sdk/-/client-sdk-1.0.1.tgz","fileCount":86,"integrity":"sha512-qOuCxKRZpwmVEQIjRSQi94RmVrMw0vQAY/KYrj71h/HSqbByVgs5fB1r9zUt6M+YVRNzDCCfXVYN37uOQIDM7g==","signatures":[{"sig":"MEUCIQDGaeVqBd7zLYsS3ojfUd0SaY0IJ2Umcg4ERPjDf1wa1gIgFIgmBsQ4nGPkCKa7L/unW8RKHkjdb9T4lUhvb1/T2F0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":429946},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","gitHead":"291cb923163a0aeee50f5bf9dfea320957525aad","scripts":{"lint":"eslint \"src/**/*.ts\" --fix","test":"node --experimental-vm-modules node_modules/jest/bin/jest.js --config jest.config.mjs","build":"tsc","clean":"rimraf dist","format":"prettier --write \"src/**/*.ts\"","prepare":"npm run build","version":"npm run format && git add -A src","preversion":"npm run lint","postversion":"git push && git push --tags","prepublishOnly":"npm run lint && npm run test"},"_npmUser":{"name":"csibbach","email":"charlottewisteria@gmail.com"},"repository":{"url":"git+https://github.com/1Shot-API/1Shot-API-SDK.git","type":"git"},"_npmVersion":"11.5.1","description":"TypeScript client SDK for 1Shot API. Provides a strongly typed REST client and utility methods for verifying webhook signatures.","directories":{},"_nodeVersion":"20.19.1","dependencies":{"zod":"^3.24.3","@noble/hashes":"^1.3.3","@noble/ed25519":"^2.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"packageManager":"yarn@4.1.1+sha512.ec40d0639bb307441b945d9467139cbb88d14394baac760b52eca038b330d16542d66fef61574271534ace5a200518dabf3b53a85f1f9e4bfa37141b538a9590","devDependencies":{"jest":"^29.7.0","eslint":"^9.37.0","rimraf":"^5.0.5","ts-jest":"^29.1.2","prettier":"^3.2.5","@eslint/js":"^9.37.0","typescript":"^5.9.2","@types/jest":"^29.5.14","@types/node":"^22.15.2","@eslint/compat":"^1.4.0","@eslint/eslintrc":"^3.3.1","eslint-plugin-import":"^2.32.0","eslint-config-prettier":"^9.1.0","eslint-plugin-prettier":"^5.5.4","@typescript-eslint/parser":"^8.46.0","@typescript-eslint/eslint-plugin":"^8.46.0","eslint-import-resolver-typescript":"^4.4.4"},"_npmOperationalInternal":{"tmp":"tmp/client-sdk_1.0.1_1770366707817_0.5935816376161691","host":"s3://npm-registry-packages-npm-production"}},"1.0.2":{"name":"@1shotapi/client-sdk","version":"1.0.2","keywords":["1shot","api","client","sdk","typescript"],"author":{"name":"1Shot API"},"license":"MIT","_id":"@1shotapi/client-sdk@1.0.2","maintainers":[{"name":"csibbach","email":"charlottewisteria@gmail.com"},{"name":"todd_uxly","email":"todd@uxly.software"}],"homepage":"https://github.com/1Shot-API/1Shot-API-SDK/tree/main/clients/node","bugs":{"url":"https://github.com/1Shot-API/1Shot-API-SDK/issues"},"dist":{"shasum":"b926f7c0f7e6cfac4ce8ee16135160b318a527aa","tarball":"https://registry.npmjs.org/@1shotapi/client-sdk/-/client-sdk-1.0.2.tgz","fileCount":86,"integrity":"sha512-n86D+lyDmuofZgfCUIDglo5tw57UXy0QapA3Q+jbGS+0Gj7QGEttbsgPMP1J1m2I/ocqRDZgSzTIvAGj5rddgQ==","signatures":[{"sig":"MEQCIGWVAToYueCW9j3eQTYKo2WlHIjcXj8h1GWg2/HzFy91AiB7he1Vm265a0skFUH0uX9kTuOIcMw67MYQxZmWRQ0W3w==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":430246},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","gitHead":"79ba8aacb6daffdba2419cf411b48e56f7fe39bc","scripts":{"lint":"eslint \"src/**/*.ts\" --fix","test":"node --experimental-vm-modules node_modules/jest/bin/jest.js --config jest.config.mjs","build":"tsc","clean":"rimraf dist","format":"prettier --write \"src/**/*.ts\"","prepare":"npm run build","version":"npm run format && git add -A src","preversion":"npm run lint","postversion":"git push && git push --tags","prepublishOnly":"npm run lint && npm run test"},"_npmUser":{"name":"csibbach","email":"charlottewisteria@gmail.com"},"repository":{"url":"git+https://github.com/1Shot-API/1Shot-API-SDK.git","type":"git"},"_npmVersion":"11.5.1","description":"TypeScript client SDK for 1Shot API. Provides a strongly typed REST client and utility methods for verifying webhook signatures.","directories":{},"_nodeVersion":"20.19.1","dependencies":{"@noble/hashes":"^1.3.3","@noble/ed25519":"^2.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","eslint":"^9.37.0","rimraf":"^5.0.5","ts-jest":"^29.1.2","prettier":"^3.2.5","@eslint/js":"^9.37.0","typescript":"^5.9.2","@types/jest":"^29.5.14","@types/node":"^22.15.2","@eslint/compat":"^1.4.0","@eslint/eslintrc":"^3.3.1","eslint-plugin-import":"^2.32.0","eslint-config-prettier":"^9.1.0","eslint-plugin-prettier":"^5.5.4","@typescript-eslint/parser":"^8.46.0","@typescript-eslint/eslint-plugin":"^8.46.0","eslint-import-resolver-typescript":"^4.4.4"},"peerDependencies":{"zod":"^3.0.0"},"_npmOperationalInternal":{"tmp":"tmp/client-sdk_1.0.2_1770871078556_0.43622765526510876","host":"s3://npm-registry-packages-npm-production"}},"1.0.3":{"name":"@1shotapi/client-sdk","version":"1.0.3","keywords":["1shot","api","client","sdk","typescript"],"author":{"name":"1Shot API"},"license":"MIT","_id":"@1shotapi/client-sdk@1.0.3","maintainers":[{"name":"csibbach","email":"charlottewisteria@gmail.com"},{"name":"todd_uxly","email":"todd@uxly.software"}],"homepage":"https://github.com/1Shot-API/1Shot-API-SDK/tree/main/clients/node","bugs":{"url":"https://github.com/1Shot-API/1Shot-API-SDK/issues"},"dist":{"shasum":"794d77a50d5e6ce0f1ff50a4df406540aa27737f","tarball":"https://registry.npmjs.org/@1shotapi/client-sdk/-/client-sdk-1.0.3.tgz","fileCount":86,"integrity":"sha512-L2/dQ3d6veOZekkgu2nAaG/sIsuzxJJC3ZtNwXytWcrRiBdm2+kmVa81uJ+Had2TqbPvnXPHt4Xhxa9xc7mwYA==","signatures":[{"sig":"MEUCIE8SUU/K7kVttwLvAL8DDgM1Rg+1VaqpkUDazUWYdJm/AiEAsE5tKxhw4uEULhDknxIY2pKr744jA4Vb8D5nu7AJhUI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":430246},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","gitHead":"67a2822c4dea0591acc5059bec4a83342738604f","scripts":{"lint":"eslint \"src/**/*.ts\" --fix","test":"node --experimental-vm-modules node_modules/jest/bin/jest.js --config jest.config.mjs","build":"tsc","clean":"rimraf dist","format":"prettier --write \"src/**/*.ts\"","prepare":"npm run build","version":"npm run format && git add -A src","preversion":"npm run lint","postversion":"git push && git push --tags","prepublishOnly":"npm run lint && npm run test"},"_npmUser":{"name":"csibbach","email":"charlottewisteria@gmail.com"},"repository":{"url":"git+https://github.com/1Shot-API/1Shot-API-SDK.git","type":"git"},"_npmVersion":"11.5.1","description":"TypeScript client SDK for 1Shot API. Provides a strongly typed REST client and utility methods for verifying webhook signatures.","directories":{},"_nodeVersion":"20.19.1","dependencies":{"@noble/hashes":"^1.3.3","@noble/ed25519":"^2.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","eslint":"^9.37.0","rimraf":"^5.0.5","ts-jest":"^29.1.2","prettier":"^3.2.5","@eslint/js":"^9.37.0","typescript":"^5.9.2","@types/jest":"^29.5.14","@types/node":"^22.15.2","@eslint/compat":"^1.4.0","@eslint/eslintrc":"^3.3.1","eslint-plugin-import":"^2.32.0","eslint-config-prettier":"^9.1.0","eslint-plugin-prettier":"^5.5.4","@typescript-eslint/parser":"^8.46.0","@typescript-eslint/eslint-plugin":"^8.46.0","eslint-import-resolver-typescript":"^4.4.4"},"peerDependencies":{"zod":"^3.0.0"},"_npmOperationalInternal":{"tmp":"tmp/client-sdk_1.0.3_1770871962877_0.5993686491670089","host":"s3://npm-registry-packages-npm-production"}},"1.0.4":{"name":"@1shotapi/client-sdk","version":"1.0.4","keywords":["1shot","api","client","sdk","typescript"],"author":{"name":"1Shot API"},"license":"MIT","_id":"@1shotapi/client-sdk@1.0.4","maintainers":[{"name":"csibbach","email":"charlottewisteria@gmail.com"},{"name":"todd_uxly","email":"todd@uxly.software"}],"homepage":"https://github.com/1Shot-API/1Shot-API-SDK/tree/main/clients/node","bugs":{"url":"https://github.com/1Shot-API/1Shot-API-SDK/issues"},"dist":{"shasum":"2248eeda81972d016496e18c4531ea4bf72e5b41","tarball":"https://registry.npmjs.org/@1shotapi/client-sdk/-/client-sdk-1.0.4.tgz","fileCount":86,"integrity":"sha512-lxa2kPUXPJ+MYLLmPXV3g0AZJvQlcqECRpiWq+4UWT/fvSB2SQjqyK+U9sDuz+JrhTN1r2eBttHDG5zxe7fPnQ==","signatures":[{"sig":"MEQCIDqaOev7mJVFBd/95jI6ZAbv1Mu+9nOeASEHpGl1cWh8AiA4NNioH1mYymUIYmwQ8mA//X2POT9MKQQSg6O5wGAECg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":430219},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","gitHead":"c35f8fced1dc18a4722f4495e542b91ebbaf7cd2","scripts":{"lint":"eslint \"src/**/*.ts\" --fix","test":"node --experimental-vm-modules node_modules/jest/bin/jest.js --config jest.config.mjs","build":"tsc","clean":"rimraf dist","format":"prettier --write \"src/**/*.ts\"","prepare":"npm run build","version":"npm run format && git add -A src","preversion":"npm run lint","postversion":"git push && git push --tags","prepublishOnly":"npm run lint && npm run test"},"_npmUser":{"name":"csibbach","email":"charlottewisteria@gmail.com"},"repository":{"url":"git+https://github.com/1Shot-API/1Shot-API-SDK.git","type":"git"},"_npmVersion":"11.5.1","description":"TypeScript client SDK for 1Shot API. Provides a strongly typed REST client and utility methods for verifying webhook signatures.","directories":{},"_nodeVersion":"20.19.1","dependencies":{"zod":"^3.24.3","@noble/hashes":"^1.3.3","@noble/ed25519":"^2.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","eslint":"^9.37.0","rimraf":"^5.0.5","ts-jest":"^29.1.2","prettier":"^3.2.5","@eslint/js":"^9.37.0","typescript":"^5.9.2","@types/jest":"^29.5.14","@types/node":"^22.15.2","@eslint/compat":"^1.4.0","@eslint/eslintrc":"^3.3.1","eslint-plugin-import":"^2.32.0","eslint-config-prettier":"^9.1.0","eslint-plugin-prettier":"^5.5.4","@typescript-eslint/parser":"^8.46.0","@typescript-eslint/eslint-plugin":"^8.46.0","eslint-import-resolver-typescript":"^4.4.4"},"_npmOperationalInternal":{"tmp":"tmp/client-sdk_1.0.4_1770872241022_0.6115841819000001","host":"s3://npm-registry-packages-npm-production"}},"1.0.5":{"name":"@1shotapi/client-sdk","version":"1.0.5","keywords":["1shot","api","client","sdk","typescript"],"author":{"name":"1Shot API"},"license":"MIT","_id":"@1shotapi/client-sdk@1.0.5","maintainers":[{"name":"csibbach","email":"charlottewisteria@gmail.com"},{"name":"todd_uxly","email":"todd@uxly.software"}],"homepage":"https://github.com/1Shot-API/1Shot-API-SDK/tree/main/clients/node","bugs":{"url":"https://github.com/1Shot-API/1Shot-API-SDK/issues"},"dist":{"shasum":"6d1d9275f431aebfab1fbddf07e0db456ceb6b1b","tarball":"https://registry.npmjs.org/@1shotapi/client-sdk/-/client-sdk-1.0.5.tgz","fileCount":86,"integrity":"sha512-QrZNTBci7ALJ2JNg5ELyfVbd+NhVzR3jnk8eg8nysV9+75qup2SRj3dHz+Vo3pXbi7LgK7lVbI8FtHuVt7xpjw==","signatures":[{"sig":"MEQCIBwYOwJ9zGJCqoSJhy/5eXf5ScSciXS6oJUWqzvsFDlLAiB7qKpLzzV8CoDefSr6Mo0bizBGJXJ4Mn9KxuJ1eydsuQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":431323},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","gitHead":"75e3a6c03f1aec25f406a14ff926b7b53c1804e0","scripts":{"lint":"eslint \"src/**/*.ts\" --fix","test":"node --experimental-vm-modules node_modules/jest/bin/jest.js --config jest.config.mjs","build":"tsc","clean":"rimraf dist","format":"prettier --write \"src/**/*.ts\"","prepare":"npm run build","version":"npm run format && git add -A src","preversion":"npm run lint","postversion":"git push && git push --tags","prepublishOnly":"npm run lint && npm run test"},"_npmUser":{"name":"csibbach","email":"charlottewisteria@gmail.com"},"repository":{"url":"git+https://github.com/1Shot-API/1Shot-API-SDK.git","type":"git"},"_npmVersion":"11.5.1","description":"TypeScript client SDK for 1Shot API. Provides a strongly typed REST client and utility methods for verifying webhook signatures.","directories":{},"_nodeVersion":"20.19.1","dependencies":{"zod":"^3.24.3","@noble/hashes":"^1.3.3","@noble/ed25519":"^2.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","eslint":"^9.37.0","rimraf":"^5.0.5","ts-jest":"^29.1.2","prettier":"^3.2.5","@eslint/js":"^9.37.0","typescript":"^5.9.2","@types/jest":"^29.5.14","@types/node":"^22.15.2","@eslint/compat":"^1.4.0","@eslint/eslintrc":"^3.3.1","eslint-plugin-import":"^2.32.0","eslint-config-prettier":"^9.1.0","eslint-plugin-prettier":"^5.5.4","@typescript-eslint/parser":"^8.46.0","@typescript-eslint/eslint-plugin":"^8.46.0","eslint-import-resolver-typescript":"^4.4.4"},"_npmOperationalInternal":{"tmp":"tmp/client-sdk_1.0.5_1771570970422_0.2278709768712217","host":"s3://npm-registry-packages-npm-production"}},"1.0.6":{"name":"@1shotapi/client-sdk","version":"1.0.6","keywords":["1shot","api","client","sdk","typescript"],"author":{"name":"1Shot API"},"license":"MIT","_id":"@1shotapi/client-sdk@1.0.6","maintainers":[{"name":"csibbach","email":"charlottewisteria@gmail.com"},{"name":"todd_uxly","email":"todd@uxly.software"}],"homepage":"https://github.com/1Shot-API/1Shot-API-SDK/tree/main/clients/node","bugs":{"url":"https://github.com/1Shot-API/1Shot-API-SDK/issues"},"dist":{"shasum":"cd98640c25dc25d1473d2e031b3fbd9edd60931d","tarball":"https://registry.npmjs.org/@1shotapi/client-sdk/-/client-sdk-1.0.6.tgz","fileCount":86,"integrity":"sha512-NACr7rMUYDw/uwB2kJn6Kr0VLa2YXMcxFC/uFa0esjA7o4fqxLxP74RBwwaZjZDMGGauw6vwSHQx0A37a0LcqA==","signatures":[{"sig":"MEYCIQC84uFCZcTIVEbWL1PIyhDQogfbX3dnOBdrywYkU25LPgIhAJRj2OkVXnGFmbefE/3/XcFSJzAlmFarpU801csfiy4y","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":440499},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","gitHead":"35f7ed1e5df5d2f9413513d98b7b899cbfb5cc49","scripts":{"lint":"eslint \"src/**/*.ts\" --fix","test":"node --experimental-vm-modules node_modules/jest/bin/jest.js --config jest.config.mjs","build":"tsc","clean":"rimraf dist","format":"prettier --write \"src/**/*.ts\"","prepare":"npm run build","version":"npm run format && git add -A src","preversion":"npm run lint","postversion":"git push && git push --tags","prepublishOnly":"npm run lint && npm run test"},"_npmUser":{"name":"csibbach","email":"charlottewisteria@gmail.com"},"repository":{"url":"git+https://github.com/1Shot-API/1Shot-API-SDK.git","type":"git"},"_npmVersion":"11.5.1","description":"TypeScript client SDK for 1Shot API. Provides a strongly typed REST client and utility methods for verifying webhook signatures.","directories":{},"_nodeVersion":"20.19.1","dependencies":{"zod":"^3.24.3","@noble/hashes":"^1.3.3","@noble/ed25519":"^2.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","eslint":"^9.37.0","rimraf":"^5.0.5","ts-jest":"^29.1.2","prettier":"^3.2.5","@eslint/js":"^9.37.0","typescript":"^5.9.2","@types/jest":"^29.5.14","@types/node":"^22.15.2","@eslint/compat":"^1.4.0","@eslint/eslintrc":"^3.3.1","eslint-plugin-import":"^2.32.0","eslint-config-prettier":"^9.1.0","eslint-plugin-prettier":"^5.5.4","@typescript-eslint/parser":"^8.46.0","@typescript-eslint/eslint-plugin":"^8.46.0","eslint-import-resolver-typescript":"^4.4.4"},"_npmOperationalInternal":{"tmp":"tmp/client-sdk_1.0.6_1771745742068_0.3782852058777064","host":"s3://npm-registry-packages-npm-production"}},"1.0.7":{"name":"@1shotapi/client-sdk","version":"1.0.7","keywords":["1shot","api","client","sdk","typescript"],"author":{"name":"1Shot API"},"license":"MIT","_id":"@1shotapi/client-sdk@1.0.7","maintainers":[{"name":"csibbach","email":"charlottewisteria@gmail.com"},{"name":"todd_uxly","email":"todd@uxly.software"}],"homepage":"https://github.com/1Shot-API/1Shot-API-SDK/tree/main/clients/node","bugs":{"url":"https://github.com/1Shot-API/1Shot-API-SDK/issues"},"dist":{"shasum":"f36853fa20b3c88386258832adb62a4e132787cf","tarball":"https://registry.npmjs.org/@1shotapi/client-sdk/-/client-sdk-1.0.7.tgz","fileCount":86,"integrity":"sha512-zFPv2yTAMY0S0absQu0RpO92dDoFeRByPo/eleR0L3+gdAqfQA3RTlkPhNVsfsAFJfJ0kmHNmIkwqVZo1V7A1A==","signatures":[{"sig":"MEQCICLAbj23SsQ66IFRKQBl7ZN2BgDku/XsernffJTHv+00AiBL/Sd0e6CzyXUKBrHZZw0dprSqQbmIX6R0Ir0SPAskpw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":444972},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","gitHead":"a563c62154084e01e6d1d91f745de4452529c19f","scripts":{"lint":"eslint \"src/**/*.ts\" --fix","test":"node --experimental-vm-modules node_modules/jest/bin/jest.js --config jest.config.mjs","build":"tsc","clean":"rimraf dist","format":"prettier --write \"src/**/*.ts\"","prepare":"npm run build","version":"npm run format && git add -A src","preversion":"npm run lint","postversion":"git push && git push --tags","prepublishOnly":"npm run lint && npm run test"},"_npmUser":{"name":"csibbach","email":"charlottewisteria@gmail.com"},"repository":{"url":"git+https://github.com/1Shot-API/1Shot-API-SDK.git","type":"git"},"_npmVersion":"11.5.1","description":"TypeScript client SDK for 1Shot API. Provides a strongly typed REST client and utility methods for verifying webhook signatures.","directories":{},"_nodeVersion":"20.19.1","dependencies":{"zod":"^3.24.3","@noble/hashes":"^1.3.3","@noble/ed25519":"^2.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","eslint":"^9.37.0","rimraf":"^5.0.5","ts-jest":"^29.1.2","prettier":"^3.2.5","@eslint/js":"^9.37.0","typescript":"^5.9.2","@types/jest":"^29.5.14","@types/node":"^22.15.2","@eslint/compat":"^1.4.0","@eslint/eslintrc":"^3.3.1","eslint-plugin-import":"^2.32.0","eslint-config-prettier":"^9.1.0","eslint-plugin-prettier":"^5.5.4","@typescript-eslint/parser":"^8.46.0","@typescript-eslint/eslint-plugin":"^8.46.0","eslint-import-resolver-typescript":"^4.4.4"},"_npmOperationalInternal":{"tmp":"tmp/client-sdk_1.0.7_1771876149827_0.7406200503254909","host":"s3://npm-registry-packages-npm-production"}},"1.0.8":{"name":"@1shotapi/client-sdk","version":"1.0.8","keywords":["1shot","api","client","sdk","typescript"],"author":{"name":"1Shot API"},"license":"MIT","_id":"@1shotapi/client-sdk@1.0.8","maintainers":[{"name":"csibbach","email":"charlottewisteria@gmail.com"},{"name":"todd_uxly","email":"todd@uxly.software"}],"homepage":"https://github.com/1Shot-API/1Shot-API-SDK/tree/main/clients/node","bugs":{"url":"https://github.com/1Shot-API/1Shot-API-SDK/issues"},"dist":{"shasum":"335a9f428163745f287faad5711b88171046a855","tarball":"https://registry.npmjs.org/@1shotapi/client-sdk/-/client-sdk-1.0.8.tgz","fileCount":86,"integrity":"sha512-x4NKgLyBUZriC5sKqp+R40PAhuOiIdqI2ctj1hccIiNQNDzWtQb5dLupdbXRLhzMFaG96ipguEQpN+YIZv046Q==","signatures":[{"sig":"MEYCIQCoGwsAvfLuuLvUnytcpyY+E7R0ow3LVD50es+eMpebjwIhAPJsy8M3AIIO7q5Va/7tRNBYXfjo+ssC6kcHeAxoE857","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":453204},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","gitHead":"938dbf1a73aaeae1866bf74e51f162bf33184608","scripts":{"lint":"eslint \"src/**/*.ts\" --fix","test":"node --experimental-vm-modules node_modules/jest/bin/jest.js --config jest.config.mjs","build":"tsc","clean":"rimraf dist","format":"prettier --write \"src/**/*.ts\"","prepare":"npm run build","version":"npm run format && git add -A src","preversion":"npm run lint","postversion":"git push && git push --tags","prepublishOnly":"npm run lint && npm run test"},"_npmUser":{"name":"csibbach","email":"charlottewisteria@gmail.com"},"repository":{"url":"git+https://github.com/1Shot-API/1Shot-API-SDK.git","type":"git"},"_npmVersion":"11.5.1","description":"TypeScript client SDK for 1Shot API. Provides a strongly typed REST client and utility methods for verifying webhook signatures.","directories":{},"_nodeVersion":"20.19.1","dependencies":{"zod":"^3.24.3","@noble/hashes":"^1.3.3","@noble/ed25519":"^2.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","eslint":"^9.37.0","rimraf":"^5.0.5","ts-jest":"^29.1.2","prettier":"^3.2.5","@eslint/js":"^9.37.0","typescript":"^5.9.2","@types/jest":"^29.5.14","@types/node":"^22.15.2","@eslint/compat":"^1.4.0","@eslint/eslintrc":"^3.3.1","eslint-plugin-import":"^2.32.0","eslint-config-prettier":"^9.1.0","eslint-plugin-prettier":"^5.5.4","@typescript-eslint/parser":"^8.46.0","@typescript-eslint/eslint-plugin":"^8.46.0","eslint-import-resolver-typescript":"^4.4.4"},"_npmOperationalInternal":{"tmp":"tmp/client-sdk_1.0.8_1771971259158_0.1790423113382409","host":"s3://npm-registry-packages-npm-production"}},"1.1.0":{"name":"@1shotapi/client-sdk","version":"1.1.0","keywords":["1shot","api","client","sdk","typescript"],"author":{"name":"1Shot API"},"license":"MIT","_id":"@1shotapi/client-sdk@1.1.0","maintainers":[{"name":"csibbach","email":"charlottewisteria@gmail.com"},{"name":"todd_uxly","email":"todd@uxly.software"}],"homepage":"https://github.com/1Shot-API/1Shot-API-SDK/tree/main/clients/node","bugs":{"url":"https://github.com/1Shot-API/1Shot-API-SDK/issues"},"dist":{"shasum":"1ab53275d02e9918a77117f5e997612034786497","tarball":"https://registry.npmjs.org/@1shotapi/client-sdk/-/client-sdk-1.1.0.tgz","fileCount":95,"integrity":"sha512-DLf7khnYtx9Setj2LkyVYuWsxQcLVmjEvUQERAkm980l9L2HdXIuVOQO4uSKn27PuXWA+rONdQBB8ecY6VsOCQ==","signatures":[{"sig":"MEUCIA2qekCMVSaG7hLSRsnTjAFc9eGvX3oDfW9NE8iwB2qhAiEAp9PZMRxTjTNI6v9/IjW3ZP4OtUOdUfo2uicy4hrFJUQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":391391},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","gitHead":"0ffabb8c84e38842e9bcd0e2cc16c45587abe062","scripts":{"lint":"eslint \"src/**/*.ts\" --fix","test":"node --experimental-vm-modules node_modules/jest/bin/jest.js --config jest.config.mjs","build":"tsc","clean":"rimraf dist","format":"prettier --write \"src/**/*.ts\"","prepare":"npm run build","version":"npm run format && git add -A src","preversion":"npm run lint","postversion":"git push && git push --tags","prepublishOnly":"npm run lint && npm run test"},"_npmUser":{"name":"csibbach","email":"charlottewisteria@gmail.com"},"repository":{"url":"git+https://github.com/1Shot-API/1Shot-API-SDK.git","type":"git"},"_npmVersion":"11.5.1","description":"TypeScript client SDK for 1Shot API. Provides a strongly typed REST client and utility methods for verifying webhook signatures.","directories":{},"_nodeVersion":"20.19.1","dependencies":{"zod":"^4.3.5","@noble/hashes":"^1.3.3","@noble/ed25519":"^2.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","eslint":"^9.37.0","rimraf":"^5.0.5","ts-jest":"^29.1.2","prettier":"^3.2.5","@eslint/js":"^9.37.0","typescript":"^5.9.2","@types/jest":"^29.5.14","@types/node":"^22.15.2","@eslint/compat":"^1.4.0","@eslint/eslintrc":"^3.3.1","eslint-plugin-import":"^2.32.0","eslint-config-prettier":"^9.1.0","eslint-plugin-prettier":"^5.5.4","@typescript-eslint/parser":"^8.46.0","@typescript-eslint/eslint-plugin":"^8.46.0","eslint-import-resolver-typescript":"^4.4.4"},"_npmOperationalInternal":{"tmp":"tmp/client-sdk_1.1.0_1772831402735_0.26281950350430217","host":"s3://npm-registry-packages-npm-production"}},"1.1.1":{"name":"@1shotapi/client-sdk","version":"1.1.1","keywords":["1shot","api","client","sdk","typescript"],"author":{"name":"1Shot API"},"license":"MIT","_id":"@1shotapi/client-sdk@1.1.1","maintainers":[{"name":"csibbach","email":"charlottewisteria@gmail.com"},{"name":"todd_uxly","email":"todd@uxly.software"}],"homepage":"https://github.com/1Shot-API/1Shot-API-SDK/tree/main/clients/node","bugs":{"url":"https://github.com/1Shot-API/1Shot-API-SDK/issues"},"dist":{"shasum":"1826db0911c5f2460a1eb4fe2b1cc913acf4dbd2","tarball":"https://registry.npmjs.org/@1shotapi/client-sdk/-/client-sdk-1.1.1.tgz","fileCount":95,"integrity":"sha512-Yk+nB0KcLApXrvOgAsGya/pzEu4y2vD0bbmPlMp7v8G4BukLeEKeYM0M3M/qKpHbQICPzyrGi3vWU2/Wh/fCwA==","signatures":[{"sig":"MEQCIF7M8b12/dkqoEAQFPNDk64wT9DJ8fe219vU1fFZczstAiAEyBvPSsHegeOV5GQKxVMFcSXGUspmcG0U72D8lB1/2A==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":394546},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","gitHead":"0ffabb8c84e38842e9bcd0e2cc16c45587abe062","scripts":{"lint":"eslint \"src/**/*.ts\" --fix","test":"node --experimental-vm-modules node_modules/jest/bin/jest.js --config jest.config.mjs","build":"tsc","clean":"rimraf dist","format":"prettier --write \"src/**/*.ts\"","prepare":"npm run build","version":"npm run format && git add -A src","preversion":"npm run lint","postversion":"git push && git push --tags","prepublishOnly":"npm run lint && npm run test"},"_npmUser":{"name":"csibbach","email":"charlottewisteria@gmail.com"},"repository":{"url":"git+https://github.com/1Shot-API/1Shot-API-SDK.git","type":"git"},"_npmVersion":"11.5.1","description":"TypeScript client SDK for 1Shot API. Provides a strongly typed REST client and utility methods for verifying webhook signatures.","directories":{},"_nodeVersion":"20.19.1","dependencies":{"zod":"^4.3.5","@noble/hashes":"^1.3.3","@noble/ed25519":"^2.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","eslint":"^9.37.0","rimraf":"^5.0.5","ts-jest":"^29.1.2","prettier":"^3.2.5","@eslint/js":"^9.37.0","typescript":"^5.9.2","@types/jest":"^29.5.14","@types/node":"^22.15.2","@eslint/compat":"^1.4.0","@eslint/eslintrc":"^3.3.1","eslint-plugin-import":"^2.32.0","eslint-config-prettier":"^9.1.0","eslint-plugin-prettier":"^5.5.4","@typescript-eslint/parser":"^8.46.0","@typescript-eslint/eslint-plugin":"^8.46.0","eslint-import-resolver-typescript":"^4.4.4"},"_npmOperationalInternal":{"tmp":"tmp/client-sdk_1.1.1_1773442064963_0.04891450874106895","host":"s3://npm-registry-packages-npm-production"}},"1.1.2":{"name":"@1shotapi/client-sdk","version":"1.1.2","keywords":["1shot","api","client","sdk","typescript"],"author":{"name":"1Shot API"},"license":"MIT","_id":"@1shotapi/client-sdk@1.1.2","maintainers":[{"name":"csibbach","email":"charlottewisteria@gmail.com"},{"name":"todd_uxly","email":"todd@uxly.software"}],"homepage":"https://github.com/1Shot-API/1Shot-API-SDK/tree/main/clients/node","bugs":{"url":"https://github.com/1Shot-API/1Shot-API-SDK/issues"},"dist":{"shasum":"3ebe88e3143b01fac679b3b1912818c55860395b","tarball":"https://registry.npmjs.org/@1shotapi/client-sdk/-/client-sdk-1.1.2.tgz","fileCount":95,"integrity":"sha512-LTglTORuqbgeSkZbvJ+8uMLffXARfsy/MoG+hVTcvIWexoRrkbLJq+yqiFWe1OCnuN82Wu++n+jp4C+ampVffA==","signatures":[{"sig":"MEQCIGPk4qJc3zdI4/egpc6Rhh4yp9w1uPakTWLnvSdNs2rVAiAXFlch879ryyarP2kFqbyIEc45Z6XMiF8skV9setXanQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":394696},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","gitHead":"755801a091614d8a8a4fb091c729ef9dd5b323ab","scripts":{"lint":"eslint \"src/**/*.ts\" --fix","test":"node --experimental-vm-modules node_modules/jest/bin/jest.js --config jest.config.mjs","build":"tsc","clean":"rimraf dist","format":"prettier --write \"src/**/*.ts\"","prepare":"npm run build","version":"npm run format && git add -A src","preversion":"npm run lint","postversion":"git push && git push --tags","prepublishOnly":"npm run lint && npm run test"},"_npmUser":{"name":"csibbach","email":"charlottewisteria@gmail.com"},"repository":{"url":"git+https://github.com/1Shot-API/1Shot-API-SDK.git","type":"git"},"_npmVersion":"11.5.1","description":"TypeScript client SDK for 1Shot API. Provides a strongly typed REST client and utility methods for verifying webhook signatures.","directories":{},"_nodeVersion":"20.19.1","dependencies":{"zod":"^4.3.5","@noble/hashes":"^1.3.3","@noble/ed25519":"^2.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","eslint":"^9.37.0","rimraf":"^5.0.5","ts-jest":"^29.1.2","prettier":"^3.2.5","@eslint/js":"^9.37.0","typescript":"^5.9.2","@types/jest":"^29.5.14","@types/node":"^22.15.2","@eslint/compat":"^1.4.0","@eslint/eslintrc":"^3.3.1","eslint-plugin-import":"^2.32.0","eslint-config-prettier":"^9.1.0","eslint-plugin-prettier":"^5.5.4","@typescript-eslint/parser":"^8.46.0","@typescript-eslint/eslint-plugin":"^8.46.0","eslint-import-resolver-typescript":"^4.4.4"},"_npmOperationalInternal":{"tmp":"tmp/client-sdk_1.1.2_1773701342671_0.9006493420951864","host":"s3://npm-registry-packages-npm-production"}},"1.1.3":{"name":"@1shotapi/client-sdk","version":"1.1.3","keywords":["1shot","api","client","sdk","typescript"],"author":{"name":"1Shot API"},"license":"MIT","_id":"@1shotapi/client-sdk@1.1.3","maintainers":[{"name":"csibbach","email":"charlottewisteria@gmail.com"},{"name":"todd_uxly","email":"todd@uxly.software"}],"homepage":"https://github.com/1Shot-API/1Shot-API-SDK/tree/main/clients/node","bugs":{"url":"https://github.com/1Shot-API/1Shot-API-SDK/issues"},"dist":{"shasum":"79dba6d1259ee64a036f62aeba0da3148d87d0c7","tarball":"https://registry.npmjs.org/@1shotapi/client-sdk/-/client-sdk-1.1.3.tgz","fileCount":95,"integrity":"sha512-n98atkfPGbDa6m9uCjzDl8nY3GspCLGbmE4y3doTBpdtGJpiVC3PDyHaINzx0vKGdwshXzAXeRabfitl/x9Juw==","signatures":[{"sig":"MEQCIGU9cE45asDqbYkJUVYPROQH6Vspp/LQ2LIH1E0rtDSiAiBwvWUosEZ2DcnHw5YWCma5K+B7OwwT0md3MRtHOdh7Dg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":401214},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","gitHead":"ee75036b646e4dd4e28a3e44e65cbee1b1f65d39","scripts":{"lint":"eslint \"src/**/*.ts\" --fix","test":"node --experimental-vm-modules node_modules/jest/bin/jest.js --config jest.config.mjs","build":"tsc","clean":"rimraf dist","format":"prettier --write \"src/**/*.ts\"","prepare":"npm run build","version":"npm run format && git add -A src","preversion":"npm run lint","postversion":"git push && git push --tags","prepublishOnly":"npm run lint && npm run test"},"_npmUser":{"name":"csibbach","email":"charlottewisteria@gmail.com"},"repository":{"url":"git+https://github.com/1Shot-API/1Shot-API-SDK.git","type":"git"},"_npmVersion":"11.5.1","description":"TypeScript client SDK for 1Shot API. Provides a strongly typed REST client and utility methods for verifying webhook signatures.","directories":{},"_nodeVersion":"20.19.1","dependencies":{"zod":"^4.3.5","@noble/hashes":"^1.3.3","@noble/ed25519":"^2.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","eslint":"^9.37.0","rimraf":"^5.0.5","ts-jest":"^29.1.2","prettier":"^3.2.5","@eslint/js":"^9.37.0","typescript":"^5.9.2","@types/jest":"^29.5.14","@types/node":"^22.15.2","@eslint/compat":"^1.4.0","@eslint/eslintrc":"^3.3.1","eslint-plugin-import":"^2.32.0","eslint-config-prettier":"^9.1.0","eslint-plugin-prettier":"^5.5.4","@typescript-eslint/parser":"^8.46.0","@typescript-eslint/eslint-plugin":"^8.46.0","eslint-import-resolver-typescript":"^4.4.4"},"_npmOperationalInternal":{"tmp":"tmp/client-sdk_1.1.3_1773789733664_0.12111325809263263","host":"s3://npm-registry-packages-npm-production"}},"1.1.4":{"name":"@1shotapi/client-sdk","version":"1.1.4","keywords":["1shot","api","client","sdk","typescript"],"author":{"name":"1Shot API"},"license":"MIT","_id":"@1shotapi/client-sdk@1.1.4","maintainers":[{"name":"csibbach","email":"charlottewisteria@gmail.com"},{"name":"todd_uxly","email":"todd@uxly.software"}],"homepage":"https://github.com/1Shot-API/1Shot-API-SDK/tree/main/clients/node","bugs":{"url":"https://github.com/1Shot-API/1Shot-API-SDK/issues"},"dist":{"shasum":"b3a211f52f7b9941f17a3580d02bd5ad233caa87","tarball":"https://registry.npmjs.org/@1shotapi/client-sdk/-/client-sdk-1.1.4.tgz","fileCount":95,"integrity":"sha512-OftyfqekVaIbuUXroovGD4pf8sMYfhsLNDfpnRlCWFEHO7fDTw7gZVklYlcXzDoEe5dyYuwX+WJIdHYaD/l20Q==","signatures":[{"sig":"MEYCIQCRAdKfbHZJZJo3rAcpPj8zedX2wWbcuXLf5jWU901qRwIhALo5ABVHOM/uzBVpcKQpJ/NDaQ5yx4HfOer8RP5gw4c3","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":404927},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","gitHead":"ee75036b646e4dd4e28a3e44e65cbee1b1f65d39","scripts":{"lint":"eslint \"src/**/*.ts\" --fix","test":"node --experimental-vm-modules node_modules/jest/bin/jest.js --config jest.config.mjs","build":"tsc","clean":"rimraf dist","format":"prettier --write \"src/**/*.ts\"","prepare":"npm run build","version":"npm run format && git add -A src","preversion":"npm run lint","postversion":"git push && git push --tags","prepublishOnly":"npm run lint && npm run test"},"_npmUser":{"name":"csibbach","email":"charlottewisteria@gmail.com"},"repository":{"url":"git+https://github.com/1Shot-API/1Shot-API-SDK.git","type":"git"},"_npmVersion":"11.5.1","description":"TypeScript client SDK for 1Shot API. Provides a strongly typed REST client and utility methods for verifying webhook signatures.","directories":{},"_nodeVersion":"20.19.1","dependencies":{"zod":"^4.3.5","@noble/hashes":"^1.3.3","@noble/ed25519":"^2.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","eslint":"^9.37.0","rimraf":"^5.0.5","ts-jest":"^29.1.2","prettier":"^3.2.5","@eslint/js":"^9.37.0","typescript":"^5.9.2","@types/jest":"^29.5.14","@types/node":"^22.15.2","@eslint/compat":"^1.4.0","@eslint/eslintrc":"^3.3.1","eslint-plugin-import":"^2.32.0","eslint-config-prettier":"^9.1.0","eslint-plugin-prettier":"^5.5.4","@typescript-eslint/parser":"^8.46.0","@typescript-eslint/eslint-plugin":"^8.46.0","eslint-import-resolver-typescript":"^4.4.4"},"_npmOperationalInternal":{"tmp":"tmp/client-sdk_1.1.4_1773799175992_0.42146319058104265","host":"s3://npm-registry-packages-npm-production"}},"1.1.5":{"name":"@1shotapi/client-sdk","version":"1.1.5","keywords":["1shot","api","client","sdk","typescript"],"author":{"name":"1Shot API"},"license":"MIT","_id":"@1shotapi/client-sdk@1.1.5","maintainers":[{"name":"tthebc01","email":"tac688@alumni.stanford.edu"},{"name":"csibbach","email":"charlottewisteria@gmail.com"},{"name":"todd_uxly","email":"todd@uxly.software"}],"homepage":"https://github.com/1Shot-API/1Shot-API-SDK/tree/main/clients/node","bugs":{"url":"https://github.com/1Shot-API/1Shot-API-SDK/issues"},"dist":{"shasum":"a21763942b613b71e83b621f0493bb0fa2603705","tarball":"https://registry.npmjs.org/@1shotapi/client-sdk/-/client-sdk-1.1.5.tgz","fileCount":95,"integrity":"sha512-9XTkvg2XjitTX/HOoKf1CMFuBF7+mopu8/YaxqfMcI39IcWsdwRGFPmykKbAjlyzQGGH1Z78f4wlP9W9+5LL9Q==","signatures":[{"sig":"MEQCIDiaaIEIECRJSJC3hoz1A5FYTGnerKfdxNNWc7+ewqs/AiBjMuSqXZfcAwA8yHUVaTz5ok6IdVTGgy7qMtPlCcVFkQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":410685},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","gitHead":"9f08be1d2d7a9399080666efecf963d2ee61c348","scripts":{"lint":"eslint \"src/**/*.ts\" --fix","test":"node --experimental-vm-modules node_modules/jest/bin/jest.js --config jest.config.mjs","build":"tsc","clean":"rimraf dist","format":"prettier --write \"src/**/*.ts\"","prepare":"npm run build","version":"npm run format && git add -A src","preversion":"npm run lint","postversion":"git push && git push --tags","prepublishOnly":"npm run lint && npm run test"},"_npmUser":{"name":"csibbach","email":"charlottewisteria@gmail.com"},"repository":{"url":"git+https://github.com/1Shot-API/1Shot-API-SDK.git","type":"git"},"_npmVersion":"11.5.1","description":"TypeScript client SDK for 1Shot API. Provides a strongly typed REST client and utility methods for verifying webhook signatures.","directories":{},"_nodeVersion":"20.19.1","dependencies":{"zod":"^4.3.5","@noble/hashes":"^1.3.3","@noble/ed25519":"^2.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","eslint":"^9.37.0","rimraf":"^5.0.5","ts-jest":"^29.1.2","prettier":"^3.2.5","@eslint/js":"^9.37.0","typescript":"^5.9.2","@types/jest":"^29.5.14","@types/node":"^22.15.2","@eslint/compat":"^1.4.0","@eslint/eslintrc":"^3.3.1","eslint-plugin-import":"^2.32.0","eslint-config-prettier":"^9.1.0","eslint-plugin-prettier":"^5.5.4","@typescript-eslint/parser":"^8.46.0","@typescript-eslint/eslint-plugin":"^8.46.0","eslint-import-resolver-typescript":"^4.4.4"},"_npmOperationalInternal":{"tmp":"tmp/client-sdk_1.1.5_1774041687347_0.9679743669746752","host":"s3://npm-registry-packages-npm-production"}},"1.1.6":{"name":"@1shotapi/client-sdk","version":"1.1.6","keywords":["1shot","api","client","sdk","typescript"],"author":{"name":"1Shot API"},"license":"MIT","_id":"@1shotapi/client-sdk@1.1.6","maintainers":[{"name":"tthebc01","email":"tac688@alumni.stanford.edu"},{"name":"csibbach","email":"charlottewisteria@gmail.com"},{"name":"todd_uxly","email":"todd@uxly.software"}],"homepage":"https://github.com/1Shot-API/1Shot-API-SDK/tree/main/clients/node","bugs":{"url":"https://github.com/1Shot-API/1Shot-API-SDK/issues"},"dist":{"shasum":"23b14a37ae5c116c7bea64e31dd12dc0bb87fc57","tarball":"https://registry.npmjs.org/@1shotapi/client-sdk/-/client-sdk-1.1.6.tgz","fileCount":95,"integrity":"sha512-xyvjZM1dhmc0IB4/eRd72DaXSnvPsY4MB7pMjFBoxhids1s2NQCiZE+lqoaLkFNHoG2qviaLu++72TRq62v7kg==","signatures":[{"sig":"MEUCIQDvWzVUK6DKG+UVWtGhBtPrw8CxsijF1G0irxWfzpIuYQIgdLx+XMjIRehEZZc544lnI13RB5pYh1mGWz1oiryDw6c=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":411309},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","gitHead":"5f08fcd8ac08a87e803e30b1984d6dd09b243294","scripts":{"lint":"eslint \"src/**/*.ts\" --fix","test":"node --experimental-vm-modules node_modules/jest/bin/jest.js --config jest.config.mjs","build":"tsc","clean":"rimraf dist","format":"prettier --write \"src/**/*.ts\"","prepare":"npm run build","version":"npm run format && git add -A src","preversion":"npm run lint","postversion":"git push && git push --tags","prepublishOnly":"npm run lint && npm run test"},"_npmUser":{"name":"csibbach","email":"charlottewisteria@gmail.com"},"repository":{"url":"git+https://github.com/1Shot-API/1Shot-API-SDK.git","type":"git"},"_npmVersion":"11.5.1","description":"TypeScript client SDK for 1Shot API. Provides a strongly typed REST client and utility methods for verifying webhook signatures.","directories":{},"_nodeVersion":"20.19.1","dependencies":{"zod":"^4.3.5","@noble/hashes":"^1.3.3","@noble/ed25519":"^2.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","eslint":"^9.37.0","rimraf":"^5.0.5","ts-jest":"^29.1.2","prettier":"^3.2.5","@eslint/js":"^9.37.0","typescript":"^5.9.2","@types/jest":"^29.5.14","@types/node":"^22.15.2","@eslint/compat":"^1.4.0","@eslint/eslintrc":"^3.3.1","eslint-plugin-import":"^2.32.0","eslint-config-prettier":"^9.1.0","eslint-plugin-prettier":"^5.5.4","@typescript-eslint/parser":"^8.46.0","@typescript-eslint/eslint-plugin":"^8.46.0","eslint-import-resolver-typescript":"^4.4.4"},"_npmOperationalInternal":{"tmp":"tmp/client-sdk_1.1.6_1774048041806_0.3975752249813862","host":"s3://npm-registry-packages-npm-production"}},"1.1.7":{"name":"@1shotapi/client-sdk","version":"1.1.7","keywords":["1shot","api","client","sdk","typescript"],"author":{"name":"1Shot API"},"license":"MIT","_id":"@1shotapi/client-sdk@1.1.7","maintainers":[{"name":"tthebc01","email":"tac688@alumni.stanford.edu"},{"name":"csibbach","email":"charlottewisteria@gmail.com"},{"name":"todd_uxly","email":"todd@uxly.software"}],"homepage":"https://github.com/1Shot-API/1Shot-API-SDK/tree/main/clients/node","bugs":{"url":"https://github.com/1Shot-API/1Shot-API-SDK/issues"},"dist":{"shasum":"5a5547fe5f7f056373a1ddfdf926c4f1e34bfd69","tarball":"https://registry.npmjs.org/@1shotapi/client-sdk/-/client-sdk-1.1.7.tgz","fileCount":95,"integrity":"sha512-1vU1ZoClaONcy7G0IjkdN5icWE1TXBjGLP/pIrmx/HpyqxM2s0NMTFvT59GyCwXwU2U8jbQCqifNL64IXG8Ggw==","signatures":[{"sig":"MEQCIGEViFALT+W9fKprUP6oD0xAnQnK7wSyvlWrWoqeWNhlAiB2v+QdU5gnBkMwa/t+rRFHI57uOp2hSdjLP+tf9Q6NJA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":418280},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","gitHead":"5f08fcd8ac08a87e803e30b1984d6dd09b243294","scripts":{"lint":"eslint \"src/**/*.ts\" --fix","test":"node --experimental-vm-modules node_modules/jest/bin/jest.js --config jest.config.mjs","build":"tsc","clean":"rimraf dist","format":"prettier --write \"src/**/*.ts\"","prepare":"npm run build","version":"npm run format && git add -A src","preversion":"npm run lint","postversion":"git push && git push --tags","prepublishOnly":"npm run lint && npm run test"},"_npmUser":{"name":"csibbach","email":"charlottewisteria@gmail.com"},"repository":{"url":"git+https://github.com/1Shot-API/1Shot-API-SDK.git","type":"git"},"_npmVersion":"11.5.1","description":"TypeScript client SDK for 1Shot API. Provides a strongly typed REST client and utility methods for verifying webhook signatures.","directories":{},"_nodeVersion":"20.19.1","dependencies":{"zod":"^4.3.5","@noble/hashes":"^1.3.3","@noble/ed25519":"^2.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","eslint":"^9.37.0","rimraf":"^5.0.5","ts-jest":"^29.1.2","prettier":"^3.2.5","@eslint/js":"^9.37.0","typescript":"^5.9.2","@types/jest":"^29.5.14","@types/node":"^22.15.2","@eslint/compat":"^1.4.0","@eslint/eslintrc":"^3.3.1","eslint-plugin-import":"^2.32.0","eslint-config-prettier":"^9.1.0","eslint-plugin-prettier":"^5.5.4","@typescript-eslint/parser":"^8.46.0","@typescript-eslint/eslint-plugin":"^8.46.0","eslint-import-resolver-typescript":"^4.4.4"},"_npmOperationalInternal":{"tmp":"tmp/client-sdk_1.1.7_1774980311402_0.021467094936507003","host":"s3://npm-registry-packages-npm-production"}},"1.1.8":{"name":"@1shotapi/client-sdk","version":"1.1.8","keywords":["1shot","api","client","sdk","typescript"],"author":{"name":"1Shot API"},"license":"MIT","_id":"@1shotapi/client-sdk@1.1.8","maintainers":[{"name":"tthebc01","email":"tac688@alumni.stanford.edu"},{"name":"csibbach","email":"charlottewisteria@gmail.com"},{"name":"todd_uxly","email":"todd@uxly.software"}],"homepage":"https://github.com/1Shot-API/1Shot-API-SDK/tree/main/clients/node","bugs":{"url":"https://github.com/1Shot-API/1Shot-API-SDK/issues"},"dist":{"shasum":"f5d61ce2203f1a3bed8e24e6c65e84fde5d91a30","tarball":"https://registry.npmjs.org/@1shotapi/client-sdk/-/client-sdk-1.1.8.tgz","fileCount":95,"integrity":"sha512-XyAndmTJkZhDna06mG+Zjn3zGoiuhbJLYmgxqDuZJWgfDY2hXfhiijcKisNLg0TbkqDZh6PSGtQAhCtGHB6KXg==","signatures":[{"sig":"MEYCIQC01NWOnnKpDhctaxVLtlhdKZsEMn5PVK4Yv9pfT8rDzQIhAMeDjpPlIUgAZ4RL9nxxtLndjal0mT2IwCvJD2vG0a0f","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":419153},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","gitHead":"c361dd441f535d5b69912214be1d28df18f4c6e4","scripts":{"lint":"eslint \"src/**/*.ts\" --fix","test":"node --experimental-vm-modules node_modules/jest/bin/jest.js --config jest.config.mjs","build":"tsc","clean":"rimraf dist","format":"prettier --write \"src/**/*.ts\"","prepare":"npm run build","version":"npm run format && git add -A src","preversion":"npm run lint","postversion":"git push && git push --tags","prepublishOnly":"npm run lint && npm run test"},"_npmUser":{"name":"csibbach","email":"charlottewisteria@gmail.com"},"repository":{"url":"git+https://github.com/1Shot-API/1Shot-API-SDK.git","type":"git"},"_npmVersion":"11.5.1","description":"TypeScript client SDK for 1Shot API. Provides a strongly typed REST client and utility methods for verifying webhook signatures.","directories":{},"_nodeVersion":"20.19.1","dependencies":{"zod":"^4.3.5","@noble/hashes":"^1.3.3","@noble/ed25519":"^2.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","eslint":"^9.37.0","rimraf":"^5.0.5","ts-jest":"^29.1.2","prettier":"^3.2.5","@eslint/js":"^9.37.0","typescript":"^5.9.2","@types/jest":"^29.5.14","@types/node":"^22.15.2","@eslint/compat":"^1.4.0","@eslint/eslintrc":"^3.3.1","eslint-plugin-import":"^2.32.0","eslint-config-prettier":"^9.1.0","eslint-plugin-prettier":"^5.5.4","@typescript-eslint/parser":"^8.46.0","@typescript-eslint/eslint-plugin":"^8.46.0","eslint-import-resolver-typescript":"^4.4.4"},"_npmOperationalInternal":{"tmp":"tmp/client-sdk_1.1.8_1775594008644_0.1467832390448287","host":"s3://npm-registry-packages-npm-production"}},"1.1.9":{"name":"@1shotapi/client-sdk","version":"1.1.9","description":"TypeScript client SDK for 1Shot API. Provides a strongly typed REST client and utility methods for verifying webhook signatures.","main":"dist/index.js","types":"dist/index.d.ts","type":"module","scripts":{"build":"tsc","clean":"rimraf dist","format":"prettier --write \"src/**/*.ts\"","lint":"eslint \"src/**/*.ts\" --fix","test":"node --experimental-vm-modules node_modules/jest/bin/jest.js --config jest.config.mjs","prepare":"npm run build","prepublishOnly":"npm run lint && npm run test","preversion":"npm run lint","version":"npm run format && git add -A src","postversion":"git push && git push --tags"},"repository":{"type":"git","url":"git+https://github.com/1Shot-API/1Shot-API-SDK.git"},"keywords":["1shot","api","client","sdk","typescript"],"author":{"name":"1Shot API"},"license":"MIT","bugs":{"url":"https://github.com/1Shot-API/1Shot-API-SDK/issues"},"homepage":"https://github.com/1Shot-API/1Shot-API-SDK/tree/main/clients/node","devDependencies":{"@eslint/compat":"^1.4.0","@eslint/eslintrc":"^3.3.1","@eslint/js":"^9.37.0","@types/jest":"^29.5.14","@types/node":"^22.15.2","@typescript-eslint/eslint-plugin":"^8.46.0","@typescript-eslint/parser":"^8.46.0","eslint":"^9.37.0","eslint-config-prettier":"^9.1.0","eslint-import-resolver-typescript":"^4.4.4","eslint-plugin-import":"^2.32.0","eslint-plugin-prettier":"^5.5.4","jest":"^29.7.0","prettier":"^3.2.5","rimraf":"^5.0.5","ts-jest":"^29.1.2","typescript":"^5.9.2"},"publishConfig":{"access":"public"},"dependencies":{"@noble/ed25519":"^2.2.0","@noble/hashes":"^1.3.3","zod":"^4.3.5"},"_id":"@1shotapi/client-sdk@1.1.9","gitHead":"2d3202b5f3358b164b95bf3bb286051699c44ef2","_nodeVersion":"20.19.1","_npmVersion":"11.5.1","dist":{"integrity":"sha512-Mtc2vWl1tU4BaOVtzaZ3W4uwXnGKBav/vjH2bVqmW89zgy2BYJCXZV8GB2LoDjAfCbztrWEeamSk3cN0wNqAzw==","shasum":"8bbd0eb63cf4c5b8066e161ea2359ba3050f03d5","tarball":"https://registry.npmjs.org/@1shotapi/client-sdk/-/client-sdk-1.1.9.tgz","fileCount":95,"unpackedSize":421060,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIGgCM0F0IjmHdoYfZDr7+pk+ZcKY+5O2fS5eEa5myHpVAiEAxcXeYl0lvXYBt792IGJbEBrub0S4THcnVGJgu8KVhAw="}]},"_npmUser":{"name":"csibbach","email":"charlottewisteria@gmail.com"},"directories":{},"maintainers":[{"name":"tthebc01","email":"tac688@alumni.stanford.edu"},{"name":"csibbach","email":"charlottewisteria@gmail.com"},{"name":"todd_uxly","email":"todd@uxly.software"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/client-sdk_1.1.9_1778532747447_0.4334709947503559"},"_hasShrinkwrap":false}},"time":{"created":"2026-02-03T17:45:00.335Z","modified":"2026-05-11T20:52:27.711Z","1.0.0":"2026-02-03T17:45:00.599Z","1.0.1":"2026-02-06T08:31:47.956Z","1.0.2":"2026-02-12T04:37:58.716Z","1.0.3":"2026-02-12T04:52:43.054Z","1.0.4":"2026-02-12T04:57:21.242Z","1.0.5":"2026-02-20T07:02:50.575Z","1.0.6":"2026-02-22T07:35:42.216Z","1.0.7":"2026-02-23T19:49:09.969Z","1.0.8":"2026-02-24T22:14:19.311Z","1.1.0":"2026-03-06T21:10:02.906Z","1.1.1":"2026-03-13T22:47:45.113Z","1.1.2":"2026-03-16T22:49:02.845Z","1.1.3":"2026-03-17T23:22:13.822Z","1.1.4":"2026-03-18T01:59:36.168Z","1.1.5":"2026-03-20T21:21:27.474Z","1.1.6":"2026-03-20T23:07:21.977Z","1.1.7":"2026-03-31T18:05:11.560Z","1.1.8":"2026-04-07T20:33:28.799Z","1.1.9":"2026-05-11T20:52:27.600Z"},"bugs":{"url":"https://github.com/1Shot-API/1Shot-API-SDK/issues"},"author":{"name":"1Shot API"},"license":"MIT","homepage":"https://github.com/1Shot-API/1Shot-API-SDK/tree/main/clients/node","keywords":["1shot","api","client","sdk","typescript"],"repository":{"type":"git","url":"git+https://github.com/1Shot-API/1Shot-API-SDK.git"},"description":"TypeScript client SDK for 1Shot API. Provides a strongly typed REST client and utility methods for verifying webhook signatures.","maintainers":[{"name":"tthebc01","email":"tac688@alumni.stanford.edu"},{"name":"csibbach","email":"charlottewisteria@gmail.com"},{"name":"todd_uxly","email":"todd@uxly.software"}],"readme":"# @1shotapi/client-sdk\n\nTypeScript client SDK for the [1Shot API](https://1shotapi.com). It provides a strongly typed REST client for the M2M (machine-to-machine) Gateway API and a utility for verifying webhook signatures.\n\nThis README is structured as a **second source of documentation** for how 1Shot API works, with examples for each area. For the full picture, see the [official 1Shot docs](https://docs.1shotapi.com/) and the [OpenAPI specification (m2mGatewaySpec.yaml)](https://github.com/1Shot-API/1Shot-API-SDK/blob/main/m2mGatewaySpec.yaml).\n\n**API reference:** The M2M Gateway API is described in the [m2mGatewaySpec.yaml](https://github.com/1Shot-API/1Shot-API-SDK/blob/main/m2mGatewaySpec.yaml) in the SDK repository.\n\n---\n\n## Table of contents\n\n1. [Installation](#installation)\n2. [Quick start](#quick-start)\n3. [Server Wallets](#1-server-wallets)\n4. [Smart Contracts](#2-smart-contracts)\n5. [Executing Transactions](#3-executing-transactions)\n6. [Chains](#4-chains)\n7. [Webhooks](#5-webhooks)\n8. [Webhook verification](#webhook-verification)\n9. [Error handling](#error-handling)\n10. [Type safety](#type-safety)\n11. [Publishing](#publishing)\n12. [Contributing](#contributing)\n13. [License](#license)\n\n---\n\n## Installation\n\n```bash\nnpm install @1shotapi/client-sdk\n```\n\n---\n\n## Quick start\n\n```typescript\nimport { OneShotClient } from \"@1shotapi/client-sdk\";\n\nconst client = new OneShotClient({\n  apiKey: \"your_api_key\",\n  apiSecret: \"your_api_secret\",\n});\n\n// Optional: use a different base URL (e.g. for staging)\n// const client = new OneShotClient({\n//   apiKey: \"your_api_key\",\n//   apiSecret: \"your_api_secret\",\n//   baseUrl: \"https://api.staging.1shotapi.com/v0\",\n// });\n```\n\nAll examples below assume you have a `client` instance and a `businessId` (your 1Shot API business UUID).\n\n---\n\n## 1. Server Wallets\n\n1Shot API uses **server wallets** to sign and send transactions on your behalf. You create and manage them per business and chain.\n\n### 1.1 Create server wallet\n\nCreate a new server wallet for a business on a given chain.\n\n```typescript\nconst wallet = await client.wallets.create(\"your_business_id\", {\n  chainId: 8453, // Base mainnet\n  name: \"Payments wallet\",\n  description: \"Used for consumer payouts\",\n});\n// wallet.id, wallet.address, wallet.chainId, etc.\n```\n\n### 1.2 List server wallets\n\nList wallets for a business with optional filters and pagination.\n\n```typescript\nconst { response, page, pageSize, totalResults } = await client.wallets.list(\n  \"your_business_id\",\n  {\n    chainId: 8453,\n    page: 1,\n    pageSize: 20,\n  }\n);\n```\n\n### 1.3 Update server wallet metadata\n\nUpdate name and description of an existing wallet.\n\n```typescript\nconst updated = await client.wallets.update(\"your_wallet_id\", {\n  name: \"Updated name\",\n  description: \"Updated description\",\n});\n```\n\n### 1.4 Get signatures from server wallets\n\nServer wallets can produce **EIP-3009** and **Permit2** signatures for transfer flows (e.g. gasless approvals), **EIP-712** typed data via `signTypedData` (`eth_signTypedData_v4`), and **EIP-191** plain-text messages via `signMessage` (`personal_sign`). For Permit2, you must first authorize the wallet for it, which requires running a transaction. The wallet must have gas in it in order to run the authorize transaction.\n\n**EIP-3009**\n\n```typescript\nconst sig = await client.wallets.getSignature(\n  \"your_wallet_id\",\n  \"erc3009\",\n  {\n    contractAddress: \"0x...\", // token contract\n    destinationAddress: \"0x...\",\n    amount: \"1000000000000000000\",\n  }\n);\n// sig.signature, sig.deadline, etc.\n```\n\n**Permit2**\n\n```typescript\nconst sig = await client.wallets.getSignature(\n  \"your_wallet_id\",\n  \"permit2\",\n  {\n    contractAddress: \"0x...\",\n    destinationAddress: \"0x...\",\n    amount: \"1000000\",\n    validUntil: Math.floor(Date.now() / 1000) + 3600,\n    validAfter: 0,\n  }\n);\n```\n\n**EIP-712 (`signTypedData`)**\n\nSign arbitrary EIP-712 typed data with the server wallet. The SDK uses **POST** so large payloads are not limited by URL length. The request body uses **`message`** as the typed-data root: `{ primaryType, message: { …struct fields } }`. Omit `EIP712Domain` from `types` if your tooling adds it—the API strips it before signing.\n\n```typescript\nconst sig = await client.wallets.signTypedData(\"your_wallet_id\", {\n  domain: {\n    name: \"MyApp\",\n    version: \"1\",\n    chainId: 1,\n    verifyingContract: \"0x0000000000000000000000000000000000000000\",\n  },\n  types: {\n    Person: [\n      { name: \"name\", type: \"string\" },\n      { name: \"wallet\", type: \"address\" },\n    ],\n  },\n  message: {\n    primaryType: \"Person\",\n    message: {\n      name: \"Alice\",\n      wallet: \"0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045\",\n    },\n  },\n});\n// sig.signature — hex; sig.data — JSON describing what was signed\n```\n\n**EIP-191 (`signMessage`)**\n\nSign a plain UTF-8 string (EIP-191 personal message). **POST** is used so long text is not limited by URL length.\n\n```typescript\nconst sig = await client.wallets.signMessage(\"your_wallet_id\", {\n  message: \"Login to MyApp as user@example.com\",\n});\n// sig.signature — hex; sig.data — the message that was signed\n```\n\n**Authorize Permit2**\n\nAuthorize a wallet for Permit2 for a given token so it can perform Permit2 transfers without a new signature every time. **The wallet must have gas (native token) to run the authorize transaction.**\n\n```typescript\nconst { success } = await client.wallets.authorizePermit2(\"your_wallet_id\", {\n  contractAddress: \"0x...\", // token contract, e.g. USDC\n});\n```\n\n### 1.5 Delegations\n\nDelegations let another address (delegate) act on behalf of the wallet within constraints (time, contracts, methods). Useful for agent or user-scoped permissions.\n\n**Create delegation**\n\n```typescript\nconst delegation = await client.wallets.createDelegation(\"your_wallet_id\", {\n  delegationData: [\"<signed delegation payload from your signer>\"],\n  startTime: Math.floor(Date.now() / 1000),\n  endTime: Math.floor(Date.now() / 1000) + 86400 * 7, // 7 days\n  contractAddresses: [\"0x...\"],\n  methods: [\"transfer\", \"approve\"],\n});\n```\n\n**List delegations**\n\n```typescript\nconst { response, page, pageSize, totalResults } =\n  await client.wallets.listDelegations(\"your_wallet_id\", {\n    page: 1,\n    pageSize: 10,\n  });\n```\n\n**Redelegate — from stored delegation**\n\nCreate a new delegation from an existing one (by ID); the current delegate signs the redelegation to a new delegate.\n\n```typescript\nconst { parent, redelegation } = await client.wallets.redelegate(\n  \"existing_delegation_id\",\n  { delegateAddress: \"0xNewDelegate...\" }\n);\n// Use parent and redelegation in delegationData when executing as delegator\n```\n\n**Redelegate — from provided delegation**\n\nSame idea when you have the parent delegation as JSON instead of an ID (e.g. to fan out one delegation to many server wallets).\n\n```typescript\nconst { parent, redelegation } = await client.wallets.redelegateWithDelegationData(\n  \"wallet_id_that_is_current_delegate\",\n  {\n    delegationData: \"<parent delegation JSON string>\",\n    delegateAddress: \"0xNewDelegate...\",\n  }\n);\n```\n\n---\n\n## 2. Smart Contracts\n\n1Shot API lets you **search** for contracts, **assure** that imported contract methods exist for a contract (via prompts), and work with **contract methods** and **contract events** attached to your business.\n\n### 2.1 Search smart contracts\n\nSearch for contracts by natural language or identifiers; returns prompts you can use with “assure” or to import methods.\n\n```typescript\nconst prompts = await client.contractMethods.search(\"USDC on Base\", {\n  chainId: 8453,\n});\n// prompts[].promptId, prompts[].name, etc.\n```\n\n### 2.2 Assure methods associated with smart contract\n\nEnsure contract methods exist for a given contract (and optional prompt). Creates or returns the methods so you can execute or read them.\n\n```typescript\nconst methods = await client.contractMethods.assureContractMethodsFromPrompt(\n  \"your_business_id\",\n  {\n    chainId: 8453,\n    contractAddress: \"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913\", // USDC on Base\n    walletId: \"your_wallet_id\",\n    promptId: \"optional_prompt_uuid\", // omit to use highest-ranked prompt\n  }\n);\n```\n\n### 2.3 Contract Methods\n\n**Listing imported contract methods**\n\nList contract methods for a business with optional filters.\n\n```typescript\nconst { response, page, pageSize, totalResults } =\n  await client.contractMethods.list(\"your_business_id\", {\n    chainId: 8453,\n    contractAddress: \"0x...\",\n    page: 1,\n    pageSize: 20,\n    status: \"live\",\n  });\n```\n\n**Update imported contract method details**\n\nUpdate metadata or configuration of an imported contract method.\n\n```typescript\nconst updated = await client.contractMethods.update(\"your_contract_method_id\", {\n  name: \"Transfer USDC\",\n  description: \"Sends USDC to a recipient\",\n  walletId: \"another_wallet_id\",\n});\n```\n\n**Reading from read contract methods**\n\nCall view/pure contract methods without sending a transaction. Returns decoded result.\n\n```typescript\nconst balance = await client.contractMethods.read(\n  \"your_contract_method_id\", // e.g. balanceOf\n  {\n    owner: \"0x1234567890123456789012345678901234567890\",\n  }\n);\n```\n\n**Simulating write contract methods**\n\nSimulate a write (or any) contract method without submitting a transaction. Useful for validation and gas/result estimation.\n\n```typescript\nconst result = await client.contractMethods.test(\n  \"your_contract_method_id\",\n  { amount: \"1000000\", recipient: \"0x...\" },\n  { value: \"0\" }\n);\n// result.success, result.data, etc.\n```\n\n### 2.4 Contract Events\n\n**Listing imported contract events**\n\nList contract event definitions for a business.\n\n```typescript\nconst { response, page, pageSize, totalResults } =\n  await client.contractEvents.list(\"your_business_id\", {\n    chainId: 8453,\n    contractAddress: \"0x...\",\n    page: 1,\n    pageSize: 20,\n  });\n```\n\n**Update imported contract event details**\n\nUpdate name or description of a contract event definition.\n\n```typescript\nconst updated = await client.contractEvents.update(\"your_contract_event_id\", {\n  name: \"Transfer events\",\n  description: \"ERC20 Transfer(indexed from, indexed to, value)\",\n});\n```\n\n**Querying contract events with indexed arguments**\n\nQuery blockchain logs for a contract event definition, with optional block range and indexed argument filters.\n\n```typescript\nconst { logs } = await client.contractEvents.searchLogs(\n  \"your_contract_event_id\",\n  {\n    startBlock: 12_000_000,\n    endBlock: 12_100_000,\n    topics: {\n      from: \"0x1234567890123456789012345678901234567890\",\n      to: \"0xabcdef0123456789abcdef0123456789abcdef01\",\n    },\n  }\n);\n// logs[].eventName, logs[].blockNumber, logs[].topics, etc.\n```\n\n---\n\n## 3. Executing Transactions\n\nExecution is done via **contract methods**: you call the method by ID with params and (optionally) a wallet, memo, value, etc. You can run a single call, a single call as a delegator, or batches in one transaction.\n\n### 3.1 Single execute\n\nExecute one contract method with a server wallet.\n\n```typescript\nconst transaction = await client.contractMethods.execute(\n  \"your_contract_method_id\",\n  {\n    recipient: \"0x1234567890123456789012345678901234567890\",\n    amount: \"1000000000000000000\",\n  },\n  {\n    walletId: \"your_wallet_id\",\n    memo: \"Payout #123\",\n    value: \"0\",\n  }\n);\n// transaction.id, transaction.status, etc.\n```\n\n### 3.2 Delegated single execute\n\nExecute one contract method as a **delegator**: the signer of the transaction is the delegate (e.g. agent or user wallet), using a delegation you created earlier. Provide exactly one of `delegatorAddress`, `delegationId`, or `delegationData`.\n\n```typescript\nconst transaction = await client.contractMethods.executeAsDelegator(\n  \"your_contract_method_id\",\n  { recipient: \"0x...\", amount: \"1000000\" },\n  {\n    walletId: \"wallet_id\",\n    delegationData: [\"<parent JSON>\", \"<redelegation JSON>\"],\n    memo: \"Delegated transfer\",\n  }\n);\n```\n\n### 3.3 Batch execute\n\nExecute multiple contract methods in one transaction from a single server wallet. Use `atomic: true` so the whole batch reverts if any step fails.\n\n```typescript\nconst transaction = await client.contractMethods.executeBatch({\n  walletId: \"your_wallet_id\",\n  contractMethods: [\n    {\n      contractMethodId: \"method_uuid_1\",\n      executionIndex: 0,\n      params: { recipient: \"0x...\", amount: \"100\" },\n    },\n    {\n      contractMethodId: \"method_uuid_2\",\n      executionIndex: 1,\n      params: { spender: \"0x...\", amount: \"200\" },\n    },\n  ],\n  atomic: true,\n  memo: \"Batch approval + transfer\",\n});\n```\n\n### 3.4 Delegated batch execute\n\nSame as batch execute, but each item can specify delegator info so the batch runs as delegator(s).\n\n```typescript\nconst transaction = await client.contractMethods.executeBatchAsDelegator({\n  walletId: \"wallet_id\",\n  contractMethods: [\n    {\n      contractMethodId: \"method_uuid_1\",\n      executionIndex: 0,\n      params: { recipient: \"0x...\", amount: \"100\" },\n      delegatorAddress: \"0xDelegate...\",\n      // or delegationId / delegationData\n    },\n  ],\n  atomic: true,\n});\n```\n\n---\n\n## 4. Chains\n\n`client.chains` covers everything in the **Chains** category of the M2M API: listing networks 1Shot supports, current gas fee estimates, and inspecting bytecode at an address (including EIP-7702 delegation).\n\n### 4.1 List chains (`list`)\n\nReturns a paginated list of supported chains. Each item includes `name`, `chainId`, `averageBlockMiningTime`, `nativeCurrency` (`name`, `symbol`, `decimals`), and `type` (`Mainnet`, `Testnet`, or `Hardhat`).\n\n```typescript\nconst { response, page, pageSize, totalResults } = await client.chains.list({\n  page: 1,\n  pageSize: 25,\n});\n// response[].chainId, response[].name, response[].nativeCurrency.symbol, ...\n```\n\n### 4.2 Gas fees (`getFees`)\n\nReturns current gas pricing for a chain. Every response includes **`effectiveGasPrice`** (wei string) and **`pricingModel`** (`\"legacy\"` or `\"erc1559\"`). You also get chain-specific fields: for **EIP-1559**, typically `maxFeePerGas`, `maxPriorityFeePerGas`, and `nextBaseFeePerGas`, with optional `history` when requested; for **legacy** chains you may get `gasPrice` instead.\n\n```typescript\nconst fees = await client.chains.getFees(8453, {\n  numberOfBlocks: 5, // optional: 1-1024\n});\n// fees.effectiveGasPrice — always present (wei)\n// fees.pricingModel — \"legacy\" | \"erc1559\"\n// fees.gasPrice — legacy chains, or null on EIP-1559\n// fees.maxFeePerGas, fees.maxPriorityFeePerGas — EIP-1559, or null on legacy\n// fees.nextBaseFeePerGas — projected base fee for next block (EIP-1559), or null\n// fees.history?.blocks — optional normalized fee history when numberOfBlocks is provided\n```\n\n### 4.3 Contract bytecode (`getCode`)\n\nReturns whether the address has contract bytecode on the chain (`eth_getCode`) and, when the bytecode matches the EIP-7702 delegation designator (`0xef0100` + 20-byte implementation address), the **delegated implementation** contract address. This counts against the same monthly read quota as reading a contract method.\n\n```typescript\nconst codeInfo = await client.chains.getCode(\n  8453, // Base mainnet\n  \"0x71C7656EC7ab88b098defB751B7401B5f6d8976F\"\n);\n// codeInfo.isContract — true if non-empty bytecode\n// codeInfo.eip7702ImplementationAddress — implementation contract when EIP-7702 delegation bytecode; otherwise null\n```\n\n---\n\n## 5. Webhooks\n\n1Shot API lets you manage **webhook endpoints** (URLs that receive payloads) and **webhook triggers** (rules that decide when to send those payloads). You can list event names, create and update endpoints and triggers, rotate endpoint keys, and inspect generated webhooks and delivery attempts.\n\n### 5.1 Get available webhook event names\n\nList event names that may trigger webhooks (e.g. `TransactionExecutionSuccess`, `TransactionExecutionSubmitted`, `TransactionExecutionFailure`).\n\n```typescript\nconst { events } = await client.webhooks.getEvents();\n// events: (\"TransactionExecutionFailure\" | \"TransactionExecutionSubmitted\" | \"TransactionExecutionSuccess\" | ...)[]\n```\n\n### 5.2 Webhook triggers\n\n**List webhook triggers**\n\nList all triggers for a business with optional pagination.\n\n```typescript\nconst { response, page, pageSize, totalResults } =\n  await client.webhooks.listTriggers(\"your_business_id\", {\n    page: 1,\n    pageSize: 25,\n  });\n```\n\n**Create webhook trigger**\n\nCreate a trigger that sends webhooks to an endpoint when certain events occur. Optionally restrict by contract method IDs.\n\n```typescript\nconst trigger = await client.webhooks.createTrigger(\"your_business_id\", {\n  endpointId: \"your_webhook_endpoint_id\",\n  eventNames: [\"TransactionExecutionSuccess\", \"TransactionExecutionFailure\"],\n  name: \"Transaction notifications\",\n  description: \"Notify on success or failure\",\n  contractMethodIds: [\"method_uuid_1\", \"method_uuid_2\"], // optional\n});\n```\n\n**Update webhook trigger**\n\nUpdate an existing trigger’s endpoint, events, name, or description.\n\n```typescript\nconst updated = await client.webhooks.updateTrigger(\"your_webhook_trigger_id\", {\n  eventNames: [\"TransactionExecutionSuccess\"],\n  name: \"Success only\",\n});\n```\n\n**Delete webhook trigger**\n\n```typescript\nconst { success } = await client.webhooks.deleteTrigger(\"your_webhook_trigger_id\");\n```\n\n### 5.3 Webhook endpoints\n\n**List webhook endpoints**\n\nList all endpoints for a business (the URLs that receive webhook payloads).\n\n```typescript\nconst { response, page, pageSize, totalResults } =\n  await client.webhooks.listEndpoints(\"your_business_id\", {\n    page: 1,\n    pageSize: 25,\n  });\n```\n\n**Create webhook endpoint**\n\nRegister a URL to receive webhooks. The response includes a `publicKey` for verifying signatures.\n\n```typescript\nconst endpoint = await client.webhooks.createEndpoint(\"your_business_id\", {\n  destinationUrl: \"https://your-app.com/webhooks/1shot\",\n  name: \"Production webhook\",\n  description: \"Receives transaction and balance events\",\n});\n// endpoint.id, endpoint.publicKey, endpoint.destinationUrl, etc.\n```\n\n**Get webhook endpoint**\n\nFetch a single endpoint by ID.\n\n```typescript\nconst endpoint = await client.webhooks.getEndpoint(\"your_webhook_endpoint_id\");\n```\n\n**Update webhook endpoint**\n\nUpdate name or description (URL cannot be changed).\n\n```typescript\nconst updated = await client.webhooks.updateEndpoint(\"your_webhook_endpoint_id\", {\n  name: \"Production (primary)\",\n  description: \"Updated description\",\n});\n```\n\n**Delete webhook endpoint**\n\n```typescript\nconst { success } = await client.webhooks.deleteEndpoint(\"your_webhook_endpoint_id\");\n```\n\n**Rotate webhook endpoint key**\n\nRotate the private key for an endpoint. Returns the endpoint with a new `publicKey`; use it to verify future webhook signatures.\n\n```typescript\nconst endpoint = await client.webhooks.rotateEndpointKey(\"your_webhook_endpoint_id\");\n// endpoint.publicKey is the new key; update your verification config\n```\n\n### 5.4 Webhook deliveries and attempts\n\n**List webhooks for an endpoint**\n\nList generated webhook deliveries for a specific endpoint (with optional pagination).\n\n```typescript\nconst { response, page, pageSize, totalResults } =\n  await client.webhooks.listWebhooksForEndpoint(\"your_webhook_endpoint_id\", {\n    page: 1,\n    pageSize: 25,\n  });\n// response[].id, response[].eventName, response[].content, response[].status\n```\n\n**List delivery attempts for a webhook**\n\nList delivery attempts for a single webhook (e.g. to debug failures).\n\n```typescript\nconst { response, page, pageSize, totalResults } =\n  await client.webhooks.listDeliveryAttempts(\"your_webhook_id\", {\n    page: 1,\n    pageSize: 25,\n  });\n// response[].httpResponse, response[].clientResponse, response[].timestamp\n```\n\n---\n\n## Webhook validation\n\n1Shot API can send webhooks for transaction state changes. Verify signatures using the provided utility to make sure they are coming from 1Shot API.\n\n### Using the standalone function\n\n```typescript\nimport { validateWebhook } from \"@1shotapi/client-sdk\";\nimport express from \"express\";\n\nconst app = express();\napp.use(express.json());\n\napp.post(\"/webhook\", async (req, res) => {\n  const body = req.body;\n\n  const publicKey = \"your_webhook_public_key\";\n\n  try {\n    const isValid = await validateWebhook({\n      body,\n      publicKey,\n    });\n\n    if (!isValid) {\n      return res.status(403).json({ error: \"Invalid signature\" });\n    }\n\n    return res.json({ message: \"Webhook verified successfully\" });\n  } catch (error) {\n    return res.status(403).json({ error: error.message });\n  }\n});\n```\n\n---\n\n## Error handling\n\nThe client can throw:\n\n- **RequestError** – HTTP request failures\n- **ZodError** – Invalid parameters (from schema validation)\n- **InvalidSignatureError** – Invalid webhook signatures (from `validateWebhook`)\n\n---\n\n## Type safety\n\nAll API methods and responses are typed. Models and options align with the [M2M Gateway API spec](https://github.com/1Shot-API/1Shot-API-SDK/blob/main/m2mGatewaySpec.yaml).\n\n---\n\n## Publishing\n\n1. Bump the version in `package.json`.\n2. Build: `npm run build`\n3. Test the tarball: `npm pack` then install the generated `.tgz`.\n4. Publish: `npm publish` (after `npm login` if needed).\n\n---\n\n## Contributing\n\nContributions are welcome. Please open a Pull Request.\n\n---\n\n## License\n\nThis project is licensed under the MIT License – see the LICENSE file for details.\n","readmeFilename":"README.md"}