@sentio/sdk 2.32.0-rc.3 → 2.32.0-rc.5

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.
@@ -1 +1 @@
1
- {"version":3,"file":"aptos-processor.d.ts","sourceRoot":"","sources":["../../src/aptos/aptos-processor.ts"],"names":[],"mappings":"AAAA,OAAO,EAAoB,SAAS,EAAE,MAAM,mBAAmB,CAAA;AAE/D,OAAO,EAAE,KAAK,EAAE,YAAY,EAAE,uBAAuB,EAAE,4BAA4B,EAAE,MAAM,oBAAoB,CAAA;AAE/G,OAAO,EAAE,gBAAgB,EAAE,YAAY,EAAE,MAAM,cAAc,CAAA;AAC7D,OAAO,EAAE,YAAY,EAAE,qBAAqB,EAAE,MAAM,cAAc,CAAA;AAClE,OAAO,EAAE,gBAAgB,EAAuB,MAAM,iBAAiB,CAAA;AACvE,OAAO,EACL,eAAe,EACf,gBAAgB,EAChB,cAAc,EACd,aAAa,EACb,aAAa,EACb,YAAY,EACZ,sBAAsB,EACvB,MAAM,gBAAgB,CAAA;AAEvB,OAAO,EAEL,WAAW,EACX,WAAW,EACX,YAAY,EACZ,yBAAyB,EAE1B,MAAM,kBAAkB,CAAA;AACzB,OAAO,EAAE,MAAM,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAA;AAOxD,eAAO,MAAM,6BAA6B,EAAE,sBAE3C,CAAA;AAED,KAAK,cAAc,GAAG;IACpB,OAAO,EAAE,MAAM,CAAA;IACf,OAAO,EAAE,YAAY,CAAA;IACrB,YAAY,EAAE,MAAM,CAAA;IACpB,UAAU,CAAC,EAAE,MAAM,CAAA;CAEpB,CAAA;AAED,cAAM,gBAAgB;IACpB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,eAAe,CAAC,EAAE,cAAc,CAAA;IAChC,qBAAqB,CAAC,EAAE,cAAc,CAAA;IACtC,OAAO,EAAE,CAAC,QAAQ,EAAE,gBAAgB,KAAK,OAAO,CAAC,aAAa,CAAC,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;CACpD;AAED,qBAAa,uBAAuB;IAClC,MAAM,EAAE,cAAc,CAAA;IAEtB,iBAAiB,EAAE,gBAAgB,EAAE,CAAK;IAE1C,MAAM,CAAC,IAAI,CAAC,OAAO,EAAE,gBAAgB,GAAG,uBAAuB;IAI/D,SAAS,aAAa,OAAO,EAAE,gBAAgB;IAK/C,UAAU,IAAI,MAAM;IAIpB,UAAU,CACR,OAAO,EAAE,CAAC,SAAS,EAAE,YAAY,EAAE,EAAE,GAAG,EAAE,qBAAqB,KAAK,aAAa,EACjF,YAAY,EAAE,cAAc,GAAG,SAAS,EACxC,eAAe,EAAE,cAAc,GAAG,SAAS,EAC3C,IAAI,EAAE,MAAM,GAAG,SAAS,EACxB,WAAW,EAAE,OAAO,CAAC,sBAAsB,CAAC,GAAG,SAAS,GACvD,IAAI;IA2BA,cAAc,CACnB,OAAO,EAAE,CAAC,SAAS,EAAE,YAAY,EAAE,EAAE,GAAG,EAAE,qBAAqB,KAAK,aAAa,EACjF,qBAAqB,SAAK,EAC1B,6BAA6B,SAAM,EACnC,IAAI,CAAC,EAAE,MAAM,EACb,WAAW,CAAC,EAAE,OAAO,CAAC,sBAAsB,CAAC,GAC5C,IAAI;IAaA,iBAAiB,CACtB,OAAO,EAAE,CAAC,SAAS,EAAE,YAAY,EAAE,EAAE,GAAG,EAAE,qBAAqB,KAAK,aAAa,EACjF,eAAe,SAAS,EACxB,uBAAuB,SAAS,EAChC,UAAU,CAAC,EAAE,MAAM,EACnB,WAAW,CAAC,EAAE,OAAO,CAAC,sBAAsB,CAAC,GAC5C,IAAI;CASR"}
@@ -7,7 +7,8 @@ import { ServerError, Status } from 'nice-grpc';
7
7
  import { accountTypeString, parseMoveType } from '../move/index.js';
8
8
  const DEFAULT_FETCH_CONFIG = {
9
9
  resourceChanges: false,
10
- allEvents: true
10
+ allEvents: true,
11
+ inputs: false
11
12
  };
12
13
  export const DEFAULT_RESOURCE_FETCH_CONFIG = {
13
14
  owned: true
@@ -1 +1 @@
1
-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AC,CAAA;QAC7C,CAAC;aAAM,CAAC;YACN,YAAY,GAAG,OAAO,CAAC,YAAY,CAAA;QACrC,CAAC;IACH,CAAC;IAED,OAAO;QACL,YAAY,EAAE,YAAY;QAC1B,OAAO,EAAE,OAAO,CAAC,OAAO,KAAK,GAAG,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,iBAAiB,CAAC,OAAO,CAAC,OAAO,CAAC,EAAE,iEAAiE;QAC9I,OAAO,EAAE,OAAO,CAAC,OAAO,IAAI,YAAY,CAAC,QAAQ;QACjD,UAAU,EAAE,OAAO,CAAC,UAAU;KAC/B,CAAA;AACH,CAAC"}
@@ -75,7 +75,7 @@ class QueuedStaticJsonRpcProvider extends JsonRpcProvider {
75
75
  }
76
76
  async send(method, params) {
77
77
  if (method !== 'eth_call') {
78
- return super.send(method, params);
78
+ return await this.executor.add(() => super.send(method, params));
79
79
  }
80
80
  const tag = getTag(method, params);
81
81
  const block = params[params.length - 1];
@@ -89,14 +89,6 @@ class QueuedStaticJsonRpcProvider extends JsonRpcProvider {
89
89
  this.#performCache.delete(tag);
90
90
  }
91
91
  }, 1000);
92
- // }
93
- // if (e.code === 'CALL_EXCEPTION' && !e.data) {
94
- // setTimeout(() => {
95
- // if (this.#performCache.get(tag) === perform) {
96
- // this.#performCache.delete(tag)
97
- // }
98
- // }, 1000)
99
- // }
100
92
  });
101
93
  this.#performCache.set(tag, perform);
102
94
  // For non latest block call, we cache permanently, otherwise we cache for one minute
@@ -1 +1 @@
1
- {"version":3,"file":"provider.js","sourceRoot":"","sources":["../../src/eth/provider.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,OAAO,EAAY,MAAM,QAAQ,CAAA;AAE3D,OAAO,MAAM,MAAM,SAAS,CAAA;AAC5B,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAA;AAC3C,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAA;AAC1C,OAAO,EAAE,QAAQ,EAAE,MA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,CAAC,eAAe,CAAC,GACrC,IAAI;IAQA,cAAc,CACnB,OAAO,EAAE,CAAC,OAAO,EAAE,eAAe,EAAE,EAAE,GAAG,EAAE,sBAAsB,KAAK,IAAI,EAC1E,IAAI,EAAE,MAAM,GACX,IAAI;CAGR"}
@@ -8,7 +8,8 @@ import { getMoveCalls } from './utils.js';
8
8
  import { defaultMoveCoder } from '@sentio/sdk/sui';
9
9
  export const DEFAULT_FETCH_CONFIG = {
10
10
  resourceChanges: false,
11
- allEvents: false
11
+ allEvents: false,
12
+ inputs: false
12
13
  };
13
14
  export function configure(options) {
14
15
  return {
@@ -1 +1 @@
1
- {"version":3,"file":"sui-processor.js","sourceRoot":"","sources":["../../src/sui/sui-processor.ts"],"names":[],"mappings":"AAAA,OAAO,EAAqD,eAAe,EAAE,MAAM,gBAAgB,CAAA;AACnG,OAAO,EAAE,gBAAgB,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAA;AACvE,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AACzC,OAAO,EAAE,WAAW,EAAE,MAAM,EAAE,MAAM,WAAW,CAAA;AAC/C,OAAO,EAAE,UAAU,EAAE,sBAAsB,EAAE,MAAM,cAAc,CAAA;AAEjE,OAAO,EACL,oBAAoB,EAMpB,aAAa,EACb,QAAQ,EAET,MAAM,kBAAkB,CAAA;AACzB,OAAO,EAAE,YAAY,EAAE,MAAM,YAAY,CAAA;AACzC,OAAO,EAAE,gBAAgB,EAAa,MAAM,iBAAiB,CAAA;AAI7D,MAAM,CAAC,MAAM,oBAAoB,GAAoB;IACnD,eAAe,EAAE,KAAK;IACtB,SAAS,EAAE,KAAK;CACjB,CAAA;AAID,MAAM,UAAU,SAAS,CAAC,OAAuB;IAC/C,OAAO;QACL,eAAe,EAAE,OAAO,CAAC,eAAe,IAAI,EAAE;QAC9C,OAAO,EAAE,OAAO,CAAC,OAAO,KAAK,GAAG,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,oBAAoB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IACD,kBAAkB,CAChB,OAA4E,EAC5E,MAAyB,EACzB,WAAsC;QAEtC,gCAAgC;QAChC,sEAAsE;QACtE,+FAA+F;QAC/F,IAAI;QACJ,OAAO,KAAK,CAAC,kBAAkB,CAAC,OAAO,EAAE,MAAM,EAAE,WAAW,CAAC,CAAA;IAC/D,CAAC;IAEM,cAAc,CACnB,OAA0E,EAC1E,IAAY;QAEZ,OAAO,KAAK,CAAC,cAAc,CAAC,OAAO,EAAE,IAAI,CAAC,CAAA;IAC5C,CAAC;CACF"}
@@ -192,6 +192,74 @@ export declare function getPriceClient(address?: string): import("nice-grpc").Ra
192
192
  readonly responseStream: false;
193
193
  readonly options: {};
194
194
  };
195
+ readonly checkLatestPrice: {
196
+ readonly name: "CheckLatestPrice";
197
+ readonly requestType: {
198
+ encode(_: import("@sentio/protos").Empty, writer?: import("protobufjs").Writer | undefined): import("protobufjs").Writer;
199
+ decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): import("@sentio/protos").Empty;
200
+ fromJSON(_: any): import("@sentio/protos").Empty;
201
+ toJSON(_: import("@sentio/protos").Empty): unknown;
202
+ create(base?: {} | undefined): import("@sentio/protos").Empty;
203
+ fromPartial(_: {}): import("@sentio/protos").Empty;
204
+ };
205
+ readonly requestStream: false;
206
+ readonly responseType: {
207
+ encode(message: import("@sentio/protos/price").CheckLatestPriceResponse, writer?: import("protobufjs").Writer | undefined): import("protobufjs").Writer;
208
+ decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): import("@sentio/protos/price").CheckLatestPriceResponse;
209
+ fromJSON(object: any): import("@sentio/protos/price").CheckLatestPriceResponse;
210
+ toJSON(message: import("@sentio/protos/price").CheckLatestPriceResponse): unknown;
211
+ create(base?: {
212
+ prices?: {
213
+ coinId?: {
214
+ symbol?: string | undefined;
215
+ address?: {
216
+ address?: string | undefined;
217
+ chain?: string | undefined;
218
+ } | undefined;
219
+ } | undefined;
220
+ price?: number | undefined;
221
+ timestamp?: Date | undefined;
222
+ }[] | undefined;
223
+ latestPrice?: {
224
+ coinId?: {
225
+ symbol?: string | undefined;
226
+ address?: {
227
+ address?: string | undefined;
228
+ chain?: string | undefined;
229
+ } | undefined;
230
+ } | undefined;
231
+ price?: number | undefined;
232
+ timestamp?: Date | undefined;
233
+ } | undefined;
234
+ } | undefined): import("@sentio/protos/price").CheckLatestPriceResponse;
235
+ fromPartial(object: {
236
+ prices?: {
237
+ coinId?: {
238
+ symbol?: string | undefined;
239
+ address?: {
240
+ address?: string | undefined;
241
+ chain?: string | undefined;
242
+ } | undefined;
243
+ } | undefined;
244
+ price?: number | undefined;
245
+ timestamp?: Date | undefined;
246
+ }[] | undefined;
247
+ latestPrice?: {
248
+ coinId?: {
249
+ symbol?: string | undefined;
250
+ address?: {
251
+ address?: string | undefined;
252
+ chain?: string | undefined;
253
+ } | undefined;
254
+ } | undefined;
255
+ price?: number | undefined;
256
+ timestamp?: Date | undefined;
257
+ } | undefined;
258
+ }): import("@sentio/protos/price").CheckLatestPriceResponse;
259
+ };
260
+ readonly responseStream: false;
261
+ readonly options: {};
262
+ };
195
263
  };
196
264
  }>, RetryOptions>;
197
265
  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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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,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,oDAY1D"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sentio/sdk",
3
- "version": "2.32.0-rc.3",
3
+ "version": "2.32.0-rc.5",
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.0-rc.3",
77
- "@sentio/runtime": "^2.32.0-rc.3"
76
+ "@sentio/protos": "2.32.0-rc.5",
77
+ "@sentio/runtime": "^2.32.0-rc.5"
78
78
  },
79
79
  "peerDependencies": {
80
80
  "tsup": "npm:@sentio/tsup@^6.7.2"
@@ -27,7 +27,8 @@ import { Labels, PromiseOrVoid } from '../core/index.js'
27
27
 
28
28
  const DEFAULT_FETCH_CONFIG: MoveFetchConfig = {
29
29
  resourceChanges: false,
30
- allEvents: true
30
+ allEvents: true,
31
+ inputs: false
31
32
  }
32
33
 
33
34
  export const DEFAULT_RESOURCE_FETCH_CONFIG: MoveAccountFetchConfig = {
@@ -96,7 +96,7 @@ class QueuedStaticJsonRpcProvider extends JsonRpcProvider {
96
96
 
97
97
  async send(method: string, params: Array<any>): Promise<any> {
98
98
  if (method !== 'eth_call') {
99
- return super.send(method, params)
99
+ return await this.executor.add(() => super.send(method, params))
100
100
  }
101
101
  const tag = getTag(method, params)
102
102
  const block = params[params.length - 1]
@@ -110,14 +110,6 @@ class QueuedStaticJsonRpcProvider extends JsonRpcProvider {
110
110
  this.#performCache.delete(tag)
111
111
  }
112
112
  }, 1000)
113
- // }
114
- // if (e.code === 'CALL_EXCEPTION' && !e.data) {
115
- // setTimeout(() => {
116
- // if (this.#performCache.get(tag) === perform) {
117
- // this.#performCache.delete(tag)
118
- // }
119
- // }, 1000)
120
- // }
121
113
  })
122
114
  this.#performCache.set(tag, perform)
123
115
  // For non latest block call, we cache permanently, otherwise we cache for one minute
@@ -22,7 +22,8 @@ import { Required } from 'utility-types'
22
22
 
23
23
  export const DEFAULT_FETCH_CONFIG: MoveFetchConfig = {
24
24
  resourceChanges: false,
25
- allEvents: false
25
+ allEvents: false,
26
+ inputs: false
26
27
  }
27
28
 
28
29
  export type IndexConfigure = Required<SuiBindOptions, 'startCheckpoint' | 'network'>