Skip to content

Commit e73e7b1

Browse files
committed
Update to 27.2.0
1 parent bbebf2b commit e73e7b1

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

changelog.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
27.2.0
2+
- add support for native Node ES modules
3+
14
27.1.2
25
- fixed `modifyPosition` parameter docs and types
36

readme.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,14 @@ Examples of integration with :
5151

5252
Details of [integration into HTML](https://github.com/metaapi/metaapi-javascript-sdk/blob/master/docs/ui/html.md).
5353

54+
## Using SDK within native [Node ECMAScript modules](https://nodejs.org/docs/latest-v20.x/api/esm.html#modules-ecmascript-modules)
55+
```js
56+
import MetaApi from 'metaapi.cloud-sdk/esm-node';
57+
58+
const token = '...';
59+
const api = new MetaApi(token);
60+
```
61+
5462
## Connecting to MetaApi
5563
Please use one of these ways:
5664
1. [https://app.metaapi.cloud/api-access/generate-token](https://app.metaapi.cloud/api-access/generate-token) web UI to obtain your API token.

0 commit comments

Comments
 (0)