@barchart/events-client-js
Advanced tools
Comparing version 1.0.6 to 1.0.7
@@ -24,4 +24,4 @@ const assert = require('@barchart/common-js/lang/assert'), | ||
build(event, context) { | ||
assert.argumentIsRequired(event, 'event', EventType, 'EventType'); | ||
build(type, context) { | ||
assert.argumentIsRequired(type, 'type', EventType, 'EventType'); | ||
assert.argumentIsArray(context,'context'); | ||
@@ -32,3 +32,3 @@ | ||
product: this._product, | ||
event: event, | ||
type: type, | ||
timestamp: Timestamp.now().timestamp, | ||
@@ -35,0 +35,0 @@ context: context, |
{ | ||
"name": "@barchart/events-client-js", | ||
"version": "1.0.6", | ||
"version": "1.0.7", | ||
"description": "JavaScript library for interfacing with Barchart's Events API", | ||
@@ -5,0 +5,0 @@ "author": { |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
1413942