@0xproject/typescript-typings
Advanced tools
Comparing version 0.3.1 to 0.3.2
[ | ||
{ | ||
"timestamp": 1527009133, | ||
"version": "0.3.2", | ||
"changes": [ | ||
{ | ||
"note": "Dependencies updated" | ||
} | ||
] | ||
}, | ||
{ | ||
"timestamp": 1525477860, | ||
@@ -4,0 +13,0 @@ "version": "0.3.1", |
@@ -8,6 +8,10 @@ <!-- | ||
## v0.3.1 - _May 5, 2018_ | ||
## v0.3.2 - _May 22, 2018_ | ||
* Dependencies updated | ||
## v0.3.1 - _May 4, 2018_ | ||
* Dependencies updated | ||
## v0.3.0 - _May 4, 2018_ | ||
@@ -14,0 +18,0 @@ |
{ | ||
"name": "@0xproject/typescript-typings", | ||
"version": "0.3.1", | ||
"version": "0.3.2", | ||
"engines": { | ||
"node": ">=6.12" | ||
}, | ||
"description": "0x project typescript type definitions", | ||
"scripts": { | ||
"watch": "tsc -w", | ||
"build": "tsc && copyfiles -u 1 './lib/**/*' ./scripts", | ||
@@ -24,8 +28,9 @@ "clean": "shx rm -rf scripts", | ||
"dependencies": { | ||
"@0xproject/types": "^0.6.3", | ||
"@0xproject/types": "^0.7.0", | ||
"bignumber.js": "~4.1.0" | ||
}, | ||
"devDependencies": { | ||
"@0xproject/monorepo-scripts": "^0.1.19", | ||
"@0xproject/monorepo-scripts": "^0.1.20", | ||
"copyfiles": "^1.2.0", | ||
"make-promises-safe": "^1.1.0", | ||
"shx": "^0.2.2" | ||
@@ -32,0 +37,0 @@ }, |
@@ -43,6 +43,6 @@ ## @0xproject/typescript-typings | ||
If this is your **first** time building this package, you must first build **all** packages within the monorepo. This is because packages that depend on other packages located inside this monorepo are symlinked when run from **within** the monorepo. This allows you to make changes across multiple packages without first publishing dependent packages to NPM. To build all packages, run the following from the monorepo root directory: | ||
To build this package and all other monorepo packages that it depends on, run the following from the monorepo root directory: | ||
```bash | ||
yarn lerna:rebuild | ||
PKG=@0xproject/typescript-typings yarn build | ||
``` | ||
@@ -53,17 +53,5 @@ | ||
```bash | ||
yarn dev | ||
PKG=@0xproject/typescript-typings yarn watch | ||
``` | ||
You can also build this specific package by running the following from within its directory: | ||
```bash | ||
yarn build | ||
``` | ||
or continuously rebuild on change: | ||
```bash | ||
yarn build:watch | ||
``` | ||
### Clean | ||
@@ -70,0 +58,0 @@ |
declare module 'ethers' { | ||
import { TxData } from '@0xproject/types'; | ||
export interface TransactionDescription { | ||
@@ -29,4 +31,5 @@ name: string; | ||
export class Contract { | ||
public static getDeployTransaction(bytecode: string, abi: any, ...args: any[]): Partial<TxData>; | ||
constructor(address: string, abi: any, provider: any); | ||
} | ||
} |
@@ -62,2 +62,23 @@ declare module 'solc' { | ||
| 'ewasm.wasm'; | ||
export interface CompilerSettings { | ||
remappings?: string[]; | ||
optimizer?: { | ||
enabled: boolean; | ||
runs?: number; | ||
}; | ||
evmVersion?: 'homestead' | 'tangerineWhistle' | 'spuriousDragon' | 'byzantium' | 'constantinople'; | ||
metadata?: { | ||
useLiteralContent: true; | ||
}; | ||
libraries?: { | ||
[fileName: string]: { | ||
[libName: string]: string; | ||
}; | ||
}; | ||
outputSelection: { | ||
[fileName: string]: { | ||
[contractName: string]: OutputField[]; | ||
}; | ||
}; | ||
} | ||
export interface StandardInput { | ||
@@ -68,23 +89,3 @@ language: 'Solidity' | 'serpent' | 'lll' | 'assembly'; | ||
}; | ||
settings: { | ||
remappings?: string[]; | ||
optimizer?: { | ||
enabled: boolean; | ||
runs?: number; | ||
}; | ||
evmVersion?: 'homestead' | 'tangerineWhistle' | 'spuriousDragon' | 'byzantium' | 'constantinople'; | ||
metadata?: { | ||
useLiteralContent: true; | ||
}; | ||
libraries?: { | ||
[fileName: string]: { | ||
[libName: string]: string; | ||
}; | ||
}; | ||
outputSelection: { | ||
[fileName: string]: { | ||
[contractName: string]: OutputField[]; | ||
}; | ||
}; | ||
}; | ||
settings: CompilerSettings; | ||
} | ||
@@ -119,2 +120,15 @@ export type ErrorType = | ||
import { ContractAbi } from '@0xproject/types'; | ||
export interface StandardContractOutput { | ||
abi: ContractAbi; | ||
evm: { | ||
bytecode: { | ||
object: string; | ||
sourceMap: string; | ||
}; | ||
deployedBytecode: { | ||
object: string; | ||
sourceMap: string; | ||
}; | ||
}; | ||
} | ||
export interface StandardOutput { | ||
@@ -131,15 +145,3 @@ errors: Error[]; | ||
[fileName: string]: { | ||
[contractName: string]: { | ||
abi: ContractAbi; | ||
evm: { | ||
bytecode: { | ||
object: string; | ||
sourceMap: string; | ||
}; | ||
deployedBytecode: { | ||
object: string; | ||
sourceMap: string; | ||
}; | ||
}; | ||
}; | ||
[contractName: string]: StandardContractOutput; | ||
}; | ||
@@ -146,0 +148,0 @@ }; |
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
2436
101296
4
66
+ Added@0xproject/types@0.7.0(transitive)
- Removed@0xproject/types@0.6.3(transitive)
Updated@0xproject/types@^0.7.0