{"_id":"@0xsambtc/api-kit","name":"@0xsambtc/api-kit","dist-tags":{"latest":"2.4.3"},"versions":{"2.4.3":{"name":"@0xsambtc/api-kit","version":"2.4.3","description":"SDK that facilitates the interaction with the Safe Transaction Service API","main":"dist/src/index.js","typings":"dist/src/index.d.ts","keywords":["Ethereum","Wallet","Safe","Smart Account","API"],"scripts":{"test:web3":"export TESTS_PATH=tests/endpoint && export ETH_LIB=web3 && nyc hardhat test","test:ethers":"export TESTS_PATH=tests/endpoint && export ETH_LIB=ethers && nyc --reporter=lcov  hardhat test","test:viem":"export TESTS_PATH=tests/endpoint && export ETH_LIB=viem && nyc hardhat test","test":"yarn test:ethers","test:ci:web3":"export TESTS_PATH=tests/e2e && export ETH_LIB=web3 && nyc hardhat test","test:ci:ethers":"export TESTS_PATH=tests/e2e && export ETH_LIB=ethers && nyc --reporter=lcov hardhat test","test:ci:viem":"export TESTS_PATH=tests/e2e && export ETH_LIB=viem && nyc --reporter=lcov hardhat test","test:ci":"yarn test:ci:ethers","format:check":"prettier --check \"*/**/*.{js,json,md,ts}\"","format":"prettier --write \"*/**/*.{js,json,md,ts}\"","unbuild":"rimraf dist .nyc_output cache","build":"yarn unbuild && tsc -p tsconfig.build.json && tsc-alias -p tsconfig.build.json"},"repository":{"type":"git","url":"git+https://github.com/0xsambtc/safe-core-sdk.git"},"author":{"name":"Safe","url":"https://safe.global"},"license":"MIT","bugs":{"url":"https://github.com/0xsambtc/safe-core-sdk/issues"},"homepage":"https://github.com/0xsambtc/safe-core-sdk#readme","devDependencies":{"@nomicfoundation/hardhat-ethers":"^3.0.6","@types/chai":"^4.3.16","@types/chai-as-promised":"^7.1.8","@types/mocha":"^10.0.6","@types/node-fetch":"^2.6.11","@types/sinon-chai":"^3.2.11","@types/yargs":"^17.0.32","chai":"^4.3.10","chai-as-promised":"^7.1.1","hardhat":"^2.19.3","mocha":"^10.2.0","semver":"^7.6.1","sinon":"^14.0.2","sinon-chai":"^3.7.0","tsconfig-paths":"^4.2.0","viem":"^2.15.1","web3":"^4.7.0","yargs":"^17.7.2"},"dependencies":{"@safe-global/protocol-kit":"npm:@0xsambtc/protocol-kit","@safe-global/safe-core-sdk-types":"^5.0.3","ethers":"^6.13.1","node-fetch":"^2.7.0"},"_id":"@0xsambtc/api-kit@2.4.3","gitHead":"784d0c9bbe14daf71b591a51c9daeb191b6dc4b5","_nodeVersion":"18.18.2","_npmVersion":"9.8.1","dist":{"integrity":"sha512-s0WH3LGX8QtS+FY0PlAEmcZAeYGlvPQeYlv7TkK5Fcozxur7ujt3HnyNQp436li4suvM33661aJmlD+Tn30KuA==","shasum":"3029657edc7c9a4f24a91bc4bf0ee6bba1bd7d9c","tarball":"https://registry.npmjs.org/@0xsambtc/api-kit/-/api-kit-2.4.3.tgz","fileCount":31,"unpackedSize":178188,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC8YiZipI/KV/Pd7YMHKb6AJ+fDkXTSb3Gciz56JLX/GgIhAJLfZ9Dhr52fabvZiiadbo2EE5BxQJ9VIRl4Np5391h9"}]},"_npmUser":{"name":"0xsambtc","email":"0xsambtc@gmail.com"},"directories":{},"maintainers":[{"name":"0xsambtc","email":"0xsambtc@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/api-kit_2.4.3_1721365625398_0.08548919946897615"},"_hasShrinkwrap":false}},"time":{"created":"2024-07-19T05:07:05.274Z","2.4.3":"2024-07-19T05:07:05.577Z","modified":"2024-07-19T05:07:05.897Z"},"maintainers":[{"name":"0xsambtc","email":"0xsambtc@gmail.com"}],"description":"SDK that facilitates the interaction with the Safe Transaction Service API","homepage":"https://github.com/0xsambtc/safe-core-sdk#readme","keywords":["Ethereum","Wallet","Safe","Smart Account","API"],"repository":{"type":"git","url":"git+https://github.com/0xsambtc/safe-core-sdk.git"},"author":{"name":"Safe","url":"https://safe.global"},"bugs":{"url":"https://github.com/0xsambtc/safe-core-sdk/issues"},"license":"MIT","readme":"# Safe API Kit\n\n[![npm Version](https://badge.fury.io/js/%40safe-global%2Fapi-kit.svg)](https://badge.fury.io/js/%40safe-global%2Fapi-kit)\n[![GitHub Release](https://img.shields.io/github/release/safe-global/safe-core-sdk.svg?style=flat)](https://github.com/safe-global/safe-core-sdk/releases)\n[![GitHub](https://img.shields.io/github/license/safe-global/safe-core-sdk)](https://github.com/safe-global/safe-core-sdk/blob/main/LICENSE.md)\n\nSoftware development kit that facilitates the interaction with the [Safe Transaction Service API](https://github.com/safe-global/safe-transaction-service), allowing to propose and share transactions with the other signers of a Safe, sending the signatures to the service to collect them, getting information about a Safe (like reading the transaction history, pending transactions, enabled Modules and Guards, etc.), among other features.\n\n## Table of contents\n\n- [Documentation](#documentation)\n- [Installation](#installation)\n- [Quick Start](#quick-start)\n- [Need Help or Have Questions?](#need-help-or-have-questions)\n- [Contributing](#contributing)\n- [License](#license)\n\n## Documentation\n\nHead to the [API Kit docs](https://docs.safe.global/sdk/api-kit) to learn more about how to use this SDK.\n\n## Installation\n\nInstall the package with yarn or npm:\n\n```bash\nyarn add @safe-global/api-kit\nnpm install @safe-global/api-kit\n```\n\n## Quick Start\n\n```js\nimport SafeApiKit from '@safe-global/api-kit'\n\nconst apiKit = new SafeApiKit({\n  chainId: 1n,\n  // Optional. txServiceUrl must be used to set a custom service. For example on chains where Safe doesn't run services.\n  txServiceUrl: 'https://safe-transaction-mainnet.safe.global'\n})\n```\n\n## Need Help or Have Questions?\n\nIf you have any doubts, questions, or need assistance, feel free to reach out! [Here you will find how to get support.](https://github.com/safe-global/safe-core-sdk/tree/main/SUPPORT.md)\n\n## Contributing\n\nPlease read our [contribution guidelines](https://github.com/safe-global/safe-core-sdk/tree/main/CONTRIBUTING.md) before submitting any changes. We appreciate your help! 🙌\n\n## License\n\nThis library is [released under MIT](https://github.com/safe-global/safe-core-sdk/blob/main/LICENSE.md).\n","readmeFilename":"README.md"}