diff --git a/.changeset/sour-geckos-jam.md b/.changeset/sour-geckos-jam.md new file mode 100644 index 00000000000..41da2d3b3c2 --- /dev/null +++ b/.changeset/sour-geckos-jam.md @@ -0,0 +1,5 @@ +--- +"@fuel-ts/wallet": patch +--- + +Fixed usage of process diff --git a/packages/wallet/src/configs.ts b/packages/wallet/src/configs.ts index ad6b0d39559..b613aad39b8 100644 --- a/packages/wallet/src/configs.ts +++ b/packages/wallet/src/configs.ts @@ -1 +1 @@ -export const FUEL_NETWORK_URL = process.env.FUEL_NETWORK_URL || 'http://127.0.0.1:4000/graphql'; +export const FUEL_NETWORK_URL = process?.env?.FUEL_NETWORK_URL || 'http://127.0.0.1:4000/graphql';