@0xobelisk/sui-client 1.1.4 → 1.1.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.
- package/dist/dubhe.d.ts +3 -1
- package/dist/index.js +9 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +9 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/dubhe.ts +11 -1
package/dist/dubhe.d.ts
CHANGED
|
@@ -60,9 +60,11 @@ export declare class Dubhe {
|
|
|
60
60
|
after?: string;
|
|
61
61
|
orderBy?: string[];
|
|
62
62
|
}): Promise<ConnectionResponse<IndexerTransaction>>;
|
|
63
|
-
getEvents({ first, after, orderBy, }: {
|
|
63
|
+
getEvents({ first, after, name, checkpoint, orderBy, }: {
|
|
64
64
|
first?: number;
|
|
65
65
|
after?: string;
|
|
66
|
+
name?: string;
|
|
67
|
+
checkpoint?: string;
|
|
66
68
|
orderBy?: string[];
|
|
67
69
|
}): Promise<ConnectionResponse<IndexerEvent>>;
|
|
68
70
|
getSchemas({ name, key1, key2, is_removed, last_update_checkpoint, last_update_digest, value, first, after, orderBy, }: {
|
package/dist/index.js
CHANGED
|
@@ -2291,9 +2291,17 @@ var Dubhe = class {
|
|
|
2291
2291
|
async getEvents({
|
|
2292
2292
|
first,
|
|
2293
2293
|
after,
|
|
2294
|
+
name,
|
|
2295
|
+
checkpoint,
|
|
2294
2296
|
orderBy
|
|
2295
2297
|
}) {
|
|
2296
|
-
return await this.suiIndexerClient.getEvents({
|
|
2298
|
+
return await this.suiIndexerClient.getEvents({
|
|
2299
|
+
first,
|
|
2300
|
+
after,
|
|
2301
|
+
name,
|
|
2302
|
+
checkpoint,
|
|
2303
|
+
orderBy
|
|
2304
|
+
});
|
|
2297
2305
|
}
|
|
2298
2306
|
async getSchemas({
|
|
2299
2307
|
name,
|