@kaiko-data/sdk-node 1.6.0 → 1.7.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (53) hide show
  1. package/package.json +1 -1
  2. package/sdk/core/data_interval_pb.js +7 -7
  3. package/sdk/core/instrument_criteria_pb.js +7 -7
  4. package/sdk/core/sort_criteria_pb.js +7 -7
  5. package/sdk/core/source_data_pb.js +7 -7
  6. package/sdk/core/source_pb.js +7 -7
  7. package/sdk/core/wrappers_pb.js +7 -7
  8. package/sdk/sdk_grpc_pb.d.ts +18 -0
  9. package/sdk/sdk_grpc_pb.js +42 -0
  10. package/sdk/sdk_pb.d.ts +2 -0
  11. package/sdk/sdk_pb.js +11 -7
  12. package/sdk/stream/aggregated_price_v1/request_pb.js +7 -7
  13. package/sdk/stream/aggregated_price_v1/response_pb.js +7 -7
  14. package/sdk/stream/aggregated_quote_v2/request_pb.d.ts +40 -0
  15. package/sdk/stream/aggregated_quote_v2/request_pb.js +289 -0
  16. package/sdk/stream/aggregated_quote_v2/response_pb.d.ts +88 -0
  17. package/sdk/stream/aggregated_quote_v2/response_pb.js +613 -0
  18. package/sdk/stream/aggregates_direct_exchange_rate_v1/request_pb.js +7 -7
  19. package/sdk/stream/aggregates_direct_exchange_rate_v1/response_pb.js +7 -7
  20. package/sdk/stream/aggregates_ohlcv_v1/request_pb.js +7 -7
  21. package/sdk/stream/aggregates_ohlcv_v1/response_pb.js +7 -7
  22. package/sdk/stream/aggregates_spot_exchange_rate_v1/request_pb.js +7 -7
  23. package/sdk/stream/aggregates_spot_exchange_rate_v1/response_pb.js +9 -8
  24. package/sdk/stream/aggregates_vwap_v1/request_pb.js +7 -7
  25. package/sdk/stream/aggregates_vwap_v1/response_pb.js +7 -7
  26. package/sdk/stream/index_v1/commodity_pb.js +7 -7
  27. package/sdk/stream/index_v1/request_pb.js +7 -7
  28. package/sdk/stream/index_v1/response_pb.js +7 -7
  29. package/sdk/stream/market_update_v1/commodity_pb.js +7 -7
  30. package/sdk/stream/market_update_v1/request_pb.js +7 -7
  31. package/sdk/stream/market_update_v1/response_pb.js +7 -7
  32. package/sdk/stream/trades_v1/request_pb.js +7 -7
  33. package/sdk/stream/trades_v1/response_pb.js +9 -8
  34. package/sdk/core/envelope_grpc_pb.d.ts +0 -1
  35. package/sdk/core/envelope_pb.d.ts +0 -54
  36. package/sdk/core/envelope_pb.js +0 -395
  37. package/sdk/core/envelope_status_grpc_pb.d.ts +0 -1
  38. package/sdk/core/envelope_status_grpc_pb.js +0 -1
  39. package/sdk/core/envelope_status_pb.d.ts +0 -13
  40. package/sdk/core/envelope_status_pb.js +0 -34
  41. package/sdk/core/response_pb.d.ts +0 -28
  42. package/sdk/core/response_pb.js +0 -199
  43. package/sdk/stream/aggregates_spot_exchange_rate_v1/source_data_grpc_pb.d.ts +0 -1
  44. package/sdk/stream/aggregates_spot_exchange_rate_v1/source_data_pb.d.ts +0 -37
  45. package/sdk/stream/aggregates_spot_exchange_rate_v1/source_grpc_pb.d.ts +0 -1
  46. package/sdk/stream/aggregates_spot_exchange_rate_v1/source_pb.d.ts +0 -32
  47. package/sdk/stream/derivatives_price_v2/request_pb.d.ts +0 -28
  48. package/sdk/stream/derivatives_price_v2/response_grpc_pb.d.ts +0 -1
  49. package/sdk/stream/derivatives_price_v2/response_pb.d.ts +0 -56
  50. /package/sdk/stream/{derivatives_price_v2 → aggregated_quote_v2}/request_grpc_pb.d.ts +0 -0
  51. /package/sdk/{core/envelope_grpc_pb.js → stream/aggregated_quote_v2/request_grpc_pb.js} +0 -0
  52. /package/sdk/{core → stream/aggregated_quote_v2}/response_grpc_pb.d.ts +0 -0
  53. /package/sdk/{core → stream/aggregated_quote_v2}/response_grpc_pb.js +0 -0
@@ -13,13 +13,13 @@
13
13
 
14
14
  var jspb = require('google-protobuf');
15
15
  var goog = jspb;
16
- var global = (function() {
17
- if (this) { return this; }
18
- if (typeof window !== 'undefined') { return window; }
19
- if (typeof global !== 'undefined') { return global; }
20
- if (typeof self !== 'undefined') { return self; }
21
- return Function('return this')();
22
- }.call(null));
16
+ var global =
17
+ (typeof globalThis !== 'undefined' && globalThis) ||
18
+ (typeof window !== 'undefined' && window) ||
19
+ (typeof global !== 'undefined' && global) ||
20
+ (typeof self !== 'undefined' && self) ||
21
+ (function () { return this; }).call(null) ||
22
+ Function('return this')();
23
23
 
24
24
  goog.exportSymbol('proto.kaikosdk.StreamAggregatesDirectExchangeRateRequestV1', null, global);
25
25
  /**
@@ -13,13 +13,13 @@
13
13
 
14
14
  var jspb = require('google-protobuf');
15
15
  var goog = jspb;
16
- var global = (function() {
17
- if (this) { return this; }
18
- if (typeof window !== 'undefined') { return window; }
19
- if (typeof global !== 'undefined') { return global; }
20
- if (typeof self !== 'undefined') { return self; }
21
- return Function('return this')();
22
- }.call(null));
16
+ var global =
17
+ (typeof globalThis !== 'undefined' && globalThis) ||
18
+ (typeof window !== 'undefined' && window) ||
19
+ (typeof global !== 'undefined' && global) ||
20
+ (typeof self !== 'undefined' && self) ||
21
+ (function () { return this; }).call(null) ||
22
+ Function('return this')();
23
23
 
24
24
  var google_protobuf_timestamp_pb = require('google-protobuf/google/protobuf/timestamp_pb.js');
25
25
  goog.object.extend(proto, google_protobuf_timestamp_pb);
@@ -13,13 +13,13 @@
13
13
 
14
14
  var jspb = require('google-protobuf');
15
15
  var goog = jspb;
16
- var global = (function() {
17
- if (this) { return this; }
18
- if (typeof window !== 'undefined') { return window; }
19
- if (typeof global !== 'undefined') { return global; }
20
- if (typeof self !== 'undefined') { return self; }
21
- return Function('return this')();
22
- }.call(null));
16
+ var global =
17
+ (typeof globalThis !== 'undefined' && globalThis) ||
18
+ (typeof window !== 'undefined' && window) ||
19
+ (typeof global !== 'undefined' && global) ||
20
+ (typeof self !== 'undefined' && self) ||
21
+ (function () { return this; }).call(null) ||
22
+ Function('return this')();
23
23
 
24
24
  var sdk_core_instrument_criteria_pb = require('../../../sdk/core/instrument_criteria_pb.js');
25
25
  goog.object.extend(proto, sdk_core_instrument_criteria_pb);
@@ -13,13 +13,13 @@
13
13
 
14
14
  var jspb = require('google-protobuf');
15
15
  var goog = jspb;
16
- var global = (function() {
17
- if (this) { return this; }
18
- if (typeof window !== 'undefined') { return window; }
19
- if (typeof global !== 'undefined') { return global; }
20
- if (typeof self !== 'undefined') { return self; }
21
- return Function('return this')();
22
- }.call(null));
16
+ var global =
17
+ (typeof globalThis !== 'undefined' && globalThis) ||
18
+ (typeof window !== 'undefined' && window) ||
19
+ (typeof global !== 'undefined' && global) ||
20
+ (typeof self !== 'undefined' && self) ||
21
+ (function () { return this; }).call(null) ||
22
+ Function('return this')();
23
23
 
24
24
  var google_protobuf_timestamp_pb = require('google-protobuf/google/protobuf/timestamp_pb.js');
25
25
  goog.object.extend(proto, google_protobuf_timestamp_pb);
@@ -13,13 +13,13 @@
13
13
 
14
14
  var jspb = require('google-protobuf');
15
15
  var goog = jspb;
16
- var global = (function() {
17
- if (this) { return this; }
18
- if (typeof window !== 'undefined') { return window; }
19
- if (typeof global !== 'undefined') { return global; }
20
- if (typeof self !== 'undefined') { return self; }
21
- return Function('return this')();
22
- }.call(null));
16
+ var global =
17
+ (typeof globalThis !== 'undefined' && globalThis) ||
18
+ (typeof window !== 'undefined' && window) ||
19
+ (typeof global !== 'undefined' && global) ||
20
+ (typeof self !== 'undefined' && self) ||
21
+ (function () { return this; }).call(null) ||
22
+ Function('return this')();
23
23
 
24
24
  goog.exportSymbol('proto.kaikosdk.StreamAggregatesSpotExchangeRateRequestV1', null, global);
25
25
  /**
@@ -13,13 +13,13 @@
13
13
 
14
14
  var jspb = require('google-protobuf');
15
15
  var goog = jspb;
16
- var global = (function() {
17
- if (this) { return this; }
18
- if (typeof window !== 'undefined') { return window; }
19
- if (typeof global !== 'undefined') { return global; }
20
- if (typeof self !== 'undefined') { return self; }
21
- return Function('return this')();
22
- }.call(null));
16
+ var global =
17
+ (typeof globalThis !== 'undefined' && globalThis) ||
18
+ (typeof window !== 'undefined' && window) ||
19
+ (typeof global !== 'undefined' && global) ||
20
+ (typeof self !== 'undefined' && self) ||
21
+ (function () { return this; }).call(null) ||
22
+ Function('return this')();
23
23
 
24
24
  var google_protobuf_timestamp_pb = require('google-protobuf/google/protobuf/timestamp_pb.js');
25
25
  goog.object.extend(proto, google_protobuf_timestamp_pb);
@@ -323,7 +323,8 @@ proto.kaikosdk.StreamAggregatesSpotExchangeRateResponseV1.prototype.getSourcesMa
323
323
  */
324
324
  proto.kaikosdk.StreamAggregatesSpotExchangeRateResponseV1.prototype.clearSourcesMap = function() {
325
325
  this.getSourcesMap().clear();
326
- return this;};
326
+ return this;
327
+ };
327
328
 
328
329
 
329
330
  /**
@@ -13,13 +13,13 @@
13
13
 
14
14
  var jspb = require('google-protobuf');
15
15
  var goog = jspb;
16
- var global = (function() {
17
- if (this) { return this; }
18
- if (typeof window !== 'undefined') { return window; }
19
- if (typeof global !== 'undefined') { return global; }
20
- if (typeof self !== 'undefined') { return self; }
21
- return Function('return this')();
22
- }.call(null));
16
+ var global =
17
+ (typeof globalThis !== 'undefined' && globalThis) ||
18
+ (typeof window !== 'undefined' && window) ||
19
+ (typeof global !== 'undefined' && global) ||
20
+ (typeof self !== 'undefined' && self) ||
21
+ (function () { return this; }).call(null) ||
22
+ Function('return this')();
23
23
 
24
24
  var sdk_core_instrument_criteria_pb = require('../../../sdk/core/instrument_criteria_pb.js');
25
25
  goog.object.extend(proto, sdk_core_instrument_criteria_pb);
@@ -13,13 +13,13 @@
13
13
 
14
14
  var jspb = require('google-protobuf');
15
15
  var goog = jspb;
16
- var global = (function() {
17
- if (this) { return this; }
18
- if (typeof window !== 'undefined') { return window; }
19
- if (typeof global !== 'undefined') { return global; }
20
- if (typeof self !== 'undefined') { return self; }
21
- return Function('return this')();
22
- }.call(null));
16
+ var global =
17
+ (typeof globalThis !== 'undefined' && globalThis) ||
18
+ (typeof window !== 'undefined' && window) ||
19
+ (typeof global !== 'undefined' && global) ||
20
+ (typeof self !== 'undefined' && self) ||
21
+ (function () { return this; }).call(null) ||
22
+ Function('return this')();
23
23
 
24
24
  var google_protobuf_timestamp_pb = require('google-protobuf/google/protobuf/timestamp_pb.js');
25
25
  goog.object.extend(proto, google_protobuf_timestamp_pb);
@@ -13,13 +13,13 @@
13
13
 
14
14
  var jspb = require('google-protobuf');
15
15
  var goog = jspb;
16
- var global = (function() {
17
- if (this) { return this; }
18
- if (typeof window !== 'undefined') { return window; }
19
- if (typeof global !== 'undefined') { return global; }
20
- if (typeof self !== 'undefined') { return self; }
21
- return Function('return this')();
22
- }.call(null));
16
+ var global =
17
+ (typeof globalThis !== 'undefined' && globalThis) ||
18
+ (typeof window !== 'undefined' && window) ||
19
+ (typeof global !== 'undefined' && global) ||
20
+ (typeof self !== 'undefined' && self) ||
21
+ (function () { return this; }).call(null) ||
22
+ Function('return this')();
23
23
 
24
24
  goog.exportSymbol('proto.kaikosdk.StreamIndexCommodity', null, global);
25
25
  /**
@@ -13,13 +13,13 @@
13
13
 
14
14
  var jspb = require('google-protobuf');
15
15
  var goog = jspb;
16
- var global = (function() {
17
- if (this) { return this; }
18
- if (typeof window !== 'undefined') { return window; }
19
- if (typeof global !== 'undefined') { return global; }
20
- if (typeof self !== 'undefined') { return self; }
21
- return Function('return this')();
22
- }.call(null));
16
+ var global =
17
+ (typeof globalThis !== 'undefined' && globalThis) ||
18
+ (typeof window !== 'undefined' && window) ||
19
+ (typeof global !== 'undefined' && global) ||
20
+ (typeof self !== 'undefined' && self) ||
21
+ (function () { return this; }).call(null) ||
22
+ Function('return this')();
23
23
 
24
24
  var sdk_core_data_interval_pb = require('../../../sdk/core/data_interval_pb.js');
25
25
  goog.object.extend(proto, sdk_core_data_interval_pb);
@@ -13,13 +13,13 @@
13
13
 
14
14
  var jspb = require('google-protobuf');
15
15
  var goog = jspb;
16
- var global = (function() {
17
- if (this) { return this; }
18
- if (typeof window !== 'undefined') { return window; }
19
- if (typeof global !== 'undefined') { return global; }
20
- if (typeof self !== 'undefined') { return self; }
21
- return Function('return this')();
22
- }.call(null));
16
+ var global =
17
+ (typeof globalThis !== 'undefined' && globalThis) ||
18
+ (typeof window !== 'undefined' && window) ||
19
+ (typeof global !== 'undefined' && global) ||
20
+ (typeof self !== 'undefined' && self) ||
21
+ (function () { return this; }).call(null) ||
22
+ Function('return this')();
23
23
 
24
24
  var google_protobuf_timestamp_pb = require('google-protobuf/google/protobuf/timestamp_pb.js');
25
25
  goog.object.extend(proto, google_protobuf_timestamp_pb);
@@ -13,13 +13,13 @@
13
13
 
14
14
  var jspb = require('google-protobuf');
15
15
  var goog = jspb;
16
- var global = (function() {
17
- if (this) { return this; }
18
- if (typeof window !== 'undefined') { return window; }
19
- if (typeof global !== 'undefined') { return global; }
20
- if (typeof self !== 'undefined') { return self; }
21
- return Function('return this')();
22
- }.call(null));
16
+ var global =
17
+ (typeof globalThis !== 'undefined' && globalThis) ||
18
+ (typeof window !== 'undefined' && window) ||
19
+ (typeof global !== 'undefined' && global) ||
20
+ (typeof self !== 'undefined' && self) ||
21
+ (function () { return this; }).call(null) ||
22
+ Function('return this')();
23
23
 
24
24
  goog.exportSymbol('proto.kaikosdk.StreamMarketUpdateCommodity', null, global);
25
25
  /**
@@ -13,13 +13,13 @@
13
13
 
14
14
  var jspb = require('google-protobuf');
15
15
  var goog = jspb;
16
- var global = (function() {
17
- if (this) { return this; }
18
- if (typeof window !== 'undefined') { return window; }
19
- if (typeof global !== 'undefined') { return global; }
20
- if (typeof self !== 'undefined') { return self; }
21
- return Function('return this')();
22
- }.call(null));
16
+ var global =
17
+ (typeof globalThis !== 'undefined' && globalThis) ||
18
+ (typeof window !== 'undefined' && window) ||
19
+ (typeof global !== 'undefined' && global) ||
20
+ (typeof self !== 'undefined' && self) ||
21
+ (function () { return this; }).call(null) ||
22
+ Function('return this')();
23
23
 
24
24
  var sdk_core_data_interval_pb = require('../../../sdk/core/data_interval_pb.js');
25
25
  goog.object.extend(proto, sdk_core_data_interval_pb);
@@ -13,13 +13,13 @@
13
13
 
14
14
  var jspb = require('google-protobuf');
15
15
  var goog = jspb;
16
- var global = (function() {
17
- if (this) { return this; }
18
- if (typeof window !== 'undefined') { return window; }
19
- if (typeof global !== 'undefined') { return global; }
20
- if (typeof self !== 'undefined') { return self; }
21
- return Function('return this')();
22
- }.call(null));
16
+ var global =
17
+ (typeof globalThis !== 'undefined' && globalThis) ||
18
+ (typeof window !== 'undefined' && window) ||
19
+ (typeof global !== 'undefined' && global) ||
20
+ (typeof self !== 'undefined' && self) ||
21
+ (function () { return this; }).call(null) ||
22
+ Function('return this')();
23
23
 
24
24
  var google_protobuf_timestamp_pb = require('google-protobuf/google/protobuf/timestamp_pb.js');
25
25
  goog.object.extend(proto, google_protobuf_timestamp_pb);
@@ -13,13 +13,13 @@
13
13
 
14
14
  var jspb = require('google-protobuf');
15
15
  var goog = jspb;
16
- var global = (function() {
17
- if (this) { return this; }
18
- if (typeof window !== 'undefined') { return window; }
19
- if (typeof global !== 'undefined') { return global; }
20
- if (typeof self !== 'undefined') { return self; }
21
- return Function('return this')();
22
- }.call(null));
16
+ var global =
17
+ (typeof globalThis !== 'undefined' && globalThis) ||
18
+ (typeof window !== 'undefined' && window) ||
19
+ (typeof global !== 'undefined' && global) ||
20
+ (typeof self !== 'undefined' && self) ||
21
+ (function () { return this; }).call(null) ||
22
+ Function('return this')();
23
23
 
24
24
  var sdk_core_instrument_criteria_pb = require('../../../sdk/core/instrument_criteria_pb.js');
25
25
  goog.object.extend(proto, sdk_core_instrument_criteria_pb);
@@ -13,13 +13,13 @@
13
13
 
14
14
  var jspb = require('google-protobuf');
15
15
  var goog = jspb;
16
- var global = (function() {
17
- if (this) { return this; }
18
- if (typeof window !== 'undefined') { return window; }
19
- if (typeof global !== 'undefined') { return global; }
20
- if (typeof self !== 'undefined') { return self; }
21
- return Function('return this')();
22
- }.call(null));
16
+ var global =
17
+ (typeof globalThis !== 'undefined' && globalThis) ||
18
+ (typeof window !== 'undefined' && window) ||
19
+ (typeof global !== 'undefined' && global) ||
20
+ (typeof self !== 'undefined' && self) ||
21
+ (function () { return this; }).call(null) ||
22
+ Function('return this')();
23
23
 
24
24
  var google_protobuf_timestamp_pb = require('google-protobuf/google/protobuf/timestamp_pb.js');
25
25
  goog.object.extend(proto, google_protobuf_timestamp_pb);
@@ -325,7 +325,8 @@ proto.kaikosdk.StreamTradesResponseV1.prototype.getAdditionalPropertiesMap = fun
325
325
  */
326
326
  proto.kaikosdk.StreamTradesResponseV1.prototype.clearAdditionalPropertiesMap = function() {
327
327
  this.getAdditionalPropertiesMap().clear();
328
- return this;};
328
+ return this;
329
+ };
329
330
 
330
331
 
331
332
  /**
@@ -1 +0,0 @@
1
- // GENERATED CODE -- NO SERVICES IN PROTO
@@ -1,54 +0,0 @@
1
- // package: kaikosdk
2
- // file: sdk/core/envelope.proto
3
-
4
- import * as jspb from "google-protobuf";
5
- import * as google_protobuf_struct_pb from "google-protobuf/google/protobuf/struct_pb";
6
- import * as google_protobuf_timestamp_pb from "google-protobuf/google/protobuf/timestamp_pb";
7
- import * as sdk_core_envelope_status_pb from "../../sdk/core/envelope_status_pb";
8
-
9
- export class Envelope extends jspb.Message {
10
- hasAccess(): boolean;
11
- clearAccess(): void;
12
- getAccess(): google_protobuf_struct_pb.Struct | undefined;
13
- setAccess(value?: google_protobuf_struct_pb.Struct): void;
14
-
15
- getMessage(): string;
16
- setMessage(value: string): void;
17
-
18
- hasQuery(): boolean;
19
- clearQuery(): void;
20
- getQuery(): google_protobuf_struct_pb.Struct | undefined;
21
- setQuery(value?: google_protobuf_struct_pb.Struct): void;
22
-
23
- getStatus(): sdk_core_envelope_status_pb.EnvelopeStatusMap[keyof sdk_core_envelope_status_pb.EnvelopeStatusMap];
24
- setStatus(value: sdk_core_envelope_status_pb.EnvelopeStatusMap[keyof sdk_core_envelope_status_pb.EnvelopeStatusMap]): void;
25
-
26
- hasTime(): boolean;
27
- clearTime(): void;
28
- getTime(): google_protobuf_timestamp_pb.Timestamp | undefined;
29
- setTime(value?: google_protobuf_timestamp_pb.Timestamp): void;
30
-
31
- getTimestamp(): string;
32
- setTimestamp(value: string): void;
33
-
34
- serializeBinary(): Uint8Array;
35
- toObject(includeInstance?: boolean): Envelope.AsObject;
36
- static toObject(includeInstance: boolean, msg: Envelope): Envelope.AsObject;
37
- static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
38
- static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
39
- static serializeBinaryToWriter(message: Envelope, writer: jspb.BinaryWriter): void;
40
- static deserializeBinary(bytes: Uint8Array): Envelope;
41
- static deserializeBinaryFromReader(message: Envelope, reader: jspb.BinaryReader): Envelope;
42
- }
43
-
44
- export namespace Envelope {
45
- export type AsObject = {
46
- access?: google_protobuf_struct_pb.Struct.AsObject,
47
- message: string,
48
- query?: google_protobuf_struct_pb.Struct.AsObject,
49
- status: sdk_core_envelope_status_pb.EnvelopeStatusMap[keyof sdk_core_envelope_status_pb.EnvelopeStatusMap],
50
- time?: google_protobuf_timestamp_pb.Timestamp.AsObject,
51
- timestamp: string,
52
- }
53
- }
54
-