Skip to content

Commit

Permalink
fix: reference error fix for Vite
Browse files Browse the repository at this point in the history
  • Loading branch information
msopacua committed May 23, 2024
1 parent bd51da7 commit dabb085
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
@@ -1,6 +1,6 @@
{
"name": "@deepgram/sdk",
"version": "0.0.0-automated",
"version": "3.3.2",
"description": "Isomorphic Javascript client for Deepgram",
"keywords": [
"javascript",
Expand Down
2 changes: 1 addition & 1 deletion src/lib/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { DeepgramClientOptions } from "./types/DeepgramClientOptions";
import { FetchOptions } from "./types/Fetch";
import { version } from "./version";

export const NODE_VERSION = process?.versions.node || "Unknown";
export const NODE_VERSION = isBrowser() ? "Unknown" : process.versions.node;

export const DEFAULT_HEADERS = {
"Content-Type": `application/json`,
Expand Down

0 comments on commit dabb085

Please sign in to comment.