@biglup/cometa 1.0.113 → 1.0.114
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/cjs/index.d.mts +12 -11
- package/dist/cjs/index.d.ts +12 -11
- package/dist/cjs/index.js +2 -2
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/index.d.mts +12 -11
- package/dist/esm/index.d.ts +12 -11
- package/dist/esm/index.js +2 -2
- package/dist/esm/index.js.map +1 -1
- package/dist/iife/index.global.js +2 -2
- package/dist/iife/index.global.js.map +1 -1
- package/package.json +1 -1
package/dist/cjs/index.d.mts
CHANGED
|
@@ -2378,6 +2378,18 @@ type Withdrawals = Record<string, bigint>;
|
|
|
2378
2378
|
*/
|
|
2379
2379
|
declare const addWithdrawal: (withdrawals: Withdrawals, address: string | RewardAddress, amount: bigint) => Withdrawals;
|
|
2380
2380
|
|
|
2381
|
+
/**
|
|
2382
|
+
* @brief Inspects a Cardano transaction CBOR string and converts it into a structured JavaScript object (JSON).
|
|
2383
|
+
*
|
|
2384
|
+
* This function takes a hexadecimal CBOR representation of a Cardano transaction and then serializes it
|
|
2385
|
+
* into a CIP-116 compliant JSON string. Finally, it parses the JSON string into a native JavaScript object.
|
|
2386
|
+
*
|
|
2387
|
+
* @param {string} transactionCbor The hexadecimal string representation of the Cardano transaction CBOR.
|
|
2388
|
+
* @returns {any} A JavaScript object representing the decoded Cardano transaction structure (CIP-116 JSON format).
|
|
2389
|
+
* @throws {Error} If CBOR reading fails, JSON encoding fails, or memory allocation fails.
|
|
2390
|
+
*/
|
|
2391
|
+
declare const inspectTx: (transactionCbor: string) => any;
|
|
2392
|
+
|
|
2381
2393
|
/**
|
|
2382
2394
|
* Class representing an Ed25519 signature.
|
|
2383
2395
|
*
|
|
@@ -5844,17 +5856,6 @@ declare const readTransactionFromCbor: (transactionCbor: string) => number;
|
|
|
5844
5856
|
* @throws {Error} Throws an error if any part of the process fails.
|
|
5845
5857
|
*/
|
|
5846
5858
|
declare const getUniqueSigners: (transactionCbor: string, utxos: UTxO[]) => string[];
|
|
5847
|
-
/**
|
|
5848
|
-
* @brief Inspects a Cardano transaction CBOR string and converts it into a structured JavaScript object (JSON).
|
|
5849
|
-
*
|
|
5850
|
-
* This function takes a hexadecimal CBOR representation of a Cardano transaction and then serializes it
|
|
5851
|
-
* into a CIP-116 compliant JSON string. Finally, it parses the JSON string into a native JavaScript object.
|
|
5852
|
-
*
|
|
5853
|
-
* @param {string} transactionCbor The hexadecimal string representation of the Cardano transaction CBOR.
|
|
5854
|
-
* @returns {any} A JavaScript object representing the decoded Cardano transaction structure (CIP-116 JSON format).
|
|
5855
|
-
* @throws {Error} If CBOR reading fails, JSON encoding fails, or memory allocation fails.
|
|
5856
|
-
*/
|
|
5857
|
-
declare const inspectTx: (transactionCbor: string) => any;
|
|
5858
5859
|
|
|
5859
5860
|
/**
|
|
5860
5861
|
* @hidden
|
package/dist/cjs/index.d.ts
CHANGED
|
@@ -2378,6 +2378,18 @@ type Withdrawals = Record<string, bigint>;
|
|
|
2378
2378
|
*/
|
|
2379
2379
|
declare const addWithdrawal: (withdrawals: Withdrawals, address: string | RewardAddress, amount: bigint) => Withdrawals;
|
|
2380
2380
|
|
|
2381
|
+
/**
|
|
2382
|
+
* @brief Inspects a Cardano transaction CBOR string and converts it into a structured JavaScript object (JSON).
|
|
2383
|
+
*
|
|
2384
|
+
* This function takes a hexadecimal CBOR representation of a Cardano transaction and then serializes it
|
|
2385
|
+
* into a CIP-116 compliant JSON string. Finally, it parses the JSON string into a native JavaScript object.
|
|
2386
|
+
*
|
|
2387
|
+
* @param {string} transactionCbor The hexadecimal string representation of the Cardano transaction CBOR.
|
|
2388
|
+
* @returns {any} A JavaScript object representing the decoded Cardano transaction structure (CIP-116 JSON format).
|
|
2389
|
+
* @throws {Error} If CBOR reading fails, JSON encoding fails, or memory allocation fails.
|
|
2390
|
+
*/
|
|
2391
|
+
declare const inspectTx: (transactionCbor: string) => any;
|
|
2392
|
+
|
|
2381
2393
|
/**
|
|
2382
2394
|
* Class representing an Ed25519 signature.
|
|
2383
2395
|
*
|
|
@@ -5844,17 +5856,6 @@ declare const readTransactionFromCbor: (transactionCbor: string) => number;
|
|
|
5844
5856
|
* @throws {Error} Throws an error if any part of the process fails.
|
|
5845
5857
|
*/
|
|
5846
5858
|
declare const getUniqueSigners: (transactionCbor: string, utxos: UTxO[]) => string[];
|
|
5847
|
-
/**
|
|
5848
|
-
* @brief Inspects a Cardano transaction CBOR string and converts it into a structured JavaScript object (JSON).
|
|
5849
|
-
*
|
|
5850
|
-
* This function takes a hexadecimal CBOR representation of a Cardano transaction and then serializes it
|
|
5851
|
-
* into a CIP-116 compliant JSON string. Finally, it parses the JSON string into a native JavaScript object.
|
|
5852
|
-
*
|
|
5853
|
-
* @param {string} transactionCbor The hexadecimal string representation of the Cardano transaction CBOR.
|
|
5854
|
-
* @returns {any} A JavaScript object representing the decoded Cardano transaction structure (CIP-116 JSON format).
|
|
5855
|
-
* @throws {Error} If CBOR reading fails, JSON encoding fails, or memory allocation fails.
|
|
5856
|
-
*/
|
|
5857
|
-
declare const inspectTx: (transactionCbor: string) => any;
|
|
5858
5859
|
|
|
5859
5860
|
/**
|
|
5860
5861
|
* @hidden
|