@0xcert/scaffold
Advanced tools
Comparing version 2.0.0-alpha1 to 2.0.0-alpha2
@@ -5,4 +5,4 @@ { | ||
{ | ||
"version": "2.0.0-alpha1", | ||
"tag": "@0xcert/scaffold_v2.0.0-alpha1", | ||
"version": "2.0.0-alpha2", | ||
"tag": "@0xcert/scaffold_v2.0.0-alpha2", | ||
"date": "Wed, 19 Jun 2019 10:31:05 GMT", | ||
@@ -9,0 +9,0 @@ "comments": {} |
@@ -5,3 +5,3 @@ # Change Log - @0xcert/scaffold | ||
## 2.0.0-alpha1 | ||
## 2.0.0-alpha2 | ||
Wed, 19 Jun 2019 10:31:05 GMT | ||
@@ -8,0 +8,0 @@ |
@@ -0,1 +1,2 @@ | ||
import { AssetLedgerBase, GatewayBase, ValueLedgerBase } from '..'; | ||
export declare enum MutationEvent { | ||
@@ -6,2 +7,3 @@ COMPLETE = "complete", | ||
} | ||
export declare type MutationContext = AssetLedgerBase | ValueLedgerBase | GatewayBase; | ||
export interface MutationBase { | ||
@@ -12,2 +14,3 @@ id: string; | ||
receiverId: string; | ||
logs: any[]; | ||
isPending(): boolean; | ||
@@ -14,0 +17,0 @@ isCompleted(): boolean; |
{ | ||
"name": "@0xcert/scaffold", | ||
"version": "2.0.0-alpha1", | ||
"version": "2.0.0-alpha2", | ||
"description": "Overarching module with types, enums, and interfaces for easier development of interoperable modules.", | ||
@@ -70,3 +70,3 @@ "main": "./dist/index.js", | ||
"@types/node": "^10.12.24", | ||
"nyc": "^13.1.0", | ||
"nyc": "^14.1.1", | ||
"ts-node": "^7.0.1", | ||
@@ -73,0 +73,0 @@ "tslint": "^5.12.1", |
@@ -0,1 +1,3 @@ | ||
import { AssetLedgerBase, GatewayBase, ValueLedgerBase } from '..'; | ||
/** | ||
@@ -11,2 +13,7 @@ * Mutation event kinds. | ||
/** | ||
* Mutation context base. | ||
*/ | ||
export type MutationContext = AssetLedgerBase | ValueLedgerBase | GatewayBase; | ||
/** | ||
* Mutation interface. | ||
@@ -37,2 +44,7 @@ */ | ||
/** | ||
* Mutation logs. | ||
*/ | ||
logs: any[]; | ||
/** | ||
* Checks if mutation in pending. | ||
@@ -39,0 +51,0 @@ */ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
64859
44
1615