New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@cryptoeconomicslab/plasma

Package Overview
Dependencies
Maintainers
3
Versions
54
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cryptoeconomicslab/plasma - npm Package Compare versions

Comparing version 0.6.0 to 0.7.0

lib/types/StateUpdateWithFrom.d.ts

4

lib/types/index.d.ts

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc