@waves/waves-transactions
Advanced tools
Comparing version 3.10.3 to 3.10.4
@@ -231,3 +231,6 @@ import { TypelessDataEntry } from './transactions/data'; | ||
*/ | ||
args: any[]; | ||
args: { | ||
type: 'binary' | 'integer' | 'boolean' | 'string'; | ||
value: string | number | boolean; | ||
}[]; | ||
} | ||
@@ -234,0 +237,0 @@ /** |
@@ -19,3 +19,3 @@ "use strict"; | ||
payment: paramsOrTx.payment || [], | ||
fee: generic_1.fee(paramsOrTx, 1000000), | ||
fee: generic_1.fee(paramsOrTx, 500000), | ||
feeAssetId: paramsOrTx.feeAssetId, | ||
@@ -22,0 +22,0 @@ timestamp: paramsOrTx.timestamp || Date.now(), |
{ | ||
"name": "@waves/waves-transactions", | ||
"version": "3.10.3", | ||
"version": "3.10.4", | ||
"description": "Build and sign(multi-sign) transactions for Waves blockchain.", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -44,2 +44,9 @@ # waves-transactions [![npm version](https://badge.fury.io/js/%40waves%2Fwaves-transactions.svg)](https://badge.fury.io/js/%40waves%2Fwaves-transactions) | ||
}, seed) | ||
// or using alias | ||
const signedTranserTx = transfer({ | ||
amount: 1, | ||
recipient: 'alias:W:aliasForMyAddress' | ||
}, seed) | ||
``` | ||
@@ -46,0 +53,0 @@ |
@@ -272,4 +272,8 @@ import { TypelessDataEntry } from './transactions/data' | ||
*/ | ||
args: any[] | ||
args: { | ||
type: 'binary' | 'integer' | 'boolean' | 'string', | ||
value: string | number | boolean | ||
}[] | ||
} | ||
/** | ||
@@ -304,11 +308,11 @@ * @typeparam LONG Generic type representing LONG type. Default to string | number. Since javascript number more than 2 ** 53 -1 cannot be precisely represented, generic type is used | ||
export interface IOrderV1<LONG = string | number> extends IOrder<LONG > { | ||
export interface IOrderV1<LONG = string | number> extends IOrder<LONG> { | ||
version: 1 | undefined | ||
} | ||
export interface IOrderV2<LONG = string | number> extends IOrder<LONG > { | ||
export interface IOrderV2<LONG = string | number> extends IOrder<LONG> { | ||
version: 2 | ||
} | ||
export interface IOrderV3<LONG = string | number> extends IOrder<LONG > { | ||
export interface IOrderV3<LONG = string | number> extends IOrder<LONG> { | ||
version: 3 | ||
@@ -315,0 +319,0 @@ matcherFeeAssetId?: string | null |
@@ -30,3 +30,3 @@ import { | ||
payment: paramsOrTx.payment || [], | ||
fee: fee(paramsOrTx, 1000000), | ||
fee: fee(paramsOrTx, 500000), | ||
feeAssetId: paramsOrTx.feeAssetId, | ||
@@ -33,0 +33,0 @@ timestamp: paramsOrTx.timestamp || Date.now(), |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
741377
5937
124