@genesislcap/foundation-comms 15.83.0 → 15.84.1

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 (49) hide show
  1. package/dist/dts/connect/connect.d.ts +22 -10
  2. package/dist/dts/connect/connect.d.ts.map +1 -1
  3. package/dist/dts/connect/connect.errors.d.ts +120 -0
  4. package/dist/dts/connect/connect.errors.d.ts.map +1 -0
  5. package/dist/dts/connect/connect.types.d.ts +27 -0
  6. package/dist/dts/connect/connect.types.d.ts.map +1 -1
  7. package/dist/dts/connect/errorCodes.d.ts +6 -0
  8. package/dist/dts/connect/errorCodes.d.ts.map +1 -0
  9. package/dist/dts/connect/http.connect.d.ts +14 -5
  10. package/dist/dts/connect/http.connect.d.ts.map +1 -1
  11. package/dist/dts/connect/http.d.ts +1 -0
  12. package/dist/dts/connect/http.d.ts.map +1 -1
  13. package/dist/dts/connect/httpTransport.d.ts +12 -6
  14. package/dist/dts/connect/httpTransport.d.ts.map +1 -1
  15. package/dist/dts/connect/index.d.ts +1 -0
  16. package/dist/dts/connect/index.d.ts.map +1 -1
  17. package/dist/dts/connect/message.d.ts +18 -1
  18. package/dist/dts/connect/message.d.ts.map +1 -1
  19. package/dist/dts/connect/networkFailure.d.ts +7 -0
  20. package/dist/dts/connect/networkFailure.d.ts.map +1 -0
  21. package/dist/dts/connect/reconnectStrategy.d.ts +2 -1
  22. package/dist/dts/connect/reconnectStrategy.d.ts.map +1 -1
  23. package/dist/dts/connect/requestLifecycle.d.ts +23 -0
  24. package/dist/dts/connect/requestLifecycle.d.ts.map +1 -0
  25. package/dist/dts/connect/socket.d.ts +14 -3
  26. package/dist/dts/connect/socket.d.ts.map +1 -1
  27. package/dist/dts/connect/socket.types.d.ts +5 -0
  28. package/dist/dts/connect/socket.types.d.ts.map +1 -1
  29. package/dist/dts/datasource/datasource.d.ts +6 -0
  30. package/dist/dts/datasource/datasource.d.ts.map +1 -1
  31. package/dist/dts/utils/error-code.d.ts +2 -1
  32. package/dist/dts/utils/error-code.d.ts.map +1 -1
  33. package/dist/esm/connect/connect.errors.js +192 -0
  34. package/dist/esm/connect/connect.js +56 -28
  35. package/dist/esm/connect/errorCodes.js +20 -0
  36. package/dist/esm/connect/http.connect.js +166 -74
  37. package/dist/esm/connect/http.js +22 -9
  38. package/dist/esm/connect/httpTransport.js +35 -12
  39. package/dist/esm/connect/index.js +1 -0
  40. package/dist/esm/connect/message.js +6 -1
  41. package/dist/esm/connect/networkFailure.js +12 -0
  42. package/dist/esm/connect/reconnectStrategy.js +4 -3
  43. package/dist/esm/connect/requestLifecycle.js +96 -0
  44. package/dist/esm/connect/socket.js +74 -37
  45. package/dist/esm/datasource/datasource.js +75 -22
  46. package/dist/esm/utils/error-code.js +6 -2
  47. package/dist/foundation-comms.api.json +1573 -35
  48. package/dist/foundation-comms.d.ts +244 -24
  49. package/package.json +12 -12
@@ -1353,6 +1353,65 @@
1353
1353
  "endIndex": 4
1354
1354
  }
1355
1355
  },
1356
+ {
1357
+ "kind": "Interface",
1358
+ "canonicalReference": "@genesislcap/foundation-comms!CommitEventOptions:interface",
1359
+ "docComment": "/**\n * Options for `Connect.commitEvent`.\n *\n * @public\n */\n",
1360
+ "excerptTokens": [
1361
+ {
1362
+ "kind": "Content",
1363
+ "text": "export interface CommitEventOptions extends "
1364
+ },
1365
+ {
1366
+ "kind": "Reference",
1367
+ "text": "ConnectRequestOptions",
1368
+ "canonicalReference": "@genesislcap/foundation-comms!ConnectRequestOptions:interface"
1369
+ },
1370
+ {
1371
+ "kind": "Content",
1372
+ "text": " "
1373
+ }
1374
+ ],
1375
+ "fileUrlPath": "src/connect/connect.types.ts",
1376
+ "releaseTag": "Public",
1377
+ "name": "CommitEventOptions",
1378
+ "preserveMemberOrder": false,
1379
+ "members": [
1380
+ {
1381
+ "kind": "PropertySignature",
1382
+ "canonicalReference": "@genesislcap/foundation-comms!CommitEventOptions#rejectEventNack:member",
1383
+ "docComment": "/**\n * Reject with a `ConnectNackError` when the server replies with an `EVENT_NACK`, instead of resolving with it. Default: false.\n */\n",
1384
+ "excerptTokens": [
1385
+ {
1386
+ "kind": "Content",
1387
+ "text": "rejectEventNack?: "
1388
+ },
1389
+ {
1390
+ "kind": "Content",
1391
+ "text": "boolean"
1392
+ },
1393
+ {
1394
+ "kind": "Content",
1395
+ "text": ";"
1396
+ }
1397
+ ],
1398
+ "isReadonly": false,
1399
+ "isOptional": true,
1400
+ "releaseTag": "Public",
1401
+ "name": "rejectEventNack",
1402
+ "propertyTypeTokenRange": {
1403
+ "startIndex": 1,
1404
+ "endIndex": 2
1405
+ }
1406
+ }
1407
+ ],
1408
+ "extendsTokenRanges": [
1409
+ {
1410
+ "startIndex": 1,
1411
+ "endIndex": 2
1412
+ }
1413
+ ]
1414
+ },
1356
1415
  {
1357
1416
  "kind": "Variable",
1358
1417
  "canonicalReference": "@genesislcap/foundation-comms!CommitEventType:var",
@@ -1664,7 +1723,7 @@
1664
1723
  {
1665
1724
  "kind": "MethodSignature",
1666
1725
  "canonicalReference": "@genesislcap/foundation-comms!Connect#commitEvent:member(1)",
1667
- "docComment": "/**\n * Sends a request to the server to retrieve data or perform an action.\n *\n * @param resourceName - The name of the resource to request.\n *\n * @param params - An object containing optional parameters to include in the request.\n *\n * @returns A promise that resolves to a Message containing the server's response.\n *\n * @public\n */\n",
1726
+ "docComment": "/**\n * Sends a request to the server to retrieve data or perform an action.\n *\n * @param resourceName - The name of the resource to request.\n *\n * @param params - An object containing optional parameters to include in the request.\n *\n * @param options - Timeout and abort signal for the reply, and whether an `EVENT_NACK` rejects.\n *\n * @returns A promise that resolves to a Message containing the server's response.\n *\n * @public\n */\n",
1668
1727
  "excerptTokens": [
1669
1728
  {
1670
1729
  "kind": "Content",
@@ -1683,6 +1742,15 @@
1683
1742
  "text": "CommitParams",
1684
1743
  "canonicalReference": "@genesislcap/foundation-comms!CommitParams:type"
1685
1744
  },
1745
+ {
1746
+ "kind": "Content",
1747
+ "text": ", options?: "
1748
+ },
1749
+ {
1750
+ "kind": "Reference",
1751
+ "text": "CommitEventOptions",
1752
+ "canonicalReference": "@genesislcap/foundation-comms!CommitEventOptions:interface"
1753
+ },
1686
1754
  {
1687
1755
  "kind": "Content",
1688
1756
  "text": "): "
@@ -1712,8 +1780,8 @@
1712
1780
  ],
1713
1781
  "isOptional": false,
1714
1782
  "returnTypeTokenRange": {
1715
- "startIndex": 5,
1716
- "endIndex": 9
1783
+ "startIndex": 7,
1784
+ "endIndex": 11
1717
1785
  },
1718
1786
  "releaseTag": "Public",
1719
1787
  "overloadIndex": 1,
@@ -1733,6 +1801,14 @@
1733
1801
  "endIndex": 4
1734
1802
  },
1735
1803
  "isOptional": true
1804
+ },
1805
+ {
1806
+ "parameterName": "options",
1807
+ "parameterTypeTokenRange": {
1808
+ "startIndex": 5,
1809
+ "endIndex": 6
1810
+ },
1811
+ "isOptional": true
1736
1812
  }
1737
1813
  ],
1738
1814
  "name": "commitEvent"
@@ -2012,7 +2088,7 @@
2012
2088
  {
2013
2089
  "kind": "MethodSignature",
2014
2090
  "canonicalReference": "@genesislcap/foundation-comms!Connect#getMetadata:member(1)",
2015
- "docComment": "/**\n * Retrieves the metadata for the specified resource.\n *\n * @param resourceName - The name of the resource to retrieve the metadata for.\n *\n * @param useCache - Whether to use the cached metadata if available. Default: true.\n *\n * @returns A promise that resolves with the metadata.\n *\n * @public\n */\n",
2091
+ "docComment": "/**\n * Retrieves the metadata for the specified resource.\n *\n * @param resourceName - The name of the resource to retrieve the metadata for.\n *\n * @param useCache - Whether to use the cached metadata if available. Default: true.\n *\n * @param options - Timeout and abort signal for the reply.\n *\n * @returns A promise that resolves with the metadata.\n *\n * @public\n */\n",
2016
2092
  "excerptTokens": [
2017
2093
  {
2018
2094
  "kind": "Content",
@@ -2030,6 +2106,15 @@
2030
2106
  "kind": "Content",
2031
2107
  "text": "boolean"
2032
2108
  },
2109
+ {
2110
+ "kind": "Content",
2111
+ "text": ", options?: "
2112
+ },
2113
+ {
2114
+ "kind": "Reference",
2115
+ "text": "ConnectRequestOptions",
2116
+ "canonicalReference": "@genesislcap/foundation-comms!ConnectRequestOptions:interface"
2117
+ },
2033
2118
  {
2034
2119
  "kind": "Content",
2035
2120
  "text": "): "
@@ -2059,8 +2144,8 @@
2059
2144
  ],
2060
2145
  "isOptional": false,
2061
2146
  "returnTypeTokenRange": {
2062
- "startIndex": 5,
2063
- "endIndex": 9
2147
+ "startIndex": 7,
2148
+ "endIndex": 11
2064
2149
  },
2065
2150
  "releaseTag": "Public",
2066
2151
  "overloadIndex": 1,
@@ -2080,6 +2165,14 @@
2080
2165
  "endIndex": 4
2081
2166
  },
2082
2167
  "isOptional": true
2168
+ },
2169
+ {
2170
+ "parameterName": "options",
2171
+ "parameterTypeTokenRange": {
2172
+ "startIndex": 5,
2173
+ "endIndex": 6
2174
+ },
2175
+ "isOptional": true
2083
2176
  }
2084
2177
  ],
2085
2178
  "name": "getMetadata"
@@ -2366,7 +2459,7 @@
2366
2459
  {
2367
2460
  "kind": "MethodSignature",
2368
2461
  "canonicalReference": "@genesislcap/foundation-comms!Connect#request:member(1)",
2369
- "docComment": "/**\n * Sends a request to the server to retrieve data or perform an action.\n *\n * @param resourceName - The name of the resource to request.\n *\n * @param params - An object containing optional parameters to include in the request.\n *\n * @param useCache - Whether to return a cached response when one exists for the same `resourceName` + `params` combination, and cache the response when a fresh request is made. Default: false.\n *\n * @returns A promise that resolves to a Message containing the server's response.\n *\n * @public\n */\n",
2462
+ "docComment": "/**\n * Sends a request to the server to retrieve data or perform an action.\n *\n * @param resourceName - The name of the resource to request.\n *\n * @param params - An object containing optional parameters to include in the request.\n *\n * @param useCache - Whether to return a cached response when one exists for the same `resourceName` + `params` combination, and cache the response when a fresh request is made. Default: false.\n *\n * @param options - Timeout and abort signal for the reply.\n *\n * @returns A promise that resolves to a Message containing the server's response.\n *\n * @public\n */\n",
2370
2463
  "excerptTokens": [
2371
2464
  {
2372
2465
  "kind": "Content",
@@ -2393,6 +2486,15 @@
2393
2486
  "kind": "Content",
2394
2487
  "text": "boolean"
2395
2488
  },
2489
+ {
2490
+ "kind": "Content",
2491
+ "text": ", options?: "
2492
+ },
2493
+ {
2494
+ "kind": "Reference",
2495
+ "text": "ConnectRequestOptions",
2496
+ "canonicalReference": "@genesislcap/foundation-comms!ConnectRequestOptions:interface"
2497
+ },
2396
2498
  {
2397
2499
  "kind": "Content",
2398
2500
  "text": "): "
@@ -2422,8 +2524,8 @@
2422
2524
  ],
2423
2525
  "isOptional": false,
2424
2526
  "returnTypeTokenRange": {
2425
- "startIndex": 7,
2426
- "endIndex": 11
2527
+ "startIndex": 9,
2528
+ "endIndex": 13
2427
2529
  },
2428
2530
  "releaseTag": "Public",
2429
2531
  "overloadIndex": 1,
@@ -2451,6 +2553,14 @@
2451
2553
  "endIndex": 6
2452
2554
  },
2453
2555
  "isOptional": true
2556
+ },
2557
+ {
2558
+ "parameterName": "options",
2559
+ "parameterTypeTokenRange": {
2560
+ "startIndex": 7,
2561
+ "endIndex": 8
2562
+ },
2563
+ "isOptional": true
2454
2564
  }
2455
2565
  ],
2456
2566
  "name": "request"
@@ -2871,6 +2981,130 @@
2871
2981
  ],
2872
2982
  "extendsTokenRanges": []
2873
2983
  },
2984
+ {
2985
+ "kind": "Class",
2986
+ "canonicalReference": "@genesislcap/foundation-comms!ConnectAbortError:class",
2987
+ "docComment": "/**\n * The request's `AbortSignal` aborted before a reply arrived.\n *\n * @public\n */\n",
2988
+ "excerptTokens": [
2989
+ {
2990
+ "kind": "Content",
2991
+ "text": "export declare class ConnectAbortError extends "
2992
+ },
2993
+ {
2994
+ "kind": "Reference",
2995
+ "text": "ConnectError",
2996
+ "canonicalReference": "@genesislcap/foundation-comms!ConnectError:class"
2997
+ },
2998
+ {
2999
+ "kind": "Content",
3000
+ "text": " "
3001
+ }
3002
+ ],
3003
+ "fileUrlPath": "src/connect/connect.errors.ts",
3004
+ "releaseTag": "Public",
3005
+ "isAbstract": false,
3006
+ "name": "ConnectAbortError",
3007
+ "preserveMemberOrder": false,
3008
+ "members": [
3009
+ {
3010
+ "kind": "Constructor",
3011
+ "canonicalReference": "@genesislcap/foundation-comms!ConnectAbortError:constructor(1)",
3012
+ "docComment": "/**\n * Constructs a new instance of the `ConnectAbortError` class\n */\n",
3013
+ "excerptTokens": [
3014
+ {
3015
+ "kind": "Content",
3016
+ "text": "constructor(\n reason?: "
3017
+ },
3018
+ {
3019
+ "kind": "Content",
3020
+ "text": "unknown"
3021
+ },
3022
+ {
3023
+ "kind": "Content",
3024
+ "text": ");"
3025
+ }
3026
+ ],
3027
+ "releaseTag": "Public",
3028
+ "isProtected": false,
3029
+ "overloadIndex": 1,
3030
+ "parameters": [
3031
+ {
3032
+ "parameterName": "reason",
3033
+ "parameterTypeTokenRange": {
3034
+ "startIndex": 1,
3035
+ "endIndex": 2
3036
+ },
3037
+ "isOptional": true
3038
+ }
3039
+ ]
3040
+ },
3041
+ {
3042
+ "kind": "Property",
3043
+ "canonicalReference": "@genesislcap/foundation-comms!ConnectAbortError#kind:member",
3044
+ "docComment": "",
3045
+ "excerptTokens": [
3046
+ {
3047
+ "kind": "Content",
3048
+ "text": "get kind(): "
3049
+ },
3050
+ {
3051
+ "kind": "Content",
3052
+ "text": "'abort'"
3053
+ },
3054
+ {
3055
+ "kind": "Content",
3056
+ "text": ";"
3057
+ }
3058
+ ],
3059
+ "isReadonly": true,
3060
+ "isOptional": false,
3061
+ "releaseTag": "Public",
3062
+ "name": "kind",
3063
+ "propertyTypeTokenRange": {
3064
+ "startIndex": 1,
3065
+ "endIndex": 2
3066
+ },
3067
+ "isStatic": false,
3068
+ "isProtected": false,
3069
+ "isAbstract": false
3070
+ },
3071
+ {
3072
+ "kind": "Property",
3073
+ "canonicalReference": "@genesislcap/foundation-comms!ConnectAbortError#reason:member",
3074
+ "docComment": "/**\n * The signal's abort reason.\n */\n",
3075
+ "excerptTokens": [
3076
+ {
3077
+ "kind": "Content",
3078
+ "text": "readonly reason?: "
3079
+ },
3080
+ {
3081
+ "kind": "Content",
3082
+ "text": "unknown"
3083
+ },
3084
+ {
3085
+ "kind": "Content",
3086
+ "text": ";"
3087
+ }
3088
+ ],
3089
+ "isReadonly": true,
3090
+ "isOptional": true,
3091
+ "releaseTag": "Public",
3092
+ "name": "reason",
3093
+ "propertyTypeTokenRange": {
3094
+ "startIndex": 1,
3095
+ "endIndex": 2
3096
+ },
3097
+ "isStatic": false,
3098
+ "isProtected": false,
3099
+ "isAbstract": false
3100
+ }
3101
+ ],
3102
+ "extendsTokenRange": {
3103
+ "startIndex": 1,
3104
+ "endIndex": 2
3105
+ },
3106
+ "implementsTokenRanges": []
3107
+ },
2874
3108
  {
2875
3109
  "kind": "Interface",
2876
3110
  "canonicalReference": "@genesislcap/foundation-comms!ConnectConfig:interface",
@@ -2973,6 +3207,173 @@
2973
3207
  ],
2974
3208
  "extendsTokenRanges": []
2975
3209
  },
3210
+ {
3211
+ "kind": "Class",
3212
+ "canonicalReference": "@genesislcap/foundation-comms!ConnectError:class",
3213
+ "docComment": "/**\n * Base class of the errors Connect rejects with. Narrow with `instanceof` on a subclass or by `kind`.\n *\n * @public\n */\n",
3214
+ "excerptTokens": [
3215
+ {
3216
+ "kind": "Content",
3217
+ "text": "export declare abstract class ConnectError extends "
3218
+ },
3219
+ {
3220
+ "kind": "Reference",
3221
+ "text": "Error",
3222
+ "canonicalReference": "!Error:interface"
3223
+ },
3224
+ {
3225
+ "kind": "Content",
3226
+ "text": " "
3227
+ }
3228
+ ],
3229
+ "fileUrlPath": "src/connect/connect.errors.ts",
3230
+ "releaseTag": "Public",
3231
+ "isAbstract": true,
3232
+ "name": "ConnectError",
3233
+ "preserveMemberOrder": false,
3234
+ "members": [
3235
+ {
3236
+ "kind": "Constructor",
3237
+ "canonicalReference": "@genesislcap/foundation-comms!ConnectError:constructor(1)",
3238
+ "docComment": "/**\n * Constructs a new instance of the `ConnectError` class\n */\n",
3239
+ "excerptTokens": [
3240
+ {
3241
+ "kind": "Content",
3242
+ "text": "protected constructor(message: "
3243
+ },
3244
+ {
3245
+ "kind": "Content",
3246
+ "text": "string"
3247
+ },
3248
+ {
3249
+ "kind": "Content",
3250
+ "text": ", cause?: "
3251
+ },
3252
+ {
3253
+ "kind": "Content",
3254
+ "text": "unknown"
3255
+ },
3256
+ {
3257
+ "kind": "Content",
3258
+ "text": ");"
3259
+ }
3260
+ ],
3261
+ "releaseTag": "Public",
3262
+ "isProtected": true,
3263
+ "overloadIndex": 1,
3264
+ "parameters": [
3265
+ {
3266
+ "parameterName": "message",
3267
+ "parameterTypeTokenRange": {
3268
+ "startIndex": 1,
3269
+ "endIndex": 2
3270
+ },
3271
+ "isOptional": false
3272
+ },
3273
+ {
3274
+ "parameterName": "cause",
3275
+ "parameterTypeTokenRange": {
3276
+ "startIndex": 3,
3277
+ "endIndex": 4
3278
+ },
3279
+ "isOptional": true
3280
+ }
3281
+ ]
3282
+ },
3283
+ {
3284
+ "kind": "Property",
3285
+ "canonicalReference": "@genesislcap/foundation-comms!ConnectError#cause:member",
3286
+ "docComment": "/**\n * The underlying error, when there is one.\n */\n",
3287
+ "excerptTokens": [
3288
+ {
3289
+ "kind": "Content",
3290
+ "text": "readonly cause?: "
3291
+ },
3292
+ {
3293
+ "kind": "Content",
3294
+ "text": "unknown"
3295
+ },
3296
+ {
3297
+ "kind": "Content",
3298
+ "text": ";"
3299
+ }
3300
+ ],
3301
+ "isReadonly": true,
3302
+ "isOptional": true,
3303
+ "releaseTag": "Public",
3304
+ "name": "cause",
3305
+ "propertyTypeTokenRange": {
3306
+ "startIndex": 1,
3307
+ "endIndex": 2
3308
+ },
3309
+ "isStatic": false,
3310
+ "isProtected": false,
3311
+ "isAbstract": false
3312
+ },
3313
+ {
3314
+ "kind": "Property",
3315
+ "canonicalReference": "@genesislcap/foundation-comms!ConnectError#kind:member",
3316
+ "docComment": "/**\n * What went wrong.\n */\n",
3317
+ "excerptTokens": [
3318
+ {
3319
+ "kind": "Content",
3320
+ "text": "abstract get kind(): "
3321
+ },
3322
+ {
3323
+ "kind": "Reference",
3324
+ "text": "ConnectErrorKind",
3325
+ "canonicalReference": "@genesislcap/foundation-comms!ConnectErrorKind:type"
3326
+ },
3327
+ {
3328
+ "kind": "Content",
3329
+ "text": ";"
3330
+ }
3331
+ ],
3332
+ "isReadonly": true,
3333
+ "isOptional": false,
3334
+ "releaseTag": "Public",
3335
+ "name": "kind",
3336
+ "propertyTypeTokenRange": {
3337
+ "startIndex": 1,
3338
+ "endIndex": 2
3339
+ },
3340
+ "isStatic": false,
3341
+ "isProtected": false,
3342
+ "isAbstract": true
3343
+ }
3344
+ ],
3345
+ "extendsTokenRange": {
3346
+ "startIndex": 1,
3347
+ "endIndex": 2
3348
+ },
3349
+ "implementsTokenRanges": []
3350
+ },
3351
+ {
3352
+ "kind": "TypeAlias",
3353
+ "canonicalReference": "@genesislcap/foundation-comms!ConnectErrorKind:type",
3354
+ "docComment": "/**\n * The kinds of {@link ConnectError}.\n *\n * @public\n */\n",
3355
+ "excerptTokens": [
3356
+ {
3357
+ "kind": "Content",
3358
+ "text": "export type ConnectErrorKind = "
3359
+ },
3360
+ {
3361
+ "kind": "Content",
3362
+ "text": "'nack' | 'transport' | 'http' | 'timeout' | 'abort'"
3363
+ },
3364
+ {
3365
+ "kind": "Content",
3366
+ "text": ";"
3367
+ }
3368
+ ],
3369
+ "fileUrlPath": "src/connect/connect.errors.ts",
3370
+ "releaseTag": "Public",
3371
+ "name": "ConnectErrorKind",
3372
+ "typeTokenRange": {
3373
+ "startIndex": 1,
3374
+ "endIndex": 2
3375
+ }
3376
+ },
2976
3377
  {
2977
3378
  "kind": "Interface",
2978
3379
  "canonicalReference": "@genesislcap/foundation-comms!ConnectEvents:interface",
@@ -3795,6 +4196,236 @@
3795
4196
  }
3796
4197
  ]
3797
4198
  },
4199
+ {
4200
+ "kind": "Class",
4201
+ "canonicalReference": "@genesislcap/foundation-comms!ConnectHttpError:class",
4202
+ "docComment": "/**\n * An HTTP request failed with a non-2xx status.\n *\n * @public\n */\n",
4203
+ "excerptTokens": [
4204
+ {
4205
+ "kind": "Content",
4206
+ "text": "export declare class ConnectHttpError extends "
4207
+ },
4208
+ {
4209
+ "kind": "Reference",
4210
+ "text": "ConnectError",
4211
+ "canonicalReference": "@genesislcap/foundation-comms!ConnectError:class"
4212
+ },
4213
+ {
4214
+ "kind": "Content",
4215
+ "text": " implements "
4216
+ },
4217
+ {
4218
+ "kind": "Reference",
4219
+ "text": "HttpError",
4220
+ "canonicalReference": "@genesislcap/foundation-comms!HttpError:interface"
4221
+ },
4222
+ {
4223
+ "kind": "Content",
4224
+ "text": " "
4225
+ }
4226
+ ],
4227
+ "fileUrlPath": "src/connect/connect.errors.ts",
4228
+ "releaseTag": "Public",
4229
+ "isAbstract": false,
4230
+ "name": "ConnectHttpError",
4231
+ "preserveMemberOrder": false,
4232
+ "members": [
4233
+ {
4234
+ "kind": "Constructor",
4235
+ "canonicalReference": "@genesislcap/foundation-comms!ConnectHttpError:constructor(1)",
4236
+ "docComment": "/**\n * Constructs a new instance of the `ConnectHttpError` class\n */\n",
4237
+ "excerptTokens": [
4238
+ {
4239
+ "kind": "Content",
4240
+ "text": "constructor(\n status: "
4241
+ },
4242
+ {
4243
+ "kind": "Content",
4244
+ "text": "number"
4245
+ },
4246
+ {
4247
+ "kind": "Content",
4248
+ "text": ", \n statusText?: "
4249
+ },
4250
+ {
4251
+ "kind": "Content",
4252
+ "text": "string"
4253
+ },
4254
+ {
4255
+ "kind": "Content",
4256
+ "text": ", \n body?: "
4257
+ },
4258
+ {
4259
+ "kind": "Content",
4260
+ "text": "unknown"
4261
+ },
4262
+ {
4263
+ "kind": "Content",
4264
+ "text": ");"
4265
+ }
4266
+ ],
4267
+ "releaseTag": "Public",
4268
+ "isProtected": false,
4269
+ "overloadIndex": 1,
4270
+ "parameters": [
4271
+ {
4272
+ "parameterName": "status",
4273
+ "parameterTypeTokenRange": {
4274
+ "startIndex": 1,
4275
+ "endIndex": 2
4276
+ },
4277
+ "isOptional": false
4278
+ },
4279
+ {
4280
+ "parameterName": "statusText",
4281
+ "parameterTypeTokenRange": {
4282
+ "startIndex": 3,
4283
+ "endIndex": 4
4284
+ },
4285
+ "isOptional": true
4286
+ },
4287
+ {
4288
+ "parameterName": "body",
4289
+ "parameterTypeTokenRange": {
4290
+ "startIndex": 5,
4291
+ "endIndex": 6
4292
+ },
4293
+ "isOptional": true
4294
+ }
4295
+ ]
4296
+ },
4297
+ {
4298
+ "kind": "Property",
4299
+ "canonicalReference": "@genesislcap/foundation-comms!ConnectHttpError#body:member",
4300
+ "docComment": "/**\n * The response body, parsed as JSON when it is JSON. It may hold a Genesis NACK.\n */\n",
4301
+ "excerptTokens": [
4302
+ {
4303
+ "kind": "Content",
4304
+ "text": "readonly body?: "
4305
+ },
4306
+ {
4307
+ "kind": "Content",
4308
+ "text": "unknown"
4309
+ },
4310
+ {
4311
+ "kind": "Content",
4312
+ "text": ";"
4313
+ }
4314
+ ],
4315
+ "isReadonly": true,
4316
+ "isOptional": true,
4317
+ "releaseTag": "Public",
4318
+ "name": "body",
4319
+ "propertyTypeTokenRange": {
4320
+ "startIndex": 1,
4321
+ "endIndex": 2
4322
+ },
4323
+ "isStatic": false,
4324
+ "isProtected": false,
4325
+ "isAbstract": false
4326
+ },
4327
+ {
4328
+ "kind": "Property",
4329
+ "canonicalReference": "@genesislcap/foundation-comms!ConnectHttpError#kind:member",
4330
+ "docComment": "",
4331
+ "excerptTokens": [
4332
+ {
4333
+ "kind": "Content",
4334
+ "text": "get kind(): "
4335
+ },
4336
+ {
4337
+ "kind": "Content",
4338
+ "text": "'http'"
4339
+ },
4340
+ {
4341
+ "kind": "Content",
4342
+ "text": ";"
4343
+ }
4344
+ ],
4345
+ "isReadonly": true,
4346
+ "isOptional": false,
4347
+ "releaseTag": "Public",
4348
+ "name": "kind",
4349
+ "propertyTypeTokenRange": {
4350
+ "startIndex": 1,
4351
+ "endIndex": 2
4352
+ },
4353
+ "isStatic": false,
4354
+ "isProtected": false,
4355
+ "isAbstract": false
4356
+ },
4357
+ {
4358
+ "kind": "Property",
4359
+ "canonicalReference": "@genesislcap/foundation-comms!ConnectHttpError#status:member",
4360
+ "docComment": "/**\n * The HTTP status code.\n */\n",
4361
+ "excerptTokens": [
4362
+ {
4363
+ "kind": "Content",
4364
+ "text": "readonly status: "
4365
+ },
4366
+ {
4367
+ "kind": "Content",
4368
+ "text": "number"
4369
+ },
4370
+ {
4371
+ "kind": "Content",
4372
+ "text": ";"
4373
+ }
4374
+ ],
4375
+ "isReadonly": true,
4376
+ "isOptional": false,
4377
+ "releaseTag": "Public",
4378
+ "name": "status",
4379
+ "propertyTypeTokenRange": {
4380
+ "startIndex": 1,
4381
+ "endIndex": 2
4382
+ },
4383
+ "isStatic": false,
4384
+ "isProtected": false,
4385
+ "isAbstract": false
4386
+ },
4387
+ {
4388
+ "kind": "Property",
4389
+ "canonicalReference": "@genesislcap/foundation-comms!ConnectHttpError#statusText:member",
4390
+ "docComment": "/**\n * The HTTP status text.\n */\n",
4391
+ "excerptTokens": [
4392
+ {
4393
+ "kind": "Content",
4394
+ "text": "readonly statusText: "
4395
+ },
4396
+ {
4397
+ "kind": "Content",
4398
+ "text": "string"
4399
+ },
4400
+ {
4401
+ "kind": "Content",
4402
+ "text": ";"
4403
+ }
4404
+ ],
4405
+ "isReadonly": true,
4406
+ "isOptional": false,
4407
+ "releaseTag": "Public",
4408
+ "name": "statusText",
4409
+ "propertyTypeTokenRange": {
4410
+ "startIndex": 1,
4411
+ "endIndex": 2
4412
+ },
4413
+ "isStatic": false,
4414
+ "isProtected": false,
4415
+ "isAbstract": false
4416
+ }
4417
+ ],
4418
+ "extendsTokenRange": {
4419
+ "startIndex": 1,
4420
+ "endIndex": 2
4421
+ },
4422
+ "implementsTokenRanges": [
4423
+ {
4424
+ "startIndex": 3,
4425
+ "endIndex": 4
4426
+ }
4427
+ ]
4428
+ },
3798
4429
  {
3799
4430
  "kind": "TypeAlias",
3800
4431
  "canonicalReference": "@genesislcap/foundation-comms!ConnectionStatus:type",
@@ -3821,6 +4452,677 @@
3821
4452
  "endIndex": 2
3822
4453
  }
3823
4454
  },
4455
+ {
4456
+ "kind": "Class",
4457
+ "canonicalReference": "@genesislcap/foundation-comms!ConnectNackError:class",
4458
+ "docComment": "/**\n * The server rejected the request with a NACK.\n *\n * @remarks\n *\n * Keeps `receivedMessage` and `sentMessage`, the shape Connect rejected NACKs with before.\n *\n * @public\n */\n",
4459
+ "excerptTokens": [
4460
+ {
4461
+ "kind": "Content",
4462
+ "text": "export declare class ConnectNackError extends "
4463
+ },
4464
+ {
4465
+ "kind": "Reference",
4466
+ "text": "ConnectError",
4467
+ "canonicalReference": "@genesislcap/foundation-comms!ConnectError:class"
4468
+ },
4469
+ {
4470
+ "kind": "Content",
4471
+ "text": " "
4472
+ }
4473
+ ],
4474
+ "fileUrlPath": "src/connect/connect.errors.ts",
4475
+ "releaseTag": "Public",
4476
+ "isAbstract": false,
4477
+ "name": "ConnectNackError",
4478
+ "preserveMemberOrder": false,
4479
+ "members": [
4480
+ {
4481
+ "kind": "Constructor",
4482
+ "canonicalReference": "@genesislcap/foundation-comms!ConnectNackError:constructor(1)",
4483
+ "docComment": "/**\n * Constructs a new instance of the `ConnectNackError` class\n */\n",
4484
+ "excerptTokens": [
4485
+ {
4486
+ "kind": "Content",
4487
+ "text": "constructor(\n receivedMessage: "
4488
+ },
4489
+ {
4490
+ "kind": "Reference",
4491
+ "text": "Message",
4492
+ "canonicalReference": "@genesislcap/foundation-comms!Message:type"
4493
+ },
4494
+ {
4495
+ "kind": "Content",
4496
+ "text": ", \n sentMessage?: "
4497
+ },
4498
+ {
4499
+ "kind": "Reference",
4500
+ "text": "Message",
4501
+ "canonicalReference": "@genesislcap/foundation-comms!Message:type"
4502
+ },
4503
+ {
4504
+ "kind": "Content",
4505
+ "text": ");"
4506
+ }
4507
+ ],
4508
+ "releaseTag": "Public",
4509
+ "isProtected": false,
4510
+ "overloadIndex": 1,
4511
+ "parameters": [
4512
+ {
4513
+ "parameterName": "receivedMessage",
4514
+ "parameterTypeTokenRange": {
4515
+ "startIndex": 1,
4516
+ "endIndex": 2
4517
+ },
4518
+ "isOptional": false
4519
+ },
4520
+ {
4521
+ "parameterName": "sentMessage",
4522
+ "parameterTypeTokenRange": {
4523
+ "startIndex": 3,
4524
+ "endIndex": 4
4525
+ },
4526
+ "isOptional": true
4527
+ }
4528
+ ]
4529
+ },
4530
+ {
4531
+ "kind": "Property",
4532
+ "canonicalReference": "@genesislcap/foundation-comms!ConnectNackError#code:member",
4533
+ "docComment": "/**\n * The `CODE` of the first `ERROR` entry.\n */\n",
4534
+ "excerptTokens": [
4535
+ {
4536
+ "kind": "Content",
4537
+ "text": "get code(): "
4538
+ },
4539
+ {
4540
+ "kind": "Content",
4541
+ "text": "string | undefined"
4542
+ },
4543
+ {
4544
+ "kind": "Content",
4545
+ "text": ";"
4546
+ }
4547
+ ],
4548
+ "isReadonly": true,
4549
+ "isOptional": false,
4550
+ "releaseTag": "Public",
4551
+ "name": "code",
4552
+ "propertyTypeTokenRange": {
4553
+ "startIndex": 1,
4554
+ "endIndex": 2
4555
+ },
4556
+ "isStatic": false,
4557
+ "isProtected": false,
4558
+ "isAbstract": false
4559
+ },
4560
+ {
4561
+ "kind": "Property",
4562
+ "canonicalReference": "@genesislcap/foundation-comms!ConnectNackError#errors:member",
4563
+ "docComment": "/**\n * The NACK's `ERROR` entries.\n */\n",
4564
+ "excerptTokens": [
4565
+ {
4566
+ "kind": "Content",
4567
+ "text": "get errors(): "
4568
+ },
4569
+ {
4570
+ "kind": "Reference",
4571
+ "text": "MessageError",
4572
+ "canonicalReference": "@genesislcap/foundation-comms!MessageError:type"
4573
+ },
4574
+ {
4575
+ "kind": "Content",
4576
+ "text": "[]"
4577
+ },
4578
+ {
4579
+ "kind": "Content",
4580
+ "text": ";"
4581
+ }
4582
+ ],
4583
+ "isReadonly": true,
4584
+ "isOptional": false,
4585
+ "releaseTag": "Public",
4586
+ "name": "errors",
4587
+ "propertyTypeTokenRange": {
4588
+ "startIndex": 1,
4589
+ "endIndex": 3
4590
+ },
4591
+ "isStatic": false,
4592
+ "isProtected": false,
4593
+ "isAbstract": false
4594
+ },
4595
+ {
4596
+ "kind": "Property",
4597
+ "canonicalReference": "@genesislcap/foundation-comms!ConnectNackError#kind:member",
4598
+ "docComment": "",
4599
+ "excerptTokens": [
4600
+ {
4601
+ "kind": "Content",
4602
+ "text": "get kind(): "
4603
+ },
4604
+ {
4605
+ "kind": "Content",
4606
+ "text": "'nack'"
4607
+ },
4608
+ {
4609
+ "kind": "Content",
4610
+ "text": ";"
4611
+ }
4612
+ ],
4613
+ "isReadonly": true,
4614
+ "isOptional": false,
4615
+ "releaseTag": "Public",
4616
+ "name": "kind",
4617
+ "propertyTypeTokenRange": {
4618
+ "startIndex": 1,
4619
+ "endIndex": 2
4620
+ },
4621
+ "isStatic": false,
4622
+ "isProtected": false,
4623
+ "isAbstract": false
4624
+ },
4625
+ {
4626
+ "kind": "Property",
4627
+ "canonicalReference": "@genesislcap/foundation-comms!ConnectNackError#messageType:member",
4628
+ "docComment": "/**\n * The NACK's `MESSAGE_TYPE`: `MSG_NACK`, `LOGON_NACK`, `INVALID_INDEX_NACK`, or `EVENT_NACK` when `rejectEventNack` is set.\n */\n",
4629
+ "excerptTokens": [
4630
+ {
4631
+ "kind": "Content",
4632
+ "text": "get messageType(): "
4633
+ },
4634
+ {
4635
+ "kind": "Content",
4636
+ "text": "string | undefined"
4637
+ },
4638
+ {
4639
+ "kind": "Content",
4640
+ "text": ";"
4641
+ }
4642
+ ],
4643
+ "isReadonly": true,
4644
+ "isOptional": false,
4645
+ "releaseTag": "Public",
4646
+ "name": "messageType",
4647
+ "propertyTypeTokenRange": {
4648
+ "startIndex": 1,
4649
+ "endIndex": 2
4650
+ },
4651
+ "isStatic": false,
4652
+ "isProtected": false,
4653
+ "isAbstract": false
4654
+ },
4655
+ {
4656
+ "kind": "Property",
4657
+ "canonicalReference": "@genesislcap/foundation-comms!ConnectNackError#receivedMessage:member",
4658
+ "docComment": "/**\n * The NACK the server replied with.\n */\n",
4659
+ "excerptTokens": [
4660
+ {
4661
+ "kind": "Content",
4662
+ "text": "readonly receivedMessage: "
4663
+ },
4664
+ {
4665
+ "kind": "Reference",
4666
+ "text": "Message",
4667
+ "canonicalReference": "@genesislcap/foundation-comms!Message:type"
4668
+ },
4669
+ {
4670
+ "kind": "Content",
4671
+ "text": ";"
4672
+ }
4673
+ ],
4674
+ "isReadonly": true,
4675
+ "isOptional": false,
4676
+ "releaseTag": "Public",
4677
+ "name": "receivedMessage",
4678
+ "propertyTypeTokenRange": {
4679
+ "startIndex": 1,
4680
+ "endIndex": 2
4681
+ },
4682
+ "isStatic": false,
4683
+ "isProtected": false,
4684
+ "isAbstract": false
4685
+ },
4686
+ {
4687
+ "kind": "Property",
4688
+ "canonicalReference": "@genesislcap/foundation-comms!ConnectNackError#sentMessage:member",
4689
+ "docComment": "/**\n * The message that was NACKed.\n */\n",
4690
+ "excerptTokens": [
4691
+ {
4692
+ "kind": "Content",
4693
+ "text": "readonly sentMessage?: "
4694
+ },
4695
+ {
4696
+ "kind": "Reference",
4697
+ "text": "Message",
4698
+ "canonicalReference": "@genesislcap/foundation-comms!Message:type"
4699
+ },
4700
+ {
4701
+ "kind": "Content",
4702
+ "text": ";"
4703
+ }
4704
+ ],
4705
+ "isReadonly": true,
4706
+ "isOptional": true,
4707
+ "releaseTag": "Public",
4708
+ "name": "sentMessage",
4709
+ "propertyTypeTokenRange": {
4710
+ "startIndex": 1,
4711
+ "endIndex": 2
4712
+ },
4713
+ "isStatic": false,
4714
+ "isProtected": false,
4715
+ "isAbstract": false
4716
+ },
4717
+ {
4718
+ "kind": "Property",
4719
+ "canonicalReference": "@genesislcap/foundation-comms!ConnectNackError#warnings:member",
4720
+ "docComment": "/**\n * The NACK's `WARNING` entries.\n */\n",
4721
+ "excerptTokens": [
4722
+ {
4723
+ "kind": "Content",
4724
+ "text": "get warnings(): "
4725
+ },
4726
+ {
4727
+ "kind": "Reference",
4728
+ "text": "MessageError",
4729
+ "canonicalReference": "@genesislcap/foundation-comms!MessageError:type"
4730
+ },
4731
+ {
4732
+ "kind": "Content",
4733
+ "text": "[]"
4734
+ },
4735
+ {
4736
+ "kind": "Content",
4737
+ "text": ";"
4738
+ }
4739
+ ],
4740
+ "isReadonly": true,
4741
+ "isOptional": false,
4742
+ "releaseTag": "Public",
4743
+ "name": "warnings",
4744
+ "propertyTypeTokenRange": {
4745
+ "startIndex": 1,
4746
+ "endIndex": 3
4747
+ },
4748
+ "isStatic": false,
4749
+ "isProtected": false,
4750
+ "isAbstract": false
4751
+ }
4752
+ ],
4753
+ "extendsTokenRange": {
4754
+ "startIndex": 1,
4755
+ "endIndex": 2
4756
+ },
4757
+ "implementsTokenRanges": []
4758
+ },
4759
+ {
4760
+ "kind": "Interface",
4761
+ "canonicalReference": "@genesislcap/foundation-comms!ConnectRequestOptions:interface",
4762
+ "docComment": "/**\n * Options for a single request/reply call.\n *\n * @public\n */\n",
4763
+ "excerptTokens": [
4764
+ {
4765
+ "kind": "Content",
4766
+ "text": "export interface ConnectRequestOptions "
4767
+ }
4768
+ ],
4769
+ "fileUrlPath": "src/connect/connect.types.ts",
4770
+ "releaseTag": "Public",
4771
+ "name": "ConnectRequestOptions",
4772
+ "preserveMemberOrder": false,
4773
+ "members": [
4774
+ {
4775
+ "kind": "PropertySignature",
4776
+ "canonicalReference": "@genesislcap/foundation-comms!ConnectRequestOptions#signal:member",
4777
+ "docComment": "/**\n * Stops waiting for the reply when aborted, rejecting with a `ConnectAbortError`.\n */\n",
4778
+ "excerptTokens": [
4779
+ {
4780
+ "kind": "Content",
4781
+ "text": "signal?: "
4782
+ },
4783
+ {
4784
+ "kind": "Reference",
4785
+ "text": "AbortSignal",
4786
+ "canonicalReference": "!AbortSignal:interface"
4787
+ },
4788
+ {
4789
+ "kind": "Content",
4790
+ "text": ";"
4791
+ }
4792
+ ],
4793
+ "isReadonly": false,
4794
+ "isOptional": true,
4795
+ "releaseTag": "Public",
4796
+ "name": "signal",
4797
+ "propertyTypeTokenRange": {
4798
+ "startIndex": 1,
4799
+ "endIndex": 2
4800
+ }
4801
+ },
4802
+ {
4803
+ "kind": "PropertySignature",
4804
+ "canonicalReference": "@genesislcap/foundation-comms!ConnectRequestOptions#timeout:member",
4805
+ "docComment": "/**\n * Milliseconds to wait for the reply before rejecting with a `ConnectTimeoutError`. Overrides the `requestTimeout` connect option; `0` or a negative value waits indefinitely, and values above 2147483647 (about 24.8 days) are capped to it.\n */\n",
4806
+ "excerptTokens": [
4807
+ {
4808
+ "kind": "Content",
4809
+ "text": "timeout?: "
4810
+ },
4811
+ {
4812
+ "kind": "Content",
4813
+ "text": "number"
4814
+ },
4815
+ {
4816
+ "kind": "Content",
4817
+ "text": ";"
4818
+ }
4819
+ ],
4820
+ "isReadonly": false,
4821
+ "isOptional": true,
4822
+ "releaseTag": "Public",
4823
+ "name": "timeout",
4824
+ "propertyTypeTokenRange": {
4825
+ "startIndex": 1,
4826
+ "endIndex": 2
4827
+ }
4828
+ }
4829
+ ],
4830
+ "extendsTokenRanges": []
4831
+ },
4832
+ {
4833
+ "kind": "Class",
4834
+ "canonicalReference": "@genesislcap/foundation-comms!ConnectTimeoutError:class",
4835
+ "docComment": "/**\n * No reply arrived within the request's timeout.\n *\n * @public\n */\n",
4836
+ "excerptTokens": [
4837
+ {
4838
+ "kind": "Content",
4839
+ "text": "export declare class ConnectTimeoutError extends "
4840
+ },
4841
+ {
4842
+ "kind": "Reference",
4843
+ "text": "ConnectError",
4844
+ "canonicalReference": "@genesislcap/foundation-comms!ConnectError:class"
4845
+ },
4846
+ {
4847
+ "kind": "Content",
4848
+ "text": " "
4849
+ }
4850
+ ],
4851
+ "fileUrlPath": "src/connect/connect.errors.ts",
4852
+ "releaseTag": "Public",
4853
+ "isAbstract": false,
4854
+ "name": "ConnectTimeoutError",
4855
+ "preserveMemberOrder": false,
4856
+ "members": [
4857
+ {
4858
+ "kind": "Constructor",
4859
+ "canonicalReference": "@genesislcap/foundation-comms!ConnectTimeoutError:constructor(1)",
4860
+ "docComment": "/**\n * Constructs a new instance of the `ConnectTimeoutError` class\n */\n",
4861
+ "excerptTokens": [
4862
+ {
4863
+ "kind": "Content",
4864
+ "text": "constructor(\n timeout: "
4865
+ },
4866
+ {
4867
+ "kind": "Content",
4868
+ "text": "number"
4869
+ },
4870
+ {
4871
+ "kind": "Content",
4872
+ "text": ");"
4873
+ }
4874
+ ],
4875
+ "releaseTag": "Public",
4876
+ "isProtected": false,
4877
+ "overloadIndex": 1,
4878
+ "parameters": [
4879
+ {
4880
+ "parameterName": "timeout",
4881
+ "parameterTypeTokenRange": {
4882
+ "startIndex": 1,
4883
+ "endIndex": 2
4884
+ },
4885
+ "isOptional": false
4886
+ }
4887
+ ]
4888
+ },
4889
+ {
4890
+ "kind": "Property",
4891
+ "canonicalReference": "@genesislcap/foundation-comms!ConnectTimeoutError#kind:member",
4892
+ "docComment": "",
4893
+ "excerptTokens": [
4894
+ {
4895
+ "kind": "Content",
4896
+ "text": "get kind(): "
4897
+ },
4898
+ {
4899
+ "kind": "Content",
4900
+ "text": "'timeout'"
4901
+ },
4902
+ {
4903
+ "kind": "Content",
4904
+ "text": ";"
4905
+ }
4906
+ ],
4907
+ "isReadonly": true,
4908
+ "isOptional": false,
4909
+ "releaseTag": "Public",
4910
+ "name": "kind",
4911
+ "propertyTypeTokenRange": {
4912
+ "startIndex": 1,
4913
+ "endIndex": 2
4914
+ },
4915
+ "isStatic": false,
4916
+ "isProtected": false,
4917
+ "isAbstract": false
4918
+ },
4919
+ {
4920
+ "kind": "Property",
4921
+ "canonicalReference": "@genesislcap/foundation-comms!ConnectTimeoutError#timeout:member",
4922
+ "docComment": "/**\n * The timeout that elapsed, in milliseconds.\n */\n",
4923
+ "excerptTokens": [
4924
+ {
4925
+ "kind": "Content",
4926
+ "text": "readonly timeout: "
4927
+ },
4928
+ {
4929
+ "kind": "Content",
4930
+ "text": "number"
4931
+ },
4932
+ {
4933
+ "kind": "Content",
4934
+ "text": ";"
4935
+ }
4936
+ ],
4937
+ "isReadonly": true,
4938
+ "isOptional": false,
4939
+ "releaseTag": "Public",
4940
+ "name": "timeout",
4941
+ "propertyTypeTokenRange": {
4942
+ "startIndex": 1,
4943
+ "endIndex": 2
4944
+ },
4945
+ "isStatic": false,
4946
+ "isProtected": false,
4947
+ "isAbstract": false
4948
+ }
4949
+ ],
4950
+ "extendsTokenRange": {
4951
+ "startIndex": 1,
4952
+ "endIndex": 2
4953
+ },
4954
+ "implementsTokenRanges": []
4955
+ },
4956
+ {
4957
+ "kind": "Class",
4958
+ "canonicalReference": "@genesislcap/foundation-comms!ConnectTransportError:class",
4959
+ "docComment": "/**\n * The connection closed or failed before a reply arrived, or a network error stopped an HTTP request.\n *\n * @public\n */\n",
4960
+ "excerptTokens": [
4961
+ {
4962
+ "kind": "Content",
4963
+ "text": "export declare class ConnectTransportError extends "
4964
+ },
4965
+ {
4966
+ "kind": "Reference",
4967
+ "text": "ConnectError",
4968
+ "canonicalReference": "@genesislcap/foundation-comms!ConnectError:class"
4969
+ },
4970
+ {
4971
+ "kind": "Content",
4972
+ "text": " "
4973
+ }
4974
+ ],
4975
+ "fileUrlPath": "src/connect/connect.errors.ts",
4976
+ "releaseTag": "Public",
4977
+ "isAbstract": false,
4978
+ "name": "ConnectTransportError",
4979
+ "preserveMemberOrder": false,
4980
+ "members": [
4981
+ {
4982
+ "kind": "Constructor",
4983
+ "canonicalReference": "@genesislcap/foundation-comms!ConnectTransportError:constructor(1)",
4984
+ "docComment": "/**\n * Constructs a new instance of the `ConnectTransportError` class\n */\n",
4985
+ "excerptTokens": [
4986
+ {
4987
+ "kind": "Content",
4988
+ "text": "constructor(message: "
4989
+ },
4990
+ {
4991
+ "kind": "Content",
4992
+ "text": "string"
4993
+ },
4994
+ {
4995
+ "kind": "Content",
4996
+ "text": ", { closeCode, closeReason, cause, }?: "
4997
+ },
4998
+ {
4999
+ "kind": "Content",
5000
+ "text": "{\n closeCode?: number;\n closeReason?: string;\n cause?: unknown;\n }"
5001
+ },
5002
+ {
5003
+ "kind": "Content",
5004
+ "text": ");"
5005
+ }
5006
+ ],
5007
+ "releaseTag": "Public",
5008
+ "isProtected": false,
5009
+ "overloadIndex": 1,
5010
+ "parameters": [
5011
+ {
5012
+ "parameterName": "message",
5013
+ "parameterTypeTokenRange": {
5014
+ "startIndex": 1,
5015
+ "endIndex": 2
5016
+ },
5017
+ "isOptional": false
5018
+ },
5019
+ {
5020
+ "parameterName": "{ closeCode, closeReason, cause, }",
5021
+ "parameterTypeTokenRange": {
5022
+ "startIndex": 3,
5023
+ "endIndex": 4
5024
+ },
5025
+ "isOptional": true
5026
+ }
5027
+ ]
5028
+ },
5029
+ {
5030
+ "kind": "Property",
5031
+ "canonicalReference": "@genesislcap/foundation-comms!ConnectTransportError#closeCode:member",
5032
+ "docComment": "/**\n * The WebSocket close code, when the socket closed.\n */\n",
5033
+ "excerptTokens": [
5034
+ {
5035
+ "kind": "Content",
5036
+ "text": "readonly closeCode?: "
5037
+ },
5038
+ {
5039
+ "kind": "Content",
5040
+ "text": "number"
5041
+ },
5042
+ {
5043
+ "kind": "Content",
5044
+ "text": ";"
5045
+ }
5046
+ ],
5047
+ "isReadonly": true,
5048
+ "isOptional": true,
5049
+ "releaseTag": "Public",
5050
+ "name": "closeCode",
5051
+ "propertyTypeTokenRange": {
5052
+ "startIndex": 1,
5053
+ "endIndex": 2
5054
+ },
5055
+ "isStatic": false,
5056
+ "isProtected": false,
5057
+ "isAbstract": false
5058
+ },
5059
+ {
5060
+ "kind": "Property",
5061
+ "canonicalReference": "@genesislcap/foundation-comms!ConnectTransportError#closeReason:member",
5062
+ "docComment": "/**\n * The WebSocket close reason, when the socket closed.\n */\n",
5063
+ "excerptTokens": [
5064
+ {
5065
+ "kind": "Content",
5066
+ "text": "readonly closeReason?: "
5067
+ },
5068
+ {
5069
+ "kind": "Content",
5070
+ "text": "string"
5071
+ },
5072
+ {
5073
+ "kind": "Content",
5074
+ "text": ";"
5075
+ }
5076
+ ],
5077
+ "isReadonly": true,
5078
+ "isOptional": true,
5079
+ "releaseTag": "Public",
5080
+ "name": "closeReason",
5081
+ "propertyTypeTokenRange": {
5082
+ "startIndex": 1,
5083
+ "endIndex": 2
5084
+ },
5085
+ "isStatic": false,
5086
+ "isProtected": false,
5087
+ "isAbstract": false
5088
+ },
5089
+ {
5090
+ "kind": "Property",
5091
+ "canonicalReference": "@genesislcap/foundation-comms!ConnectTransportError#kind:member",
5092
+ "docComment": "",
5093
+ "excerptTokens": [
5094
+ {
5095
+ "kind": "Content",
5096
+ "text": "get kind(): "
5097
+ },
5098
+ {
5099
+ "kind": "Content",
5100
+ "text": "'transport'"
5101
+ },
5102
+ {
5103
+ "kind": "Content",
5104
+ "text": ";"
5105
+ }
5106
+ ],
5107
+ "isReadonly": true,
5108
+ "isOptional": false,
5109
+ "releaseTag": "Public",
5110
+ "name": "kind",
5111
+ "propertyTypeTokenRange": {
5112
+ "startIndex": 1,
5113
+ "endIndex": 2
5114
+ },
5115
+ "isStatic": false,
5116
+ "isProtected": false,
5117
+ "isAbstract": false
5118
+ }
5119
+ ],
5120
+ "extendsTokenRange": {
5121
+ "startIndex": 1,
5122
+ "endIndex": 2
5123
+ },
5124
+ "implementsTokenRanges": []
5125
+ },
3824
5126
  {
3825
5127
  "kind": "TypeAlias",
3826
5128
  "canonicalReference": "@genesislcap/foundation-comms!CredentialData_2:type",
@@ -5751,7 +7053,7 @@
5751
7053
  {
5752
7054
  "kind": "MethodSignature",
5753
7055
  "canonicalReference": "@genesislcap/foundation-comms!Datasource#init:member(1)",
5754
- "docComment": "/**\n * Initializes the datasource with the given options and fetches metadata if specified.\n *\n * @param options - The options to initialize the datasource with.\n *\n * @param fetchMeta - Optional flag to fetch metadata for the datasource. Defaults to true.\n *\n * @param startStream - Optional flag to start the data stream. Defaults to true.\n *\n * @returns A promise that resolves with a boolean indicating whether the initialization was successful.\n *\n * @public\n */\n",
7056
+ "docComment": "/**\n * Initializes the datasource with the given options and fetches metadata if specified.\n *\n * @param options - The options to initialize the datasource with.\n *\n * @param fetchMeta - Optional flag to fetch metadata for the datasource. Defaults to true.\n *\n * @param startStream - Optional flag to start the data stream. Defaults to true.\n *\n * @returns A promise that resolves with a boolean indicating whether the initialization was successful. When another `init()` or `destroy()` is called before it finishes, it sends nothing more and resolves with the result of the latest `init()`, or false when `destroy()` was called last, even if one of its requests then fails.\n *\n * @public\n */\n",
5755
7057
  "excerptTokens": [
5756
7058
  {
5757
7059
  "kind": "Content",
@@ -12551,6 +13853,15 @@
12551
13853
  "text": "CommitParams",
12552
13854
  "canonicalReference": "@genesislcap/foundation-comms!CommitParams:type"
12553
13855
  },
13856
+ {
13857
+ "kind": "Content",
13858
+ "text": ", options?: "
13859
+ },
13860
+ {
13861
+ "kind": "Reference",
13862
+ "text": "CommitEventOptions",
13863
+ "canonicalReference": "@genesislcap/foundation-comms!CommitEventOptions:interface"
13864
+ },
12554
13865
  {
12555
13866
  "kind": "Content",
12556
13867
  "text": "): "
@@ -12580,8 +13891,8 @@
12580
13891
  ],
12581
13892
  "isStatic": false,
12582
13893
  "returnTypeTokenRange": {
12583
- "startIndex": 5,
12584
- "endIndex": 9
13894
+ "startIndex": 7,
13895
+ "endIndex": 11
12585
13896
  },
12586
13897
  "releaseTag": "Public",
12587
13898
  "isProtected": false,
@@ -12602,6 +13913,14 @@
12602
13913
  "endIndex": 4
12603
13914
  },
12604
13915
  "isOptional": true
13916
+ },
13917
+ {
13918
+ "parameterName": "options",
13919
+ "parameterTypeTokenRange": {
13920
+ "startIndex": 5,
13921
+ "endIndex": 6
13922
+ },
13923
+ "isOptional": true
12605
13924
  }
12606
13925
  ],
12607
13926
  "isOptional": false,
@@ -12932,6 +14251,15 @@
12932
14251
  "kind": "Content",
12933
14252
  "text": "boolean"
12934
14253
  },
14254
+ {
14255
+ "kind": "Content",
14256
+ "text": ", options?: "
14257
+ },
14258
+ {
14259
+ "kind": "Reference",
14260
+ "text": "ConnectRequestOptions",
14261
+ "canonicalReference": "@genesislcap/foundation-comms!ConnectRequestOptions:interface"
14262
+ },
12935
14263
  {
12936
14264
  "kind": "Content",
12937
14265
  "text": "): "
@@ -12961,8 +14289,8 @@
12961
14289
  ],
12962
14290
  "isStatic": false,
12963
14291
  "returnTypeTokenRange": {
12964
- "startIndex": 5,
12965
- "endIndex": 9
14292
+ "startIndex": 7,
14293
+ "endIndex": 11
12966
14294
  },
12967
14295
  "releaseTag": "Public",
12968
14296
  "isProtected": false,
@@ -12983,6 +14311,14 @@
12983
14311
  "endIndex": 4
12984
14312
  },
12985
14313
  "isOptional": true
14314
+ },
14315
+ {
14316
+ "parameterName": "options",
14317
+ "parameterTypeTokenRange": {
14318
+ "startIndex": 5,
14319
+ "endIndex": 6
14320
+ },
14321
+ "isOptional": true
12986
14322
  }
12987
14323
  ],
12988
14324
  "isOptional": false,
@@ -13350,6 +14686,15 @@
13350
14686
  "kind": "Content",
13351
14687
  "text": "boolean"
13352
14688
  },
14689
+ {
14690
+ "kind": "Content",
14691
+ "text": ", options?: "
14692
+ },
14693
+ {
14694
+ "kind": "Reference",
14695
+ "text": "ConnectRequestOptions",
14696
+ "canonicalReference": "@genesislcap/foundation-comms!ConnectRequestOptions:interface"
14697
+ },
13353
14698
  {
13354
14699
  "kind": "Content",
13355
14700
  "text": "): "
@@ -13379,8 +14724,8 @@
13379
14724
  ],
13380
14725
  "isStatic": false,
13381
14726
  "returnTypeTokenRange": {
13382
- "startIndex": 7,
13383
- "endIndex": 11
14727
+ "startIndex": 9,
14728
+ "endIndex": 13
13384
14729
  },
13385
14730
  "releaseTag": "Public",
13386
14731
  "isProtected": false,
@@ -13409,6 +14754,14 @@
13409
14754
  "endIndex": 6
13410
14755
  },
13411
14756
  "isOptional": true
14757
+ },
14758
+ {
14759
+ "parameterName": "options",
14760
+ "parameterTypeTokenRange": {
14761
+ "startIndex": 7,
14762
+ "endIndex": 8
14763
+ },
14764
+ "isOptional": true
13412
14765
  }
13413
14766
  ],
13414
14767
  "isOptional": false,
@@ -13441,6 +14794,15 @@
13441
14794
  "kind": "Content",
13442
14795
  "text": "boolean"
13443
14796
  },
14797
+ {
14798
+ "kind": "Content",
14799
+ "text": ", options?: "
14800
+ },
14801
+ {
14802
+ "kind": "Reference",
14803
+ "text": "ConnectRequestOptions",
14804
+ "canonicalReference": "@genesislcap/foundation-comms!ConnectRequestOptions:interface"
14805
+ },
13444
14806
  {
13445
14807
  "kind": "Content",
13446
14808
  "text": "): "
@@ -13474,8 +14836,8 @@
13474
14836
  ],
13475
14837
  "isStatic": false,
13476
14838
  "returnTypeTokenRange": {
13477
- "startIndex": 6,
13478
- "endIndex": 8
14839
+ "startIndex": 8,
14840
+ "endIndex": 10
13479
14841
  },
13480
14842
  "releaseTag": "Public",
13481
14843
  "isProtected": false,
@@ -13496,6 +14858,14 @@
13496
14858
  "endIndex": 5
13497
14859
  },
13498
14860
  "isOptional": true
14861
+ },
14862
+ {
14863
+ "parameterName": "options",
14864
+ "parameterTypeTokenRange": {
14865
+ "startIndex": 6,
14866
+ "endIndex": 7
14867
+ },
14868
+ "isOptional": true
13499
14869
  }
13500
14870
  ],
13501
14871
  "isOptional": false,
@@ -18936,6 +20306,15 @@
18936
20306
  "text": "CommitParams",
18937
20307
  "canonicalReference": "@genesislcap/foundation-comms!CommitParams:type"
18938
20308
  },
20309
+ {
20310
+ "kind": "Content",
20311
+ "text": ", options?: "
20312
+ },
20313
+ {
20314
+ "kind": "Reference",
20315
+ "text": "CommitEventOptions",
20316
+ "canonicalReference": "@genesislcap/foundation-comms!CommitEventOptions:interface"
20317
+ },
18939
20318
  {
18940
20319
  "kind": "Content",
18941
20320
  "text": "): "
@@ -18965,8 +20344,8 @@
18965
20344
  ],
18966
20345
  "isStatic": false,
18967
20346
  "returnTypeTokenRange": {
18968
- "startIndex": 5,
18969
- "endIndex": 9
20347
+ "startIndex": 7,
20348
+ "endIndex": 11
18970
20349
  },
18971
20350
  "releaseTag": "Public",
18972
20351
  "isProtected": false,
@@ -18987,6 +20366,14 @@
18987
20366
  "endIndex": 4
18988
20367
  },
18989
20368
  "isOptional": true
20369
+ },
20370
+ {
20371
+ "parameterName": "options",
20372
+ "parameterTypeTokenRange": {
20373
+ "startIndex": 5,
20374
+ "endIndex": 6
20375
+ },
20376
+ "isOptional": true
18990
20377
  }
18991
20378
  ],
18992
20379
  "isOptional": false,
@@ -19300,6 +20687,15 @@
19300
20687
  "kind": "Content",
19301
20688
  "text": "boolean"
19302
20689
  },
20690
+ {
20691
+ "kind": "Content",
20692
+ "text": ", options?: "
20693
+ },
20694
+ {
20695
+ "kind": "Reference",
20696
+ "text": "ConnectRequestOptions",
20697
+ "canonicalReference": "@genesislcap/foundation-comms!ConnectRequestOptions:interface"
20698
+ },
19303
20699
  {
19304
20700
  "kind": "Content",
19305
20701
  "text": "): "
@@ -19329,8 +20725,8 @@
19329
20725
  ],
19330
20726
  "isStatic": false,
19331
20727
  "returnTypeTokenRange": {
19332
- "startIndex": 5,
19333
- "endIndex": 9
20728
+ "startIndex": 7,
20729
+ "endIndex": 11
19334
20730
  },
19335
20731
  "releaseTag": "Public",
19336
20732
  "isProtected": false,
@@ -19351,6 +20747,14 @@
19351
20747
  "endIndex": 4
19352
20748
  },
19353
20749
  "isOptional": true
20750
+ },
20751
+ {
20752
+ "parameterName": "options",
20753
+ "parameterTypeTokenRange": {
20754
+ "startIndex": 5,
20755
+ "endIndex": 6
20756
+ },
20757
+ "isOptional": true
19354
20758
  }
19355
20759
  ],
19356
20760
  "isOptional": false,
@@ -19733,6 +21137,15 @@
19733
21137
  "kind": "Content",
19734
21138
  "text": "boolean"
19735
21139
  },
21140
+ {
21141
+ "kind": "Content",
21142
+ "text": ", options?: "
21143
+ },
21144
+ {
21145
+ "kind": "Reference",
21146
+ "text": "ConnectRequestOptions",
21147
+ "canonicalReference": "@genesislcap/foundation-comms!ConnectRequestOptions:interface"
21148
+ },
19736
21149
  {
19737
21150
  "kind": "Content",
19738
21151
  "text": "): "
@@ -19762,8 +21175,8 @@
19762
21175
  ],
19763
21176
  "isStatic": false,
19764
21177
  "returnTypeTokenRange": {
19765
- "startIndex": 7,
19766
- "endIndex": 11
21178
+ "startIndex": 9,
21179
+ "endIndex": 13
19767
21180
  },
19768
21181
  "releaseTag": "Public",
19769
21182
  "isProtected": false,
@@ -19792,6 +21205,14 @@
19792
21205
  "endIndex": 6
19793
21206
  },
19794
21207
  "isOptional": true
21208
+ },
21209
+ {
21210
+ "parameterName": "options",
21211
+ "parameterTypeTokenRange": {
21212
+ "startIndex": 7,
21213
+ "endIndex": 8
21214
+ },
21215
+ "isOptional": true
19795
21216
  }
19796
21217
  ],
19797
21218
  "isOptional": false,
@@ -19824,6 +21245,15 @@
19824
21245
  "kind": "Content",
19825
21246
  "text": "boolean"
19826
21247
  },
21248
+ {
21249
+ "kind": "Content",
21250
+ "text": ", options?: "
21251
+ },
21252
+ {
21253
+ "kind": "Reference",
21254
+ "text": "ConnectRequestOptions",
21255
+ "canonicalReference": "@genesislcap/foundation-comms!ConnectRequestOptions:interface"
21256
+ },
19827
21257
  {
19828
21258
  "kind": "Content",
19829
21259
  "text": "): "
@@ -19857,8 +21287,8 @@
19857
21287
  ],
19858
21288
  "isStatic": false,
19859
21289
  "returnTypeTokenRange": {
19860
- "startIndex": 6,
19861
- "endIndex": 8
21290
+ "startIndex": 8,
21291
+ "endIndex": 10
19862
21292
  },
19863
21293
  "releaseTag": "Public",
19864
21294
  "isProtected": false,
@@ -19879,6 +21309,14 @@
19879
21309
  "endIndex": 5
19880
21310
  },
19881
21311
  "isOptional": true
21312
+ },
21313
+ {
21314
+ "parameterName": "options",
21315
+ "parameterTypeTokenRange": {
21316
+ "startIndex": 6,
21317
+ "endIndex": 7
21318
+ },
21319
+ "isOptional": true
19882
21320
  }
19883
21321
  ],
19884
21322
  "isOptional": false,
@@ -24402,6 +25840,15 @@
24402
25840
  "kind": "Content",
24403
25841
  "text": "boolean"
24404
25842
  },
25843
+ {
25844
+ "kind": "Content",
25845
+ "text": ", options?: "
25846
+ },
25847
+ {
25848
+ "kind": "Reference",
25849
+ "text": "ConnectRequestOptions",
25850
+ "canonicalReference": "@genesislcap/foundation-comms!ConnectRequestOptions:interface"
25851
+ },
24405
25852
  {
24406
25853
  "kind": "Content",
24407
25854
  "text": "): "
@@ -24444,8 +25891,8 @@
24444
25891
  ],
24445
25892
  "isStatic": false,
24446
25893
  "returnTypeTokenRange": {
24447
- "startIndex": 6,
24448
- "endIndex": 10
25894
+ "startIndex": 8,
25895
+ "endIndex": 12
24449
25896
  },
24450
25897
  "releaseTag": "Public",
24451
25898
  "isProtected": false,
@@ -24466,6 +25913,14 @@
24466
25913
  "endIndex": 5
24467
25914
  },
24468
25915
  "isOptional": true
25916
+ },
25917
+ {
25918
+ "parameterName": "options",
25919
+ "parameterTypeTokenRange": {
25920
+ "startIndex": 6,
25921
+ "endIndex": 7
25922
+ },
25923
+ "isOptional": true
24469
25924
  }
24470
25925
  ],
24471
25926
  "isOptional": false,
@@ -26230,7 +27685,7 @@
26230
27685
  {
26231
27686
  "kind": "Variable",
26232
27687
  "canonicalReference": "@genesislcap/foundation-comms!exponentialScheduler:var",
26233
- "docComment": "/**\n * Expontential Interval scheduler for reconnect\n *\n * @param reconnectOptions - {@link SocketReconnectOptions} options\n *\n * @param attempt - number of attempts\n *\n * @returns number of milliseconds that is a power of 2 ^ attempts * baseInterval\n *\n * @public\n */\n",
27688
+ "docComment": "/**\n * Expontential Interval scheduler for reconnect\n *\n * @param reconnectOptions - {@link SocketReconnectOptions} options\n *\n * @param attempt - number of attempts\n *\n * @returns a random number of milliseconds between half and all of 2 ^ attempts * baseInterval, capped at 60 seconds, so clients dropped together do not reconnect together\n *\n * @public\n */\n",
26234
27689
  "excerptTokens": [
26235
27690
  {
26236
27691
  "kind": "Content",
@@ -28562,7 +30017,7 @@
28562
30017
  {
28563
30018
  "kind": "Interface",
28564
30019
  "canonicalReference": "@genesislcap/foundation-comms!HttpError:interface",
28565
- "docComment": "/**\n * An error thrown when an HTTP request fails with a non-2xx status code.\n *\n * @public\n */\n",
30020
+ "docComment": "/**\n * An error thrown when an HTTP request fails with a non-2xx status code.\n *\n * @remarks\n *\n * `DefaultHttp` throws a `ConnectHttpError`, which also carries the response body.\n *\n * @public\n */\n",
28566
30021
  "excerptTokens": [
28567
30022
  {
28568
30023
  "kind": "Content",
@@ -28935,6 +30390,51 @@
28935
30390
  ],
28936
30391
  "name": "initScdbWasm"
28937
30392
  },
30393
+ {
30394
+ "kind": "Function",
30395
+ "canonicalReference": "@genesislcap/foundation-comms!isRetryable:function(1)",
30396
+ "docComment": "/**\n * Whether a request failed for a transient reason, so sending it again may succeed: a closed connection, a network error, a timeout, an HTTP 408, 429, 500, 502, 503 or 504 without a Genesis NACK, or a NACK whose errors are all 408, 429, 503 or 504, such as `UNAVAILABLE`.\n *\n * @remarks\n *\n * Other NACKs, aborts and other HTTP statuses are not retryable. A NACK without a status on every error falls back to the HTTP status. Retry only idempotent requests: a commit that timed out may still have been applied.\n *\n * @param error - The error a request rejected with.\n *\n * @public\n */\n",
30397
+ "excerptTokens": [
30398
+ {
30399
+ "kind": "Content",
30400
+ "text": "export declare function isRetryable(error: "
30401
+ },
30402
+ {
30403
+ "kind": "Content",
30404
+ "text": "unknown"
30405
+ },
30406
+ {
30407
+ "kind": "Content",
30408
+ "text": "): "
30409
+ },
30410
+ {
30411
+ "kind": "Content",
30412
+ "text": "boolean"
30413
+ },
30414
+ {
30415
+ "kind": "Content",
30416
+ "text": ";"
30417
+ }
30418
+ ],
30419
+ "fileUrlPath": "src/connect/connect.errors.ts",
30420
+ "returnTypeTokenRange": {
30421
+ "startIndex": 3,
30422
+ "endIndex": 4
30423
+ },
30424
+ "releaseTag": "Public",
30425
+ "overloadIndex": 1,
30426
+ "parameters": [
30427
+ {
30428
+ "parameterName": "error",
30429
+ "parameterTypeTokenRange": {
30430
+ "startIndex": 1,
30431
+ "endIndex": 2
30432
+ },
30433
+ "isOptional": false
30434
+ }
30435
+ ],
30436
+ "name": "isRetryable"
30437
+ },
28938
30438
  {
28939
30439
  "kind": "Variable",
28940
30440
  "canonicalReference": "@genesislcap/foundation-comms!isWebSocketExpression:var",
@@ -32164,7 +33664,7 @@
32164
33664
  },
32165
33665
  {
32166
33666
  "kind": "Content",
32167
- "text": " | string;\n STATUS_CODE?: string;\n TEXT: string;\n}"
33667
+ "text": " | string;\n STATUS_CODE?: string;\n TEXT: string;\n FIELD?: string;\n PATH?: string;\n TABLE?: string;\n KEY?: string;\n KEY_FIELD?: string[];\n}"
32168
33668
  },
32169
33669
  {
32170
33670
  "kind": "Content",
@@ -32341,6 +33841,27 @@
32341
33841
  "releaseTag": "Public",
32342
33842
  "name": "HEARTBEAT_PONG"
32343
33843
  },
33844
+ {
33845
+ "kind": "EnumMember",
33846
+ "canonicalReference": "@genesislcap/foundation-comms!MessageType.INVALID_INDEX_NACK:member",
33847
+ "docComment": "",
33848
+ "excerptTokens": [
33849
+ {
33850
+ "kind": "Content",
33851
+ "text": "INVALID_INDEX_NACK = "
33852
+ },
33853
+ {
33854
+ "kind": "Content",
33855
+ "text": "\"INVALID_INDEX_NACK\""
33856
+ }
33857
+ ],
33858
+ "initializerTokenRange": {
33859
+ "startIndex": 1,
33860
+ "endIndex": 2
33861
+ },
33862
+ "releaseTag": "Public",
33863
+ "name": "INVALID_INDEX_NACK"
33864
+ },
32344
33865
  {
32345
33866
  "kind": "EnumMember",
32346
33867
  "canonicalReference": "@genesislcap/foundation-comms!MessageType.LOGOFF_ACK:member",
@@ -37326,7 +38847,7 @@
37326
38847
  {
37327
38848
  "kind": "MethodSignature",
37328
38849
  "canonicalReference": "@genesislcap/foundation-comms!Socket#send:member(1)",
37329
- "docComment": "",
38850
+ "docComment": "/**\n * Sends a message and resolves with its reply.\n *\n * @remarks\n *\n * Rejects with a `ConnectNackError` on a `MSG_NACK`, `LOGON_NACK` or `INVALID_INDEX_NACK`, a `ConnectTransportError` when the socket is closed or closes before the reply arrives, and a `ConnectTimeoutError` or `ConnectAbortError` per `options`.\n *\n * @param message - The message to send.\n *\n * @param needsHandling - Whether to wait for a reply. Without one the promise never settles. Default: true.\n *\n * @param options - Timeout and abort signal for the reply.\n */\n",
37330
38851
  "excerptTokens": [
37331
38852
  {
37332
38853
  "kind": "Content",
@@ -37349,6 +38870,15 @@
37349
38870
  "kind": "Content",
37350
38871
  "text": "boolean"
37351
38872
  },
38873
+ {
38874
+ "kind": "Content",
38875
+ "text": ", options?: "
38876
+ },
38877
+ {
38878
+ "kind": "Reference",
38879
+ "text": "ConnectRequestOptions",
38880
+ "canonicalReference": "@genesislcap/foundation-comms!ConnectRequestOptions:interface"
38881
+ },
37352
38882
  {
37353
38883
  "kind": "Content",
37354
38884
  "text": "): "
@@ -37378,8 +38908,8 @@
37378
38908
  ],
37379
38909
  "isOptional": false,
37380
38910
  "returnTypeTokenRange": {
37381
- "startIndex": 6,
37382
- "endIndex": 10
38911
+ "startIndex": 8,
38912
+ "endIndex": 12
37383
38913
  },
37384
38914
  "releaseTag": "Public",
37385
38915
  "overloadIndex": 1,
@@ -37399,6 +38929,14 @@
37399
38929
  "endIndex": 5
37400
38930
  },
37401
38931
  "isOptional": true
38932
+ },
38933
+ {
38934
+ "parameterName": "options",
38935
+ "parameterTypeTokenRange": {
38936
+ "startIndex": 6,
38937
+ "endIndex": 7
38938
+ },
38939
+ "isOptional": true
37402
38940
  }
37403
38941
  ],
37404
38942
  "typeParameters": [
@@ -37806,7 +39344,7 @@
37806
39344
  },
37807
39345
  {
37808
39346
  "kind": "Content",
37809
- "text": ") => void;\n proxyPath?: string;\n dataserverEncoding?: "
39347
+ "text": ") => void;\n proxyPath?: string;\n requestTimeout?: number;\n dataserverEncoding?: "
37810
39348
  },
37811
39349
  {
37812
39350
  "kind": "Reference",