@signalwire/js 4.0.0-rc.1 → 4.0.0-rc.3

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.
@@ -1,763 +0,0 @@
1
- //#region rolldown:runtime
2
- var __create = Object.create;
3
- var __defProp = Object.defineProperty;
4
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
- var __getOwnPropNames = Object.getOwnPropertyNames;
6
- var __getProtoOf = Object.getPrototypeOf;
7
- var __hasOwnProp = Object.prototype.hasOwnProperty;
8
- var __copyProps = (to, from, except, desc) => {
9
- if (from && typeof from === "object" || typeof from === "function") {
10
- for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
11
- key = keys[i];
12
- if (!__hasOwnProp.call(to, key) && key !== except) {
13
- __defProp(to, key, {
14
- get: ((k) => from[k]).bind(null, key),
15
- enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
16
- });
17
- }
18
- }
19
- }
20
- return to;
21
- };
22
- var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
23
- value: mod,
24
- enumerable: true
25
- }) : target, mod));
26
-
27
- //#endregion
28
- let rxjs = require("rxjs");
29
- let loglevel = require("loglevel");
30
- loglevel = __toESM(loglevel);
31
- let rxjs_operators = require("rxjs/operators");
32
-
33
- //#region src/core/errors.ts
34
- var UnexpectedError = class extends Error {
35
- constructor(at, options) {
36
- super(`Unexpected Error${at ? ` at ${at}` : ""}`, options);
37
- this.at = at;
38
- this.name = "UnexpectedError";
39
- }
40
- };
41
- var UnimplementedError = class extends Error {
42
- constructor(reason = "Not Implemented", options) {
43
- super(reason, options);
44
- this.reason = reason;
45
- this.name = "UnimplementedError";
46
- }
47
- };
48
- var InvalidCredentialsError = class extends Error {
49
- constructor(reason = "Invalid Credentials", options) {
50
- super(reason, options);
51
- this.reason = reason;
52
- this.name = "InvalidCredentialsError";
53
- }
54
- };
55
- var WebSocketConnectionError = class extends Error {
56
- constructor(message, options) {
57
- super(message, options);
58
- this.name = "WebSocketConnectionError";
59
- }
60
- };
61
- var TransportConnectionError = class extends Error {
62
- constructor(message, options) {
63
- super(message, options);
64
- this.name = "TransportConnectionError";
65
- }
66
- };
67
- var WebSocketTimeoutError = class extends Error {
68
- constructor(message, options) {
69
- super(message, options);
70
- this.name = "WebSocketTimeoutError";
71
- }
72
- };
73
- var RequestTimeoutError = class extends Error {
74
- constructor(message, options) {
75
- super(message, options);
76
- this.name = "RequestTimeoutError";
77
- }
78
- };
79
- var RequestError = class extends Error {
80
- constructor(message, options) {
81
- super(message, options);
82
- this.name = "RequestError";
83
- }
84
- };
85
- var RPCTimeoutError = class extends Error {
86
- constructor(requestId, timeoutMs, options) {
87
- super(`RPC request ${requestId} timed out after ${timeoutMs}ms`, options);
88
- this.requestId = requestId;
89
- this.timeoutMs = timeoutMs;
90
- this.name = "RPCTimeoutError";
91
- }
92
- };
93
- var AuthStateHandlerError = class extends Error {
94
- constructor(error = null, options) {
95
- super("Error handling authorization state update", {
96
- ...options,
97
- cause: options?.cause ?? (error instanceof Error ? error : void 0)
98
- });
99
- this.error = error;
100
- this.name = "AuthStateHandlerError";
101
- }
102
- };
103
- var StorageNotAvailableError = class extends Error {
104
- constructor(storageType = "localStorage", options) {
105
- super(`${storageType} is not available in this environment`, options);
106
- this.storageType = storageType;
107
- this.name = "StorageNotAvailableError";
108
- }
109
- };
110
- var SerializationError = class extends Error {
111
- constructor(key, originalError) {
112
- super(`Failed to serialize value for key "${key}": ${originalError.message}`, { cause: originalError });
113
- this.key = key;
114
- this.originalError = originalError;
115
- this.name = "SerializationError";
116
- }
117
- };
118
- var DeserializationError = class extends Error {
119
- constructor(key, originalError) {
120
- super(`Failed to deserialize value for key "${key}": ${originalError.message}`, { cause: originalError });
121
- this.key = key;
122
- this.originalError = originalError;
123
- this.name = "DeserializationError";
124
- }
125
- };
126
- var StorageWriteError = class extends Error {
127
- constructor(key, originalError) {
128
- super(`Failed to write to storage for key "${key}": ${originalError.message}`, { cause: originalError });
129
- this.key = key;
130
- this.originalError = originalError;
131
- this.name = "StorageWriteError";
132
- }
133
- };
134
- var StorageReadError = class extends Error {
135
- constructor(key, originalError) {
136
- super(`Failed to read from storage "${key}": ${originalError.message}`, { cause: originalError });
137
- this.key = key;
138
- this.originalError = originalError;
139
- this.name = "StorageReadError";
140
- }
141
- };
142
- var DependencyError = class extends Error {
143
- constructor(description, options) {
144
- super(`Dependency ${description} is not set or available.`, options);
145
- this.description = description;
146
- this.name = "DependencyError";
147
- }
148
- };
149
- var CallCreateError = class extends Error {
150
- constructor(message, error = null, direction = "outbound", options) {
151
- super(message, {
152
- ...options,
153
- cause: options?.cause ?? (error instanceof Error ? error : void 0)
154
- });
155
- this.message = message;
156
- this.error = error;
157
- this.direction = direction;
158
- this.name = "CallCreateError";
159
- }
160
- };
161
- var JSONRPCError = class extends Error {
162
- constructor(code, message, data, options, requestId) {
163
- super(message, options);
164
- this.code = code;
165
- this.data = data;
166
- this.requestId = requestId;
167
- this.name = "JSONRPCError";
168
- }
169
- };
170
- var InvalidParams = class extends Error {
171
- constructor(message, options) {
172
- super(message, options);
173
- this.message = message;
174
- this.name = "InvalidParams";
175
- }
176
- };
177
- var ConversationError = class extends Error {
178
- constructor(message, options) {
179
- super(message, options);
180
- this.message = message;
181
- this.name = "ConversationError";
182
- }
183
- };
184
- var VertoInviteHandlerError = class extends Error {
185
- constructor(error = null, options) {
186
- super("Error handling Verto invite", {
187
- ...options,
188
- cause: options?.cause ?? (error instanceof Error ? error : void 0)
189
- });
190
- this.error = error;
191
- this.name = "VertoInviteHandlerError";
192
- }
193
- };
194
- var VertoAttachHandlerError = class extends Error {
195
- constructor(error = null, options) {
196
- super("Error handling Verto attach", {
197
- ...options,
198
- cause: options?.cause ?? (error instanceof Error ? error : void 0)
199
- });
200
- this.error = error;
201
- this.name = "VertoAttachHandlerError";
202
- }
203
- };
204
- var ValidationError = class extends Error {
205
- constructor(message, options) {
206
- super(message, options);
207
- this.name = "ValidationError";
208
- }
209
- };
210
- var VertoPongError = class extends Error {
211
- constructor(originalError) {
212
- super("Failed to send Verto pong - call may disconnect", { cause: originalError instanceof Error ? originalError : void 0 });
213
- this.originalError = originalError;
214
- this.name = "VertoPongError";
215
- }
216
- };
217
- var MessageParseError = class extends Error {
218
- constructor(originalError) {
219
- super("Failed to parse incoming WebSocket message", { cause: originalError instanceof Error ? originalError : void 0 });
220
- this.originalError = originalError;
221
- this.name = "MessageParseError";
222
- }
223
- };
224
- var CollectionFetchError = class extends Error {
225
- constructor(operation, originalError) {
226
- super(`Collection fetch failed during ${operation}`, { cause: originalError instanceof Error ? originalError : void 0 });
227
- this.operation = operation;
228
- this.originalError = originalError;
229
- this.name = "CollectionFetchError";
230
- }
231
- };
232
- var MediaTrackError = class extends Error {
233
- constructor(operation, kind, originalError) {
234
- super(`Media track ${operation} failed for ${kind}`, { cause: originalError instanceof Error ? originalError : void 0 });
235
- this.operation = operation;
236
- this.kind = kind;
237
- this.originalError = originalError;
238
- this.name = "MediaTrackError";
239
- }
240
- };
241
- var DPoPInitError = class extends Error {
242
- constructor(originalError, message = "Failed to initialize DPoP key pair") {
243
- super(message, { cause: originalError instanceof Error ? originalError : void 0 });
244
- this.originalError = originalError;
245
- this.name = "DPoPInitError";
246
- }
247
- };
248
- /**
249
- * Error thrown when a recovery attempt fails.
250
- *
251
- * Carries the recovery action and attempt number for diagnostic purposes.
252
- */
253
- var RecoveryError = class extends Error {
254
- constructor(action, attempt, originalError) {
255
- super(`Recovery failed: ${action} (attempt ${attempt})`, { cause: originalError instanceof Error ? originalError : void 0 });
256
- this.action = action;
257
- this.attempt = attempt;
258
- this.originalError = originalError;
259
- this.name = "RecoveryError";
260
- }
261
- };
262
- /**
263
- * Error thrown when getUserMedia fails with OverconstrainedError
264
- * and all fallback levels have been exhausted.
265
- */
266
- var OverconstrainedFallbackError = class extends Error {
267
- constructor(deviceKind, originalError) {
268
- super(`All constraint fallback levels exhausted for ${deviceKind}`, { cause: originalError instanceof Error ? originalError : void 0 });
269
- this.deviceKind = deviceKind;
270
- this.originalError = originalError;
271
- this.name = "OverconstrainedFallbackError";
272
- }
273
- };
274
- /**
275
- * Error thrown when the preflight connectivity test fails.
276
- */
277
- var PreflightError = class extends Error {
278
- constructor(phase, originalError) {
279
- super(`Preflight test failed during ${phase}`, { cause: originalError instanceof Error ? originalError : void 0 });
280
- this.phase = phase;
281
- this.originalError = originalError;
282
- this.name = "PreflightError";
283
- }
284
- };
285
- var DeviceTokenError = class extends Error {
286
- constructor(message, originalError) {
287
- super(message, { cause: originalError instanceof Error ? originalError : void 0 });
288
- this.originalError = originalError;
289
- this.name = "DeviceTokenError";
290
- }
291
- };
292
- var TokenRefreshError = class extends Error {
293
- constructor(message, originalError) {
294
- super(message, { cause: originalError instanceof Error ? originalError : void 0 });
295
- this.originalError = originalError;
296
- this.name = "TokenRefreshError";
297
- }
298
- };
299
-
300
- //#endregion
301
- //#region src/utils/logger.ts
302
- const datetime = () => (/* @__PURE__ */ new Date()).toISOString();
303
- const defaultLogger = loglevel.default.getLogger("signalwire");
304
- const originalFactory = defaultLogger.methodFactory;
305
- defaultLogger.methodFactory = (methodName, logLevel, loggerName) => {
306
- const rawMethod = originalFactory(methodName, logLevel, loggerName);
307
- return function(...args) {
308
- const prefixed = [
309
- datetime(),
310
- "-",
311
- ...args
312
- ];
313
- rawMethod.apply(void 0, prefixed);
314
- };
315
- };
316
- const defaultLoggerLevel = defaultLogger.levels.WARN;
317
- defaultLogger.setLevel(defaultLoggerLevel);
318
- let userLogger = null;
319
- /** Replace the built-in logger with a custom implementation. Pass `null` to restore defaults. */
320
- const setLogger = (logger$1) => {
321
- userLogger = logger$1;
322
- };
323
- let debugOptions = {};
324
- /** Configure debug options (e.g., `{ logWsTraffic: true }`). */
325
- const setDebugOptions = (options) => {
326
- if (options == null) {
327
- debugOptions = {};
328
- return;
329
- }
330
- debugOptions = {
331
- ...debugOptions,
332
- ...options
333
- };
334
- };
335
- /**
336
- * Set the log level for the built-in logger.
337
- * Has no effect when a custom logger is set via `setLogger()`.
338
- */
339
- const setLogLevel = (level) => {
340
- defaultLogger.setLevel(level);
341
- };
342
- const getLoggerInstance = () => {
343
- return userLogger ?? defaultLogger;
344
- };
345
- const shouldStringify = (payload) => {
346
- if (payload != null && typeof payload === "object" && "method" in payload) return payload.method !== "signalwire.ping";
347
- return true;
348
- };
349
- const wsTraffic = (options) => {
350
- const { logWsTraffic } = debugOptions;
351
- if (!logWsTraffic) return;
352
- const loggerInstance = getLoggerInstance();
353
- let payload;
354
- if ("raw" in options) try {
355
- payload = JSON.parse(options.raw);
356
- } catch {
357
- loggerInstance.debug(`[WebSocket] ${options.type.toUpperCase()}: non-JSON message`);
358
- return;
359
- }
360
- else ({payload} = options);
361
- const msg = shouldStringify(payload) ? JSON.stringify(payload, null, 2) : payload;
362
- loggerInstance.debug(`${options.type.toUpperCase()}: \n`, msg, "\n");
363
- };
364
- const getLogger = () => {
365
- const logger$1 = getLoggerInstance();
366
- return new Proxy(logger$1, { get(_target, prop, _receiver) {
367
- if (prop === "wsTraffic") return wsTraffic;
368
- const instance = getLoggerInstance();
369
- const value = Reflect.get(instance, prop);
370
- if (typeof value === "function") return value.bind(instance);
371
- return value;
372
- } });
373
- };
374
-
375
- //#endregion
376
- //#region src/operators/filterNull.ts
377
- /**
378
- * RxJS operator that filters out `null` and `undefined` values with type narrowing.
379
- *
380
- * @example
381
- * ```ts
382
- * source$.pipe(filterNull()).subscribe(value => {
383
- * // value is guaranteed non-null
384
- * });
385
- * ```
386
- */
387
- function filterNull() {
388
- return (0, rxjs.filter)((value) => value != null);
389
- }
390
-
391
- //#endregion
392
- //#region src/utils/getValueFrom.ts
393
- const getValueFrom = (obj, path, defaultValue) => {
394
- const keys = path.split(".");
395
- let result = obj;
396
- for (const key of keys) if (result && typeof result === "object" && key in result) result = result[key];
397
- else return defaultValue;
398
- return result === void 0 ? defaultValue : result;
399
- };
400
-
401
- //#endregion
402
- //#region src/operators/filterEventAs.ts
403
- /**
404
- * RxJS operator that filters events based on a predicate and maps matching events.
405
- *
406
- * This operator combines filter and map operations:
407
- * 1. Only events that match the predicate are emitted
408
- * 2. Matching events are transformed using the map function
409
- *
410
- * @template TInput - The type of input events
411
- * @template TOutput - The type of output after mapping
412
- * @param predicate - Function to test each event. Returns true to include the event.
413
- * @param mapFn - Function to transform matching events
414
- * @returns An operator function that filters and maps events
415
- *
416
- * @example
417
- * ```typescript
418
- * interface CallEvent {
419
- * type: 'call.started' | 'call.ended';
420
- * id: string;
421
- * timestamp: number;
422
- * }
423
- *
424
- * events$.pipe(
425
- * isEvent(
426
- * (event: CallEvent) => event.type === 'call.started',
427
- * (event: CallEvent) => ({ id: event.id, timestamp: event.timestamp })
428
- * )
429
- * ).subscribe(startEvent => {
430
- * console.log('Call started:', startEvent);
431
- * });
432
- * ```
433
- */
434
- function ifIsMap(predicate, mapFn) {
435
- return (0, rxjs.pipe)((0, rxjs_operators.filter)(predicate), (0, rxjs_operators.map)(mapFn));
436
- }
437
- /**
438
- * Generic RxJS operator that filters events using a type guard and extracts a property.
439
- *
440
- * This is the generic version that works with any type, not just JSONRPCRequest.
441
- * Use this when you need to filter and extract properties from already-narrowed types.
442
- *
443
- * **Type inference**: The output type is automatically inferred from the input type and path!
444
- *
445
- * @template TInput - The type to narrow to (via type guard)
446
- * @template TPath - The dot-notation path to extract (inferred from parameter)
447
- * @param predicate - Type guard function to filter events
448
- * @param resultPath - Dot-notation path to extract (e.g., 'params', 'params.data')
449
- * @returns An operator function that filters and extracts
450
- *
451
- * @example
452
- * ```typescript
453
- * interface EventParams {
454
- * event_type: string;
455
- * data: { value: number };
456
- * }
457
- *
458
- * const isAuthEvent = (e: unknown): e is EventParams =>
459
- * typeof e === 'object' && e !== null && 'event_type' in e;
460
- *
461
- * // Type of 'data' is automatically inferred as { value: number }
462
- * params$.pipe(
463
- * filterAs(isAuthEvent, 'data')
464
- * ).subscribe(data => {
465
- * console.log('Event data:', data.value); // TypeScript knows about .value!
466
- * });
467
- *
468
- * // Deeply nested properties are also inferred
469
- * params$.pipe(
470
- * filterAs(isAuthEvent, 'data.value')
471
- * ).subscribe(value => {
472
- * console.log(value); // Type is 'number'
473
- * });
474
- * ```
475
- */
476
- function filterAs(predicate, resultPath) {
477
- return (0, rxjs.pipe)(ifIsMap(predicate, (event) => {
478
- return getValueFrom(event, resultPath);
479
- }), (0, rxjs_operators.filter)((value) => value !== void 0));
480
- }
481
-
482
- //#endregion
483
- //#region src/operators/throwOnRPCError.ts
484
- const logger = getLogger();
485
- /**
486
- * RxJS operator that throws a {@link JSONRPCError} when the RPC response contains an error.
487
- * Passes successful responses through unchanged.
488
- */
489
- function throwOnRPCError() {
490
- return (0, rxjs.map)((response) => {
491
- if (response.error) {
492
- logger.error("[throwOnRPCError] RPC error response:", {
493
- code: response.error.code,
494
- message: response.error.message,
495
- data: response.error.data
496
- });
497
- throw new JSONRPCError(response.error.code, response.error.message, response.error.data);
498
- }
499
- logger.debug("[throwOnRPCError] RPC successful response:", response);
500
- return response;
501
- });
502
- }
503
-
504
- //#endregion
505
- Object.defineProperty(exports, 'AuthStateHandlerError', {
506
- enumerable: true,
507
- get: function () {
508
- return AuthStateHandlerError;
509
- }
510
- });
511
- Object.defineProperty(exports, 'CallCreateError', {
512
- enumerable: true,
513
- get: function () {
514
- return CallCreateError;
515
- }
516
- });
517
- Object.defineProperty(exports, 'CollectionFetchError', {
518
- enumerable: true,
519
- get: function () {
520
- return CollectionFetchError;
521
- }
522
- });
523
- Object.defineProperty(exports, 'ConversationError', {
524
- enumerable: true,
525
- get: function () {
526
- return ConversationError;
527
- }
528
- });
529
- Object.defineProperty(exports, 'DPoPInitError', {
530
- enumerable: true,
531
- get: function () {
532
- return DPoPInitError;
533
- }
534
- });
535
- Object.defineProperty(exports, 'DependencyError', {
536
- enumerable: true,
537
- get: function () {
538
- return DependencyError;
539
- }
540
- });
541
- Object.defineProperty(exports, 'DeserializationError', {
542
- enumerable: true,
543
- get: function () {
544
- return DeserializationError;
545
- }
546
- });
547
- Object.defineProperty(exports, 'DeviceTokenError', {
548
- enumerable: true,
549
- get: function () {
550
- return DeviceTokenError;
551
- }
552
- });
553
- Object.defineProperty(exports, 'InvalidCredentialsError', {
554
- enumerable: true,
555
- get: function () {
556
- return InvalidCredentialsError;
557
- }
558
- });
559
- Object.defineProperty(exports, 'InvalidParams', {
560
- enumerable: true,
561
- get: function () {
562
- return InvalidParams;
563
- }
564
- });
565
- Object.defineProperty(exports, 'JSONRPCError', {
566
- enumerable: true,
567
- get: function () {
568
- return JSONRPCError;
569
- }
570
- });
571
- Object.defineProperty(exports, 'MediaTrackError', {
572
- enumerable: true,
573
- get: function () {
574
- return MediaTrackError;
575
- }
576
- });
577
- Object.defineProperty(exports, 'MessageParseError', {
578
- enumerable: true,
579
- get: function () {
580
- return MessageParseError;
581
- }
582
- });
583
- Object.defineProperty(exports, 'OverconstrainedFallbackError', {
584
- enumerable: true,
585
- get: function () {
586
- return OverconstrainedFallbackError;
587
- }
588
- });
589
- Object.defineProperty(exports, 'PreflightError', {
590
- enumerable: true,
591
- get: function () {
592
- return PreflightError;
593
- }
594
- });
595
- Object.defineProperty(exports, 'RPCTimeoutError', {
596
- enumerable: true,
597
- get: function () {
598
- return RPCTimeoutError;
599
- }
600
- });
601
- Object.defineProperty(exports, 'RecoveryError', {
602
- enumerable: true,
603
- get: function () {
604
- return RecoveryError;
605
- }
606
- });
607
- Object.defineProperty(exports, 'RequestError', {
608
- enumerable: true,
609
- get: function () {
610
- return RequestError;
611
- }
612
- });
613
- Object.defineProperty(exports, 'RequestTimeoutError', {
614
- enumerable: true,
615
- get: function () {
616
- return RequestTimeoutError;
617
- }
618
- });
619
- Object.defineProperty(exports, 'SerializationError', {
620
- enumerable: true,
621
- get: function () {
622
- return SerializationError;
623
- }
624
- });
625
- Object.defineProperty(exports, 'StorageNotAvailableError', {
626
- enumerable: true,
627
- get: function () {
628
- return StorageNotAvailableError;
629
- }
630
- });
631
- Object.defineProperty(exports, 'StorageReadError', {
632
- enumerable: true,
633
- get: function () {
634
- return StorageReadError;
635
- }
636
- });
637
- Object.defineProperty(exports, 'StorageWriteError', {
638
- enumerable: true,
639
- get: function () {
640
- return StorageWriteError;
641
- }
642
- });
643
- Object.defineProperty(exports, 'TokenRefreshError', {
644
- enumerable: true,
645
- get: function () {
646
- return TokenRefreshError;
647
- }
648
- });
649
- Object.defineProperty(exports, 'TransportConnectionError', {
650
- enumerable: true,
651
- get: function () {
652
- return TransportConnectionError;
653
- }
654
- });
655
- Object.defineProperty(exports, 'UnexpectedError', {
656
- enumerable: true,
657
- get: function () {
658
- return UnexpectedError;
659
- }
660
- });
661
- Object.defineProperty(exports, 'UnimplementedError', {
662
- enumerable: true,
663
- get: function () {
664
- return UnimplementedError;
665
- }
666
- });
667
- Object.defineProperty(exports, 'ValidationError', {
668
- enumerable: true,
669
- get: function () {
670
- return ValidationError;
671
- }
672
- });
673
- Object.defineProperty(exports, 'VertoAttachHandlerError', {
674
- enumerable: true,
675
- get: function () {
676
- return VertoAttachHandlerError;
677
- }
678
- });
679
- Object.defineProperty(exports, 'VertoInviteHandlerError', {
680
- enumerable: true,
681
- get: function () {
682
- return VertoInviteHandlerError;
683
- }
684
- });
685
- Object.defineProperty(exports, 'VertoPongError', {
686
- enumerable: true,
687
- get: function () {
688
- return VertoPongError;
689
- }
690
- });
691
- Object.defineProperty(exports, 'WebSocketConnectionError', {
692
- enumerable: true,
693
- get: function () {
694
- return WebSocketConnectionError;
695
- }
696
- });
697
- Object.defineProperty(exports, 'WebSocketTimeoutError', {
698
- enumerable: true,
699
- get: function () {
700
- return WebSocketTimeoutError;
701
- }
702
- });
703
- Object.defineProperty(exports, '__toESM', {
704
- enumerable: true,
705
- get: function () {
706
- return __toESM;
707
- }
708
- });
709
- Object.defineProperty(exports, 'filterAs', {
710
- enumerable: true,
711
- get: function () {
712
- return filterAs;
713
- }
714
- });
715
- Object.defineProperty(exports, 'filterNull', {
716
- enumerable: true,
717
- get: function () {
718
- return filterNull;
719
- }
720
- });
721
- Object.defineProperty(exports, 'getLogger', {
722
- enumerable: true,
723
- get: function () {
724
- return getLogger;
725
- }
726
- });
727
- Object.defineProperty(exports, 'getValueFrom', {
728
- enumerable: true,
729
- get: function () {
730
- return getValueFrom;
731
- }
732
- });
733
- Object.defineProperty(exports, 'ifIsMap', {
734
- enumerable: true,
735
- get: function () {
736
- return ifIsMap;
737
- }
738
- });
739
- Object.defineProperty(exports, 'setDebugOptions', {
740
- enumerable: true,
741
- get: function () {
742
- return setDebugOptions;
743
- }
744
- });
745
- Object.defineProperty(exports, 'setLogLevel', {
746
- enumerable: true,
747
- get: function () {
748
- return setLogLevel;
749
- }
750
- });
751
- Object.defineProperty(exports, 'setLogger', {
752
- enumerable: true,
753
- get: function () {
754
- return setLogger;
755
- }
756
- });
757
- Object.defineProperty(exports, 'throwOnRPCError', {
758
- enumerable: true,
759
- get: function () {
760
- return throwOnRPCError;
761
- }
762
- });
763
- //# sourceMappingURL=operators-D6a2J1KA.cjs.map