@emurgo/yoroi-lib-core
Advanced tools
Comparing version 0.0.1-alpha.1 to 0.0.1-alpha.2
@@ -13,2 +13,3 @@ export declare const EXCEPTIONS: { | ||
makeIcarusBootstrapWitness(txBodyHash: TransactionHash, addr: ByronAddress, key: Bip32PrivateKey): Promise<BootstrapWitness>; | ||
decodeMetadatumToJsonStr(metadatum: TransactionMetadatum, schema: number): Promise<string>; | ||
BigNum: typeof BigNum; | ||
@@ -496,1 +497,9 @@ LinearFee: typeof LinearFee; | ||
} | ||
export declare abstract class MetadataList extends Ptr { | ||
static new(): Promise<MetadataList>; | ||
static from_bytes(bytes: Uint8Array): Promise<MetadataList>; | ||
abstract len(): Promise<number>; | ||
abstract get(index: number): Promise<TransactionMetadatum>; | ||
abstract add(item: TransactionMetadatum): Promise<void>; | ||
abstract to_bytes(): Promise<Uint8Array>; | ||
} |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.Transaction = exports.TransactionWitnessSet = exports.BootstrapWitnesses = exports.BootstrapWitness = exports.Vkeywitnesses = exports.Vkeywitness = exports.Ed25519Signature = exports.Vkey = exports.Pointer = exports.EnterpriseAddress = exports.PointerAddress = exports.BaseAddress = exports.TransactionBuilder = exports.TransactionBody = exports.TransactionOutputs = exports.TransactionInputs = exports.Withdrawals = exports.RewardAddresses = exports.RewardAddress = exports.Certificates = exports.Certificate = exports.StakeDelegation = exports.StakeDeregistration = exports.StakeRegistration = exports.StakeCredential = exports.TransactionOutput = exports.ByronAddress = exports.Bip32PrivateKey = exports.PrivateKey = exports.Bip32PublicKey = exports.PublicKey = exports.Address = exports.Value = exports.TransactionInput = exports.TransactionHash = exports.Ed25519KeyHash = exports.MultiAsset = exports.ScriptHashes = exports.ScriptHash = exports.Assets = exports.AssetNames = exports.AssetName = exports.AuxiliaryData = exports.TransactionMetadatum = exports.GeneralTransactionMetadata = exports.LinearFee = exports.BigNum = exports.Ptr = exports.WasmProxy = exports.EXCEPTIONS = void 0; | ||
exports.NetworkInfo = void 0; | ||
exports.MetadataList = exports.NetworkInfo = void 0; | ||
// this file contains several "abstract static" methods. | ||
@@ -432,1 +432,10 @@ // This is not an actual feature of TS, but we define the static methods in the abstract classes | ||
exports.NetworkInfo = NetworkInfo; | ||
class MetadataList extends Ptr { | ||
static new() { | ||
throw exports.EXCEPTIONS.SHOULD_BE_OVERWRITTEN; | ||
} | ||
static from_bytes(bytes) { | ||
throw exports.EXCEPTIONS.SHOULD_BE_OVERWRITTEN; | ||
} | ||
} | ||
exports.MetadataList = MetadataList; |
{ | ||
"name": "@emurgo/yoroi-lib-core", | ||
"version": "0.0.1-alpha.1", | ||
"version": "0.0.1-alpha.2", | ||
"description": "", | ||
"main": "dist/index.js", | ||
"files": [ | ||
"dist/**", | ||
"package.json" | ||
"dist/**" | ||
], | ||
@@ -23,3 +22,3 @@ "scripts": { | ||
}, | ||
"author": "", | ||
"author": "EMURGO", | ||
"license": "MIT", | ||
@@ -26,0 +25,0 @@ "dependencies": { |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
No contributors or author data
MaintenancePackage does not specify a list of contributors or an author in package.json.
Found 1 instance in 1 package
215854
3898
1
0