@dereekb/firebase-server 13.43.0 → 14.0.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 (36) hide show
  1. package/calcom/index.esm.js +57 -96
  2. package/calcom/package.json +11 -11
  3. package/discord/index.esm.js +48 -74
  4. package/discord/package.json +11 -11
  5. package/index.esm.js +336 -583
  6. package/mailgun/index.esm.js +20 -32
  7. package/mailgun/package.json +9 -9
  8. package/mcp/index.esm.js +131 -185
  9. package/mcp/package.json +14 -14
  10. package/model/index.esm.js +699 -692
  11. package/model/package.json +14 -14
  12. package/model/src/lib/formspace/formspace.action.server.d.ts +79 -5
  13. package/model/src/lib/formspace/formspace.error.d.ts +21 -0
  14. package/model/src/lib/formspace/formspace.task.service.handler.d.ts +3 -2
  15. package/model/src/lib/storagefile/storagefile.task.service.handler.d.ts +3 -3
  16. package/oidc/index.esm.js +144 -251
  17. package/oidc/package.json +14 -14
  18. package/package.json +24 -24
  19. package/src/lib/function/type.d.ts +0 -9
  20. package/src/lib/nest/app.d.ts +0 -4
  21. package/src/lib/nest/development/development.app.function.d.ts +2 -2
  22. package/src/lib/nest/model/analytics.handler.d.ts +0 -8
  23. package/src/lib/nest/model/api.details.d.ts +0 -8
  24. package/src/lib/nest/nest.provider.d.ts +0 -8
  25. package/test/index.esm.js +239 -395
  26. package/test/package.json +17 -17
  27. package/test/src/lib/firebase/firebase.admin.auth.d.ts +4 -25
  28. package/test/src/lib/firebase/firebase.admin.nest.d.ts +0 -4
  29. package/test/src/lib/firebase/firebase.admin.nest.function.d.ts +7 -7
  30. package/test/src/lib/firebase/firebase.function.d.ts +20 -81
  31. package/test/src/lib/firebase/firebase.test.d.ts +0 -9
  32. package/twilio/index.esm.js +11 -14
  33. package/twilio/package.json +8 -8
  34. package/zoho/index.esm.js +72 -132
  35. package/zoho/package.json +12 -12
  36. package/zoho/src/lib/zoho.accounts.firebase.system.d.ts +0 -10
package/oidc/index.esm.js CHANGED
@@ -48,9 +48,7 @@ typeof SuppressedError === "function" ? SuppressedError : function(error, suppre
48
48
  };
49
49
 
50
50
  function _class_call_check$i(instance, Constructor) {
51
- if (!(instance instanceof Constructor)) {
52
- throw new TypeError("Cannot call a class as a function");
53
- }
51
+ if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
54
52
  }
55
53
  function _defineProperties$e(target, props) {
56
54
  for(var i = 0; i < props.length; i++){
@@ -73,9 +71,7 @@ function _define_property$g(obj, key, value) {
73
71
  configurable: true,
74
72
  writable: true
75
73
  });
76
- } else {
77
- obj[key] = value;
78
- }
74
+ } else obj[key] = value;
79
75
  return obj;
80
76
  }
81
77
  /**
@@ -602,9 +598,7 @@ function _define_property$g(obj, key, value) {
602
598
  }
603
599
 
604
600
  function _class_call_check$h(instance, Constructor) {
605
- if (!(instance instanceof Constructor)) {
606
- throw new TypeError("Cannot call a class as a function");
607
- }
601
+ if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
608
602
  }
609
603
  // MARK: Collections
610
604
  /**
@@ -625,11 +619,8 @@ function asyncGeneratorStep$a(gen, resolve, reject, _next, _throw, key, arg) {
625
619
  reject(error);
626
620
  return;
627
621
  }
628
- if (info.done) {
629
- resolve(value);
630
- } else {
631
- Promise.resolve(value).then(_next, _throw);
632
- }
622
+ if (info.done) resolve(value);
623
+ else Promise.resolve(value).then(_next, _throw);
633
624
  }
634
625
  function _async_to_generator$a(fn) {
635
626
  return function() {
@@ -647,9 +638,7 @@ function _async_to_generator$a(fn) {
647
638
  };
648
639
  }
649
640
  function _class_call_check$g(instance, Constructor) {
650
- if (!(instance instanceof Constructor)) {
651
- throw new TypeError("Cannot call a class as a function");
652
- }
641
+ if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
653
642
  }
654
643
  function _defineProperties$d(target, props) {
655
644
  for(var i = 0; i < props.length; i++){
@@ -672,9 +661,7 @@ function _define_property$f(obj, key, value) {
672
661
  configurable: true,
673
662
  writable: true
674
663
  });
675
- } else {
676
- obj[key] = value;
677
- }
664
+ } else obj[key] = value;
678
665
  return obj;
679
666
  }
680
667
  function _object_spread$7(target) {
@@ -702,9 +689,8 @@ function ownKeys$3(object, enumerableOnly) {
702
689
  }
703
690
  function _object_spread_props$3(target, source) {
704
691
  source = source != null ? source : {};
705
- if (Object.getOwnPropertyDescriptors) {
706
- Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
707
- } else {
692
+ if (Object.getOwnPropertyDescriptors) Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
693
+ else {
708
694
  ownKeys$3(Object(source)).forEach(function(key) {
709
695
  Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
710
696
  });
@@ -1331,11 +1317,8 @@ function asyncGeneratorStep$9(gen, resolve, reject, _next, _throw, key, arg) {
1331
1317
  reject(error);
1332
1318
  return;
1333
1319
  }
1334
- if (info.done) {
1335
- resolve(value);
1336
- } else {
1337
- Promise.resolve(value).then(_next, _throw);
1338
- }
1320
+ if (info.done) resolve(value);
1321
+ else Promise.resolve(value).then(_next, _throw);
1339
1322
  }
1340
1323
  function _async_to_generator$9(fn) {
1341
1324
  return function() {
@@ -1353,9 +1336,7 @@ function _async_to_generator$9(fn) {
1353
1336
  };
1354
1337
  }
1355
1338
  function _class_call_check$f(instance, Constructor) {
1356
- if (!(instance instanceof Constructor)) {
1357
- throw new TypeError("Cannot call a class as a function");
1358
- }
1339
+ if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
1359
1340
  }
1360
1341
  function _defineProperties$c(target, props) {
1361
1342
  for(var i = 0; i < props.length; i++){
@@ -1378,9 +1359,7 @@ function _define_property$e(obj, key, value) {
1378
1359
  configurable: true,
1379
1360
  writable: true
1380
1361
  });
1381
- } else {
1382
- obj[key] = value;
1383
- }
1362
+ } else obj[key] = value;
1384
1363
  return obj;
1385
1364
  }
1386
1365
  function _ts_generator$9(thisArg, body) {
@@ -1651,9 +1630,7 @@ function _ts_generator$9(thisArg, body) {
1651
1630
  ();
1652
1631
 
1653
1632
  function _assert_this_initialized$1(self) {
1654
- if (self === void 0) {
1655
- throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
1656
- }
1633
+ if (self === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
1657
1634
  return self;
1658
1635
  }
1659
1636
  function _call_super$1(_this, derived, args) {
@@ -1661,9 +1638,7 @@ function _call_super$1(_this, derived, args) {
1661
1638
  return _possible_constructor_return$1(_this, _is_native_reflect_construct$1() ? Reflect.construct(derived, args || [], _get_prototype_of$1(_this).constructor) : derived.apply(_this, args));
1662
1639
  }
1663
1640
  function _class_call_check$e(instance, Constructor) {
1664
- if (!(instance instanceof Constructor)) {
1665
- throw new TypeError("Cannot call a class as a function");
1666
- }
1641
+ if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
1667
1642
  }
1668
1643
  function _defineProperties$b(target, props) {
1669
1644
  for(var i = 0; i < props.length; i++){
@@ -1697,10 +1672,16 @@ function _inherits$1(subClass, superClass) {
1697
1672
  });
1698
1673
  if (superClass) _set_prototype_of$1(subClass, superClass);
1699
1674
  }
1675
+ function _is_native_reflect_construct$1() {
1676
+ try {
1677
+ var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
1678
+ } catch (_) {}
1679
+ return (_is_native_reflect_construct$1 = function() {
1680
+ return !!result;
1681
+ })();
1682
+ }
1700
1683
  function _possible_constructor_return$1(self, call) {
1701
- if (call && (_type_of$1(call) === "object" || typeof call === "function")) {
1702
- return call;
1703
- }
1684
+ if (call && (_type_of$1(call) === "object" || typeof call === "function")) return call;
1704
1685
  return _assert_this_initialized$1(self);
1705
1686
  }
1706
1687
  function _set_prototype_of$1(o, p) {
@@ -1714,14 +1695,6 @@ function _type_of$1(obj) {
1714
1695
  "@swc/helpers - typeof";
1715
1696
  return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
1716
1697
  }
1717
- function _is_native_reflect_construct$1() {
1718
- try {
1719
- var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
1720
- } catch (_) {}
1721
- return (_is_native_reflect_construct$1 = function() {
1722
- return !!result;
1723
- })();
1724
- }
1725
1698
  // MARK: Collections
1726
1699
  /**
1727
1700
  * Abstract class providing access to all JWKS-related Firestore collections.
@@ -1815,11 +1788,8 @@ function asyncGeneratorStep$8(gen, resolve, reject, _next, _throw, key, arg) {
1815
1788
  reject(error);
1816
1789
  return;
1817
1790
  }
1818
- if (info.done) {
1819
- resolve(value);
1820
- } else {
1821
- Promise.resolve(value).then(_next, _throw);
1822
- }
1791
+ if (info.done) resolve(value);
1792
+ else Promise.resolve(value).then(_next, _throw);
1823
1793
  }
1824
1794
  function _async_to_generator$8(fn) {
1825
1795
  return function() {
@@ -1837,9 +1807,7 @@ function _async_to_generator$8(fn) {
1837
1807
  };
1838
1808
  }
1839
1809
  function _class_call_check$d(instance, Constructor) {
1840
- if (!(instance instanceof Constructor)) {
1841
- throw new TypeError("Cannot call a class as a function");
1842
- }
1810
+ if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
1843
1811
  }
1844
1812
  function _ts_generator$8(thisArg, body) {
1845
1813
  var f, y, t, _ = {
@@ -2167,11 +2135,8 @@ function asyncGeneratorStep$7(gen, resolve, reject, _next, _throw, key, arg) {
2167
2135
  reject(error);
2168
2136
  return;
2169
2137
  }
2170
- if (info.done) {
2171
- resolve(value);
2172
- } else {
2173
- Promise.resolve(value).then(_next, _throw);
2174
- }
2138
+ if (info.done) resolve(value);
2139
+ else Promise.resolve(value).then(_next, _throw);
2175
2140
  }
2176
2141
  function _async_to_generator$7(fn) {
2177
2142
  return function() {
@@ -2189,9 +2154,7 @@ function _async_to_generator$7(fn) {
2189
2154
  };
2190
2155
  }
2191
2156
  function _class_call_check$c(instance, Constructor) {
2192
- if (!(instance instanceof Constructor)) {
2193
- throw new TypeError("Cannot call a class as a function");
2194
- }
2157
+ if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
2195
2158
  }
2196
2159
  function _defineProperties$a(target, props) {
2197
2160
  for(var i = 0; i < props.length; i++){
@@ -2214,9 +2177,7 @@ function _define_property$d(obj, key, value) {
2214
2177
  configurable: true,
2215
2178
  writable: true
2216
2179
  });
2217
- } else {
2218
- obj[key] = value;
2219
- }
2180
+ } else obj[key] = value;
2220
2181
  return obj;
2221
2182
  }
2222
2183
  function _object_spread$6(target) {
@@ -2244,9 +2205,8 @@ function ownKeys$2(object, enumerableOnly) {
2244
2205
  }
2245
2206
  function _object_spread_props$2(target, source) {
2246
2207
  source = source != null ? source : {};
2247
- if (Object.getOwnPropertyDescriptors) {
2248
- Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
2249
- } else {
2208
+ if (Object.getOwnPropertyDescriptors) Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
2209
+ else {
2250
2210
  ownKeys$2(Object(source)).forEach(function(key) {
2251
2211
  Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
2252
2212
  });
@@ -2674,9 +2634,7 @@ function _define_property$c(obj, key, value) {
2674
2634
  configurable: true,
2675
2635
  writable: true
2676
2636
  });
2677
- } else {
2678
- obj[key] = value;
2679
- }
2637
+ } else obj[key] = value;
2680
2638
  return obj;
2681
2639
  }
2682
2640
  function _object_spread$5(target) {
@@ -2704,9 +2662,8 @@ function ownKeys$1(object, enumerableOnly) {
2704
2662
  }
2705
2663
  function _object_spread_props$1(target, source) {
2706
2664
  source = source != null ? source : {};
2707
- if (Object.getOwnPropertyDescriptors) {
2708
- Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
2709
- } else {
2665
+ if (Object.getOwnPropertyDescriptors) Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
2666
+ else {
2710
2667
  ownKeys$1(Object(source)).forEach(function(key) {
2711
2668
  Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
2712
2669
  });
@@ -2765,11 +2722,8 @@ function asyncGeneratorStep$6(gen, resolve, reject, _next, _throw, key, arg) {
2765
2722
  reject(error);
2766
2723
  return;
2767
2724
  }
2768
- if (info.done) {
2769
- resolve(value);
2770
- } else {
2771
- Promise.resolve(value).then(_next, _throw);
2772
- }
2725
+ if (info.done) resolve(value);
2726
+ else Promise.resolve(value).then(_next, _throw);
2773
2727
  }
2774
2728
  function _async_to_generator$6(fn) {
2775
2729
  return function() {
@@ -2787,9 +2741,7 @@ function _async_to_generator$6(fn) {
2787
2741
  };
2788
2742
  }
2789
2743
  function _class_call_check$b(instance, Constructor) {
2790
- if (!(instance instanceof Constructor)) {
2791
- throw new TypeError("Cannot call a class as a function");
2792
- }
2744
+ if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
2793
2745
  }
2794
2746
  function _defineProperties$9(target, props) {
2795
2747
  for(var i = 0; i < props.length; i++){
@@ -2812,18 +2764,14 @@ function _define_property$b(obj, key, value) {
2812
2764
  configurable: true,
2813
2765
  writable: true
2814
2766
  });
2815
- } else {
2816
- obj[key] = value;
2817
- }
2767
+ } else obj[key] = value;
2818
2768
  return obj;
2819
2769
  }
2820
2770
  function _instanceof$3(left, right) {
2821
2771
  "@swc/helpers - instanceof";
2822
2772
  if (right != null && typeof Symbol !== "undefined" && right[Symbol.hasInstance]) {
2823
2773
  return !!right[Symbol.hasInstance](left);
2824
- } else {
2825
- return left instanceof right;
2826
- }
2774
+ } else return left instanceof right;
2827
2775
  }
2828
2776
  function _object_spread$4(target) {
2829
2777
  for(var i = 1; i < arguments.length; i++){
@@ -3249,9 +3197,7 @@ function _array_without_holes$7(arr) {
3249
3197
  if (Array.isArray(arr)) return _array_like_to_array$7(arr);
3250
3198
  }
3251
3199
  function _class_call_check$a(instance, Constructor) {
3252
- if (!(instance instanceof Constructor)) {
3253
- throw new TypeError("Cannot call a class as a function");
3254
- }
3200
+ if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
3255
3201
  }
3256
3202
  function _defineProperties$8(target, props) {
3257
3203
  for(var i = 0; i < props.length; i++){
@@ -3274,16 +3220,16 @@ function _define_property$a(obj, key, value) {
3274
3220
  configurable: true,
3275
3221
  writable: true
3276
3222
  });
3277
- } else {
3278
- obj[key] = value;
3279
- }
3223
+ } else obj[key] = value;
3280
3224
  return obj;
3281
3225
  }
3282
3226
  function _iterable_to_array$7(iter) {
3283
- if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
3227
+ if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) {
3228
+ return Array.from(iter);
3229
+ }
3284
3230
  }
3285
3231
  function _non_iterable_spread$7() {
3286
- throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
3232
+ throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
3287
3233
  }
3288
3234
  function _to_consumable_array$7(arr) {
3289
3235
  return _array_without_holes$7(arr) || _iterable_to_array$7(arr) || _unsupported_iterable_to_array$7(arr) || _non_iterable_spread$7();
@@ -3367,9 +3313,7 @@ function _array_without_holes$6(arr) {
3367
3313
  if (Array.isArray(arr)) return _array_like_to_array$6(arr);
3368
3314
  }
3369
3315
  function _class_call_check$9(instance, Constructor) {
3370
- if (!(instance instanceof Constructor)) {
3371
- throw new TypeError("Cannot call a class as a function");
3372
- }
3316
+ if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
3373
3317
  }
3374
3318
  function _defineProperties$7(target, props) {
3375
3319
  for(var i = 0; i < props.length; i++){
@@ -3392,16 +3336,16 @@ function _define_property$9(obj, key, value) {
3392
3336
  configurable: true,
3393
3337
  writable: true
3394
3338
  });
3395
- } else {
3396
- obj[key] = value;
3397
- }
3339
+ } else obj[key] = value;
3398
3340
  return obj;
3399
3341
  }
3400
3342
  function _iterable_to_array$6(iter) {
3401
- if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
3343
+ if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) {
3344
+ return Array.from(iter);
3345
+ }
3402
3346
  }
3403
3347
  function _non_iterable_spread$6() {
3404
- throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
3348
+ throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
3405
3349
  }
3406
3350
  function _to_consumable_array$6(arr) {
3407
3351
  return _array_without_holes$6(arr) || _iterable_to_array$6(arr) || _unsupported_iterable_to_array$6(arr) || _non_iterable_spread$6();
@@ -3571,10 +3515,12 @@ function _array_without_holes$5(arr) {
3571
3515
  if (Array.isArray(arr)) return _array_like_to_array$5(arr);
3572
3516
  }
3573
3517
  function _iterable_to_array$5(iter) {
3574
- if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
3518
+ if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) {
3519
+ return Array.from(iter);
3520
+ }
3575
3521
  }
3576
3522
  function _non_iterable_spread$5() {
3577
- throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
3523
+ throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
3578
3524
  }
3579
3525
  function _to_consumable_array$5(arr) {
3580
3526
  return _array_without_holes$5(arr) || _iterable_to_array$5(arr) || _unsupported_iterable_to_array$5(arr) || _non_iterable_spread$5();
@@ -3684,11 +3630,8 @@ function asyncGeneratorStep$5(gen, resolve, reject, _next, _throw, key, arg) {
3684
3630
  reject(error);
3685
3631
  return;
3686
3632
  }
3687
- if (info.done) {
3688
- resolve(value);
3689
- } else {
3690
- Promise.resolve(value).then(_next, _throw);
3691
- }
3633
+ if (info.done) resolve(value);
3634
+ else Promise.resolve(value).then(_next, _throw);
3692
3635
  }
3693
3636
  function _async_to_generator$5(fn) {
3694
3637
  return function() {
@@ -3706,9 +3649,7 @@ function _async_to_generator$5(fn) {
3706
3649
  };
3707
3650
  }
3708
3651
  function _class_call_check$8(instance, Constructor) {
3709
- if (!(instance instanceof Constructor)) {
3710
- throw new TypeError("Cannot call a class as a function");
3711
- }
3652
+ if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
3712
3653
  }
3713
3654
  function _defineProperties$6(target, props) {
3714
3655
  for(var i = 0; i < props.length; i++){
@@ -3731,24 +3672,22 @@ function _define_property$8(obj, key, value) {
3731
3672
  configurable: true,
3732
3673
  writable: true
3733
3674
  });
3734
- } else {
3735
- obj[key] = value;
3736
- }
3675
+ } else obj[key] = value;
3737
3676
  return obj;
3738
3677
  }
3739
3678
  function _instanceof$2(left, right) {
3740
3679
  "@swc/helpers - instanceof";
3741
3680
  if (right != null && typeof Symbol !== "undefined" && right[Symbol.hasInstance]) {
3742
3681
  return !!right[Symbol.hasInstance](left);
3743
- } else {
3744
- return left instanceof right;
3745
- }
3682
+ } else return left instanceof right;
3746
3683
  }
3747
3684
  function _iterable_to_array$4(iter) {
3748
- if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
3685
+ if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) {
3686
+ return Array.from(iter);
3687
+ }
3749
3688
  }
3750
3689
  function _non_iterable_spread$4() {
3751
- throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
3690
+ throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
3752
3691
  }
3753
3692
  function _object_spread$3(target) {
3754
3693
  for(var i = 1; i < arguments.length; i++){
@@ -3775,9 +3714,8 @@ function ownKeys(object, enumerableOnly) {
3775
3714
  }
3776
3715
  function _object_spread_props(target, source) {
3777
3716
  source = source != null ? source : {};
3778
- if (Object.getOwnPropertyDescriptors) {
3779
- Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
3780
- } else {
3717
+ if (Object.getOwnPropertyDescriptors) Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
3718
+ else {
3781
3719
  ownKeys(Object(source)).forEach(function(key) {
3782
3720
  Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
3783
3721
  });
@@ -3823,14 +3761,6 @@ function _object_without_properties_loose(source, excluded) {
3823
3761
  function _to_consumable_array$4(arr) {
3824
3762
  return _array_without_holes$4(arr) || _iterable_to_array$4(arr) || _unsupported_iterable_to_array$4(arr) || _non_iterable_spread$4();
3825
3763
  }
3826
- function _unsupported_iterable_to_array$4(o, minLen) {
3827
- if (!o) return;
3828
- if (typeof o === "string") return _array_like_to_array$4(o, minLen);
3829
- var n = Object.prototype.toString.call(o).slice(8, -1);
3830
- if (n === "Object" && o.constructor) n = o.constructor.name;
3831
- if (n === "Map" || n === "Set") return Array.from(n);
3832
- if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$4(o, minLen);
3833
- }
3834
3764
  function _ts_generator$5(thisArg, body) {
3835
3765
  var f, y, t, _ = {
3836
3766
  label: 0,
@@ -3930,6 +3860,14 @@ function _ts_generator$5(thisArg, body) {
3930
3860
  };
3931
3861
  }
3932
3862
  }
3863
+ function _unsupported_iterable_to_array$4(o, minLen) {
3864
+ if (!o) return;
3865
+ if (typeof o === "string") return _array_like_to_array$4(o, minLen);
3866
+ var n = Object.prototype.toString.call(o).slice(8, -1);
3867
+ if (n === "Object" && o.constructor) n = o.constructor.name;
3868
+ if (n === "Map" || n === "Set") return Array.from(n);
3869
+ if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$4(o, minLen);
3870
+ }
3933
3871
  var OidcService_1;
3934
3872
  // MARK: Service
3935
3873
  /**
@@ -4218,7 +4156,7 @@ var OidcService_1;
4218
4156
  var resolveDurationFromCtx = function resolveDurationFromCtx(ctx, client, perModelDefaultSeconds) {
4219
4157
  return resolveLoginDurationSeconds({
4220
4158
  requestedSeconds: readRequestedSessionTtlSeconds(ctx),
4221
- clientMaxSeconds: client === null || client === void 0 ? void 0 : client.dbx_max_session_ttl,
4159
+ clientMaxSeconds: void 0 ,
4222
4160
  serverMaxSeconds: serverMaxSeconds,
4223
4161
  serverMinSeconds: serverMinSeconds,
4224
4162
  defaultSeconds: overrideDefaultSeconds !== null && overrideDefaultSeconds !== void 0 ? overrideDefaultSeconds : perModelDefaultSeconds
@@ -4335,8 +4273,10 @@ var OidcService_1;
4335
4273
  Session: function Session(ctx, _session) {
4336
4274
  return resolveDurationFromCtx(ctx, undefined, config.tokenLifetimes.session);
4337
4275
  },
4338
- Grant: function Grant(ctx, _grant, client) {
4339
- return resolveDurationFromCtx(ctx, client, config.tokenLifetimes.grant);
4276
+ // No client argument here: oidc-provider types `Grant` as `TTLFunction<Grant, false>` and never
4277
+ // passes a client for it, so the previous third parameter was always `undefined` at runtime.
4278
+ Grant: function Grant(ctx, _grant) {
4279
+ return resolveDurationFromCtx(ctx, undefined, config.tokenLifetimes.grant);
4340
4280
  },
4341
4281
  Interaction: 60 * 60,
4342
4282
  DeviceCode: 10 * 60
@@ -4683,9 +4623,7 @@ OidcService = OidcService_1 = __decorate([
4683
4623
  ], OidcService);
4684
4624
 
4685
4625
  function _class_call_check$7(instance, Constructor) {
4686
- if (!(instance instanceof Constructor)) {
4687
- throw new TypeError("Cannot call a class as a function");
4688
- }
4626
+ if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
4689
4627
  }
4690
4628
  function _define_property$7(obj, key, value) {
4691
4629
  if (key in obj) {
@@ -4695,9 +4633,7 @@ function _define_property$7(obj, key, value) {
4695
4633
  configurable: true,
4696
4634
  writable: true
4697
4635
  });
4698
- } else {
4699
- obj[key] = value;
4700
- }
4636
+ } else obj[key] = value;
4701
4637
  return obj;
4702
4638
  }
4703
4639
  // MARK: Config
@@ -4859,11 +4795,8 @@ function asyncGeneratorStep$4(gen, resolve, reject, _next, _throw, key, arg) {
4859
4795
  reject(error);
4860
4796
  return;
4861
4797
  }
4862
- if (info.done) {
4863
- resolve(value);
4864
- } else {
4865
- Promise.resolve(value).then(_next, _throw);
4866
- }
4798
+ if (info.done) resolve(value);
4799
+ else Promise.resolve(value).then(_next, _throw);
4867
4800
  }
4868
4801
  function _async_to_generator$4(fn) {
4869
4802
  return function() {
@@ -4881,9 +4814,7 @@ function _async_to_generator$4(fn) {
4881
4814
  };
4882
4815
  }
4883
4816
  function _class_call_check$6(instance, Constructor) {
4884
- if (!(instance instanceof Constructor)) {
4885
- throw new TypeError("Cannot call a class as a function");
4886
- }
4817
+ if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
4887
4818
  }
4888
4819
  function _defineProperties$5(target, props) {
4889
4820
  for(var i = 0; i < props.length; i++){
@@ -4906,18 +4837,14 @@ function _define_property$6(obj, key, value) {
4906
4837
  configurable: true,
4907
4838
  writable: true
4908
4839
  });
4909
- } else {
4910
- obj[key] = value;
4911
- }
4840
+ } else obj[key] = value;
4912
4841
  return obj;
4913
4842
  }
4914
4843
  function _instanceof$1(left, right) {
4915
4844
  "@swc/helpers - instanceof";
4916
4845
  if (right != null && typeof Symbol !== "undefined" && right[Symbol.hasInstance]) {
4917
4846
  return !!right[Symbol.hasInstance](left);
4918
- } else {
4919
- return left instanceof right;
4920
- }
4847
+ } else return left instanceof right;
4921
4848
  }
4922
4849
  function _ts_generator$4(thisArg, body) {
4923
4850
  var f, y, t, _ = {
@@ -5136,10 +5063,12 @@ function _array_without_holes$3(arr) {
5136
5063
  if (Array.isArray(arr)) return _array_like_to_array$3(arr);
5137
5064
  }
5138
5065
  function _iterable_to_array$3(iter) {
5139
- if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
5066
+ if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) {
5067
+ return Array.from(iter);
5068
+ }
5140
5069
  }
5141
5070
  function _non_iterable_spread$3() {
5142
- throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
5071
+ throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
5143
5072
  }
5144
5073
  function _to_consumable_array$3(arr) {
5145
5074
  return _array_without_holes$3(arr) || _iterable_to_array$3(arr) || _unsupported_iterable_to_array$3(arr) || _non_iterable_spread$3();
@@ -5286,9 +5215,7 @@ function _unsupported_iterable_to_array$3(o, minLen) {
5286
5215
  */ var FIREBASE_SERVER_OIDC_ANALYTICS_CONFIG = 'FIREBASE_SERVER_OIDC_ANALYTICS_CONFIG';
5287
5216
 
5288
5217
  function _class_call_check$5(instance, Constructor) {
5289
- if (!(instance instanceof Constructor)) {
5290
- throw new TypeError("Cannot call a class as a function");
5291
- }
5218
+ if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
5292
5219
  }
5293
5220
  /**
5294
5221
  * Abstract analytics service that apps implement to process OIDC analytics events.
@@ -5339,9 +5266,7 @@ function _class_call_check$5(instance, Constructor) {
5339
5266
  }
5340
5267
 
5341
5268
  function _assert_this_initialized(self) {
5342
- if (self === void 0) {
5343
- throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
5344
- }
5269
+ if (self === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
5345
5270
  return self;
5346
5271
  }
5347
5272
  function _call_super(_this, derived, args) {
@@ -5349,9 +5274,7 @@ function _call_super(_this, derived, args) {
5349
5274
  return _possible_constructor_return(_this, _is_native_reflect_construct() ? Reflect.construct(derived, [], _get_prototype_of(_this).constructor) : derived.apply(_this, args));
5350
5275
  }
5351
5276
  function _class_call_check$4(instance, Constructor) {
5352
- if (!(instance instanceof Constructor)) {
5353
- throw new TypeError("Cannot call a class as a function");
5354
- }
5277
+ if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
5355
5278
  }
5356
5279
  function _defineProperties$4(target, props) {
5357
5280
  for(var i = 0; i < props.length; i++){
@@ -5374,9 +5297,7 @@ function _define_property$5(obj, key, value) {
5374
5297
  configurable: true,
5375
5298
  writable: true
5376
5299
  });
5377
- } else {
5378
- obj[key] = value;
5379
- }
5300
+ } else obj[key] = value;
5380
5301
  return obj;
5381
5302
  }
5382
5303
  function _get_prototype_of(o) {
@@ -5398,6 +5319,14 @@ function _inherits(subClass, superClass) {
5398
5319
  });
5399
5320
  if (superClass) _set_prototype_of(subClass, superClass);
5400
5321
  }
5322
+ function _is_native_reflect_construct() {
5323
+ try {
5324
+ var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
5325
+ } catch (_) {}
5326
+ return (_is_native_reflect_construct = function() {
5327
+ return !!result;
5328
+ })();
5329
+ }
5401
5330
  function _object_spread$2(target) {
5402
5331
  for(var i = 1; i < arguments.length; i++){
5403
5332
  var source = arguments[i] != null ? arguments[i] : {};
@@ -5414,9 +5343,7 @@ function _object_spread$2(target) {
5414
5343
  return target;
5415
5344
  }
5416
5345
  function _possible_constructor_return(self, call) {
5417
- if (call && (_type_of(call) === "object" || typeof call === "function")) {
5418
- return call;
5419
- }
5346
+ if (call && (_type_of(call) === "object" || typeof call === "function")) return call;
5420
5347
  return _assert_this_initialized(self);
5421
5348
  }
5422
5349
  function _set_prototype_of(o, p) {
@@ -5430,14 +5357,6 @@ function _type_of(obj) {
5430
5357
  "@swc/helpers - typeof";
5431
5358
  return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
5432
5359
  }
5433
- function _is_native_reflect_construct() {
5434
- try {
5435
- var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
5436
- } catch (_) {}
5437
- return (_is_native_reflect_construct = function() {
5438
- return !!result;
5439
- })();
5440
- }
5441
5360
  var FirebaseServerOidcAnalyticsService_1;
5442
5361
  /**
5443
5362
  * Reusable {@link OidcAnalyticsService} that forwards each high-level OIDC event to the app's
@@ -5512,10 +5431,12 @@ function _array_without_holes$2(arr) {
5512
5431
  if (Array.isArray(arr)) return _array_like_to_array$2(arr);
5513
5432
  }
5514
5433
  function _iterable_to_array$2(iter) {
5515
- if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
5434
+ if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) {
5435
+ return Array.from(iter);
5436
+ }
5516
5437
  }
5517
5438
  function _non_iterable_spread$2() {
5518
- throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
5439
+ throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
5519
5440
  }
5520
5441
  function _to_consumable_array$2(arr) {
5521
5442
  return _array_without_holes$2(arr) || _iterable_to_array$2(arr) || _unsupported_iterable_to_array$2(arr) || _non_iterable_spread$2();
@@ -5605,11 +5526,8 @@ function asyncGeneratorStep$3(gen, resolve, reject, _next, _throw, key, arg) {
5605
5526
  reject(error);
5606
5527
  return;
5607
5528
  }
5608
- if (info.done) {
5609
- resolve(value);
5610
- } else {
5611
- Promise.resolve(value).then(_next, _throw);
5612
- }
5529
+ if (info.done) resolve(value);
5530
+ else Promise.resolve(value).then(_next, _throw);
5613
5531
  }
5614
5532
  function _async_to_generator$3(fn) {
5615
5533
  return function() {
@@ -5627,9 +5545,7 @@ function _async_to_generator$3(fn) {
5627
5545
  };
5628
5546
  }
5629
5547
  function _class_call_check$3(instance, Constructor) {
5630
- if (!(instance instanceof Constructor)) {
5631
- throw new TypeError("Cannot call a class as a function");
5632
- }
5548
+ if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
5633
5549
  }
5634
5550
  function _defineProperties$3(target, props) {
5635
5551
  for(var i = 0; i < props.length; i++){
@@ -5652,9 +5568,7 @@ function _define_property$4(obj, key, value) {
5652
5568
  configurable: true,
5653
5569
  writable: true
5654
5570
  });
5655
- } else {
5656
- obj[key] = value;
5657
- }
5571
+ } else obj[key] = value;
5658
5572
  return obj;
5659
5573
  }
5660
5574
  function _object_spread$1(target) {
@@ -5996,11 +5910,8 @@ function asyncGeneratorStep$2(gen, resolve, reject, _next, _throw, key, arg) {
5996
5910
  reject(error);
5997
5911
  return;
5998
5912
  }
5999
- if (info.done) {
6000
- resolve(value);
6001
- } else {
6002
- Promise.resolve(value).then(_next, _throw);
6003
- }
5913
+ if (info.done) resolve(value);
5914
+ else Promise.resolve(value).then(_next, _throw);
6004
5915
  }
6005
5916
  function _async_to_generator$2(fn) {
6006
5917
  return function() {
@@ -6018,9 +5929,7 @@ function _async_to_generator$2(fn) {
6018
5929
  };
6019
5930
  }
6020
5931
  function _class_call_check$2(instance, Constructor) {
6021
- if (!(instance instanceof Constructor)) {
6022
- throw new TypeError("Cannot call a class as a function");
6023
- }
5932
+ if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
6024
5933
  }
6025
5934
  function _defineProperties$2(target, props) {
6026
5935
  for(var i = 0; i < props.length; i++){
@@ -6043,21 +5952,19 @@ function _define_property$3(obj, key, value) {
6043
5952
  configurable: true,
6044
5953
  writable: true
6045
5954
  });
6046
- } else {
6047
- obj[key] = value;
6048
- }
5955
+ } else obj[key] = value;
6049
5956
  return obj;
6050
5957
  }
6051
5958
  function _instanceof(left, right) {
6052
5959
  "@swc/helpers - instanceof";
6053
5960
  if (right != null && typeof Symbol !== "undefined" && right[Symbol.hasInstance]) {
6054
5961
  return !!right[Symbol.hasInstance](left);
6055
- } else {
6056
- return left instanceof right;
6057
- }
5962
+ } else return left instanceof right;
6058
5963
  }
6059
5964
  function _iterable_to_array$1(iter) {
6060
- if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
5965
+ if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) {
5966
+ return Array.from(iter);
5967
+ }
6061
5968
  }
6062
5969
  function _iterable_to_array_limit(arr, i) {
6063
5970
  var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
@@ -6084,10 +5991,10 @@ function _iterable_to_array_limit(arr, i) {
6084
5991
  return _arr;
6085
5992
  }
6086
5993
  function _non_iterable_rest() {
6087
- throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
5994
+ throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
6088
5995
  }
6089
5996
  function _non_iterable_spread$1() {
6090
- throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
5997
+ throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
6091
5998
  }
6092
5999
  function _sliced_to_array(arr, i) {
6093
6000
  return _array_with_holes(arr) || _iterable_to_array_limit(arr, i) || _unsupported_iterable_to_array$1(arr, i) || _non_iterable_rest();
@@ -6095,14 +6002,6 @@ function _sliced_to_array(arr, i) {
6095
6002
  function _to_consumable_array$1(arr) {
6096
6003
  return _array_without_holes$1(arr) || _iterable_to_array$1(arr) || _unsupported_iterable_to_array$1(arr) || _non_iterable_spread$1();
6097
6004
  }
6098
- function _unsupported_iterable_to_array$1(o, minLen) {
6099
- if (!o) return;
6100
- if (typeof o === "string") return _array_like_to_array$1(o, minLen);
6101
- var n = Object.prototype.toString.call(o).slice(8, -1);
6102
- if (n === "Object" && o.constructor) n = o.constructor.name;
6103
- if (n === "Map" || n === "Set") return Array.from(n);
6104
- if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$1(o, minLen);
6105
- }
6106
6005
  function _ts_generator$2(thisArg, body) {
6107
6006
  var f, y, t, _ = {
6108
6007
  label: 0,
@@ -6202,6 +6101,14 @@ function _ts_generator$2(thisArg, body) {
6202
6101
  };
6203
6102
  }
6204
6103
  }
6104
+ function _unsupported_iterable_to_array$1(o, minLen) {
6105
+ if (!o) return;
6106
+ if (typeof o === "string") return _array_like_to_array$1(o, minLen);
6107
+ var n = Object.prototype.toString.call(o).slice(8, -1);
6108
+ if (n === "Object" && o.constructor) n = o.constructor.name;
6109
+ if (n === "Map" || n === "Set") return Array.from(n);
6110
+ if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$1(o, minLen);
6111
+ }
6205
6112
  var OidcInteractionController_1;
6206
6113
  /**
6207
6114
  * OIDC scopes that the server always grants on consent when they were
@@ -7036,11 +6943,8 @@ function asyncGeneratorStep$1(gen, resolve, reject, _next, _throw, key, arg) {
7036
6943
  reject(error);
7037
6944
  return;
7038
6945
  }
7039
- if (info.done) {
7040
- resolve(value);
7041
- } else {
7042
- Promise.resolve(value).then(_next, _throw);
7043
- }
6946
+ if (info.done) resolve(value);
6947
+ else Promise.resolve(value).then(_next, _throw);
7044
6948
  }
7045
6949
  function _async_to_generator$1(fn) {
7046
6950
  return function() {
@@ -7058,9 +6962,7 @@ function _async_to_generator$1(fn) {
7058
6962
  };
7059
6963
  }
7060
6964
  function _class_call_check$1(instance, Constructor) {
7061
- if (!(instance instanceof Constructor)) {
7062
- throw new TypeError("Cannot call a class as a function");
7063
- }
6965
+ if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
7064
6966
  }
7065
6967
  function _defineProperties$1(target, props) {
7066
6968
  for(var i = 0; i < props.length; i++){
@@ -7083,9 +6985,7 @@ function _define_property$2(obj, key, value) {
7083
6985
  configurable: true,
7084
6986
  writable: true
7085
6987
  });
7086
- } else {
7087
- obj[key] = value;
7088
- }
6988
+ } else obj[key] = value;
7089
6989
  return obj;
7090
6990
  }
7091
6991
  function _ts_generator$1(thisArg, body) {
@@ -7376,11 +7276,8 @@ function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
7376
7276
  reject(error);
7377
7277
  return;
7378
7278
  }
7379
- if (info.done) {
7380
- resolve(value);
7381
- } else {
7382
- Promise.resolve(value).then(_next, _throw);
7383
- }
7279
+ if (info.done) resolve(value);
7280
+ else Promise.resolve(value).then(_next, _throw);
7384
7281
  }
7385
7282
  function _async_to_generator(fn) {
7386
7283
  return function() {
@@ -7398,9 +7295,7 @@ function _async_to_generator(fn) {
7398
7295
  };
7399
7296
  }
7400
7297
  function _class_call_check(instance, Constructor) {
7401
- if (!(instance instanceof Constructor)) {
7402
- throw new TypeError("Cannot call a class as a function");
7403
- }
7298
+ if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
7404
7299
  }
7405
7300
  function _defineProperties(target, props) {
7406
7301
  for(var i = 0; i < props.length; i++){
@@ -7423,9 +7318,7 @@ function _define_property$1(obj, key, value) {
7423
7318
  configurable: true,
7424
7319
  writable: true
7425
7320
  });
7426
- } else {
7427
- obj[key] = value;
7428
- }
7321
+ } else obj[key] = value;
7429
7322
  return obj;
7430
7323
  }
7431
7324
  function _ts_generator(thisArg, body) {
@@ -7623,16 +7516,16 @@ function _define_property(obj, key, value) {
7623
7516
  configurable: true,
7624
7517
  writable: true
7625
7518
  });
7626
- } else {
7627
- obj[key] = value;
7628
- }
7519
+ } else obj[key] = value;
7629
7520
  return obj;
7630
7521
  }
7631
7522
  function _iterable_to_array(iter) {
7632
- if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
7523
+ if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) {
7524
+ return Array.from(iter);
7525
+ }
7633
7526
  }
7634
7527
  function _non_iterable_spread() {
7635
- throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
7528
+ throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
7636
7529
  }
7637
7530
  function _object_spread(target) {
7638
7531
  for(var i = 1; i < arguments.length; i++){