{"_id":"@automata-network/conveyor-sdk","_rev":"11-a5d05b8c4b9409ab45ed298f8c8c3222","name":"@automata-network/conveyor-sdk","dist-tags":{"latest":"0.2.4"},"versions":{"0.2.0":{"name":"@automata-network/conveyor-sdk","version":"0.2.0","license":"MIT","_id":"@automata-network/conveyor-sdk@0.2.0","maintainers":[{"name":"xatadev","email":"cryptolazieyes@protonmail.com"},{"name":"linyao7","email":"lin_yhong@hotmail.com"},{"name":"297951292","email":"csdxf297951292@gmail.com"}],"dist":{"shasum":"eb3a1b63136021eee614e3e601e59b1a1f8041e0","tarball":"https://registry.npmjs.org/@automata-network/conveyor-sdk/-/conveyor-sdk-0.2.0.tgz","fileCount":32,"integrity":"sha512-I+vC5DHx99nE1zjm1ix9Uq1rijw2TBB5kEVdULFcNqTpEXE+gU+vjjvBhRje9Dfu4F21JTx1Pcfz/u9mlvY1tw==","signatures":[{"sig":"MEUCIFJB2MXLSY7ETzakTeYCASxUr5cG8UQfGlFWfgFicGiEAiEAuU0OakFs2JeFlg1xGBRgfXUqSZOHxq5qhLSckkqPFLA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":548573,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiE2oIACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmq8iA//ciHcjfdfHl1ru4SyGFz/UifJAVFIiPyQO3vvMLXiKDigjZIU\r\nDNZpi1m9bij8Y4ATcBFh2/OfW5aRHdueOxB2pTar2kyD50AZBN3WnnUICxNY\r\nPNIrBf0WkY3x/h8k7YT/E/oz6lkKg6k9HgtUYPmMXU74QPPkzQ0OW3Vjw5/g\r\nqUqIs3Pr+2Qh3fM+KtDKRvNvWgj9VERbBpNaQkGzh9VnhkQwOAL4RGRelKTX\r\n+mKNJ/6LVjVwn5KfH3H4//AiwLQ6sfYdUk0ofOQpzheIdLCZCYvracneXvFe\r\nC8LFzNPviaeBuVJLxORbxRj7sjv+6Ayiy8s88vLDFsa30nCzyE8UOQgrke4T\r\nh22uipjAoYf5yB03UxWN4SVXxXF8M5WoF5PlVqaF/d4nLC96TfmA4DFcRJKZ\r\nuYfA00+vmZGY/seCO4A8Jrb6+wAYPqOV67Dr6t2oRGrv0VgOiEA8nXr8//VZ\r\nuhtCjPA0QaHtC58/rjxHxAq+Uh2v88YoY8zCJJK7aqPBVelF9c2NNI+drV8d\r\nIVkGOZ6ykLVlL6uye0RzNthDpRZkgEUGEzvAr7XD5viIjD+4HiTisKT2xbbt\r\nNssdXWOltmMy2TOUl4BVwpRZFK9Mk+FPsWvD2aDT10530u0BtN8dtJHXHoUQ\r\n7kW7iVo1Wdab80KXFZyqUkZHNwmmF1Uq5uI=\r\n=yQLX\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","husky":{"hooks":{"pre-commit":"tsdx lint"}},"module":"dist/sdk.esm.js","engines":{"node":">=10"},"gitHead":"ad9e9aa13e3e20dc57ee7fb4a9aa2704e4e8cfc5","scripts":{"lint":"tsdx lint","size":"size-limit","test":"tsdx test","build":"tsdx build && cp -r src/abi dist/abi","start":"tsdx watch","analyze":"size-limit --why","prepare":"tsdx build && husky install && cp -r src/abi dist/abi"},"typings":"dist/index.d.ts","_npmUser":{"name":"xatadev","email":"cryptolazieyes@protonmail.com"},"prettier":{"semi":true,"printWidth":80,"singleQuote":true,"trailingComma":"es5"},"size-limit":[{"path":"dist/sdk.cjs.production.min.js","limit":"10 KB"},{"path":"dist/sdk.esm.js","limit":"10 KB"}],"_npmVersion":"8.1.1","description":"The Conveyor SDK is a JavaScript library for developers to seamlessly interact with smart contracts that benefit from MEV protection with Conveyor.","directories":{},"lint-staged":{"*.md":"prettier --write","*.{js,jsx,ts,tsx}":["yarn lint","prettier --write"]},"_nodeVersion":"16.10.0","dependencies":{"bignumber.js":"^9.0.2"},"_hasShrinkwrap":false,"devDependencies":{"tsdx":"^0.14.1","husky":"^7.0.4","tslib":"^2.3.1","ethers":"^5.5.1","size-limit":"^6.0.3","typescript":"^4.4.4","lint-staged":"^12.1.2","@size-limit/preset-small-lib":"^6.0.3"},"peerDependencies":{},"_npmOperationalInternal":{"tmp":"tmp/conveyor-sdk_0.2.0_1645439496666_0.18825954443326287","host":"s3://npm-registry-packages"}},"0.2.1":{"name":"@automata-network/conveyor-sdk","version":"0.2.1","license":"MIT","_id":"@automata-network/conveyor-sdk@0.2.1","maintainers":[{"name":"xatadev","email":"cryptolazieyes@protonmail.com"},{"name":"linyao7","email":"lin_yhong@hotmail.com"},{"name":"297951292","email":"csdxf297951292@gmail.com"}],"dist":{"shasum":"b872e7a22c156c16c1a5754485ced66bf49a5b58","tarball":"https://registry.npmjs.org/@automata-network/conveyor-sdk/-/conveyor-sdk-0.2.1.tgz","fileCount":32,"integrity":"sha512-OZn7tr+qpkn+5BNxLKyNl86v0XJpTLNlGcA0+Er8f8uodLk1PCTQwIDsr2j4xXduOVm2YSCN1MD/MgoOu5dwUg==","signatures":[{"sig":"MEYCIQDxzkEhw6SstLgCf7RWA998XvdXHIP7qMCk+IEOBC2++gIhAKSKjVUaAJrqSMCvZ7kPh8Z0lvGsg8KK9ZuHtib3Cj6K","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":550381,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiE5VFACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmo5yg/9HZz81+h3Yd0qJ7U/uEcRV3l55SJUOKvs7U6OockwXkv7302/\r\npM5z3eleH8M88BWdOwIR4JvwyJBJsEryVckFqmH1I1K+P5dM0QAbaceDlF58\r\nQoj6XuGsd1S9R+W0s8OkU0+++8Dd+a0ii4vc1wpjTGhVfhST7hAFAbZHcpHx\r\nHuunw2kZ3uvUUG2g3q2Xs0xvhIDOCwnlp574ymSWP3IOuOFHRXaNuVh0x1Hw\r\n6bHa0xns6jSoha/j+uWwz5z5ci9bq6C1qlxznlyfeGtcA0RQ9CX8aeGSpUK0\r\n2Hez4+Lhh8eyV3xoJ9WUlgYfSK6dwoyBdIBE8HKL9RT5FzwoUEoF3cvLqydB\r\n1aynL8aB5McaoO+58S96pO4qWebzqZpIazZFrnVBmTmdWVXj9xPr53L1o5wY\r\nceJIr3RsUdE8dWvNn5X1k1r7wu5o7k9BSfSXY2AaaYEFQ1UB/nnuH8ysLhIo\r\nOvzxmDlfgv/rEE41c9oVblVPiH6O3X+at/G4/JlrXqA+TzBTwPtQCSjAdN05\r\njjQLJa3lnRzBbQMAXDJOa3TLnWULyHVVDbUUGoWM1iJzjeBJ5oErQMuaq0gC\r\n2F06Ha9P8Z7zpyz3/YSWgfl1SqPPrF7CoBs3WP1sAsmRH6vy71PQRGTPo835\r\n618Al95Ua2pld9schxznwnUCY8mIV+TknsQ=\r\n=Jqgo\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","husky":{"hooks":{"pre-commit":"tsdx lint"}},"module":"dist/sdk.esm.js","engines":{"node":">=10"},"gitHead":"7e3a522e9cf547853f49a0a11cca0c17cd99b550","scripts":{"lint":"tsdx lint","size":"size-limit","test":"tsdx test","build":"tsdx build && cp -r src/abi dist/abi","start":"tsdx watch","analyze":"size-limit --why","prepare":"tsdx build && husky install && cp -r src/abi dist/abi"},"typings":"dist/index.d.ts","_npmUser":{"name":"xatadev","email":"cryptolazieyes@protonmail.com"},"prettier":{"semi":true,"printWidth":80,"singleQuote":true,"trailingComma":"es5"},"size-limit":[{"path":"dist/sdk.cjs.production.min.js","limit":"10 KB"},{"path":"dist/sdk.esm.js","limit":"10 KB"}],"_npmVersion":"8.1.1","description":"The Conveyor SDK is a JavaScript library for developers to seamlessly interact with smart contracts that benefit from MEV protection with Conveyor.","directories":{},"lint-staged":{"*.md":"prettier --write","*.{js,jsx,ts,tsx}":["yarn lint","prettier --write"]},"_nodeVersion":"16.10.0","dependencies":{"bignumber.js":"^9.0.2"},"_hasShrinkwrap":false,"devDependencies":{"tsdx":"^0.14.1","husky":"^7.0.4","tslib":"^2.3.1","ethers":"^5.5.1","size-limit":"^6.0.3","typescript":"^4.4.4","lint-staged":"^12.1.2","@size-limit/preset-small-lib":"^6.0.3"},"peerDependencies":{},"_npmOperationalInternal":{"tmp":"tmp/conveyor-sdk_0.2.1_1645450565479_0.06373936578665118","host":"s3://npm-registry-packages"}},"0.2.2":{"name":"@automata-network/conveyor-sdk","version":"0.2.2","license":"MIT","_id":"@automata-network/conveyor-sdk@0.2.2","maintainers":[{"name":"xatadev","email":"cryptolazieyes@protonmail.com"},{"name":"linyao7","email":"lin_yhong@hotmail.com"},{"name":"297951292","email":"csdxf297951292@gmail.com"}],"dist":{"shasum":"75148f1010dce160a6c57f1a0b55979e4372b562","tarball":"https://registry.npmjs.org/@automata-network/conveyor-sdk/-/conveyor-sdk-0.2.2.tgz","fileCount":32,"integrity":"sha512-O3W+XPHE+Vt7lPdenwS7Hfk3+c+FhQ9zPhWAmXpoh5yP+YmLZnNFWFFc0Gb4UbQghFSr8NN3QchOCJq3BX2hfA==","signatures":[{"sig":"MEUCIQCxVZVuyN3VXgbqmycfrAdqcQuDaCaOkfiKJxSnA+xZmwIgPhZB3sYxqJrKkSf+t0bMCUAdk9sMSoW0vFrUmu63sCU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":571451,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiOwWdACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqzOhAAiWIiOvg9kyEtTeTmX3AF1QJjUFw7Y/taUkjgGHGZbZOwXCa6\r\nNgJWAyYCAiX4TQodOD1CNUn0f+shz4mxms+PJC+ey+rObaLGNKF5pCQeTp5f\r\neVkAyjAeLyUWKFv7K7v2gyABJ/833/eI6djKDWVv4Sz6WS4YpI7a5o/2OBLr\r\nEd4NMiE7XtvnEgiu792afWNMZXmYsxvCV92rMe0oS8S/bZy4eEQ78+AykGY/\r\nVk1udDR+6StAJ/cGmTxSh5wXlkkq1u24OmqRZC4k4Te3kmncD/k3zwSIt+zq\r\n8hQU1YNWxasLhj91H6Wx3gQOm2xW0KxKYuh953sUviA5UryTngbABVnYfUXK\r\n+Fs7N4Q9tbCt/2TZ0f6lqSN6FML3dcZHCiTJI8ClJ/+QG428ltThGvktp0lA\r\nQ403lPEnz2MGGtD4Go3v8aPglRQFF3ATYhGrZldCzcUrNt6DHCqUTz3wFd66\r\n/oyTVLWki1QnaCPNpE6kmBVQ+iurSV/zkJltSIuYy+pZTEP9OpAaDuCg0iIN\r\nDx3HQfmKIO3SNvAYud9hPemuu0nlNXd9sR84TTyqQsQQubdXExlieuaaLB49\r\nb0hE+JGHMvNOT5owa3NQU1RHxEW5Y0dB9csDLLb/iXOWSxv+8Eulcq/RcbTW\r\ncPU4NEu2UMS2GYfR/Z1MORt+zWzzAte7AHc=\r\n=nju2\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","husky":{"hooks":{"pre-commit":"tsdx lint"}},"module":"dist/sdk.esm.js","engines":{"node":">=10"},"gitHead":"87546c67e0b32d26bc4578a1c6b9b02cf8902d24","scripts":{"lint":"tsdx lint","size":"size-limit","test":"tsdx test","build":"tsdx build && cp -r src/abi dist/abi","start":"tsdx watch","analyze":"size-limit --why","prepare":"tsdx build && husky install && cp -r src/abi dist/abi"},"typings":"dist/index.d.ts","_npmUser":{"name":"xatadev","email":"cryptolazieyes@protonmail.com"},"prettier":{"semi":true,"printWidth":80,"singleQuote":true,"trailingComma":"es5"},"size-limit":[{"path":"dist/sdk.cjs.production.min.js","limit":"10 KB"},{"path":"dist/sdk.esm.js","limit":"10 KB"}],"_npmVersion":"8.5.2","description":"The Conveyor SDK is a JavaScript library for developers to seamlessly interact with smart contracts that benefit from MEV protection with Conveyor.","directories":{},"lint-staged":{"*.md":"prettier --write","*.{js,jsx,ts,tsx}":["yarn lint","prettier --write"]},"_nodeVersion":"16.10.0","dependencies":{"bignumber.js":"^9.0.2"},"_hasShrinkwrap":false,"devDependencies":{"tsdx":"^0.14.1","husky":"^7.0.4","tslib":"^2.3.1","ethers":"^5.5.1","size-limit":"^6.0.3","typescript":"^4.4.4","lint-staged":"^12.1.2","@size-limit/preset-small-lib":"^6.0.3"},"peerDependencies":{},"_npmOperationalInternal":{"tmp":"tmp/conveyor-sdk_0.2.2_1648035229494_0.6240337981138477","host":"s3://npm-registry-packages"}},"0.2.3":{"name":"@automata-network/conveyor-sdk","version":"0.2.3","license":"MIT","_id":"@automata-network/conveyor-sdk@0.2.3","maintainers":[{"name":"xatadev","email":"cryptolazieyes@protonmail.com"},{"name":"linyao7","email":"lin_yhong@hotmail.com"},{"name":"297951292","email":"csdxf297951292@gmail.com"}],"dist":{"shasum":"59e34208cc4e929d07b180205a9b3ee6f30ccb07","tarball":"https://registry.npmjs.org/@automata-network/conveyor-sdk/-/conveyor-sdk-0.2.3.tgz","fileCount":40,"integrity":"sha512-KZntM3GF0F0a5yqrwKmK7E9Jdrn+QT3USFOEH655H1SJ0/OUsCkq0yVuNnKOxOy1Q+fwAA1+sb5l+DdGTZB9ZQ==","signatures":[{"sig":"MEQCIDEX8bard4n4jl9tsvY98lkHvil3JjelMaAJZDtfjCneAiBEHoNSwGuH3ODTwLG/lKlVn2645uHwHnEPpdkT1Bdz3A==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":571533,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiRmwCACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqqsQ/9HH2zXLAeo9zrJIUk6O1Dl5EbptMbR6kh6Dn1Brck19vT3AG+\r\nqatiZM8QHk9WhhPs4SdNjrZMQObAJq96052cxbfJaCmM9cu/dcAiPBuRZzav\r\nhq4g/CO5wG08i5EGUARQgyXfQ7OV2jvtCGfNjkDTroGxUwMNKjWGgQS4FPu/\r\nYzenJrOa94//dnC/c1rcm09Wg9cKt7Kxe09SqQDN78F9fi3GHKDCu7+2+2pD\r\nPzPe2Li56EiCVIiSWXYrxtlf60ZMgaWUnGC11tuEAsKtaIq7z3Ggle3sivy7\r\nGoNRvdA3eAuFTm1Bs+W7epHNxe7P2sKVzYUuJQq6qQOd9dCduR3cfpFSbLhy\r\nGtT6vn2UtO+mEYwro2GMSIKX/3S0Y41kuLX45UIFlbh6T1I+Tcxj3x0Pm7zC\r\n8s464tKTwcZbCdtFo2pQlSlllKAVCpOqj7bKl/rHlpQkX7TNKl4OW9fMuwoT\r\nW9569ItafOJUBKdL+uW3wnraA+i9g6uP6ObVk1Bfxdnt7dGd5knZCOGmN3v6\r\negJpP4Ekv8k6qKAJQWizJi+5yW4ncrPV2mbCySyfD72LtwNfNHCiwHBb58Z1\r\n5vNCsKvCVmjHSpTw/d5I3jy1K3zQNgomy+afhIwJtz5l4cE9A/bGCne4hdDq\r\nOBNkIWwCgUqNw+CZUlcnhIdpkFX5r7zGgqc=\r\n=jsZN\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","husky":{"hooks":{"pre-commit":"tsdx lint"}},"module":"dist/sdk.esm.js","engines":{"node":">=10"},"scripts":{"lint":"tsdx lint","size":"size-limit","test":"tsdx test","build":"tsdx build && cp -r src/abi dist/abi","start":"tsdx watch","analyze":"size-limit --why","prepare":"tsdx build && husky install && cp -r src/abi dist/abi"},"typings":"dist/index.d.ts","_npmUser":{"name":"xatadev","email":"cryptolazieyes@protonmail.com"},"prettier":{"semi":true,"printWidth":80,"singleQuote":true,"trailingComma":"es5"},"size-limit":[{"path":"dist/sdk.cjs.production.min.js","limit":"10 KB"},{"path":"dist/sdk.esm.js","limit":"10 KB"}],"description":"The Conveyor SDK is a JavaScript library for developers to seamlessly interact with smart contracts that benefit from MEV protection with Conveyor.","directories":{},"licenseText":"MIT License\n\nCopyright (c) 2021 Automata Network\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.","lint-staged":{"*.md":"prettier --write","*.{js,jsx,ts,tsx}":["yarn lint","prettier --write"]},"dependencies":{"bignumber.js":"^9.0.2"},"_hasShrinkwrap":false,"devDependencies":{"tsdx":"^0.14.1","husky":"^7.0.4","tslib":"^2.3.1","ethers":"^5.5.1","size-limit":"^6.0.3","typescript":"^4.4.4","lint-staged":"^12.1.2","@size-limit/preset-small-lib":"^6.0.3"},"peerDependencies":{},"_npmOperationalInternal":{"tmp":"tmp/conveyor-sdk_0.2.3_1648782338374_0.3107264259586151","host":"s3://npm-registry-packages"}},"0.2.4":{"name":"@automata-network/conveyor-sdk","version":"0.2.4","license":"MIT","_id":"@automata-network/conveyor-sdk@0.2.4","maintainers":[{"name":"xatadev","email":"cryptolazieyes@protonmail.com"},{"name":"linyao7","email":"lin_yhong@hotmail.com"},{"name":"297951292","email":"csdxf297951292@gmail.com"}],"dist":{"shasum":"f893099166e8082fc7603164f7a9b82a56a14a86","tarball":"https://registry.npmjs.org/@automata-network/conveyor-sdk/-/conveyor-sdk-0.2.4.tgz","fileCount":40,"integrity":"sha512-0AT77OGpHwCIjq81hDk9fKNzmB/7Ikt/jdq/tbCgyBdkX9pxRg2Wq/z0l3mSOuxwdDJH+O+spPuj6OQxbmwThg==","signatures":[{"sig":"MEYCIQCJYutBgXApdb0F4HZUzE25C0eor9Yyb6ptIoekR8CHiAIhAOlA+o/pZArA/TPAqxh/a760UCxGxTT1t3OINydcRB48","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":570759,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi7PGYACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrvDQ/9EJdhjKdV57hyHHsOBccPvjuhLxPOSUvS0Lj7HQ5NPrB/dEvz\r\nUsyr5iKKT0FzIqqec8LyJvZaloWhnGhiBlIiEAxwquzqPz36O/CuLXXQvImu\r\nwp6js3kPIyFccvqcdtofK/YQiYdJMXrfB5laesGxOlkmva5vK0QdZ1/2ve1/\r\niXO0W5n6gKXnNopqB2fOdjhuCbViE/zSc/SiFIwerFSg9SSvjezIcwu2v6pQ\r\nr35dBjagw/gDBV57nfZn5ycLpjTCoMFwcDzwFj4ZkEZB+4rSmSUMtqnQmQMi\r\nVsN7++9i0NQiXeYfunU0V7ud/Mn9zWyNvnQ3zLNe/2c8dSdpKFPRzmEYItds\r\n3Ix1cxrM/Mwt7q7ht6dCTuzhFnUjvkxA3jm1qqJ7H3II3a18lTA5wRtDh317\r\nfOm/rQyKps9NNtex9oO/im1/9hrmdiiUjL7kXikkzUL3U6Pw3sV9ItB1lOFx\r\nxgZRfA2oTCU621/KnPAxPd1+uAYn4pKoJywL6+PCMK+JhHxfwWEGSa5bwg23\r\nuHsmlqBVqEqVaMs/Tulk1M1rag6XmeZ32vztcB8sHhU+AD1QgVcLyopqFmDp\r\nsCuheh0Tsmc1PQ81aiP3h2Q9rW6PwmuHZd9Tvr8tFcm5I3QTaq6xgYl5BfVr\r\nudpsZR1JRHc0LDwjDI3YlZA5wV7CX1m7QKE=\r\n=okdp\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","husky":{"hooks":{"pre-commit":"tsdx lint"}},"module":"dist/sdk.esm.js","engines":{"node":">=10"},"scripts":{"lint":"tsdx lint","size":"size-limit","test":"tsdx test","build":"tsdx build && cp -r src/abi dist/abi","start":"tsdx watch","analyze":"size-limit --why","prepare":"tsdx build && husky install && cp -r src/abi dist/abi"},"typings":"dist/index.d.ts","_npmUser":{"name":"xatadev","email":"cryptolazieyes@protonmail.com"},"prettier":{"semi":true,"printWidth":80,"singleQuote":true,"trailingComma":"es5"},"size-limit":[{"path":"dist/sdk.cjs.production.min.js","limit":"10 KB"},{"path":"dist/sdk.esm.js","limit":"10 KB"}],"description":"The Conveyor SDK is a JavaScript library for developers to seamlessly interact with smart contracts that benefit from MEV protection with Conveyor.","directories":{},"licenseText":"MIT License\n\nCopyright (c) 2021 Automata Network\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.","lint-staged":{"*.md":"prettier --write","*.{js,jsx,ts,tsx}":["yarn lint","prettier --write"]},"dependencies":{"bignumber.js":"^9.0.2"},"_hasShrinkwrap":false,"devDependencies":{"tsdx":"^0.14.1","husky":"^7.0.4","tslib":"^2.3.1","ethers":"^5.5.1","size-limit":"^6.0.3","typescript":"^4.4.4","lint-staged":"^12.1.2","@size-limit/preset-small-lib":"^6.0.3"},"peerDependencies":{},"_npmOperationalInternal":{"tmp":"tmp/conveyor-sdk_0.2.4_1659695512454_0.6297646313890899","host":"s3://npm-registry-packages"}}},"time":{"created":"2022-02-21T10:31:36.618Z","modified":"2025-11-14T06:39:18.423Z","0.2.0":"2022-02-21T10:31:36.796Z","0.2.1":"2022-02-21T13:36:05.784Z","0.2.2":"2022-03-23T11:33:49.748Z","0.2.3":"2022-04-01T03:05:38.565Z","0.2.4":"2022-08-05T10:31:52.650Z"},"license":"MIT","description":"The Conveyor SDK is a JavaScript library for developers to seamlessly interact with smart contracts that benefit from MEV protection with Conveyor.","maintainers":[{"email":"csdxf297951292@gmail.com","name":"297951292"},{"email":"lin_yhong@hotmail.com","name":"linyao7"},{"email":"arvi@ata.network","name":"arvianto.dwi"},{"email":"E478@me.com","name":"goldfinger87"},{"email":"teye@ata.network","name":"jojotyty"},{"email":"cryptolazieyes@protonmail.com","name":"xatadev"}],"readme":"# Introduction\n\nThe Conveyor SDK is a JavaScript library for developers to seamlessly interact with smart contracts that benefit from MEV protection with Conveyor.\n\nLong story short, users submit meta-transactions to their contracts by following the three-step process below:\n\n1. Instantiate the module and set your Web3 provider\n2. Approve the Forwarder contract to collect fee payment with your choice of ERC20 tokens\\*.\n3. Submit a request and provide the necessary parameters.\n\n\\*ERC20 token must be enlisted on CoinGecko as a measure to determine market value, otherwise the transaction may be rejected for unsupported fee token.\n\n---\n\n# Specification\n\n## Smart Contract\n\nImplementation smart contracts must inherit the `ConveyorBase` contract. The `ConveyorBase` contract includes the following administrative methods:\n\n- Toggle Conveyor protection using the `enableConveyorProtection` and `disableConyerProtection` methods.\n- Configure the trusted forwarder address with `setForwarder`.\n- The `onlyConveyor` modifier. Functions with the modifier can only be invoked by none other than the Forwarder contract.\n- To retrieve the sender's address on the implementation contract, you must use the `msgSender()` instead of the default `msg.sender`.\n\n### Source Code:\n\n- `ConveyorBase`: https://github.com/automata-network/generic-conveyor/blob/main/contracts/ConveyorBase.sol\n- Example Contract: https://github.com/automata-network/generic-conveyor/blob/main/contracts/test/Greeter.sol\n\n## SDK\n\nThe main module has the following functions built-in:\n\n- `erc20ApproveForwarder`- Sets an allowance for the Forwarder contract to transfer ERC20 tokens for fee payment.\n- `submitMetaTransaction` - Constructs the request body to the Geode relayer to interact with contracts that are protected by Conveyor. (Note: The `submitConveyorTransaction()` method has been deprecated, it will be removed in future releases)\n- `submitTransaction` - Submits a regular transaction directly to the target address. This can be used to execute methods that do not have the `onlyConveyor` modifier or to contracts that have disabled Conveyor protection.\n- `fetchConveyorStatus` - detects whether Conveyor protection is enabled for the given target contract.\n- `toggleConveyorProtection` - enables/disables Conveyor protection on the given target contract.\n\n---\n\n# Configurable Variables\n\nThe default `RELAYER_ENDPOINT_URL` and `FORWARDER_ADDRESS` are [included](./src/lib//constants.ts) in the SDK. This is because most projects are likely using the same relayer and Forwarder contract. If your projects were assigned to a dedicated relayer and/or forwarder, you may simply overwrite those variables, by passing the following object as a parameter to initialize the Conveyor module.\n\n```javascript\n// This is optional and overwrites the canon relayer and forwarder\nconst options = {\n  forwarder: '0x84194C00E190dE7A10180853f6a28502Ad1A1029',\n  relayerConfig: 'https://fake-relayer.com',\n  env: ENVIRONMENT.TEST,\n};\n\nconst conveyor = new Conveyor(web3, options);\n```\n\n# Quick Guide\n\nAs mentioned previously, submitting a transaction using Conveyor only requires three steps.\n\n**Prerequisite**\n\nInstall the SDK by running:\n\n```bash\nyarn add @automata-network/conveyor-sdk\n```\n\n**Step 1: Instantiate the module and set your Web3 provider**\n\n```javascript\nimport { Conveyor } from '@automata-network/conveyor-sdk';\n\nconst web3 = window.ethereum; // Metamask\n\nconst conveyor = new Conveyor(web3); // assigns default relayer and forwarder depending on chain id and the environment\n```\n\n**Step 2: Approve the Forwarder contract for collecting fees**\n\n:warning: _This step must be performed before moving on to the next step. Otherwise, your transaction may fail due to zero allowance_\n\n```javascript\nawait erc20ApproveForwarder(\n  '100000000', // 100 USDC\n  '0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48' // USDC address on ETH\n);\n```\n\nIn the above example, the user is allocating 100 USDC of allowance to the Forwarder contract.\n\n**Step 3: Submit the transaction**\n\nThe `submitMetaTransaction()` function requires the following parameters:\n\n| Params               | Type          | Description                                                                                                                                                                                                                                                                                               |\n| -------------------- | ------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `feeToken`           | string        | **REQUIRED:** The fee token address                                                                                                                                                                                                                                                                       |\n| `gasLimit`           | string        | **REQUIRED:** The gas limit - this value is used for calculating the maximum fee token amount, it may not be the actual gas limit provided to the transaction                                                                                                                                             |\n| `gasPrice`           | string        | **REQUIRED:** The gas price - this value is used for calculating the maximum fee token amount, it may not be the actual gas price provided to the transaction                                                                                                                                             |\n| `duration`           | string        | **REQUIRED:** The duration in seconds until the meta-txn expires                                                                                                                                                                                                                                          |\n| `domainName`         | string        | **REQUIRED:** The EIP712 domain name                                                                                                                                                                                                                                                                      |\n| `useOraclePriceFeed` | boolean       | **REQUIRED:** True: use an oracle price feed as a source to fetch fee token price, false: otherwise                                                                                                                                                                                                       |\n| `extendCategories`   | Array<number> | **REQUIRED:** An array of numeric categories that maps to the request extension type. Pass the `[0]` value to omit extensions. To request an N-amount of extensions, provide an array of N-size with their corresponding categories. For example, to request x2 randomly generated numbers, input `[1,1]` |\n| `fromAddress`        | string        | **REQUIRED:** This can be an EOA address or a smart contract address to support EIP 1271 Signature Verification. If an EOA address is provided, it must match the signing address, otherwise the transaction will fail.                                                                                   |\n| `targetAddress`      | string        | **REQUIRED:** The address of the implementation contract                                                                                                                                                                                                                                                  |\n| `targetAbi`          | string        | **REQUIRED:** The abi of the implementation contract                                                                                                                                                                                                                                                      |\n| `methodName`         | string        | **REQUIRED:** The name of the method to invoke                                                                                                                                                                                                                                                            |\n| `params`             | Array<any>    | **OPTIONAL:** The method parameters to be stored as an array                                                                                                                                                                                                                                              |\n\nThe `submitTransaction()` method can be invoked to execute functions that do not have the `onlyConveyor` modifier.\n\n---\n\n# Available extensions\n\nThis section describes the category index that are passed into the `extendCategories` parameter to get external data that can be useful for your target contracts.\n\n| Category | Description                 |\n| -------- | --------------------------- |\n| 0        | No extension                |\n| 1        | VRF Generated Random Number |\n","readmeFilename":"README.md"}