@xylabs/sdk-js 2.7.4 → 2.7.5

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/dist/docs.json +234 -156
  2. package/package.json +16 -16
package/dist/docs.json CHANGED
@@ -689,14 +689,14 @@
689
689
  ]
690
690
  },
691
691
  {
692
- "id": 68,
692
+ "id": 73,
693
693
  "name": "EthAddress",
694
694
  "kind": 128,
695
695
  "kindString": "Class",
696
696
  "flags": {},
697
697
  "children": [
698
698
  {
699
- "id": 78,
699
+ "id": 83,
700
700
  "name": "constructor",
701
701
  "kind": 512,
702
702
  "kindString": "Constructor",
@@ -712,21 +712,21 @@
712
712
  ],
713
713
  "signatures": [
714
714
  {
715
- "id": 79,
715
+ "id": 84,
716
716
  "name": "new EthAddress",
717
717
  "kind": 16384,
718
718
  "kindString": "Constructor signature",
719
719
  "flags": {},
720
720
  "type": {
721
721
  "type": "reference",
722
- "id": 68,
722
+ "id": 73,
723
723
  "name": "EthAddress"
724
724
  }
725
725
  }
726
726
  ]
727
727
  },
728
728
  {
729
- "id": 81,
729
+ "id": 86,
730
730
  "name": "address",
731
731
  "kind": 1024,
732
732
  "kindString": "Property",
@@ -746,7 +746,7 @@
746
746
  }
747
747
  },
748
748
  {
749
- "id": 80,
749
+ "id": 85,
750
750
  "name": "type",
751
751
  "kind": 1024,
752
752
  "kindString": "Property",
@@ -764,7 +764,7 @@
764
764
  }
765
765
  },
766
766
  {
767
- "id": 69,
767
+ "id": 74,
768
768
  "name": "type",
769
769
  "kind": 1024,
770
770
  "kindString": "Property",
@@ -784,7 +784,7 @@
784
784
  }
785
785
  },
786
786
  {
787
- "id": 82,
787
+ "id": 87,
788
788
  "name": "equals",
789
789
  "kind": 2048,
790
790
  "kindString": "Method",
@@ -798,14 +798,14 @@
798
798
  ],
799
799
  "signatures": [
800
800
  {
801
- "id": 83,
801
+ "id": 88,
802
802
  "name": "equals",
803
803
  "kind": 4096,
804
804
  "kindString": "Call signature",
805
805
  "flags": {},
806
806
  "parameters": [
807
807
  {
808
- "id": 84,
808
+ "id": 89,
809
809
  "name": "address",
810
810
  "kind": 32768,
811
811
  "kindString": "Parameter",
@@ -825,7 +825,7 @@
825
825
  },
826
826
  {
827
827
  "type": "reference",
828
- "id": 68,
828
+ "id": 73,
829
829
  "name": "EthAddress"
830
830
  }
831
831
  ]
@@ -840,7 +840,7 @@
840
840
  ]
841
841
  },
842
842
  {
843
- "id": 85,
843
+ "id": 90,
844
844
  "name": "toBigNumber",
845
845
  "kind": 2048,
846
846
  "kindString": "Method",
@@ -854,7 +854,7 @@
854
854
  ],
855
855
  "signatures": [
856
856
  {
857
- "id": 86,
857
+ "id": 91,
858
858
  "name": "toBigNumber",
859
859
  "kind": 4096,
860
860
  "kindString": "Call signature",
@@ -869,7 +869,7 @@
869
869
  ]
870
870
  },
871
871
  {
872
- "id": 87,
872
+ "id": 92,
873
873
  "name": "toHex",
874
874
  "kind": 2048,
875
875
  "kindString": "Method",
@@ -883,7 +883,7 @@
883
883
  ],
884
884
  "signatures": [
885
885
  {
886
- "id": 88,
886
+ "id": 93,
887
887
  "name": "toHex",
888
888
  "kind": 4096,
889
889
  "kindString": "Call signature",
@@ -896,7 +896,7 @@
896
896
  ]
897
897
  },
898
898
  {
899
- "id": 89,
899
+ "id": 94,
900
900
  "name": "toJSON",
901
901
  "kind": 2048,
902
902
  "kindString": "Method",
@@ -910,7 +910,7 @@
910
910
  ],
911
911
  "signatures": [
912
912
  {
913
- "id": 90,
913
+ "id": 95,
914
914
  "name": "toJSON",
915
915
  "kind": 4096,
916
916
  "kindString": "Call signature",
@@ -923,7 +923,7 @@
923
923
  ]
924
924
  },
925
925
  {
926
- "id": 91,
926
+ "id": 96,
927
927
  "name": "toLowerCaseString",
928
928
  "kind": 2048,
929
929
  "kindString": "Method",
@@ -937,7 +937,7 @@
937
937
  ],
938
938
  "signatures": [
939
939
  {
940
- "id": 92,
940
+ "id": 97,
941
941
  "name": "toLowerCaseString",
942
942
  "kind": 4096,
943
943
  "kindString": "Call signature",
@@ -950,7 +950,7 @@
950
950
  ]
951
951
  },
952
952
  {
953
- "id": 93,
953
+ "id": 98,
954
954
  "name": "toShortString",
955
955
  "kind": 2048,
956
956
  "kindString": "Method",
@@ -964,14 +964,14 @@
964
964
  ],
965
965
  "signatures": [
966
966
  {
967
- "id": 94,
967
+ "id": 99,
968
968
  "name": "toShortString",
969
969
  "kind": 4096,
970
970
  "kindString": "Call signature",
971
971
  "flags": {},
972
972
  "parameters": [
973
973
  {
974
- "id": 95,
974
+ "id": 100,
975
975
  "name": "length",
976
976
  "kind": 32768,
977
977
  "kindString": "Parameter",
@@ -992,7 +992,7 @@
992
992
  ]
993
993
  },
994
994
  {
995
- "id": 96,
995
+ "id": 101,
996
996
  "name": "toString",
997
997
  "kind": 2048,
998
998
  "kindString": "Method",
@@ -1006,7 +1006,7 @@
1006
1006
  ],
1007
1007
  "signatures": [
1008
1008
  {
1009
- "id": 97,
1009
+ "id": 102,
1010
1010
  "name": "toString",
1011
1011
  "kind": 4096,
1012
1012
  "kindString": "Call signature",
@@ -1019,7 +1019,7 @@
1019
1019
  ]
1020
1020
  },
1021
1021
  {
1022
- "id": 70,
1022
+ "id": 75,
1023
1023
  "name": "fromString",
1024
1024
  "kind": 2048,
1025
1025
  "kindString": "Method",
@@ -1035,14 +1035,14 @@
1035
1035
  ],
1036
1036
  "signatures": [
1037
1037
  {
1038
- "id": 71,
1038
+ "id": 76,
1039
1039
  "name": "fromString",
1040
1040
  "kind": 4096,
1041
1041
  "kindString": "Call signature",
1042
1042
  "flags": {},
1043
1043
  "parameters": [
1044
1044
  {
1045
- "id": 72,
1045
+ "id": 77,
1046
1046
  "name": "value",
1047
1047
  "kind": 32768,
1048
1048
  "kindString": "Parameter",
@@ -1055,7 +1055,7 @@
1055
1055
  }
1056
1056
  },
1057
1057
  {
1058
- "id": 73,
1058
+ "id": 78,
1059
1059
  "name": "base",
1060
1060
  "kind": 32768,
1061
1061
  "kindString": "Parameter",
@@ -1077,7 +1077,7 @@
1077
1077
  },
1078
1078
  {
1079
1079
  "type": "reference",
1080
- "id": 68,
1080
+ "id": 73,
1081
1081
  "name": "EthAddress"
1082
1082
  }
1083
1083
  ]
@@ -1086,7 +1086,7 @@
1086
1086
  ]
1087
1087
  },
1088
1088
  {
1089
- "id": 74,
1089
+ "id": 79,
1090
1090
  "name": "parse",
1091
1091
  "kind": 2048,
1092
1092
  "kindString": "Method",
@@ -1102,14 +1102,14 @@
1102
1102
  ],
1103
1103
  "signatures": [
1104
1104
  {
1105
- "id": 75,
1105
+ "id": 80,
1106
1106
  "name": "parse",
1107
1107
  "kind": 4096,
1108
1108
  "kindString": "Call signature",
1109
1109
  "flags": {},
1110
1110
  "parameters": [
1111
1111
  {
1112
- "id": 76,
1112
+ "id": 81,
1113
1113
  "name": "value",
1114
1114
  "kind": 32768,
1115
1115
  "kindString": "Parameter",
@@ -1120,7 +1120,7 @@
1120
1120
  }
1121
1121
  },
1122
1122
  {
1123
- "id": 77,
1123
+ "id": 82,
1124
1124
  "name": "base",
1125
1125
  "kind": 32768,
1126
1126
  "kindString": "Parameter",
@@ -1142,7 +1142,7 @@
1142
1142
  },
1143
1143
  {
1144
1144
  "type": "reference",
1145
- "id": 68,
1145
+ "id": 73,
1146
1146
  "name": "EthAddress"
1147
1147
  }
1148
1148
  ]
@@ -1155,29 +1155,29 @@
1155
1155
  {
1156
1156
  "title": "Constructors",
1157
1157
  "children": [
1158
- 78
1158
+ 83
1159
1159
  ]
1160
1160
  },
1161
1161
  {
1162
1162
  "title": "Properties",
1163
1163
  "children": [
1164
- 81,
1165
- 80,
1166
- 69
1164
+ 86,
1165
+ 85,
1166
+ 74
1167
1167
  ]
1168
1168
  },
1169
1169
  {
1170
1170
  "title": "Methods",
1171
1171
  "children": [
1172
- 82,
1173
- 85,
1174
1172
  87,
1175
- 89,
1176
- 91,
1177
- 93,
1173
+ 90,
1174
+ 92,
1175
+ 94,
1178
1176
  96,
1179
- 70,
1180
- 74
1177
+ 98,
1178
+ 101,
1179
+ 75,
1180
+ 79
1181
1181
  ]
1182
1182
  }
1183
1183
  ],
@@ -1190,35 +1190,35 @@
1190
1190
  ]
1191
1191
  },
1192
1192
  {
1193
- "id": 110,
1193
+ "id": 115,
1194
1194
  "name": "ForgetPromise",
1195
1195
  "kind": 128,
1196
1196
  "kindString": "Class",
1197
1197
  "flags": {},
1198
1198
  "children": [
1199
1199
  {
1200
- "id": 122,
1200
+ "id": 127,
1201
1201
  "name": "constructor",
1202
1202
  "kind": 512,
1203
1203
  "kindString": "Constructor",
1204
1204
  "flags": {},
1205
1205
  "signatures": [
1206
1206
  {
1207
- "id": 123,
1207
+ "id": 128,
1208
1208
  "name": "new ForgetPromise",
1209
1209
  "kind": 16384,
1210
1210
  "kindString": "Constructor signature",
1211
1211
  "flags": {},
1212
1212
  "type": {
1213
1213
  "type": "reference",
1214
- "id": 110,
1214
+ "id": 115,
1215
1215
  "name": "ForgetPromise"
1216
1216
  }
1217
1217
  }
1218
1218
  ]
1219
1219
  },
1220
1220
  {
1221
- "id": 111,
1221
+ "id": 116,
1222
1222
  "name": "activeForgets",
1223
1223
  "kind": 1024,
1224
1224
  "kindString": "Property",
@@ -1238,7 +1238,7 @@
1238
1238
  }
1239
1239
  },
1240
1240
  {
1241
- "id": 112,
1241
+ "id": 117,
1242
1242
  "name": "active",
1243
1243
  "kind": 262144,
1244
1244
  "kindString": "Accessor",
@@ -1253,7 +1253,7 @@
1253
1253
  }
1254
1254
  ],
1255
1255
  "getSignature": {
1256
- "id": 113,
1256
+ "id": 118,
1257
1257
  "name": "active",
1258
1258
  "kind": 524288,
1259
1259
  "kindString": "Get signature",
@@ -1265,7 +1265,7 @@
1265
1265
  }
1266
1266
  },
1267
1267
  {
1268
- "id": 114,
1268
+ "id": 119,
1269
1269
  "name": "awaitInactive",
1270
1270
  "kind": 2048,
1271
1271
  "kindString": "Method",
@@ -1281,14 +1281,14 @@
1281
1281
  ],
1282
1282
  "signatures": [
1283
1283
  {
1284
- "id": 115,
1284
+ "id": 120,
1285
1285
  "name": "awaitInactive",
1286
1286
  "kind": 4096,
1287
1287
  "kindString": "Call signature",
1288
1288
  "flags": {},
1289
1289
  "parameters": [
1290
1290
  {
1291
- "id": 116,
1291
+ "id": 121,
1292
1292
  "name": "interval",
1293
1293
  "kind": 32768,
1294
1294
  "kindString": "Parameter",
@@ -1301,7 +1301,7 @@
1301
1301
  }
1302
1302
  },
1303
1303
  {
1304
- "id": 117,
1304
+ "id": 122,
1305
1305
  "name": "timeout",
1306
1306
  "kind": 32768,
1307
1307
  "kindString": "Parameter",
@@ -1330,7 +1330,7 @@
1330
1330
  ]
1331
1331
  },
1332
1332
  {
1333
- "id": 118,
1333
+ "id": 123,
1334
1334
  "name": "forget",
1335
1335
  "kind": 2048,
1336
1336
  "kindString": "Method",
@@ -1346,14 +1346,14 @@
1346
1346
  ],
1347
1347
  "signatures": [
1348
1348
  {
1349
- "id": 119,
1349
+ "id": 124,
1350
1350
  "name": "forget",
1351
1351
  "kind": 4096,
1352
1352
  "kindString": "Call signature",
1353
1353
  "flags": {},
1354
1354
  "parameters": [
1355
1355
  {
1356
- "id": 120,
1356
+ "id": 125,
1357
1357
  "name": "promise",
1358
1358
  "kind": 32768,
1359
1359
  "kindString": "Parameter",
@@ -1372,7 +1372,7 @@
1372
1372
  }
1373
1373
  },
1374
1374
  {
1375
- "id": 121,
1375
+ "id": 126,
1376
1376
  "name": "timeout",
1377
1377
  "kind": 32768,
1378
1378
  "kindString": "Parameter",
@@ -1397,26 +1397,26 @@
1397
1397
  {
1398
1398
  "title": "Constructors",
1399
1399
  "children": [
1400
- 122
1400
+ 127
1401
1401
  ]
1402
1402
  },
1403
1403
  {
1404
1404
  "title": "Properties",
1405
1405
  "children": [
1406
- 111
1406
+ 116
1407
1407
  ]
1408
1408
  },
1409
1409
  {
1410
1410
  "title": "Accessors",
1411
1411
  "children": [
1412
- 112
1412
+ 117
1413
1413
  ]
1414
1414
  },
1415
1415
  {
1416
1416
  "title": "Methods",
1417
1417
  "children": [
1418
- 114,
1419
- 118
1418
+ 119,
1419
+ 123
1420
1420
  ]
1421
1421
  }
1422
1422
  ],
@@ -1429,14 +1429,14 @@
1429
1429
  ]
1430
1430
  },
1431
1431
  {
1432
- "id": 129,
1432
+ "id": 134,
1433
1433
  "name": "Log",
1434
1434
  "kind": 128,
1435
1435
  "kindString": "Class",
1436
1436
  "flags": {},
1437
1437
  "children": [
1438
1438
  {
1439
- "id": 130,
1439
+ "id": 135,
1440
1440
  "name": "constructor",
1441
1441
  "kind": 512,
1442
1442
  "kindString": "Constructor",
@@ -1450,35 +1450,35 @@
1450
1450
  ],
1451
1451
  "signatures": [
1452
1452
  {
1453
- "id": 131,
1453
+ "id": 136,
1454
1454
  "name": "new Log",
1455
1455
  "kind": 16384,
1456
1456
  "kindString": "Constructor signature",
1457
1457
  "flags": {},
1458
1458
  "parameters": [
1459
1459
  {
1460
- "id": 132,
1460
+ "id": 137,
1461
1461
  "name": "config",
1462
1462
  "kind": 32768,
1463
1463
  "kindString": "Parameter",
1464
1464
  "flags": {},
1465
1465
  "type": {
1466
1466
  "type": "reference",
1467
- "id": 124,
1467
+ "id": 129,
1468
1468
  "name": "LogConfig"
1469
1469
  }
1470
1470
  }
1471
1471
  ],
1472
1472
  "type": {
1473
1473
  "type": "reference",
1474
- "id": 129,
1474
+ "id": 134,
1475
1475
  "name": "Log"
1476
1476
  }
1477
1477
  }
1478
1478
  ]
1479
1479
  },
1480
1480
  {
1481
- "id": 133,
1481
+ "id": 138,
1482
1482
  "name": "devMode",
1483
1483
  "kind": 1024,
1484
1484
  "kindString": "Property",
@@ -1499,7 +1499,7 @@
1499
1499
  }
1500
1500
  },
1501
1501
  {
1502
- "id": 134,
1502
+ "id": 139,
1503
1503
  "name": "rollbar",
1504
1504
  "kind": 1024,
1505
1505
  "kindString": "Property",
@@ -1520,7 +1520,7 @@
1520
1520
  }
1521
1521
  },
1522
1522
  {
1523
- "id": 135,
1523
+ "id": 140,
1524
1524
  "name": "debug",
1525
1525
  "kind": 2048,
1526
1526
  "kindString": "Method",
@@ -1534,14 +1534,14 @@
1534
1534
  ],
1535
1535
  "signatures": [
1536
1536
  {
1537
- "id": 136,
1537
+ "id": 141,
1538
1538
  "name": "debug",
1539
1539
  "kind": 4096,
1540
1540
  "kindString": "Call signature",
1541
1541
  "flags": {},
1542
1542
  "parameters": [
1543
1543
  {
1544
- "id": 137,
1544
+ "id": 142,
1545
1545
  "name": "params",
1546
1546
  "kind": 32768,
1547
1547
  "kindString": "Parameter",
@@ -1565,7 +1565,7 @@
1565
1565
  ]
1566
1566
  },
1567
1567
  {
1568
- "id": 138,
1568
+ "id": 143,
1569
1569
  "name": "error",
1570
1570
  "kind": 2048,
1571
1571
  "kindString": "Method",
@@ -1579,14 +1579,14 @@
1579
1579
  ],
1580
1580
  "signatures": [
1581
1581
  {
1582
- "id": 139,
1582
+ "id": 144,
1583
1583
  "name": "error",
1584
1584
  "kind": 4096,
1585
1585
  "kindString": "Call signature",
1586
1586
  "flags": {},
1587
1587
  "parameters": [
1588
1588
  {
1589
- "id": 140,
1589
+ "id": 145,
1590
1590
  "name": "params",
1591
1591
  "kind": 32768,
1592
1592
  "kindString": "Parameter",
@@ -1610,7 +1610,7 @@
1610
1610
  ]
1611
1611
  },
1612
1612
  {
1613
- "id": 141,
1613
+ "id": 146,
1614
1614
  "name": "info",
1615
1615
  "kind": 2048,
1616
1616
  "kindString": "Method",
@@ -1624,14 +1624,14 @@
1624
1624
  ],
1625
1625
  "signatures": [
1626
1626
  {
1627
- "id": 142,
1627
+ "id": 147,
1628
1628
  "name": "info",
1629
1629
  "kind": 4096,
1630
1630
  "kindString": "Call signature",
1631
1631
  "flags": {},
1632
1632
  "parameters": [
1633
1633
  {
1634
- "id": 143,
1634
+ "id": 148,
1635
1635
  "name": "params",
1636
1636
  "kind": 32768,
1637
1637
  "kindString": "Parameter",
@@ -1655,7 +1655,7 @@
1655
1655
  ]
1656
1656
  },
1657
1657
  {
1658
- "id": 144,
1658
+ "id": 149,
1659
1659
  "name": "log",
1660
1660
  "kind": 2048,
1661
1661
  "kindString": "Method",
@@ -1669,14 +1669,14 @@
1669
1669
  ],
1670
1670
  "signatures": [
1671
1671
  {
1672
- "id": 145,
1672
+ "id": 150,
1673
1673
  "name": "log",
1674
1674
  "kind": 4096,
1675
1675
  "kindString": "Call signature",
1676
1676
  "flags": {},
1677
1677
  "parameters": [
1678
1678
  {
1679
- "id": 146,
1679
+ "id": 151,
1680
1680
  "name": "params",
1681
1681
  "kind": 32768,
1682
1682
  "kindString": "Parameter",
@@ -1700,7 +1700,7 @@
1700
1700
  ]
1701
1701
  },
1702
1702
  {
1703
- "id": 147,
1703
+ "id": 152,
1704
1704
  "name": "warn",
1705
1705
  "kind": 2048,
1706
1706
  "kindString": "Method",
@@ -1714,14 +1714,14 @@
1714
1714
  ],
1715
1715
  "signatures": [
1716
1716
  {
1717
- "id": 148,
1717
+ "id": 153,
1718
1718
  "name": "warn",
1719
1719
  "kind": 4096,
1720
1720
  "kindString": "Call signature",
1721
1721
  "flags": {},
1722
1722
  "parameters": [
1723
1723
  {
1724
- "id": 149,
1724
+ "id": 154,
1725
1725
  "name": "params",
1726
1726
  "kind": 32768,
1727
1727
  "kindString": "Parameter",
@@ -1749,24 +1749,24 @@
1749
1749
  {
1750
1750
  "title": "Constructors",
1751
1751
  "children": [
1752
- 130
1752
+ 135
1753
1753
  ]
1754
1754
  },
1755
1755
  {
1756
1756
  "title": "Properties",
1757
1757
  "children": [
1758
- 133,
1759
- 134
1758
+ 138,
1759
+ 139
1760
1760
  ]
1761
1761
  },
1762
1762
  {
1763
1763
  "title": "Methods",
1764
1764
  "children": [
1765
- 135,
1766
- 138,
1767
- 141,
1768
- 144,
1769
- 147
1765
+ 140,
1766
+ 143,
1767
+ 146,
1768
+ 149,
1769
+ 152
1770
1770
  ]
1771
1771
  }
1772
1772
  ],
@@ -1884,14 +1884,14 @@
1884
1884
  ]
1885
1885
  },
1886
1886
  {
1887
- "id": 124,
1887
+ "id": 129,
1888
1888
  "name": "LogConfig",
1889
1889
  "kind": 256,
1890
1890
  "kindString": "Interface",
1891
1891
  "flags": {},
1892
1892
  "children": [
1893
1893
  {
1894
- "id": 125,
1894
+ "id": 130,
1895
1895
  "name": "commitHash",
1896
1896
  "kind": 1024,
1897
1897
  "kindString": "Property",
@@ -1911,7 +1911,7 @@
1911
1911
  }
1912
1912
  },
1913
1913
  {
1914
- "id": 126,
1914
+ "id": 131,
1915
1915
  "name": "devMode",
1916
1916
  "kind": 1024,
1917
1917
  "kindString": "Property",
@@ -1931,7 +1931,7 @@
1931
1931
  }
1932
1932
  },
1933
1933
  {
1934
- "id": 127,
1934
+ "id": 132,
1935
1935
  "name": "payload",
1936
1936
  "kind": 1024,
1937
1937
  "kindString": "Property",
@@ -1963,7 +1963,7 @@
1963
1963
  }
1964
1964
  },
1965
1965
  {
1966
- "id": 128,
1966
+ "id": 133,
1967
1967
  "name": "rollbarToken",
1968
1968
  "kind": 1024,
1969
1969
  "kindString": "Property",
@@ -1987,10 +1987,10 @@
1987
1987
  {
1988
1988
  "title": "Properties",
1989
1989
  "children": [
1990
- 125,
1991
- 126,
1992
- 127,
1993
- 128
1990
+ 130,
1991
+ 131,
1992
+ 132,
1993
+ 133
1994
1994
  ]
1995
1995
  }
1996
1996
  ],
@@ -2002,6 +2002,73 @@
2002
2002
  }
2003
2003
  ]
2004
2004
  },
2005
+ {
2006
+ "id": 51,
2007
+ "name": "AssertExMessageFunc",
2008
+ "kind": 4194304,
2009
+ "kindString": "Type alias",
2010
+ "flags": {},
2011
+ "sources": [
2012
+ {
2013
+ "fileName": "packages/assert/dist/types/index.d.ts",
2014
+ "line": 1,
2015
+ "character": 12
2016
+ }
2017
+ ],
2018
+ "type": {
2019
+ "type": "reflection",
2020
+ "declaration": {
2021
+ "id": 52,
2022
+ "name": "__type",
2023
+ "kind": 65536,
2024
+ "kindString": "Type literal",
2025
+ "flags": {},
2026
+ "sources": [
2027
+ {
2028
+ "fileName": "packages/assert/dist/types/index.d.ts",
2029
+ "line": 1,
2030
+ "character": 34
2031
+ }
2032
+ ],
2033
+ "signatures": [
2034
+ {
2035
+ "id": 53,
2036
+ "name": "__type",
2037
+ "kind": 4096,
2038
+ "kindString": "Call signature",
2039
+ "flags": {},
2040
+ "typeParameter": [
2041
+ {
2042
+ "id": 55,
2043
+ "name": "T",
2044
+ "kind": 131072,
2045
+ "kindString": "Type parameter",
2046
+ "flags": {}
2047
+ }
2048
+ ],
2049
+ "parameters": [
2050
+ {
2051
+ "id": 54,
2052
+ "name": "value",
2053
+ "kind": 32768,
2054
+ "kindString": "Parameter",
2055
+ "flags": {},
2056
+ "type": {
2057
+ "type": "reference",
2058
+ "id": 55,
2059
+ "name": "T"
2060
+ }
2061
+ }
2062
+ ],
2063
+ "type": {
2064
+ "type": "intrinsic",
2065
+ "name": "string"
2066
+ }
2067
+ }
2068
+ ]
2069
+ }
2070
+ }
2071
+ },
2005
2072
  {
2006
2073
  "id": 1,
2007
2074
  "name": "Override",
@@ -2013,7 +2080,7 @@
2013
2080
  "fileName": "src/Override.ts",
2014
2081
  "line": 1,
2015
2082
  "character": 5,
2016
- "url": "https://github.com/xylabs/sdk-js/blob/77d5e7f/src/Override.ts#L1"
2083
+ "url": "https://github.com/xylabs/sdk-js/blob/09e8e07/src/Override.ts#L1"
2017
2084
  }
2018
2085
  ],
2019
2086
  "typeParameters": [
@@ -2090,7 +2157,7 @@
2090
2157
  "fileName": "src/PartialRecord.ts",
2091
2158
  "line": 4,
2092
2159
  "character": 12,
2093
- "url": "https://github.com/xylabs/sdk-js/blob/77d5e7f/src/PartialRecord.ts#L4"
2160
+ "url": "https://github.com/xylabs/sdk-js/blob/09e8e07/src/PartialRecord.ts#L4"
2094
2161
  }
2095
2162
  ],
2096
2163
  "typeParameters": [
@@ -2134,7 +2201,7 @@
2134
2201
  }
2135
2202
  },
2136
2203
  {
2137
- "id": 51,
2204
+ "id": 56,
2138
2205
  "name": "assertEx",
2139
2206
  "kind": 64,
2140
2207
  "kindString": "Function",
@@ -2142,13 +2209,13 @@
2142
2209
  "sources": [
2143
2210
  {
2144
2211
  "fileName": "packages/assert/dist/types/index.d.ts",
2145
- "line": 10,
2212
+ "line": 11,
2146
2213
  "character": 14
2147
2214
  }
2148
2215
  ],
2149
2216
  "signatures": [
2150
2217
  {
2151
- "id": 52,
2218
+ "id": 57,
2152
2219
  "name": "assertEx",
2153
2220
  "kind": 4096,
2154
2221
  "kindString": "Call signature",
@@ -2183,7 +2250,7 @@
2183
2250
  },
2184
2251
  "typeParameter": [
2185
2252
  {
2186
- "id": 53,
2253
+ "id": 58,
2187
2254
  "name": "T",
2188
2255
  "kind": 131072,
2189
2256
  "kindString": "Type parameter",
@@ -2192,7 +2259,7 @@
2192
2259
  ],
2193
2260
  "parameters": [
2194
2261
  {
2195
- "id": 54,
2262
+ "id": 59,
2196
2263
  "name": "expr",
2197
2264
  "kind": 32768,
2198
2265
  "kindString": "Parameter",
@@ -2216,14 +2283,14 @@
2216
2283
  },
2217
2284
  {
2218
2285
  "type": "reference",
2219
- "id": 53,
2286
+ "id": 58,
2220
2287
  "name": "T"
2221
2288
  }
2222
2289
  ]
2223
2290
  }
2224
2291
  },
2225
2292
  {
2226
- "id": 55,
2293
+ "id": 60,
2227
2294
  "name": "message",
2228
2295
  "kind": 32768,
2229
2296
  "kindString": "Parameter",
@@ -2234,26 +2301,36 @@
2234
2301
  "summary": [
2235
2302
  {
2236
2303
  "kind": "text",
2237
- "text": "Message in Error if expression is false"
2304
+ "text": "Message in Error if expression is false, may be a function that returns a string"
2238
2305
  }
2239
2306
  ]
2240
2307
  },
2241
2308
  "type": {
2242
- "type": "intrinsic",
2243
- "name": "string"
2309
+ "type": "union",
2310
+ "types": [
2311
+ {
2312
+ "type": "intrinsic",
2313
+ "name": "string"
2314
+ },
2315
+ {
2316
+ "type": "reference",
2317
+ "id": 51,
2318
+ "name": "AssertExMessageFunc"
2319
+ }
2320
+ ]
2244
2321
  }
2245
2322
  }
2246
2323
  ],
2247
2324
  "type": {
2248
2325
  "type": "reference",
2249
- "id": 53,
2326
+ "id": 58,
2250
2327
  "name": "T"
2251
2328
  }
2252
2329
  }
2253
2330
  ]
2254
2331
  },
2255
2332
  {
2256
- "id": 56,
2333
+ "id": 61,
2257
2334
  "name": "delay",
2258
2335
  "kind": 64,
2259
2336
  "kindString": "Function",
@@ -2267,14 +2344,14 @@
2267
2344
  ],
2268
2345
  "signatures": [
2269
2346
  {
2270
- "id": 57,
2347
+ "id": 62,
2271
2348
  "name": "delay",
2272
2349
  "kind": 4096,
2273
2350
  "kindString": "Call signature",
2274
2351
  "flags": {},
2275
2352
  "parameters": [
2276
2353
  {
2277
- "id": 58,
2354
+ "id": 63,
2278
2355
  "name": "ms",
2279
2356
  "kind": 32768,
2280
2357
  "kindString": "Parameter",
@@ -2301,7 +2378,7 @@
2301
2378
  ]
2302
2379
  },
2303
2380
  {
2304
- "id": 59,
2381
+ "id": 64,
2305
2382
  "name": "ellipsize",
2306
2383
  "kind": 64,
2307
2384
  "kindString": "Function",
@@ -2315,14 +2392,14 @@
2315
2392
  ],
2316
2393
  "signatures": [
2317
2394
  {
2318
- "id": 60,
2395
+ "id": 65,
2319
2396
  "name": "ellipsize",
2320
2397
  "kind": 4096,
2321
2398
  "kindString": "Call signature",
2322
2399
  "flags": {},
2323
2400
  "parameters": [
2324
2401
  {
2325
- "id": 61,
2402
+ "id": 66,
2326
2403
  "name": "value",
2327
2404
  "kind": 32768,
2328
2405
  "kindString": "Parameter",
@@ -2333,7 +2410,7 @@
2333
2410
  }
2334
2411
  },
2335
2412
  {
2336
- "id": 62,
2413
+ "id": 67,
2337
2414
  "name": "length",
2338
2415
  "kind": 32768,
2339
2416
  "kindString": "Parameter",
@@ -2354,7 +2431,7 @@
2354
2431
  ]
2355
2432
  },
2356
2433
  {
2357
- "id": 102,
2434
+ "id": 107,
2358
2435
  "name": "exists",
2359
2436
  "kind": 64,
2360
2437
  "kindString": "Function",
@@ -2368,7 +2445,7 @@
2368
2445
  ],
2369
2446
  "signatures": [
2370
2447
  {
2371
- "id": 103,
2448
+ "id": 108,
2372
2449
  "name": "exists",
2373
2450
  "kind": 4096,
2374
2451
  "kindString": "Call signature",
@@ -2403,7 +2480,7 @@
2403
2480
  },
2404
2481
  "typeParameter": [
2405
2482
  {
2406
- "id": 104,
2483
+ "id": 109,
2407
2484
  "name": "T",
2408
2485
  "kind": 131072,
2409
2486
  "kindString": "Type parameter",
@@ -2412,7 +2489,7 @@
2412
2489
  ],
2413
2490
  "parameters": [
2414
2491
  {
2415
- "id": 105,
2492
+ "id": 110,
2416
2493
  "name": "x",
2417
2494
  "kind": 32768,
2418
2495
  "kindString": "Parameter",
@@ -2436,7 +2513,7 @@
2436
2513
  },
2437
2514
  {
2438
2515
  "type": "reference",
2439
- "id": 104,
2516
+ "id": 109,
2440
2517
  "name": "T"
2441
2518
  }
2442
2519
  ]
@@ -2449,7 +2526,7 @@
2449
2526
  "asserts": false,
2450
2527
  "targetType": {
2451
2528
  "type": "reference",
2452
- "id": 104,
2529
+ "id": 109,
2453
2530
  "name": "T"
2454
2531
  }
2455
2532
  }
@@ -2457,7 +2534,7 @@
2457
2534
  ]
2458
2535
  },
2459
2536
  {
2460
- "id": 106,
2537
+ "id": 111,
2461
2538
  "name": "forget",
2462
2539
  "kind": 64,
2463
2540
  "kindString": "Function",
@@ -2471,14 +2548,14 @@
2471
2548
  ],
2472
2549
  "signatures": [
2473
2550
  {
2474
- "id": 107,
2551
+ "id": 112,
2475
2552
  "name": "forget",
2476
2553
  "kind": 4096,
2477
2554
  "kindString": "Call signature",
2478
2555
  "flags": {},
2479
2556
  "parameters": [
2480
2557
  {
2481
- "id": 108,
2558
+ "id": 113,
2482
2559
  "name": "promise",
2483
2560
  "kind": 32768,
2484
2561
  "kindString": "Parameter",
@@ -2497,7 +2574,7 @@
2497
2574
  }
2498
2575
  },
2499
2576
  {
2500
- "id": 109,
2577
+ "id": 114,
2501
2578
  "name": "timeout",
2502
2579
  "kind": 32768,
2503
2580
  "kindString": "Parameter",
@@ -2559,7 +2636,7 @@
2559
2636
  ]
2560
2637
  },
2561
2638
  {
2562
- "id": 63,
2639
+ "id": 68,
2563
2640
  "name": "isEthAddress",
2564
2641
  "kind": 64,
2565
2642
  "kindString": "Function",
@@ -2573,14 +2650,14 @@
2573
2650
  ],
2574
2651
  "signatures": [
2575
2652
  {
2576
- "id": 64,
2653
+ "id": 69,
2577
2654
  "name": "isEthAddress",
2578
2655
  "kind": 4096,
2579
2656
  "kindString": "Call signature",
2580
2657
  "flags": {},
2581
2658
  "parameters": [
2582
2659
  {
2583
- "id": 65,
2660
+ "id": 70,
2584
2661
  "name": "obj",
2585
2662
  "kind": 32768,
2586
2663
  "kindString": "Parameter",
@@ -2588,14 +2665,14 @@
2588
2665
  "type": {
2589
2666
  "type": "reflection",
2590
2667
  "declaration": {
2591
- "id": 66,
2668
+ "id": 71,
2592
2669
  "name": "__type",
2593
2670
  "kind": 65536,
2594
2671
  "kindString": "Type literal",
2595
2672
  "flags": {},
2596
2673
  "children": [
2597
2674
  {
2598
- "id": 67,
2675
+ "id": 72,
2599
2676
  "name": "type",
2600
2677
  "kind": 1024,
2601
2678
  "kindString": "Property",
@@ -2617,7 +2694,7 @@
2617
2694
  {
2618
2695
  "title": "Properties",
2619
2696
  "children": [
2620
- 67
2697
+ 72
2621
2698
  ]
2622
2699
  }
2623
2700
  ],
@@ -2640,7 +2717,7 @@
2640
2717
  ]
2641
2718
  },
2642
2719
  {
2643
- "id": 98,
2720
+ "id": 103,
2644
2721
  "name": "padHex",
2645
2722
  "kind": 64,
2646
2723
  "kindString": "Function",
@@ -2654,14 +2731,14 @@
2654
2731
  ],
2655
2732
  "signatures": [
2656
2733
  {
2657
- "id": 99,
2734
+ "id": 104,
2658
2735
  "name": "padHex",
2659
2736
  "kind": 4096,
2660
2737
  "kindString": "Call signature",
2661
2738
  "flags": {},
2662
2739
  "parameters": [
2663
2740
  {
2664
- "id": 100,
2741
+ "id": 105,
2665
2742
  "name": "hex",
2666
2743
  "kind": 32768,
2667
2744
  "kindString": "Parameter",
@@ -2672,7 +2749,7 @@
2672
2749
  }
2673
2750
  },
2674
2751
  {
2675
- "id": 101,
2752
+ "id": 106,
2676
2753
  "name": "byteCount",
2677
2754
  "kind": 32768,
2678
2755
  "kindString": "Parameter",
@@ -2705,21 +2782,22 @@
2705
2782
  "children": [
2706
2783
  7,
2707
2784
  21,
2708
- 68,
2709
- 110,
2710
- 129
2785
+ 73,
2786
+ 115,
2787
+ 134
2711
2788
  ]
2712
2789
  },
2713
2790
  {
2714
2791
  "title": "Interfaces",
2715
2792
  "children": [
2716
2793
  16,
2717
- 124
2794
+ 129
2718
2795
  ]
2719
2796
  },
2720
2797
  {
2721
2798
  "title": "Type Aliases",
2722
2799
  "children": [
2800
+ 51,
2723
2801
  1,
2724
2802
  4
2725
2803
  ]
@@ -2727,14 +2805,14 @@
2727
2805
  {
2728
2806
  "title": "Functions",
2729
2807
  "children": [
2730
- 51,
2731
2808
  56,
2732
- 59,
2733
- 102,
2734
- 106,
2809
+ 61,
2810
+ 64,
2811
+ 107,
2812
+ 111,
2735
2813
  48,
2736
- 63,
2737
- 98
2814
+ 68,
2815
+ 103
2738
2816
  ]
2739
2817
  }
2740
2818
  ],
@@ -2743,7 +2821,7 @@
2743
2821
  "fileName": "src/index.ts",
2744
2822
  "line": 1,
2745
2823
  "character": 0,
2746
- "url": "https://github.com/xylabs/sdk-js/blob/77d5e7f/src/index.ts#L1"
2824
+ "url": "https://github.com/xylabs/sdk-js/blob/09e8e07/src/index.ts#L1"
2747
2825
  }
2748
2826
  ]
2749
2827
  }
package/package.json CHANGED
@@ -44,25 +44,25 @@
44
44
  "esm"
45
45
  ],
46
46
  "dependencies": {
47
- "@xylabs/api": "^2.7.4",
48
- "@xylabs/assert": "^2.7.4",
49
- "@xylabs/bignumber": "^2.7.4",
50
- "@xylabs/delay": "^2.7.4",
51
- "@xylabs/eth-address": "^2.7.4",
52
- "@xylabs/exists": "^2.7.4",
53
- "@xylabs/forget": "^2.7.4",
54
- "@xylabs/log": "^2.7.4"
47
+ "@xylabs/api": "^2.7.5",
48
+ "@xylabs/assert": "^2.7.5",
49
+ "@xylabs/bignumber": "^2.7.5",
50
+ "@xylabs/delay": "^2.7.5",
51
+ "@xylabs/eth-address": "^2.7.5",
52
+ "@xylabs/exists": "^2.7.5",
53
+ "@xylabs/forget": "^2.7.5",
54
+ "@xylabs/log": "^2.7.5"
55
55
  },
56
56
  "devDependencies": {
57
- "@types/jest": "^29.4.0",
57
+ "@types/jest": "^29.5.0",
58
58
  "@types/mocha": "^10.0.1",
59
- "@xylabs/eslint-config": "2.15.0",
60
- "@xylabs/ts-scripts-yarn3": "^2.15.0",
61
- "@xylabs/tsconfig": "^2.15.0",
59
+ "@xylabs/eslint-config": "2.16.1",
60
+ "@xylabs/ts-scripts-yarn3": "^2.16.1",
61
+ "@xylabs/tsconfig": "^2.16.1",
62
62
  "depcheck": "^1.4.3",
63
- "eslint": "^8.35.0",
64
- "jest": "^29.4.3",
65
- "jest-environment-jsdom": "^29.4.3",
63
+ "eslint": "^8.36.0",
64
+ "jest": "^29.5.0",
65
+ "jest-environment-jsdom": "^29.5.0",
66
66
  "jest-extended": "^3.2.4",
67
67
  "jest-sorted": "^1.0.14",
68
68
  "reflect-metadata": "^0.1.13",
@@ -80,6 +80,6 @@
80
80
  "uuid": "^8"
81
81
  },
82
82
  "sideEffects": false,
83
- "version": "2.7.4",
83
+ "version": "2.7.5",
84
84
  "packageManager": "yarn@3.4.1"
85
85
  }