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

serum-vial

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

serum-vial - npm Package Compare versions

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