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

@waves/money-like-to-node

Package Overview
Dependencies
Maintainers
15
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@waves/money-like-to-node - npm Package Compare versions

Comparing version 0.1.9-0 to 0.1.9

2

dist/converters/index.d.ts

@@ -67,3 +67,3 @@ import { IAliasTransaction, IBurnTransaction, ICancelLeaseTransaction, IDataTransaction, IExchangeTransaction, IIssueTransaction, ILeaseTransaction, IMassTransferTransaction, IReissueTransaction, ISetAssetScriptTransaction, ISetScriptTransaction, ISponsorshipTransaction, ITransferTransaction, IExchangeTransactionOrderWithProofs, IMassTransferItem, IUpdateAssetInfoTransaction, IInvokeScriptCall, IInvokeScriptTransaction, IInvokeScriptPayment, TInvokeScriptCallArgument, TDataTransactionEntry, TTransaction } from '@waves/ts-types';

export declare const sponsorship: <FROM, TO, TX extends ISponsorshipTransaction<FROM>>(tx: TX, factory: IFactory<FROM, TO>) => TReplaceParam<TX, "fee", TO> & {
minSponsoredAssetFee: TO;
minSponsoredAssetFee: TO | null;
};

@@ -70,0 +70,0 @@ export declare const invokeScript: <FROM, TO, TX extends IInvokeScriptTransaction<FROM>>(tx: TX, factory: IFactory<FROM, TO>) => TReplaceParam<TX, "fee", TO> & {

@@ -39,3 +39,3 @@ "use strict";

exports.setScript = function (tx, factory) { return defaultConvert(tx, factory); };
exports.sponsorship = function (tx, factory) { return (__assign(__assign({}, defaultConvert(tx, factory)), { minSponsoredAssetFee: factory(tx.minSponsoredAssetFee) })); };
exports.sponsorship = function (tx, factory) { return (__assign(__assign({}, defaultConvert(tx, factory)), { minSponsoredAssetFee: tx.minSponsoredAssetFee !== null ? factory(tx.minSponsoredAssetFee) : null })); };
exports.invokeScript = function (tx, factory) { return (__assign(__assign({}, defaultConvert(tx, factory)), { payment: tx.payment && tx.payment.map(function (item) { return (__assign(__assign({}, item), { amount: factory(item.amount) })); }), call: __assign(__assign({}, tx.call), { args: tx.call && tx.call.args.map(function (item) { return (__assign(__assign({}, item), { value: item.type === 'integer' ? factory(item.value) : item.value })); }) }) })); };

@@ -42,0 +42,0 @@ exports.updateAssetInfo = function (tx, factory) { return (__assign({}, defaultConvert(tx, factory))); };

{
"name": "@waves/money-like-to-node",
"version": "0.1.9-0",
"version": "0.1.9",
"main": "dist/index.js",

@@ -5,0 +5,0 @@ "typings": "dist/index.d.ts",

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