Releases: moqada/simple-api-client
Releases · moqada/simple-api-client
v0.5.0
Bug Fixes
- typescript: Change module export styles (fbde13b)
BREAKING CHANGES
- typescript: Module import styles changed for JavaScript and TypeScript.
JavaScript
// before
const SimpleAPIClient = require('@moqada/simple-api-client');
const SimpleAPIClient from '@moqada/simple-api-client';
// after: changed in require style
const {SimpleAPIClient} = require('@moqada/simple-api-client');
// after: not changed in import style
const SimpleAPIClient from '@moqada/simple-api-client';
TypeScript
// before
import SimpleAPIClient from '@moqada/simple-api-client';
// after
import {SimpleAPIClient} from '@moqada/simple-api-client';