{"_id":"@0xtfm/sdk","_rev":"14-5e5ccaf69628fbbe1a58557a19b586f2","time":{"created":"2023-07-21T19:27:44.678Z","0.1.0":"2023-07-07T16:50:10.820Z","modified":"2023-11-16T08:36:13.165Z","0.1.1":"2023-07-07T17:08:08.540Z","0.1.2":"2023-07-07T17:16:48.713Z","0.2.0":"2023-07-21T19:27:44.994Z","0.2.1":"2023-07-26T16:31:03.075Z","0.2.2":"2023-08-09T06:51:23.777Z","0.2.3":"2023-08-09T13:55:02.691Z","0.2.4":"2023-08-14T10:50:56.977Z","0.2.5":"2023-10-05T12:29:49.063Z","0.2.6":"2023-11-16T05:56:00.093Z","0.2.7":"2023-11-16T08:36:12.880Z"},"name":"@0xtfm/sdk","dist-tags":{"latest":"0.2.7"},"versions":{"0.2.0":{"name":"@0xtfm/sdk","version":"0.2.0","description":"TFM SDK","author":{"name":"TFM"},"homepage":"https://github.com/tfm-com/tfm-sdk.ts","repository":{"type":"git","url":"git+https://github.com/tfm-com/tfm-sdk.ts.git"},"license":"MIT","keywords":["tfm","sdk","bridge","swap","route","ibc"],"main":"dist/cjs/@0xtfm/sdk.js","module":"dist/esm/@0xtfm/sdk.js","browser":"dist/browser/@0xtfm/sdk.js","types":"dist/index.d.ts","scripts":{"dev":"rollup -c -w","build":"rollup -c","prepare":"husky install","prebuild:types":"rimraf ./build","build:types":"tsc -p ./tsconfig.json --outDir build --declaration true && api-extractor run","predocs":"rimraf ./docs","docs":"typedoc","clean":"rimraf ./build ./dist ./docs","format":"prettier --write \"src/**/*.ts\"","lint":"eslint \"src/**/*.ts\" --fix","test":"jest","commit":"cz"},"dependencies":{"apisauce":"^3.0.1","json-with-bigint":"^2.0.0"},"devDependencies":{"@babel/core":"^7.22.8","@babel/preset-env":"^7.22.7","@babel/preset-typescript":"^7.22.5","@commitlint/cli":"^17.6.6","@commitlint/config-conventional":"^17.6.6","@microsoft/api-extractor":"^7.19.4","@rollup/plugin-babel":"^6.0.3","@rollup/plugin-commonjs":"^21.0.1","@rollup/plugin-json":"^6.0.0","@rollup/plugin-node-resolve":"^13.1.3","@rollup/plugin-typescript":"^8.3.0","@types/jest":"^29.5.2","@typescript-eslint/eslint-plugin":"^5.61.0","@typescript-eslint/parser":"^5.61.0","cz-conventional-changelog":"^3.3.0","eslint":"^8.44.0","eslint-config-prettier":"^8.8.0","eslint-plugin-prettier":"^4.2.1","husky":"^8.0.3","jest":"^29.6.0","prettier":"^2.5.1","rimraf":"^3.0.2","rollup":"^2.66.1","ts-jest":"^29.0.5","ts-node":"^10.4.0","tslib":"^2.3.1","typedoc":"^0.22.11","typescript":"^4.5.5"},"config":{"commitizen":{"path":"./node_modules/cz-conventional-changelog"}},"gitHead":"74d5e53b9f634ec5f4ed38790186b16e88f3bf78","bugs":{"url":"https://github.com/tfm-com/tfm-sdk.ts/issues"},"_id":"@0xtfm/sdk@0.2.0","_nodeVersion":"18.16.1","_npmVersion":"9.5.1","dist":{"integrity":"sha512-BKUgTWA0XpyDe8ejCQuQ27gtqjJHvW041LFMv2FCFRYvhjP+d/ulz8U2x374WXgwRLEZoEM4FCOlQYzT/c71bA==","shasum":"be532b24ddd3142d6b32bb3cd782477cc42afd9f","tarball":"https://registry.npmjs.org/@0xtfm/sdk/-/sdk-0.2.0.tgz","fileCount":8,"unpackedSize":237429,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBNEtSvs7Q8A5n30kd+Ao5PTPZz7VE+0fB0hapxZdczsAiBJqSafmlCUc70oF8nlGiOpY7Hd5B0SDtKGK50IRRawDg=="}]},"_npmUser":{"name":"tfmcom","email":"ops@tfm.com"},"directories":{},"maintainers":[{"name":"tfmcom","email":"ops@tfm.com"},{"name":"rebaz88tfm","email":"rebaz88@tfm.com"},{"name":"csplr","email":"ms@tfm.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sdk_0.2.0_1689967664815_0.4631742645395176"},"_hasShrinkwrap":false},"0.2.1":{"name":"@0xtfm/sdk","version":"0.2.1","description":"TFM SDK","author":{"name":"TFM"},"homepage":"https://github.com/tfm-com/tfm-sdk.ts","repository":{"type":"git","url":"git+https://github.com/tfm-com/tfm-sdk.ts.git"},"license":"MIT","keywords":["tfm","sdk","bridge","swap","route","ibc"],"main":"dist/cjs/@0xtfm/sdk.js","module":"dist/esm/@0xtfm/sdk.js","browser":"dist/browser/@0xtfm/sdk.js","types":"dist/index.d.ts","scripts":{"dev":"rollup -c -w","build":"rollup -c","prebuild:types":"rimraf ./build","build:types":"tsc -p ./tsconfig.json --outDir build --declaration true && api-extractor run","predocs":"rimraf ./docs","docs":"typedoc","clean":"rimraf ./build ./dist ./docs","format":"prettier --write \"src/**/*.ts\"","lint":"eslint \"src/**/*.ts\" --fix","test":"jest"},"dependencies":{"apisauce":"^3.0.1","json-with-bigint":"^2.0.0"},"devDependencies":{"@babel/core":"^7.22.8","@babel/preset-env":"^7.22.7","@babel/preset-typescript":"^7.22.5","@commitlint/cli":"^17.6.6","@commitlint/config-conventional":"^17.6.6","@microsoft/api-extractor":"^7.19.4","@rollup/plugin-babel":"^6.0.3","@rollup/plugin-commonjs":"^21.0.1","@rollup/plugin-json":"^6.0.0","@rollup/plugin-node-resolve":"^13.1.3","@rollup/plugin-typescript":"^8.3.0","@types/jest":"^29.5.2","@typescript-eslint/eslint-plugin":"^5.61.0","@typescript-eslint/parser":"^5.61.0","cz-conventional-changelog":"^3.3.0","eslint":"^8.44.0","eslint-config-prettier":"^8.8.0","eslint-plugin-prettier":"^4.2.1","jest":"^29.6.0","prettier":"^2.5.1","rimraf":"^3.0.2","rollup":"^2.66.1","ts-jest":"^29.0.5","ts-node":"^10.4.0","tslib":"^2.3.1","typedoc":"^0.22.11","typescript":"^4.5.5"},"bugs":{"url":"https://github.com/tfm-com/tfm-sdk.ts/issues"},"directories":{"doc":"docs"},"gitHead":"70d44e61df66b63f5b0d096048c86297d8514a16","_id":"@0xtfm/sdk@0.2.1","_nodeVersion":"18.16.1","_npmVersion":"9.5.1","dist":{"integrity":"sha512-1iZk2rF/wcPaThWZvjusD3qRFwOlrxbwci2ZIenlFAJOIzt/me2ukaSQcTrcfrHsMW2Cuhcj0KOsAS7ow6mXfw==","shasum":"3551c5e0a7bb9c8fc773c031a17e3d62f35e187c","tarball":"https://registry.npmjs.org/@0xtfm/sdk/-/sdk-0.2.1.tgz","fileCount":8,"unpackedSize":274942,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCJFeQ4Su71rygcajuFU5jD8zQfqK0SiN1GLySqV06oSAIhAKIdTaA+8c/qvSIRcVPkITnAhCJ47ZGDh3JISS+SVSof"}]},"_npmUser":{"name":"tfmcom","email":"ops@tfm.com"},"maintainers":[{"name":"tfmcom","email":"ops@tfm.com"},{"name":"rebaz88tfm","email":"rebaz88@tfm.com"},{"name":"csplr","email":"ms@tfm.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sdk_0.2.1_1690389062843_0.18113919525751276"},"_hasShrinkwrap":false},"0.2.2":{"name":"@0xtfm/sdk","version":"0.2.2","description":"TFM SDK","author":{"name":"TFM"},"homepage":"https://github.com/tfm-com/tfm-sdk.ts","repository":{"type":"git","url":"git+https://github.com/tfm-com/tfm-sdk.ts.git"},"license":"MIT","keywords":["tfm","sdk","bridge","swap","route","ibc"],"main":"dist/cjs/@0xtfm/sdk.js","module":"dist/esm/@0xtfm/sdk.js","browser":"dist/browser/@0xtfm/sdk.js","types":"dist/index.d.ts","scripts":{"dev":"rollup -c -w","build":"rollup -c","prebuild:types":"rimraf ./build","build:types":"tsc -p ./tsconfig.json --outDir build --declaration true && api-extractor run","predocs":"rimraf ./docs","docs":"typedoc","clean":"rimraf ./build ./dist ./docs","format":"prettier --write \"src/**/*.ts\"","lint":"eslint \"src/**/*.ts\" --fix","test":"jest"},"dependencies":{"apisauce":"^3.0.1","json-with-bigint":"^2.0.0"},"devDependencies":{"@babel/core":"^7.22.8","@babel/preset-env":"^7.22.7","@babel/preset-typescript":"^7.22.5","@commitlint/cli":"^17.6.6","@commitlint/config-conventional":"^17.6.6","@microsoft/api-extractor":"^7.19.4","@rollup/plugin-babel":"^6.0.3","@rollup/plugin-commonjs":"^21.0.1","@rollup/plugin-json":"^6.0.0","@rollup/plugin-node-resolve":"^13.1.3","@rollup/plugin-typescript":"^8.3.0","@types/jest":"^29.5.2","@typescript-eslint/eslint-plugin":"^5.61.0","@typescript-eslint/parser":"^5.61.0","cz-conventional-changelog":"^3.3.0","eslint":"^8.44.0","eslint-config-prettier":"^8.8.0","eslint-plugin-prettier":"^4.2.1","jest":"^29.6.0","prettier":"^2.5.1","rimraf":"^3.0.2","rollup":"^2.66.1","ts-jest":"^29.0.5","ts-node":"^10.4.0","tslib":"^2.3.1","typedoc":"^0.22.11","typescript":"^4.5.5"},"bugs":{"url":"https://github.com/tfm-com/tfm-sdk.ts/issues"},"directories":{"doc":"docs"},"gitHead":"ade6e33a6074b68c496b289f5c7efe45f7044b29","_id":"@0xtfm/sdk@0.2.2","_nodeVersion":"18.13.0","_npmVersion":"8.19.3","dist":{"integrity":"sha512-IUfAdNAyNVwqUqPabLP4vkGWPyfqNrdkIB+rVgo90BbrONQ4s32sZ1rirDzU5jfkxKP0dfqGUPb79kxozcm33w==","shasum":"f977559238708b62023635f5635de6ff206a3c7a","tarball":"https://registry.npmjs.org/@0xtfm/sdk/-/sdk-0.2.2.tgz","fileCount":8,"unpackedSize":273885,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDdVlup/BcHMFAloEK+3h20rPMWnKcCuSMyCwkYwycNNQIgDabtbedyMdCBwDyctHs3tuPafqj0DNr6T9ofYKNEFaM="}]},"_npmUser":{"name":"tfmcom","email":"ops@tfm.com"},"maintainers":[{"name":"tfmcom","email":"ops@tfm.com"},{"name":"rebaz88tfm","email":"rebaz88@tfm.com"},{"name":"csplr","email":"ms@tfm.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sdk_0.2.2_1691563883560_0.17955030928674298"},"_hasShrinkwrap":false},"0.2.3":{"name":"@0xtfm/sdk","version":"0.2.3","description":"TFM SDK","author":{"name":"TFM"},"homepage":"https://github.com/tfm-com/tfm-sdk.ts","repository":{"type":"git","url":"git+https://github.com/tfm-com/tfm-sdk.ts.git"},"license":"MIT","keywords":["tfm","sdk","bridge","swap","route","ibc"],"main":"dist/cjs/@0xtfm/sdk.js","module":"dist/esm/@0xtfm/sdk.js","browser":"dist/browser/@0xtfm/sdk.js","types":"dist/index.d.ts","scripts":{"dev":"rollup -c -w","build":"rollup -c","prebuild:types":"rimraf ./build","build:types":"tsc -p ./tsconfig.json --outDir build --declaration true && api-extractor run","predocs":"rimraf ./docs","docs":"typedoc","clean":"rimraf ./build ./dist ./docs","format":"prettier --write \"src/**/*.ts\"","lint":"eslint \"src/**/*.ts\" --fix","test":"jest"},"dependencies":{"apisauce":"^3.0.1","json-with-bigint":"^2.0.0"},"devDependencies":{"@babel/core":"^7.22.8","@babel/preset-env":"^7.22.7","@babel/preset-typescript":"^7.22.5","@commitlint/cli":"^17.6.6","@commitlint/config-conventional":"^17.6.6","@microsoft/api-extractor":"^7.19.4","@rollup/plugin-babel":"^6.0.3","@rollup/plugin-commonjs":"^21.0.1","@rollup/plugin-json":"^6.0.0","@rollup/plugin-node-resolve":"^13.1.3","@rollup/plugin-typescript":"^8.3.0","@types/jest":"^29.5.2","@typescript-eslint/eslint-plugin":"^5.61.0","@typescript-eslint/parser":"^5.61.0","cz-conventional-changelog":"^3.3.0","eslint":"^8.44.0","eslint-config-prettier":"^8.8.0","eslint-plugin-prettier":"^4.2.1","jest":"^29.6.0","prettier":"^2.5.1","rimraf":"^3.0.2","rollup":"^2.66.1","ts-jest":"^29.0.5","ts-node":"^10.4.0","tslib":"^2.3.1","typedoc":"^0.22.11","typescript":"^4.5.5"},"bugs":{"url":"https://github.com/tfm-com/tfm-sdk.ts/issues"},"directories":{"doc":"docs"},"gitHead":"9b4567e56363c88b27178e6586a84569c94922e8","_id":"@0xtfm/sdk@0.2.3","_nodeVersion":"18.13.0","_npmVersion":"8.19.3","dist":{"integrity":"sha512-ab6rXM3L8WER+h4eaUfhtnKzGbx8qktb231mIwcPhalQnZtBp7lIXvHMIU9PgKMudBHHmXCxRZkshkhMESIxIg==","shasum":"81a56273a3ad617669c17f7b31cb3ce58ac797aa","tarball":"https://registry.npmjs.org/@0xtfm/sdk/-/sdk-0.2.3.tgz","fileCount":8,"unpackedSize":273894,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHE78yrKDwLMZliF252ES/F4iaCfd/C6PHIP51xxtHcAAiEAl3/tsX/+QNTSeosAIDz0pec0GZ1nRIQHaYVO/Xwpops="}]},"_npmUser":{"name":"tfmcom","email":"ops@tfm.com"},"maintainers":[{"name":"tfmcom","email":"ops@tfm.com"},{"name":"rebaz88tfm","email":"rebaz88@tfm.com"},{"name":"csplr","email":"ms@tfm.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sdk_0.2.3_1691589302300_0.7961908717312933"},"_hasShrinkwrap":false},"0.2.4":{"name":"@0xtfm/sdk","version":"0.2.4","description":"TFM SDK","author":{"name":"TFM"},"homepage":"https://github.com/tfm-com/tfm-sdk.ts","repository":{"type":"git","url":"git+https://github.com/tfm-com/tfm-sdk.ts.git"},"license":"MIT","keywords":["tfm","sdk","bridge","swap","route","ibc"],"main":"dist/cjs/@0xtfm/sdk.js","module":"dist/esm/@0xtfm/sdk.js","browser":"dist/browser/@0xtfm/sdk.js","types":"dist/index.d.ts","scripts":{"dev":"rollup -c -w","build":"rollup -c","prebuild:types":"rimraf ./build","build:types":"tsc -p ./tsconfig.json --outDir build --declaration true && api-extractor run","predocs":"rimraf ./docs","docs":"typedoc","clean":"rimraf ./build ./dist ./docs","format":"prettier --write \"src/**/*.ts\"","lint":"eslint \"src/**/*.ts\" --fix","test":"jest"},"dependencies":{"apisauce":"^3.0.1","json-with-bigint":"^2.0.0"},"devDependencies":{"@babel/core":"^7.22.8","@babel/preset-env":"^7.22.7","@babel/preset-typescript":"^7.22.5","@commitlint/cli":"^17.6.6","@commitlint/config-conventional":"^17.6.6","@microsoft/api-extractor":"^7.19.4","@rollup/plugin-babel":"^6.0.3","@rollup/plugin-commonjs":"^21.0.1","@rollup/plugin-json":"^6.0.0","@rollup/plugin-node-resolve":"^13.1.3","@rollup/plugin-typescript":"^8.3.0","@types/jest":"^29.5.2","@typescript-eslint/eslint-plugin":"^5.61.0","@typescript-eslint/parser":"^5.61.0","cz-conventional-changelog":"^3.3.0","eslint":"^8.44.0","eslint-config-prettier":"^8.8.0","eslint-plugin-prettier":"^4.2.1","jest":"^29.6.0","prettier":"^2.5.1","rimraf":"^3.0.2","rollup":"^2.66.1","ts-jest":"^29.0.5","ts-node":"^10.4.0","tslib":"^2.3.1","typedoc":"^0.22.11","typescript":"^4.5.5"},"bugs":{"url":"https://github.com/tfm-com/tfm-sdk.ts/issues"},"directories":{"doc":"docs"},"gitHead":"9b4567e56363c88b27178e6586a84569c94922e8","_id":"@0xtfm/sdk@0.2.4","_nodeVersion":"18.13.0","_npmVersion":"8.19.3","dist":{"integrity":"sha512-j8aGNH8QpfI6Ix4qZn8mEb/A/6L72pZ8kR/ORMDO/jy3aODC56CoWMWWG/nC3PI3yJiL3yzstnJjdg42geTJlg==","shasum":"b7eb09c423b05f48d1c90e6bd941f6730a9a9e1b","tarball":"https://registry.npmjs.org/@0xtfm/sdk/-/sdk-0.2.4.tgz","fileCount":8,"unpackedSize":274213,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHZQMHNSaAW+EDmKoGotI1pVHs5zBtfuc1DNJL/yutAWAiAa+CS1/cG1+lOBa5rDj5m3k19hpY/9ctV/7GCTe4Gbbg=="}]},"_npmUser":{"name":"tfmcom","email":"ops@tfm.com"},"maintainers":[{"name":"tfmcom","email":"ops@tfm.com"},{"name":"rebaz88tfm","email":"rebaz88@tfm.com"},{"name":"csplr","email":"ms@tfm.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sdk_0.2.4_1692010256794_0.3336136438752637"},"_hasShrinkwrap":false},"0.2.5":{"name":"@0xtfm/sdk","version":"0.2.5","description":"TFM SDK","author":{"name":"TFM"},"homepage":"https://github.com/tfm-com/tfm-sdk.ts","repository":{"type":"git","url":"git+https://github.com/tfm-com/tfm-sdk.ts.git"},"license":"MIT","keywords":["tfm","sdk","bridge","swap","route","ibc"],"main":"dist/cjs/@0xtfm/sdk.js","module":"dist/esm/@0xtfm/sdk.js","browser":"dist/browser/@0xtfm/sdk.js","types":"dist/index.d.ts","scripts":{"dev":"rollup -c -w","build":"rollup -c","prebuild:types":"rimraf ./build","build:types":"tsc -p ./tsconfig.json --outDir build --declaration true && api-extractor run","predocs":"rimraf ./docs","docs":"typedoc","clean":"rimraf ./build ./dist ./docs","format":"prettier --write \"src/**/*.ts\"","lint":"eslint \"src/**/*.ts\" --fix","test":"jest"},"dependencies":{"apisauce":"^3.0.1","json-with-bigint":"^2.0.0"},"devDependencies":{"@babel/core":"^7.22.8","@babel/preset-env":"^7.22.7","@babel/preset-typescript":"^7.22.5","@commitlint/cli":"^17.6.6","@commitlint/config-conventional":"^17.6.6","@microsoft/api-extractor":"^7.19.4","@rollup/plugin-babel":"^6.0.3","@rollup/plugin-commonjs":"^21.0.1","@rollup/plugin-json":"^6.0.0","@rollup/plugin-node-resolve":"^13.1.3","@rollup/plugin-typescript":"^8.3.0","@types/jest":"^29.5.2","@typescript-eslint/eslint-plugin":"^5.61.0","@typescript-eslint/parser":"^5.61.0","cz-conventional-changelog":"^3.3.0","eslint":"^8.44.0","eslint-config-prettier":"^8.8.0","eslint-plugin-prettier":"^4.2.1","jest":"^29.6.0","prettier":"^2.5.1","rimraf":"^3.0.2","rollup":"^2.66.1","ts-jest":"^29.0.5","ts-node":"^10.4.0","tslib":"^2.3.1","typedoc":"^0.22.11","typescript":"^4.5.5"},"bugs":{"url":"https://github.com/tfm-com/tfm-sdk.ts/issues"},"directories":{"doc":"docs"},"gitHead":"1a4feed4f643bcde9f6c3c97213bd592d13d71a8","_id":"@0xtfm/sdk@0.2.5","_nodeVersion":"16.14.2","_npmVersion":"8.5.0","dist":{"integrity":"sha512-uEqeP1k8gOQsSFZprp9MbTzaK3YA664H7VjH8R0U0wmYFGHWD8fWhF6+OrRNclhBRkh0zE8JH4NfmsF498JvXw==","shasum":"8a17eea3439f5a5add94d36c523af73efe9b473d","tarball":"https://registry.npmjs.org/@0xtfm/sdk/-/sdk-0.2.5.tgz","fileCount":8,"unpackedSize":276287,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD8EVvSkWtIV4DHyc3upHmWXnvah4JJjOTR8eFJnhYODgIgKOLIk2O9HJSH3lYnmCBXuOQ35iIZjlG8MSAsjvrMeA0="}]},"_npmUser":{"name":"tfmcom","email":"ops@tfm.com"},"maintainers":[{"name":"tfmcom","email":"ops@tfm.com"},{"name":"rebaz88tfm","email":"rebaz88@tfm.com"},{"name":"csplr","email":"ms@tfm.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sdk_0.2.5_1696508988878_0.9666211207642776"},"_hasShrinkwrap":false},"0.2.6":{"name":"@0xtfm/sdk","version":"0.2.6","description":"TFM SDK","author":{"name":"TFM"},"homepage":"https://github.com/tfm-com/tfm-sdk.ts","repository":{"type":"git","url":"git+https://github.com/tfm-com/tfm-sdk.ts.git"},"license":"MIT","keywords":["tfm","sdk","bridge","swap","route","ibc"],"main":"dist/cjs/@0xtfm/sdk.js","module":"dist/esm/@0xtfm/sdk.js","browser":"dist/browser/@0xtfm/sdk.js","types":"dist/index.d.ts","scripts":{"dev":"rollup -c -w","build":"rollup -c","prebuild:types":"rimraf ./build","build:types":"tsc -p ./tsconfig.json --outDir build --declaration true && api-extractor run","predocs":"rimraf ./docs","docs":"typedoc","clean":"rimraf ./build ./dist ./docs","format":"prettier --write \"src/**/*.ts\"","lint":"eslint \"src/**/*.ts\" --fix","test":"jest"},"dependencies":{"apisauce":"^3.0.1","json-with-bigint":"^2.0.0"},"devDependencies":{"@babel/core":"^7.22.8","@babel/preset-env":"^7.22.7","@babel/preset-typescript":"^7.22.5","@commitlint/cli":"^17.6.6","@commitlint/config-conventional":"^17.6.6","@microsoft/api-extractor":"^7.19.4","@rollup/plugin-babel":"^6.0.3","@rollup/plugin-commonjs":"^21.0.1","@rollup/plugin-json":"^6.0.0","@rollup/plugin-node-resolve":"^13.1.3","@rollup/plugin-typescript":"^8.3.0","@types/jest":"^29.5.2","@typescript-eslint/eslint-plugin":"^5.61.0","@typescript-eslint/parser":"^5.61.0","cz-conventional-changelog":"^3.3.0","eslint":"^8.44.0","eslint-config-prettier":"^8.8.0","eslint-plugin-prettier":"^4.2.1","jest":"^29.6.0","prettier":"^2.5.1","rimraf":"^3.0.2","rollup":"^2.66.1","ts-jest":"^29.0.5","ts-node":"^10.4.0","tslib":"^2.3.1","typedoc":"^0.22.11","typescript":"^4.5.5"},"bugs":{"url":"https://github.com/tfm-com/tfm-sdk.ts/issues"},"directories":{"doc":"docs"},"gitHead":"1a4feed4f643bcde9f6c3c97213bd592d13d71a8","_id":"@0xtfm/sdk@0.2.6","_nodeVersion":"16.14.2","_npmVersion":"8.5.0","dist":{"integrity":"sha512-D/FqppXCLmmjqvgXom8hF9UftboEFfwuqdWQIi6o7d8sjSBoUM67h7baYm9y6OXqWfWp7uTYXnb3Z3VbVgaycA==","shasum":"f06a4aafad6eb3b31ed50f6ef18af491000c90f3","tarball":"https://registry.npmjs.org/@0xtfm/sdk/-/sdk-0.2.6.tgz","fileCount":8,"unpackedSize":276287,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICVH1CC8jsKuLrRqBqZoq7KCWuzmqNY6qWCtItVb1v4XAiB4lWrJaK6HKfzBC1N8fahXUmUR1zy7xT8h/amOK/7eBQ=="}]},"_npmUser":{"name":"tfmcom","email":"ops@tfm.com"},"maintainers":[{"name":"tfmcom","email":"ops@tfm.com"},{"name":"rebaz88tfm","email":"rebaz88@tfm.com"},{"name":"csplr","email":"ms@tfm.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sdk_0.2.6_1700114159707_0.721941346123983"},"_hasShrinkwrap":false},"0.2.7":{"name":"@0xtfm/sdk","version":"0.2.7","description":"TFM SDK","author":{"name":"TFM"},"homepage":"https://github.com/tfm-com/tfm-sdk.ts","repository":{"type":"git","url":"git+https://github.com/tfm-com/tfm-sdk.ts.git"},"license":"MIT","keywords":["tfm","sdk","bridge","swap","route","ibc"],"main":"dist/cjs/@0xtfm/sdk.js","module":"dist/esm/@0xtfm/sdk.js","browser":"dist/browser/@0xtfm/sdk.js","types":"dist/index.d.ts","scripts":{"dev":"rollup -c -w","build":"rollup -c","prebuild:types":"rimraf ./build","build:types":"tsc -p ./tsconfig.json --outDir build --declaration true && api-extractor run","predocs":"rimraf ./docs","docs":"typedoc","clean":"rimraf ./build ./dist ./docs","format":"prettier --write \"src/**/*.ts\"","lint":"eslint \"src/**/*.ts\" --fix","test":"jest"},"dependencies":{"apisauce":"^3.0.1","json-with-bigint":"^2.0.0"},"devDependencies":{"@babel/core":"^7.22.8","@babel/preset-env":"^7.22.7","@babel/preset-typescript":"^7.22.5","@commitlint/cli":"^17.6.6","@commitlint/config-conventional":"^17.6.6","@microsoft/api-extractor":"^7.19.4","@rollup/plugin-babel":"^6.0.3","@rollup/plugin-commonjs":"^21.0.1","@rollup/plugin-json":"^6.0.0","@rollup/plugin-node-resolve":"^13.1.3","@rollup/plugin-typescript":"^8.3.0","@types/jest":"^29.5.2","@typescript-eslint/eslint-plugin":"^5.61.0","@typescript-eslint/parser":"^5.61.0","cz-conventional-changelog":"^3.3.0","eslint":"^8.44.0","eslint-config-prettier":"^8.8.0","eslint-plugin-prettier":"^4.2.1","jest":"^29.6.0","prettier":"^2.5.1","rimraf":"^3.0.2","rollup":"^2.66.1","ts-jest":"^29.0.5","ts-node":"^10.4.0","tslib":"^2.3.1","typedoc":"^0.22.11","typescript":"^4.5.5"},"bugs":{"url":"https://github.com/tfm-com/tfm-sdk.ts/issues"},"directories":{"doc":"docs"},"gitHead":"4ae65c107c52d4583ebbc24d2a68dfe419edcb76","_id":"@0xtfm/sdk@0.2.7","_nodeVersion":"16.14.2","_npmVersion":"8.5.0","dist":{"integrity":"sha512-vlgi1d+xgnf6rUkb92fGljF7jUvT83zeWVVRRVDsMhaTzisgCOcU+TiHB2TUp2qRS8aIspU16s/V3K+CX0tKSw==","shasum":"4511991c1cc8feb000d6cca999c79532f19aa66e","tarball":"https://registry.npmjs.org/@0xtfm/sdk/-/sdk-0.2.7.tgz","fileCount":8,"unpackedSize":276644,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDrp4aG1JtHhbzv/YURO3YDBucqxct5j4utGpbzEgwOewIgLqTpenPlydsuKbs2wv8IrFUxWkYxeIf8ysncMxJn0vA="}]},"_npmUser":{"name":"tfmcom","email":"ops@tfm.com"},"maintainers":[{"name":"tfmcom","email":"ops@tfm.com"},{"name":"rebaz88tfm","email":"rebaz88@tfm.com"},{"name":"csplr","email":"ms@tfm.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sdk_0.2.7_1700123772617_0.4435358249554433"},"_hasShrinkwrap":false}},"maintainers":[{"name":"tfmcom","email":"ops@tfm.com"},{"name":"rebaz88tfm","email":"rebaz88@tfm.com"},{"name":"csplr","email":"ms@tfm.com"}],"description":"TFM SDK","homepage":"https://github.com/tfm-com/tfm-sdk.ts","keywords":["tfm","sdk","bridge","swap","route","ibc"],"repository":{"type":"git","url":"git+https://github.com/tfm-com/tfm-sdk.ts.git"},"author":{"name":"TFM"},"bugs":{"url":"https://github.com/tfm-com/tfm-sdk.ts/issues"},"license":"MIT","readme":"# TFM Sdk\n\n[![License](https://img.shields.io/badge/license-MIT-blue.svg)](https://opensource.org/licenses/MIT)\n[![npm version](https://img.shields.io/npm/v/@0xtfm/sdk?color=green&label=npm%20version)](https://www.npmjs.com/package/@0xtfm/sdk)\n\n\nThe @tfm/sdk package allows easy access to the TFM API, providing functionality for interacting with pricing, dex aggregator and ibc transfer and swap.\n\n## Installation\n\nUsing npm:\n\n```shell\nnpm install @0xtfm/sdk\n```\n\nUsing yarn:\n\n```shell\nyarn add @0xtfm/sdk\n```\n\n## Usage\n\n```typescript\nimport { TFM } from \"@0xtfm/sdk\";\n\nasync function main() {\n  const sdk = new TFM();\n\n  // initialize the sdk\n  await sdk.init();\n\n  // get the price of luna in uusd\n  const lunaPrice = await sdk.price.getTokenPrice(\"uluna\", \"phoenix-1\");\n  console.log(lunaPrice);\n\n  // swap route from luna to astro\n  const swapRouteFromLunaToAstro = await sdk.dex.getRoute({\n    chainId: \"phoenix-1\",\n    sourceDenom: \"uluna\",\n    destinationDenom:\n      \"terra1nsuqsk6kh58ulczatwev87ttq2z6r3pusulg9r24mfj2fvtzd4uq3exn26\",\n    amount: 1000,\n  });\n  console.log(swapRouteFromLunaToAstro);\n\n  // swap msg from luna to astro\n  const swapMsgLunaToAstro = await sdk.dex.getMsg({\n    chainId: \"phoenix-1\",\n    sourceDenom: \"uluna\",\n    destinationDenom:\n      \"terra1nsuqsk6kh58ulczatwev87ttq2z6r3pusulg9r24mfj2fvtzd4uq3exn26\",\n    amount: 1000,\n  });\n  console.log(swapMsgLunaToAstro);\n          \n  // get chains on ibc\n  const chains = await sdk.ibc.chain.getAllChains();\n  console.log(chains);\n\n  // get tokens for a chain\n  const terra2Tokens = await sdk.ibc.chain.getAllChainTokens(\"phoenix-1\");\n  console.log(terra2Tokens);\n\n  // get ibc transfer route from terra2 to osmosis\n  const ibcTransferTerrToOsmsis = await sdk.ibc.transfer.getTransferRoute({\n    sourceChainId: \"phoenix-1\",\n    destinationChainId: \"osmosis-1\",\n    sourceDenom: \"uluna\",\n    destinationDenom:\n      \"ibc/785AFEC6B3741100D15E7AF01374E3C4C36F24888E96479B1C33F5C71F364EF9\",\n    amount: 1000,\n  });\n  console.log(ibcTransferTerrToOsmsis);\n\n  // get ibc swap route from terra2 to osmosis\n  const ibcSwapRouteTerraToOsmsis = await sdk.ibc.swap.getSwapRoute({\n    sourceChainId: \"phoenix-1\",\n    destinationChainId: \"osmosis-1\",\n    sourceDenom: \"uluna\",\n    destinationDenom:\n      \"ibc/785AFEC6B3741100D15E7AF01374E3C4C36F24888E96479B1C33F5C71F364EF9\",\n    amount: 1000,\n  });\n  console.log(ibcSwapRouteTerraToOsmsis);\n\n  // get ibc swap msg and route from terra2 to osmosis\n  const ibcSwapMsgAndRouteTerraToOsmsis = await sdk.ibc.swap.getSwapRouteMsgCombined({\n    sourceChainId: \"phoenix-1\",\n    destinationChainId: \"osmosis-1\",\n    sourceDenom: \"uluna\",\n    destinationDenom:\n      \"ibc/785AFEC6B3741100D15E7AF01374E3C4C36F24888E96479B1C33F5C71F364EF9\",\n    amount: 1000,\n  });\n  console.log(ibcSwapMsgAndRouteTerraToOsmsis);\n\n}\n\nmain().catch((error) => console.error(error));\n\n```\n## API Reference\n\n### TFM\n\nThe main class representing the TFM SDK.\n\nModules:\n- IBC\n- Dex Aggregator\n- Price\n\n### IBC\n\nThe IBC module within the SDK offers a comprehensive set of functionalities for facilitating cross-chain operations. This module seamlessly facilitates transactions between multiple chains, enabling smooth interoperability across various blockchain networks.\n\nIt is designed to be highly customizable, offering numerous options to tailor the input and output of operations according to specific needs. Whether you are performing IBC transfers or swaps, the module allows you to choose whether to return the route, message (msg), or both the message and route simultaneously, based on your application's requirements.\n\n### Dex Aggregator\n\nThe lib offers the dex aggregator module which allows effortless integration our DEX aggregator into dapps. The SDK seamlessly connects with TFM's API, handling the intricate exchange processes in the background. As a result, developers can avoid the burden of manually implementing these functionalities, saving time and effort.\n\n### Price\n\nWhile other solutions might provide pricing data from various sources, our library offers a distinctive advantage. It not only enables you to obtain pricing data from diverse channels but also supports pricing retrieval for Inter-Blockchain Communication (IBC) tokens. With this feature, you can effortlessly obtain the price for any IBC token by specifying the destination chain. The integration of this powerful feature enhances the capabilities of your decentralized applications (dApps) significantly, relieving you of any complexities related to pricing retrieval.\n\n\n## Development\n\nTo build the project, run the following command:\n\n```shell\nnpm run build\n```\n\nTo run the tests, use:\n\n```shell\nnpm runt test\n```\n\n## Contributing\n\nContributions are welcome! Please follow the guidelines:\n\n1. Fork the repository.\n2. Create a new branch.\n3. Make your changes and commit them with descriptive messages.\n4. Push your changes to the branch.\n5. Open a pull request with a detailed description of your changes.\n\n## License\n\nThis project is licensed under the MIT License - see the LICENSE file for details.\n\n## Contact\n\nFor support or questions, please contact info@tfm.com\n\n## Changelog\n\n- v0.1.0 (2023-07-07):\n  - Initial release of the @tfm/sdk package.\n","readmeFilename":"README.md"}