@iota/bundle
Advanced tools
Comparing version 1.0.0-beta.722117ce to 1.0.0-beta.782a2845
"use strict"; | ||
/** @module bundle */ | ||
var __assign = (this && this.__assign) || Object.assign || function(t) { | ||
for (var s, i = 1, n = arguments.length; i < n; i++) { | ||
s = arguments[i]; | ||
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) | ||
t[p] = s[p]; | ||
} | ||
return t; | ||
var __assign = (this && this.__assign) || function () { | ||
__assign = Object.assign || function(t) { | ||
for (var s, i = 1, n = arguments.length; i < n; i++) { | ||
s = arguments[i]; | ||
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) | ||
t[p] = s[p]; | ||
} | ||
return t; | ||
}; | ||
return __assign.apply(this, arguments); | ||
}; | ||
@@ -17,3 +20,2 @@ exports.__esModule = true; | ||
require("../../typed-array"); | ||
var t = new Int8Array(1).slice(); | ||
var NULL_HASH_TRYTES = '9'.repeat(81); | ||
@@ -20,0 +22,0 @@ var NULL_TAG_TRYTES = '9'.repeat(27); |
"use strict"; | ||
var __assign = (this && this.__assign) || Object.assign || function(t) { | ||
for (var s, i = 1, n = arguments.length; i < n; i++) { | ||
s = arguments[i]; | ||
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) | ||
t[p] = s[p]; | ||
} | ||
return t; | ||
var __assign = (this && this.__assign) || function () { | ||
__assign = Object.assign || function(t) { | ||
for (var s, i = 1, n = arguments.length; i < n; i++) { | ||
s = arguments[i]; | ||
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) | ||
t[p] = s[p]; | ||
} | ||
return t; | ||
}; | ||
return __assign.apply(this, arguments); | ||
}; | ||
@@ -10,0 +13,0 @@ exports.__esModule = true; |
{ | ||
"name": "@iota/bundle", | ||
"version": "1.0.0-beta.722117ce", | ||
"version": "1.0.0-beta.782a2845", | ||
"description": "Utilities for generating and signing bundles", | ||
@@ -14,3 +14,3 @@ "main": "./out/bundle/src/index.js", | ||
"test-ci": "nyc ava", | ||
"format": "prettier", | ||
"lint": "tslint --project .", | ||
"docs": "tsc && jsdoc2md --no-cache --plugin dmd-clear -t README_tpl.hbs --files './out/**/*.js' > README.md" | ||
@@ -68,7 +68,7 @@ }, | ||
"dependencies": { | ||
"@iota/converter": "^1.0.0-beta.722117ce", | ||
"@iota/kerl": "^1.0.0-beta.722117ce", | ||
"@iota/pad": "^1.0.0-beta.722117ce", | ||
"@iota/signing": "^1.0.0-beta.722117ce" | ||
"@iota/converter": "^1.0.0-beta.782a2845", | ||
"@iota/kerl": "^1.0.0-beta.782a2845", | ||
"@iota/pad": "^1.0.0-beta.782a2845", | ||
"@iota/signing": "^1.0.0-beta.782a2845" | ||
} | ||
} |
@@ -8,4 +8,9 @@ /** @module bundle */ | ||
import '../../typed-array' | ||
import { Bundle, Hash, Transaction, Trytes } from '../../types' | ||
const t = new Int8Array(1).slice() | ||
import { | ||
Bundle, | ||
Hash, | ||
Transaction, // tslint:disable-line no-unused-variable | ||
Trytes, | ||
} from '../../types' | ||
const NULL_HASH_TRYTES = '9'.repeat(81) | ||
@@ -12,0 +17,0 @@ const NULL_TAG_TRYTES = '9'.repeat(27) |
@@ -0,3 +1,5 @@ | ||
/** @module bundle */ | ||
import '../../typed-array'; | ||
import { Hash, Transaction, Trytes } from '../../types'; | ||
import { Hash, Transaction, // tslint:disable-line no-unused-variable | ||
Trytes } from '../../types'; | ||
export interface BundleEntry { | ||
@@ -4,0 +6,0 @@ readonly length: number; |
@@ -1,2 +0,1 @@ | ||
/// <reference types="bluebird" /> | ||
import * as Promise from 'bluebird'; | ||
@@ -72,3 +71,3 @@ export declare type Maybe<T> = T | void; | ||
CHECK_CONSISTENCY = "checkConsistency", | ||
WERE_ADDRESSES_SPENT_FROM = "wereAddressesSpentFrom", | ||
WERE_ADDRESSES_SPENT_FROM = "wereAddressesSpentFrom" | ||
} | ||
@@ -75,0 +74,0 @@ export interface BaseCommand { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
67210
21
949