@aave/cli 4.1.0-next.39 → 4.1.0-next.40

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/README.md CHANGED
@@ -20,7 +20,7 @@ $ npm install -g @aave/cli
20
20
  $ aave COMMAND
21
21
  running command...
22
22
  $ aave (--version)
23
- @aave/cli/4.1.0-next.38 darwin-arm64 node-v22.17.0
23
+ @aave/cli/4.1.0-next.39 darwin-arm64 node-v22.17.0
24
24
  $ aave --help [COMMAND]
25
25
  USAGE
26
26
  $ aave COMMAND
@@ -55,7 +55,7 @@ DESCRIPTION
55
55
  List user borrows for a specific chain
56
56
  ```
57
57
 
58
- _See code: [src/commands/borrows/list.ts](https://github.com/aave/aave-v4-sdk/blob/v4.1.0-next.38/src/commands/borrows/list.ts)_
58
+ _See code: [src/commands/borrows/list.ts](https://github.com/aave/aave-v4-sdk/blob/v4.1.0-next.39/src/commands/borrows/list.ts)_
59
59
 
60
60
  ## `aave hubs list`
61
61
 
@@ -75,7 +75,7 @@ DESCRIPTION
75
75
  List Aave v4 liquidity hubs
76
76
  ```
77
77
 
78
- _See code: [src/commands/hubs/list.ts](https://github.com/aave/aave-v4-sdk/blob/v4.1.0-next.38/src/commands/hubs/list.ts)_
78
+ _See code: [src/commands/hubs/list.ts](https://github.com/aave/aave-v4-sdk/blob/v4.1.0-next.39/src/commands/hubs/list.ts)_
79
79
 
80
80
  ## `aave positions list`
81
81
 
@@ -96,7 +96,7 @@ DESCRIPTION
96
96
  List user positions across chains
97
97
  ```
98
98
 
99
- _See code: [src/commands/positions/list.ts](https://github.com/aave/aave-v4-sdk/blob/v4.1.0-next.38/src/commands/positions/list.ts)_
99
+ _See code: [src/commands/positions/list.ts](https://github.com/aave/aave-v4-sdk/blob/v4.1.0-next.39/src/commands/positions/list.ts)_
100
100
 
101
101
  ## `aave reserves list`
102
102
 
@@ -119,7 +119,7 @@ DESCRIPTION
119
119
  List Aave v4 reserves
120
120
  ```
121
121
 
122
- _See code: [src/commands/reserves/list.ts](https://github.com/aave/aave-v4-sdk/blob/v4.1.0-next.38/src/commands/reserves/list.ts)_
122
+ _See code: [src/commands/reserves/list.ts](https://github.com/aave/aave-v4-sdk/blob/v4.1.0-next.39/src/commands/reserves/list.ts)_
123
123
 
124
124
  ## `aave spokes list`
125
125
 
@@ -141,7 +141,7 @@ DESCRIPTION
141
141
  List Aave v4 spokes
142
142
  ```
143
143
 
144
- _See code: [src/commands/spokes/list.ts](https://github.com/aave/aave-v4-sdk/blob/v4.1.0-next.38/src/commands/spokes/list.ts)_
144
+ _See code: [src/commands/spokes/list.ts](https://github.com/aave/aave-v4-sdk/blob/v4.1.0-next.39/src/commands/spokes/list.ts)_
145
145
 
146
146
  ## `aave supplies list`
147
147
 
@@ -162,5 +162,5 @@ DESCRIPTION
162
162
  List user supplies for a specific chain
163
163
  ```
164
164
 
165
- _See code: [src/commands/supplies/list.ts](https://github.com/aave/aave-v4-sdk/blob/v4.1.0-next.38/src/commands/supplies/list.ts)_
165
+ _See code: [src/commands/supplies/list.ts](https://github.com/aave/aave-v4-sdk/blob/v4.1.0-next.39/src/commands/supplies/list.ts)_
166
166
  <!-- commandsstop -->
@@ -100,10 +100,10 @@
100
100
  "list.js"
101
101
  ]
102
102
  },
103
- "spokes:list": {
103
+ "positions:list": {
104
104
  "aliases": [],
105
105
  "args": {},
106
- "description": "List Aave v4 spokes",
106
+ "description": "List user positions across chains",
107
107
  "flags": {
108
108
  "json": {
109
109
  "description": "Format output as json.",
@@ -119,71 +119,29 @@
119
119
  "allowNo": false,
120
120
  "type": "boolean"
121
121
  },
122
- "hub_id": {
123
- "char": "h",
124
- "description": "The hub ID (e.g. SGVsbG8h…)",
125
- "name": "hub_id",
126
- "relationships": [
127
- {
128
- "type": "none",
129
- "flags": [
130
- "chain_id",
131
- "hub_address"
132
- ]
133
- }
134
- ],
122
+ "user": {
123
+ "description": "User address",
124
+ "name": "user",
125
+ "required": true,
135
126
  "hasDynamicHelp": false,
136
- "helpValue": "<hub-id>",
127
+ "helpValue": "<evm-address>",
137
128
  "multiple": false,
138
129
  "type": "option"
139
130
  },
140
131
  "chain_id": {
141
132
  "char": "c",
142
- "description": "The chain ID (e.g. 1, 137, 42161)",
133
+ "description": "Filter by chain ID",
143
134
  "name": "chain_id",
144
- "relationships": [
145
- {
146
- "type": "none",
147
- "flags": [
148
- "hub_id"
149
- ]
150
- }
151
- ],
152
- "required": false,
135
+ "required": true,
153
136
  "hasDynamicHelp": false,
154
137
  "helpValue": "<chain-id>",
155
138
  "multiple": false,
156
139
  "type": "option"
157
- },
158
- "hub_address": {
159
- "dependsOn": [
160
- "chain_id"
161
- ],
162
- "description": "The hub address (e.g. 0x123…)",
163
- "name": "hub_address",
164
- "relationships": [
165
- {
166
- "type": "none",
167
- "flags": [
168
- "hub_id"
169
- ]
170
- },
171
- {
172
- "type": "all",
173
- "flags": [
174
- "chain_id"
175
- ]
176
- }
177
- ],
178
- "hasDynamicHelp": false,
179
- "helpValue": "<evm-address>",
180
- "multiple": false,
181
- "type": "option"
182
140
  }
183
141
  },
184
142
  "hasDynamicHelp": false,
185
143
  "hiddenAliases": [],
186
- "id": "spokes:list",
144
+ "id": "positions:list",
187
145
  "pluginAlias": "@aave/cli",
188
146
  "pluginName": "@aave/cli",
189
147
  "pluginType": "core",
@@ -193,7 +151,7 @@
193
151
  "relativePath": [
194
152
  "dist",
195
153
  "commands",
196
- "spokes",
154
+ "positions",
197
155
  "list.js"
198
156
  ]
199
157
  },
@@ -318,10 +276,10 @@
318
276
  "list.js"
319
277
  ]
320
278
  },
321
- "supplies:list": {
279
+ "spokes:list": {
322
280
  "aliases": [],
323
281
  "args": {},
324
- "description": "List user supplies for a specific chain",
282
+ "description": "List Aave v4 spokes",
325
283
  "flags": {
326
284
  "json": {
327
285
  "description": "Format output as json.",
@@ -337,29 +295,71 @@
337
295
  "allowNo": false,
338
296
  "type": "boolean"
339
297
  },
340
- "user": {
341
- "description": "User address",
342
- "name": "user",
343
- "required": true,
298
+ "hub_id": {
299
+ "char": "h",
300
+ "description": "The hub ID (e.g. SGVsbG8h…)",
301
+ "name": "hub_id",
302
+ "relationships": [
303
+ {
304
+ "type": "none",
305
+ "flags": [
306
+ "chain_id",
307
+ "hub_address"
308
+ ]
309
+ }
310
+ ],
344
311
  "hasDynamicHelp": false,
345
- "helpValue": "<evm-address>",
312
+ "helpValue": "<hub-id>",
346
313
  "multiple": false,
347
314
  "type": "option"
348
315
  },
349
316
  "chain_id": {
350
317
  "char": "c",
351
- "description": "Chain ID to query supplies from",
318
+ "description": "The chain ID (e.g. 1, 137, 42161)",
352
319
  "name": "chain_id",
353
- "required": true,
320
+ "relationships": [
321
+ {
322
+ "type": "none",
323
+ "flags": [
324
+ "hub_id"
325
+ ]
326
+ }
327
+ ],
328
+ "required": false,
354
329
  "hasDynamicHelp": false,
355
330
  "helpValue": "<chain-id>",
356
331
  "multiple": false,
357
332
  "type": "option"
333
+ },
334
+ "hub_address": {
335
+ "dependsOn": [
336
+ "chain_id"
337
+ ],
338
+ "description": "The hub address (e.g. 0x123…)",
339
+ "name": "hub_address",
340
+ "relationships": [
341
+ {
342
+ "type": "none",
343
+ "flags": [
344
+ "hub_id"
345
+ ]
346
+ },
347
+ {
348
+ "type": "all",
349
+ "flags": [
350
+ "chain_id"
351
+ ]
352
+ }
353
+ ],
354
+ "hasDynamicHelp": false,
355
+ "helpValue": "<evm-address>",
356
+ "multiple": false,
357
+ "type": "option"
358
358
  }
359
359
  },
360
360
  "hasDynamicHelp": false,
361
361
  "hiddenAliases": [],
362
- "id": "supplies:list",
362
+ "id": "spokes:list",
363
363
  "pluginAlias": "@aave/cli",
364
364
  "pluginName": "@aave/cli",
365
365
  "pluginType": "core",
@@ -369,14 +369,14 @@
369
369
  "relativePath": [
370
370
  "dist",
371
371
  "commands",
372
- "supplies",
372
+ "spokes",
373
373
  "list.js"
374
374
  ]
375
375
  },
376
- "positions:list": {
376
+ "supplies:list": {
377
377
  "aliases": [],
378
378
  "args": {},
379
- "description": "List user positions across chains",
379
+ "description": "List user supplies for a specific chain",
380
380
  "flags": {
381
381
  "json": {
382
382
  "description": "Format output as json.",
@@ -403,7 +403,7 @@
403
403
  },
404
404
  "chain_id": {
405
405
  "char": "c",
406
- "description": "Filter by chain ID",
406
+ "description": "Chain ID to query supplies from",
407
407
  "name": "chain_id",
408
408
  "required": true,
409
409
  "hasDynamicHelp": false,
@@ -414,7 +414,7 @@
414
414
  },
415
415
  "hasDynamicHelp": false,
416
416
  "hiddenAliases": [],
417
- "id": "positions:list",
417
+ "id": "supplies:list",
418
418
  "pluginAlias": "@aave/cli",
419
419
  "pluginName": "@aave/cli",
420
420
  "pluginType": "core",
@@ -424,10 +424,10 @@
424
424
  "relativePath": [
425
425
  "dist",
426
426
  "commands",
427
- "positions",
427
+ "supplies",
428
428
  "list.js"
429
429
  ]
430
430
  }
431
431
  },
432
- "version": "4.1.0-next.39"
432
+ "version": "4.1.0-next.40"
433
433
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aave/cli",
3
- "version": "4.1.0-next.39",
3
+ "version": "4.1.0-next.40",
4
4
  "description": "CLI to interact with AaveKit API",
5
5
  "keywords": [
6
6
  "aave",
@@ -30,7 +30,7 @@
30
30
  "@oclif/plugin-help": "^6",
31
31
  "@oclif/plugin-plugins": "^5",
32
32
  "tty-table": "^5.0.0",
33
- "@aave/client": "4.0.0-next.47"
33
+ "@aave/client": "4.0.0-next.48"
34
34
  },
35
35
  "devDependencies": {
36
36
  "@oclif/test": "^4",