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

@cubexch/client

Package Overview
Dependencies
Maintainers
0
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cubexch/client - npm Package Compare versions

Comparing version 1.4.1 to 1.5.0

7

lib/codes.js
"use strict";
/* eslint-disable */
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
// versions:
// protoc-gen-ts_proto v1.181.1
// protoc v4.25.3
// source: codes.proto
Object.defineProperty(exports, "__esModule", { value: true });
exports.CloseCode = exports.protobufPackage = void 0;
/* eslint-disable */
exports.protobufPackage = "codes";

@@ -6,0 +11,0 @@ /**

"use strict";
/* eslint-disable */
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
// versions:
// protoc-gen-ts_proto v1.181.1
// protoc v4.25.3
// source: market_data.proto
Object.defineProperty(exports, "__esModule", { value: true });
exports.MarketByOrderDiff_DiffOp = exports.MarketByPriceDiff_DiffOp = exports.RateUpdateSide = exports.AggressingSide = exports.MarketState = exports.KlineInterval = exports.Side = exports.protobufPackage = void 0;
/* eslint-disable */
exports.protobufPackage = "market_data";

@@ -6,0 +11,0 @@ /**

19

lib/methods/codes.js

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

default:
throw new tsProtoGlobalThis.Error("Unrecognized enum value " + object + " for enum CloseCode");
throw new globalThis.Error("Unrecognized enum value " + object + " for enum CloseCode");
}

@@ -51,20 +51,5 @@ }

default:
throw new tsProtoGlobalThis.Error("Unrecognized enum value " + object + " for enum CloseCode");
throw new globalThis.Error("Unrecognized enum value " + object + " for enum CloseCode");
}
}
exports.closeCodeToJSON = closeCodeToJSON;
var tsProtoGlobalThis = (() => {
if (typeof globalThis !== "undefined") {
return globalThis;
}
if (typeof self !== "undefined") {
return self;
}
if (typeof window !== "undefined") {
return window;
}
if (typeof global !== "undefined") {
return global;
}
throw "Unable to locate global object";
})();
"use strict";
/* eslint-disable */
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
// versions:
// protoc-gen-ts_proto v1.181.1
// protoc v4.25.3
// source: trade.proto
Object.defineProperty(exports, "__esModule", { value: true });
exports.ModifyOrderReject_Reason = exports.CancelOrderReject_Reason = exports.NewOrderReject_Reason = exports.MassCancelAck_Reason = exports.CancelOrderAck_Reason = exports.ConnectionStatus = exports.PostOnly = exports.SelfTradePrevention = exports.OrderType = exports.TimeInForce = exports.Side = exports.protobufPackage = void 0;
/* eslint-disable */
exports.protobufPackage = "trade";

@@ -6,0 +11,0 @@ /**

{
"name": "@cubexch/client",
"version": "1.4.1",
"version": "1.5.0",
"scripts": {

@@ -14,3 +14,4 @@ "build": "tsc"

"@types/debug": "^4.1.7",
"ts-proto": "1.149.0",
"ts-proto": "^1.181.0",
"protobufjs": "^7.2.5",
"typescript": "^4.9.4"

@@ -17,0 +18,0 @@ },

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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