@cryptoeconomicslab/plasma
Advanced tools
Comparing version 0.6.0 to 0.7.0
@@ -12,3 +12,5 @@ import StateUpdate from './StateUpdate'; | ||
import Exit from './Exit'; | ||
import StateUpdateWithFrom from './StateUpdateWithFrom'; | ||
import StateUpdateWithFromRecord from './StateUpdateWithFromRecord'; | ||
export * from './ExitChallenge'; | ||
export { StateUpdate, StateUpdateRecord, Block, DepositTransaction, TransactionReceipt, TRANSACTION_STATUS, Checkpoint, Exit, Transaction, UnsignedTransaction, SignedTransaction, IncludedTransaction }; | ||
export { StateUpdate, StateUpdateRecord, Block, DepositTransaction, TransactionReceipt, TRANSACTION_STATUS, Checkpoint, Exit, Transaction, UnsignedTransaction, SignedTransaction, IncludedTransaction, StateUpdateWithFrom, StateUpdateWithFromRecord }; |
@@ -25,3 +25,7 @@ "use strict"; | ||
exports.Exit = Exit_1.default; | ||
const StateUpdateWithFrom_1 = tslib_1.__importDefault(require("./StateUpdateWithFrom")); | ||
exports.StateUpdateWithFrom = StateUpdateWithFrom_1.default; | ||
const StateUpdateWithFromRecord_1 = tslib_1.__importDefault(require("./StateUpdateWithFromRecord")); | ||
exports.StateUpdateWithFromRecord = StateUpdateWithFromRecord_1.default; | ||
tslib_1.__exportStar(require("./ExitChallenge"), exports); | ||
//# sourceMappingURL=index.js.map |
@@ -5,2 +5,3 @@ import { Address, Bytes, BigNumber, Range, Property, Struct, FixedBytes } from '@cryptoeconomicslab/primitives'; | ||
import JSBI from 'jsbi'; | ||
import { StateUpdateWithFrom } from '.'; | ||
export default class StateUpdate { | ||
@@ -29,2 +30,3 @@ depositContractAddress: Address; | ||
toStruct(): Struct; | ||
withFrom(from: Address): StateUpdateWithFrom; | ||
} |
@@ -9,2 +9,3 @@ "use strict"; | ||
const jsbi_1 = tslib_1.__importDefault(require("jsbi")); | ||
const _1 = require("."); | ||
class StateUpdate { | ||
@@ -79,4 +80,7 @@ constructor(depositContractAddress, range, blockNumber, stateObject, chunkId) { | ||
} | ||
withFrom(from) { | ||
return new _1.StateUpdateWithFrom(this.depositContractAddress, this.range, this.blockNumber, this.stateObject, this.chunkId, from); | ||
} | ||
} | ||
exports.default = StateUpdate; | ||
//# sourceMappingURL=StateUpdate.js.map |
{ | ||
"name": "@cryptoeconomicslab/plasma", | ||
"version": "0.6.0", | ||
"version": "0.7.0", | ||
"description": "plasma module", | ||
@@ -40,14 +40,14 @@ "author": { | ||
"dependencies": { | ||
"@cryptoeconomicslab/db": "^0.6.0", | ||
"@cryptoeconomicslab/hash": "^0.6.0", | ||
"@cryptoeconomicslab/merkle-tree": "^0.6.0", | ||
"@cryptoeconomicslab/wallet": "^0.6.0", | ||
"@cryptoeconomicslab/db": "^0.7.0", | ||
"@cryptoeconomicslab/hash": "^0.7.0", | ||
"@cryptoeconomicslab/merkle-tree": "^0.7.0", | ||
"@cryptoeconomicslab/wallet": "^0.7.0", | ||
"jsbi": "^3.1.2" | ||
}, | ||
"devDependencies": { | ||
"@cryptoeconomicslab/coder": "^0.6.0", | ||
"@cryptoeconomicslab/context": "^0.6.0", | ||
"@cryptoeconomicslab/eth-coder": "^0.6.0", | ||
"@cryptoeconomicslab/primitives": "^0.6.0", | ||
"@cryptoeconomicslab/utils": "^0.6.0" | ||
"@cryptoeconomicslab/coder": "^0.7.0", | ||
"@cryptoeconomicslab/context": "^0.7.0", | ||
"@cryptoeconomicslab/eth-coder": "^0.7.0", | ||
"@cryptoeconomicslab/primitives": "^0.7.0", | ||
"@cryptoeconomicslab/utils": "^0.7.0" | ||
}, | ||
@@ -57,3 +57,3 @@ "peerDependencies": { | ||
}, | ||
"gitHead": "7475dc8ab22bde869bcd482e2b1ae21c293c8e12" | ||
"gitHead": "51734dc3ede81d936f2b24f878501be09b666cea" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
96597
63
1098
+ Added@cryptoeconomicslab/coder@0.7.0(transitive)
+ Added@cryptoeconomicslab/context@0.7.0(transitive)
+ Added@cryptoeconomicslab/db@0.7.0(transitive)
+ Added@cryptoeconomicslab/hash@0.7.0(transitive)
+ Added@cryptoeconomicslab/merkle-tree@0.7.0(transitive)
+ Added@cryptoeconomicslab/utils@0.7.0(transitive)
+ Added@cryptoeconomicslab/wallet@0.7.0(transitive)
- Removed@cryptoeconomicslab/coder@0.6.0(transitive)
- Removed@cryptoeconomicslab/context@0.6.0(transitive)
- Removed@cryptoeconomicslab/db@0.6.0(transitive)
- Removed@cryptoeconomicslab/hash@0.6.0(transitive)
- Removed@cryptoeconomicslab/merkle-tree@0.6.0(transitive)
- Removed@cryptoeconomicslab/utils@0.6.0(transitive)
- Removed@cryptoeconomicslab/wallet@0.6.0(transitive)