Skip to content

Commit 9c90501

Browse files
authored
support mainnet network only for cosmos chains (#89)
* support mainnet network only for cosmos chains * v2.11.0
1 parent 44ea124 commit 9c90501

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@kilnfi/sdk",
3-
"version": "2.10.0",
3+
"version": "2.11.0",
44
"autor": "Kiln <[email protected]> (https://kiln.fi)",
55
"license": "BUSL-1.1",
66
"description": "JavaScript sdk for Kiln API",

src/services/atom.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ export class AtomService extends Service {
160160
};
161161
const fbNote = note ? note : 'ATOM tx from @kilnfi/sdk';
162162
const signer = this.getFbSigner(integration);
163-
const fbTx = await signer.signWithFB(payload, this.testnet ? 'ATOM_COS_TEST' : 'ATOM_COS', fbNote);
163+
const fbTx = await signer.signWithFB(payload, 'ATOM_COS', fbNote);
164164
const signature: string = fbTx.signedMessages![0].signature.fullSig;
165165
const { data } = await api.post<CosmosSignedTx>(
166166
`/v1/atom/transaction/prepare`,

src/services/dydx.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ export class DydxService extends Service {
136136
};
137137
const fbNote = note ? note : 'DYDX tx from @kilnfi/sdk';
138138
const signer = this.getFbSigner(integration);
139-
const fbTx = await signer.signWithFB(payload, this.testnet ? 'DV4TNT_TEST' : 'DYDX_DYDX', fbNote);
139+
const fbTx = await signer.signWithFB(payload, 'DYDX_DYDX', fbNote);
140140
const signature: string = fbTx.signedMessages![0].signature.fullSig;
141141
const { data } = await api.post<CosmosSignedTx>(
142142
`/v1/dydx/transaction/prepare`,

src/services/osmo.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ export class OsmoService extends Service {
163163
};
164164
const fbNote = note ? note : 'OSMO tx from @kilnfi/sdk';
165165
const signer = this.getFbSigner(integration);
166-
const fbTx = await signer.signWithFB(payload, this.testnet ? 'OSMO_TEST' : 'OSMO', fbNote);
166+
const fbTx = await signer.signWithFB(payload, 'OSMO', fbNote);
167167
const signature: string = fbTx.signedMessages![0].signature.fullSig;
168168
const { data } = await api.post<CosmosSignedTx>(
169169
`/v1/osmo/transaction/prepare`,

0 commit comments

Comments
 (0)