{"_id":"demex-client","_rev":"26-1421d18779f7e32460cf5f59c6e05d81","name":"demex-client","dist-tags":{"latest":"0.1.22"},"versions":{"0.1.4":{"name":"demex-client","version":"0.1.4","author":{"name":"Switcheo","email":"engineering@switcheo.network"},"license":"Apache-2.0","_id":"demex-client@0.1.4","maintainers":[{"name":"stevenkhong","email":"steven.khong@switcheo.network"}],"dist":{"shasum":"04aff4b5f50a3e180b741582a74aeab554f97064","tarball":"https://registry.npmjs.org/demex-client/-/demex-client-0.1.4.tgz","fileCount":3,"integrity":"sha512-h3Feiqcj8bPtVPGSTn6i57IE6mVGm2knQ5c+pgGzJTcI0xMUgFxLisUz4RkIRPiarwLDzwqxsAAKitMk0ePVog==","signatures":[{"sig":"MEQCIHA0TI+j7FcrB0PE0wDv+1hg1eE84p+9qU2duevrv8OyAiAootv0aaPMSoIz+ECid835y7u1mICgYomNWfy7On5rhg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":14047},"main":"lib/index.js","types":"./lib/index.d.ts","gitHead":"8a08e89ce8b496bcd06e1f696bb9a3de50872f3f","scripts":{"build":"tsc","login":"npm adduser"},"_npmUser":{"name":"stevenkhong","email":"steven.khong@switcheo.network"},"_npmVersion":"10.1.0","description":"A perp trading client built on top of carbon-js-sdk","directories":{},"_nodeVersion":"18.17.1","dependencies":{"axios":"^1.6.2","dayjs":"^1.11.10","typescript":"^5.3.2","bignumber.js":"^9.1.2","carbon-js-sdk":"^0.8.0","lodash.mapkeys":"^4.6.0","lodash.camelcase":"^4.3.0"},"_hasShrinkwrap":false,"devDependencies":{"dotenv":"^16.3.1","ts-node":"^10.9.1"},"_npmOperationalInternal":{"tmp":"tmp/demex-client_0.1.4_1707803641794_0.6744364143347581","host":"s3://npm-registry-packages"}},"0.1.5":{"name":"demex-client","version":"0.1.5","author":{"name":"Switcheo","email":"engineering@switcheo.network"},"license":"Apache-2.0","_id":"demex-client@0.1.5","maintainers":[{"name":"severuscuckoo","email":"severuscuckoo@gmail.com"},{"name":"stevenkhong","email":"steven.khong@switcheo.network"}],"dist":{"shasum":"5a4c24a2cd3addfbcb432d4b7ce07e2c49169b7c","tarball":"https://registry.npmjs.org/demex-client/-/demex-client-0.1.5.tgz","fileCount":19,"integrity":"sha512-ji5guPNlju8pejj3nLLDUPQZexC3pUd4lhUPj8EfP4trRhQHkSWin1XEUttnYhxch37Wyjd3H5qbLg6VDbb+Hw==","signatures":[{"sig":"MEUCIE8hneFORoAO2R05wKC+bVhxyGrFyX/ew/9gSYK2nTUsAiEAx0Dos7V1UGXiDfYz2DFkzX535It0S0I7KWamzyS29Os=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":134353},"main":"lib/index.js","types":"./lib/index.d.ts","gitHead":"373d87ee7cdd7ab6e1994aa0a430365c864b75b5","scripts":{"build":"tsc","login":"npm adduser"},"_npmUser":{"name":"severuscuckoo","email":"severuscuckoo@gmail.com"},"_npmVersion":"9.5.1","description":"A perp trading client built on top of carbon-js-sdk","directories":{},"_nodeVersion":"18.16.0","dependencies":{"axios":"^1.6.2","dayjs":"^1.11.10","typescript":"^5.3.2","bignumber.js":"^9.1.2","carbon-js-sdk":"^0.10.5","lodash.mapkeys":"^4.6.0","lodash.camelcase":"^4.3.0"},"_hasShrinkwrap":false,"devDependencies":{"dotenv":"^16.3.1","ts-node":"^10.9.1"},"_npmOperationalInternal":{"tmp":"tmp/demex-client_0.1.5_1718698537286_0.7418465522015258","host":"s3://npm-registry-packages"}},"0.1.6":{"name":"demex-client","version":"0.1.6","author":{"name":"Switcheo","email":"engineering@switcheo.network"},"license":"Apache-2.0","_id":"demex-client@0.1.6","maintainers":[{"name":"severuscuckoo","email":"severuscuckoo@gmail.com"},{"name":"stevenkhong","email":"steven.khong@switcheo.network"}],"dist":{"shasum":"dff2c5f54464e3c6d2599c3e76a42fea1422fe9e","tarball":"https://registry.npmjs.org/demex-client/-/demex-client-0.1.6.tgz","fileCount":21,"integrity":"sha512-V9G8mjz0bYSd55t1TPt5c1xeLUZssn1S6U2b4UFI7qkhKaxJqpXkEAFkSh+e5rGNBDSzjYeC3z6VVCaztSbPyg==","signatures":[{"sig":"MEYCIQCjQveVCDTKCaIdiY12t8hZ6khfCcLs88xK87K9AXfExgIhAOeHeKI6m55C6EtnR4H2V5NY6M9VF978tpr2BChjTG1B","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":204734},"main":"lib/index.js","types":"./lib/index.d.ts","gitHead":"4e8fa2470772497afe6dc471708656f65e54825d","scripts":{"build":"tsc","login":"npm adduser"},"_npmUser":{"name":"severuscuckoo","email":"severuscuckoo@gmail.com"},"_npmVersion":"9.5.1","description":"A perp trading client built on top of carbon-js-sdk","directories":{},"_nodeVersion":"18.16.0","dependencies":{"axios":"^1.6.2","dayjs":"^1.11.10","typescript":"^5.3.2","bignumber.js":"^9.1.2","carbon-js-sdk":"^0.10.5","lodash.mapkeys":"^4.6.0","lodash.camelcase":"^4.3.0","lodash.capitalize":"^4.2.1"},"_hasShrinkwrap":false,"devDependencies":{"dotenv":"^16.3.1","ts-node":"^10.9.1"},"_npmOperationalInternal":{"tmp":"tmp/demex-client_0.1.6_1721106591274_0.32555588269971625","host":"s3://npm-registry-packages"}},"0.1.7":{"name":"demex-client","version":"0.1.7","author":{"name":"Switcheo","email":"engineering@switcheo.network"},"license":"Apache-2.0","_id":"demex-client@0.1.7","maintainers":[{"name":"severuscuckoo","email":"severuscuckoo@gmail.com"},{"name":"stevenkhong","email":"steven.khong@switcheo.network"}],"dist":{"shasum":"385b393c606cb68dacab60cca9a9c359271f9519","tarball":"https://registry.npmjs.org/demex-client/-/demex-client-0.1.7.tgz","fileCount":21,"integrity":"sha512-xP4LfV5GjdbqxSGtL9gMblXuq0JiLxVmwpNuQiydM05+8ArtaKB7ZNMacerXtSPkeX9HlNgg4KnM5FVMxneHiA==","signatures":[{"sig":"MEUCIGJ3QhjBaJUGFO9EM2yvanF1mREHNj+RGt/Cys2Cf4AmAiEAnksX+djBDuivV1xKEpnEsV5COwmbWc7LPrXzZsOFabU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":219563},"main":"lib/index.js","types":"./lib/index.d.ts","gitHead":"30f44bd8a1fdd1f7bcc032da8db965142ade3a87","scripts":{"build":"tsc","login":"npm adduser"},"_npmUser":{"name":"severuscuckoo","email":"severuscuckoo@gmail.com"},"_npmVersion":"9.5.1","description":"A perp trading client built on top of carbon-js-sdk","directories":{},"_nodeVersion":"18.16.0","dependencies":{"axios":"^1.6.2","dayjs":"^1.11.10","typescript":"^5.3.2","bignumber.js":"^9.1.2","carbon-js-sdk":"^0.10.5","lodash.mapkeys":"^4.6.0","lodash.camelcase":"^4.3.0","lodash.capitalize":"^4.2.1"},"_hasShrinkwrap":false,"devDependencies":{"dotenv":"^16.3.1","ts-node":"^10.9.1"},"_npmOperationalInternal":{"tmp":"tmp/demex-client_0.1.7_1723017382356_0.02403329117373243","host":"s3://npm-registry-packages"}},"0.1.8":{"name":"demex-client","version":"0.1.8","author":{"name":"Switcheo","email":"engineering@switcheo.network"},"license":"Apache-2.0","_id":"demex-client@0.1.8","maintainers":[{"name":"severuscuckoo","email":"severuscuckoo@gmail.com"},{"name":"stevenkhong","email":"steven.khong@switcheo.network"}],"dist":{"shasum":"ff7d0cee88118cd8b6b92885c8348f7f7853dd64","tarball":"https://registry.npmjs.org/demex-client/-/demex-client-0.1.8.tgz","fileCount":21,"integrity":"sha512-ruVq+zJAVVjB0Hk+itZjo+lZePHelTMRhVKMYFHIgSTuqTrU4VrCsyQXlarxslrPvXJdDBSP71f1PvVUMRW72A==","signatures":[{"sig":"MEUCIQDsk/8rHeh1gJtARojulYfEW1cyoOYvyfSBh0DZ6iIcgAIgbwBSpEwq8TERGRt20EWST7VHNrw7ad2b8ogHJIh027E=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":223220},"main":"lib/index.js","types":"./lib/index.d.ts","gitHead":"2f88ef15159879e0beb4f0208928e8c8bf6d93d9","scripts":{"build":"tsc","login":"npm adduser"},"_npmUser":{"name":"severuscuckoo","email":"severuscuckoo@gmail.com"},"_npmVersion":"9.5.1","description":"A perp trading client built on top of carbon-js-sdk","directories":{},"_nodeVersion":"18.16.0","dependencies":{"axios":"^1.6.2","dayjs":"^1.11.10","typescript":"^5.3.2","bignumber.js":"^9.1.2","carbon-js-sdk":"^0.10.5","lodash.mapkeys":"^4.6.0","lodash.camelcase":"^4.3.0","lodash.capitalize":"^4.2.1"},"_hasShrinkwrap":false,"devDependencies":{"dotenv":"^16.3.1","ts-node":"^10.9.1"},"_npmOperationalInternal":{"tmp":"tmp/demex-client_0.1.8_1723214912031_0.5550855202724296","host":"s3://npm-registry-packages"}},"0.1.9":{"name":"demex-client","version":"0.1.9","author":{"name":"Switcheo","email":"engineering@switcheo.network"},"license":"Apache-2.0","_id":"demex-client@0.1.9","maintainers":[{"name":"severuscuckoo","email":"severuscuckoo@gmail.com"},{"name":"stevenkhong","email":"steven.khong@switcheo.network"}],"dist":{"shasum":"d852b32f483dfe5588c5e3dca21f080ab9738a26","tarball":"https://registry.npmjs.org/demex-client/-/demex-client-0.1.9.tgz","fileCount":21,"integrity":"sha512-0LYg/iS7Gdi1RUdlxDAFflgxALjY5qHbxIld21P0MjseFAdDU1op1ellSeZNSZ3RVmNo3nwmQKNOeLVhgSBq6A==","signatures":[{"sig":"MEYCIQC6tj4krD1NNrGudi+nhor5Y1Pl3D/3vkZrKLKHeq6JFAIhALXleW/hvz79i6/4wjYu4v0pmqYbCR5baJoL3TUKLIMj","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":223353},"main":"lib/index.js","types":"./lib/index.d.ts","gitHead":"55029d9f7a75f15fec5805b56d1c01af04370a33","scripts":{"build":"tsc","login":"npm adduser"},"_npmUser":{"name":"severuscuckoo","email":"severuscuckoo@gmail.com"},"_npmVersion":"9.5.1","description":"A perp trading client built on top of carbon-js-sdk","directories":{},"_nodeVersion":"18.16.0","dependencies":{"axios":"^1.6.2","dayjs":"^1.11.10","typescript":"^5.3.2","bignumber.js":"^9.1.2","carbon-js-sdk":"^0.10.5","lodash.mapkeys":"^4.6.0","lodash.camelcase":"^4.3.0","lodash.capitalize":"^4.2.1"},"_hasShrinkwrap":false,"devDependencies":{"dotenv":"^16.3.1","ts-node":"^10.9.1"},"_npmOperationalInternal":{"tmp":"tmp/demex-client_0.1.9_1724293867336_0.3231810801731523","host":"s3://npm-registry-packages"}},"0.1.10":{"name":"demex-client","version":"0.1.10","author":{"name":"Switcheo","email":"engineering@switcheo.network"},"license":"Apache-2.0","_id":"demex-client@0.1.10","maintainers":[{"name":"severuscuckoo","email":"severuscuckoo@gmail.com"},{"name":"stevenkhong","email":"steven.khong@switcheo.network"}],"dist":{"shasum":"499117805d4713be56d80816a90c33937d62d982","tarball":"https://registry.npmjs.org/demex-client/-/demex-client-0.1.10.tgz","fileCount":21,"integrity":"sha512-uWaGpriNIyhyBN9lpdLNerLk+Aa8+wG2IcwvFeOoEPLvRvHsBlQPv/wbDaqsgrL9Sobc4/e3Cu2/Sdkr6dx00g==","signatures":[{"sig":"MEUCIQC6LgFzLscLNK+pB98tThM7wPCZvgDD2OrzbkehcJNE1gIgYSRAVYIhs8w8mU5rDIQPZbnHqMR27sf23oSmPkc23Co=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":223616},"main":"lib/index.js","types":"./lib/index.d.ts","gitHead":"95bfdcd289778d4e44eba06bbbf3867222475401","scripts":{"build":"tsc","login":"npm adduser"},"_npmUser":{"name":"severuscuckoo","email":"severuscuckoo@gmail.com"},"_npmVersion":"9.5.1","description":"A perp trading client built on top of carbon-js-sdk","directories":{},"_nodeVersion":"18.16.0","dependencies":{"axios":"^1.6.2","dayjs":"^1.11.10","typescript":"^5.3.2","bignumber.js":"^9.1.2","carbon-js-sdk":"^0.10.5","lodash.mapkeys":"^4.6.0","lodash.camelcase":"^4.3.0","lodash.capitalize":"^4.2.1"},"_hasShrinkwrap":false,"devDependencies":{"dotenv":"^16.3.1","ts-node":"^10.9.1"},"_npmOperationalInternal":{"tmp":"tmp/demex-client_0.1.10_1725435478637_0.5069003910354821","host":"s3://npm-registry-packages"}},"0.1.11":{"name":"demex-client","version":"0.1.11","author":{"name":"Switcheo","email":"engineering@switcheo.network"},"license":"Apache-2.0","_id":"demex-client@0.1.11","maintainers":[{"name":"severuscuckoo","email":"severuscuckoo@gmail.com"},{"name":"stevenkhong","email":"steven.khong@switcheo.network"}],"dist":{"shasum":"bacc56d77d24dd607e705ef6f5e02a469fb4880c","tarball":"https://registry.npmjs.org/demex-client/-/demex-client-0.1.11.tgz","fileCount":21,"integrity":"sha512-L+w7jqtJokbA+GDZqEQRduoSsx2RF8lKEPkYFmZayDZpupO+G2TykeG96zFoAEjE9fiH2fulhAxQsHMLnhXbbQ==","signatures":[{"sig":"MEUCIFe3hQitIBOCFTYyE5MnBOmcP3z+k776iiUI8hN1JLNrAiEAjSzybM4uT1GLcolsr5+lmxKM0F+cMoGPnweEAadKoa4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":224053},"main":"lib/index.js","types":"./lib/index.d.ts","gitHead":"bef415547ff75bfa5decd26d7a633c49c7609205","scripts":{"build":"tsc","login":"npm adduser"},"_npmUser":{"name":"severuscuckoo","email":"severuscuckoo@gmail.com"},"_npmVersion":"9.5.1","description":"A perp trading client built on top of carbon-js-sdk","directories":{},"_nodeVersion":"18.16.0","dependencies":{"axios":"^1.6.2","dayjs":"^1.11.10","typescript":"^5.3.2","bignumber.js":"^9.1.2","carbon-js-sdk":"^0.10.5","lodash.mapkeys":"^4.6.0","lodash.camelcase":"^4.3.0","lodash.capitalize":"^4.2.1"},"_hasShrinkwrap":false,"devDependencies":{"dotenv":"^16.3.1","ts-node":"^10.9.1"},"_npmOperationalInternal":{"tmp":"tmp/demex-client_0.1.11_1725501463150_0.598659771439144","host":"s3://npm-registry-packages"}},"0.1.12":{"name":"demex-client","version":"0.1.12","author":{"name":"Switcheo","email":"engineering@switcheo.network"},"license":"Apache-2.0","_id":"demex-client@0.1.12","maintainers":[{"name":"severuscuckoo","email":"severuscuckoo@gmail.com"},{"name":"stevenkhong","email":"steven.khong@switcheo.network"}],"dist":{"shasum":"0d6b4d91e9846f8f5a69551bc1f87a5abb7d1da6","tarball":"https://registry.npmjs.org/demex-client/-/demex-client-0.1.12.tgz","fileCount":21,"integrity":"sha512-BEDiR6UTIp81v89OIh1p9aqyPIAv773GzV/dPt3ogs8v+irZ+PhmIu388tHgnBhK8PpsagScum7HBvPvlG3Hjg==","signatures":[{"sig":"MEYCIQCMToCfWOWRdHaBLLpBZuNS2P1M9bRLmuF843IF3w46dQIhAJnWFPXycsomKzA7XgOX8UDKyD9eAUtTSpaCJYZKUZR2","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":224147},"main":"lib/index.js","types":"./lib/index.d.ts","gitHead":"0e8463b6d4f501b16a42c640001e97c1c7846263","scripts":{"build":"tsc","login":"npm adduser"},"_npmUser":{"name":"severuscuckoo","email":"severuscuckoo@gmail.com"},"_npmVersion":"9.5.1","description":"A perp trading client built on top of carbon-js-sdk","directories":{},"_nodeVersion":"18.16.0","dependencies":{"axios":"^1.6.2","dayjs":"^1.11.10","typescript":"^5.3.2","bignumber.js":"^9.1.2","carbon-js-sdk":"^0.10.5","lodash.mapkeys":"^4.6.0","lodash.camelcase":"^4.3.0","lodash.capitalize":"^4.2.1"},"_hasShrinkwrap":false,"devDependencies":{"dotenv":"^16.3.1","ts-node":"^10.9.1"},"_npmOperationalInternal":{"tmp":"tmp/demex-client_0.1.12_1725587093128_0.03732107182370692","host":"s3://npm-registry-packages"}},"0.1.13":{"name":"demex-client","version":"0.1.13","author":{"name":"Switcheo","email":"engineering@switcheo.network"},"license":"Apache-2.0","_id":"demex-client@0.1.13","maintainers":[{"name":"severuscuckoo","email":"severuscuckoo@gmail.com"},{"name":"stevenkhong","email":"steven.khong@switcheo.network"}],"dist":{"shasum":"3a406472a487f1b2827b316c9469c23944df1505","tarball":"https://registry.npmjs.org/demex-client/-/demex-client-0.1.13.tgz","fileCount":21,"integrity":"sha512-JcUoXEWh37JJpl12v+h1SkWDhr43QsZljN5Ohlie01somg2qMHgxkLZnOgsO8LzybCm3WHpdFRk4HEERoBWV8g==","signatures":[{"sig":"MEUCIQCCNucQf8NedS5GFZbs3ziCnrsfxf3YRLTccRhgFB/p1wIgKPtl6gb3JwdRsOEKJ6I3HrTB/eitwHMAD1IqQqPSinY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":223986},"main":"lib/index.js","types":"./lib/index.d.ts","gitHead":"06c140d1591e9551ee363da16fb9f506d9d9fef6","scripts":{"build":"tsc","login":"npm adduser"},"_npmUser":{"name":"severuscuckoo","email":"severuscuckoo@gmail.com"},"_npmVersion":"9.5.1","description":"A perp trading client built on top of carbon-js-sdk","directories":{},"_nodeVersion":"18.16.0","dependencies":{"axios":"^1.6.2","dayjs":"^1.11.10","typescript":"^5.3.2","bignumber.js":"^9.1.2","carbon-js-sdk":"^0.10.5","lodash.mapkeys":"^4.6.0","lodash.camelcase":"^4.3.0","lodash.capitalize":"^4.2.1"},"_hasShrinkwrap":false,"devDependencies":{"dotenv":"^16.3.1","ts-node":"^10.9.1"},"_npmOperationalInternal":{"tmp":"tmp/demex-client_0.1.13_1728449986121_0.011356538755817658","host":"s3://npm-registry-packages"}},"0.1.14":{"name":"demex-client","version":"0.1.14","author":{"name":"Switcheo","email":"engineering@switcheo.network"},"license":"Apache-2.0","_id":"demex-client@0.1.14","maintainers":[{"name":"severuscuckoo","email":"severuscuckoo@gmail.com"},{"name":"stevenkhong","email":"steven.khong@switcheo.network"}],"dist":{"shasum":"fb473680ed9131f30302cb89f044bcd3ed826c2e","tarball":"https://registry.npmjs.org/demex-client/-/demex-client-0.1.14.tgz","fileCount":21,"integrity":"sha512-s64ev8Mib9jnwrJ4Yx+vH8yJzDe1AZXLOceJVhdHvVxikyCeaxjvTknhCmegYsM99x3a2UAap56yfmqrBDCJKw==","signatures":[{"sig":"MEYCIQCb2jhmrwT58G942HtNiQA5kR2W/wdpsF8M9gn7lp3gmgIhAL3jN9QnNRe3LP1B6H8fpQN9BMsrQKWrnWFmzHTmfesz","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":224293},"main":"lib/index.js","types":"./lib/index.d.ts","gitHead":"26f6c4744281010ca624a06b895e7ab15e6ebeec","scripts":{"build":"tsc","login":"npm adduser"},"_npmUser":{"name":"severuscuckoo","email":"severuscuckoo@gmail.com"},"_npmVersion":"9.5.1","description":"A perp trading client built on top of carbon-js-sdk","directories":{},"_nodeVersion":"18.16.0","dependencies":{"axios":"^1.6.2","dayjs":"^1.11.10","typescript":"^5.3.2","bignumber.js":"^9.1.2","carbon-js-sdk":"^0.10.5","lodash.mapkeys":"^4.6.0","lodash.camelcase":"^4.3.0","lodash.capitalize":"^4.2.1"},"_hasShrinkwrap":false,"devDependencies":{"dotenv":"^16.3.1","ts-node":"^10.9.1"},"_npmOperationalInternal":{"tmp":"tmp/demex-client_0.1.14_1729136360635_0.8309843260710943","host":"s3://npm-registry-packages"}},"0.1.15":{"name":"demex-client","version":"0.1.15","author":{"name":"Switcheo","email":"engineering@switcheo.network"},"license":"Apache-2.0","_id":"demex-client@0.1.15","maintainers":[{"name":"severuscuckoo","email":"severuscuckoo@gmail.com"},{"name":"stevenkhong","email":"steven.khong@switcheo.network"}],"dist":{"shasum":"339d026fd876a796a0adc1b09187663aa80f9d88","tarball":"https://registry.npmjs.org/demex-client/-/demex-client-0.1.15.tgz","fileCount":21,"integrity":"sha512-D2tNbsVHg1ipUZdFCwfYOWXJC4/vOO+15bTgzvqjD0sNo2Dgt/ciYx9vKUK+XVuMf14pcQBZLC9mQtVylZqNUQ==","signatures":[{"sig":"MEQCIB9WiZRvFHeNnXM7GMoVTuiV8G8VwpAq/XL9Yvc9d2EyAiA8D2zJUWaEMd8W6xBLjVbRZexx3L1zHYMdgAO3imfvZQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":224339},"main":"lib/index.js","types":"./lib/index.d.ts","gitHead":"f56871240421c10349ad312a8dbd90a71c9d31a6","scripts":{"build":"tsc","login":"npm adduser"},"_npmUser":{"name":"severuscuckoo","email":"severuscuckoo@gmail.com"},"_npmVersion":"9.5.1","description":"A perp trading client built on top of carbon-js-sdk","directories":{},"_nodeVersion":"18.16.0","dependencies":{"axios":"^1.6.2","dayjs":"^1.11.10","typescript":"^5.3.2","bignumber.js":"^9.1.2","carbon-js-sdk":"^0.10.5","lodash.mapkeys":"^4.6.0","lodash.camelcase":"^4.3.0","lodash.capitalize":"^4.2.1"},"_hasShrinkwrap":false,"devDependencies":{"dotenv":"^16.3.1","ts-node":"^10.9.1"},"_npmOperationalInternal":{"tmp":"tmp/demex-client_0.1.15_1729831297007_0.7037193274728812","host":"s3://npm-registry-packages"}},"0.1.16":{"name":"demex-client","version":"0.1.16","author":{"name":"Switcheo","email":"engineering@switcheo.network"},"license":"Apache-2.0","_id":"demex-client@0.1.16","maintainers":[{"name":"severuscuckoo","email":"severuscuckoo@gmail.com"},{"name":"stevenkhong","email":"steven.khong@switcheo.network"}],"dist":{"shasum":"0b19f93bcded28ae4037507c6dd7adc95afb6dc2","tarball":"https://registry.npmjs.org/demex-client/-/demex-client-0.1.16.tgz","fileCount":21,"integrity":"sha512-YJ92I6IU8/TIMKHFs6MuZbgiFb0w3L8TDxs32iMdIgrZXpc8VX01DnM5o2FgcmNXFulTo8RG3DJ7rCimLYU3Ag==","signatures":[{"sig":"MEUCIFQgFX1TzTwiK5jxvQ84ly7uusmHGKCi+lvzvN7vv60ZAiEAyFL0m5ujUWx/WpcRL1jNWeHEiVUx1uafPH89VQ9hg1s=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":225180},"main":"lib/index.js","types":"./lib/index.d.ts","gitHead":"38ad06aad3f412fb6f6a81fef8f5e31049ad599a","scripts":{"build":"tsc","login":"npm adduser"},"_npmUser":{"name":"severuscuckoo","email":"severuscuckoo@gmail.com"},"_npmVersion":"9.5.1","description":"A perp trading client built on top of carbon-js-sdk","directories":{},"_nodeVersion":"18.16.0","dependencies":{"axios":"^1.6.2","dayjs":"^1.11.10","typescript":"^5.3.2","bignumber.js":"^9.1.2","carbon-js-sdk":"^0.10.5","lodash.mapkeys":"^4.6.0","lodash.camelcase":"^4.3.0","lodash.capitalize":"^4.2.1"},"_hasShrinkwrap":false,"devDependencies":{"dotenv":"^16.3.1","ts-node":"^10.9.1"},"_npmOperationalInternal":{"tmp":"tmp/demex-client_0.1.16_1729846500897_0.5944940378533554","host":"s3://npm-registry-packages"}},"0.1.17":{"name":"demex-client","version":"0.1.17","author":{"name":"Switcheo","email":"engineering@switcheo.network"},"license":"Apache-2.0","_id":"demex-client@0.1.17","maintainers":[{"name":"severuscuckoo","email":"severuscuckoo@gmail.com"},{"name":"stevenkhong","email":"steven.khong@switcheo.network"}],"dist":{"shasum":"7387147ebc14fd100f94d45284a37a23e8526bc9","tarball":"https://registry.npmjs.org/demex-client/-/demex-client-0.1.17.tgz","fileCount":21,"integrity":"sha512-REZKS0C6Tfo4E40Dnr1iWnLkn6AEUNQILteahjn64QeazQy9TqckaKd02PmrLlFauyADGhX7yCGb/UkZWqrV+w==","signatures":[{"sig":"MEYCIQDBqwKGjvjAPn4KGDSdVwuJihUN8BJm9BBtpjROeEajXwIhALhhEBE4sJ4sg6zHpVobZ4kBoyxjybLKOqpL6n+Wp97v","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":225275},"main":"lib/index.js","types":"./lib/index.d.ts","gitHead":"2387eba312ba726c2ca5426beff84b3d896342b9","scripts":{"build":"tsc","login":"npm adduser"},"_npmUser":{"name":"severuscuckoo","email":"severuscuckoo@gmail.com"},"_npmVersion":"9.5.1","description":"A perp trading client built on top of carbon-js-sdk","directories":{},"_nodeVersion":"18.16.0","dependencies":{"axios":"^1.6.2","dayjs":"^1.11.10","typescript":"^5.3.2","bignumber.js":"^9.1.2","carbon-js-sdk":"^0.10.5","lodash.mapkeys":"^4.6.0","lodash.camelcase":"^4.3.0","lodash.capitalize":"^4.2.1"},"_hasShrinkwrap":false,"devDependencies":{"dotenv":"^16.3.1","ts-node":"^10.9.1"},"_npmOperationalInternal":{"tmp":"tmp/demex-client_0.1.17_1730102201433_0.4921966989294779","host":"s3://npm-registry-packages"}},"0.1.18":{"name":"demex-client","version":"0.1.18","author":{"name":"Switcheo","email":"engineering@switcheo.network"},"license":"Apache-2.0","_id":"demex-client@0.1.18","maintainers":[{"name":"severuscuckoo","email":"severuscuckoo@gmail.com"},{"name":"stevenkhong","email":"steven.khong@switcheo.network"}],"dist":{"shasum":"cce4c4382b197b0521040cdbddacb2f4fb477898","tarball":"https://registry.npmjs.org/demex-client/-/demex-client-0.1.18.tgz","fileCount":21,"integrity":"sha512-o0d6d9tjzzmzEJaufvQY/b/3vZn9zPgMT5wCBRdG0ajsDehI98G8lx2ex3KLnkfPQBp0RPFVnqx29WuRrySlAQ==","signatures":[{"sig":"MEUCIEe/C6rUa9FtzJp0tbHZIDpkDCBKt9sgj3suiUM2WPgGAiEAoOQ5B2Gxx30pzRBhVjD8ohmQgffZTWUQzQ7HChiIuuU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":225251},"main":"lib/index.js","types":"./lib/index.d.ts","gitHead":"d25d2361740b3a73b70b829eace5d01fb5b3978d","scripts":{"build":"tsc","login":"npm adduser"},"_npmUser":{"name":"severuscuckoo","email":"severuscuckoo@gmail.com"},"_npmVersion":"9.5.1","description":"A perp trading client built on top of carbon-js-sdk","directories":{},"_nodeVersion":"18.16.0","dependencies":{"axios":"^1.6.2","dayjs":"^1.11.10","typescript":"^5.3.2","bignumber.js":"^9.1.2","carbon-js-sdk":"^0.10.5","lodash.mapkeys":"^4.6.0","lodash.camelcase":"^4.3.0","lodash.capitalize":"^4.2.1"},"_hasShrinkwrap":false,"devDependencies":{"dotenv":"^16.3.1","ts-node":"^10.9.1"},"_npmOperationalInternal":{"tmp":"tmp/demex-client_0.1.18_1730102533208_0.058990258331852674","host":"s3://npm-registry-packages"}},"0.1.19":{"name":"demex-client","version":"0.1.19","author":{"name":"Switcheo","email":"engineering@switcheo.network"},"license":"Apache-2.0","_id":"demex-client@0.1.19","maintainers":[{"name":"severuscuckoo","email":"severuscuckoo@gmail.com"},{"name":"stevenkhong","email":"steven.khong@switcheo.network"}],"dist":{"shasum":"d2b0f9a33a9948bee5d94af1c076148b5e0673af","tarball":"https://registry.npmjs.org/demex-client/-/demex-client-0.1.19.tgz","fileCount":21,"integrity":"sha512-BImpNkPho8khoc45dAW+wq2QPy5HveEBniFgOyAIJyHpH1A/o+ZZ85unrozqFq60/eEjf/u1hz+ieMluKLfsrw==","signatures":[{"sig":"MEQCICGGfFXdpJkbkvI5nT8CStguHFQq+XuODdRSXD4qPBFcAiBumXjnRT+yCWQJe56k3ef5T6kjR7jkhzW+VdR/NtkDTw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":225418},"main":"lib/index.js","types":"./lib/index.d.ts","gitHead":"b3f27f9867877b8614cb1f94c3c2f54d0dfc1078","scripts":{"build":"tsc","login":"npm adduser"},"_npmUser":{"name":"severuscuckoo","email":"severuscuckoo@gmail.com"},"_npmVersion":"9.5.1","description":"A perp trading client built on top of carbon-js-sdk","directories":{},"_nodeVersion":"18.16.0","dependencies":{"axios":"^1.6.2","dayjs":"^1.11.10","typescript":"^5.3.2","bignumber.js":"^9.1.2","carbon-js-sdk":"^0.10.5","lodash.mapkeys":"^4.6.0","lodash.camelcase":"^4.3.0","lodash.capitalize":"^4.2.1"},"_hasShrinkwrap":false,"devDependencies":{"dotenv":"^16.3.1","ts-node":"^10.9.1"},"_npmOperationalInternal":{"tmp":"tmp/demex-client_0.1.19_1731398509361_0.31673665466375867","host":"s3://npm-registry-packages"}},"0.1.20":{"name":"demex-client","version":"0.1.20","author":{"name":"Switcheo","email":"engineering@switcheo.network"},"license":"Apache-2.0","_id":"demex-client@0.1.20","maintainers":[{"name":"severuscuckoo","email":"severuscuckoo@gmail.com"},{"name":"stevenkhong","email":"steven.khong@switcheo.network"}],"dist":{"shasum":"558cfc1a7c3289820451c342a6d343c33fddf455","tarball":"https://registry.npmjs.org/demex-client/-/demex-client-0.1.20.tgz","fileCount":21,"integrity":"sha512-oZySyWJX7fK5oJGeCVB+2KENEfuoH0ErEaTRYN7UO0R/1p5ft78XMsRqMIAJNFfjK9b//TWPesbmvc8FQcKOqg==","signatures":[{"sig":"MEUCIQDYfgRnEIEs7lkOAHVX8e3nxraMqDPkHlLboM9SWSBWNAIgVNy1I7ck+8hISp39HN7T2Km6LkR7IJRrWhNqj5yv4T4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":225493},"main":"lib/index.js","types":"./lib/index.d.ts","gitHead":"666c9f33407262e80d0553ae9c6cb7f534237577","scripts":{"build":"tsc","login":"npm adduser"},"_npmUser":{"name":"severuscuckoo","email":"severuscuckoo@gmail.com"},"_npmVersion":"9.5.1","description":"A perp trading client built on top of carbon-js-sdk","directories":{},"_nodeVersion":"18.16.0","dependencies":{"axios":"^1.6.2","dayjs":"^1.11.10","typescript":"^5.3.2","bignumber.js":"^9.1.2","carbon-js-sdk":"^0.10.5","lodash.mapkeys":"^4.6.0","lodash.camelcase":"^4.3.0","lodash.capitalize":"^4.2.1"},"_hasShrinkwrap":false,"devDependencies":{"dotenv":"^16.3.1","ts-node":"^10.9.1"},"_npmOperationalInternal":{"tmp":"tmp/demex-client_0.1.20_1733200878110_0.30284144367652055","host":"s3://npm-registry-packages"}},"0.1.21":{"name":"demex-client","version":"0.1.21","author":{"name":"Switcheo","email":"engineering@switcheo.network"},"license":"Apache-2.0","_id":"demex-client@0.1.21","maintainers":[{"name":"severuscuckoo","email":"severuscuckoo@gmail.com"},{"name":"stevenkhong","email":"steven.khong@switcheo.network"}],"dist":{"shasum":"ba3de81433687997da6169d61c715e401715a630","tarball":"https://registry.npmjs.org/demex-client/-/demex-client-0.1.21.tgz","fileCount":21,"integrity":"sha512-CVAfsobZAkR/4CfSJ7ch7COdI41zB+nvU/Y9mqiaXi8fTE5JgMUbZD6CvRCSf8aLsbDDXPejiEt8aR1nX53tUA==","signatures":[{"sig":"MEQCIC2SGJ2roSBomjnsQSJ+6WtmxS6kE5wMJCJPHP6Htpa5AiAYAhVxnjHj0EYYdwPkwHxGK64REVkYGfhZiVfhxZCuAw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":225486},"main":"lib/index.js","types":"./lib/index.d.ts","gitHead":"a342ae5159a43e878c88deceb654f8e6a6fba6ad","scripts":{"build":"tsc","login":"npm adduser"},"_npmUser":{"name":"severuscuckoo","email":"severuscuckoo@gmail.com"},"_npmVersion":"9.5.1","description":"A perp trading client built on top of carbon-js-sdk","directories":{},"_nodeVersion":"18.16.0","dependencies":{"axios":"^1.6.2","dayjs":"^1.11.10","typescript":"^5.3.2","bignumber.js":"^9.1.2","carbon-js-sdk":"^0.10.5","lodash.mapkeys":"^4.6.0","lodash.camelcase":"^4.3.0","lodash.capitalize":"^4.2.1"},"_hasShrinkwrap":false,"devDependencies":{"dotenv":"^16.3.1","ts-node":"^10.9.1"},"_npmOperationalInternal":{"tmp":"tmp/demex-client_0.1.21_1735626679689_0.03269236725857838","host":"s3://npm-registry-packages-npm-production"}},"0.1.22":{"name":"demex-client","version":"0.1.22","description":"A perp trading client built on top of carbon-js-sdk","main":"lib/index.js","types":"./lib/index.d.ts","author":{"name":"Switcheo","email":"engineering@switcheo.network"},"license":"Apache-2.0","scripts":{"build":"tsc","login":"npm adduser"},"dependencies":{"axios":"^1.6.2","bignumber.js":"^9.1.2","carbon-js-sdk":"^0.10.5","dayjs":"^1.11.10","lodash.camelcase":"^4.3.0","lodash.capitalize":"^4.2.1","lodash.mapkeys":"^4.6.0","typescript":"^5.3.2"},"devDependencies":{"dotenv":"^16.3.1","ts-node":"^10.9.1"},"gitHead":"34aa276d4c583ea111d83e913562dfce68f633e0","_id":"demex-client@0.1.22","_nodeVersion":"18.16.0","_npmVersion":"9.5.1","dist":{"integrity":"sha512-KFdeXT2SmCdSbVNc7oDFfZI5Lvm2+VdDhgBWhk8ltq1NsGRvu05GYdQ3M4u4EK4cCTobEnegEV2mm4xZPIGqog==","shasum":"e5987aadff57fc473242b6a280c58fedeea2ccd5","tarball":"https://registry.npmjs.org/demex-client/-/demex-client-0.1.22.tgz","fileCount":21,"unpackedSize":225679,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEcMZ3aimycWA6V+EMWP4QePRR0StZUe9BVs2nbAamrkAiBE0OjJwgfFE0Tk0AApoTYfbHe878jhiA81/4fm/PLcwA=="}]},"_npmUser":{"name":"severuscuckoo","email":"severuscuckoo@gmail.com"},"directories":{},"maintainers":[{"name":"severuscuckoo","email":"severuscuckoo@gmail.com"},{"name":"stevenkhong","email":"steven.khong@switcheo.network"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/demex-client_0.1.22_1737100608425_0.051999058199296844"},"_hasShrinkwrap":false}},"time":{"created":"2024-02-13T05:54:01.794Z","modified":"2025-01-17T07:56:48.808Z","0.1.0":"2024-01-30T00:50:41.492Z","0.1.1":"2024-01-30T01:01:22.366Z","0.1.2":"2024-01-30T01:01:47.019Z","0.1.3":"2024-02-07T11:19:24.072Z","0.1.4":"2024-02-13T05:54:01.939Z","0.1.5":"2024-06-18T08:15:37.438Z","0.1.6":"2024-07-16T05:09:51.440Z","0.1.7":"2024-08-07T07:56:22.538Z","0.1.8":"2024-08-09T14:48:32.186Z","0.1.9":"2024-08-22T02:31:07.560Z","0.1.10":"2024-09-04T07:37:58.862Z","0.1.11":"2024-09-05T01:57:43.306Z","0.1.12":"2024-09-06T01:44:53.298Z","0.1.13":"2024-10-09T04:59:46.451Z","0.1.14":"2024-10-17T03:39:20.969Z","0.1.15":"2024-10-25T04:41:37.231Z","0.1.16":"2024-10-25T08:55:01.273Z","0.1.17":"2024-10-28T07:56:41.610Z","0.1.18":"2024-10-28T08:02:13.422Z","0.1.19":"2024-11-12T08:01:49.661Z","0.1.20":"2024-12-03T04:41:18.354Z","0.1.21":"2024-12-31T06:31:19.871Z","0.1.22":"2025-01-17T07:56:48.608Z"},"author":{"name":"Switcheo","email":"engineering@switcheo.network"},"license":"Apache-2.0","description":"A perp trading client built on top of carbon-js-sdk","maintainers":[{"name":"severuscuckoo","email":"severuscuckoo@gmail.com"},{"name":"stevenkhong","email":"steven.khong@switcheo.network"}],"readme":"<div align=\"center\">\n  <img height=\"120x\" src=\"https://raw.githubusercontent.com/Switcheo/token-icons/main/demex/demex_color.png\" />\n\n  <h1 style=\"margin-top:20px;\">Demex Client</h1>\n\n  <p>\n    <a href=\"https://discord.com/channels/738816874720133172/763588653116555294\"><img alt=\"Discord Chat\" src=\"https://img.shields.io/discord/738816874720133172?color=3e35ff\" /></a>\n    <a href=\"https://opensource.org/licenses/Apache-2.0\"><img alt=\"License\" src=\"https://img.shields.io/badge/License-Apache_2.0-3e35ff\" /></a>\n  </p>\n</div>\n\n# Demex Client\n\nThis is an opinionated typescript client that wraps around [carbon-js-sdk](https://github.com/Switcheo/carbon-js-sdk) to proivde a simple way to programmatically trade on Carbon's Perpetuals markets.\n\nSome data are steamed over websockets and cached in memory while the remaining are fetched asynchronously over gRPC or API methods.\n\n## Constraints\n\n- MAINNET support only\n- Perpetuals trading only\n\n## Installation\n\n```\n# For NPM\nnpm install demex-client --legacy-peer-deps\n\n# For Yarn\nyarn add demex-client --legacy-peer-deps\n```\n\n## Warning\n\nThis client is considered Alpha software and is under develpoment at the moment. Client may contain bugs and hence use at your own risk.\n\n## Features\n\n- [ ] Uses human friendly symbols instead of market ids (e.g. \"ETH\" -> \"cmkt/117\")\n- [ ] Astracts all sats values & requirements to human readable values\n- [ ] Dead man's switch for chain and indexer liveliness to prevent stale data\n- [ ] Virtualization of user account state via websockets\n- [ ] Virtualization of market data state via websockets\n- [ ] Wraps position data with mark price and unrealized profit & loss\n- [ ] Warps market stats with funding rates\n\n## Roadmap\n\n- [ ] Expose websocket messages\n- [ ] Wrapped deposit and withdrawal transfer functions\n- [ ] Devnet & Testnet support\n\n## Quickstart\n\n```\n\nimport { Client, OrderSide, OrderType, MAINNET_TOKENS } from 'demex-client'\n\nasync function run() {\n\n  const bot = new Client()\n  await bot.init({ mnemonic: \"YOUR MNEMONIC\"})\n  bot.subscribeMarketStats()\n  bot.subscribeOrderBooks(['BTC', 'ETH'])\n  bot.subscribeAccountData()\n\n  await bot.startWebsocket()\n\n  // MARKET DATA\n\n  const orderBook = bot.getOrderBook('ETH')\n  const recentTrades = await bot.getTrades('BTC')\n  const stats = await bot.getMarketStats()\n\n  // ACCOUNT DATA\n\n  const usdBalance = bot.getBalance(MAINNET_TOKENS.USD)\n  const positions = bot.getPositions()\n  const position = bot.getPosition('BTC')\n  const orders = bot.getOpenOrders('BTC')\n\n  const userTrades = await bot.getUserTrades('BTC')\n  const leverages = await bot.getMarketsLeverage()\n\n  // TRANSACTIONS\n\n  const order = await bot.submitOrder({\n    symbol: 'BTC',\n    side: OrderSide.Buy,\n    price: 40000.001,\n    quantity: 0.0011111,\n    type: OrderType.Limit,\n  })\n  const cancels = await bot.cancelAll('BTC')\n  cosnt cancel = await.bot.cancelOrder(\"ORDERID\")\n  const leverage = await bot.updateLeverage('ETH', 1.3)\n\n}\n\n```\n\n## Bugs / Requests\n\nSubmit an issue [here](https://github.com/Switcheo/demex-client/issues).\n","readmeFilename":"README.md"}