Skip to content

Commit 6879c41

Browse files
authoredApr 14, 2025
fix: update baseURL for preprod environment (#39)
1 parent 6c1ed65 commit 6879c41

File tree

3 files changed

+281
-220
lines changed

3 files changed

+281
-220
lines changed
 

‎package-lock.json

+277-216
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@deltadefi-protocol/typescript-sdk",
33
"description": "The Typescript SDK for interacting with DeltaDeFi protocol",
4-
"version": "0.3.20",
4+
"version": "0.3.21",
55
"main": "./dist/index.cjs",
66
"browser": "./dist/index.js",
77
"module": "./dist/index.js",

‎src/client/index.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,10 @@ export class ApiClient {
4646
if (network === 'mainnet') {
4747
// TODO: input production link once available
4848
baseURL = 'https://api.deltadefi.io';
49-
wsURL = 'wss://api-dev.deltadefi.io';
49+
wsURL = 'wss://api-staging.deltadefi.io';
5050
} else {
51-
baseURL = 'https://api-dev.deltadefi.io';
52-
wsURL = 'wss://api-dev.deltadefi.io';
51+
baseURL = 'https://api-staging.deltadefi.io';
52+
wsURL = 'wss://api-staging.deltadefi.io';
5353
}
5454
}
5555
if (jwt) {

0 commit comments

Comments
 (0)
Please sign in to comment.