@kimafinance/kima-transaction-api 1.0.30-beta.1 → 1.0.31-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -10,8 +10,8 @@ const proto_signing_1 = require("@cosmjs/proto-signing");
10
10
  const tx_1 = require("./tx");
11
11
  dotenv_1.default.config();
12
12
  const defaultFee = {
13
- amount: [],
14
- gas: "10000000",
13
+ amount: [(0, proto_signing_1.coin)(200, "uKIMA")],
14
+ gas: "200000", // Gas limit
15
15
  };
16
16
  const types = [
17
17
  ["/kimablockchain.transaction.MsgRequestTransaction", tx_1.MsgRequestTransaction],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kimafinance/kima-transaction-api",
3
- "version": "1.0.30-beta.1",
3
+ "version": "1.0.31-beta.1",
4
4
  "description": "A wrapper around Kima's API, enabling sending and monitoring transactions (Beta version)",
5
5
  "repository": "https://github.com/kima-finance/kima-transaction-api",
6
6
  "author": "",
@@ -1,6 +1,6 @@
1
1
  import { SigningStargateClient, StdFee } from "@cosmjs/stargate";
2
2
  import dotenv from "dotenv";
3
- import { Registry, OfflineSigner, EncodeObject } from "@cosmjs/proto-signing";
3
+ import { Registry, OfflineSigner, EncodeObject, coin } from "@cosmjs/proto-signing";
4
4
  import {
5
5
  MsgRequestHtlcLock,
6
6
  MsgRequestTransaction,
@@ -11,8 +11,8 @@ import {
11
11
  dotenv.config();
12
12
 
13
13
  const defaultFee = {
14
- amount: [],
15
- gas: "10000000",
14
+ amount: [coin(200, "uKIMA")],
15
+ gas: "200000", // Gas limit
16
16
  };
17
17
 
18
18
  interface SignAndBroadcastOptions {