@meshsdk/common 1.7.4 → 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,16 +402,14 @@ 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
- keyHash: string;
409
- } | {
410
- scriptHash: string;
408
+ dRepId: string;
411
409
  } | {
412
- alwaysAbstain: {};
410
+ alwaysAbstain: null;
413
411
  } | {
414
- alwaysNoConfidence: {};
412
+ alwaysNoConfidence: null;
415
413
  };
416
414
  type Anchor = {
417
415
  anchorUrl: string;
@@ -630,6 +628,7 @@ interface IFetcher {
630
628
  fetchProtocolParameters(epoch: number): Promise<Protocol>;
631
629
  fetchTxInfo(hash: string): Promise<TransactionInfo>;
632
630
  fetchUTxOs(hash: string): Promise<UTxO[]>;
631
+ get(url: string): Promise<any>;
633
632
  }
634
633
 
635
634
  interface IInitiator {
package/dist/index.d.ts CHANGED
@@ -402,16 +402,14 @@ 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
- keyHash: string;
409
- } | {
410
- scriptHash: string;
408
+ dRepId: string;
411
409
  } | {
412
- alwaysAbstain: {};
410
+ alwaysAbstain: null;
413
411
  } | {
414
- alwaysNoConfidence: {};
412
+ alwaysNoConfidence: null;
415
413
  };
416
414
  type Anchor = {
417
415
  anchorUrl: string;
@@ -630,6 +628,7 @@ interface IFetcher {
630
628
  fetchProtocolParameters(epoch: number): Promise<Protocol>;
631
629
  fetchTxInfo(hash: string): Promise<TransactionInfo>;
632
630
  fetchUTxOs(hash: string): Promise<UTxO[]>;
631
+ get(url: string): Promise<any>;
633
632
  }
634
633
 
635
634
  interface IInitiator {
package/package.json CHANGED
@@ -1,8 +1,9 @@
1
1
  {
2
2
  "name": "@meshsdk/common",
3
- "version": "1.7.4",
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",