@leofcoin/endpoints 0.3.5 → 0.4.0

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.
Files changed (2) hide show
  1. package/exports/api.md +40 -16
  2. package/package.json +10 -10
package/exports/api.md CHANGED
@@ -183,18 +183,26 @@ await client.validators()
183
183
 
184
184
  <br>
185
185
 
186
- #### [nativeBurns()](https://remote.leofcoin.org/nativeBurns)
186
+ #### [contracts()](https://remote.leofcoin.org/contracts)
187
187
 
188
188
  ```js
189
- await client.nativeBurns()
189
+ await client.contracts()
190
190
  ```
191
191
 
192
192
  <br>
193
193
 
194
- #### [contracts()](https://remote.leofcoin.org/contracts)
194
+ #### [nativeToken()](https://remote.leofcoin.org/nativeToken)
195
195
 
196
196
  ```js
197
- await client.contracts()
197
+ await client.nativeToken()
198
+ ```
199
+
200
+ <br>
201
+
202
+ #### [nativeCalls()](https://remote.leofcoin.org/nativeCalls)
203
+
204
+ ```js
205
+ await client.nativeCalls()
198
206
  ```
199
207
 
200
208
  <br>
@@ -207,10 +215,10 @@ await client.nativeMints()
207
215
 
208
216
  <br>
209
217
 
210
- #### [nativeToken()](https://remote.leofcoin.org/nativeToken)
218
+ #### [nativeBurns()](https://remote.leofcoin.org/nativeBurns)
211
219
 
212
220
  ```js
213
- await client.nativeToken()
221
+ await client.nativeBurns()
214
222
  ```
215
223
 
216
224
  <br>
@@ -223,10 +231,26 @@ await client.nativeTransfers()
223
231
 
224
232
  <br>
225
233
 
226
- #### [totalSize()](https://remote.leofcoin.org/totalSize)
234
+ #### [totalBurnAmount()](https://remote.leofcoin.org/totalBurnAmount)
227
235
 
228
236
  ```js
229
- await client.totalSize()
237
+ await client.totalBurnAmount()
238
+ ```
239
+
240
+ <br>
241
+
242
+ #### [totalMintAmount()](https://remote.leofcoin.org/totalMintAmount)
243
+
244
+ ```js
245
+ await client.totalMintAmount()
246
+ ```
247
+
248
+ <br>
249
+
250
+ #### [totalTransferAmount()](https://remote.leofcoin.org/totalTransferAmount)
251
+
252
+ ```js
253
+ await client.totalTransferAmount()
230
254
  ```
231
255
 
232
256
  <br>
@@ -239,6 +263,14 @@ await client.totalTransactions()
239
263
 
240
264
  <br>
241
265
 
266
+ #### [totalSize()](https://remote.leofcoin.org/totalSize)
267
+
268
+ ```js
269
+ await client.totalSize()
270
+ ```
271
+
272
+ <br>
273
+
242
274
  #### [poolTransactions()](https://remote.leofcoin.org/poolTransactions)
243
275
 
244
276
  ```js
@@ -271,14 +303,6 @@ await client.totalBlocks()
271
303
 
272
304
  <br>
273
305
 
274
- #### [nativeCalls()](https://remote.leofcoin.org/nativeCalls)
275
-
276
- ```js
277
- await client.nativeCalls()
278
- ```
279
-
280
- <br>
281
-
282
306
  #### [participating()](https://remote.leofcoin.org/participating)
283
307
 
284
308
  ```js
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leofcoin/endpoints",
3
- "version": "0.3.5",
3
+ "version": "0.4.0",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "exports": {
@@ -28,17 +28,17 @@
28
28
  "homepage": "https://github.com/leofcoin/endpoints#readme",
29
29
  "dependencies": {
30
30
  "@koa/cors": "^5.0.0",
31
- "@koa/router": "^12.0.0",
32
- "@leofcoin/utils": "^1.1.10",
33
- "koa": "^2.14.1",
31
+ "@koa/router": "^13.0.0",
32
+ "@leofcoin/utils": "^1.1.18",
33
+ "koa": "^2.15.3",
34
34
  "showdown": "^2.1.0",
35
- "socket-request-server": "^1.6.3"
35
+ "socket-request-server": "^1.6.6"
36
36
  },
37
37
  "devDependencies": {
38
- "@types/koa__cors": "^4.0.1",
39
- "@types/koa__router": "^12.0.1",
40
- "@types/node": "^20.8.6",
41
- "@types/showdown": "^2.0.2",
42
- "typescript": "^5.2.2"
38
+ "@types/koa__cors": "^5.0.0",
39
+ "@types/koa__router": "^12.0.4",
40
+ "@types/node": "^22.5.1",
41
+ "@types/showdown": "^2.0.6",
42
+ "typescript": "^5.5.4"
43
43
  }
44
44
  }