@kaiko-data/sdk-node 1.16.1 → 1.17.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.
package/package.json
CHANGED
|
@@ -54,6 +54,8 @@ export class StreamMarketUpdateResponseV1 extends jspb.Message {
|
|
|
54
54
|
getSnapshot(): StreamMarketUpdateResponseV1.Snapshot | undefined;
|
|
55
55
|
setSnapshot(value?: StreamMarketUpdateResponseV1.Snapshot): void;
|
|
56
56
|
|
|
57
|
+
getAdditionalPropertiesMap(): jspb.Map<string, string>;
|
|
58
|
+
clearAdditionalPropertiesMap(): void;
|
|
57
59
|
serializeBinary(): Uint8Array;
|
|
58
60
|
toObject(includeInstance?: boolean): StreamMarketUpdateResponseV1.AsObject;
|
|
59
61
|
static toObject(includeInstance: boolean, msg: StreamMarketUpdateResponseV1): StreamMarketUpdateResponseV1.AsObject;
|
|
@@ -79,6 +81,7 @@ export namespace StreamMarketUpdateResponseV1 {
|
|
|
79
81
|
tsEvent?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
|
80
82
|
updateType: StreamMarketUpdateResponseV1.StreamMarketUpdateTypeMap[keyof StreamMarketUpdateResponseV1.StreamMarketUpdateTypeMap],
|
|
81
83
|
snapshot?: StreamMarketUpdateResponseV1.Snapshot.AsObject,
|
|
84
|
+
additionalPropertiesMap: Array<[string, string]>,
|
|
82
85
|
}
|
|
83
86
|
|
|
84
87
|
export class Snapshot extends jspb.Message {
|
|
@@ -138,7 +138,8 @@ proto.kaikosdk.StreamMarketUpdateResponseV1.toObject = function(includeInstance,
|
|
|
138
138
|
tsCollection: (f = msg.getTsCollection()) && sdk_core_wrappers_pb.TimestampValue.toObject(includeInstance, f),
|
|
139
139
|
tsEvent: (f = msg.getTsEvent()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
140
140
|
updateType: jspb.Message.getFieldWithDefault(msg, 12, 0),
|
|
141
|
-
snapshot: (f = msg.getSnapshot()) && proto.kaikosdk.StreamMarketUpdateResponseV1.Snapshot.toObject(includeInstance, f)
|
|
141
|
+
snapshot: (f = msg.getSnapshot()) && proto.kaikosdk.StreamMarketUpdateResponseV1.Snapshot.toObject(includeInstance, f),
|
|
142
|
+
additionalPropertiesMap: (f = msg.getAdditionalPropertiesMap()) ? f.toObject(includeInstance, undefined) : []
|
|
142
143
|
};
|
|
143
144
|
|
|
144
145
|
if (includeInstance) {
|
|
@@ -231,6 +232,12 @@ proto.kaikosdk.StreamMarketUpdateResponseV1.deserializeBinaryFromReader = functi
|
|
|
231
232
|
reader.readMessage(value,proto.kaikosdk.StreamMarketUpdateResponseV1.Snapshot.deserializeBinaryFromReader);
|
|
232
233
|
msg.setSnapshot(value);
|
|
233
234
|
break;
|
|
235
|
+
case 14:
|
|
236
|
+
var value = msg.getAdditionalPropertiesMap();
|
|
237
|
+
reader.readMessage(value, function(message, reader) {
|
|
238
|
+
jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readString, null, "", "");
|
|
239
|
+
});
|
|
240
|
+
break;
|
|
234
241
|
default:
|
|
235
242
|
reader.skipField();
|
|
236
243
|
break;
|
|
@@ -355,6 +362,10 @@ proto.kaikosdk.StreamMarketUpdateResponseV1.serializeBinaryToWriter = function(m
|
|
|
355
362
|
proto.kaikosdk.StreamMarketUpdateResponseV1.Snapshot.serializeBinaryToWriter
|
|
356
363
|
);
|
|
357
364
|
}
|
|
365
|
+
f = message.getAdditionalPropertiesMap(true);
|
|
366
|
+
if (f && f.getLength() > 0) {
|
|
367
|
+
f.serializeBinary(14, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeString);
|
|
368
|
+
}
|
|
358
369
|
};
|
|
359
370
|
|
|
360
371
|
|
|
@@ -1057,4 +1068,27 @@ proto.kaikosdk.StreamMarketUpdateResponseV1.prototype.hasSnapshot = function() {
|
|
|
1057
1068
|
};
|
|
1058
1069
|
|
|
1059
1070
|
|
|
1071
|
+
/**
|
|
1072
|
+
* map<string, string> additional_properties = 14;
|
|
1073
|
+
* @param {boolean=} opt_noLazyCreate Do not create the map if
|
|
1074
|
+
* empty, instead returning `undefined`
|
|
1075
|
+
* @return {!jspb.Map<string,string>}
|
|
1076
|
+
*/
|
|
1077
|
+
proto.kaikosdk.StreamMarketUpdateResponseV1.prototype.getAdditionalPropertiesMap = function(opt_noLazyCreate) {
|
|
1078
|
+
return /** @type {!jspb.Map<string,string>} */ (
|
|
1079
|
+
jspb.Message.getMapField(this, 14, opt_noLazyCreate,
|
|
1080
|
+
null));
|
|
1081
|
+
};
|
|
1082
|
+
|
|
1083
|
+
|
|
1084
|
+
/**
|
|
1085
|
+
* Clears values from the map. The map will be non-null.
|
|
1086
|
+
* @return {!proto.kaikosdk.StreamMarketUpdateResponseV1} returns this
|
|
1087
|
+
*/
|
|
1088
|
+
proto.kaikosdk.StreamMarketUpdateResponseV1.prototype.clearAdditionalPropertiesMap = function() {
|
|
1089
|
+
this.getAdditionalPropertiesMap().clear();
|
|
1090
|
+
return this;
|
|
1091
|
+
};
|
|
1092
|
+
|
|
1093
|
+
|
|
1060
1094
|
goog.object.extend(exports, proto.kaikosdk);
|