@@ -26,15 +26,15 @@ Name | Type |
26
26
27
27
** Returns:** [ * BeeDebug* ] ( beedebug.md )
28
28
29
- Defined in: [ bee-js/src/bee-debug.ts:36] ( https://github.com/ethersphere/bee-js/blob/9a547fe /src/bee-debug.ts#L36 )
29
+ Defined in: [ bee-js/src/bee-debug.ts:36] ( https://github.com/ethersphere/bee-js/blob/7260ee1 /src/bee-debug.ts#L36 )
30
30
31
31
## Properties
32
32
33
33
### url
34
34
35
35
• ` Readonly ` ** url** : * string*
36
36
37
- Defined in: [ bee-js/src/bee-debug.ts:36] ( https://github.com/ethersphere/bee-js/blob/9a547fe /src/bee-debug.ts#L36 )
37
+ Defined in: [ bee-js/src/bee-debug.ts:36] ( https://github.com/ethersphere/bee-js/blob/7260ee1 /src/bee-debug.ts#L36 )
38
38
39
39
## Methods
40
40
@@ -52,25 +52,25 @@ Name | Type | Description |
52
52
53
53
** Returns:** * Promise* <[ * CashoutResponse* ] ( ../interfaces/cashoutresponse.md ) \>
54
54
55
- Defined in: [ bee-js/src/bee-debug.ts:161 ] ( https://github.com/ethersphere/bee-js/blob/9a547fe /src/bee-debug.ts#L161 )
55
+ Defined in: [ bee-js/src/bee-debug.ts:169 ] ( https://github.com/ethersphere/bee-js/blob/7260ee1 /src/bee-debug.ts#L169 )
56
56
57
57
___
58
58
59
59
### depositTokens
60
60
61
- ▸ ** depositTokens** (` amount ` : * number* \| BigInt ): * Promise* <[ * DepositTokensResponse* ] ( ../interfaces/deposittokensresponse.md ) \>
61
+ ▸ ** depositTokens** (` amount ` : * number* \| * bigint * ): * Promise* <[ * DepositTokensResponse* ] ( ../interfaces/deposittokensresponse.md ) \>
62
62
63
63
Deposit tokens from overlay address into chequebook
64
64
65
65
#### Parameters:
66
66
67
67
Name | Type | Description |
68
68
:------ | :------ | :------ |
69
- ` amount ` | * number* \| BigInt | Amount of tokens to deposit (must be positive integer) |
69
+ ` amount ` | * number* \| * bigint * | Amount of tokens to deposit (must be positive integer) |
70
70
71
71
** Returns:** * Promise* <[ * DepositTokensResponse* ] ( ../interfaces/deposittokensresponse.md ) \>
72
72
73
- Defined in: [ bee-js/src/bee-debug.ts:170 ] ( https://github.com/ethersphere/bee-js/blob/9a547fe /src/bee-debug.ts#L170 )
73
+ Defined in: [ bee-js/src/bee-debug.ts:178 ] ( https://github.com/ethersphere/bee-js/blob/7260ee1 /src/bee-debug.ts#L178 )
74
74
75
75
___
76
76
@@ -82,7 +82,7 @@ Get the balances with all known peers including prepaid services
82
82
83
83
** Returns:** * Promise* <[ * BalanceResponse* ] ( ../interfaces/balanceresponse.md ) \>
84
84
85
- Defined in: [ bee-js/src/bee-debug.ts:81] ( https://github.com/ethersphere/bee-js/blob/9a547fe /src/bee-debug.ts#L81 )
85
+ Defined in: [ bee-js/src/bee-debug.ts:81] ( https://github.com/ethersphere/bee-js/blob/7260ee1 /src/bee-debug.ts#L81 )
86
86
87
87
___
88
88
@@ -94,7 +94,7 @@ Get settlements with all known peers and total amount sent or received
94
94
95
95
** Returns:** * Promise* <[ * AllSettlements* ] ( ../interfaces/allsettlements.md ) \>
96
96
97
- Defined in: [ bee-js/src/bee-debug.ts:207 ] ( https://github.com/ethersphere/bee-js/blob/9a547fe /src/bee-debug.ts#L207 )
97
+ Defined in: [ bee-js/src/bee-debug.ts:217 ] ( https://github.com/ethersphere/bee-js/blob/7260ee1 /src/bee-debug.ts#L217 )
98
98
99
99
___
100
100
104
104
105
105
** Returns:** * Promise* <[ * Peer* ] ( ../interfaces/peer.md ) [ ] \>
106
106
107
- Defined in: [ bee-js/src/bee-debug.ts:51] ( https://github.com/ethersphere/bee-js/blob/9a547fe /src/bee-debug.ts#L51 )
107
+ Defined in: [ bee-js/src/bee-debug.ts:51] ( https://github.com/ethersphere/bee-js/blob/7260ee1 /src/bee-debug.ts#L51 )
108
108
109
109
___
110
110
@@ -119,7 +119,7 @@ https://github.com/ethersphere/bee/issues/1443
119
119
120
120
** Returns:** * Promise* <[ * ChequebookAddressResponse* ] ( ../interfaces/chequebookaddressresponse.md ) \>
121
121
122
- Defined in: [ bee-js/src/bee-debug.ts:120 ] ( https://github.com/ethersphere/bee-js/blob/9a547fe /src/bee-debug.ts#L120 )
122
+ Defined in: [ bee-js/src/bee-debug.ts:124 ] ( https://github.com/ethersphere/bee-js/blob/7260ee1 /src/bee-debug.ts#L124 )
123
123
124
124
___
125
125
@@ -131,7 +131,7 @@ Get the balance of the chequebook
131
131
132
132
** Returns:** * Promise* <[ * ChequebookBalanceResponse* ] ( ../interfaces/chequebookbalanceresponse.md ) \>
133
133
134
- Defined in: [ bee-js/src/bee-debug.ts:127 ] ( https://github.com/ethersphere/bee-js/blob/9a547fe /src/bee-debug.ts#L127 )
134
+ Defined in: [ bee-js/src/bee-debug.ts:131 ] ( https://github.com/ethersphere/bee-js/blob/7260ee1 /src/bee-debug.ts#L131 )
135
135
136
136
___
137
137
@@ -143,25 +143,25 @@ Get health of node
143
143
144
144
** Returns:** * Promise* <[ * Health* ] ( ../interfaces/health.md ) \>
145
145
146
- Defined in: [ bee-js/src/bee-debug.ts:214 ] ( https://github.com/ethersphere/bee-js/blob/9a547fe /src/bee-debug.ts#L214 )
146
+ Defined in: [ bee-js/src/bee-debug.ts:224 ] ( https://github.com/ethersphere/bee-js/blob/7260ee1 /src/bee-debug.ts#L224 )
147
147
148
148
___
149
149
150
150
### getLastCashoutAction
151
151
152
- ▸ ** getLastCashoutAction** (` address ` : * string* ): * Promise* <[ * LastCashoutActionResponse* ] ( ../interfaces/lastcashoutactionresponse.md ) \>
152
+ ▸ ** getLastCashoutAction** (` address ` : * string* \| [ * Address * ] ( ../types/address.md ) ): * Promise* <[ * LastCashoutActionResponse* ] ( ../interfaces/lastcashoutactionresponse.md ) \>
153
153
154
154
Get last cashout action for the peer
155
155
156
156
#### Parameters:
157
157
158
158
Name | Type | Description |
159
159
:------ | :------ | :------ |
160
- ` address ` | * string* | Swarm address of peer |
160
+ ` address ` | * string* \| [ * Address * ] ( ../types/address.md ) | Swarm address of peer |
161
161
162
162
** Returns:** * Promise* <[ * LastCashoutActionResponse* ] ( ../interfaces/lastcashoutactionresponse.md ) \>
163
163
164
- Defined in: [ bee-js/src/bee-debug.ts:152 ] ( https://github.com/ethersphere/bee-js/blob/9a547fe /src/bee-debug.ts#L152 )
164
+ Defined in: [ bee-js/src/bee-debug.ts:158 ] ( https://github.com/ethersphere/bee-js/blob/7260ee1 /src/bee-debug.ts#L158 )
165
165
166
166
___
167
167
@@ -173,25 +173,25 @@ Get last cheques for all peers
173
173
174
174
** Returns:** * Promise* <[ * LastChequesResponse* ] ( ../interfaces/lastchequesresponse.md ) \>
175
175
176
- Defined in: [ bee-js/src/bee-debug.ts:134 ] ( https://github.com/ethersphere/bee-js/blob/9a547fe /src/bee-debug.ts#L134 )
176
+ Defined in: [ bee-js/src/bee-debug.ts:138 ] ( https://github.com/ethersphere/bee-js/blob/7260ee1 /src/bee-debug.ts#L138 )
177
177
178
178
___
179
179
180
180
### getLastChequesForPeer
181
181
182
- ▸ ** getLastChequesForPeer** (` address ` : * string* ): * Promise* <[ * LastChequesForPeerResponse* ] ( ../interfaces/lastchequesforpeerresponse.md ) \>
182
+ ▸ ** getLastChequesForPeer** (` address ` : * string* \| [ * Address * ] ( ../types/address.md ) ): * Promise* <[ * LastChequesForPeerResponse* ] ( ../interfaces/lastchequesforpeerresponse.md ) \>
183
183
184
184
Get last cheques for the peer
185
185
186
186
#### Parameters:
187
187
188
188
Name | Type | Description |
189
189
:------ | :------ | :------ |
190
- ` address ` | * string* | Swarm address of peer |
190
+ ` address ` | * string* \| [ * Address * ] ( ../types/address.md ) | Swarm address of peer |
191
191
192
192
** Returns:** * Promise* <[ * LastChequesForPeerResponse* ] ( ../interfaces/lastchequesforpeerresponse.md ) \>
193
193
194
- Defined in: [ bee-js/src/bee-debug.ts:143 ] ( https://github.com/ethersphere/bee-js/blob/9a547fe /src/bee-debug.ts#L143 )
194
+ Defined in: [ bee-js/src/bee-debug.ts:147 ] ( https://github.com/ethersphere/bee-js/blob/7260ee1 /src/bee-debug.ts#L147 )
195
195
196
196
___
197
197
201
201
202
202
** Returns:** * Promise* <[ * NodeAddresses* ] ( ../interfaces/nodeaddresses.md ) \>
203
203
204
- Defined in: [ bee-js/src/bee-debug.ts:47] ( https://github.com/ethersphere/bee-js/blob/9a547fe /src/bee-debug.ts#L47 )
204
+ Defined in: [ bee-js/src/bee-debug.ts:47] ( https://github.com/ethersphere/bee-js/blob/7260ee1 /src/bee-debug.ts#L47 )
205
205
206
206
___
207
207
@@ -213,43 +213,43 @@ Get the past due consumption balances with all known peers
213
213
214
214
** Returns:** * Promise* <[ * BalanceResponse* ] ( ../interfaces/balanceresponse.md ) \>
215
215
216
- Defined in: [ bee-js/src/bee-debug.ts:97 ] ( https://github.com/ethersphere/bee-js/blob/9a547fe /src/bee-debug.ts#L97 )
216
+ Defined in: [ bee-js/src/bee-debug.ts:99 ] ( https://github.com/ethersphere/bee-js/blob/7260ee1 /src/bee-debug.ts#L99 )
217
217
218
218
___
219
219
220
220
### getPastDueConsumptionPeerBalance
221
221
222
- ▸ ** getPastDueConsumptionPeerBalance** (` address ` : * string* ): * Promise* <[ * PeerBalance* ] ( ../interfaces/peerbalance.md ) \>
222
+ ▸ ** getPastDueConsumptionPeerBalance** (` address ` : * string* \| [ * Address * ] ( ../types/address.md ) ): * Promise* <[ * PeerBalance* ] ( ../interfaces/peerbalance.md ) \>
223
223
224
224
Get the past due consumption balance with a specific peer
225
225
226
226
#### Parameters:
227
227
228
228
Name | Type | Description |
229
229
:------ | :------ | :------ |
230
- ` address ` | * string* | Swarm address of peer |
230
+ ` address ` | * string* \| [ * Address * ] ( ../types/address.md ) | Swarm address of peer |
231
231
232
232
** Returns:** * Promise* <[ * PeerBalance* ] ( ../interfaces/peerbalance.md ) \>
233
233
234
- Defined in: [ bee-js/src/bee-debug.ts:106 ] ( https://github.com/ethersphere/bee-js/blob/9a547fe /src/bee-debug.ts#L106 )
234
+ Defined in: [ bee-js/src/bee-debug.ts:108 ] ( https://github.com/ethersphere/bee-js/blob/7260ee1 /src/bee-debug.ts#L108 )
235
235
236
236
___
237
237
238
238
### getPeerBalance
239
239
240
- ▸ ** getPeerBalance** (` address ` : * string* ): * Promise* <[ * PeerBalance* ] ( ../interfaces/peerbalance.md ) \>
240
+ ▸ ** getPeerBalance** (` address ` : * string* \| [ * Address * ] ( ../types/address.md ) ): * Promise* <[ * PeerBalance* ] ( ../interfaces/peerbalance.md ) \>
241
241
242
242
Get the balances with a specific peer including prepaid services
243
243
244
244
#### Parameters:
245
245
246
246
Name | Type | Description |
247
247
:------ | :------ | :------ |
248
- ` address ` | * string* | Swarm address of peer |
248
+ ` address ` | * string* \| [ * Address * ] ( ../types/address.md ) | Swarm address of peer |
249
249
250
250
** Returns:** * Promise* <[ * PeerBalance* ] ( ../interfaces/peerbalance.md ) \>
251
251
252
- Defined in: [ bee-js/src/bee-debug.ts:90] ( https://github.com/ethersphere/bee-js/blob/9a547fe /src/bee-debug.ts#L90 )
252
+ Defined in: [ bee-js/src/bee-debug.ts:90] ( https://github.com/ethersphere/bee-js/blob/7260ee1 /src/bee-debug.ts#L90 )
253
253
254
254
___
255
255
@@ -261,25 +261,25 @@ Get list of peers for this node
261
261
262
262
** Returns:** * Promise* <[ * Peer* ] ( ../interfaces/peer.md ) [ ] \>
263
263
264
- Defined in: [ bee-js/src/bee-debug.ts:58] ( https://github.com/ethersphere/bee-js/blob/9a547fe /src/bee-debug.ts#L58 )
264
+ Defined in: [ bee-js/src/bee-debug.ts:58] ( https://github.com/ethersphere/bee-js/blob/7260ee1 /src/bee-debug.ts#L58 )
265
265
266
266
___
267
267
268
268
### getSettlements
269
269
270
- ▸ ** getSettlements** (` address ` : * string* ): * Promise* <[ * Settlements* ] ( ../interfaces/settlements.md ) \>
270
+ ▸ ** getSettlements** (` address ` : * string* \| [ * Address * ] ( ../types/address.md ) ): * Promise* <[ * Settlements* ] ( ../interfaces/settlements.md ) \>
271
271
272
272
Get amount of sent and received from settlements with a peer
273
273
274
274
#### Parameters:
275
275
276
276
Name | Type | Description |
277
277
:------ | :------ | :------ |
278
- ` address ` | * string* | Swarm address of peer |
278
+ ` address ` | * string* \| [ * Address * ] ( ../types/address.md ) | Swarm address of peer |
279
279
280
280
** Returns:** * Promise* <[ * Settlements* ] ( ../interfaces/settlements.md ) \>
281
281
282
- Defined in: [ bee-js/src/bee-debug.ts:200 ] ( https://github.com/ethersphere/bee-js/blob/9a547fe /src/bee-debug.ts#L200 )
282
+ Defined in: [ bee-js/src/bee-debug.ts:208 ] ( https://github.com/ethersphere/bee-js/blob/7260ee1 /src/bee-debug.ts#L208 )
283
283
284
284
___
285
285
289
289
290
290
** Returns:** * Promise* <[ * Topology* ] ( ../interfaces/topology.md ) \>
291
291
292
- Defined in: [ bee-js/src/bee-debug.ts:66] ( https://github.com/ethersphere/bee-js/blob/9a547fe /src/bee-debug.ts#L66 )
292
+ Defined in: [ bee-js/src/bee-debug.ts:66] ( https://github.com/ethersphere/bee-js/blob/7260ee1 /src/bee-debug.ts#L66 )
293
293
294
294
___
295
295
@@ -303,7 +303,7 @@ Connnects to a node and checks if it is a supported Bee version by the bee-js
303
303
304
304
true if the Bee node version is supported
305
305
306
- Defined in: [ bee-js/src/bee-debug.ts:223 ] ( https://github.com/ethersphere/bee-js/blob/9a547fe /src/bee-debug.ts#L223 )
306
+ Defined in: [ bee-js/src/bee-debug.ts:233 ] ( https://github.com/ethersphere/bee-js/blob/7260ee1 /src/bee-debug.ts#L233 )
307
307
308
308
___
309
309
@@ -319,7 +319,7 @@ Name | Type |
319
319
320
320
** Returns:** * Promise* <[ * PingResponse* ] ( ../interfaces/pingresponse.md ) \>
321
321
322
- Defined in: [ bee-js/src/bee-debug.ts:70] ( https://github.com/ethersphere/bee-js/blob/9a547fe /src/bee-debug.ts#L70 )
322
+ Defined in: [ bee-js/src/bee-debug.ts:70] ( https://github.com/ethersphere/bee-js/blob/7260ee1 /src/bee-debug.ts#L70 )
323
323
324
324
___
325
325
@@ -335,22 +335,22 @@ Name | Type |
335
335
336
336
** Returns:** * Promise* <[ * RemovePeerResponse* ] ( ../interfaces/removepeerresponse.md ) \>
337
337
338
- Defined in: [ bee-js/src/bee-debug.ts:62] ( https://github.com/ethersphere/bee-js/blob/9a547fe /src/bee-debug.ts#L62 )
338
+ Defined in: [ bee-js/src/bee-debug.ts:62] ( https://github.com/ethersphere/bee-js/blob/7260ee1 /src/bee-debug.ts#L62 )
339
339
340
340
___
341
341
342
342
### withdrawTokens
343
343
344
- ▸ ** withdrawTokens** (` amount ` : * number* \| BigInt ): * Promise* <[ * WithdrawTokensResponse* ] ( ../interfaces/withdrawtokensresponse.md ) \>
344
+ ▸ ** withdrawTokens** (` amount ` : * number* \| * bigint * ): * Promise* <[ * WithdrawTokensResponse* ] ( ../interfaces/withdrawtokensresponse.md ) \>
345
345
346
346
Withdraw tokens from the chequebook to the overlay address
347
347
348
348
#### Parameters:
349
349
350
350
Name | Type | Description |
351
351
:------ | :------ | :------ |
352
- ` amount ` | * number* \| BigInt | Amount of tokens to withdraw (must be positive integer) |
352
+ ` amount ` | * number* \| * bigint * | Amount of tokens to withdraw (must be positive integer) |
353
353
354
354
** Returns:** * Promise* <[ * WithdrawTokensResponse* ] ( ../interfaces/withdrawtokensresponse.md ) \>
355
355
356
- Defined in: [ bee-js/src/bee-debug.ts:183 ] ( https://github.com/ethersphere/bee-js/blob/9a547fe /src/bee-debug.ts#L183 )
356
+ Defined in: [ bee-js/src/bee-debug.ts:191 ] ( https://github.com/ethersphere/bee-js/blob/7260ee1 /src/bee-debug.ts#L191 )
0 commit comments