diff --git a/.changeset/friendly-needles-nail.md b/.changeset/friendly-needles-nail.md new file mode 100644 index 0000000..66ece42 --- /dev/null +++ b/.changeset/friendly-needles-nail.md @@ -0,0 +1,5 @@ +--- +"@bunny.net/edgescript-sdk": patch +--- + +Try to remove the process dep diff --git a/libs/bunny-sdk/src/platform.ts b/libs/bunny-sdk/src/platform.ts index 35e4483..cdcf60e 100644 --- a/libs/bunny-sdk/src/platform.ts +++ b/libs/bunny-sdk/src/platform.ts @@ -72,7 +72,7 @@ const internal_getPlatform = (): Platform => { // Check if Node.js if ( Object.prototype.toString.call( - typeof process !== "undefined" ? process : 0, + typeof globalThis.process !== "undefined" ? process : 0, ) === "[object process]" ) { return {