@microsoft/teams-js 2.10.0-beta.1 → 2.10.0-beta.2

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.
@@ -11,176 +11,7 @@
11
11
  return /******/ (() => { // webpackBootstrap
12
12
  /******/ var __webpack_modules__ = ({
13
13
 
14
- /***/ 881:
15
- /***/ ((module) => {
16
-
17
- /**
18
- * Helpers.
19
- */
20
-
21
- var s = 1000;
22
- var m = s * 60;
23
- var h = m * 60;
24
- var d = h * 24;
25
- var w = d * 7;
26
- var y = d * 365.25;
27
-
28
- /**
29
- * Parse or format the given `val`.
30
- *
31
- * Options:
32
- *
33
- * - `long` verbose formatting [false]
34
- *
35
- * @param {String|Number} val
36
- * @param {Object} [options]
37
- * @throws {Error} throw an error if val is not a non-empty string or a number
38
- * @return {String|Number}
39
- * @api public
40
- */
41
-
42
- module.exports = function(val, options) {
43
- options = options || {};
44
- var type = typeof val;
45
- if (type === 'string' && val.length > 0) {
46
- return parse(val);
47
- } else if (type === 'number' && isFinite(val)) {
48
- return options.long ? fmtLong(val) : fmtShort(val);
49
- }
50
- throw new Error(
51
- 'val is not a non-empty string or a valid number. val=' +
52
- JSON.stringify(val)
53
- );
54
- };
55
-
56
- /**
57
- * Parse the given `str` and return milliseconds.
58
- *
59
- * @param {String} str
60
- * @return {Number}
61
- * @api private
62
- */
63
-
64
- function parse(str) {
65
- str = String(str);
66
- if (str.length > 100) {
67
- return;
68
- }
69
- var match = /^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(
70
- str
71
- );
72
- if (!match) {
73
- return;
74
- }
75
- var n = parseFloat(match[1]);
76
- var type = (match[2] || 'ms').toLowerCase();
77
- switch (type) {
78
- case 'years':
79
- case 'year':
80
- case 'yrs':
81
- case 'yr':
82
- case 'y':
83
- return n * y;
84
- case 'weeks':
85
- case 'week':
86
- case 'w':
87
- return n * w;
88
- case 'days':
89
- case 'day':
90
- case 'd':
91
- return n * d;
92
- case 'hours':
93
- case 'hour':
94
- case 'hrs':
95
- case 'hr':
96
- case 'h':
97
- return n * h;
98
- case 'minutes':
99
- case 'minute':
100
- case 'mins':
101
- case 'min':
102
- case 'm':
103
- return n * m;
104
- case 'seconds':
105
- case 'second':
106
- case 'secs':
107
- case 'sec':
108
- case 's':
109
- return n * s;
110
- case 'milliseconds':
111
- case 'millisecond':
112
- case 'msecs':
113
- case 'msec':
114
- case 'ms':
115
- return n;
116
- default:
117
- return undefined;
118
- }
119
- }
120
-
121
- /**
122
- * Short format for `ms`.
123
- *
124
- * @param {Number} ms
125
- * @return {String}
126
- * @api private
127
- */
128
-
129
- function fmtShort(ms) {
130
- var msAbs = Math.abs(ms);
131
- if (msAbs >= d) {
132
- return Math.round(ms / d) + 'd';
133
- }
134
- if (msAbs >= h) {
135
- return Math.round(ms / h) + 'h';
136
- }
137
- if (msAbs >= m) {
138
- return Math.round(ms / m) + 'm';
139
- }
140
- if (msAbs >= s) {
141
- return Math.round(ms / s) + 's';
142
- }
143
- return ms + 'ms';
144
- }
145
-
146
- /**
147
- * Long format for `ms`.
148
- *
149
- * @param {Number} ms
150
- * @return {String}
151
- * @api private
152
- */
153
-
154
- function fmtLong(ms) {
155
- var msAbs = Math.abs(ms);
156
- if (msAbs >= d) {
157
- return plural(ms, msAbs, d, 'day');
158
- }
159
- if (msAbs >= h) {
160
- return plural(ms, msAbs, h, 'hour');
161
- }
162
- if (msAbs >= m) {
163
- return plural(ms, msAbs, m, 'minute');
164
- }
165
- if (msAbs >= s) {
166
- return plural(ms, msAbs, s, 'second');
167
- }
168
- return ms + ' ms';
169
- }
170
-
171
- /**
172
- * Pluralization helper.
173
- */
174
-
175
- function plural(ms, msAbs, n, name) {
176
- var isPlural = msAbs >= n * 1.5;
177
- return Math.round(ms / n) + ' ' + name + (isPlural ? 's' : '');
178
- }
179
-
180
-
181
- /***/ }),
182
-
183
- /***/ 130:
14
+ /***/ 302:
184
15
  /***/ ((module, exports, __webpack_require__) => {
185
16
 
186
17
  /* eslint-env browser */
@@ -437,7 +268,7 @@ function localstorage() {
437
268
  }
438
269
  }
439
270
 
440
- module.exports = __webpack_require__(123)(exports);
271
+ module.exports = __webpack_require__(65)(exports);
441
272
 
442
273
  const {formatters} = module.exports;
443
274
 
@@ -456,7 +287,7 @@ formatters.j = function (v) {
456
287
 
457
288
  /***/ }),
458
289
 
459
- /***/ 123:
290
+ /***/ 65:
460
291
  /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
461
292
 
462
293
 
@@ -472,7 +303,7 @@ function setup(env) {
472
303
  createDebug.disable = disable;
473
304
  createDebug.enable = enable;
474
305
  createDebug.enabled = enabled;
475
- createDebug.humanize = __webpack_require__(881);
306
+ createDebug.humanize = __webpack_require__(247);
476
307
  createDebug.destroy = destroy;
477
308
 
478
309
  Object.keys(env).forEach(key => {
@@ -737,243 +568,171 @@ module.exports = setup;
737
568
 
738
569
  /***/ }),
739
570
 
740
- /***/ 22:
741
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
742
-
743
- var v1 = __webpack_require__(481);
744
- var v4 = __webpack_require__(426);
745
-
746
- var uuid = v4;
747
- uuid.v1 = v1;
748
- uuid.v4 = v4;
749
-
750
- module.exports = uuid;
751
-
752
-
753
- /***/ }),
754
-
755
- /***/ 725:
571
+ /***/ 247:
756
572
  /***/ ((module) => {
757
573
 
758
574
  /**
759
- * Convert array of 16 byte values to UUID string format of the form:
760
- * XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX
575
+ * Helpers.
761
576
  */
762
- var byteToHex = [];
763
- for (var i = 0; i < 256; ++i) {
764
- byteToHex[i] = (i + 0x100).toString(16).substr(1);
765
- }
766
-
767
- function bytesToUuid(buf, offset) {
768
- var i = offset || 0;
769
- var bth = byteToHex;
770
- // join used to fix memory issue caused by concatenation: https://bugs.chromium.org/p/v8/issues/detail?id=3175#c4
771
- return ([
772
- bth[buf[i++]], bth[buf[i++]],
773
- bth[buf[i++]], bth[buf[i++]], '-',
774
- bth[buf[i++]], bth[buf[i++]], '-',
775
- bth[buf[i++]], bth[buf[i++]], '-',
776
- bth[buf[i++]], bth[buf[i++]], '-',
777
- bth[buf[i++]], bth[buf[i++]],
778
- bth[buf[i++]], bth[buf[i++]],
779
- bth[buf[i++]], bth[buf[i++]]
780
- ]).join('');
781
- }
782
577
 
783
- module.exports = bytesToUuid;
784
-
785
-
786
- /***/ }),
787
-
788
- /***/ 157:
789
- /***/ ((module) => {
790
-
791
- // Unique ID creation requires a high quality random # generator. In the
792
- // browser this is a little complicated due to unknown quality of Math.random()
793
- // and inconsistent support for the `crypto` API. We do the best we can via
794
- // feature-detection
795
-
796
- // getRandomValues needs to be invoked in a context where "this" is a Crypto
797
- // implementation. Also, find the complete implementation of crypto on IE11.
798
- var getRandomValues = (typeof(crypto) != 'undefined' && crypto.getRandomValues && crypto.getRandomValues.bind(crypto)) ||
799
- (typeof(msCrypto) != 'undefined' && typeof window.msCrypto.getRandomValues == 'function' && msCrypto.getRandomValues.bind(msCrypto));
800
-
801
- if (getRandomValues) {
802
- // WHATWG crypto RNG - http://wiki.whatwg.org/wiki/Crypto
803
- var rnds8 = new Uint8Array(16); // eslint-disable-line no-undef
804
-
805
- module.exports = function whatwgRNG() {
806
- getRandomValues(rnds8);
807
- return rnds8;
808
- };
809
- } else {
810
- // Math.random()-based (RNG)
811
- //
812
- // If all else fails, use Math.random(). It's fast, but is of unspecified
813
- // quality.
814
- var rnds = new Array(16);
815
-
816
- module.exports = function mathRNG() {
817
- for (var i = 0, r; i < 16; i++) {
818
- if ((i & 0x03) === 0) r = Math.random() * 0x100000000;
819
- rnds[i] = r >>> ((i & 0x03) << 3) & 0xff;
820
- }
821
-
822
- return rnds;
823
- };
824
- }
825
-
826
-
827
- /***/ }),
828
-
829
- /***/ 481:
830
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
831
-
832
- var rng = __webpack_require__(157);
833
- var bytesToUuid = __webpack_require__(725);
834
-
835
- // **`v1()` - Generate time-based UUID**
836
- //
837
- // Inspired by https://github.com/LiosK/UUID.js
838
- // and http://docs.python.org/library/uuid.html
839
-
840
- var _nodeId;
841
- var _clockseq;
842
-
843
- // Previous uuid creation time
844
- var _lastMSecs = 0;
845
- var _lastNSecs = 0;
578
+ var s = 1000;
579
+ var m = s * 60;
580
+ var h = m * 60;
581
+ var d = h * 24;
582
+ var w = d * 7;
583
+ var y = d * 365.25;
846
584
 
847
- // See https://github.com/uuidjs/uuid for API details
848
- function v1(options, buf, offset) {
849
- var i = buf && offset || 0;
850
- var b = buf || [];
585
+ /**
586
+ * Parse or format the given `val`.
587
+ *
588
+ * Options:
589
+ *
590
+ * - `long` verbose formatting [false]
591
+ *
592
+ * @param {String|Number} val
593
+ * @param {Object} [options]
594
+ * @throws {Error} throw an error if val is not a non-empty string or a number
595
+ * @return {String|Number}
596
+ * @api public
597
+ */
851
598
 
599
+ module.exports = function(val, options) {
852
600
  options = options || {};
853
- var node = options.node || _nodeId;
854
- var clockseq = options.clockseq !== undefined ? options.clockseq : _clockseq;
855
-
856
- // node and clockseq need to be initialized to random values if they're not
857
- // specified. We do this lazily to minimize issues related to insufficient
858
- // system entropy. See #189
859
- if (node == null || clockseq == null) {
860
- var seedBytes = rng();
861
- if (node == null) {
862
- // Per 4.5, create and 48-bit node id, (47 random bits + multicast bit = 1)
863
- node = _nodeId = [
864
- seedBytes[0] | 0x01,
865
- seedBytes[1], seedBytes[2], seedBytes[3], seedBytes[4], seedBytes[5]
866
- ];
867
- }
868
- if (clockseq == null) {
869
- // Per 4.2.2, randomize (14 bit) clockseq
870
- clockseq = _clockseq = (seedBytes[6] << 8 | seedBytes[7]) & 0x3fff;
871
- }
601
+ var type = typeof val;
602
+ if (type === 'string' && val.length > 0) {
603
+ return parse(val);
604
+ } else if (type === 'number' && isFinite(val)) {
605
+ return options.long ? fmtLong(val) : fmtShort(val);
872
606
  }
607
+ throw new Error(
608
+ 'val is not a non-empty string or a valid number. val=' +
609
+ JSON.stringify(val)
610
+ );
611
+ };
873
612
 
874
- // UUID timestamps are 100 nano-second units since the Gregorian epoch,
875
- // (1582-10-15 00:00). JSNumbers aren't precise enough for this, so
876
- // time is handled internally as 'msecs' (integer milliseconds) and 'nsecs'
877
- // (100-nanoseconds offset from msecs) since unix epoch, 1970-01-01 00:00.
878
- var msecs = options.msecs !== undefined ? options.msecs : new Date().getTime();
879
-
880
- // Per 4.2.1.2, use count of uuid's generated during the current clock
881
- // cycle to simulate higher resolution clock
882
- var nsecs = options.nsecs !== undefined ? options.nsecs : _lastNSecs + 1;
883
-
884
- // Time since last uuid creation (in msecs)
885
- var dt = (msecs - _lastMSecs) + (nsecs - _lastNSecs)/10000;
613
+ /**
614
+ * Parse the given `str` and return milliseconds.
615
+ *
616
+ * @param {String} str
617
+ * @return {Number}
618
+ * @api private
619
+ */
886
620
 
887
- // Per 4.2.1.2, Bump clockseq on clock regression
888
- if (dt < 0 && options.clockseq === undefined) {
889
- clockseq = clockseq + 1 & 0x3fff;
621
+ function parse(str) {
622
+ str = String(str);
623
+ if (str.length > 100) {
624
+ return;
890
625
  }
891
-
892
- // Reset nsecs if clock regresses (new clockseq) or we've moved onto a new
893
- // time interval
894
- if ((dt < 0 || msecs > _lastMSecs) && options.nsecs === undefined) {
895
- nsecs = 0;
626
+ var match = /^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(
627
+ str
628
+ );
629
+ if (!match) {
630
+ return;
896
631
  }
897
-
898
- // Per 4.2.1.2 Throw error if too many uuids are requested
899
- if (nsecs >= 10000) {
900
- throw new Error('uuid.v1(): Can\'t create more than 10M uuids/sec');
632
+ var n = parseFloat(match[1]);
633
+ var type = (match[2] || 'ms').toLowerCase();
634
+ switch (type) {
635
+ case 'years':
636
+ case 'year':
637
+ case 'yrs':
638
+ case 'yr':
639
+ case 'y':
640
+ return n * y;
641
+ case 'weeks':
642
+ case 'week':
643
+ case 'w':
644
+ return n * w;
645
+ case 'days':
646
+ case 'day':
647
+ case 'd':
648
+ return n * d;
649
+ case 'hours':
650
+ case 'hour':
651
+ case 'hrs':
652
+ case 'hr':
653
+ case 'h':
654
+ return n * h;
655
+ case 'minutes':
656
+ case 'minute':
657
+ case 'mins':
658
+ case 'min':
659
+ case 'm':
660
+ return n * m;
661
+ case 'seconds':
662
+ case 'second':
663
+ case 'secs':
664
+ case 'sec':
665
+ case 's':
666
+ return n * s;
667
+ case 'milliseconds':
668
+ case 'millisecond':
669
+ case 'msecs':
670
+ case 'msec':
671
+ case 'ms':
672
+ return n;
673
+ default:
674
+ return undefined;
901
675
  }
676
+ }
902
677
 
903
- _lastMSecs = msecs;
904
- _lastNSecs = nsecs;
905
- _clockseq = clockseq;
906
-
907
- // Per 4.1.4 - Convert from unix epoch to Gregorian epoch
908
- msecs += 12219292800000;
909
-
910
- // `time_low`
911
- var tl = ((msecs & 0xfffffff) * 10000 + nsecs) % 0x100000000;
912
- b[i++] = tl >>> 24 & 0xff;
913
- b[i++] = tl >>> 16 & 0xff;
914
- b[i++] = tl >>> 8 & 0xff;
915
- b[i++] = tl & 0xff;
916
-
917
- // `time_mid`
918
- var tmh = (msecs / 0x100000000 * 10000) & 0xfffffff;
919
- b[i++] = tmh >>> 8 & 0xff;
920
- b[i++] = tmh & 0xff;
921
-
922
- // `time_high_and_version`
923
- b[i++] = tmh >>> 24 & 0xf | 0x10; // include version
924
- b[i++] = tmh >>> 16 & 0xff;
925
-
926
- // `clock_seq_hi_and_reserved` (Per 4.2.2 - include variant)
927
- b[i++] = clockseq >>> 8 | 0x80;
928
-
929
- // `clock_seq_low`
930
- b[i++] = clockseq & 0xff;
678
+ /**
679
+ * Short format for `ms`.
680
+ *
681
+ * @param {Number} ms
682
+ * @return {String}
683
+ * @api private
684
+ */
931
685
 
932
- // `node`
933
- for (var n = 0; n < 6; ++n) {
934
- b[i + n] = node[n];
686
+ function fmtShort(ms) {
687
+ var msAbs = Math.abs(ms);
688
+ if (msAbs >= d) {
689
+ return Math.round(ms / d) + 'd';
935
690
  }
936
-
937
- return buf ? buf : bytesToUuid(b);
691
+ if (msAbs >= h) {
692
+ return Math.round(ms / h) + 'h';
693
+ }
694
+ if (msAbs >= m) {
695
+ return Math.round(ms / m) + 'm';
696
+ }
697
+ if (msAbs >= s) {
698
+ return Math.round(ms / s) + 's';
699
+ }
700
+ return ms + 'ms';
938
701
  }
939
702
 
940
- module.exports = v1;
941
-
942
-
943
- /***/ }),
944
-
945
- /***/ 426:
946
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
947
-
948
- var rng = __webpack_require__(157);
949
- var bytesToUuid = __webpack_require__(725);
950
-
951
- function v4(options, buf, offset) {
952
- var i = buf && offset || 0;
703
+ /**
704
+ * Long format for `ms`.
705
+ *
706
+ * @param {Number} ms
707
+ * @return {String}
708
+ * @api private
709
+ */
953
710
 
954
- if (typeof(options) == 'string') {
955
- buf = options === 'binary' ? new Array(16) : null;
956
- options = null;
711
+ function fmtLong(ms) {
712
+ var msAbs = Math.abs(ms);
713
+ if (msAbs >= d) {
714
+ return plural(ms, msAbs, d, 'day');
957
715
  }
958
- options = options || {};
959
-
960
- var rnds = options.random || (options.rng || rng)();
961
-
962
- // Per 4.4, set bits for version and `clock_seq_hi_and_reserved`
963
- rnds[6] = (rnds[6] & 0x0f) | 0x40;
964
- rnds[8] = (rnds[8] & 0x3f) | 0x80;
965
-
966
- // Copy bytes to buffer, if provided
967
- if (buf) {
968
- for (var ii = 0; ii < 16; ++ii) {
969
- buf[i + ii] = rnds[ii];
970
- }
716
+ if (msAbs >= h) {
717
+ return plural(ms, msAbs, h, 'hour');
971
718
  }
972
-
973
- return buf || bytesToUuid(rnds);
719
+ if (msAbs >= m) {
720
+ return plural(ms, msAbs, m, 'minute');
721
+ }
722
+ if (msAbs >= s) {
723
+ return plural(ms, msAbs, s, 'second');
724
+ }
725
+ return ms + ' ms';
974
726
  }
975
727
 
976
- module.exports = v4;
728
+ /**
729
+ * Pluralization helper.
730
+ */
731
+
732
+ function plural(ms, msAbs, n, name) {
733
+ var isPlural = msAbs >= n * 1.5;
734
+ return Math.round(ms / n) + ' ' + name + (isPlural ? 's' : '');
735
+ }
977
736
 
978
737
 
979
738
  /***/ })
@@ -1316,8 +1075,8 @@ var GlobalVars = /** @class */ (function () {
1316
1075
  }());
1317
1076
 
1318
1077
 
1319
- // EXTERNAL MODULE: ../../node_modules/debug/src/browser.js
1320
- var browser = __webpack_require__(130);
1078
+ // EXTERNAL MODULE: ../../node_modules/.pnpm/debug@4.3.4/node_modules/debug/src/browser.js
1079
+ var browser = __webpack_require__(302);
1321
1080
  ;// CONCATENATED MODULE: ./src/internal/telemetry.ts
1322
1081
 
1323
1082
  var topLevelLogger = (0,browser.debug)('teamsJs');
@@ -1331,8 +1090,94 @@ function getLogger(namespace) {
1331
1090
  return topLevelLogger.extend(namespace);
1332
1091
  }
1333
1092
 
1334
- // EXTERNAL MODULE: ../../node_modules/uuid/index.js
1335
- var uuid = __webpack_require__(22);
1093
+ ;// CONCATENATED MODULE: ../../node_modules/.pnpm/uuid@9.0.0/node_modules/uuid/dist/esm-browser/native.js
1094
+ const randomUUID = typeof crypto !== 'undefined' && crypto.randomUUID && crypto.randomUUID.bind(crypto);
1095
+ /* harmony default export */ const esm_browser_native = ({
1096
+ randomUUID
1097
+ });
1098
+ ;// CONCATENATED MODULE: ../../node_modules/.pnpm/uuid@9.0.0/node_modules/uuid/dist/esm-browser/rng.js
1099
+ // Unique ID creation requires a high quality random # generator. In the browser we therefore
1100
+ // require the crypto API and do not support built-in fallback to lower quality random number
1101
+ // generators (like Math.random()).
1102
+ let getRandomValues;
1103
+ const rnds8 = new Uint8Array(16);
1104
+ function rng() {
1105
+ // lazy load so that environments that need to polyfill have a chance to do so
1106
+ if (!getRandomValues) {
1107
+ // getRandomValues needs to be invoked in a context where "this" is a Crypto implementation.
1108
+ getRandomValues = typeof crypto !== 'undefined' && crypto.getRandomValues && crypto.getRandomValues.bind(crypto);
1109
+
1110
+ if (!getRandomValues) {
1111
+ throw new Error('crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported');
1112
+ }
1113
+ }
1114
+
1115
+ return getRandomValues(rnds8);
1116
+ }
1117
+ ;// CONCATENATED MODULE: ../../node_modules/.pnpm/uuid@9.0.0/node_modules/uuid/dist/esm-browser/stringify.js
1118
+
1119
+ /**
1120
+ * Convert array of 16 byte values to UUID string format of the form:
1121
+ * XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX
1122
+ */
1123
+
1124
+ const byteToHex = [];
1125
+
1126
+ for (let i = 0; i < 256; ++i) {
1127
+ byteToHex.push((i + 0x100).toString(16).slice(1));
1128
+ }
1129
+
1130
+ function unsafeStringify(arr, offset = 0) {
1131
+ // Note: Be careful editing this code! It's been tuned for performance
1132
+ // and works in ways you may not expect. See https://github.com/uuidjs/uuid/pull/434
1133
+ return (byteToHex[arr[offset + 0]] + byteToHex[arr[offset + 1]] + byteToHex[arr[offset + 2]] + byteToHex[arr[offset + 3]] + '-' + byteToHex[arr[offset + 4]] + byteToHex[arr[offset + 5]] + '-' + byteToHex[arr[offset + 6]] + byteToHex[arr[offset + 7]] + '-' + byteToHex[arr[offset + 8]] + byteToHex[arr[offset + 9]] + '-' + byteToHex[arr[offset + 10]] + byteToHex[arr[offset + 11]] + byteToHex[arr[offset + 12]] + byteToHex[arr[offset + 13]] + byteToHex[arr[offset + 14]] + byteToHex[arr[offset + 15]]).toLowerCase();
1134
+ }
1135
+
1136
+ function stringify(arr, offset = 0) {
1137
+ const uuid = unsafeStringify(arr, offset); // Consistency check for valid UUID. If this throws, it's likely due to one
1138
+ // of the following:
1139
+ // - One or more input array values don't map to a hex octet (leading to
1140
+ // "undefined" in the uuid)
1141
+ // - Invalid input values for the RFC `version` or `variant` fields
1142
+
1143
+ if (!validate(uuid)) {
1144
+ throw TypeError('Stringified UUID is invalid');
1145
+ }
1146
+
1147
+ return uuid;
1148
+ }
1149
+
1150
+ /* harmony default export */ const esm_browser_stringify = ((/* unused pure expression or super */ null && (stringify)));
1151
+ ;// CONCATENATED MODULE: ../../node_modules/.pnpm/uuid@9.0.0/node_modules/uuid/dist/esm-browser/v4.js
1152
+
1153
+
1154
+
1155
+
1156
+ function v4(options, buf, offset) {
1157
+ if (esm_browser_native.randomUUID && !buf && !options) {
1158
+ return esm_browser_native.randomUUID();
1159
+ }
1160
+
1161
+ options = options || {};
1162
+ const rnds = options.random || (options.rng || rng)(); // Per 4.4, set bits for version and `clock_seq_hi_and_reserved`
1163
+
1164
+ rnds[6] = rnds[6] & 0x0f | 0x40;
1165
+ rnds[8] = rnds[8] & 0x3f | 0x80; // Copy bytes to buffer, if provided
1166
+
1167
+ if (buf) {
1168
+ offset = offset || 0;
1169
+
1170
+ for (let i = 0; i < 16; ++i) {
1171
+ buf[offset + i] = rnds[i];
1172
+ }
1173
+
1174
+ return buf;
1175
+ }
1176
+
1177
+ return unsafeStringify(rnds);
1178
+ }
1179
+
1180
+ /* harmony default export */ const esm_browser_v4 = (v4);
1336
1181
  ;// CONCATENATED MODULE: ./src/public/interfaces.ts
1337
1182
  /* eslint-disable @typescript-eslint/no-explicit-any*/
1338
1183
  /**
@@ -1676,7 +1521,7 @@ function compareSDKVersions(v1, v2) {
1676
1521
  * Limited to Microsoft-internal use
1677
1522
  */
1678
1523
  function generateGUID() {
1679
- return uuid.v4();
1524
+ return esm_browser_v4();
1680
1525
  }
1681
1526
  /**
1682
1527
  * @internal
@@ -2158,7 +2003,7 @@ var _minRuntimeConfigToUninitialize = {
2158
2003
  };
2159
2004
 
2160
2005
  ;// CONCATENATED MODULE: ./src/public/version.ts
2161
- var version = "2.10.0-beta.1";
2006
+ var version = "2.10.0-beta.2";
2162
2007
 
2163
2008
  ;// CONCATENATED MODULE: ./src/internal/internalAPIs.ts
2164
2009
 
@@ -6978,7 +6823,7 @@ var __generator = (undefined && undefined.__generator) || function (thisArg, bod
6978
6823
  function verb(n) { return function (v) { return step([n, v]); }; }
6979
6824
  function step(op) {
6980
6825
  if (f) throw new TypeError("Generator is already executing.");
6981
- while (_) try {
6826
+ while (g && (g = 0, op[0] && (_ = 0)), _) try {
6982
6827
  if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
6983
6828
  if (y = 0, t) op = [op[0] & 2, t.value];
6984
6829
  switch (op[0]) {
@@ -7819,7 +7664,7 @@ var video_generator = (undefined && undefined.__generator) || function (thisArg,
7819
7664
  function verb(n) { return function (v) { return step([n, v]); }; }
7820
7665
  function step(op) {
7821
7666
  if (f) throw new TypeError("Generator is already executing.");
7822
- while (_) try {
7667
+ while (g && (g = 0, op[0] && (_ = 0)), _) try {
7823
7668
  if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
7824
7669
  if (y = 0, t) op = [op[0] & 2, t.value];
7825
7670
  switch (op[0]) {