New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@waves.exchange/matcher-ws

Package Overview
Dependencies
Maintainers
6
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@waves.exchange/matcher-ws - npm Package Compare versions

Comparing version 0.0.3 to 0.0.4

4

dist/orderbook.d.ts
import { Observable, WebSocketSubject } from '@waves.exchange/reactive';
import { BigNumber } from '@waves/bignumber';
export declare type Side = 'BUY' | 'SELL';
export declare type Side = 'buy' | 'sell';
export declare type RawPrice = string;

@@ -30,3 +30,3 @@ export declare type RawVolume = string;

declare type Trade = Order & {
type: 'buy' | 'sell';
type: Side;
};

@@ -33,0 +33,0 @@ export declare type Orderbook = {

@@ -50,3 +50,3 @@ "use strict";

amount: new bignumber_1.BigNumber(rawAmount),
type: rawSide === 'BUY' ? 'buy' : 'sell'
type: String(rawSide).toLowerCase() === 'buy' ? 'buy' : 'sell'
};

@@ -53,0 +53,0 @@ }

{
"name": "@waves.exchange/matcher-ws",
"version": "0.0.3",
"version": "0.0.4",
"main": "dist/index.js",

@@ -5,0 +5,0 @@ "typings": "dist/index.d.ts",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc