From 58c4aec988b7c6f8e1258b0d9740ba3c27eefdd1 Mon Sep 17 00:00:00 2001 From: Elliot Braem <16282460+elliotBraem@users.noreply.github.com> Date: Tue, 9 Apr 2024 23:45:26 -0400 Subject: [PATCH] configures testnet rpc --- gateway/src/useAuth.js | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gateway/src/useAuth.js b/gateway/src/useAuth.js index 6db4b16..702ab93 100644 --- a/gateway/src/useAuth.js +++ b/gateway/src/useAuth.js @@ -71,7 +71,7 @@ export function useAuth() { }, config: { defaultFinality: undefined, - nodeUrl: "https://near.lava.build", + nodeUrl: NetworkId === "mainnet" ? "https://near.lava.build" : "near-testnet.lava.build", }, }); }, [initNear]); diff --git a/package.json b/package.json index c360f14..c6d035c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "bos-workspace", - "version": "1.0.0-alpha.7", + "version": "1.0.0-alpha.8", "description": "", "bin": { "bos-workspace": "./bin/bw.js",