Skip to content

Commit

Permalink
fix: fullstory initializer
Browse files Browse the repository at this point in the history
  • Loading branch information
leonardodouradol committed Mar 14, 2024
1 parent cd8a006 commit f350799
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@useblu/blu-lytics",
"version": "1.0.3",
"version": "1.0.4",
"private": false,
"license": "MIT",
"main": "lib/index.js",
Expand Down
6 changes: 5 additions & 1 deletion src/initializers/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,11 @@ const fullStoryInitializer = (
environment: EnvironmentType,
apiKey: string,
): void => {
if (isProduction(environment)) init({ orgId: apiKey });
if (isProduction(environment)) {
init({ orgId: apiKey });
} else {
init({ orgId: apiKey, devMode: true });
}
};

/**
Expand Down

0 comments on commit f350799

Please sign in to comment.