Comparing version 0.0.44 to 0.0.45
@@ -269,2 +269,24 @@ const sui = require('@mysten/sui.js'); | ||
async fetchEvents(params = {}) { | ||
let query = params.query; | ||
const queryParams = { | ||
descending_order: params.descending_order || false, | ||
query: query, | ||
limit: params.limit || 50, | ||
}; | ||
const paginatedResponse = new SuiPaginatedResponse({ | ||
debug: this._debug, | ||
suiMaster: this, | ||
params: queryParams, | ||
method: 'queryEvents', | ||
order: params.order, | ||
}); | ||
await paginatedResponse.fetch(); | ||
return paginatedResponse; | ||
} | ||
// export type TransactionFilter = | ||
@@ -271,0 +293,0 @@ // | { FromOrToAddress: { addr: string } } |
{ | ||
"name": "suidouble", | ||
"version": "0.0.44", | ||
"version": "0.0.45", | ||
"description": "Set of provider, package and object classes for javascript representation of Sui Move smart contracts. Use same code for publishing, upgrading, integration testing, interaction with smart contracts and integration in browser web3 dapps", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
213875
3339
2
67
5
20