protobuf-platform 1.2.752 → 1.2.754
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/bet/bet.proto +18 -0
- package/bet/bet_pb.js +578 -4
- package/config/config.proto +25 -1
- package/config/config_grpc_pb.js +33 -0
- package/config/config_pb.js +902 -0
- package/package.json +1 -1
- package/scripts/verifyHistoricalFxContract.js +20 -0
package/config/config_grpc_pb.js
CHANGED
|
@@ -235,6 +235,28 @@ function deserialize_config_GlobalDataRequest(buffer_arg) {
|
|
|
235
235
|
return config_pb.GlobalDataRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
236
236
|
}
|
|
237
237
|
|
|
238
|
+
function serialize_config_HistoricalCurrencyRatesRequest(arg) {
|
|
239
|
+
if (!(arg instanceof config_pb.HistoricalCurrencyRatesRequest)) {
|
|
240
|
+
throw new Error('Expected argument of type config.HistoricalCurrencyRatesRequest');
|
|
241
|
+
}
|
|
242
|
+
return Buffer.from(arg.serializeBinary());
|
|
243
|
+
}
|
|
244
|
+
|
|
245
|
+
function deserialize_config_HistoricalCurrencyRatesRequest(buffer_arg) {
|
|
246
|
+
return config_pb.HistoricalCurrencyRatesRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
function serialize_config_HistoricalCurrencyRatesResponse(arg) {
|
|
250
|
+
if (!(arg instanceof config_pb.HistoricalCurrencyRatesResponse)) {
|
|
251
|
+
throw new Error('Expected argument of type config.HistoricalCurrencyRatesResponse');
|
|
252
|
+
}
|
|
253
|
+
return Buffer.from(arg.serializeBinary());
|
|
254
|
+
}
|
|
255
|
+
|
|
256
|
+
function deserialize_config_HistoricalCurrencyRatesResponse(buffer_arg) {
|
|
257
|
+
return config_pb.HistoricalCurrencyRatesResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
258
|
+
}
|
|
259
|
+
|
|
238
260
|
function serialize_config_InvalidateCloudflareCacheRequest(arg) {
|
|
239
261
|
if (!(arg instanceof config_pb.InvalidateCloudflareCacheRequest)) {
|
|
240
262
|
throw new Error('Expected argument of type config.InvalidateCloudflareCacheRequest');
|
|
@@ -648,6 +670,17 @@ getCurrencyRate: {
|
|
|
648
670
|
responseSerialize: serialize_config_CurrencyRatesMapResponse,
|
|
649
671
|
responseDeserialize: deserialize_config_CurrencyRatesMapResponse,
|
|
650
672
|
},
|
|
673
|
+
getHistoricalCurrencyRates: {
|
|
674
|
+
path: '/config.Config/getHistoricalCurrencyRates',
|
|
675
|
+
requestStream: false,
|
|
676
|
+
responseStream: false,
|
|
677
|
+
requestType: config_pb.HistoricalCurrencyRatesRequest,
|
|
678
|
+
responseType: config_pb.HistoricalCurrencyRatesResponse,
|
|
679
|
+
requestSerialize: serialize_config_HistoricalCurrencyRatesRequest,
|
|
680
|
+
requestDeserialize: deserialize_config_HistoricalCurrencyRatesRequest,
|
|
681
|
+
responseSerialize: serialize_config_HistoricalCurrencyRatesResponse,
|
|
682
|
+
responseDeserialize: deserialize_config_HistoricalCurrencyRatesResponse,
|
|
683
|
+
},
|
|
651
684
|
setManualCurrencyRate: {
|
|
652
685
|
path: '/config.Config/setManualCurrencyRate',
|
|
653
686
|
requestStream: false,
|