Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@0xproject/types

Package Overview
Dependencies
Maintainers
5
Versions
40
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@0xproject/types - npm Package Compare versions

Comparing version 1.0.0-rc.1 to 1.0.1-rc.1

22

CHANGELOG.json
[
{
"version": "1.0.1-rc.1",
"changes": [
{
"note": "Remove `ECSignatureBuffer`"
}
],
"timestamp": 1532605697
},
{
"timestamp": 1532357734,
"version": "1.0.0",
"changes": [
{
"note": "Dependencies updated"
}
]
},
{
"timestamp": 1532043000,
"version": "1.0.0-rc.1",
"changes": [
{
"notes": "Updated types for V2 of 0x protocol"
"note": "Updated types for V2 of 0x protocol"
},

@@ -35,2 +54,3 @@ {

{
"timestamp": 1527009133,
"version": "0.8.0",

@@ -37,0 +57,0 @@ "changes": [

<!--
This file is auto-generated using the monorepo-scripts package. Don't edit directly.
changelogUtils.file is auto-generated using the monorepo-scripts package. Don't edit directly.
Edit the package's CHANGELOG.json file only.

@@ -8,2 +8,16 @@ -->

## v1.0.1-rc.1 - _July 26, 2018_
* Remove `ECSignatureBuffer`
## v1.0.0 - _July 23, 2018_
* Dependencies updated
## v1.0.0-rc.1 - _July 20, 2018_
* Updated types for V2 of 0x protocol
* Add `ECSignatureBuffer`
* Add Forwarder contract revert reasons
## v0.8.2 - _July 9, 2018_

@@ -17,8 +31,9 @@

## v0.8.0 - _June 1, 2018_
## v0.8.0 - _May 22, 2018_
* Incorrect publish that was unpublished
* Change the order type to v2 format (#618)
## v0.7.0 - _May 22, 2018_
* Make OpCode type an enum (#589)
* Moved ExchangeContractErrs, DoneCallback, Token, OrderRelevantState, OrderStateValid, OrderStateInvalid, OrderState, OrderAddresses and OrderValues types from 0x.js (#579)

@@ -25,0 +40,0 @@

13

lib/index.d.ts

@@ -1,2 +0,1 @@

/// <reference types="node" />
import { BigNumber } from 'bignumber.js';

@@ -44,7 +43,2 @@ import { ContractAbi } from 'ethereum-types';

}
export interface ECSignatureBuffer {
v: number;
r: Buffer;
s: Buffer;
}
/**

@@ -143,3 +137,3 @@ * Validator signature components

ERC20 = "0xf47261b0",
ERC721 = "0x08e937fa",
ERC721 = "0x02571792",
}

@@ -154,3 +148,2 @@ export interface ERC20AssetData {

tokenId: BigNumber;
receiverData: string;
}

@@ -199,6 +192,6 @@ export declare enum RevertReason {

Erc20InsufficientAllowance = "ERC20_INSUFFICIENT_ALLOWANCE",
UnacceptableThreshold = "UNACCEPTABLE_THRESHOLD",
FeeProportionTooLarge = "FEE_PROPORTION_TOO_LARGE",
FeePercentageTooLarge = "FEE_PERCENTAGE_TOO_LARGE",
ValueGreaterThanZero = "VALUE_GREATER_THAN_ZERO",
InvalidMsgValue = "INVALID_MSG_VALUE",
InsufficientEthRemaining = "INSUFFICIENT_ETH_REMAINING",
}

@@ -205,0 +198,0 @@ export declare enum StatusCodes {

@@ -47,3 +47,3 @@ "use strict";

AssetProxyId["ERC20"] = "0xf47261b0";
AssetProxyId["ERC721"] = "0x08e937fa";
AssetProxyId["ERC721"] = "0x02571792";
})(AssetProxyId = exports.AssetProxyId || (exports.AssetProxyId = {}));

@@ -93,6 +93,6 @@ var RevertReason;

RevertReason["Erc20InsufficientAllowance"] = "ERC20_INSUFFICIENT_ALLOWANCE";
RevertReason["UnacceptableThreshold"] = "UNACCEPTABLE_THRESHOLD";
RevertReason["FeeProportionTooLarge"] = "FEE_PROPORTION_TOO_LARGE";
RevertReason["FeePercentageTooLarge"] = "FEE_PERCENTAGE_TOO_LARGE";
RevertReason["ValueGreaterThanZero"] = "VALUE_GREATER_THAN_ZERO";
RevertReason["InvalidMsgValue"] = "INVALID_MSG_VALUE";
RevertReason["InsufficientEthRemaining"] = "INSUFFICIENT_ETH_REMAINING";
})(RevertReason = exports.RevertReason || (exports.RevertReason = {}));

@@ -99,0 +99,0 @@ var StatusCodes;

{
"name": "@0xproject/types",
"version": "1.0.0-rc.1",
"version": "1.0.1-rc.1",
"engines": {

@@ -27,4 +27,4 @@ "node": ">=6.12"

"devDependencies": {
"@0xproject/monorepo-script": "^1.0.0",
"@0xproject/tslint-config": "^1.0.0",
"@0xproject/monorepo-scripts": "^1.0.3",
"@0xproject/tslint-config": "^1.0.3",
"copyfiles": "^1.2.0",

@@ -39,7 +39,8 @@ "make-promises-safe": "^1.1.0",

"bignumber.js": "~4.1.0",
"ethereum-types": "^1.0.0"
"ethereum-types": "^1.0.2"
},
"publishConfig": {
"access": "public"
}
},
"gitHead": "b756f76b0e8fec5d57d86429d030d75f6c3ef6ca"
}

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