@injectivelabs/sdk-ts 1.0.61 → 1.0.62

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.
Files changed (2) hide show
  1. package/README.md +2 -2
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -137,7 +137,7 @@ import {
137
137
  DEFAULT_STD_FEE,
138
138
  } from "@injectivelabs/sdk-ts";
139
139
  import { createTransaction } from "@injectivelabs/tx-ts";
140
- import { TxService, TxClient } from "@injectivelabs/tx-ts/dist/client";
140
+ import { TxGrpcClient, TxClient } from "@injectivelabs/tx-ts/dist/client";
141
141
  import { BigNumberInBase } from "@injectivelabs/utils";
142
142
 
143
143
  /** MsgSend Example */
@@ -191,7 +191,7 @@ import { BigNumberInBase } from "@injectivelabs/utils";
191
191
  /** Calculate hash of the transaction */
192
192
  console.log(`Transaction Hash: ${await TxClient.hash(txRaw)}`);
193
193
 
194
- const txService = new TxService({
194
+ const txService = new TxGrpcClient({
195
195
  txRaw,
196
196
  endpoint: network.sentryGrpcApi,
197
197
  });
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@injectivelabs/sdk-ts",
3
3
  "description": "SDK in TypeScript for building Injective applications in a Node environment.",
4
- "version": "1.0.61",
4
+ "version": "1.0.62",
5
5
  "license": "MIT",
6
6
  "author": {
7
7
  "name": "Bojan Angjelkoski",
@@ -57,5 +57,5 @@
57
57
  "shx": "^0.3.2",
58
58
  "snakecase-keys": "^5.4.1"
59
59
  },
60
- "gitHead": "b8d7de092801d8ffd4b05fd662da1fef727ed84f"
60
+ "gitHead": "5cd167998cf03fb6116b5794c8b8a27b6d9a6741"
61
61
  }