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

@meshsdk/core

Package Overview
Dependencies
Maintainers
1
Versions
106
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@meshsdk/core - npm Package Compare versions

Comparing version 1.2.1-beta.1 to 1.2.1-beta.2

5

dist/common/utils/builder.d.ts
import { csl } from '@mesh/core';
import type { BaseAddress, Bip32PrivateKey, DataCost, DatumSource, Ed25519KeyHash, EnterpriseAddress, PlutusScriptSource, RewardAddress, TransactionBuilder, TransactionOutputBuilder, TxInputsBuilder } from '@mesh/core';
import type { Data, PlutusScript, Recipient, UTxO } from '@mesh/common/types';
import type { BaseAddress, Bip32PrivateKey, DataCost, DatumSource, Ed25519KeyHash, EnterpriseAddress, MintWitness, PlutusScriptSource, RewardAddress, TransactionBuilder, TransactionOutputBuilder, TxInputsBuilder } from '@mesh/core';
import type { Action, Data, PlutusScript, Recipient, UTxO } from '@mesh/common/types';
export declare const buildBaseAddress: (networkId: number, paymentKeyHash: Ed25519KeyHash, stakeKeyHash: Ed25519KeyHash) => BaseAddress;

@@ -10,2 +10,3 @@ export declare const buildBip32PrivateKey: (entropy: string, password?: string) => Bip32PrivateKey;

export declare const buildGeneralTxMetadata: (metadata: Record<string, unknown>) => csl.GeneralTransactionMetadata;
export declare const buildMintWitness: (script: string | PlutusScript | UTxO, redeemer?: Action) => MintWitness;
export declare const buildRewardAddress: (networkId: number, stakeKeyHash: Ed25519KeyHash) => RewardAddress;

@@ -12,0 +13,0 @@ export declare const buildPlutusScriptSource: (script: PlutusScript | UTxO) => PlutusScriptSource;

3

dist/core/CSL.d.ts

@@ -57,2 +57,5 @@ import { csl } from '.';

export declare type MintAssets = InstanceType<typeof csl.MintAssets>;
export declare type MintBuilder = InstanceType<typeof csl.MintBuilder>;
export declare type MintWitness = InstanceType<typeof csl.MintWitness>;
export declare type MintsAssets = InstanceType<typeof csl.MintsAssets>;
export declare type MoveInstantaneousReward = InstanceType<typeof csl.MoveInstantaneousReward>;

@@ -59,0 +62,0 @@ export declare type MoveInstantaneousRewardsCert = InstanceType<typeof csl.MoveInstantaneousRewardsCert>;

@@ -10,2 +10,3 @@ import { IInitiator } from '@mesh/common/contracts';

private readonly _initiator?;
private readonly _mintBuilder;
private readonly _protocolParameters;

@@ -17,13 +18,13 @@ private readonly _txBuilder;

constructor(options?: Partial<CreateTxOptions>);
static maskMetadata(cborTx: string): string;
static maskMetadata(cborTx: string, era?: Era): string;
static readMetadata(cborTx: string): string;
static writeMetadata(cborTx: string, cborTxMetadata: string): string;
static writeMetadata(cborTx: string, cborTxMetadata: string, era?: Era): string;
get size(): number;
build(): Promise<string>;
burnAsset(forgeScript: string, asset: Asset): Transaction;
burnAsset(forgeScript: string | PlutusScript | UTxO, asset: Asset, redeemer?: Action): Transaction;
delegateStake(rewardAddress: string, poolId: string): Transaction;
deregisterStake(rewardAddress: string): Transaction;
mintAsset(forgeScript: string, mint: Mint): Transaction;
mintAsset(forgeScript: string | PlutusScript | UTxO, mint: Mint, redeemer?: Action): Transaction;
redeemValue(options: {
value: UTxO | Mint;
value: UTxO;
script: PlutusScript | UTxO;

@@ -30,0 +31,0 @@ datum: Data | UTxO;

@@ -6,3 +6,3 @@ {

"author": "MeshJS",
"version": "1.2.1-beta.1",
"version": "1.2.1-beta.2",
"license": "Apache-2.0",

@@ -9,0 +9,0 @@ "type": "module",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

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