@expressms/smartapp-sdk 1.3.2 → 1.4.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 (38) hide show
  1. package/README.md +82 -52
  2. package/build/main/index.d.ts +1 -1
  3. package/build/main/index.js +2 -2
  4. package/build/main/lib/client/index.d.ts +1 -1
  5. package/build/main/lib/client/index.js +2 -2
  6. package/build/main/lib/contacts/index.d.ts +1 -2
  7. package/build/main/lib/contacts/index.js +1 -1
  8. package/build/main/lib/index.d.ts +1 -4
  9. package/build/main/lib/index.js +1 -4
  10. package/build/main/lib/logging/index.d.ts +2 -2
  11. package/build/main/lib/logging/index.js +3 -3
  12. package/build/main/lib/notification/index.d.ts +0 -3
  13. package/build/main/lib/notification/index.js +1 -4
  14. package/build/main/types/bridge.d.ts +1 -1
  15. package/build/main/types/client.d.ts +3 -3
  16. package/build/main/types/contacts.d.ts +2 -2
  17. package/build/main/types/index.d.ts +4 -4
  18. package/build/module/index.d.ts +1 -1
  19. package/build/module/index.js +2 -2
  20. package/build/module/lib/client/index.d.ts +1 -1
  21. package/build/module/lib/client/index.js +2 -2
  22. package/build/module/lib/contacts/index.d.ts +1 -2
  23. package/build/module/lib/contacts/index.js +1 -1
  24. package/build/module/lib/index.d.ts +1 -4
  25. package/build/module/lib/index.js +3 -6
  26. package/build/module/lib/logging/index.d.ts +2 -2
  27. package/build/module/lib/logging/index.js +4 -4
  28. package/build/module/lib/notification/index.d.ts +0 -3
  29. package/build/module/lib/notification/index.js +3 -6
  30. package/build/module/lib/routing/index.js +1 -1
  31. package/build/module/types/bridge.d.ts +1 -1
  32. package/build/module/types/client.d.ts +3 -3
  33. package/build/module/types/contacts.d.ts +2 -2
  34. package/build/module/types/index.d.ts +4 -4
  35. package/build/module/types/index.js +4 -4
  36. package/build/umd/index.js +815 -18
  37. package/package.json +13 -21
  38. package/workers/workbox.js +0 -80
@@ -1,13 +1,8 @@
1
1
  (function (global, factory) {
2
- typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('lodash/camelCase'), require('lodash/snakeCase')) :
3
- typeof define === 'function' && define.amd ? define(['exports', 'lodash/camelCase', 'lodash/snakeCase'], factory) :
4
- (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.SmartAppBridge = {}, global.camelCase, global.snakeCase));
5
- })(this, (function (exports, camelCase, snakeCase) { 'use strict';
6
-
7
- function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
8
-
9
- var camelCase__default = /*#__PURE__*/_interopDefaultLegacy(camelCase);
10
- var snakeCase__default = /*#__PURE__*/_interopDefaultLegacy(snakeCase);
2
+ typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
3
+ typeof define === 'function' && define.amd ? define(['exports'], factory) :
4
+ (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.SmartAppBridge = {}));
5
+ })(this, (function (exports) { 'use strict';
11
6
 
12
7
  var PLATFORM;
13
8
  (function (PLATFORM) {
@@ -135,6 +130,814 @@
135
130
  return stringify(rnds);
136
131
  }
137
132
 
133
+ /** Detect free variable `global` from Node.js. */
134
+ var freeGlobal = typeof global == 'object' && global && global.Object === Object && global;
135
+
136
+ var freeGlobal$1 = freeGlobal;
137
+
138
+ /** Detect free variable `self`. */
139
+ var freeSelf = typeof self == 'object' && self && self.Object === Object && self;
140
+
141
+ /** Used as a reference to the global object. */
142
+ var root = freeGlobal$1 || freeSelf || Function('return this')();
143
+
144
+ var root$1 = root;
145
+
146
+ /** Built-in value references. */
147
+ var Symbol = root$1.Symbol;
148
+
149
+ var Symbol$1 = Symbol;
150
+
151
+ /** Used for built-in method references. */
152
+ var objectProto$1 = Object.prototype;
153
+
154
+ /** Used to check objects for own properties. */
155
+ var hasOwnProperty = objectProto$1.hasOwnProperty;
156
+
157
+ /**
158
+ * Used to resolve the
159
+ * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
160
+ * of values.
161
+ */
162
+ var nativeObjectToString$1 = objectProto$1.toString;
163
+
164
+ /** Built-in value references. */
165
+ var symToStringTag$1 = Symbol$1 ? Symbol$1.toStringTag : undefined;
166
+
167
+ /**
168
+ * A specialized version of `baseGetTag` which ignores `Symbol.toStringTag` values.
169
+ *
170
+ * @private
171
+ * @param {*} value The value to query.
172
+ * @returns {string} Returns the raw `toStringTag`.
173
+ */
174
+ function getRawTag(value) {
175
+ var isOwn = hasOwnProperty.call(value, symToStringTag$1),
176
+ tag = value[symToStringTag$1];
177
+
178
+ try {
179
+ value[symToStringTag$1] = undefined;
180
+ var unmasked = true;
181
+ } catch (e) {}
182
+
183
+ var result = nativeObjectToString$1.call(value);
184
+ if (unmasked) {
185
+ if (isOwn) {
186
+ value[symToStringTag$1] = tag;
187
+ } else {
188
+ delete value[symToStringTag$1];
189
+ }
190
+ }
191
+ return result;
192
+ }
193
+
194
+ /** Used for built-in method references. */
195
+ var objectProto = Object.prototype;
196
+
197
+ /**
198
+ * Used to resolve the
199
+ * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
200
+ * of values.
201
+ */
202
+ var nativeObjectToString = objectProto.toString;
203
+
204
+ /**
205
+ * Converts `value` to a string using `Object.prototype.toString`.
206
+ *
207
+ * @private
208
+ * @param {*} value The value to convert.
209
+ * @returns {string} Returns the converted string.
210
+ */
211
+ function objectToString(value) {
212
+ return nativeObjectToString.call(value);
213
+ }
214
+
215
+ /** `Object#toString` result references. */
216
+ var nullTag = '[object Null]',
217
+ undefinedTag = '[object Undefined]';
218
+
219
+ /** Built-in value references. */
220
+ var symToStringTag = Symbol$1 ? Symbol$1.toStringTag : undefined;
221
+
222
+ /**
223
+ * The base implementation of `getTag` without fallbacks for buggy environments.
224
+ *
225
+ * @private
226
+ * @param {*} value The value to query.
227
+ * @returns {string} Returns the `toStringTag`.
228
+ */
229
+ function baseGetTag(value) {
230
+ if (value == null) {
231
+ return value === undefined ? undefinedTag : nullTag;
232
+ }
233
+ return (symToStringTag && symToStringTag in Object(value))
234
+ ? getRawTag(value)
235
+ : objectToString(value);
236
+ }
237
+
238
+ /**
239
+ * Checks if `value` is object-like. A value is object-like if it's not `null`
240
+ * and has a `typeof` result of "object".
241
+ *
242
+ * @static
243
+ * @memberOf _
244
+ * @since 4.0.0
245
+ * @category Lang
246
+ * @param {*} value The value to check.
247
+ * @returns {boolean} Returns `true` if `value` is object-like, else `false`.
248
+ * @example
249
+ *
250
+ * _.isObjectLike({});
251
+ * // => true
252
+ *
253
+ * _.isObjectLike([1, 2, 3]);
254
+ * // => true
255
+ *
256
+ * _.isObjectLike(_.noop);
257
+ * // => false
258
+ *
259
+ * _.isObjectLike(null);
260
+ * // => false
261
+ */
262
+ function isObjectLike(value) {
263
+ return value != null && typeof value == 'object';
264
+ }
265
+
266
+ /** `Object#toString` result references. */
267
+ var symbolTag = '[object Symbol]';
268
+
269
+ /**
270
+ * Checks if `value` is classified as a `Symbol` primitive or object.
271
+ *
272
+ * @static
273
+ * @memberOf _
274
+ * @since 4.0.0
275
+ * @category Lang
276
+ * @param {*} value The value to check.
277
+ * @returns {boolean} Returns `true` if `value` is a symbol, else `false`.
278
+ * @example
279
+ *
280
+ * _.isSymbol(Symbol.iterator);
281
+ * // => true
282
+ *
283
+ * _.isSymbol('abc');
284
+ * // => false
285
+ */
286
+ function isSymbol(value) {
287
+ return typeof value == 'symbol' ||
288
+ (isObjectLike(value) && baseGetTag(value) == symbolTag);
289
+ }
290
+
291
+ /**
292
+ * A specialized version of `_.map` for arrays without support for iteratee
293
+ * shorthands.
294
+ *
295
+ * @private
296
+ * @param {Array} [array] The array to iterate over.
297
+ * @param {Function} iteratee The function invoked per iteration.
298
+ * @returns {Array} Returns the new mapped array.
299
+ */
300
+ function arrayMap(array, iteratee) {
301
+ var index = -1,
302
+ length = array == null ? 0 : array.length,
303
+ result = Array(length);
304
+
305
+ while (++index < length) {
306
+ result[index] = iteratee(array[index], index, array);
307
+ }
308
+ return result;
309
+ }
310
+
311
+ /**
312
+ * Checks if `value` is classified as an `Array` object.
313
+ *
314
+ * @static
315
+ * @memberOf _
316
+ * @since 0.1.0
317
+ * @category Lang
318
+ * @param {*} value The value to check.
319
+ * @returns {boolean} Returns `true` if `value` is an array, else `false`.
320
+ * @example
321
+ *
322
+ * _.isArray([1, 2, 3]);
323
+ * // => true
324
+ *
325
+ * _.isArray(document.body.children);
326
+ * // => false
327
+ *
328
+ * _.isArray('abc');
329
+ * // => false
330
+ *
331
+ * _.isArray(_.noop);
332
+ * // => false
333
+ */
334
+ var isArray = Array.isArray;
335
+
336
+ var isArray$1 = isArray;
337
+
338
+ /** Used as references for various `Number` constants. */
339
+ var INFINITY = 1 / 0;
340
+
341
+ /** Used to convert symbols to primitives and strings. */
342
+ var symbolProto = Symbol$1 ? Symbol$1.prototype : undefined,
343
+ symbolToString = symbolProto ? symbolProto.toString : undefined;
344
+
345
+ /**
346
+ * The base implementation of `_.toString` which doesn't convert nullish
347
+ * values to empty strings.
348
+ *
349
+ * @private
350
+ * @param {*} value The value to process.
351
+ * @returns {string} Returns the string.
352
+ */
353
+ function baseToString(value) {
354
+ // Exit early for strings to avoid a performance hit in some environments.
355
+ if (typeof value == 'string') {
356
+ return value;
357
+ }
358
+ if (isArray$1(value)) {
359
+ // Recursively convert values (susceptible to call stack limits).
360
+ return arrayMap(value, baseToString) + '';
361
+ }
362
+ if (isSymbol(value)) {
363
+ return symbolToString ? symbolToString.call(value) : '';
364
+ }
365
+ var result = (value + '');
366
+ return (result == '0' && (1 / value) == -INFINITY) ? '-0' : result;
367
+ }
368
+
369
+ /**
370
+ * Converts `value` to a string. An empty string is returned for `null`
371
+ * and `undefined` values. The sign of `-0` is preserved.
372
+ *
373
+ * @static
374
+ * @memberOf _
375
+ * @since 4.0.0
376
+ * @category Lang
377
+ * @param {*} value The value to convert.
378
+ * @returns {string} Returns the converted string.
379
+ * @example
380
+ *
381
+ * _.toString(null);
382
+ * // => ''
383
+ *
384
+ * _.toString(-0);
385
+ * // => '-0'
386
+ *
387
+ * _.toString([1, 2, 3]);
388
+ * // => '1,2,3'
389
+ */
390
+ function toString(value) {
391
+ return value == null ? '' : baseToString(value);
392
+ }
393
+
394
+ /**
395
+ * The base implementation of `_.slice` without an iteratee call guard.
396
+ *
397
+ * @private
398
+ * @param {Array} array The array to slice.
399
+ * @param {number} [start=0] The start position.
400
+ * @param {number} [end=array.length] The end position.
401
+ * @returns {Array} Returns the slice of `array`.
402
+ */
403
+ function baseSlice(array, start, end) {
404
+ var index = -1,
405
+ length = array.length;
406
+
407
+ if (start < 0) {
408
+ start = -start > length ? 0 : (length + start);
409
+ }
410
+ end = end > length ? length : end;
411
+ if (end < 0) {
412
+ end += length;
413
+ }
414
+ length = start > end ? 0 : ((end - start) >>> 0);
415
+ start >>>= 0;
416
+
417
+ var result = Array(length);
418
+ while (++index < length) {
419
+ result[index] = array[index + start];
420
+ }
421
+ return result;
422
+ }
423
+
424
+ /**
425
+ * Casts `array` to a slice if it's needed.
426
+ *
427
+ * @private
428
+ * @param {Array} array The array to inspect.
429
+ * @param {number} start The start position.
430
+ * @param {number} [end=array.length] The end position.
431
+ * @returns {Array} Returns the cast slice.
432
+ */
433
+ function castSlice(array, start, end) {
434
+ var length = array.length;
435
+ end = end === undefined ? length : end;
436
+ return (!start && end >= length) ? array : baseSlice(array, start, end);
437
+ }
438
+
439
+ /** Used to compose unicode character classes. */
440
+ var rsAstralRange$2 = '\\ud800-\\udfff',
441
+ rsComboMarksRange$3 = '\\u0300-\\u036f',
442
+ reComboHalfMarksRange$3 = '\\ufe20-\\ufe2f',
443
+ rsComboSymbolsRange$3 = '\\u20d0-\\u20ff',
444
+ rsComboRange$3 = rsComboMarksRange$3 + reComboHalfMarksRange$3 + rsComboSymbolsRange$3,
445
+ rsVarRange$2 = '\\ufe0e\\ufe0f';
446
+
447
+ /** Used to compose unicode capture groups. */
448
+ var rsZWJ$2 = '\\u200d';
449
+
450
+ /** Used to detect strings with [zero-width joiners or code points from the astral planes](http://eev.ee/blog/2015/09/12/dark-corners-of-unicode/). */
451
+ var reHasUnicode = RegExp('[' + rsZWJ$2 + rsAstralRange$2 + rsComboRange$3 + rsVarRange$2 + ']');
452
+
453
+ /**
454
+ * Checks if `string` contains Unicode symbols.
455
+ *
456
+ * @private
457
+ * @param {string} string The string to inspect.
458
+ * @returns {boolean} Returns `true` if a symbol is found, else `false`.
459
+ */
460
+ function hasUnicode(string) {
461
+ return reHasUnicode.test(string);
462
+ }
463
+
464
+ /**
465
+ * Converts an ASCII `string` to an array.
466
+ *
467
+ * @private
468
+ * @param {string} string The string to convert.
469
+ * @returns {Array} Returns the converted array.
470
+ */
471
+ function asciiToArray(string) {
472
+ return string.split('');
473
+ }
474
+
475
+ /** Used to compose unicode character classes. */
476
+ var rsAstralRange$1 = '\\ud800-\\udfff',
477
+ rsComboMarksRange$2 = '\\u0300-\\u036f',
478
+ reComboHalfMarksRange$2 = '\\ufe20-\\ufe2f',
479
+ rsComboSymbolsRange$2 = '\\u20d0-\\u20ff',
480
+ rsComboRange$2 = rsComboMarksRange$2 + reComboHalfMarksRange$2 + rsComboSymbolsRange$2,
481
+ rsVarRange$1 = '\\ufe0e\\ufe0f';
482
+
483
+ /** Used to compose unicode capture groups. */
484
+ var rsAstral = '[' + rsAstralRange$1 + ']',
485
+ rsCombo$2 = '[' + rsComboRange$2 + ']',
486
+ rsFitz$1 = '\\ud83c[\\udffb-\\udfff]',
487
+ rsModifier$1 = '(?:' + rsCombo$2 + '|' + rsFitz$1 + ')',
488
+ rsNonAstral$1 = '[^' + rsAstralRange$1 + ']',
489
+ rsRegional$1 = '(?:\\ud83c[\\udde6-\\uddff]){2}',
490
+ rsSurrPair$1 = '[\\ud800-\\udbff][\\udc00-\\udfff]',
491
+ rsZWJ$1 = '\\u200d';
492
+
493
+ /** Used to compose unicode regexes. */
494
+ var reOptMod$1 = rsModifier$1 + '?',
495
+ rsOptVar$1 = '[' + rsVarRange$1 + ']?',
496
+ rsOptJoin$1 = '(?:' + rsZWJ$1 + '(?:' + [rsNonAstral$1, rsRegional$1, rsSurrPair$1].join('|') + ')' + rsOptVar$1 + reOptMod$1 + ')*',
497
+ rsSeq$1 = rsOptVar$1 + reOptMod$1 + rsOptJoin$1,
498
+ rsSymbol = '(?:' + [rsNonAstral$1 + rsCombo$2 + '?', rsCombo$2, rsRegional$1, rsSurrPair$1, rsAstral].join('|') + ')';
499
+
500
+ /** Used to match [string symbols](https://mathiasbynens.be/notes/javascript-unicode). */
501
+ var reUnicode = RegExp(rsFitz$1 + '(?=' + rsFitz$1 + ')|' + rsSymbol + rsSeq$1, 'g');
502
+
503
+ /**
504
+ * Converts a Unicode `string` to an array.
505
+ *
506
+ * @private
507
+ * @param {string} string The string to convert.
508
+ * @returns {Array} Returns the converted array.
509
+ */
510
+ function unicodeToArray(string) {
511
+ return string.match(reUnicode) || [];
512
+ }
513
+
514
+ /**
515
+ * Converts `string` to an array.
516
+ *
517
+ * @private
518
+ * @param {string} string The string to convert.
519
+ * @returns {Array} Returns the converted array.
520
+ */
521
+ function stringToArray(string) {
522
+ return hasUnicode(string)
523
+ ? unicodeToArray(string)
524
+ : asciiToArray(string);
525
+ }
526
+
527
+ /**
528
+ * Creates a function like `_.lowerFirst`.
529
+ *
530
+ * @private
531
+ * @param {string} methodName The name of the `String` case method to use.
532
+ * @returns {Function} Returns the new case function.
533
+ */
534
+ function createCaseFirst(methodName) {
535
+ return function(string) {
536
+ string = toString(string);
537
+
538
+ var strSymbols = hasUnicode(string)
539
+ ? stringToArray(string)
540
+ : undefined;
541
+
542
+ var chr = strSymbols
543
+ ? strSymbols[0]
544
+ : string.charAt(0);
545
+
546
+ var trailing = strSymbols
547
+ ? castSlice(strSymbols, 1).join('')
548
+ : string.slice(1);
549
+
550
+ return chr[methodName]() + trailing;
551
+ };
552
+ }
553
+
554
+ /**
555
+ * Converts the first character of `string` to upper case.
556
+ *
557
+ * @static
558
+ * @memberOf _
559
+ * @since 4.0.0
560
+ * @category String
561
+ * @param {string} [string=''] The string to convert.
562
+ * @returns {string} Returns the converted string.
563
+ * @example
564
+ *
565
+ * _.upperFirst('fred');
566
+ * // => 'Fred'
567
+ *
568
+ * _.upperFirst('FRED');
569
+ * // => 'FRED'
570
+ */
571
+ var upperFirst = createCaseFirst('toUpperCase');
572
+
573
+ var upperFirst$1 = upperFirst;
574
+
575
+ /**
576
+ * Converts the first character of `string` to upper case and the remaining
577
+ * to lower case.
578
+ *
579
+ * @static
580
+ * @memberOf _
581
+ * @since 3.0.0
582
+ * @category String
583
+ * @param {string} [string=''] The string to capitalize.
584
+ * @returns {string} Returns the capitalized string.
585
+ * @example
586
+ *
587
+ * _.capitalize('FRED');
588
+ * // => 'Fred'
589
+ */
590
+ function capitalize(string) {
591
+ return upperFirst$1(toString(string).toLowerCase());
592
+ }
593
+
594
+ /**
595
+ * A specialized version of `_.reduce` for arrays without support for
596
+ * iteratee shorthands.
597
+ *
598
+ * @private
599
+ * @param {Array} [array] The array to iterate over.
600
+ * @param {Function} iteratee The function invoked per iteration.
601
+ * @param {*} [accumulator] The initial value.
602
+ * @param {boolean} [initAccum] Specify using the first element of `array` as
603
+ * the initial value.
604
+ * @returns {*} Returns the accumulated value.
605
+ */
606
+ function arrayReduce(array, iteratee, accumulator, initAccum) {
607
+ var index = -1,
608
+ length = array == null ? 0 : array.length;
609
+
610
+ if (initAccum && length) {
611
+ accumulator = array[++index];
612
+ }
613
+ while (++index < length) {
614
+ accumulator = iteratee(accumulator, array[index], index, array);
615
+ }
616
+ return accumulator;
617
+ }
618
+
619
+ /**
620
+ * The base implementation of `_.propertyOf` without support for deep paths.
621
+ *
622
+ * @private
623
+ * @param {Object} object The object to query.
624
+ * @returns {Function} Returns the new accessor function.
625
+ */
626
+ function basePropertyOf(object) {
627
+ return function(key) {
628
+ return object == null ? undefined : object[key];
629
+ };
630
+ }
631
+
632
+ /** Used to map Latin Unicode letters to basic Latin letters. */
633
+ var deburredLetters = {
634
+ // Latin-1 Supplement block.
635
+ '\xc0': 'A', '\xc1': 'A', '\xc2': 'A', '\xc3': 'A', '\xc4': 'A', '\xc5': 'A',
636
+ '\xe0': 'a', '\xe1': 'a', '\xe2': 'a', '\xe3': 'a', '\xe4': 'a', '\xe5': 'a',
637
+ '\xc7': 'C', '\xe7': 'c',
638
+ '\xd0': 'D', '\xf0': 'd',
639
+ '\xc8': 'E', '\xc9': 'E', '\xca': 'E', '\xcb': 'E',
640
+ '\xe8': 'e', '\xe9': 'e', '\xea': 'e', '\xeb': 'e',
641
+ '\xcc': 'I', '\xcd': 'I', '\xce': 'I', '\xcf': 'I',
642
+ '\xec': 'i', '\xed': 'i', '\xee': 'i', '\xef': 'i',
643
+ '\xd1': 'N', '\xf1': 'n',
644
+ '\xd2': 'O', '\xd3': 'O', '\xd4': 'O', '\xd5': 'O', '\xd6': 'O', '\xd8': 'O',
645
+ '\xf2': 'o', '\xf3': 'o', '\xf4': 'o', '\xf5': 'o', '\xf6': 'o', '\xf8': 'o',
646
+ '\xd9': 'U', '\xda': 'U', '\xdb': 'U', '\xdc': 'U',
647
+ '\xf9': 'u', '\xfa': 'u', '\xfb': 'u', '\xfc': 'u',
648
+ '\xdd': 'Y', '\xfd': 'y', '\xff': 'y',
649
+ '\xc6': 'Ae', '\xe6': 'ae',
650
+ '\xde': 'Th', '\xfe': 'th',
651
+ '\xdf': 'ss',
652
+ // Latin Extended-A block.
653
+ '\u0100': 'A', '\u0102': 'A', '\u0104': 'A',
654
+ '\u0101': 'a', '\u0103': 'a', '\u0105': 'a',
655
+ '\u0106': 'C', '\u0108': 'C', '\u010a': 'C', '\u010c': 'C',
656
+ '\u0107': 'c', '\u0109': 'c', '\u010b': 'c', '\u010d': 'c',
657
+ '\u010e': 'D', '\u0110': 'D', '\u010f': 'd', '\u0111': 'd',
658
+ '\u0112': 'E', '\u0114': 'E', '\u0116': 'E', '\u0118': 'E', '\u011a': 'E',
659
+ '\u0113': 'e', '\u0115': 'e', '\u0117': 'e', '\u0119': 'e', '\u011b': 'e',
660
+ '\u011c': 'G', '\u011e': 'G', '\u0120': 'G', '\u0122': 'G',
661
+ '\u011d': 'g', '\u011f': 'g', '\u0121': 'g', '\u0123': 'g',
662
+ '\u0124': 'H', '\u0126': 'H', '\u0125': 'h', '\u0127': 'h',
663
+ '\u0128': 'I', '\u012a': 'I', '\u012c': 'I', '\u012e': 'I', '\u0130': 'I',
664
+ '\u0129': 'i', '\u012b': 'i', '\u012d': 'i', '\u012f': 'i', '\u0131': 'i',
665
+ '\u0134': 'J', '\u0135': 'j',
666
+ '\u0136': 'K', '\u0137': 'k', '\u0138': 'k',
667
+ '\u0139': 'L', '\u013b': 'L', '\u013d': 'L', '\u013f': 'L', '\u0141': 'L',
668
+ '\u013a': 'l', '\u013c': 'l', '\u013e': 'l', '\u0140': 'l', '\u0142': 'l',
669
+ '\u0143': 'N', '\u0145': 'N', '\u0147': 'N', '\u014a': 'N',
670
+ '\u0144': 'n', '\u0146': 'n', '\u0148': 'n', '\u014b': 'n',
671
+ '\u014c': 'O', '\u014e': 'O', '\u0150': 'O',
672
+ '\u014d': 'o', '\u014f': 'o', '\u0151': 'o',
673
+ '\u0154': 'R', '\u0156': 'R', '\u0158': 'R',
674
+ '\u0155': 'r', '\u0157': 'r', '\u0159': 'r',
675
+ '\u015a': 'S', '\u015c': 'S', '\u015e': 'S', '\u0160': 'S',
676
+ '\u015b': 's', '\u015d': 's', '\u015f': 's', '\u0161': 's',
677
+ '\u0162': 'T', '\u0164': 'T', '\u0166': 'T',
678
+ '\u0163': 't', '\u0165': 't', '\u0167': 't',
679
+ '\u0168': 'U', '\u016a': 'U', '\u016c': 'U', '\u016e': 'U', '\u0170': 'U', '\u0172': 'U',
680
+ '\u0169': 'u', '\u016b': 'u', '\u016d': 'u', '\u016f': 'u', '\u0171': 'u', '\u0173': 'u',
681
+ '\u0174': 'W', '\u0175': 'w',
682
+ '\u0176': 'Y', '\u0177': 'y', '\u0178': 'Y',
683
+ '\u0179': 'Z', '\u017b': 'Z', '\u017d': 'Z',
684
+ '\u017a': 'z', '\u017c': 'z', '\u017e': 'z',
685
+ '\u0132': 'IJ', '\u0133': 'ij',
686
+ '\u0152': 'Oe', '\u0153': 'oe',
687
+ '\u0149': "'n", '\u017f': 's'
688
+ };
689
+
690
+ /**
691
+ * Used by `_.deburr` to convert Latin-1 Supplement and Latin Extended-A
692
+ * letters to basic Latin letters.
693
+ *
694
+ * @private
695
+ * @param {string} letter The matched letter to deburr.
696
+ * @returns {string} Returns the deburred letter.
697
+ */
698
+ var deburrLetter = basePropertyOf(deburredLetters);
699
+
700
+ var deburrLetter$1 = deburrLetter;
701
+
702
+ /** Used to match Latin Unicode letters (excluding mathematical operators). */
703
+ var reLatin = /[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g;
704
+
705
+ /** Used to compose unicode character classes. */
706
+ var rsComboMarksRange$1 = '\\u0300-\\u036f',
707
+ reComboHalfMarksRange$1 = '\\ufe20-\\ufe2f',
708
+ rsComboSymbolsRange$1 = '\\u20d0-\\u20ff',
709
+ rsComboRange$1 = rsComboMarksRange$1 + reComboHalfMarksRange$1 + rsComboSymbolsRange$1;
710
+
711
+ /** Used to compose unicode capture groups. */
712
+ var rsCombo$1 = '[' + rsComboRange$1 + ']';
713
+
714
+ /**
715
+ * Used to match [combining diacritical marks](https://en.wikipedia.org/wiki/Combining_Diacritical_Marks) and
716
+ * [combining diacritical marks for symbols](https://en.wikipedia.org/wiki/Combining_Diacritical_Marks_for_Symbols).
717
+ */
718
+ var reComboMark = RegExp(rsCombo$1, 'g');
719
+
720
+ /**
721
+ * Deburrs `string` by converting
722
+ * [Latin-1 Supplement](https://en.wikipedia.org/wiki/Latin-1_Supplement_(Unicode_block)#Character_table)
723
+ * and [Latin Extended-A](https://en.wikipedia.org/wiki/Latin_Extended-A)
724
+ * letters to basic Latin letters and removing
725
+ * [combining diacritical marks](https://en.wikipedia.org/wiki/Combining_Diacritical_Marks).
726
+ *
727
+ * @static
728
+ * @memberOf _
729
+ * @since 3.0.0
730
+ * @category String
731
+ * @param {string} [string=''] The string to deburr.
732
+ * @returns {string} Returns the deburred string.
733
+ * @example
734
+ *
735
+ * _.deburr('déjà vu');
736
+ * // => 'deja vu'
737
+ */
738
+ function deburr(string) {
739
+ string = toString(string);
740
+ return string && string.replace(reLatin, deburrLetter$1).replace(reComboMark, '');
741
+ }
742
+
743
+ /** Used to match words composed of alphanumeric characters. */
744
+ var reAsciiWord = /[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;
745
+
746
+ /**
747
+ * Splits an ASCII `string` into an array of its words.
748
+ *
749
+ * @private
750
+ * @param {string} The string to inspect.
751
+ * @returns {Array} Returns the words of `string`.
752
+ */
753
+ function asciiWords(string) {
754
+ return string.match(reAsciiWord) || [];
755
+ }
756
+
757
+ /** Used to detect strings that need a more robust regexp to match words. */
758
+ var reHasUnicodeWord = /[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;
759
+
760
+ /**
761
+ * Checks if `string` contains a word composed of Unicode symbols.
762
+ *
763
+ * @private
764
+ * @param {string} string The string to inspect.
765
+ * @returns {boolean} Returns `true` if a word is found, else `false`.
766
+ */
767
+ function hasUnicodeWord(string) {
768
+ return reHasUnicodeWord.test(string);
769
+ }
770
+
771
+ /** Used to compose unicode character classes. */
772
+ var rsAstralRange = '\\ud800-\\udfff',
773
+ rsComboMarksRange = '\\u0300-\\u036f',
774
+ reComboHalfMarksRange = '\\ufe20-\\ufe2f',
775
+ rsComboSymbolsRange = '\\u20d0-\\u20ff',
776
+ rsComboRange = rsComboMarksRange + reComboHalfMarksRange + rsComboSymbolsRange,
777
+ rsDingbatRange = '\\u2700-\\u27bf',
778
+ rsLowerRange = 'a-z\\xdf-\\xf6\\xf8-\\xff',
779
+ rsMathOpRange = '\\xac\\xb1\\xd7\\xf7',
780
+ rsNonCharRange = '\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf',
781
+ rsPunctuationRange = '\\u2000-\\u206f',
782
+ rsSpaceRange = ' \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000',
783
+ rsUpperRange = 'A-Z\\xc0-\\xd6\\xd8-\\xde',
784
+ rsVarRange = '\\ufe0e\\ufe0f',
785
+ rsBreakRange = rsMathOpRange + rsNonCharRange + rsPunctuationRange + rsSpaceRange;
786
+
787
+ /** Used to compose unicode capture groups. */
788
+ var rsApos$1 = "['\u2019]",
789
+ rsBreak = '[' + rsBreakRange + ']',
790
+ rsCombo = '[' + rsComboRange + ']',
791
+ rsDigits = '\\d+',
792
+ rsDingbat = '[' + rsDingbatRange + ']',
793
+ rsLower = '[' + rsLowerRange + ']',
794
+ rsMisc = '[^' + rsAstralRange + rsBreakRange + rsDigits + rsDingbatRange + rsLowerRange + rsUpperRange + ']',
795
+ rsFitz = '\\ud83c[\\udffb-\\udfff]',
796
+ rsModifier = '(?:' + rsCombo + '|' + rsFitz + ')',
797
+ rsNonAstral = '[^' + rsAstralRange + ']',
798
+ rsRegional = '(?:\\ud83c[\\udde6-\\uddff]){2}',
799
+ rsSurrPair = '[\\ud800-\\udbff][\\udc00-\\udfff]',
800
+ rsUpper = '[' + rsUpperRange + ']',
801
+ rsZWJ = '\\u200d';
802
+
803
+ /** Used to compose unicode regexes. */
804
+ var rsMiscLower = '(?:' + rsLower + '|' + rsMisc + ')',
805
+ rsMiscUpper = '(?:' + rsUpper + '|' + rsMisc + ')',
806
+ rsOptContrLower = '(?:' + rsApos$1 + '(?:d|ll|m|re|s|t|ve))?',
807
+ rsOptContrUpper = '(?:' + rsApos$1 + '(?:D|LL|M|RE|S|T|VE))?',
808
+ reOptMod = rsModifier + '?',
809
+ rsOptVar = '[' + rsVarRange + ']?',
810
+ rsOptJoin = '(?:' + rsZWJ + '(?:' + [rsNonAstral, rsRegional, rsSurrPair].join('|') + ')' + rsOptVar + reOptMod + ')*',
811
+ rsOrdLower = '\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])',
812
+ rsOrdUpper = '\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])',
813
+ rsSeq = rsOptVar + reOptMod + rsOptJoin,
814
+ rsEmoji = '(?:' + [rsDingbat, rsRegional, rsSurrPair].join('|') + ')' + rsSeq;
815
+
816
+ /** Used to match complex or compound words. */
817
+ var reUnicodeWord = RegExp([
818
+ rsUpper + '?' + rsLower + '+' + rsOptContrLower + '(?=' + [rsBreak, rsUpper, '$'].join('|') + ')',
819
+ rsMiscUpper + '+' + rsOptContrUpper + '(?=' + [rsBreak, rsUpper + rsMiscLower, '$'].join('|') + ')',
820
+ rsUpper + '?' + rsMiscLower + '+' + rsOptContrLower,
821
+ rsUpper + '+' + rsOptContrUpper,
822
+ rsOrdUpper,
823
+ rsOrdLower,
824
+ rsDigits,
825
+ rsEmoji
826
+ ].join('|'), 'g');
827
+
828
+ /**
829
+ * Splits a Unicode `string` into an array of its words.
830
+ *
831
+ * @private
832
+ * @param {string} The string to inspect.
833
+ * @returns {Array} Returns the words of `string`.
834
+ */
835
+ function unicodeWords(string) {
836
+ return string.match(reUnicodeWord) || [];
837
+ }
838
+
839
+ /**
840
+ * Splits `string` into an array of its words.
841
+ *
842
+ * @static
843
+ * @memberOf _
844
+ * @since 3.0.0
845
+ * @category String
846
+ * @param {string} [string=''] The string to inspect.
847
+ * @param {RegExp|string} [pattern] The pattern to match words.
848
+ * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.
849
+ * @returns {Array} Returns the words of `string`.
850
+ * @example
851
+ *
852
+ * _.words('fred, barney, & pebbles');
853
+ * // => ['fred', 'barney', 'pebbles']
854
+ *
855
+ * _.words('fred, barney, & pebbles', /[^, ]+/g);
856
+ * // => ['fred', 'barney', '&', 'pebbles']
857
+ */
858
+ function words(string, pattern, guard) {
859
+ string = toString(string);
860
+ pattern = guard ? undefined : pattern;
861
+
862
+ if (pattern === undefined) {
863
+ return hasUnicodeWord(string) ? unicodeWords(string) : asciiWords(string);
864
+ }
865
+ return string.match(pattern) || [];
866
+ }
867
+
868
+ /** Used to compose unicode capture groups. */
869
+ var rsApos = "['\u2019]";
870
+
871
+ /** Used to match apostrophes. */
872
+ var reApos = RegExp(rsApos, 'g');
873
+
874
+ /**
875
+ * Creates a function like `_.camelCase`.
876
+ *
877
+ * @private
878
+ * @param {Function} callback The function to combine each word.
879
+ * @returns {Function} Returns the new compounder function.
880
+ */
881
+ function createCompounder(callback) {
882
+ return function(string) {
883
+ return arrayReduce(words(deburr(string).replace(reApos, '')), callback, '');
884
+ };
885
+ }
886
+
887
+ /**
888
+ * Converts `string` to [camel case](https://en.wikipedia.org/wiki/CamelCase).
889
+ *
890
+ * @static
891
+ * @memberOf _
892
+ * @since 3.0.0
893
+ * @category String
894
+ * @param {string} [string=''] The string to convert.
895
+ * @returns {string} Returns the camel cased string.
896
+ * @example
897
+ *
898
+ * _.camelCase('Foo Bar');
899
+ * // => 'fooBar'
900
+ *
901
+ * _.camelCase('--foo-bar--');
902
+ * // => 'fooBar'
903
+ *
904
+ * _.camelCase('__FOO_BAR__');
905
+ * // => 'fooBar'
906
+ */
907
+ var camelCase = createCompounder(function(result, word, index) {
908
+ word = word.toLowerCase();
909
+ return result + (index ? capitalize(word) : word);
910
+ });
911
+
912
+ var camelCase$1 = camelCase;
913
+
914
+ /**
915
+ * Converts `string` to
916
+ * [snake case](https://en.wikipedia.org/wiki/Snake_case).
917
+ *
918
+ * @static
919
+ * @memberOf _
920
+ * @since 3.0.0
921
+ * @category String
922
+ * @param {string} [string=''] The string to convert.
923
+ * @returns {string} Returns the snake cased string.
924
+ * @example
925
+ *
926
+ * _.snakeCase('Foo Bar');
927
+ * // => 'foo_bar'
928
+ *
929
+ * _.snakeCase('fooBar');
930
+ * // => 'foo_bar'
931
+ *
932
+ * _.snakeCase('--FOO-BAR--');
933
+ * // => 'foo_bar'
934
+ */
935
+ var snakeCase = createCompounder(function(result, word, index) {
936
+ return result + (index ? '_' : '') + word.toLowerCase();
937
+ });
938
+
939
+ var snakeCase$1 = snakeCase;
940
+
138
941
  /* eslint-disable @typescript-eslint/no-explicit-any */
139
942
  const isUuid = (value) => {
140
943
  return /[0-9a-fA-F-]{32}/.test(value);
@@ -146,7 +949,7 @@
146
949
  return data;
147
950
  return Object.keys(data).reduce((result, key) => {
148
951
  const value = snakeCaseToCamelCase(data[key]);
149
- const keyValue = isUuid(key) ? key : camelCase__default["default"](key);
952
+ const keyValue = isUuid(key) ? key : camelCase$1(key);
150
953
  return { ...result, [keyValue]: value };
151
954
  }, {});
152
955
  };
@@ -157,7 +960,7 @@
157
960
  return data;
158
961
  return Object.keys(data).reduce((result, key) => {
159
962
  const value = camelCaseToSnakeCase(data[key]);
160
- return { ...result, [snakeCase__default["default"](key)]: value };
963
+ return { ...result, [snakeCase$1(key)]: value };
161
964
  }, {});
162
965
  };
163
966
 
@@ -1094,7 +1897,7 @@
1094
1897
  }
1095
1898
  }
1096
1899
 
1097
- const LIB_VERSION = "1.2.1";
1900
+ const LIB_VERSION = "1.2.3";
1098
1901
 
1099
1902
  const getBridge = () => {
1100
1903
  if (process.env.NODE_ENV === 'test')
@@ -1366,9 +2169,6 @@
1366
2169
  return Object.fromEntries(urlSearchParams.entries());
1367
2170
  };
1368
2171
 
1369
- /**
1370
- * @param timeout
1371
- */
1372
2172
  const bridgeSendReady = (timeout) => {
1373
2173
  const event = {
1374
2174
  method: METHODS.READY,
@@ -1387,9 +2187,6 @@
1387
2187
  return response;
1388
2188
  };
1389
2189
 
1390
- /**
1391
- * @param handleNotification
1392
- */
1393
2190
  const onNotification = async (handleNotification) => {
1394
2191
  const response = await bridge?.sendClientEvent({
1395
2192
  method: METHODS.NOTIFICATION,