mirror of
https://github.com/tcgdex/javascript-sdk.git
synced 2025-04-22 10:42:10 +00:00
Updated docs
Signed-off-by: Florian BOUILLON <florian.bouillon@delta-wings.net>
This commit is contained in:
parent
ad4ad553a4
commit
324be2a410
10
CHANGELOG.md
10
CHANGELOG.md
@ -7,6 +7,16 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||
|
||||
## [Unreleased]
|
||||
|
||||
## 2.4.2 - 2021-07-19
|
||||
|
||||
### Added
|
||||
|
||||
- ESM exports are back
|
||||
|
||||
### Changed
|
||||
|
||||
- Moved browser export from `Webpack` to `esbuild`
|
||||
|
||||
## 2.4.1 - 2021-07-11
|
||||
|
||||
## Deprecated
|
||||
|
@ -34,11 +34,17 @@ yarn add @tcgdex/sdk
|
||||
npm install @tcgdex/sdk
|
||||
```
|
||||
|
||||
or in the web browser
|
||||
```html
|
||||
<script src="https://cdn.jsdelivr.net/npm/@tcgdex/sdk@2/dist/tcgdex.browser.js"></script>
|
||||
```
|
||||
|
||||
## Usage
|
||||
|
||||
_Note: a complete documentation is in progress_
|
||||
|
||||
```javascript
|
||||
// only if using with NPM/Yarn
|
||||
import TCGdex from '@tcgdex/sdk'
|
||||
|
||||
// initialize the SDK
|
||||
|
Loading…
x
Reference in New Issue
Block a user