@waves/money-like-to-node
Advanced tools
Comparing version 0.1.3 to 0.1.4
@@ -6,7 +6,8 @@ import { TYPES } from '../constants'; | ||
export declare const issue: (data: IWavesGuiIssue) => TWithPartialFee<IIssueTransaction<string>>; | ||
export interface IWavesGuiIssue extends IDefaultGuiTx<typeof TYPES.ISSUE> { | ||
interface IIssue extends IDefaultGuiTx<typeof TYPES.ISSUE> { | ||
name: string; | ||
description: string; | ||
precision: number; | ||
quantity: TLong; | ||
precision?: number; | ||
decimals?: number; | ||
reissuable: boolean; | ||
@@ -16,1 +17,7 @@ chainId: number; | ||
} | ||
export declare type IWavesGuiIssue = IIssue & { | ||
decimals: number; | ||
} | IIssue & { | ||
precision: number; | ||
}; | ||
export {}; |
@@ -17,3 +17,3 @@ "use strict"; | ||
var utils_1 = require("../utils"); | ||
exports.issue = factory_1.factory(__assign({}, general_1.getDefaultTransform(), { name: utils_1.prop('name'), description: utils_1.prop('description'), decimals: utils_1.prop('precision'), quantity: utils_1.pipe(utils_1.prop('quantity'), utils_1.getCoins), reissuable: utils_1.prop('reissuable'), chainId: utils_1.prop('chainId'), script: utils_1.prop('script') })); | ||
exports.issue = factory_1.factory(__assign({}, general_1.getDefaultTransform(), { name: utils_1.prop('name'), description: utils_1.prop('description'), decimals: function (data) { return utils_1.prop('decimals', data) || utils_1.prop('precision', data) || 0; }, quantity: utils_1.pipe(utils_1.prop('quantity'), utils_1.getCoins), reissuable: utils_1.prop('reissuable'), chainId: utils_1.prop('chainId'), script: utils_1.prop('script') })); | ||
//# sourceMappingURL=issue.js.map |
{ | ||
"name": "@waves/money-like-to-node", | ||
"version": "0.1.3", | ||
"version": "0.1.4", | ||
"main": "dist/index.js", | ||
@@ -5,0 +5,0 @@ "typings": "dist/index.d.ts", |
Sorry, the diff of this file is not supported yet
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
81382
1161
0