serum-vial
Advanced tools
Comparing version 0.5.0 to 0.5.1
@@ -410,2 +410,6 @@ "use strict"; | ||
_putInEnvelope(message, publish) { | ||
if (this._options.validateL3Diffs) { | ||
; | ||
message.outTimestamp = new Date().toISOString(); | ||
} | ||
const envelope = { | ||
@@ -412,0 +416,0 @@ type: message.type, |
{ | ||
"name": "serum-vial", | ||
"version": "0.5.0", | ||
"version": "0.5.1", | ||
"engines": { | ||
@@ -5,0 +5,0 @@ "node": ">=15" |
@@ -529,2 +529,6 @@ import { EVENT_QUEUE_LAYOUT, Market, Orderbook, getLayoutVersion } from '@project-serum/serum' | ||
private _putInEnvelope(message: DataMessage, publish: boolean) { | ||
if (this._options.validateL3Diffs) { | ||
;(message as any).outTimestamp = new Date().toISOString() | ||
} | ||
const envelope: MessageEnvelope = { | ||
@@ -531,0 +535,0 @@ type: message.type, |
import { Market } from '@project-serum/serum' | ||
import { Connection } from '@solana/web3.js' | ||
import { | ||
App, | ||
HttpRequest, | ||
HttpResponse, | ||
SHARED_COMPRESSOR, | ||
TemplatedApp, | ||
WebSocket, | ||
us_listen_socket_close | ||
} from 'uWebSockets.js' | ||
import { App, HttpRequest, HttpResponse, SHARED_COMPRESSOR, TemplatedApp, WebSocket } from 'uWebSockets.js' | ||
import { isMainThread, threadId, workerData } from 'worker_threads' | ||
@@ -13,0 +5,0 @@ import { CHANNELS, MESSAGE_TYPES_PER_CHANNEL, OPS } from './consts' |
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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
235930
3856