UNPKG

@signumjs/core

Version:

Principal package with functions and models for building Signum Network applications.

7 lines 339 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.hasAttachmentVersion = hasAttachmentVersion; function hasAttachmentVersion(transaction, versionIdentifier, version = 1) { return transaction?.attachment?.[`version.${versionIdentifier}`] === version; } //# sourceMappingURL=hasAttachmentVersion.js.map