Skip to content

Commit 58e71f1

Browse files
committed
fix(core): fix debug log error for loadSdk
1 parent e4639a7 commit 58e71f1

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

packages/core/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@web-analytics/core",
3-
"version": "0.1.3",
3+
"version": "0.1.4",
44
"description": "Website pageview analytics tool for framework-free and multi-analytics-platform support.",
55
"author": "chengpeiquan <chengpeiquan@chengpeiquan.com>",
66
"license": "MIT",

packages/core/src/utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ export function getDebugMessage({
2727
}: GetDebugMessageOptions) {
2828
const debugLogs: string[] = []
2929
switch (propertyKey) {
30-
case 'init': {
30+
case 'loadSdk': {
3131
debugLogs.push(`JS-SDK load done.`)
3232
break
3333
}

0 commit comments

Comments
 (0)