Skip to content

Commit a466d22

Browse files
author
方鹏飞
committed
build: README.md
1 parent 66208d5 commit a466d22

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ npm i node-agile-client
2020
## Init
2121
在你的node项目初始化的时候初始化`node-agile-client`
2222
```javascript
23-
const { init } = require('node-agile-client');
23+
import { init } from 'node-agile-client';
2424

2525
init({
2626
appid: 'app',
@@ -53,6 +53,10 @@ const { token, url } = getAgileConfig();
5353

5454

5555
# Changelog
56+
## v0.0.3
57+
- typescript改造
58+
- 支持cjs和esm5使用
59+
- 修复第一次启动报错的问题
5660
## v0.0.2
5761
- 通过md5优化获取配置的逻辑,减少配置中心的访问次数
5862
## v0.0.1

0 commit comments

Comments
 (0)