@xyo-network/xl1-rpc 1.18.5 → 1.18.7

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 (35) hide show
  1. package/dist/neutral/engine/rpcMethodHandlersFromBlockViewer.d.ts.map +1 -1
  2. package/dist/neutral/engine/rpcMethodHandlersFromViewer.d.ts.map +1 -1
  3. package/dist/neutral/index.mjs +35 -2
  4. package/dist/neutral/index.mjs.map +1 -1
  5. package/dist/neutral/provider/viewer/JsonRpcBlockViewer/JsonRpcBlockViewerMethods.d.ts +109 -0
  6. package/dist/neutral/provider/viewer/JsonRpcBlockViewer/JsonRpcBlockViewerMethods.d.ts.map +1 -1
  7. package/dist/neutral/provider/viewer/JsonRpcXyoViewer.d.ts +110 -1
  8. package/dist/neutral/provider/viewer/JsonRpcXyoViewer.d.ts.map +1 -1
  9. package/dist/neutral/types/schema/AllRpcSchemas.d.ts +216 -0
  10. package/dist/neutral/types/schema/AllRpcSchemas.d.ts.map +1 -1
  11. package/dist/neutral/types/schema/BlockViewerRpcSchemas.d.ts +108 -0
  12. package/dist/neutral/types/schema/BlockViewerRpcSchemas.d.ts.map +1 -1
  13. package/dist/neutral/types/schema/XyoViewerRpcSchemas.d.ts +108 -0
  14. package/dist/neutral/types/schema/XyoViewerRpcSchemas.d.ts.map +1 -1
  15. package/dist/node/engine/rpcMethodHandlersFromBlockViewer.d.ts.map +1 -1
  16. package/dist/node/engine/rpcMethodHandlersFromViewer.d.ts.map +1 -1
  17. package/dist/node/index-node.mjs +35 -2
  18. package/dist/node/index-node.mjs.map +1 -1
  19. package/dist/node/provider/viewer/JsonRpcBlockViewer/JsonRpcBlockViewerMethods.d.ts +109 -0
  20. package/dist/node/provider/viewer/JsonRpcBlockViewer/JsonRpcBlockViewerMethods.d.ts.map +1 -1
  21. package/dist/node/provider/viewer/JsonRpcXyoViewer.d.ts +110 -1
  22. package/dist/node/provider/viewer/JsonRpcXyoViewer.d.ts.map +1 -1
  23. package/dist/node/types/schema/AllRpcSchemas.d.ts +216 -0
  24. package/dist/node/types/schema/AllRpcSchemas.d.ts.map +1 -1
  25. package/dist/node/types/schema/BlockViewerRpcSchemas.d.ts +108 -0
  26. package/dist/node/types/schema/BlockViewerRpcSchemas.d.ts.map +1 -1
  27. package/dist/node/types/schema/XyoViewerRpcSchemas.d.ts +108 -0
  28. package/dist/node/types/schema/XyoViewerRpcSchemas.d.ts.map +1 -1
  29. package/package.json +3 -3
  30. package/src/engine/rpcMethodHandlersFromBlockViewer.ts +1 -0
  31. package/src/engine/rpcMethodHandlersFromViewer.ts +1 -0
  32. package/src/provider/viewer/JsonRpcBlockViewer/JsonRpcBlockViewerMethods.ts +13 -0
  33. package/src/provider/viewer/JsonRpcXyoViewer.ts +12 -3
  34. package/src/types/schema/BlockViewerRpcSchemas.ts +11 -1
  35. package/src/types/schema/XyoViewerRpcSchemas.ts +11 -1
@@ -1 +1 @@
1
- {"version":3,"file":"AllRpcSchemas.d.ts","sourceRoot":"","sources":["../../../../src/types/schema/AllRpcSchemas.ts"],"names":[],"mappings":"AAoBA,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmBF,CAAA;AAExB,MAAM,MAAM,aAAa,GAAG,OAAO,aAAa,CAAA"}
@@ -241,12 +241,28 @@ export declare const BlockViewerRpcSchemas: {
241
241
  to: z.ZodObject<{
242
242
  range: z.ZodTuple<[z.ZodPipe<z.ZodNumber, z.ZodTransform<import("@xyo-network/xl1-protocol").XL1BlockNumber, number>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<import("@xyo-network/xl1-protocol").XL1BlockNumber, number>>], null>;
243
243
  rate: z.ZodNumber;
244
+ rateUnit: z.ZodEnum<{
245
+ millis: "millis";
246
+ seconds: "seconds";
247
+ minutes: "minutes";
248
+ hours: "hours";
249
+ days: "days";
250
+ weeks: "weeks";
251
+ }>;
244
252
  span: z.ZodInt;
245
253
  timeDifference: z.ZodNumber;
246
254
  }, z.core.$strip>;
247
255
  from: z.ZodObject<{
248
256
  range: z.ZodTuple<[z.ZodPipe<z.ZodNumber, z.ZodTransform<import("@xyo-network/xl1-protocol").XL1BlockNumber, number>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<import("@xyo-network/xl1-protocol").XL1BlockNumber, number>>], null>;
249
257
  rate: z.ZodNumber;
258
+ rateUnit: z.ZodEnum<{
259
+ millis: "millis";
260
+ seconds: "seconds";
261
+ minutes: "minutes";
262
+ hours: "hours";
263
+ days: "days";
264
+ weeks: "weeks";
265
+ }>;
250
266
  span: z.ZodInt;
251
267
  timeDifference: z.ZodNumber;
252
268
  }, z.core.$strip>;
@@ -265,6 +281,14 @@ export declare const BlockViewerRpcSchemas: {
265
281
  from: z.ZodTuple<[z.ZodObject<{
266
282
  range: z.ZodTuple<[z.ZodPipe<z.ZodNumber, z.ZodTransform<import("@xyo-network/xl1-protocol").XL1BlockNumber, number>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<import("@xyo-network/xl1-protocol").XL1BlockNumber, number>>], null>;
267
283
  rate: z.ZodNumber;
284
+ rateUnit: z.ZodEnum<{
285
+ millis: "millis";
286
+ seconds: "seconds";
287
+ minutes: "minutes";
288
+ hours: "hours";
289
+ days: "days";
290
+ weeks: "weeks";
291
+ }>;
268
292
  span: z.ZodInt;
269
293
  timeDifference: z.ZodNumber;
270
294
  }, z.core.$strip>], null>;
@@ -273,12 +297,96 @@ export declare const BlockViewerRpcSchemas: {
273
297
  to: z.ZodObject<{
274
298
  range: z.ZodTuple<[z.ZodPipe<z.ZodNumber, z.ZodTransform<import("@xyo-network/xl1-protocol").XL1BlockNumber, number>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<import("@xyo-network/xl1-protocol").XL1BlockNumber, number>>], null>;
275
299
  rate: z.ZodNumber;
300
+ rateUnit: z.ZodEnum<{
301
+ millis: "millis";
302
+ seconds: "seconds";
303
+ minutes: "minutes";
304
+ hours: "hours";
305
+ days: "days";
306
+ weeks: "weeks";
307
+ }>;
276
308
  span: z.ZodInt;
277
309
  timeDifference: z.ZodNumber;
278
310
  }, z.core.$strip>;
279
311
  from: z.ZodObject<{
280
312
  range: z.ZodTuple<[z.ZodPipe<z.ZodNumber, z.ZodTransform<import("@xyo-network/xl1-protocol").XL1BlockNumber, number>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<import("@xyo-network/xl1-protocol").XL1BlockNumber, number>>], null>;
281
313
  rate: z.ZodNumber;
314
+ rateUnit: z.ZodEnum<{
315
+ millis: "millis";
316
+ seconds: "seconds";
317
+ minutes: "minutes";
318
+ hours: "hours";
319
+ days: "days";
320
+ weeks: "weeks";
321
+ }>;
322
+ span: z.ZodInt;
323
+ timeDifference: z.ZodNumber;
324
+ }, z.core.$strip>;
325
+ };
326
+ };
327
+ blockViewer_timeDurationRate: {
328
+ params: {
329
+ to: z.ZodTuple<[z.ZodUnion<readonly [z.ZodObject<{
330
+ minutes: z.ZodNumber;
331
+ }, z.core.$strip>, z.ZodObject<{
332
+ hours: z.ZodNumber;
333
+ }, z.core.$strip>, z.ZodObject<{
334
+ days: z.ZodNumber;
335
+ }, z.core.$strip>, z.ZodObject<{
336
+ weeks: z.ZodNumber;
337
+ }, z.core.$strip>, z.ZodObject<{
338
+ months: z.ZodNumber;
339
+ }, z.core.$strip>, z.ZodObject<{
340
+ years: z.ZodNumber;
341
+ }, z.core.$strip>]>, z.ZodOptional<z.ZodPipe<z.ZodNumber, z.ZodTransform<import("@xyo-network/xl1-protocol").XL1BlockNumber, number>>>, z.ZodOptional<z.ZodEnum<{
342
+ millis: "millis";
343
+ seconds: "seconds";
344
+ minutes: "minutes";
345
+ hours: "hours";
346
+ days: "days";
347
+ weeks: "weeks";
348
+ }>>, z.ZodOptional<z.ZodNumber>, z.ZodOptional<z.ZodNumber>], null>;
349
+ from: z.ZodTuple<[z.ZodObject<{
350
+ range: z.ZodTuple<[z.ZodPipe<z.ZodNumber, z.ZodTransform<import("@xyo-network/xl1-protocol").XL1BlockNumber, number>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<import("@xyo-network/xl1-protocol").XL1BlockNumber, number>>], null>;
351
+ rate: z.ZodNumber;
352
+ rateUnit: z.ZodEnum<{
353
+ millis: "millis";
354
+ seconds: "seconds";
355
+ minutes: "minutes";
356
+ hours: "hours";
357
+ days: "days";
358
+ weeks: "weeks";
359
+ }>;
360
+ span: z.ZodInt;
361
+ timeDifference: z.ZodNumber;
362
+ }, z.core.$strip>], null>;
363
+ };
364
+ result: {
365
+ to: z.ZodObject<{
366
+ range: z.ZodTuple<[z.ZodPipe<z.ZodNumber, z.ZodTransform<import("@xyo-network/xl1-protocol").XL1BlockNumber, number>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<import("@xyo-network/xl1-protocol").XL1BlockNumber, number>>], null>;
367
+ rate: z.ZodNumber;
368
+ rateUnit: z.ZodEnum<{
369
+ millis: "millis";
370
+ seconds: "seconds";
371
+ minutes: "minutes";
372
+ hours: "hours";
373
+ days: "days";
374
+ weeks: "weeks";
375
+ }>;
376
+ span: z.ZodInt;
377
+ timeDifference: z.ZodNumber;
378
+ }, z.core.$strip>;
379
+ from: z.ZodObject<{
380
+ range: z.ZodTuple<[z.ZodPipe<z.ZodNumber, z.ZodTransform<import("@xyo-network/xl1-protocol").XL1BlockNumber, number>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<import("@xyo-network/xl1-protocol").XL1BlockNumber, number>>], null>;
381
+ rate: z.ZodNumber;
382
+ rateUnit: z.ZodEnum<{
383
+ millis: "millis";
384
+ seconds: "seconds";
385
+ minutes: "minutes";
386
+ hours: "hours";
387
+ days: "days";
388
+ weeks: "weeks";
389
+ }>;
282
390
  span: z.ZodInt;
283
391
  timeDifference: z.ZodNumber;
284
392
  }, z.core.$strip>;
@@ -1 +1 @@
1
- {"version":3,"file":"BlockViewerRpcSchemas.d.ts","sourceRoot":"","sources":["../../../../src/types/schema/BlockViewerRpcSchemas.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAKvB,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6DgB,CAAA;AAElD,MAAM,MAAM,qBAAqB,GAAG,OAAO,qBAAqB,CAAA"}
1
+ {"version":3,"file":"BlockViewerRpcSchemas.d.ts","sourceRoot":"","sources":["../../../../src/types/schema/BlockViewerRpcSchemas.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAKvB,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAuEgB,CAAA;AAElD,MAAM,MAAM,qBAAqB,GAAG,OAAO,qBAAqB,CAAA"}
@@ -1461,12 +1461,28 @@ export declare const XyoViewerRpcSchemas: {
1461
1461
  to: z.ZodObject<{
1462
1462
  range: z.ZodTuple<[z.ZodPipe<z.ZodNumber, z.ZodTransform<import("@xyo-network/xl1-protocol").XL1BlockNumber, number>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<import("@xyo-network/xl1-protocol").XL1BlockNumber, number>>], null>;
1463
1463
  rate: z.ZodNumber;
1464
+ rateUnit: z.ZodEnum<{
1465
+ millis: "millis";
1466
+ seconds: "seconds";
1467
+ minutes: "minutes";
1468
+ hours: "hours";
1469
+ days: "days";
1470
+ weeks: "weeks";
1471
+ }>;
1464
1472
  span: z.ZodInt;
1465
1473
  timeDifference: z.ZodNumber;
1466
1474
  }, z.core.$strip>;
1467
1475
  from: z.ZodObject<{
1468
1476
  range: z.ZodTuple<[z.ZodPipe<z.ZodNumber, z.ZodTransform<import("@xyo-network/xl1-protocol").XL1BlockNumber, number>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<import("@xyo-network/xl1-protocol").XL1BlockNumber, number>>], null>;
1469
1477
  rate: z.ZodNumber;
1478
+ rateUnit: z.ZodEnum<{
1479
+ millis: "millis";
1480
+ seconds: "seconds";
1481
+ minutes: "minutes";
1482
+ hours: "hours";
1483
+ days: "days";
1484
+ weeks: "weeks";
1485
+ }>;
1470
1486
  span: z.ZodInt;
1471
1487
  timeDifference: z.ZodNumber;
1472
1488
  }, z.core.$strip>;
@@ -1485,6 +1501,14 @@ export declare const XyoViewerRpcSchemas: {
1485
1501
  from: z.ZodTuple<[z.ZodObject<{
1486
1502
  range: z.ZodTuple<[z.ZodPipe<z.ZodNumber, z.ZodTransform<import("@xyo-network/xl1-protocol").XL1BlockNumber, number>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<import("@xyo-network/xl1-protocol").XL1BlockNumber, number>>], null>;
1487
1503
  rate: z.ZodNumber;
1504
+ rateUnit: z.ZodEnum<{
1505
+ millis: "millis";
1506
+ seconds: "seconds";
1507
+ minutes: "minutes";
1508
+ hours: "hours";
1509
+ days: "days";
1510
+ weeks: "weeks";
1511
+ }>;
1488
1512
  span: z.ZodInt;
1489
1513
  timeDifference: z.ZodNumber;
1490
1514
  }, z.core.$strip>], null>;
@@ -1493,12 +1517,96 @@ export declare const XyoViewerRpcSchemas: {
1493
1517
  to: z.ZodObject<{
1494
1518
  range: z.ZodTuple<[z.ZodPipe<z.ZodNumber, z.ZodTransform<import("@xyo-network/xl1-protocol").XL1BlockNumber, number>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<import("@xyo-network/xl1-protocol").XL1BlockNumber, number>>], null>;
1495
1519
  rate: z.ZodNumber;
1520
+ rateUnit: z.ZodEnum<{
1521
+ millis: "millis";
1522
+ seconds: "seconds";
1523
+ minutes: "minutes";
1524
+ hours: "hours";
1525
+ days: "days";
1526
+ weeks: "weeks";
1527
+ }>;
1496
1528
  span: z.ZodInt;
1497
1529
  timeDifference: z.ZodNumber;
1498
1530
  }, z.core.$strip>;
1499
1531
  from: z.ZodObject<{
1500
1532
  range: z.ZodTuple<[z.ZodPipe<z.ZodNumber, z.ZodTransform<import("@xyo-network/xl1-protocol").XL1BlockNumber, number>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<import("@xyo-network/xl1-protocol").XL1BlockNumber, number>>], null>;
1501
1533
  rate: z.ZodNumber;
1534
+ rateUnit: z.ZodEnum<{
1535
+ millis: "millis";
1536
+ seconds: "seconds";
1537
+ minutes: "minutes";
1538
+ hours: "hours";
1539
+ days: "days";
1540
+ weeks: "weeks";
1541
+ }>;
1542
+ span: z.ZodInt;
1543
+ timeDifference: z.ZodNumber;
1544
+ }, z.core.$strip>;
1545
+ };
1546
+ };
1547
+ xyoViewer_timeDurationRate: {
1548
+ params: {
1549
+ to: z.ZodTuple<[z.ZodUnion<readonly [z.ZodObject<{
1550
+ minutes: z.ZodNumber;
1551
+ }, z.core.$strip>, z.ZodObject<{
1552
+ hours: z.ZodNumber;
1553
+ }, z.core.$strip>, z.ZodObject<{
1554
+ days: z.ZodNumber;
1555
+ }, z.core.$strip>, z.ZodObject<{
1556
+ weeks: z.ZodNumber;
1557
+ }, z.core.$strip>, z.ZodObject<{
1558
+ months: z.ZodNumber;
1559
+ }, z.core.$strip>, z.ZodObject<{
1560
+ years: z.ZodNumber;
1561
+ }, z.core.$strip>]>, z.ZodOptional<z.ZodPipe<z.ZodNumber, z.ZodTransform<import("@xyo-network/xl1-protocol").XL1BlockNumber, number>>>, z.ZodOptional<z.ZodEnum<{
1562
+ millis: "millis";
1563
+ seconds: "seconds";
1564
+ minutes: "minutes";
1565
+ hours: "hours";
1566
+ days: "days";
1567
+ weeks: "weeks";
1568
+ }>>, z.ZodOptional<z.ZodNumber>, z.ZodOptional<z.ZodNumber>], null>;
1569
+ from: z.ZodTuple<[z.ZodObject<{
1570
+ range: z.ZodTuple<[z.ZodPipe<z.ZodNumber, z.ZodTransform<import("@xyo-network/xl1-protocol").XL1BlockNumber, number>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<import("@xyo-network/xl1-protocol").XL1BlockNumber, number>>], null>;
1571
+ rate: z.ZodNumber;
1572
+ rateUnit: z.ZodEnum<{
1573
+ millis: "millis";
1574
+ seconds: "seconds";
1575
+ minutes: "minutes";
1576
+ hours: "hours";
1577
+ days: "days";
1578
+ weeks: "weeks";
1579
+ }>;
1580
+ span: z.ZodInt;
1581
+ timeDifference: z.ZodNumber;
1582
+ }, z.core.$strip>], null>;
1583
+ };
1584
+ result: {
1585
+ to: z.ZodObject<{
1586
+ range: z.ZodTuple<[z.ZodPipe<z.ZodNumber, z.ZodTransform<import("@xyo-network/xl1-protocol").XL1BlockNumber, number>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<import("@xyo-network/xl1-protocol").XL1BlockNumber, number>>], null>;
1587
+ rate: z.ZodNumber;
1588
+ rateUnit: z.ZodEnum<{
1589
+ millis: "millis";
1590
+ seconds: "seconds";
1591
+ minutes: "minutes";
1592
+ hours: "hours";
1593
+ days: "days";
1594
+ weeks: "weeks";
1595
+ }>;
1596
+ span: z.ZodInt;
1597
+ timeDifference: z.ZodNumber;
1598
+ }, z.core.$strip>;
1599
+ from: z.ZodObject<{
1600
+ range: z.ZodTuple<[z.ZodPipe<z.ZodNumber, z.ZodTransform<import("@xyo-network/xl1-protocol").XL1BlockNumber, number>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<import("@xyo-network/xl1-protocol").XL1BlockNumber, number>>], null>;
1601
+ rate: z.ZodNumber;
1602
+ rateUnit: z.ZodEnum<{
1603
+ millis: "millis";
1604
+ seconds: "seconds";
1605
+ minutes: "minutes";
1606
+ hours: "hours";
1607
+ days: "days";
1608
+ weeks: "weeks";
1609
+ }>;
1502
1610
  span: z.ZodInt;
1503
1611
  timeDifference: z.ZodNumber;
1504
1612
  }, z.core.$strip>;
@@ -1 +1 @@
1
- {"version":3,"file":"XyoViewerRpcSchemas.d.ts","sourceRoot":"","sources":["../../../../src/types/schema/XyoViewerRpcSchemas.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAKvB,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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://json.schemastore.org/package.json",
3
3
  "name": "@xyo-network/xl1-rpc",
4
- "version": "1.18.5",
4
+ "version": "1.18.7",
5
5
  "description": "XYO Layer One API",
6
6
  "homepage": "https://xylabs.com",
7
7
  "bugs": {
@@ -65,8 +65,8 @@
65
65
  "@xyo-network/module-model": "~5.2.19",
66
66
  "@xyo-network/node-model": "~5.2.19",
67
67
  "@xyo-network/payload-model": "~5.2.19",
68
- "@xyo-network/xl1-protocol": "~1.18.4",
69
- "@xyo-network/xl1-protocol-sdk": "~1.18.4",
68
+ "@xyo-network/xl1-protocol": "~1.18.7",
69
+ "@xyo-network/xl1-protocol-sdk": "~1.18.7",
70
70
  "axios": "~1.13.2",
71
71
  "uuid": "~13.0.0",
72
72
  "zod": "~4.2.1"
@@ -10,5 +10,6 @@ export const rpcMethodHandlersFromBlockViewer = (viewer: BlockViewerMethods): Bl
10
10
  blockViewer_payloadsByHash: params => viewer.payloadsByHash(...params ?? []),
11
11
  blockViewer_rate: params => viewer.rate(...params ?? []),
12
12
  blockViewer_stepSizeRate: params => viewer.stepSizeRate(...params ?? []),
13
+ blockViewer_timeDurationRate: params => viewer.timeDurationRate(...params ?? []),
13
14
  }
14
15
  }
@@ -38,5 +38,6 @@ export const rpcMethodHandlersFromViewer = (viewer: XyoViewerMethods): XyoViewer
38
38
  xyoViewer_payloadsByHash: params => viewer.payloadsByHash(...(params ?? [])),
39
39
  xyoViewer_rate: params => viewer.rate(...(params ?? [])),
40
40
  xyoViewer_stepSizeRate: params => viewer.stepSizeRate(...(params ?? [])),
41
+ xyoViewer_timeDurationRate: params => viewer.timeDurationRate(...(params ?? [])),
41
42
  }
42
43
  }
@@ -59,6 +59,19 @@ export class JsonRpcBlockViewerMethods extends AbstractJsonRpcViewer<BlockViewer
59
59
  )
60
60
  }
61
61
 
62
+ async timeDurationRate(
63
+ timeConfig: Record<keyof TimeDurations, number>,
64
+ startBlockNumber?: XL1BlockNumber,
65
+ timeUnit?: keyof TimeDurations,
66
+ toleranceMs?: number,
67
+ maxAttempts?: number,
68
+ ): Promise<BlockRate> {
69
+ return await this.transport.sendRequest(
70
+ 'blockViewer_timeDurationRate',
71
+ [timeConfig, startBlockNumber, timeUnit, toleranceMs, maxAttempts],
72
+ )
73
+ }
74
+
62
75
  protected schemas() {
63
76
  return BlockViewerRpcSchemas
64
77
  }
@@ -1,6 +1,4 @@
1
- import type {
2
- Address, Hash, Promisable,
3
- } from '@xylabs/sdk-js'
1
+ import type { Address, Hash } from '@xylabs/sdk-js'
4
2
  import { Signed } from '@xyo-network/boundwitness-model'
5
3
  import type {
6
4
  AttoXL1,
@@ -10,6 +8,7 @@ import type {
10
8
  HydratedBlock,
11
9
  SignedHydratedBlockWithHashMeta,
12
10
  SignedHydratedTransaction,
11
+ SingleTimeConfig,
13
12
  StepIdentity,
14
13
  StepIdentityString,
15
14
  TimeDurations,
@@ -277,6 +276,16 @@ export class JsonRpcXyoViewer extends AbstractJsonRpcViewer<XyoViewerRpcSchemas,
277
276
  return await this.block.stepSizeRate(start, stepIndex, count, timeUnit)
278
277
  }
279
278
 
279
+ async timeDurationRate(
280
+ timeConfig: SingleTimeConfig,
281
+ startBlockNumber?: XL1BlockNumber,
282
+ timeUnit?: keyof TimeDurations,
283
+ toleranceMs?: number,
284
+ maxAttempts?: number,
285
+ ): Promise<BlockRate> {
286
+ return await this.block.timeDurationRate(timeConfig, startBlockNumber, timeUnit, toleranceMs, maxAttempts)
287
+ }
288
+
280
289
  async transactionByBlockHashAndIndex(blockHash: Hash, transactionIndex: number): Promise<SignedHydratedTransaction | null> {
281
290
  return (await this.transport.sendRequest('xyoViewer_transactionByBlockHashAndIndex', [blockHash, transactionIndex])) as SignedHydratedTransaction | null
282
291
  }
@@ -2,7 +2,7 @@ import { HashZod } from '@xylabs/sdk-js'
2
2
  import { PayloadZodLoose } from '@xyo-network/payload-model'
3
3
  import {
4
4
  BlockRangeZod,
5
- BlockRateZod, CountZod, SignedHydratedBlockWithHashMetaZod, StepIndexZod, TimeDurationsZod, XL1BlockNumberZod,
5
+ BlockRateZod, CountZod, SignedHydratedBlockWithHashMetaZod, SingleTimeConfigZod, StepIndexZod, TimeDurationsZod, XL1BlockNumberZod,
6
6
  } from '@xyo-network/xl1-protocol'
7
7
  import { z } from 'zod'
8
8
 
@@ -70,6 +70,16 @@ export const BlockViewerRpcSchemas = {
70
70
  from: BlockRateZod,
71
71
  },
72
72
  },
73
+ blockViewer_timeDurationRate: {
74
+ params: {
75
+ to: z.tuple([SingleTimeConfigZod, XL1BlockNumberZod.optional(), TimeDurationsZod.keyof().optional(), z.number().optional(), z.number().optional()]),
76
+ from: z.tuple([BlockRateZod]),
77
+ },
78
+ result: {
79
+ to: BlockRateZod,
80
+ from: BlockRateZod,
81
+ },
82
+ },
73
83
  } satisfies RpcSchemaMap<BlockViewerRpcMethodName>
74
84
 
75
85
  export type BlockViewerRpcSchemas = typeof BlockViewerRpcSchemas
@@ -8,7 +8,7 @@ import {
8
8
  BlockRateZod,
9
9
  CountZod,
10
10
  JsonToStakeZod, SignedHydratedBlockWithHashMetaZod,
11
- SignedHydratedTransactionZod, StakeToJsonZod, StepIdentityZod,
11
+ SignedHydratedTransactionZod, SingleTimeConfigZod, StakeToJsonZod, StepIdentityZod,
12
12
  StepIndexZod,
13
13
  TimeDurationsZod,
14
14
  XL1BlockNumberZod, XL1BlockRangeZod,
@@ -360,6 +360,16 @@ export const XyoViewerRpcSchemas = {
360
360
  from: BlockRateZod,
361
361
  },
362
362
  },
363
+ xyoViewer_timeDurationRate: {
364
+ params: {
365
+ to: z.tuple([SingleTimeConfigZod, XL1BlockNumberZod.optional(), TimeDurationsZod.keyof().optional(), z.number().optional(), z.number().optional()]),
366
+ from: z.tuple([BlockRateZod]),
367
+ },
368
+ result: {
369
+ to: BlockRateZod,
370
+ from: BlockRateZod,
371
+ },
372
+ },
363
373
  } satisfies RpcSchemaMap<XyoViewerRpcMethodName>
364
374
 
365
375
  export type XyoViewerRpcSchemas = typeof XyoViewerRpcSchemas