@meshsdk/common 1.7.5 → 1.7.6

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/dist/index.d.cts CHANGED
@@ -402,7 +402,7 @@ type CertificateType = {
402
402
  } | {
403
403
  type: "DRepUpdate";
404
404
  drepId: string;
405
- anchor: Anchor;
405
+ anchor?: Anchor;
406
406
  };
407
407
  type DRep = {
408
408
  dRepId: string;
@@ -628,6 +628,7 @@ interface IFetcher {
628
628
  fetchProtocolParameters(epoch: number): Promise<Protocol>;
629
629
  fetchTxInfo(hash: string): Promise<TransactionInfo>;
630
630
  fetchUTxOs(hash: string): Promise<UTxO[]>;
631
+ get(url: string): Promise<any>;
631
632
  }
632
633
 
633
634
  interface IInitiator {
package/dist/index.d.ts CHANGED
@@ -402,7 +402,7 @@ type CertificateType = {
402
402
  } | {
403
403
  type: "DRepUpdate";
404
404
  drepId: string;
405
- anchor: Anchor;
405
+ anchor?: Anchor;
406
406
  };
407
407
  type DRep = {
408
408
  dRepId: string;
@@ -628,6 +628,7 @@ interface IFetcher {
628
628
  fetchProtocolParameters(epoch: number): Promise<Protocol>;
629
629
  fetchTxInfo(hash: string): Promise<TransactionInfo>;
630
630
  fetchUTxOs(hash: string): Promise<UTxO[]>;
631
+ get(url: string): Promise<any>;
631
632
  }
632
633
 
633
634
  interface IInitiator {
package/package.json CHANGED
@@ -1,8 +1,9 @@
1
1
  {
2
2
  "name": "@meshsdk/common",
3
- "version": "1.7.5",
3
+ "version": "1.7.6",
4
4
  "description": "",
5
5
  "main": "./dist/index.cjs",
6
+ "browser": "./dist/index.js",
6
7
  "module": "./dist/index.js",
7
8
  "types": "./dist/index.d.ts",
8
9
  "type": "module",