Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@emurgo/yoroi-lib-core

Package Overview
Dependencies
Maintainers
2
Versions
55
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@emurgo/yoroi-lib-core - npm Package Compare versions

Comparing version 0.0.1-alpha.1 to 0.0.1-alpha.2

9

dist/internals/wasm-contract.d.ts

@@ -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>;
}

11

dist/internals/wasm-contract.js
"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;

7

package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc