@utexo/rgb-lib-linux-x64 0.3.0-beta.12 → 0.3.0-beta.12.vss
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/package.json
CHANGED
|
Binary file
|
package/wrapper.js
CHANGED
|
@@ -881,23 +881,6 @@ exports.Wallet = class Wallet {
|
|
|
881
881
|
}
|
|
882
882
|
};
|
|
883
883
|
|
|
884
|
-
exports.validateConsignment = function validateConsignment(filePath, indexerUrl, bitcoinNetwork) {
|
|
885
|
-
const params = { filePath, indexerUrl, bitcoinNetwork };
|
|
886
|
-
const expectedTypes = {
|
|
887
|
-
filePath: "string",
|
|
888
|
-
indexerUrl: "string",
|
|
889
|
-
bitcoinNetwork: "string",
|
|
890
|
-
};
|
|
891
|
-
validateTypes(params, expectedTypes);
|
|
892
|
-
validateEnumValues(
|
|
893
|
-
{ bitcoinNetwork },
|
|
894
|
-
{ bitcoinNetwork: BitcoinNetwork },
|
|
895
|
-
);
|
|
896
|
-
return JSON.parse(
|
|
897
|
-
lib.rgblib_validate_consignment(filePath, indexerUrl, bitcoinNetwork),
|
|
898
|
-
);
|
|
899
|
-
};
|
|
900
|
-
|
|
901
884
|
exports.Invoice = class Invoice {
|
|
902
885
|
constructor(invoiceString) {
|
|
903
886
|
const params = { invoiceString };
|