@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 +5 -6
- package/dist/index.d.ts +5 -6
- package/package.json +2 -1
package/dist/index.d.cts
CHANGED
|
@@ -402,16 +402,14 @@ type CertificateType = {
|
|
|
402
402
|
} | {
|
|
403
403
|
type: "DRepUpdate";
|
|
404
404
|
drepId: string;
|
|
405
|
-
anchor
|
|
405
|
+
anchor?: Anchor;
|
|
406
406
|
};
|
|
407
407
|
type DRep = {
|
|
408
|
-
|
|
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
|
|
405
|
+
anchor?: Anchor;
|
|
406
406
|
};
|
|
407
407
|
type DRep = {
|
|
408
|
-
|
|
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