@sentio/sdk 2.32.10 → 2.33.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.
@@ -74,8 +74,8 @@ declare const InitializeMultisig: import("superstruct_solana").Struct<{
74
74
  }>;
75
75
  export type Transfer = Infer<typeof Transfer>;
76
76
  export declare const Transfer: import("superstruct_solana").Struct<{
77
- amount: string | number;
78
77
  source: String;
78
+ amount: string | number;
79
79
  destination: String;
80
80
  signers?: String[] | undefined;
81
81
  authority?: String | undefined;
@@ -90,8 +90,8 @@ export declare const Transfer: import("superstruct_solana").Struct<{
90
90
  }>;
91
91
  export type Approve = Infer<typeof Approve>;
92
92
  declare const Approve: import("superstruct_solana").Struct<{
93
- amount: string | number;
94
93
  source: String;
94
+ amount: string | number;
95
95
  delegate: String;
96
96
  owner?: String | undefined;
97
97
  signers?: String[] | undefined;
@@ -213,8 +213,8 @@ declare const ThawAccount: import("superstruct_solana").Struct<{
213
213
  }>;
214
214
  export type TransferChecked = Infer<typeof TransferChecked>;
215
215
  export declare const TransferChecked: import("superstruct_solana").Struct<{
216
- mint: String;
217
216
  source: String;
217
+ mint: String;
218
218
  destination: String;
219
219
  tokenAmount: {
220
220
  decimals: number;
@@ -243,8 +243,8 @@ export declare const TransferChecked: import("superstruct_solana").Struct<{
243
243
  }>;
244
244
  export type ApproveChecked = Infer<typeof ApproveChecked>;
245
245
  declare const ApproveChecked: import("superstruct_solana").Struct<{
246
- mint: String;
247
246
  source: String;
247
+ mint: String;
248
248
  delegate: String;
249
249
  tokenAmount: {
250
250
  decimals: number;
@@ -22,6 +22,7 @@ export declare function getPriceClient(address?: string): import("nice-grpc").Ra
22
22
  chain?: string | undefined;
23
23
  } | undefined;
24
24
  } | undefined;
25
+ source?: string | undefined;
25
26
  } | undefined): import("@sentio/protos/price").GetPriceRequest;
26
27
  fromPartial(object: {
27
28
  timestamp?: Date | undefined;
@@ -32,6 +33,7 @@ export declare function getPriceClient(address?: string): import("nice-grpc").Ra
32
33
  chain?: string | undefined;
33
34
  } | undefined;
34
35
  } | undefined;
36
+ source?: string | undefined;
35
37
  }): import("@sentio/protos/price").GetPriceRequest;
36
38
  };
37
39
  readonly requestStream: false;
@@ -260,6 +262,58 @@ export declare function getPriceClient(address?: string): import("nice-grpc").Ra
260
262
  readonly responseStream: false;
261
263
  readonly options: {};
262
264
  };
265
+ readonly backfillCoin: {
266
+ readonly name: "BackfillCoin";
267
+ readonly requestType: {
268
+ encode(message: import("@sentio/protos/price").BackfillCoinRequest, writer?: import("protobufjs").Writer | undefined): import("protobufjs").Writer;
269
+ decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): import("@sentio/protos/price").BackfillCoinRequest;
270
+ fromJSON(object: any): import("@sentio/protos/price").BackfillCoinRequest;
271
+ toJSON(message: import("@sentio/protos/price").BackfillCoinRequest): unknown;
272
+ create(base?: {
273
+ name?: string | undefined;
274
+ symbol?: string | undefined;
275
+ chain?: string | undefined;
276
+ address?: string | undefined;
277
+ coingeckoId?: string | undefined;
278
+ decimals?: number | undefined;
279
+ logoUrl?: string | undefined;
280
+ projectUrl?: string | undefined;
281
+ accountAddress?: string | undefined;
282
+ moduleName?: string | undefined;
283
+ structName?: string | undefined;
284
+ } | undefined): import("@sentio/protos/price").BackfillCoinRequest;
285
+ fromPartial(object: {
286
+ name?: string | undefined;
287
+ symbol?: string | undefined;
288
+ chain?: string | undefined;
289
+ address?: string | undefined;
290
+ coingeckoId?: string | undefined;
291
+ decimals?: number | undefined;
292
+ logoUrl?: string | undefined;
293
+ projectUrl?: string | undefined;
294
+ accountAddress?: string | undefined;
295
+ moduleName?: string | undefined;
296
+ structName?: string | undefined;
297
+ }): import("@sentio/protos/price").BackfillCoinRequest;
298
+ };
299
+ readonly requestStream: false;
300
+ readonly responseType: {
301
+ encode(message: import("@sentio/protos/price").BackfillCoinResponse, writer?: import("protobufjs").Writer | undefined): import("protobufjs").Writer;
302
+ decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): import("@sentio/protos/price").BackfillCoinResponse;
303
+ fromJSON(object: any): import("@sentio/protos/price").BackfillCoinResponse;
304
+ toJSON(message: import("@sentio/protos/price").BackfillCoinResponse): unknown;
305
+ create(base?: {
306
+ symbol?: string | undefined;
307
+ message?: string | undefined;
308
+ } | undefined): import("@sentio/protos/price").BackfillCoinResponse;
309
+ fromPartial(object: {
310
+ symbol?: string | undefined;
311
+ message?: string | undefined;
312
+ }): import("@sentio/protos/price").BackfillCoinResponse;
313
+ };
314
+ readonly responseStream: false;
315
+ readonly options: {};
316
+ };
263
317
  };
264
318
  }>, RetryOptions>;
265
319
  interface PriceOptions {
@@ -1 +1 @@
1
- {"version":3,"file":"price.d.ts","sourceRoot":"","sources":["../../src/utils/price.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAA0B,MAAM,sBAAsB,CAAA;AACjF,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAA;AAGvC,OAAO,EAAmB,YAAY,EAAE,MAAM,mCAAmC,CAAA;AAEjF,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAA;AAGvC,wBAAgB,cAAc,CAAC,OAAO,CAAC,EAAE,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAU9C;AASD,UAAU,YAAY;IACpB,eAAe,CAAC,EAAE,MAAM,CAAA;CACzB;AAQD,wBAAsB,8BAA8B,CAClD,WAAW,EAAE,kBAAkB,CAAC,YAAY,CAAC,EAC7C,IAAI,EAAE,IAAI,EACV,MAAM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AU,YAAY;IACpB,eAAe,CAAC,EAAE,MAAM,CAAA;CACzB;AAQD,wBAAsB,8BAA8B,CAClD,WAAW,EAAE,kBAAkB,CAAC,YAAY,CAAC,EAC7C,IAAI,EAAE,IAAI,EACV,MAAM,EAAE,MAAM,EACd,OAAO,CAAC,EAAE,YAAY,GACrB,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC,CA2D7B;AAED;;;;;;GAMG;AACH,wBAAsB,cAAc,CAClC,OAAO,EAAE,OAAO,EAChB,QAAQ,EAAE,MAAM,EAChB,IAAI,EAAE,IAAI,EACV,OAAO,CAAC,EAAE,YAAY,GACrB,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC,CAW7B;AAED;;;;GAIG;AACH,wBAAsB,gBAAgB,CACpC,MAAM,EAAE,MAAM,EACd,IAAI,EAAE,IAAI,EACV,OAAO,CAAC,EAAE,YAAY,GACrB,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC,CAE7B;AAMD;;;GAGG;AACH,wBAAsB,oBAAoB,CAAC,OAAO,EAAE,OAAO,oDAa1D"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sentio/sdk",
3
- "version": "2.32.10",
3
+ "version": "2.33.0-rc.2",
4
4
  "license": "Apache-2.0",
5
5
  "type": "module",
6
6
  "exports": {
@@ -73,8 +73,8 @@
73
73
  "typedoc": "^0.25.7",
74
74
  "utility-types": "^3.11.0",
75
75
  "yaml": "^2.3.4",
76
- "@sentio/protos": "2.32.10",
77
- "@sentio/runtime": "^2.32.10"
76
+ "@sentio/protos": "2.33.0-rc.2",
77
+ "@sentio/runtime": "^2.33.0-rc.2"
78
78
  },
79
79
  "peerDependencies": {
80
80
  "tsup": "npm:@sentio/tsup@^6.7.2"