Skip to content
This repository has been archived by the owner on Jan 2, 2024. It is now read-only.

Removed localhost change to baseUrl #6

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "testweave-sdk",
"name": "@futuremint-io/testweave-sdk",
"version": "0.2.2",
"description": "This is the SDK of TestWeave. TestWeave is the testing environment of the Arweave.",
"main": "dist/index.js",
Expand Down
4 changes: 2 additions & 2 deletions src/classes/class.testweave-transactions-manager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ export default class TestWeaveTransactionsManager implements ITestWeaveTransacti
// get the request
const request = this._arweave.api.request();
// console.log(request);
request.defaults.baseURL = 'http://localhost';
// request.defaults.baseURL = 'http://localhost';
const response = await request.get(endpoint, config);
return response;
} catch (error) {
Expand All @@ -91,7 +91,7 @@ export default class TestWeaveTransactionsManager implements ITestWeaveTransacti
// get the request
const request = this._arweave.api.request();
if (endpoint === 'graphql') {
request.defaults.baseURL = 'http://localhost';
// request.defaults.baseURL = 'http://localhost';
}
const response = await request.post(endpoint, body, config);
if (endpoint === 'tx') {
Expand Down