@sentio/protos 2.2.0 → 2.3.0-rc.2
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/lib/chainquery/protos/chainquery.d.ts +38 -0
- package/lib/chainquery/protos/chainquery.js +42 -0
- package/lib/chainquery/protos/chainquery.js.map +1 -1
- package/lib/google/protobuf/empty.d.ts +1 -0
- package/lib/google/protobuf/empty.js +3 -0
- package/lib/google/protobuf/empty.js.map +1 -1
- package/lib/google/protobuf/struct.d.ts +6 -2
- package/lib/google/protobuf/struct.js +26 -7
- package/lib/google/protobuf/struct.js.map +1 -1
- package/lib/google/protobuf/timestamp.d.ts +1 -0
- package/lib/google/protobuf/timestamp.js +3 -0
- package/lib/google/protobuf/timestamp.js.map +1 -1
- package/lib/processor/protos/processor.d.ts +64 -17
- package/lib/processor/protos/processor.js +163 -100
- package/lib/processor/protos/processor.js.map +1 -1
- package/lib/service/price/protos/price.d.ts +6 -0
- package/lib/service/price/protos/price.js +12 -0
- package/lib/service/price/protos/price.js.map +1 -1
- package/package.json +2 -2
- package/src/chainquery/protos/chainquery.ts +56 -0
- package/src/google/protobuf/empty.ts +4 -0
- package/src/google/protobuf/struct.ts +31 -13
- package/src/google/protobuf/timestamp.ts +4 -0
- package/src/processor/protos/processor.ts +217 -114
- package/src/service/price/protos/price.ts +16 -0
|
@@ -74,6 +74,10 @@ export const CoinID = {
|
|
|
74
74
|
return obj;
|
|
75
75
|
},
|
|
76
76
|
|
|
77
|
+
create(base?: DeepPartial<CoinID>): CoinID {
|
|
78
|
+
return CoinID.fromPartial(base ?? {});
|
|
79
|
+
},
|
|
80
|
+
|
|
77
81
|
fromPartial(object: DeepPartial<CoinID>): CoinID {
|
|
78
82
|
const message = createBaseCoinID();
|
|
79
83
|
message.symbol = object.symbol ?? undefined;
|
|
@@ -134,6 +138,10 @@ export const CoinID_AddressIdentifier = {
|
|
|
134
138
|
return obj;
|
|
135
139
|
},
|
|
136
140
|
|
|
141
|
+
create(base?: DeepPartial<CoinID_AddressIdentifier>): CoinID_AddressIdentifier {
|
|
142
|
+
return CoinID_AddressIdentifier.fromPartial(base ?? {});
|
|
143
|
+
},
|
|
144
|
+
|
|
137
145
|
fromPartial(object: DeepPartial<CoinID_AddressIdentifier>): CoinID_AddressIdentifier {
|
|
138
146
|
const message = createBaseCoinID_AddressIdentifier();
|
|
139
147
|
message.address = object.address ?? "";
|
|
@@ -192,6 +200,10 @@ export const GetPriceRequest = {
|
|
|
192
200
|
return obj;
|
|
193
201
|
},
|
|
194
202
|
|
|
203
|
+
create(base?: DeepPartial<GetPriceRequest>): GetPriceRequest {
|
|
204
|
+
return GetPriceRequest.fromPartial(base ?? {});
|
|
205
|
+
},
|
|
206
|
+
|
|
195
207
|
fromPartial(object: DeepPartial<GetPriceRequest>): GetPriceRequest {
|
|
196
208
|
const message = createBaseGetPriceRequest();
|
|
197
209
|
message.timestamp = object.timestamp ?? undefined;
|
|
@@ -252,6 +264,10 @@ export const GetPriceResponse = {
|
|
|
252
264
|
return obj;
|
|
253
265
|
},
|
|
254
266
|
|
|
267
|
+
create(base?: DeepPartial<GetPriceResponse>): GetPriceResponse {
|
|
268
|
+
return GetPriceResponse.fromPartial(base ?? {});
|
|
269
|
+
},
|
|
270
|
+
|
|
255
271
|
fromPartial(object: DeepPartial<GetPriceResponse>): GetPriceResponse {
|
|
256
272
|
const message = createBaseGetPriceResponse();
|
|
257
273
|
message.price = object.price ?? 0;
|