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

@0x/json-schemas

Package Overview
Dependencies
Maintainers
9
Versions
69
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@0x/json-schemas - npm Package Compare versions

Comparing version 5.3.5 to 5.4.0

lib/schemas/v4_rfq_order_schema.json

78

lib/src/schemas.d.ts

@@ -878,3 +878,81 @@ export declare const schemas: {

};
v4SignatureSchema: {
"id": string;
"properties": {
"signatureType": {
"enum": number[];
};
"v": {
"enum": number[];
};
"r": {
"$ref": string;
};
"s": {
"$ref": string;
};
};
"required": string[];
"type": string;
};
v4RfqOrderSchema: {
"id": string;
"properties": {
"maker": {
"$ref": string;
};
"taker": {
"$ref": string;
};
"txOrigin": {
"$ref": string;
};
"makerAmount": {
"$ref": string;
};
"takerAmount": {
"$ref": string;
};
"makerToken": {
"$ref": string;
};
"takerToken": {
"$ref": string;
};
"salt": {
"$ref": string;
};
"expiry": {
"$ref": string;
};
"chainId": {
"type": string;
};
"verifyingContract": {
"$ref": string;
};
"pool": {
"$ref": string;
};
};
"required": string[];
"type": string;
};
v4RfqSignedOrderSchema: {
"id": string;
"allOf": ({
"$ref": string;
"properties"?: undefined;
"required"?: undefined;
} | {
"properties": {
"signature": {
"$ref": string;
};
};
"required": string[];
"$ref"?: undefined;
})[];
};
};
//# sourceMappingURL=schemas.d.ts.map

@@ -46,2 +46,5 @@ "use strict";

const txDataSchema = require("../schemas/tx_data_schema.json");
const v4RfqOrderSchema = require("../schemas/v4_rfq_order_schema.json");
const v4RfqSignedOrderSchema = require("../schemas/v4_rfq_signed_order_schema.json");
const v4SignatureSchema = require("../schemas/v4_signature_schema.json");
const wholeNumberSchema = require("../schemas/whole_number_schema.json");

@@ -95,3 +98,6 @@ const zeroExTransactionSchema = require("../schemas/zero_ex_transaction_schema.json");

wholeNumberSchema,
v4SignatureSchema,
v4RfqOrderSchema,
v4RfqSignedOrderSchema,
};
//# sourceMappingURL=schemas.js.map

4

package.json
{
"name": "@0x/json-schemas",
"version": "5.3.5",
"version": "5.4.0",
"engines": {

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

},
"gitHead": "11b7546f43cea98553a2ba32f4060a376c5bee61"
"gitHead": "4f91bfd907996b2f4dd383778b50c479c2602b56"
}

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