New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@melonproject/ea-common

Package Overview
Dependencies
Maintainers
5
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@melonproject/ea-common - npm Package Compare versions

Comparing version
0.0.2-next.2
to
0.0.2-next.3
+3
-7
lib/bundle.umd.js
(function (factory) {
typeof define === 'function' && define.amd ? define(factory) :
factory();
typeof define === 'function' && define.amd ? define(factory) :
factory();
}(function () { 'use strict';
function __export(m) {
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
}
Object.defineProperty(exports, "__esModule", { value: true });
__export(require("./types"));
Object.defineProperty(exports, "__esModule", { value: true });
}));
//# sourceMappingURL=bundle.umd.js.map

@@ -1,1 +0,1 @@

{"version":3,"file":"bundle.umd.js","sources":["index.js"],"sourcesContent":["\"use strict\";\nfunction __export(m) {\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\n}\nObject.defineProperty(exports, \"__esModule\", { value: true });\n__export(require(\"./types\"));\n"],"names":[],"mappings":";;;;;IACA,SAAS,QAAQ,CAAC,CAAC,EAAE;IACrB,IAAI,KAAK,IAAI,CAAC,IAAI,CAAC,EAAE,IAAI,CAAC,OAAO,CAAC,cAAc,CAAC,CAAC,CAAC,EAAE,OAAO,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC;IACvE,CAAC;IACD,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,YAAY,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC,CAAC;IAC9D,QAAQ,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC,CAAC;;;;"}
{"version":3,"file":"bundle.umd.js","sources":["index.js"],"sourcesContent":["\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n"],"names":[],"mappings":";;;;;CACA,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,YAAY,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC,CAAC;;;;"}
"use strict";
function __export(m) {
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
}
Object.defineProperty(exports, "__esModule", { value: true });
__export(require("./types"));

@@ -0,1 +1,2 @@

import * as Rx from 'rxjs';
import BigNumber from 'bignumber.js';

@@ -6,15 +7,9 @@ export interface AssetPair {

}
export declare enum OrderbookEventType {
SNAPSHOT = "SNAPSHOT",
UPDATE = "UPDATE"
export declare type OrderbookObserver<O = {}> = (pairs: AssetPair[], options?: O) => Rx.Observable<OrderbookUpdate>;
export interface OrderbookUpdate {
base: string;
quote: string;
updates: OrderbookEntry[];
snapshot?: boolean;
}
export declare type OrderbookEvent = OrderbookUpdateEvent | OrderbookSnapshotEvent;
export interface OrderbookUpdateEvent {
type: OrderbookEventType.UPDATE;
orders: OrderbookEntry[];
}
export interface OrderbookSnapshotEvent {
type: OrderbookEventType.SNAPSHOT;
orders: OrderbookEntry[];
}
export interface OrderbookEntry {

@@ -21,0 +16,0 @@ price: BigNumber;

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var OrderbookEventType;
(function (OrderbookEventType) {
OrderbookEventType["SNAPSHOT"] = "SNAPSHOT";
OrderbookEventType["UPDATE"] = "UPDATE";
})(OrderbookEventType = exports.OrderbookEventType || (exports.OrderbookEventType = {}));
{
"name": "@melonproject/ea-common",
"version": "0.0.2-next.2+6862bbe",
"version": "0.0.2-next.3+608cd08",
"description": "Common functionality for the exchange aggregator packages.",

@@ -71,3 +71,3 @@ "main": "./lib/index.js",

},
"gitHead": "6862bbe9372a476e44011664b212e9d57cf91f71"
"gitHead": "608cd08647bcc9aee88440bc29a4ead575adcd05"
}