suidouble 1.14.3-2 → 1.15.1-1
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/index.js +2 -0
- package/lib/SuiMaster.js +4 -1
- package/package.json +2 -2
package/index.js
CHANGED
|
@@ -7,6 +7,7 @@ import SuiLocalTestValidator from './lib/SuiLocalTestValidator.js';
|
|
|
7
7
|
import SuiMemoryObjectStorage from './lib/SuiMemoryObjectStorage.js';
|
|
8
8
|
import SuiCoin from './lib/SuiCoin.js';
|
|
9
9
|
import SuiCoins from './lib/SuiCoins.js';
|
|
10
|
+
import SuiPaginatedResponse from './lib/SuiPaginatedResponse.js';
|
|
10
11
|
import { Transaction, Commands } from '@mysten/sui/transactions';
|
|
11
12
|
import { bcs } from '@mysten/sui/bcs';
|
|
12
13
|
|
|
@@ -28,4 +29,5 @@ export {
|
|
|
28
29
|
SuiMemoryObjectStorage,
|
|
29
30
|
SuiCoin,
|
|
30
31
|
SuiCoins,
|
|
32
|
+
SuiPaginatedResponse,
|
|
31
33
|
};
|
package/lib/SuiMaster.js
CHANGED
|
@@ -406,10 +406,13 @@ export default class SuiMaster extends SuiCommonMethods {
|
|
|
406
406
|
}
|
|
407
407
|
|
|
408
408
|
async fetchTransactions(params = {}) {
|
|
409
|
-
|
|
409
|
+
let filter = {};
|
|
410
410
|
if (params.fromAddress) {
|
|
411
411
|
filter.FromAddress = params.fromAddress;
|
|
412
412
|
}
|
|
413
|
+
if (params.filter) {
|
|
414
|
+
filter = params.filter;
|
|
415
|
+
}
|
|
413
416
|
|
|
414
417
|
const queryParams = {
|
|
415
418
|
descending_order: false,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "suidouble",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.15.1-1",
|
|
4
4
|
"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
5
|
"main": "index.js",
|
|
6
6
|
"type": "module",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"author": "suidouble (https://github.com/suidouble)",
|
|
23
23
|
"license": "Apache-2.0",
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@mysten/sui": "^1.
|
|
25
|
+
"@mysten/sui": "^1.15.1",
|
|
26
26
|
"@polymedia/coinmeta": "^0.0.17",
|
|
27
27
|
"@wallet-standard/core": "^1.0.3",
|
|
28
28
|
"websocket": "^1.0.35"
|