v4.0.0
What's Changed
- v4.0.0 by @mertushka in #87
Breaking Change
Please follow the new imports after upgrading from v3.x.x
CommonJS Module Usage Example
const HaxballJS = require('haxball.js').default;ESM Module Usage Example
import HaxballJS from 'haxball.js';Config
Configurations moved from HBInit.
Old:
HBInit({
...
proxy: "http://1.1.1.1:80",
});New:
HaxballJS({ proxy: "http://1.1.1.1:80", }).then((HBInit) => {...});Full Changelog: 3.2.1...v4.0.0