Carlo Revelli
Carlo Revelli
@FusionQuant looks like a major bug 🤦
> How to make npm package hybrid We'll definitely need to support the existing usage of common js for backwards compatibility, maybe with a wrapper script that calls an esm...
> @frosty00 @kroitor Our Frankenstein is ready!!  > > (the npm package is now fully backward compatible) Awesome, I'll review it asap
``` import { ccxt } from './ccxt.js' ^^^^ SyntaxError: The requested module './ccxt.js' does not provide an export named 'ccxt' ``` Can we export ccxt also?
``` > [email protected] bundle-cjs > rollup -c rollup.config.js sh: rollup: command not found ``` I get this error when trying to run `npm run build`
Can you check why the build is failing - https://app.travis-ci.com/github/ccxt/ccxt/builds/249045009
is missing the fetchTrades and createOrder implementation
@damian123 you can use `exchange.number = str` or `exchange.number = decimal.Decimal` it is almost finished
@timolson the exchanges sends a json string that contains numbers. At this point the numbers are still strings, we simply feed those strings to the `.number` constructor without parsing it...
hello, @milkymeda this issue has been fixed in the latest version of ccxt, please upgrade to 1.53.73 )