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

@0x/utils

Package Overview
Dependencies
Maintainers
6
Versions
61
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@0x/utils - npm Package Compare versions

Comparing version 5.0.0 to 5.1.0

lib/src/hex_utils.d.ts

10

CHANGELOG.json
[
{
"version": "5.1.0",
"changes": [
{
"note": "Added hex_utils",
"pr": 2373
}
],
"timestamp": 1575931811
},
{
"version": "5.0.0",

@@ -4,0 +14,0 @@ "changes": [

4

CHANGELOG.md

@@ -8,2 +8,6 @@ <!--

## v5.1.0 - _December 9, 2019_
* Added hex_utils (#2373)
## v5.0.0 - _December 2, 2019_

@@ -10,0 +14,0 @@

@@ -15,2 +15,3 @@ export { promisify } from './promisify';

export { signTypedDataUtils } from './sign_typed_data_utils';
export { hexUtils } from './hex_utils';
export import AbiEncoder = require('./abi_encoder');

@@ -17,0 +18,0 @@ export * from './types';

@@ -32,2 +32,4 @@ "use strict";

exports.signTypedDataUtils = sign_typed_data_utils_1.signTypedDataUtils;
var hex_utils_1 = require("./hex_utils");
exports.hexUtils = hex_utils_1.hexUtils;
exports.AbiEncoder = require("./abi_encoder");

@@ -34,0 +36,0 @@ var random_1 = require("./random");

@@ -73,2 +73,6 @@ "use strict";

};
if (provider.enable) {
// Need to bind, metamask can lose reference to function without binding as of 7.7.0
provider.enable.bind(supportedProvider);
}
// Case 1: We've already converted to our ZeroExProvider so noop.

@@ -75,0 +79,0 @@ if (supportedProvider.isStandardizedProvider) {

6

lib/src/revert_errors/exchange-forwarder/revert_errors.d.ts

@@ -15,5 +15,2 @@ import { BigNumber } from '../../configured_bignumber';

}
export declare class FeePercentageTooLargeError extends RevertError {
constructor(feePercentage?: BigNumber | number | string);
}
export declare class InsufficientEthForFeeError extends RevertError {

@@ -34,2 +31,5 @@ constructor(ethFeeRequired?: BigNumber | number | string, ethAvailable?: BigNumber | number | string);

}
export declare class EthFeeLengthMismatchError extends RevertError {
constructor(ethFeesLength?: BigNumber | number | string, feeRecipientsLength?: BigNumber | number | string);
}
//# sourceMappingURL=revert_errors.d.ts.map

@@ -61,12 +61,2 @@ "use strict";

exports.UnsupportedFeeError = UnsupportedFeeError;
var FeePercentageTooLargeError = /** @class */ (function (_super) {
__extends(FeePercentageTooLargeError, _super);
function FeePercentageTooLargeError(feePercentage) {
return _super.call(this, 'FeePercentageTooLargeError', 'FeePercentageTooLargeError(uint256 feePercentage)', {
feePercentage: feePercentage,
}) || this;
}
return FeePercentageTooLargeError;
}(revert_error_1.RevertError));
exports.FeePercentageTooLargeError = FeePercentageTooLargeError;
var InsufficientEthForFeeError = /** @class */ (function (_super) {

@@ -119,2 +109,13 @@ __extends(InsufficientEthForFeeError, _super);

exports.Erc721AmountMustEqualOneError = Erc721AmountMustEqualOneError;
var EthFeeLengthMismatchError = /** @class */ (function (_super) {
__extends(EthFeeLengthMismatchError, _super);
function EthFeeLengthMismatchError(ethFeesLength, feeRecipientsLength) {
return _super.call(this, 'EthFeeLengthMismatchError', 'EthFeeLengthMismatchError(uint256 ethFeesLength, uint256 feeRecipientsLength)', {
ethFeesLength: ethFeesLength,
feeRecipientsLength: feeRecipientsLength,
}) || this;
}
return EthFeeLengthMismatchError;
}(revert_error_1.RevertError));
exports.EthFeeLengthMismatchError = EthFeeLengthMismatchError;
var types = [

@@ -125,3 +126,2 @@ UnregisteredAssetProxyError,

UnsupportedFeeError,
FeePercentageTooLargeError,
InsufficientEthForFeeError,

@@ -132,2 +132,3 @@ OverspentWethError,

Erc721AmountMustEqualOneError,
EthFeeLengthMismatchError,
];

@@ -134,0 +135,0 @@ try {

import { AbiEncoder } from '.';
import { BigNumber } from './index';
export interface FunctionInfo {

@@ -17,2 +18,3 @@ functionSignature: string;

}
export declare type Numberish = BigNumber | string | number;
//# sourceMappingURL=types.d.ts.map
{
"name": "@0x/utils",
"version": "5.0.0",
"version": "5.1.0",
"engines": {

@@ -48,3 +48,3 @@ "node": ">=6.12"

"dependencies": {
"@0x/types": "^3.0.0",
"@0x/types": "^3.1.0",
"@0x/typescript-typings": "^5.0.0",

@@ -66,3 +66,3 @@ "@types/node": "*",

},
"gitHead": "761d0a0f1849c6e247f7219b9cee4f7a18473409"
"gitHead": "6b0f3570b964049ca471f242e9001a0ae2e3276b"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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