Comparing version 1.0.0-rc.3 to 1.0.0-rc.4
@@ -173,2 +173,4 @@ "use strict"; | ||
this.ajv = new ajv_1.default(); | ||
this.ajv.addKeyword('kind'); | ||
this.ajv.addKeyword('modifier'); | ||
if (jsonSchema) { | ||
@@ -175,0 +177,0 @@ this.validateCommonObject = this.ajv.compile(jsonSchema); |
{ | ||
"name": "waitsocket", | ||
"version": "1.0.0-rc.3", | ||
"version": "1.0.0-rc.4", | ||
"description": "Library for better handling WebSocket interactions and waiting for response messages", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -93,2 +93,4 @@ import { nanoid } from 'nanoid'; | ||
this.ajv = new Ajv(); | ||
this.ajv.addKeyword('kind'); | ||
this.ajv.addKeyword('modifier'); | ||
if (jsonSchema) { | ||
@@ -95,0 +97,0 @@ this.validateCommonObject = this.ajv.compile(jsonSchema); |
Sorry, the diff of this file is not supported yet
76618
1481