Skip to content

Commit 09f0b28

Browse files
committed
fix(context): fix context name and version
1 parent b406130 commit 09f0b28

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/core/src/middleware.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,8 @@ export class MiddlewareChain {
8787
) {
8888
const ctx: Context = {
8989
library: {
90-
name: '',
91-
version: ''
90+
name: 'analytics-react-native',
91+
version: require('../package.json').version
9292
}
9393
}
9494
const payload: Payload = await this.exec(type, ctx, data)

0 commit comments

Comments
 (0)