Skip to content

Commit 16379d3

Browse files
zhu-xiaoweixiaoweii
andauthored
fix: update readme for sdk init (#7)
Co-authored-by: xiaoweii <xiaoweii@amazom.com>
1 parent 026b5c4 commit 16379d3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ You need to configure the SDK with default information before using it. Copy you
2020
```typescript
2121
import { ClickstreamAnalytics } from '@aws/clickstream-web';
2222

23-
ClickstreamAnalytics.configure({
23+
ClickstreamAnalytics.init({
2424
appId: "your appId",
2525
endpoint: "https://example.com/collect",
2626
});

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@aws/clickstream-web",
3-
"version": "0.1.1",
3+
"version": "0.1.2",
44
"description": "ClickstreamAnalytics Web SDK",
55
"license": "Apache-2.0",
66
"main": "./lib/index.ts",

0 commit comments

Comments
 (0)