@thru/sdk 0.2.34 → 0.2.35

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.
package/README.md CHANGED
@@ -38,7 +38,7 @@ import {
38
38
  } from "@thru/sdk";
39
39
 
40
40
  const thru = createThruClient({
41
- baseUrl: "https://grpc-web.alphanet.thruput.org",
41
+ baseUrl: "https://rpc.alphanet.thru.org",
42
42
  });
43
43
 
44
44
  // Fetch the latest finalized block
@@ -73,7 +73,7 @@ for await (const update of thru.streaming.trackTransaction(signature)) {
73
73
 
74
74
  ```ts
75
75
  const thru = createThruClient({
76
- baseUrl: "https://grpc-web.alphanet.thruput.org",
76
+ baseUrl: "https://rpc.alphanet.thru.org",
77
77
  transportOptions: {
78
78
  useBinaryFormat: false,
79
79
  defaultTimeoutMs: 10_000,
@@ -191,7 +191,7 @@ __export(accounts_exports, {
191
191
  getRawAccount: () => getRawAccount,
192
192
  listAccounts: () => listAccounts
193
193
  });
194
- var DEFAULT_HOST = "https://grpc-web.alphanet.thruput.org";
194
+ var DEFAULT_HOST = "https://rpc.alphanet.thru.org";
195
195
  var DEFAULT_ACCOUNT_VIEW = 4 /* FULL */;
196
196
  var DEFAULT_BLOCK_VIEW = 4 /* FULL */;
197
197
  var DEFAULT_TRANSACTION_VIEW = 4 /* FULL */;
@@ -3610,5 +3610,5 @@ function createThruClient(config = {}) {
3610
3610
  }
3611
3611
 
3612
3612
  export { Account, AccountNonceObserver, Block, ChainEvent, FeePayerNonceManager, Filter, FilterParamValue, HeightSnapshot, PageRequest, PageResponse, Pubkey, Signature, SignatureDomain, StateProof, Transaction, TransactionBuilder, TransactionStatusSnapshot, VersionInfo, accounts_exports, blocks_exports, chain_exports, collectStream, consensus_exports, createThruClient, deriveAddress, deriveProgramAddress, events_exports, firstStreamValue, forEachStreamValue, height_exports, keys_exports, node_exports, nonce_exports, proofs_exports, signWithDomain, slots_exports, streaming_exports, transactions_exports, verifyWithDomain };
3613
- //# sourceMappingURL=chunk-UFG6YDCG.js.map
3614
- //# sourceMappingURL=chunk-UFG6YDCG.js.map
3613
+ //# sourceMappingURL=chunk-RLKKOLUN.js.map
3614
+ //# sourceMappingURL=chunk-RLKKOLUN.js.map