Skip to content

Commit

Permalink
fix: turn off analytics for serverside (#55)
Browse files Browse the repository at this point in the history
not needed, and causing issues with external calls for customers
  • Loading branch information
robertsevernsentient authored Sep 22, 2023
1 parent c98e434 commit cb67b6d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"license": "Apache-2.0",
"private": true,
"scripts": {
"prestart": "lerna bootstrap",
"prestart": "npm install",
"start": "npm-run-all --parallel start:watch start:next start:react ",
"start:next": "lerna run dev --scope @evolv/nextjs-demo",
"start:react": "lerna run start --scope @evolv/react-demo",
Expand Down
2 changes: 1 addition & 1 deletion packages/react/src/client.adapter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export class ClientAdapter {

this._client = new EvolvClient({
autoConfirm: this.isBrowser,
analytics: true,
analytics: this.isBrowser,
clientName: 'react-sdk',
clientType: this.isBrowser ? 'direct' : 'proxied',
pollForTimeUpdates: this.isBrowser,
Expand Down

0 comments on commit cb67b6d

Please sign in to comment.