📅 You're Invited: Meet the Socket team at RSAC (April 28 – May 1).RSVP →

@drift-labs/jit-proxy

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@drift-labs/jit-proxy - npm Package Compare versions

Comparing version

to
0.14.2

@@ -111,2 +111,9 @@ "use strict";

const orderSlot = Math.min(signedMsgOrderParamsMessage.slot.toNumber(), this.slotSubscriber.getSlot());
/**
* Base asset amount equalling u64::max is a special case that signals to program
* to bring taker to max leverage. Program will calculate the max base asset amount to do this
* once the tx lands on chain.
*
* You will see this is base asset amount is ffffffffffffffff
*/
const signedMsgOrder = {

@@ -113,0 +120,0 @@ status: sdk_1.OrderStatus.OPEN,

{
"name": "@drift-labs/jit-proxy",
"version": "0.14.1",
"version": "0.14.2",
"scripts": {

@@ -5,0 +5,0 @@ "clean": "rm -rf lib",

@@ -256,2 +256,10 @@ /* eslint-disable @typescript-eslint/no-unused-vars */

);
/**
* Base asset amount equalling u64::max is a special case that signals to program
* to bring taker to max leverage. Program will calculate the max base asset amount to do this
* once the tx lands on chain.
*
* You will see this is base asset amount is ffffffffffffffff
*/
const signedMsgOrder: Order = {

@@ -258,0 +266,0 @@ status: OrderStatus.OPEN,