@cubexch/client
Advanced tools
Comparing version 1.5.0 to 1.5.1
"use strict"; | ||
// 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 | ||
/* eslint-disable */ | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.CloseCode = exports.protobufPackage = void 0; | ||
/* eslint-disable */ | ||
exports.protobufPackage = "codes"; | ||
@@ -11,0 +6,0 @@ /** |
"use strict"; | ||
// 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 | ||
/* eslint-disable */ | ||
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"; | ||
@@ -11,0 +6,0 @@ /** |
@@ -29,3 +29,3 @@ "use strict"; | ||
default: | ||
throw new globalThis.Error("Unrecognized enum value " + object + " for enum CloseCode"); | ||
throw new tsProtoGlobalThis.Error("Unrecognized enum value " + object + " for enum CloseCode"); | ||
} | ||
@@ -51,5 +51,20 @@ } | ||
default: | ||
throw new globalThis.Error("Unrecognized enum value " + object + " for enum CloseCode"); | ||
throw new tsProtoGlobalThis.Error("Unrecognized enum value " + object + " for enum CloseCode"); | ||
} | ||
} | ||
exports.closeCodeToJSON = closeCodeToJSON; | ||
const 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"; | ||
// 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 | ||
/* eslint-disable */ | ||
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"; | ||
@@ -11,0 +6,0 @@ /** |
{ | ||
"name": "@cubexch/client", | ||
"version": "1.5.0", | ||
"version": "1.5.1", | ||
"scripts": { | ||
@@ -12,6 +12,8 @@ "build": "tsc" | ||
], | ||
"dependencies": { | ||
"protobufjs": "^7.2.5" | ||
}, | ||
"devDependencies": { | ||
"@types/debug": "^4.1.7", | ||
"ts-proto": "^1.181.0", | ||
"protobufjs": "^7.2.5", | ||
"ts-proto": "1.154.0", | ||
"typescript": "^4.9.4" | ||
@@ -18,0 +20,0 @@ }, |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
3
429498
1
10851
+ Addedprotobufjs@^7.2.5
+ Added@protobufjs/aspromise@1.1.2(transitive)
+ Added@protobufjs/base64@1.1.2(transitive)
+ Added@protobufjs/codegen@2.0.4(transitive)
+ Added@protobufjs/eventemitter@1.1.0(transitive)
+ Added@protobufjs/fetch@1.1.0(transitive)
+ Added@protobufjs/float@1.0.2(transitive)
+ Added@protobufjs/inquire@1.1.0(transitive)
+ Added@protobufjs/path@1.1.2(transitive)
+ Added@protobufjs/pool@1.1.0(transitive)
+ Added@protobufjs/utf8@1.1.0(transitive)
+ Added@types/node@22.10.2(transitive)
+ Addedlong@5.2.3(transitive)
+ Addedprotobufjs@7.4.0(transitive)
+ Addedundici-types@6.20.0(transitive)