@xylabs/sdk-js 2.7.5 → 2.8.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/dist/docs.json +433 -177
  2. package/package.json +22 -17
package/dist/docs.json CHANGED
@@ -689,14 +689,14 @@
689
689
  ]
690
690
  },
691
691
  {
692
- "id": 73,
692
+ "id": 88,
693
693
  "name": "EthAddress",
694
694
  "kind": 128,
695
695
  "kindString": "Class",
696
696
  "flags": {},
697
697
  "children": [
698
698
  {
699
- "id": 83,
699
+ "id": 98,
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": 84,
715
+ "id": 99,
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": 73,
722
+ "id": 88,
723
723
  "name": "EthAddress"
724
724
  }
725
725
  }
726
726
  ]
727
727
  },
728
728
  {
729
- "id": 86,
729
+ "id": 101,
730
730
  "name": "address",
731
731
  "kind": 1024,
732
732
  "kindString": "Property",
@@ -746,7 +746,7 @@
746
746
  }
747
747
  },
748
748
  {
749
- "id": 85,
749
+ "id": 100,
750
750
  "name": "type",
751
751
  "kind": 1024,
752
752
  "kindString": "Property",
@@ -764,7 +764,7 @@
764
764
  }
765
765
  },
766
766
  {
767
- "id": 74,
767
+ "id": 89,
768
768
  "name": "type",
769
769
  "kind": 1024,
770
770
  "kindString": "Property",
@@ -784,7 +784,7 @@
784
784
  }
785
785
  },
786
786
  {
787
- "id": 87,
787
+ "id": 102,
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": 88,
801
+ "id": 103,
802
802
  "name": "equals",
803
803
  "kind": 4096,
804
804
  "kindString": "Call signature",
805
805
  "flags": {},
806
806
  "parameters": [
807
807
  {
808
- "id": 89,
808
+ "id": 104,
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": 73,
828
+ "id": 88,
829
829
  "name": "EthAddress"
830
830
  }
831
831
  ]
@@ -840,7 +840,7 @@
840
840
  ]
841
841
  },
842
842
  {
843
- "id": 90,
843
+ "id": 105,
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": 91,
857
+ "id": 106,
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": 92,
872
+ "id": 107,
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": 93,
886
+ "id": 108,
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": 94,
899
+ "id": 109,
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": 95,
913
+ "id": 110,
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": 96,
926
+ "id": 111,
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": 97,
940
+ "id": 112,
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": 98,
953
+ "id": 113,
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": 99,
967
+ "id": 114,
968
968
  "name": "toShortString",
969
969
  "kind": 4096,
970
970
  "kindString": "Call signature",
971
971
  "flags": {},
972
972
  "parameters": [
973
973
  {
974
- "id": 100,
974
+ "id": 115,
975
975
  "name": "length",
976
976
  "kind": 32768,
977
977
  "kindString": "Parameter",
@@ -992,7 +992,7 @@
992
992
  ]
993
993
  },
994
994
  {
995
- "id": 101,
995
+ "id": 116,
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": 102,
1009
+ "id": 117,
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": 75,
1022
+ "id": 90,
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": 76,
1038
+ "id": 91,
1039
1039
  "name": "fromString",
1040
1040
  "kind": 4096,
1041
1041
  "kindString": "Call signature",
1042
1042
  "flags": {},
1043
1043
  "parameters": [
1044
1044
  {
1045
- "id": 77,
1045
+ "id": 92,
1046
1046
  "name": "value",
1047
1047
  "kind": 32768,
1048
1048
  "kindString": "Parameter",
@@ -1055,7 +1055,7 @@
1055
1055
  }
1056
1056
  },
1057
1057
  {
1058
- "id": 78,
1058
+ "id": 93,
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": 73,
1080
+ "id": 88,
1081
1081
  "name": "EthAddress"
1082
1082
  }
1083
1083
  ]
@@ -1086,7 +1086,7 @@
1086
1086
  ]
1087
1087
  },
1088
1088
  {
1089
- "id": 79,
1089
+ "id": 94,
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": 80,
1105
+ "id": 95,
1106
1106
  "name": "parse",
1107
1107
  "kind": 4096,
1108
1108
  "kindString": "Call signature",
1109
1109
  "flags": {},
1110
1110
  "parameters": [
1111
1111
  {
1112
- "id": 81,
1112
+ "id": 96,
1113
1113
  "name": "value",
1114
1114
  "kind": 32768,
1115
1115
  "kindString": "Parameter",
@@ -1120,7 +1120,7 @@
1120
1120
  }
1121
1121
  },
1122
1122
  {
1123
- "id": 82,
1123
+ "id": 97,
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": 73,
1145
+ "id": 88,
1146
1146
  "name": "EthAddress"
1147
1147
  }
1148
1148
  ]
@@ -1155,29 +1155,29 @@
1155
1155
  {
1156
1156
  "title": "Constructors",
1157
1157
  "children": [
1158
- 83
1158
+ 98
1159
1159
  ]
1160
1160
  },
1161
1161
  {
1162
1162
  "title": "Properties",
1163
1163
  "children": [
1164
- 86,
1165
- 85,
1166
- 74
1164
+ 101,
1165
+ 100,
1166
+ 89
1167
1167
  ]
1168
1168
  },
1169
1169
  {
1170
1170
  "title": "Methods",
1171
1171
  "children": [
1172
- 87,
1172
+ 102,
1173
+ 105,
1174
+ 107,
1175
+ 109,
1176
+ 111,
1177
+ 113,
1178
+ 116,
1173
1179
  90,
1174
- 92,
1175
- 94,
1176
- 96,
1177
- 98,
1178
- 101,
1179
- 75,
1180
- 79
1180
+ 94
1181
1181
  ]
1182
1182
  }
1183
1183
  ],
@@ -1190,35 +1190,35 @@
1190
1190
  ]
1191
1191
  },
1192
1192
  {
1193
- "id": 115,
1193
+ "id": 130,
1194
1194
  "name": "ForgetPromise",
1195
1195
  "kind": 128,
1196
1196
  "kindString": "Class",
1197
1197
  "flags": {},
1198
1198
  "children": [
1199
1199
  {
1200
- "id": 127,
1200
+ "id": 142,
1201
1201
  "name": "constructor",
1202
1202
  "kind": 512,
1203
1203
  "kindString": "Constructor",
1204
1204
  "flags": {},
1205
1205
  "signatures": [
1206
1206
  {
1207
- "id": 128,
1207
+ "id": 143,
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": 115,
1214
+ "id": 130,
1215
1215
  "name": "ForgetPromise"
1216
1216
  }
1217
1217
  }
1218
1218
  ]
1219
1219
  },
1220
1220
  {
1221
- "id": 116,
1221
+ "id": 131,
1222
1222
  "name": "activeForgets",
1223
1223
  "kind": 1024,
1224
1224
  "kindString": "Property",
@@ -1238,7 +1238,7 @@
1238
1238
  }
1239
1239
  },
1240
1240
  {
1241
- "id": 117,
1241
+ "id": 132,
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": 118,
1256
+ "id": 133,
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": 119,
1268
+ "id": 134,
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": 120,
1284
+ "id": 135,
1285
1285
  "name": "awaitInactive",
1286
1286
  "kind": 4096,
1287
1287
  "kindString": "Call signature",
1288
1288
  "flags": {},
1289
1289
  "parameters": [
1290
1290
  {
1291
- "id": 121,
1291
+ "id": 136,
1292
1292
  "name": "interval",
1293
1293
  "kind": 32768,
1294
1294
  "kindString": "Parameter",
@@ -1301,7 +1301,7 @@
1301
1301
  }
1302
1302
  },
1303
1303
  {
1304
- "id": 122,
1304
+ "id": 137,
1305
1305
  "name": "timeout",
1306
1306
  "kind": 32768,
1307
1307
  "kindString": "Parameter",
@@ -1330,7 +1330,7 @@
1330
1330
  ]
1331
1331
  },
1332
1332
  {
1333
- "id": 123,
1333
+ "id": 138,
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": 124,
1349
+ "id": 139,
1350
1350
  "name": "forget",
1351
1351
  "kind": 4096,
1352
1352
  "kindString": "Call signature",
1353
1353
  "flags": {},
1354
1354
  "parameters": [
1355
1355
  {
1356
- "id": 125,
1356
+ "id": 140,
1357
1357
  "name": "promise",
1358
1358
  "kind": 32768,
1359
1359
  "kindString": "Parameter",
@@ -1372,7 +1372,7 @@
1372
1372
  }
1373
1373
  },
1374
1374
  {
1375
- "id": 126,
1375
+ "id": 141,
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
- 127
1400
+ 142
1401
1401
  ]
1402
1402
  },
1403
1403
  {
1404
1404
  "title": "Properties",
1405
1405
  "children": [
1406
- 116
1406
+ 131
1407
1407
  ]
1408
1408
  },
1409
1409
  {
1410
1410
  "title": "Accessors",
1411
1411
  "children": [
1412
- 117
1412
+ 132
1413
1413
  ]
1414
1414
  },
1415
1415
  {
1416
1416
  "title": "Methods",
1417
1417
  "children": [
1418
- 119,
1419
- 123
1418
+ 134,
1419
+ 138
1420
1420
  ]
1421
1421
  }
1422
1422
  ],
@@ -1429,14 +1429,14 @@
1429
1429
  ]
1430
1430
  },
1431
1431
  {
1432
- "id": 134,
1432
+ "id": 149,
1433
1433
  "name": "Log",
1434
1434
  "kind": 128,
1435
1435
  "kindString": "Class",
1436
1436
  "flags": {},
1437
1437
  "children": [
1438
1438
  {
1439
- "id": 135,
1439
+ "id": 150,
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": 136,
1453
+ "id": 151,
1454
1454
  "name": "new Log",
1455
1455
  "kind": 16384,
1456
1456
  "kindString": "Constructor signature",
1457
1457
  "flags": {},
1458
1458
  "parameters": [
1459
1459
  {
1460
- "id": 137,
1460
+ "id": 152,
1461
1461
  "name": "config",
1462
1462
  "kind": 32768,
1463
1463
  "kindString": "Parameter",
1464
1464
  "flags": {},
1465
1465
  "type": {
1466
1466
  "type": "reference",
1467
- "id": 129,
1467
+ "id": 144,
1468
1468
  "name": "LogConfig"
1469
1469
  }
1470
1470
  }
1471
1471
  ],
1472
1472
  "type": {
1473
1473
  "type": "reference",
1474
- "id": 134,
1474
+ "id": 149,
1475
1475
  "name": "Log"
1476
1476
  }
1477
1477
  }
1478
1478
  ]
1479
1479
  },
1480
1480
  {
1481
- "id": 138,
1481
+ "id": 153,
1482
1482
  "name": "devMode",
1483
1483
  "kind": 1024,
1484
1484
  "kindString": "Property",
@@ -1499,7 +1499,7 @@
1499
1499
  }
1500
1500
  },
1501
1501
  {
1502
- "id": 139,
1502
+ "id": 154,
1503
1503
  "name": "rollbar",
1504
1504
  "kind": 1024,
1505
1505
  "kindString": "Property",
@@ -1520,7 +1520,7 @@
1520
1520
  }
1521
1521
  },
1522
1522
  {
1523
- "id": 140,
1523
+ "id": 155,
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": 141,
1537
+ "id": 156,
1538
1538
  "name": "debug",
1539
1539
  "kind": 4096,
1540
1540
  "kindString": "Call signature",
1541
1541
  "flags": {},
1542
1542
  "parameters": [
1543
1543
  {
1544
- "id": 142,
1544
+ "id": 157,
1545
1545
  "name": "params",
1546
1546
  "kind": 32768,
1547
1547
  "kindString": "Parameter",
@@ -1565,7 +1565,7 @@
1565
1565
  ]
1566
1566
  },
1567
1567
  {
1568
- "id": 143,
1568
+ "id": 158,
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": 144,
1582
+ "id": 159,
1583
1583
  "name": "error",
1584
1584
  "kind": 4096,
1585
1585
  "kindString": "Call signature",
1586
1586
  "flags": {},
1587
1587
  "parameters": [
1588
1588
  {
1589
- "id": 145,
1589
+ "id": 160,
1590
1590
  "name": "params",
1591
1591
  "kind": 32768,
1592
1592
  "kindString": "Parameter",
@@ -1610,7 +1610,7 @@
1610
1610
  ]
1611
1611
  },
1612
1612
  {
1613
- "id": 146,
1613
+ "id": 161,
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": 147,
1627
+ "id": 162,
1628
1628
  "name": "info",
1629
1629
  "kind": 4096,
1630
1630
  "kindString": "Call signature",
1631
1631
  "flags": {},
1632
1632
  "parameters": [
1633
1633
  {
1634
- "id": 148,
1634
+ "id": 163,
1635
1635
  "name": "params",
1636
1636
  "kind": 32768,
1637
1637
  "kindString": "Parameter",
@@ -1655,7 +1655,7 @@
1655
1655
  ]
1656
1656
  },
1657
1657
  {
1658
- "id": 149,
1658
+ "id": 164,
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": 150,
1672
+ "id": 165,
1673
1673
  "name": "log",
1674
1674
  "kind": 4096,
1675
1675
  "kindString": "Call signature",
1676
1676
  "flags": {},
1677
1677
  "parameters": [
1678
1678
  {
1679
- "id": 151,
1679
+ "id": 166,
1680
1680
  "name": "params",
1681
1681
  "kind": 32768,
1682
1682
  "kindString": "Parameter",
@@ -1700,7 +1700,7 @@
1700
1700
  ]
1701
1701
  },
1702
1702
  {
1703
- "id": 152,
1703
+ "id": 167,
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": 153,
1717
+ "id": 168,
1718
1718
  "name": "warn",
1719
1719
  "kind": 4096,
1720
1720
  "kindString": "Call signature",
1721
1721
  "flags": {},
1722
1722
  "parameters": [
1723
1723
  {
1724
- "id": 154,
1724
+ "id": 169,
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
- 135
1752
+ 150
1753
1753
  ]
1754
1754
  },
1755
1755
  {
1756
1756
  "title": "Properties",
1757
1757
  "children": [
1758
- 138,
1759
- 139
1758
+ 153,
1759
+ 154
1760
1760
  ]
1761
1761
  },
1762
1762
  {
1763
1763
  "title": "Methods",
1764
1764
  "children": [
1765
- 140,
1766
- 143,
1767
- 146,
1768
- 149,
1769
- 152
1765
+ 155,
1766
+ 158,
1767
+ 161,
1768
+ 164,
1769
+ 167
1770
1770
  ]
1771
1771
  }
1772
1772
  ],
@@ -1884,14 +1884,14 @@
1884
1884
  ]
1885
1885
  },
1886
1886
  {
1887
- "id": 129,
1887
+ "id": 144,
1888
1888
  "name": "LogConfig",
1889
1889
  "kind": 256,
1890
1890
  "kindString": "Interface",
1891
1891
  "flags": {},
1892
1892
  "children": [
1893
1893
  {
1894
- "id": 130,
1894
+ "id": 145,
1895
1895
  "name": "commitHash",
1896
1896
  "kind": 1024,
1897
1897
  "kindString": "Property",
@@ -1911,7 +1911,7 @@
1911
1911
  }
1912
1912
  },
1913
1913
  {
1914
- "id": 131,
1914
+ "id": 146,
1915
1915
  "name": "devMode",
1916
1916
  "kind": 1024,
1917
1917
  "kindString": "Property",
@@ -1931,7 +1931,7 @@
1931
1931
  }
1932
1932
  },
1933
1933
  {
1934
- "id": 132,
1934
+ "id": 147,
1935
1935
  "name": "payload",
1936
1936
  "kind": 1024,
1937
1937
  "kindString": "Property",
@@ -1963,7 +1963,7 @@
1963
1963
  }
1964
1964
  },
1965
1965
  {
1966
- "id": 133,
1966
+ "id": 148,
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
- 130,
1991
- 131,
1992
- 132,
1993
- 133
1990
+ 145,
1991
+ 146,
1992
+ 147,
1993
+ 148
1994
1994
  ]
1995
1995
  }
1996
1996
  ],
@@ -2002,6 +2002,98 @@
2002
2002
  }
2003
2003
  ]
2004
2004
  },
2005
+ {
2006
+ "id": 56,
2007
+ "name": "AssertExErrorFunc",
2008
+ "kind": 4194304,
2009
+ "kindString": "Type alias",
2010
+ "flags": {},
2011
+ "sources": [
2012
+ {
2013
+ "fileName": "packages/assert/dist/types/index.d.ts",
2014
+ "line": 2,
2015
+ "character": 12
2016
+ }
2017
+ ],
2018
+ "typeParameters": [
2019
+ {
2020
+ "id": 60,
2021
+ "name": "T",
2022
+ "kind": 131072,
2023
+ "kindString": "Type parameter",
2024
+ "flags": {}
2025
+ },
2026
+ {
2027
+ "id": 61,
2028
+ "name": "R",
2029
+ "kind": 131072,
2030
+ "kindString": "Type parameter",
2031
+ "flags": {},
2032
+ "type": {
2033
+ "type": "reference",
2034
+ "name": "Error",
2035
+ "qualifiedName": "Error",
2036
+ "package": "typescript"
2037
+ }
2038
+ }
2039
+ ],
2040
+ "type": {
2041
+ "type": "reflection",
2042
+ "declaration": {
2043
+ "id": 57,
2044
+ "name": "__type",
2045
+ "kind": 65536,
2046
+ "kindString": "Type literal",
2047
+ "flags": {},
2048
+ "sources": [
2049
+ {
2050
+ "fileName": "packages/assert/dist/types/index.d.ts",
2051
+ "line": 2,
2052
+ "character": 52
2053
+ }
2054
+ ],
2055
+ "signatures": [
2056
+ {
2057
+ "id": 58,
2058
+ "name": "__type",
2059
+ "kind": 4096,
2060
+ "kindString": "Call signature",
2061
+ "flags": {},
2062
+ "parameters": [
2063
+ {
2064
+ "id": 59,
2065
+ "name": "value",
2066
+ "kind": 32768,
2067
+ "kindString": "Parameter",
2068
+ "flags": {
2069
+ "isOptional": true
2070
+ },
2071
+ "type": {
2072
+ "type": "union",
2073
+ "types": [
2074
+ {
2075
+ "type": "reference",
2076
+ "id": 60,
2077
+ "name": "T"
2078
+ },
2079
+ {
2080
+ "type": "literal",
2081
+ "value": null
2082
+ }
2083
+ ]
2084
+ }
2085
+ }
2086
+ ],
2087
+ "type": {
2088
+ "type": "reference",
2089
+ "id": 61,
2090
+ "name": "R"
2091
+ }
2092
+ }
2093
+ ]
2094
+ }
2095
+ }
2096
+ },
2005
2097
  {
2006
2098
  "id": 51,
2007
2099
  "name": "AssertExMessageFunc",
@@ -2015,6 +2107,15 @@
2015
2107
  "character": 12
2016
2108
  }
2017
2109
  ],
2110
+ "typeParameters": [
2111
+ {
2112
+ "id": 55,
2113
+ "name": "T",
2114
+ "kind": 131072,
2115
+ "kindString": "Type parameter",
2116
+ "flags": {}
2117
+ }
2118
+ ],
2018
2119
  "type": {
2019
2120
  "type": "reflection",
2020
2121
  "declaration": {
@@ -2027,7 +2128,7 @@
2027
2128
  {
2028
2129
  "fileName": "packages/assert/dist/types/index.d.ts",
2029
2130
  "line": 1,
2030
- "character": 34
2131
+ "character": 37
2031
2132
  }
2032
2133
  ],
2033
2134
  "signatures": [
@@ -2037,26 +2138,28 @@
2037
2138
  "kind": 4096,
2038
2139
  "kindString": "Call signature",
2039
2140
  "flags": {},
2040
- "typeParameter": [
2041
- {
2042
- "id": 55,
2043
- "name": "T",
2044
- "kind": 131072,
2045
- "kindString": "Type parameter",
2046
- "flags": {}
2047
- }
2048
- ],
2049
2141
  "parameters": [
2050
2142
  {
2051
2143
  "id": 54,
2052
2144
  "name": "value",
2053
2145
  "kind": 32768,
2054
2146
  "kindString": "Parameter",
2055
- "flags": {},
2147
+ "flags": {
2148
+ "isOptional": true
2149
+ },
2056
2150
  "type": {
2057
- "type": "reference",
2058
- "id": 55,
2059
- "name": "T"
2151
+ "type": "union",
2152
+ "types": [
2153
+ {
2154
+ "type": "reference",
2155
+ "id": 55,
2156
+ "name": "T"
2157
+ },
2158
+ {
2159
+ "type": "literal",
2160
+ "value": null
2161
+ }
2162
+ ]
2060
2163
  }
2061
2164
  }
2062
2165
  ],
@@ -2080,7 +2183,7 @@
2080
2183
  "fileName": "src/Override.ts",
2081
2184
  "line": 1,
2082
2185
  "character": 5,
2083
- "url": "https://github.com/xylabs/sdk-js/blob/09e8e07/src/Override.ts#L1"
2186
+ "url": "https://github.com/xylabs/sdk-js/blob/9ad4029/src/Override.ts#L1"
2084
2187
  }
2085
2188
  ],
2086
2189
  "typeParameters": [
@@ -2157,7 +2260,7 @@
2157
2260
  "fileName": "src/PartialRecord.ts",
2158
2261
  "line": 4,
2159
2262
  "character": 12,
2160
- "url": "https://github.com/xylabs/sdk-js/blob/09e8e07/src/PartialRecord.ts#L4"
2263
+ "url": "https://github.com/xylabs/sdk-js/blob/9ad4029/src/PartialRecord.ts#L4"
2161
2264
  }
2162
2265
  ],
2163
2266
  "typeParameters": [
@@ -2201,7 +2304,7 @@
2201
2304
  }
2202
2305
  },
2203
2306
  {
2204
- "id": 56,
2307
+ "id": 62,
2205
2308
  "name": "assertEx",
2206
2309
  "kind": 64,
2207
2310
  "kindString": "Function",
@@ -2209,13 +2312,23 @@
2209
2312
  "sources": [
2210
2313
  {
2211
2314
  "fileName": "packages/assert/dist/types/index.d.ts",
2212
- "line": 11,
2213
- "character": 14
2315
+ "line": 12,
2316
+ "character": 17
2317
+ },
2318
+ {
2319
+ "fileName": "packages/assert/dist/types/index.d.ts",
2320
+ "line": 13,
2321
+ "character": 17
2322
+ },
2323
+ {
2324
+ "fileName": "packages/assert/dist/types/index.d.ts",
2325
+ "line": 14,
2326
+ "character": 17
2214
2327
  }
2215
2328
  ],
2216
2329
  "signatures": [
2217
2330
  {
2218
- "id": 57,
2331
+ "id": 63,
2219
2332
  "name": "assertEx",
2220
2333
  "kind": 4096,
2221
2334
  "kindString": "Call signature",
@@ -2250,7 +2363,7 @@
2250
2363
  },
2251
2364
  "typeParameter": [
2252
2365
  {
2253
- "id": 58,
2366
+ "id": 64,
2254
2367
  "name": "T",
2255
2368
  "kind": 131072,
2256
2369
  "kindString": "Type parameter",
@@ -2259,7 +2372,7 @@
2259
2372
  ],
2260
2373
  "parameters": [
2261
2374
  {
2262
- "id": 59,
2375
+ "id": 65,
2263
2376
  "name": "expr",
2264
2377
  "kind": 32768,
2265
2378
  "kindString": "Parameter",
@@ -2283,14 +2396,14 @@
2283
2396
  },
2284
2397
  {
2285
2398
  "type": "reference",
2286
- "id": 58,
2399
+ "id": 64,
2287
2400
  "name": "T"
2288
2401
  }
2289
2402
  ]
2290
2403
  }
2291
2404
  },
2292
2405
  {
2293
- "id": 60,
2406
+ "id": 66,
2294
2407
  "name": "message",
2295
2408
  "kind": 32768,
2296
2409
  "kindString": "Parameter",
@@ -2305,32 +2418,174 @@
2305
2418
  }
2306
2419
  ]
2307
2420
  },
2421
+ "type": {
2422
+ "type": "intrinsic",
2423
+ "name": "string"
2424
+ }
2425
+ }
2426
+ ],
2427
+ "type": {
2428
+ "type": "reference",
2429
+ "id": 64,
2430
+ "name": "T"
2431
+ }
2432
+ },
2433
+ {
2434
+ "id": 67,
2435
+ "name": "assertEx",
2436
+ "kind": 4096,
2437
+ "kindString": "Call signature",
2438
+ "flags": {},
2439
+ "typeParameter": [
2440
+ {
2441
+ "id": 68,
2442
+ "name": "T",
2443
+ "kind": 131072,
2444
+ "kindString": "Type parameter",
2445
+ "flags": {}
2446
+ }
2447
+ ],
2448
+ "parameters": [
2449
+ {
2450
+ "id": 69,
2451
+ "name": "expr",
2452
+ "kind": 32768,
2453
+ "kindString": "Parameter",
2454
+ "flags": {
2455
+ "isOptional": true
2456
+ },
2308
2457
  "type": {
2309
2458
  "type": "union",
2310
2459
  "types": [
2311
2460
  {
2312
- "type": "intrinsic",
2313
- "name": "string"
2461
+ "type": "literal",
2462
+ "value": null
2463
+ },
2464
+ {
2465
+ "type": "reference",
2466
+ "id": 68,
2467
+ "name": "T"
2468
+ }
2469
+ ]
2470
+ }
2471
+ },
2472
+ {
2473
+ "id": 70,
2474
+ "name": "messageFunc",
2475
+ "kind": 32768,
2476
+ "kindString": "Parameter",
2477
+ "flags": {
2478
+ "isOptional": true
2479
+ },
2480
+ "type": {
2481
+ "type": "reference",
2482
+ "id": 51,
2483
+ "typeArguments": [
2484
+ {
2485
+ "type": "reference",
2486
+ "id": 68,
2487
+ "name": "T"
2488
+ }
2489
+ ],
2490
+ "name": "AssertExMessageFunc"
2491
+ }
2492
+ }
2493
+ ],
2494
+ "type": {
2495
+ "type": "reference",
2496
+ "id": 68,
2497
+ "name": "T"
2498
+ }
2499
+ },
2500
+ {
2501
+ "id": 71,
2502
+ "name": "assertEx",
2503
+ "kind": 4096,
2504
+ "kindString": "Call signature",
2505
+ "flags": {},
2506
+ "typeParameter": [
2507
+ {
2508
+ "id": 72,
2509
+ "name": "T",
2510
+ "kind": 131072,
2511
+ "kindString": "Type parameter",
2512
+ "flags": {}
2513
+ },
2514
+ {
2515
+ "id": 73,
2516
+ "name": "R",
2517
+ "kind": 131072,
2518
+ "kindString": "Type parameter",
2519
+ "flags": {},
2520
+ "type": {
2521
+ "type": "reference",
2522
+ "name": "Error",
2523
+ "qualifiedName": "Error",
2524
+ "package": "typescript"
2525
+ }
2526
+ }
2527
+ ],
2528
+ "parameters": [
2529
+ {
2530
+ "id": 74,
2531
+ "name": "expr",
2532
+ "kind": 32768,
2533
+ "kindString": "Parameter",
2534
+ "flags": {
2535
+ "isOptional": true
2536
+ },
2537
+ "type": {
2538
+ "type": "union",
2539
+ "types": [
2540
+ {
2541
+ "type": "literal",
2542
+ "value": null
2314
2543
  },
2315
2544
  {
2316
2545
  "type": "reference",
2317
- "id": 51,
2318
- "name": "AssertExMessageFunc"
2546
+ "id": 72,
2547
+ "name": "T"
2319
2548
  }
2320
2549
  ]
2321
2550
  }
2551
+ },
2552
+ {
2553
+ "id": 75,
2554
+ "name": "errorFunc",
2555
+ "kind": 32768,
2556
+ "kindString": "Parameter",
2557
+ "flags": {
2558
+ "isOptional": true
2559
+ },
2560
+ "type": {
2561
+ "type": "reference",
2562
+ "id": 56,
2563
+ "typeArguments": [
2564
+ {
2565
+ "type": "reference",
2566
+ "id": 72,
2567
+ "name": "T"
2568
+ },
2569
+ {
2570
+ "type": "reference",
2571
+ "id": 73,
2572
+ "name": "R"
2573
+ }
2574
+ ],
2575
+ "name": "AssertExErrorFunc"
2576
+ }
2322
2577
  }
2323
2578
  ],
2324
2579
  "type": {
2325
2580
  "type": "reference",
2326
- "id": 58,
2581
+ "id": 72,
2327
2582
  "name": "T"
2328
2583
  }
2329
2584
  }
2330
2585
  ]
2331
2586
  },
2332
2587
  {
2333
- "id": 61,
2588
+ "id": 76,
2334
2589
  "name": "delay",
2335
2590
  "kind": 64,
2336
2591
  "kindString": "Function",
@@ -2344,14 +2599,14 @@
2344
2599
  ],
2345
2600
  "signatures": [
2346
2601
  {
2347
- "id": 62,
2602
+ "id": 77,
2348
2603
  "name": "delay",
2349
2604
  "kind": 4096,
2350
2605
  "kindString": "Call signature",
2351
2606
  "flags": {},
2352
2607
  "parameters": [
2353
2608
  {
2354
- "id": 63,
2609
+ "id": 78,
2355
2610
  "name": "ms",
2356
2611
  "kind": 32768,
2357
2612
  "kindString": "Parameter",
@@ -2378,7 +2633,7 @@
2378
2633
  ]
2379
2634
  },
2380
2635
  {
2381
- "id": 64,
2636
+ "id": 79,
2382
2637
  "name": "ellipsize",
2383
2638
  "kind": 64,
2384
2639
  "kindString": "Function",
@@ -2392,14 +2647,14 @@
2392
2647
  ],
2393
2648
  "signatures": [
2394
2649
  {
2395
- "id": 65,
2650
+ "id": 80,
2396
2651
  "name": "ellipsize",
2397
2652
  "kind": 4096,
2398
2653
  "kindString": "Call signature",
2399
2654
  "flags": {},
2400
2655
  "parameters": [
2401
2656
  {
2402
- "id": 66,
2657
+ "id": 81,
2403
2658
  "name": "value",
2404
2659
  "kind": 32768,
2405
2660
  "kindString": "Parameter",
@@ -2410,7 +2665,7 @@
2410
2665
  }
2411
2666
  },
2412
2667
  {
2413
- "id": 67,
2668
+ "id": 82,
2414
2669
  "name": "length",
2415
2670
  "kind": 32768,
2416
2671
  "kindString": "Parameter",
@@ -2431,7 +2686,7 @@
2431
2686
  ]
2432
2687
  },
2433
2688
  {
2434
- "id": 107,
2689
+ "id": 122,
2435
2690
  "name": "exists",
2436
2691
  "kind": 64,
2437
2692
  "kindString": "Function",
@@ -2445,7 +2700,7 @@
2445
2700
  ],
2446
2701
  "signatures": [
2447
2702
  {
2448
- "id": 108,
2703
+ "id": 123,
2449
2704
  "name": "exists",
2450
2705
  "kind": 4096,
2451
2706
  "kindString": "Call signature",
@@ -2454,7 +2709,7 @@
2454
2709
  "summary": [
2455
2710
  {
2456
2711
  "kind": "text",
2457
- "text": "Used to type narrow an object which is possibly undefined. Works well\nwith functional Array methods. For example:"
2712
+ "text": "Used to type narrow an object which is possibly null or undefined. Works well\nwith functional Array methods. For example:"
2458
2713
  }
2459
2714
  ],
2460
2715
  "blockTags": [
@@ -2472,7 +2727,7 @@
2472
2727
  "content": [
2473
2728
  {
2474
2729
  "kind": "text",
2475
- "text": "True if the object is defined, false otherwise"
2730
+ "text": "False if the object is null/undefined, true otherwise"
2476
2731
  }
2477
2732
  ]
2478
2733
  }
@@ -2480,7 +2735,7 @@
2480
2735
  },
2481
2736
  "typeParameter": [
2482
2737
  {
2483
- "id": 109,
2738
+ "id": 124,
2484
2739
  "name": "T",
2485
2740
  "kind": 131072,
2486
2741
  "kindString": "Type parameter",
@@ -2489,7 +2744,7 @@
2489
2744
  ],
2490
2745
  "parameters": [
2491
2746
  {
2492
- "id": 110,
2747
+ "id": 125,
2493
2748
  "name": "x",
2494
2749
  "kind": 32768,
2495
2750
  "kindString": "Parameter",
@@ -2500,7 +2755,7 @@
2500
2755
  "summary": [
2501
2756
  {
2502
2757
  "kind": "text",
2503
- "text": "The object which is potentially undefined"
2758
+ "text": "The object which is potentially undefined or null"
2504
2759
  }
2505
2760
  ]
2506
2761
  },
@@ -2513,7 +2768,7 @@
2513
2768
  },
2514
2769
  {
2515
2770
  "type": "reference",
2516
- "id": 109,
2771
+ "id": 124,
2517
2772
  "name": "T"
2518
2773
  }
2519
2774
  ]
@@ -2526,7 +2781,7 @@
2526
2781
  "asserts": false,
2527
2782
  "targetType": {
2528
2783
  "type": "reference",
2529
- "id": 109,
2784
+ "id": 124,
2530
2785
  "name": "T"
2531
2786
  }
2532
2787
  }
@@ -2534,7 +2789,7 @@
2534
2789
  ]
2535
2790
  },
2536
2791
  {
2537
- "id": 111,
2792
+ "id": 126,
2538
2793
  "name": "forget",
2539
2794
  "kind": 64,
2540
2795
  "kindString": "Function",
@@ -2548,14 +2803,14 @@
2548
2803
  ],
2549
2804
  "signatures": [
2550
2805
  {
2551
- "id": 112,
2806
+ "id": 127,
2552
2807
  "name": "forget",
2553
2808
  "kind": 4096,
2554
2809
  "kindString": "Call signature",
2555
2810
  "flags": {},
2556
2811
  "parameters": [
2557
2812
  {
2558
- "id": 113,
2813
+ "id": 128,
2559
2814
  "name": "promise",
2560
2815
  "kind": 32768,
2561
2816
  "kindString": "Parameter",
@@ -2574,7 +2829,7 @@
2574
2829
  }
2575
2830
  },
2576
2831
  {
2577
- "id": 114,
2832
+ "id": 129,
2578
2833
  "name": "timeout",
2579
2834
  "kind": 32768,
2580
2835
  "kindString": "Parameter",
@@ -2636,7 +2891,7 @@
2636
2891
  ]
2637
2892
  },
2638
2893
  {
2639
- "id": 68,
2894
+ "id": 83,
2640
2895
  "name": "isEthAddress",
2641
2896
  "kind": 64,
2642
2897
  "kindString": "Function",
@@ -2650,14 +2905,14 @@
2650
2905
  ],
2651
2906
  "signatures": [
2652
2907
  {
2653
- "id": 69,
2908
+ "id": 84,
2654
2909
  "name": "isEthAddress",
2655
2910
  "kind": 4096,
2656
2911
  "kindString": "Call signature",
2657
2912
  "flags": {},
2658
2913
  "parameters": [
2659
2914
  {
2660
- "id": 70,
2915
+ "id": 85,
2661
2916
  "name": "obj",
2662
2917
  "kind": 32768,
2663
2918
  "kindString": "Parameter",
@@ -2665,14 +2920,14 @@
2665
2920
  "type": {
2666
2921
  "type": "reflection",
2667
2922
  "declaration": {
2668
- "id": 71,
2923
+ "id": 86,
2669
2924
  "name": "__type",
2670
2925
  "kind": 65536,
2671
2926
  "kindString": "Type literal",
2672
2927
  "flags": {},
2673
2928
  "children": [
2674
2929
  {
2675
- "id": 72,
2930
+ "id": 87,
2676
2931
  "name": "type",
2677
2932
  "kind": 1024,
2678
2933
  "kindString": "Property",
@@ -2694,7 +2949,7 @@
2694
2949
  {
2695
2950
  "title": "Properties",
2696
2951
  "children": [
2697
- 72
2952
+ 87
2698
2953
  ]
2699
2954
  }
2700
2955
  ],
@@ -2717,7 +2972,7 @@
2717
2972
  ]
2718
2973
  },
2719
2974
  {
2720
- "id": 103,
2975
+ "id": 118,
2721
2976
  "name": "padHex",
2722
2977
  "kind": 64,
2723
2978
  "kindString": "Function",
@@ -2731,14 +2986,14 @@
2731
2986
  ],
2732
2987
  "signatures": [
2733
2988
  {
2734
- "id": 104,
2989
+ "id": 119,
2735
2990
  "name": "padHex",
2736
2991
  "kind": 4096,
2737
2992
  "kindString": "Call signature",
2738
2993
  "flags": {},
2739
2994
  "parameters": [
2740
2995
  {
2741
- "id": 105,
2996
+ "id": 120,
2742
2997
  "name": "hex",
2743
2998
  "kind": 32768,
2744
2999
  "kindString": "Parameter",
@@ -2749,7 +3004,7 @@
2749
3004
  }
2750
3005
  },
2751
3006
  {
2752
- "id": 106,
3007
+ "id": 121,
2753
3008
  "name": "byteCount",
2754
3009
  "kind": 32768,
2755
3010
  "kindString": "Parameter",
@@ -2782,21 +3037,22 @@
2782
3037
  "children": [
2783
3038
  7,
2784
3039
  21,
2785
- 73,
2786
- 115,
2787
- 134
3040
+ 88,
3041
+ 130,
3042
+ 149
2788
3043
  ]
2789
3044
  },
2790
3045
  {
2791
3046
  "title": "Interfaces",
2792
3047
  "children": [
2793
3048
  16,
2794
- 129
3049
+ 144
2795
3050
  ]
2796
3051
  },
2797
3052
  {
2798
3053
  "title": "Type Aliases",
2799
3054
  "children": [
3055
+ 56,
2800
3056
  51,
2801
3057
  1,
2802
3058
  4
@@ -2805,14 +3061,14 @@
2805
3061
  {
2806
3062
  "title": "Functions",
2807
3063
  "children": [
2808
- 56,
2809
- 61,
2810
- 64,
2811
- 107,
2812
- 111,
3064
+ 62,
3065
+ 76,
3066
+ 79,
3067
+ 122,
3068
+ 126,
2813
3069
  48,
2814
- 68,
2815
- 103
3070
+ 83,
3071
+ 118
2816
3072
  ]
2817
3073
  }
2818
3074
  ],
@@ -2821,7 +3077,7 @@
2821
3077
  "fileName": "src/index.ts",
2822
3078
  "line": 1,
2823
3079
  "character": 0,
2824
- "url": "https://github.com/xylabs/sdk-js/blob/09e8e07/src/index.ts#L1"
3080
+ "url": "https://github.com/xylabs/sdk-js/blob/9ad4029/src/index.ts#L1"
2825
3081
  }
2826
3082
  ]
2827
3083
  }