@twilio/conversations 2.3.0-rc.3 → 2.3.0-rc.5
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.
@@ -903,11 +903,11 @@ this.Twilio.Conversations = (function (exports) {
|
|
903
903
|
}
|
904
904
|
};
|
905
905
|
|
906
|
-
var $$
|
906
|
+
var $$x = _export;
|
907
907
|
var global$s = global$D;
|
908
908
|
var setToStringTag$8 = setToStringTag$9;
|
909
909
|
|
910
|
-
$$
|
910
|
+
$$x({ global: true }, { Reflect: {} });
|
911
911
|
|
912
912
|
// Reflect[@@toStringTag] property
|
913
913
|
// https://tc39.es/ecma262/#sec-reflect-@@tostringtag
|
@@ -1062,7 +1062,7 @@ this.Twilio.Conversations = (function (exports) {
|
|
1062
1062
|
return boundFunction;
|
1063
1063
|
};
|
1064
1064
|
|
1065
|
-
var $$
|
1065
|
+
var $$w = _export;
|
1066
1066
|
var getBuiltIn$5 = getBuiltIn$a;
|
1067
1067
|
var aFunction$7 = aFunction$9;
|
1068
1068
|
var anObject$f = anObject$k;
|
@@ -1086,7 +1086,7 @@ this.Twilio.Conversations = (function (exports) {
|
|
1086
1086
|
});
|
1087
1087
|
var FORCED$9 = NEW_TARGET_BUG || ARGS_BUG;
|
1088
1088
|
|
1089
|
-
$$
|
1089
|
+
$$w({ target: 'Reflect', stat: true, forced: FORCED$9, sham: FORCED$9 }, {
|
1090
1090
|
construct: function construct(Target, args /* , newTarget */) {
|
1091
1091
|
aFunction$7(Target);
|
1092
1092
|
anObject$f(args);
|
@@ -1114,7 +1114,7 @@ this.Twilio.Conversations = (function (exports) {
|
|
1114
1114
|
}
|
1115
1115
|
});
|
1116
1116
|
|
1117
|
-
var $$
|
1117
|
+
var $$v = _export;
|
1118
1118
|
var toObject$e = toObject$g;
|
1119
1119
|
var nativeKeys = objectKeys$4;
|
1120
1120
|
var fails$u = fails$B;
|
@@ -1123,7 +1123,7 @@ this.Twilio.Conversations = (function (exports) {
|
|
1123
1123
|
|
1124
1124
|
// `Object.keys` method
|
1125
1125
|
// https://tc39.es/ecma262/#sec-object.keys
|
1126
|
-
$$
|
1126
|
+
$$v({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES$2 }, {
|
1127
1127
|
keys: function keys(it) {
|
1128
1128
|
return nativeKeys(toObject$e(it));
|
1129
1129
|
}
|
@@ -1321,7 +1321,7 @@ this.Twilio.Conversations = (function (exports) {
|
|
1321
1321
|
filterReject: createMethod$4(7)
|
1322
1322
|
};
|
1323
1323
|
|
1324
|
-
var $$
|
1324
|
+
var $$u = _export;
|
1325
1325
|
var global$q = global$D;
|
1326
1326
|
var getBuiltIn$4 = getBuiltIn$a;
|
1327
1327
|
var DESCRIPTORS$d = descriptors;
|
@@ -1522,7 +1522,7 @@ this.Twilio.Conversations = (function (exports) {
|
|
1522
1522
|
}
|
1523
1523
|
}
|
1524
1524
|
|
1525
|
-
$$
|
1525
|
+
$$u({ global: true, wrap: true, forced: !NATIVE_SYMBOL, sham: !NATIVE_SYMBOL }, {
|
1526
1526
|
Symbol: $Symbol$1
|
1527
1527
|
});
|
1528
1528
|
|
@@ -1530,7 +1530,7 @@ this.Twilio.Conversations = (function (exports) {
|
|
1530
1530
|
defineWellKnownSymbol$1(name);
|
1531
1531
|
});
|
1532
1532
|
|
1533
|
-
$$
|
1533
|
+
$$u({ target: SYMBOL, stat: true, forced: !NATIVE_SYMBOL }, {
|
1534
1534
|
// `Symbol.for` method
|
1535
1535
|
// https://tc39.es/ecma262/#sec-symbol.for
|
1536
1536
|
'for': function (key) {
|
@@ -1551,7 +1551,7 @@ this.Twilio.Conversations = (function (exports) {
|
|
1551
1551
|
useSimple: function () { USE_SETTER = false; }
|
1552
1552
|
});
|
1553
1553
|
|
1554
|
-
$$
|
1554
|
+
$$u({ target: 'Object', stat: true, forced: !NATIVE_SYMBOL, sham: !DESCRIPTORS$d }, {
|
1555
1555
|
// `Object.create` method
|
1556
1556
|
// https://tc39.es/ecma262/#sec-object.create
|
1557
1557
|
create: $create,
|
@@ -1566,7 +1566,7 @@ this.Twilio.Conversations = (function (exports) {
|
|
1566
1566
|
getOwnPropertyDescriptor: $getOwnPropertyDescriptor
|
1567
1567
|
});
|
1568
1568
|
|
1569
|
-
$$
|
1569
|
+
$$u({ target: 'Object', stat: true, forced: !NATIVE_SYMBOL }, {
|
1570
1570
|
// `Object.getOwnPropertyNames` method
|
1571
1571
|
// https://tc39.es/ecma262/#sec-object.getownpropertynames
|
1572
1572
|
getOwnPropertyNames: $getOwnPropertyNames,
|
@@ -1577,7 +1577,7 @@ this.Twilio.Conversations = (function (exports) {
|
|
1577
1577
|
|
1578
1578
|
// Chrome 38 and 39 `Object.getOwnPropertySymbols` fails on primitives
|
1579
1579
|
// https://bugs.chromium.org/p/v8/issues/detail?id=3443
|
1580
|
-
$$
|
1580
|
+
$$u({ target: 'Object', stat: true, forced: fails$t(function () { getOwnPropertySymbolsModule$1.f(1); }) }, {
|
1581
1581
|
getOwnPropertySymbols: function getOwnPropertySymbols(it) {
|
1582
1582
|
return getOwnPropertySymbolsModule$1.f(toObject$c(it));
|
1583
1583
|
}
|
@@ -1596,7 +1596,7 @@ this.Twilio.Conversations = (function (exports) {
|
|
1596
1596
|
|| $stringify$1(Object(symbol)) != '{}';
|
1597
1597
|
});
|
1598
1598
|
|
1599
|
-
$$
|
1599
|
+
$$u({ target: 'JSON', stat: true, forced: FORCED_JSON_STRINGIFY }, {
|
1600
1600
|
// eslint-disable-next-line no-unused-vars -- required for `.length`
|
1601
1601
|
stringify: function stringify(it, replacer, space) {
|
1602
1602
|
var args = [it];
|
@@ -1646,7 +1646,7 @@ this.Twilio.Conversations = (function (exports) {
|
|
1646
1646
|
});
|
1647
1647
|
};
|
1648
1648
|
|
1649
|
-
var $$
|
1649
|
+
var $$t = _export;
|
1650
1650
|
var $filter$1 = arrayIteration.filter;
|
1651
1651
|
var arrayMethodHasSpeciesSupport$4 = arrayMethodHasSpeciesSupport$5;
|
1652
1652
|
|
@@ -1655,13 +1655,13 @@ this.Twilio.Conversations = (function (exports) {
|
|
1655
1655
|
// `Array.prototype.filter` method
|
1656
1656
|
// https://tc39.es/ecma262/#sec-array.prototype.filter
|
1657
1657
|
// with adding support of @@species
|
1658
|
-
$$
|
1658
|
+
$$t({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT$3 }, {
|
1659
1659
|
filter: function filter(callbackfn /* , thisArg */) {
|
1660
1660
|
return $filter$1(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);
|
1661
1661
|
}
|
1662
1662
|
});
|
1663
1663
|
|
1664
|
-
var $$
|
1664
|
+
var $$s = _export;
|
1665
1665
|
var fails$r = fails$B;
|
1666
1666
|
var toIndexedObject$6 = toIndexedObject$c;
|
1667
1667
|
var nativeGetOwnPropertyDescriptor$1 = objectGetOwnPropertyDescriptor.f;
|
@@ -1672,7 +1672,7 @@ this.Twilio.Conversations = (function (exports) {
|
|
1672
1672
|
|
1673
1673
|
// `Object.getOwnPropertyDescriptor` method
|
1674
1674
|
// https://tc39.es/ecma262/#sec-object.getownpropertydescriptor
|
1675
|
-
$$
|
1675
|
+
$$s({ target: 'Object', stat: true, forced: FORCED$8, sham: !DESCRIPTORS$c }, {
|
1676
1676
|
getOwnPropertyDescriptor: function getOwnPropertyDescriptor(it, key) {
|
1677
1677
|
return nativeGetOwnPropertyDescriptor$1(toIndexedObject$6(it), key);
|
1678
1678
|
}
|
@@ -1688,7 +1688,7 @@ this.Twilio.Conversations = (function (exports) {
|
|
1688
1688
|
else object[propertyKey] = value;
|
1689
1689
|
};
|
1690
1690
|
|
1691
|
-
var $$
|
1691
|
+
var $$r = _export;
|
1692
1692
|
var DESCRIPTORS$b = descriptors;
|
1693
1693
|
var ownKeys$7 = ownKeys$9;
|
1694
1694
|
var toIndexedObject$5 = toIndexedObject$c;
|
@@ -1697,7 +1697,7 @@ this.Twilio.Conversations = (function (exports) {
|
|
1697
1697
|
|
1698
1698
|
// `Object.getOwnPropertyDescriptors` method
|
1699
1699
|
// https://tc39.es/ecma262/#sec-object.getownpropertydescriptors
|
1700
|
-
$$
|
1700
|
+
$$r({ target: 'Object', stat: true, sham: !DESCRIPTORS$b }, {
|
1701
1701
|
getOwnPropertyDescriptors: function getOwnPropertyDescriptors(object) {
|
1702
1702
|
var O = toIndexedObject$5(object);
|
1703
1703
|
var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule$1.f;
|
@@ -2162,7 +2162,7 @@ this.Twilio.Conversations = (function (exports) {
|
|
2162
2162
|
var html = html$2;
|
2163
2163
|
var createElement = documentCreateElement$2;
|
2164
2164
|
var IS_IOS$1 = engineIsIos;
|
2165
|
-
var IS_NODE$
|
2165
|
+
var IS_NODE$2 = engineIsNode;
|
2166
2166
|
|
2167
2167
|
var set$1 = global$n.setImmediate;
|
2168
2168
|
var clear = global$n.clearImmediate;
|
@@ -2221,7 +2221,7 @@ this.Twilio.Conversations = (function (exports) {
|
|
2221
2221
|
delete queue[id];
|
2222
2222
|
};
|
2223
2223
|
// Node.js 0.8-
|
2224
|
-
if (IS_NODE$
|
2224
|
+
if (IS_NODE$2) {
|
2225
2225
|
defer = function (id) {
|
2226
2226
|
process$2.nextTick(runner(id));
|
2227
2227
|
};
|
@@ -2284,7 +2284,7 @@ this.Twilio.Conversations = (function (exports) {
|
|
2284
2284
|
var IS_IOS = engineIsIos;
|
2285
2285
|
var IS_IOS_PEBBLE = engineIsIosPebble;
|
2286
2286
|
var IS_WEBOS_WEBKIT = engineIsWebosWebkit;
|
2287
|
-
var IS_NODE$
|
2287
|
+
var IS_NODE$1 = engineIsNode;
|
2288
2288
|
|
2289
2289
|
var MutationObserver = global$l.MutationObserver || global$l.WebKitMutationObserver;
|
2290
2290
|
var document$2 = global$l.document;
|
@@ -2300,7 +2300,7 @@ this.Twilio.Conversations = (function (exports) {
|
|
2300
2300
|
if (!queueMicrotask) {
|
2301
2301
|
flush = function () {
|
2302
2302
|
var parent, fn;
|
2303
|
-
if (IS_NODE$
|
2303
|
+
if (IS_NODE$1 && (parent = process$1.domain)) parent.exit();
|
2304
2304
|
while (head) {
|
2305
2305
|
fn = head.fn;
|
2306
2306
|
head = head.next;
|
@@ -2317,7 +2317,7 @@ this.Twilio.Conversations = (function (exports) {
|
|
2317
2317
|
|
2318
2318
|
// browsers with MutationObserver, except iOS - https://github.com/zloirock/core-js/issues/339
|
2319
2319
|
// also except WebOS Webkit https://github.com/zloirock/core-js/issues/898
|
2320
|
-
if (!IS_IOS && !IS_NODE$
|
2320
|
+
if (!IS_IOS && !IS_NODE$1 && !IS_WEBOS_WEBKIT && MutationObserver && document$2) {
|
2321
2321
|
toggle = true;
|
2322
2322
|
node = document$2.createTextNode('');
|
2323
2323
|
new MutationObserver(flush).observe(node, { characterData: true });
|
@@ -2335,7 +2335,7 @@ this.Twilio.Conversations = (function (exports) {
|
|
2335
2335
|
then.call(promise, flush);
|
2336
2336
|
};
|
2337
2337
|
// Node.js without promises
|
2338
|
-
} else if (IS_NODE$
|
2338
|
+
} else if (IS_NODE$1) {
|
2339
2339
|
notify$1 = function () {
|
2340
2340
|
process$1.nextTick(flush);
|
2341
2341
|
};
|
@@ -2415,7 +2415,7 @@ this.Twilio.Conversations = (function (exports) {
|
|
2415
2415
|
|
2416
2416
|
var engineIsBrowser = typeof window == 'object';
|
2417
2417
|
|
2418
|
-
var $$
|
2418
|
+
var $$q = _export;
|
2419
2419
|
var global$j = global$D;
|
2420
2420
|
var getBuiltIn$2 = getBuiltIn$a;
|
2421
2421
|
var NativePromise = nativePromiseConstructor;
|
@@ -2441,7 +2441,7 @@ this.Twilio.Conversations = (function (exports) {
|
|
2441
2441
|
var isForced$2 = isForced_1;
|
2442
2442
|
var wellKnownSymbol$e = wellKnownSymbol$s;
|
2443
2443
|
var IS_BROWSER = engineIsBrowser;
|
2444
|
-
var IS_NODE
|
2444
|
+
var IS_NODE = engineIsNode;
|
2445
2445
|
var V8_VERSION$1 = engineV8Version;
|
2446
2446
|
|
2447
2447
|
var SPECIES$2 = wellKnownSymbol$e('species');
|
@@ -2572,12 +2572,12 @@ this.Twilio.Conversations = (function (exports) {
|
|
2572
2572
|
var result;
|
2573
2573
|
if (IS_UNHANDLED) {
|
2574
2574
|
result = perform(function () {
|
2575
|
-
if (IS_NODE
|
2575
|
+
if (IS_NODE) {
|
2576
2576
|
process.emit('unhandledRejection', value, promise);
|
2577
2577
|
} else dispatchEvent(UNHANDLED_REJECTION, promise, value);
|
2578
2578
|
});
|
2579
2579
|
// Browsers should not trigger `rejectionHandled` event if it was handled here, NodeJS - should
|
2580
|
-
state.rejection = IS_NODE
|
2580
|
+
state.rejection = IS_NODE || isUnhandled(state) ? UNHANDLED : HANDLED;
|
2581
2581
|
if (result.error) throw result.value;
|
2582
2582
|
}
|
2583
2583
|
});
|
@@ -2590,7 +2590,7 @@ this.Twilio.Conversations = (function (exports) {
|
|
2590
2590
|
var onHandleUnhandled = function (state) {
|
2591
2591
|
task.call(global$j, function () {
|
2592
2592
|
var promise = state.facade;
|
2593
|
-
if (IS_NODE
|
2593
|
+
if (IS_NODE) {
|
2594
2594
|
process.emit('rejectionHandled', promise);
|
2595
2595
|
} else dispatchEvent(REJECTION_HANDLED, promise, state.value);
|
2596
2596
|
});
|
@@ -2676,7 +2676,7 @@ this.Twilio.Conversations = (function (exports) {
|
|
2676
2676
|
var reaction = newPromiseCapability(speciesConstructor$2(this, PromiseConstructor));
|
2677
2677
|
reaction.ok = typeof onFulfilled == 'function' ? onFulfilled : true;
|
2678
2678
|
reaction.fail = typeof onRejected == 'function' && onRejected;
|
2679
|
-
reaction.domain = IS_NODE
|
2679
|
+
reaction.domain = IS_NODE ? process.domain : undefined;
|
2680
2680
|
state.parent = true;
|
2681
2681
|
state.reactions.push(reaction);
|
2682
2682
|
if (state.state != PENDING) notify(state, false);
|
@@ -2730,7 +2730,7 @@ this.Twilio.Conversations = (function (exports) {
|
|
2730
2730
|
}
|
2731
2731
|
}
|
2732
2732
|
|
2733
|
-
$$
|
2733
|
+
$$q({ global: true, wrap: true, forced: FORCED$7 }, {
|
2734
2734
|
Promise: PromiseConstructor
|
2735
2735
|
});
|
2736
2736
|
|
@@ -2740,7 +2740,7 @@ this.Twilio.Conversations = (function (exports) {
|
|
2740
2740
|
PromiseWrapper = getBuiltIn$2(PROMISE);
|
2741
2741
|
|
2742
2742
|
// statics
|
2743
|
-
$$
|
2743
|
+
$$q({ target: PROMISE, stat: true, forced: FORCED$7 }, {
|
2744
2744
|
// `Promise.reject` method
|
2745
2745
|
// https://tc39.es/ecma262/#sec-promise.reject
|
2746
2746
|
reject: function reject(r) {
|
@@ -2750,7 +2750,7 @@ this.Twilio.Conversations = (function (exports) {
|
|
2750
2750
|
}
|
2751
2751
|
});
|
2752
2752
|
|
2753
|
-
$$
|
2753
|
+
$$q({ target: PROMISE, stat: true, forced: FORCED$7 }, {
|
2754
2754
|
// `Promise.resolve` method
|
2755
2755
|
// https://tc39.es/ecma262/#sec-promise.resolve
|
2756
2756
|
resolve: function resolve(x) {
|
@@ -2758,7 +2758,7 @@ this.Twilio.Conversations = (function (exports) {
|
|
2758
2758
|
}
|
2759
2759
|
});
|
2760
2760
|
|
2761
|
-
$$
|
2761
|
+
$$q({ target: PROMISE, stat: true, forced: INCORRECT_ITERATION$1 }, {
|
2762
2762
|
// `Promise.all` method
|
2763
2763
|
// https://tc39.es/ecma262/#sec-promise.all
|
2764
2764
|
all: function all(iterable) {
|
@@ -2805,7 +2805,7 @@ this.Twilio.Conversations = (function (exports) {
|
|
2805
2805
|
}
|
2806
2806
|
});
|
2807
2807
|
|
2808
|
-
var $$
|
2808
|
+
var $$p = _export;
|
2809
2809
|
var $map$1 = arrayIteration.map;
|
2810
2810
|
var arrayMethodHasSpeciesSupport$3 = arrayMethodHasSpeciesSupport$5;
|
2811
2811
|
|
@@ -2814,7 +2814,7 @@ this.Twilio.Conversations = (function (exports) {
|
|
2814
2814
|
// `Array.prototype.map` method
|
2815
2815
|
// https://tc39.es/ecma262/#sec-array.prototype.map
|
2816
2816
|
// with adding support of @@species
|
2817
|
-
$$
|
2817
|
+
$$p({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT$2 }, {
|
2818
2818
|
map: function map(callbackfn /* , thisArg */) {
|
2819
2819
|
return $map$1(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);
|
2820
2820
|
}
|
@@ -2866,7 +2866,7 @@ this.Twilio.Conversations = (function (exports) {
|
|
2866
2866
|
|
2867
2867
|
var fails$p = fails$B;
|
2868
2868
|
|
2869
|
-
var arrayMethodIsStrict$
|
2869
|
+
var arrayMethodIsStrict$4 = function (METHOD_NAME, argument) {
|
2870
2870
|
var method = [][METHOD_NAME];
|
2871
2871
|
return !!method && fails$p(function () {
|
2872
2872
|
// eslint-disable-next-line no-useless-call,no-throw-literal -- required for testing
|
@@ -2875,13 +2875,13 @@ this.Twilio.Conversations = (function (exports) {
|
|
2875
2875
|
};
|
2876
2876
|
|
2877
2877
|
var $forEach$1 = arrayIteration.forEach;
|
2878
|
-
var arrayMethodIsStrict$
|
2878
|
+
var arrayMethodIsStrict$3 = arrayMethodIsStrict$4;
|
2879
2879
|
|
2880
|
-
var STRICT_METHOD$
|
2880
|
+
var STRICT_METHOD$3 = arrayMethodIsStrict$3('forEach');
|
2881
2881
|
|
2882
2882
|
// `Array.prototype.forEach` method implementation
|
2883
2883
|
// https://tc39.es/ecma262/#sec-array.prototype.foreach
|
2884
|
-
var arrayForEach = !STRICT_METHOD$
|
2884
|
+
var arrayForEach = !STRICT_METHOD$3 ? function forEach(callbackfn /* , thisArg */) {
|
2885
2885
|
return $forEach$1(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);
|
2886
2886
|
// eslint-disable-next-line es/no-array-prototype-foreach -- safe
|
2887
2887
|
} : [].forEach;
|
@@ -3610,7 +3610,7 @@ this.Twilio.Conversations = (function (exports) {
|
|
3610
3610
|
if ((typeof Reflect === "undefined" ? "undefined" : _typeof$3(Reflect)) === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(metadataKey, metadataValue);
|
3611
3611
|
}
|
3612
3612
|
|
3613
|
-
var $$
|
3613
|
+
var $$o = _export;
|
3614
3614
|
var fails$o = fails$B;
|
3615
3615
|
var isArray$1 = isArray$4;
|
3616
3616
|
var isObject$c = isObject$p;
|
@@ -3648,7 +3648,7 @@ this.Twilio.Conversations = (function (exports) {
|
|
3648
3648
|
// `Array.prototype.concat` method
|
3649
3649
|
// https://tc39.es/ecma262/#sec-array.prototype.concat
|
3650
3650
|
// with adding support of @@isConcatSpreadable and @@species
|
3651
|
-
$$
|
3651
|
+
$$o({ target: 'Array', proto: true, forced: FORCED$6 }, {
|
3652
3652
|
// eslint-disable-next-line no-unused-vars -- required for `.length`
|
3653
3653
|
concat: function concat(arg) {
|
3654
3654
|
var O = toObject$b(this);
|
@@ -3725,7 +3725,7 @@ this.Twilio.Conversations = (function (exports) {
|
|
3725
3725
|
return result;
|
3726
3726
|
};
|
3727
3727
|
|
3728
|
-
var $$
|
3728
|
+
var $$n = _export;
|
3729
3729
|
var from = arrayFrom$1;
|
3730
3730
|
var checkCorrectnessOfIteration$2 = checkCorrectnessOfIteration$4;
|
3731
3731
|
|
@@ -3736,7 +3736,7 @@ this.Twilio.Conversations = (function (exports) {
|
|
3736
3736
|
|
3737
3737
|
// `Array.from` method
|
3738
3738
|
// https://tc39.es/ecma262/#sec-array.from
|
3739
|
-
$$
|
3739
|
+
$$n({ target: 'Array', stat: true, forced: INCORRECT_ITERATION }, {
|
3740
3740
|
from: from
|
3741
3741
|
});
|
3742
3742
|
|
@@ -3857,7 +3857,7 @@ this.Twilio.Conversations = (function (exports) {
|
|
3857
3857
|
return IteratorConstructor;
|
3858
3858
|
};
|
3859
3859
|
|
3860
|
-
var $$
|
3860
|
+
var $$m = _export;
|
3861
3861
|
var createIteratorConstructor$1 = createIteratorConstructor$2;
|
3862
3862
|
var getPrototypeOf$3 = objectGetPrototypeOf;
|
3863
3863
|
var setPrototypeOf$5 = objectSetPrototypeOf;
|
@@ -3939,7 +3939,7 @@ this.Twilio.Conversations = (function (exports) {
|
|
3939
3939
|
if (BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME || !(KEY in IterablePrototype)) {
|
3940
3940
|
redefine$7(IterablePrototype, KEY, methods[KEY]);
|
3941
3941
|
}
|
3942
|
-
} else $$
|
3942
|
+
} else $$m({ target: NAME, proto: true, forced: BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME }, methods);
|
3943
3943
|
}
|
3944
3944
|
|
3945
3945
|
return methods;
|
@@ -4662,7 +4662,7 @@ this.Twilio.Conversations = (function (exports) {
|
|
4662
4662
|
|
4663
4663
|
handlePrototype(DOMTokenListPrototype, 'DOMTokenList');
|
4664
4664
|
|
4665
|
-
var $$
|
4665
|
+
var $$l = _export;
|
4666
4666
|
var getBuiltIn$1 = getBuiltIn$a;
|
4667
4667
|
var fails$l = fails$B;
|
4668
4668
|
|
@@ -4688,7 +4688,7 @@ this.Twilio.Conversations = (function (exports) {
|
|
4688
4688
|
// `JSON.stringify` method
|
4689
4689
|
// https://tc39.es/ecma262/#sec-json.stringify
|
4690
4690
|
// https://github.com/tc39/proposal-well-formed-stringify
|
4691
|
-
$$
|
4691
|
+
$$l({ target: 'JSON', stat: true, forced: FORCED$5 }, {
|
4692
4692
|
// eslint-disable-next-line no-unused-vars -- required for `.length`
|
4693
4693
|
stringify: function stringify(it, replacer, space) {
|
4694
4694
|
var result = $stringify.apply(null, arguments);
|
@@ -5004,12 +5004,12 @@ this.Twilio.Conversations = (function (exports) {
|
|
5004
5004
|
|
5005
5005
|
var regexpExec$3 = patchedExec;
|
5006
5006
|
|
5007
|
-
var $$
|
5007
|
+
var $$k = _export;
|
5008
5008
|
var exec = regexpExec$3;
|
5009
5009
|
|
5010
5010
|
// `RegExp.prototype.exec` method
|
5011
5011
|
// https://tc39.es/ecma262/#sec-regexp.prototype.exec
|
5012
|
-
$$
|
5012
|
+
$$k({ target: 'RegExp', proto: true, forced: /./.exec !== exec }, {
|
5013
5013
|
exec: exec
|
5014
5014
|
});
|
5015
5015
|
|
@@ -5284,19 +5284,19 @@ this.Twilio.Conversations = (function (exports) {
|
|
5284
5284
|
];
|
5285
5285
|
}, !REPLACE_SUPPORTS_NAMED_GROUPS || !REPLACE_KEEPS_$0 || REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE);
|
5286
5286
|
|
5287
|
-
var $$
|
5287
|
+
var $$j = _export;
|
5288
5288
|
var IndexedObject$2 = indexedObject;
|
5289
5289
|
var toIndexedObject$3 = toIndexedObject$c;
|
5290
|
-
var arrayMethodIsStrict$
|
5290
|
+
var arrayMethodIsStrict$2 = arrayMethodIsStrict$4;
|
5291
5291
|
|
5292
5292
|
var nativeJoin = [].join;
|
5293
5293
|
|
5294
5294
|
var ES3_STRINGS = IndexedObject$2 != Object;
|
5295
|
-
var STRICT_METHOD$
|
5295
|
+
var STRICT_METHOD$2 = arrayMethodIsStrict$2('join', ',');
|
5296
5296
|
|
5297
5297
|
// `Array.prototype.join` method
|
5298
5298
|
// https://tc39.es/ecma262/#sec-array.prototype.join
|
5299
|
-
$$
|
5299
|
+
$$j({ target: 'Array', proto: true, forced: ES3_STRINGS || !STRICT_METHOD$2 }, {
|
5300
5300
|
join: function join(separator) {
|
5301
5301
|
return nativeJoin.call(toIndexedObject$3(this), separator === undefined ? ',' : separator);
|
5302
5302
|
}
|
@@ -5394,7 +5394,7 @@ this.Twilio.Conversations = (function (exports) {
|
|
5394
5394
|
|
5395
5395
|
var browser$7 = {};
|
5396
5396
|
|
5397
|
-
var $$
|
5397
|
+
var $$i = _export;
|
5398
5398
|
var isObject$a = isObject$p;
|
5399
5399
|
var isArray = isArray$4;
|
5400
5400
|
var toAbsoluteIndex$4 = toAbsoluteIndex$6;
|
@@ -5413,7 +5413,7 @@ this.Twilio.Conversations = (function (exports) {
|
|
5413
5413
|
// `Array.prototype.slice` method
|
5414
5414
|
// https://tc39.es/ecma262/#sec-array.prototype.slice
|
5415
5415
|
// fallback for not array-like ES3 strings and DOM objects
|
5416
|
-
$$
|
5416
|
+
$$i({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT$1 }, {
|
5417
5417
|
slice: function slice(start, end) {
|
5418
5418
|
var O = toIndexedObject$2(this);
|
5419
5419
|
var length = toLength$h(O.length);
|
@@ -5443,7 +5443,7 @@ this.Twilio.Conversations = (function (exports) {
|
|
5443
5443
|
|
5444
5444
|
// TODO: Remove from `core-js@4` since it's moved to entry points
|
5445
5445
|
|
5446
|
-
var $$
|
5446
|
+
var $$h = _export;
|
5447
5447
|
var isObject$9 = isObject$p;
|
5448
5448
|
|
5449
5449
|
var DELEGATES_TO_EXEC = function () {
|
@@ -5460,7 +5460,7 @@ this.Twilio.Conversations = (function (exports) {
|
|
5460
5460
|
|
5461
5461
|
// `RegExp.prototype.test` method
|
5462
5462
|
// https://tc39.es/ecma262/#sec-regexp.prototype.test
|
5463
|
-
$$
|
5463
|
+
$$h({ target: 'RegExp', proto: true, forced: !DELEGATES_TO_EXEC }, {
|
5464
5464
|
test: function (str) {
|
5465
5465
|
if (typeof this.exec !== 'function') {
|
5466
5466
|
return nativeTest.call(this, str);
|
@@ -5473,7 +5473,7 @@ this.Twilio.Conversations = (function (exports) {
|
|
5473
5473
|
}
|
5474
5474
|
});
|
5475
5475
|
|
5476
|
-
var $$
|
5476
|
+
var $$g = _export;
|
5477
5477
|
var DESCRIPTORS$8 = descriptors;
|
5478
5478
|
var global$c = global$D;
|
5479
5479
|
var has$4 = has$g;
|
@@ -5516,7 +5516,7 @@ this.Twilio.Conversations = (function (exports) {
|
|
5516
5516
|
}
|
5517
5517
|
});
|
5518
5518
|
|
5519
|
-
$$
|
5519
|
+
$$g({ global: true, forced: true }, {
|
5520
5520
|
Symbol: SymbolWrapper
|
5521
5521
|
});
|
5522
5522
|
}
|
@@ -5840,13 +5840,13 @@ this.Twilio.Conversations = (function (exports) {
|
|
5840
5840
|
module.exports = _getPrototypeOf, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
5841
5841
|
})(getPrototypeOf$2);
|
5842
5842
|
|
5843
|
-
var $$
|
5843
|
+
var $$f = _export;
|
5844
5844
|
var $includes$1 = arrayIncludes.includes;
|
5845
5845
|
var addToUnscopables$1 = addToUnscopables$3;
|
5846
5846
|
|
5847
5847
|
// `Array.prototype.includes` method
|
5848
5848
|
// https://tc39.es/ecma262/#sec-array.prototype.includes
|
5849
|
-
$$
|
5849
|
+
$$f({ target: 'Array', proto: true }, {
|
5850
5850
|
includes: function includes(el /* , fromIndex = 0 */) {
|
5851
5851
|
return $includes$1(this, el, arguments.length > 1 ? arguments[1] : undefined);
|
5852
5852
|
}
|
@@ -5865,12 +5865,12 @@ this.Twilio.Conversations = (function (exports) {
|
|
5865
5865
|
return !isObject$7(it) && isFinite(it) && floor$5(it) === it;
|
5866
5866
|
};
|
5867
5867
|
|
5868
|
-
var $$
|
5868
|
+
var $$e = _export;
|
5869
5869
|
var isInteger$2 = isInteger$3;
|
5870
5870
|
|
5871
5871
|
// `Number.isInteger` method
|
5872
5872
|
// https://tc39.es/ecma262/#sec-number.isinteger
|
5873
|
-
$$
|
5873
|
+
$$e({ target: 'Number', stat: true }, {
|
5874
5874
|
isInteger: isInteger$2
|
5875
5875
|
});
|
5876
5876
|
|
@@ -5907,12 +5907,12 @@ this.Twilio.Conversations = (function (exports) {
|
|
5907
5907
|
values: createMethod$1(false)
|
5908
5908
|
};
|
5909
5909
|
|
5910
|
-
var $$
|
5910
|
+
var $$d = _export;
|
5911
5911
|
var $entries = objectToArray.entries;
|
5912
5912
|
|
5913
5913
|
// `Object.entries` method
|
5914
5914
|
// https://tc39.es/ecma262/#sec-object.entries
|
5915
|
-
$$
|
5915
|
+
$$d({ target: 'Object', stat: true }, {
|
5916
5916
|
entries: function entries(O) {
|
5917
5917
|
return $entries(O);
|
5918
5918
|
}
|
@@ -6177,8 +6177,8 @@ this.Twilio.Conversations = (function (exports) {
|
|
6177
6177
|
});
|
6178
6178
|
};
|
6179
6179
|
|
6180
|
-
function _createSuper$
|
6181
|
-
var hasNativeReflectConstruct = _isNativeReflectConstruct$
|
6180
|
+
function _createSuper$c(Derived) {
|
6181
|
+
var hasNativeReflectConstruct = _isNativeReflectConstruct$c();
|
6182
6182
|
|
6183
6183
|
return function _createSuperInternal() {
|
6184
6184
|
var Super = _getPrototypeOf__default$3["default"](Derived),
|
@@ -6196,7 +6196,7 @@ this.Twilio.Conversations = (function (exports) {
|
|
6196
6196
|
};
|
6197
6197
|
}
|
6198
6198
|
|
6199
|
-
function _isNativeReflectConstruct$
|
6199
|
+
function _isNativeReflectConstruct$c() {
|
6200
6200
|
if (typeof Reflect === "undefined" || !Reflect.construct) return false;
|
6201
6201
|
if (Reflect.construct.sham) return false;
|
6202
6202
|
if (typeof Proxy === "function") return true;
|
@@ -6359,7 +6359,7 @@ this.Twilio.Conversations = (function (exports) {
|
|
6359
6359
|
return /*#__PURE__*/function (_ctor) {
|
6360
6360
|
_inherits__default$3["default"](_class, _ctor);
|
6361
6361
|
|
6362
|
-
var _super = _createSuper$
|
6362
|
+
var _super = _createSuper$c(_class);
|
6363
6363
|
|
6364
6364
|
function _class() {
|
6365
6365
|
_classCallCheck__default$3["default"](this, _class);
|
@@ -7411,8 +7411,8 @@ this.Twilio.Conversations = (function (exports) {
|
|
7411
7411
|
return ret;
|
7412
7412
|
}
|
7413
7413
|
|
7414
|
-
function _createSuper$
|
7415
|
-
var hasNativeReflectConstruct = _isNativeReflectConstruct$
|
7414
|
+
function _createSuper$b(Derived) {
|
7415
|
+
var hasNativeReflectConstruct = _isNativeReflectConstruct$b();
|
7416
7416
|
|
7417
7417
|
return function _createSuperInternal() {
|
7418
7418
|
var Super = _getPrototypeOf__default$2["default"](Derived),
|
@@ -7430,7 +7430,7 @@ this.Twilio.Conversations = (function (exports) {
|
|
7430
7430
|
};
|
7431
7431
|
}
|
7432
7432
|
|
7433
|
-
function _isNativeReflectConstruct$
|
7433
|
+
function _isNativeReflectConstruct$b() {
|
7434
7434
|
if (typeof Reflect === "undefined" || !Reflect.construct) return false;
|
7435
7435
|
if (Reflect.construct.sham) return false;
|
7436
7436
|
if (typeof Proxy === "function") return true;
|
@@ -7446,7 +7446,7 @@ this.Twilio.Conversations = (function (exports) {
|
|
7446
7446
|
var ReplayEventEmitter = /*#__PURE__*/function (_EventEmitter) {
|
7447
7447
|
_inherits__default$2["default"](ReplayEventEmitter, _EventEmitter);
|
7448
7448
|
|
7449
|
-
var _super = _createSuper$
|
7449
|
+
var _super = _createSuper$b(ReplayEventEmitter);
|
7450
7450
|
|
7451
7451
|
function ReplayEventEmitter() {
|
7452
7452
|
var _this;
|
@@ -9452,9 +9452,9 @@ this.Twilio.Conversations = (function (exports) {
|
|
9452
9452
|
|
9453
9453
|
var isEqual = lodash_isequal.exports;
|
9454
9454
|
|
9455
|
-
function _createSuper$
|
9455
|
+
function _createSuper$a(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$a(); return function _createSuperInternal() { var Super = _getPrototypeOf$4(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf$4(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn$4(this, result); }; }
|
9456
9456
|
|
9457
|
-
function _isNativeReflectConstruct$
|
9457
|
+
function _isNativeReflectConstruct$a() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
9458
9458
|
var log$9 = Logger.scope("User");
|
9459
9459
|
/**
|
9460
9460
|
* Extended user information.
|
@@ -9466,7 +9466,7 @@ this.Twilio.Conversations = (function (exports) {
|
|
9466
9466
|
var User = /*#__PURE__*/function (_ReplayEventEmitter) {
|
9467
9467
|
_inherits$4(User, _ReplayEventEmitter);
|
9468
9468
|
|
9469
|
-
var _super = _createSuper$
|
9469
|
+
var _super = _createSuper$a(User);
|
9470
9470
|
|
9471
9471
|
/**
|
9472
9472
|
* @internal
|
@@ -10012,7 +10012,7 @@ this.Twilio.Conversations = (function (exports) {
|
|
10012
10012
|
return Object.isExtensible(Object.preventExtensions({}));
|
10013
10013
|
});
|
10014
10014
|
|
10015
|
-
var $$
|
10015
|
+
var $$c = _export;
|
10016
10016
|
var hiddenKeys = hiddenKeys$6;
|
10017
10017
|
var isObject$6 = isObject$p;
|
10018
10018
|
var has$3 = has$g;
|
@@ -10090,7 +10090,7 @@ this.Twilio.Conversations = (function (exports) {
|
|
10090
10090
|
} return result;
|
10091
10091
|
};
|
10092
10092
|
|
10093
|
-
$$
|
10093
|
+
$$c({ target: 'Object', stat: true, forced: true }, {
|
10094
10094
|
getOwnPropertyNames: getOwnPropertyNamesExternalModule.f
|
10095
10095
|
});
|
10096
10096
|
}
|
@@ -10105,7 +10105,7 @@ this.Twilio.Conversations = (function (exports) {
|
|
10105
10105
|
|
10106
10106
|
hiddenKeys[METADATA] = true;
|
10107
10107
|
|
10108
|
-
var $$
|
10108
|
+
var $$b = _export;
|
10109
10109
|
var global$b = global$D;
|
10110
10110
|
var isForced = isForced_1;
|
10111
10111
|
var redefine$4 = redefine$d.exports;
|
@@ -10199,7 +10199,7 @@ this.Twilio.Conversations = (function (exports) {
|
|
10199
10199
|
}
|
10200
10200
|
|
10201
10201
|
exported[CONSTRUCTOR_NAME] = Constructor;
|
10202
|
-
$$
|
10202
|
+
$$b({ global: true, forced: Constructor != NativeConstructor }, exported);
|
10203
10203
|
|
10204
10204
|
setToStringTag$3(Constructor, CONSTRUCTOR_NAME);
|
10205
10205
|
|
@@ -11170,8 +11170,8 @@ this.Twilio.Conversations = (function (exports) {
|
|
11170
11170
|
return AsyncRetrier;
|
11171
11171
|
}(EventEmitter$1);
|
11172
11172
|
|
11173
|
-
function _createSuper$
|
11174
|
-
var hasNativeReflectConstruct = _isNativeReflectConstruct$
|
11173
|
+
function _createSuper$9(Derived) {
|
11174
|
+
var hasNativeReflectConstruct = _isNativeReflectConstruct$9();
|
11175
11175
|
|
11176
11176
|
return function _createSuperInternal() {
|
11177
11177
|
var Super = _getPrototypeOf__default$1["default"](Derived),
|
@@ -11189,7 +11189,7 @@ this.Twilio.Conversations = (function (exports) {
|
|
11189
11189
|
};
|
11190
11190
|
}
|
11191
11191
|
|
11192
|
-
function _isNativeReflectConstruct$
|
11192
|
+
function _isNativeReflectConstruct$9() {
|
11193
11193
|
if (typeof Reflect === "undefined" || !Reflect.construct) return false;
|
11194
11194
|
if (Reflect.construct.sham) return false;
|
11195
11195
|
if (typeof Proxy === "function") return true;
|
@@ -11209,7 +11209,7 @@ this.Twilio.Conversations = (function (exports) {
|
|
11209
11209
|
var Backoff = /*#__PURE__*/function (_EventEmitter) {
|
11210
11210
|
_inherits__default$1["default"](Backoff, _EventEmitter);
|
11211
11211
|
|
11212
|
-
var _super = _createSuper$
|
11212
|
+
var _super = _createSuper$9(Backoff);
|
11213
11213
|
|
11214
11214
|
function Backoff(options) {
|
11215
11215
|
var _this;
|
@@ -11544,7 +11544,7 @@ this.Twilio.Conversations = (function (exports) {
|
|
11544
11544
|
module.exports = _asyncToGenerator, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
11545
11545
|
})(asyncToGenerator);
|
11546
11546
|
|
11547
|
-
var require$$
|
11547
|
+
var require$$8 = /*@__PURE__*/getAugmentedNamespace(regenerator);
|
11548
11548
|
|
11549
11549
|
var redefine$3 = redefine$d.exports;
|
11550
11550
|
var anObject$4 = anObject$k;
|
@@ -13104,7 +13104,7 @@ this.Twilio.Conversations = (function (exports) {
|
|
13104
13104
|
return result;
|
13105
13105
|
};
|
13106
13106
|
|
13107
|
-
var $$
|
13107
|
+
var $$a = _export;
|
13108
13108
|
var global$7 = global$D;
|
13109
13109
|
var DESCRIPTORS$2 = descriptors;
|
13110
13110
|
var TYPED_ARRAYS_CONSTRUCTORS_REQUIRES_WRAPPERS = typedArrayConstructorsRequireWrappers;
|
@@ -13212,7 +13212,7 @@ this.Twilio.Conversations = (function (exports) {
|
|
13212
13212
|
addGetter(TypedArrayPrototype, 'length');
|
13213
13213
|
}
|
13214
13214
|
|
13215
|
-
$$
|
13215
|
+
$$a({ target: 'Object', stat: true, forced: !NATIVE_ARRAY_BUFFER_VIEWS }, {
|
13216
13216
|
getOwnPropertyDescriptor: wrappedGetOwnPropertyDescriptor,
|
13217
13217
|
defineProperty: wrappedDefineProperty
|
13218
13218
|
});
|
@@ -13326,7 +13326,7 @@ this.Twilio.Conversations = (function (exports) {
|
|
13326
13326
|
|
13327
13327
|
exported[CONSTRUCTOR_NAME] = TypedArrayConstructor;
|
13328
13328
|
|
13329
|
-
$$
|
13329
|
+
$$a({
|
13330
13330
|
global: true, forced: TypedArrayConstructor != NativeTypedArrayConstructor, sham: !NATIVE_ARRAY_BUFFER_VIEWS
|
13331
13331
|
}, exported);
|
13332
13332
|
|
@@ -13575,13 +13575,13 @@ this.Twilio.Conversations = (function (exports) {
|
|
13575
13575
|
var toIndexedObject = toIndexedObject$c;
|
13576
13576
|
var toInteger$2 = toInteger$a;
|
13577
13577
|
var toLength$a = toLength$o;
|
13578
|
-
var arrayMethodIsStrict$
|
13578
|
+
var arrayMethodIsStrict$1 = arrayMethodIsStrict$4;
|
13579
13579
|
|
13580
13580
|
var min$3 = Math.min;
|
13581
13581
|
var $lastIndexOf$1 = [].lastIndexOf;
|
13582
13582
|
var NEGATIVE_ZERO = !!$lastIndexOf$1 && 1 / [1].lastIndexOf(1, -0) < 0;
|
13583
|
-
var STRICT_METHOD$
|
13584
|
-
var FORCED$4 = NEGATIVE_ZERO || !STRICT_METHOD$
|
13583
|
+
var STRICT_METHOD$1 = arrayMethodIsStrict$1('lastIndexOf');
|
13584
|
+
var FORCED$4 = NEGATIVE_ZERO || !STRICT_METHOD$1;
|
13585
13585
|
|
13586
13586
|
// `Array.prototype.lastIndexOf` method implementation
|
13587
13587
|
// https://tc39.es/ecma262/#sec-array.prototype.lastindexof
|
@@ -13667,7 +13667,7 @@ this.Twilio.Conversations = (function (exports) {
|
|
13667
13667
|
};
|
13668
13668
|
|
13669
13669
|
var ArrayBufferViewCore$9 = arrayBufferViewCore;
|
13670
|
-
var $reduce
|
13670
|
+
var $reduce = arrayReduce.left;
|
13671
13671
|
|
13672
13672
|
var aTypedArray$9 = ArrayBufferViewCore$9.aTypedArray;
|
13673
13673
|
var exportTypedArrayMethod$a = ArrayBufferViewCore$9.exportTypedArrayMethod;
|
@@ -13675,7 +13675,7 @@ this.Twilio.Conversations = (function (exports) {
|
|
13675
13675
|
// `%TypedArray%.prototype.reduce` method
|
13676
13676
|
// https://tc39.es/ecma262/#sec-%typedarray%.prototype.reduce
|
13677
13677
|
exportTypedArrayMethod$a('reduce', function reduce(callbackfn /* , initialValue */) {
|
13678
|
-
return $reduce
|
13678
|
+
return $reduce(aTypedArray$9(this), callbackfn, arguments.length, arguments.length > 1 ? arguments[1] : undefined);
|
13679
13679
|
});
|
13680
13680
|
|
13681
13681
|
var ArrayBufferViewCore$8 = arrayBufferViewCore;
|
@@ -15528,7 +15528,7 @@ this.Twilio.Conversations = (function (exports) {
|
|
15528
15528
|
];
|
15529
15529
|
});
|
15530
15530
|
|
15531
|
-
var $$
|
15531
|
+
var $$9 = _export;
|
15532
15532
|
var toAbsoluteIndex = toAbsoluteIndex$6;
|
15533
15533
|
var toInteger$1 = toInteger$a;
|
15534
15534
|
var toLength$3 = toLength$o;
|
@@ -15547,7 +15547,7 @@ this.Twilio.Conversations = (function (exports) {
|
|
15547
15547
|
// `Array.prototype.splice` method
|
15548
15548
|
// https://tc39.es/ecma262/#sec-array.prototype.splice
|
15549
15549
|
// with adding support of @@species
|
15550
|
-
$$
|
15550
|
+
$$9({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT }, {
|
15551
15551
|
splice: function splice(start, deleteCount /* , ...items */) {
|
15552
15552
|
var O = toObject$2(this);
|
15553
15553
|
var len = toLength$3(O.length);
|
@@ -15611,7 +15611,7 @@ this.Twilio.Conversations = (function (exports) {
|
|
15611
15611
|
var _getPrototypeOf = getPrototypeOf$2.exports;
|
15612
15612
|
var _classCallCheck = classCallCheck.exports;
|
15613
15613
|
var _defineProperty = defineProperty$5.exports;
|
15614
|
-
var _regeneratorRuntime = require$$
|
15614
|
+
var _regeneratorRuntime = require$$8;
|
15615
15615
|
var _typeof = _typeof$2.exports;
|
15616
15616
|
var declarativeTypeValidator = browser$7;
|
15617
15617
|
var loglevelLog = loglevel.exports;
|
@@ -20087,13 +20087,13 @@ this.Twilio.Conversations = (function (exports) {
|
|
20087
20087
|
} return T;
|
20088
20088
|
} : $assign;
|
20089
20089
|
|
20090
|
-
var $$
|
20090
|
+
var $$8 = _export;
|
20091
20091
|
var assign$1 = objectAssign;
|
20092
20092
|
|
20093
20093
|
// `Object.assign` method
|
20094
20094
|
// https://tc39.es/ecma262/#sec-object.assign
|
20095
20095
|
// eslint-disable-next-line es/no-object-assign -- required for testing
|
20096
|
-
$$
|
20096
|
+
$$8({ target: 'Object', stat: true, forced: Object.assign !== assign$1 }, {
|
20097
20097
|
assign: assign$1
|
20098
20098
|
});
|
20099
20099
|
|
@@ -20108,7 +20108,7 @@ this.Twilio.Conversations = (function (exports) {
|
|
20108
20108
|
var _inherits = inherits.exports;
|
20109
20109
|
var _possibleConstructorReturn = possibleConstructorReturn.exports;
|
20110
20110
|
var _getPrototypeOf = getPrototypeOf$2.exports;
|
20111
|
-
var _regeneratorRuntime = require$$
|
20111
|
+
var _regeneratorRuntime = require$$8;
|
20112
20112
|
var _typeof = _typeof$2.exports;
|
20113
20113
|
var twilsock = browser$4;
|
20114
20114
|
var _assertThisInitialized = assertThisInitialized.exports;
|
@@ -21818,11 +21818,11 @@ this.Twilio.Conversations = (function (exports) {
|
|
21818
21818
|
var _possibleConstructorReturn = possibleConstructorReturn.exports;
|
21819
21819
|
var _getPrototypeOf = getPrototypeOf$2.exports;
|
21820
21820
|
var _defineProperty = defineProperty$5.exports;
|
21821
|
-
var _regeneratorRuntime = require$$
|
21821
|
+
var _regeneratorRuntime = require$$8;
|
21822
21822
|
var _typeof = _typeof$2.exports;
|
21823
21823
|
var declarativeTypeValidator = browser$7;
|
21824
21824
|
var twilsock = browser$4;
|
21825
|
-
var _wrapNativeSuper
|
21825
|
+
var _wrapNativeSuper = wrapNativeSuper.exports;
|
21826
21826
|
var loglevelLog = loglevel.exports;
|
21827
21827
|
var _slicedToArray = slicedToArray.exports;
|
21828
21828
|
var operationRetrier = browser$5;
|
@@ -21878,7 +21878,7 @@ this.Twilio.Conversations = (function (exports) {
|
|
21878
21878
|
|
21879
21879
|
var _typeof__default = /*#__PURE__*/_interopDefaultLegacy$2(_typeof);
|
21880
21880
|
|
21881
|
-
var _wrapNativeSuper__default = /*#__PURE__*/_interopDefaultLegacy$2(_wrapNativeSuper
|
21881
|
+
var _wrapNativeSuper__default = /*#__PURE__*/_interopDefaultLegacy$2(_wrapNativeSuper);
|
21882
21882
|
|
21883
21883
|
var loglevelLog__namespace = /*#__PURE__*/_interopNamespace$1(loglevelLog);
|
21884
21884
|
|
@@ -30640,8 +30640,8 @@ this.Twilio.Conversations = (function (exports) {
|
|
30640
30640
|
|
30641
30641
|
var version$1 = "3.1.0";
|
30642
30642
|
|
30643
|
-
function _createSuper$
|
30644
|
-
var hasNativeReflectConstruct = _isNativeReflectConstruct$
|
30643
|
+
function _createSuper$8(Derived) {
|
30644
|
+
var hasNativeReflectConstruct = _isNativeReflectConstruct$8();
|
30645
30645
|
|
30646
30646
|
return function _createSuperInternal() {
|
30647
30647
|
var Super = _getPrototypeOf__default['default'](Derived),
|
@@ -30659,7 +30659,7 @@ this.Twilio.Conversations = (function (exports) {
|
|
30659
30659
|
};
|
30660
30660
|
}
|
30661
30661
|
|
30662
|
-
function _isNativeReflectConstruct$
|
30662
|
+
function _isNativeReflectConstruct$8() {
|
30663
30663
|
if (typeof Reflect === "undefined" || !Reflect.construct) return false;
|
30664
30664
|
if (Reflect.construct.sham) return false;
|
30665
30665
|
if (typeof Proxy === "function") return true;
|
@@ -30752,7 +30752,7 @@ this.Twilio.Conversations = (function (exports) {
|
|
30752
30752
|
var Client = /*#__PURE__*/function (_EventEmitter) {
|
30753
30753
|
_inherits__default['default'](Client, _EventEmitter);
|
30754
30754
|
|
30755
|
-
var _super = _createSuper$
|
30755
|
+
var _super = _createSuper$8(Client);
|
30756
30756
|
/**
|
30757
30757
|
* @param fpaToken Twilio access token.
|
30758
30758
|
* @param options Options to customize the client.
|
@@ -32076,74 +32076,6 @@ this.Twilio.Conversations = (function (exports) {
|
|
32076
32076
|
browser$2.SyncMapItem = SyncMapItem;
|
32077
32077
|
browser$2.SyncStream = SyncStream;
|
32078
32078
|
|
32079
|
-
function _isNativeFunction(fn) {
|
32080
|
-
return Function.toString.call(fn).indexOf("[native code]") !== -1;
|
32081
|
-
}
|
32082
|
-
|
32083
|
-
function _isNativeReflectConstruct$9() {
|
32084
|
-
if (typeof Reflect === "undefined" || !Reflect.construct) return false;
|
32085
|
-
if (Reflect.construct.sham) return false;
|
32086
|
-
if (typeof Proxy === "function") return true;
|
32087
|
-
|
32088
|
-
try {
|
32089
|
-
Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
|
32090
|
-
return true;
|
32091
|
-
} catch (e) {
|
32092
|
-
return false;
|
32093
|
-
}
|
32094
|
-
}
|
32095
|
-
|
32096
|
-
function _construct(Parent, args, Class) {
|
32097
|
-
if (_isNativeReflectConstruct$9()) {
|
32098
|
-
_construct = Reflect.construct;
|
32099
|
-
} else {
|
32100
|
-
_construct = function _construct(Parent, args, Class) {
|
32101
|
-
var a = [null];
|
32102
|
-
a.push.apply(a, args);
|
32103
|
-
var Constructor = Function.bind.apply(Parent, a);
|
32104
|
-
var instance = new Constructor();
|
32105
|
-
if (Class) _setPrototypeOf(instance, Class.prototype);
|
32106
|
-
return instance;
|
32107
|
-
};
|
32108
|
-
}
|
32109
|
-
|
32110
|
-
return _construct.apply(null, arguments);
|
32111
|
-
}
|
32112
|
-
|
32113
|
-
function _wrapNativeSuper(Class) {
|
32114
|
-
var _cache = typeof Map === "function" ? new Map() : undefined;
|
32115
|
-
|
32116
|
-
_wrapNativeSuper = function _wrapNativeSuper(Class) {
|
32117
|
-
if (Class === null || !_isNativeFunction(Class)) return Class;
|
32118
|
-
|
32119
|
-
if (typeof Class !== "function") {
|
32120
|
-
throw new TypeError("Super expression must either be null or a function");
|
32121
|
-
}
|
32122
|
-
|
32123
|
-
if (typeof _cache !== "undefined") {
|
32124
|
-
if (_cache.has(Class)) return _cache.get(Class);
|
32125
|
-
|
32126
|
-
_cache.set(Class, Wrapper);
|
32127
|
-
}
|
32128
|
-
|
32129
|
-
function Wrapper() {
|
32130
|
-
return _construct(Class, arguments, _getPrototypeOf$4(this).constructor);
|
32131
|
-
}
|
32132
|
-
|
32133
|
-
Wrapper.prototype = Object.create(Class.prototype, {
|
32134
|
-
constructor: {
|
32135
|
-
value: Wrapper,
|
32136
|
-
enumerable: false,
|
32137
|
-
writable: true,
|
32138
|
-
configurable: true
|
32139
|
-
}
|
32140
|
-
});
|
32141
|
-
return _setPrototypeOf(Wrapper, Class);
|
32142
|
-
};
|
32143
|
-
|
32144
|
-
return _wrapNativeSuper(Class);
|
32145
|
-
}
|
32146
|
-
|
32147
32079
|
var browser$1 = {};
|
32148
32080
|
|
32149
32081
|
var isRegExp = isRegexp;
|
@@ -32170,7 +32102,7 @@ this.Twilio.Conversations = (function (exports) {
|
|
32170
32102
|
} return false;
|
32171
32103
|
};
|
32172
32104
|
|
32173
|
-
var $$
|
32105
|
+
var $$7 = _export;
|
32174
32106
|
var getOwnPropertyDescriptor = objectGetOwnPropertyDescriptor.f;
|
32175
32107
|
var toLength$2 = toLength$o;
|
32176
32108
|
var toString$2 = toString$d;
|
@@ -32191,7 +32123,7 @@ this.Twilio.Conversations = (function (exports) {
|
|
32191
32123
|
|
32192
32124
|
// `String.prototype.startsWith` method
|
32193
32125
|
// https://tc39.es/ecma262/#sec-string.prototype.startswith
|
32194
|
-
$$
|
32126
|
+
$$7({ target: 'String', proto: true, forced: !MDN_POLYFILL_BUG && !CORRECT_IS_REGEXP_LOGIC }, {
|
32195
32127
|
startsWith: function startsWith(searchString /* , position = 0 */) {
|
32196
32128
|
var that = toString$2(requireObjectCoercible$1(this));
|
32197
32129
|
notARegExp$1(searchString);
|
@@ -32203,25 +32135,6 @@ this.Twilio.Conversations = (function (exports) {
|
|
32203
32135
|
}
|
32204
32136
|
});
|
32205
32137
|
|
32206
|
-
var $$7 = _export;
|
32207
|
-
var $reduce = arrayReduce.left;
|
32208
|
-
var arrayMethodIsStrict$1 = arrayMethodIsStrict$5;
|
32209
|
-
var CHROME_VERSION = engineV8Version;
|
32210
|
-
var IS_NODE = engineIsNode;
|
32211
|
-
|
32212
|
-
var STRICT_METHOD$1 = arrayMethodIsStrict$1('reduce');
|
32213
|
-
// Chrome 80-82 has a critical bug
|
32214
|
-
// https://bugs.chromium.org/p/chromium/issues/detail?id=1049982
|
32215
|
-
var CHROME_BUG = !IS_NODE && CHROME_VERSION > 79 && CHROME_VERSION < 83;
|
32216
|
-
|
32217
|
-
// `Array.prototype.reduce` method
|
32218
|
-
// https://tc39.es/ecma262/#sec-array.prototype.reduce
|
32219
|
-
$$7({ target: 'Array', proto: true, forced: !STRICT_METHOD$1 || CHROME_BUG }, {
|
32220
|
-
reduce: function reduce(callbackfn /* , initialValue */) {
|
32221
|
-
return $reduce(this, callbackfn, arguments.length, arguments.length > 1 ? arguments[1] : undefined);
|
32222
|
-
}
|
32223
|
-
});
|
32224
|
-
|
32225
32138
|
var fails$2 = fails$B;
|
32226
32139
|
var wellKnownSymbol$1 = wellKnownSymbol$s;
|
32227
32140
|
var IS_PURE = isPure;
|
@@ -33798,19 +33711,22 @@ this.Twilio.Conversations = (function (exports) {
|
|
33798
33711
|
URL: URLConstructor
|
33799
33712
|
});
|
33800
33713
|
|
33801
|
-
function _createSuper$8(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$8(); return function _createSuperInternal() { var Super = _getPrototypeOf$4(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf$4(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn$4(this, result); }; }
|
33802
|
-
|
33803
|
-
function _isNativeReflectConstruct$8() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
33804
|
-
|
33805
33714
|
(function (exports) {
|
33806
33715
|
|
33807
33716
|
var global = typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {};
|
33808
33717
|
Object.defineProperty(exports, '__esModule', {
|
33809
33718
|
value: true
|
33810
33719
|
});
|
33720
|
+
var _classCallCheck = classCallCheck.exports;
|
33721
|
+
var _createClass = createClass.exports;
|
33722
|
+
var _inherits = inherits.exports;
|
33723
|
+
var _possibleConstructorReturn = possibleConstructorReturn.exports;
|
33724
|
+
var _getPrototypeOf = getPrototypeOf$2.exports;
|
33725
|
+
var _wrapNativeSuper = wrapNativeSuper.exports;
|
33811
33726
|
var _defineProperty = defineProperty$5.exports;
|
33812
33727
|
var _asyncToGenerator = asyncToGenerator.exports;
|
33813
|
-
var _regeneratorRuntime = require$$
|
33728
|
+
var _regeneratorRuntime = require$$8;
|
33729
|
+
var _typeof = _typeof$2.exports;
|
33814
33730
|
var log$2 = loglevel.exports;
|
33815
33731
|
var operationRetrier = browser$5;
|
33816
33732
|
var declarativeTypeValidator = browser$7;
|
@@ -33843,12 +33759,26 @@ this.Twilio.Conversations = (function (exports) {
|
|
33843
33759
|
return Object.freeze(n);
|
33844
33760
|
}
|
33845
33761
|
|
33762
|
+
var _classCallCheck__default = /*#__PURE__*/_interopDefaultLegacy(_classCallCheck);
|
33763
|
+
|
33764
|
+
var _createClass__default = /*#__PURE__*/_interopDefaultLegacy(_createClass);
|
33765
|
+
|
33766
|
+
var _inherits__default = /*#__PURE__*/_interopDefaultLegacy(_inherits);
|
33767
|
+
|
33768
|
+
var _possibleConstructorReturn__default = /*#__PURE__*/_interopDefaultLegacy(_possibleConstructorReturn);
|
33769
|
+
|
33770
|
+
var _getPrototypeOf__default = /*#__PURE__*/_interopDefaultLegacy(_getPrototypeOf);
|
33771
|
+
|
33772
|
+
var _wrapNativeSuper__default = /*#__PURE__*/_interopDefaultLegacy(_wrapNativeSuper);
|
33773
|
+
|
33846
33774
|
var _defineProperty__default = /*#__PURE__*/_interopDefaultLegacy(_defineProperty);
|
33847
33775
|
|
33848
33776
|
var _asyncToGenerator__default = /*#__PURE__*/_interopDefaultLegacy(_asyncToGenerator);
|
33849
33777
|
|
33850
33778
|
var _regeneratorRuntime__default = /*#__PURE__*/_interopDefaultLegacy(_regeneratorRuntime);
|
33851
33779
|
|
33780
|
+
var _typeof__default = /*#__PURE__*/_interopDefaultLegacy(_typeof);
|
33781
|
+
|
33852
33782
|
var log__namespace = /*#__PURE__*/_interopNamespace(log$2);
|
33853
33783
|
|
33854
33784
|
var rngBrowser = {
|
@@ -34033,6 +33963,38 @@ this.Twilio.Conversations = (function (exports) {
|
|
34033
33963
|
uuid.v1 = v1;
|
34034
33964
|
uuid.v4 = v4;
|
34035
33965
|
var uuid_1 = uuid;
|
33966
|
+
|
33967
|
+
function _createSuper$1(Derived) {
|
33968
|
+
var hasNativeReflectConstruct = _isNativeReflectConstruct$1();
|
33969
|
+
|
33970
|
+
return function _createSuperInternal() {
|
33971
|
+
var Super = _getPrototypeOf__default["default"](Derived),
|
33972
|
+
result;
|
33973
|
+
|
33974
|
+
if (hasNativeReflectConstruct) {
|
33975
|
+
var NewTarget = _getPrototypeOf__default["default"](this).constructor;
|
33976
|
+
|
33977
|
+
result = Reflect.construct(Super, arguments, NewTarget);
|
33978
|
+
} else {
|
33979
|
+
result = Super.apply(this, arguments);
|
33980
|
+
}
|
33981
|
+
|
33982
|
+
return _possibleConstructorReturn__default["default"](this, result);
|
33983
|
+
};
|
33984
|
+
}
|
33985
|
+
|
33986
|
+
function _isNativeReflectConstruct$1() {
|
33987
|
+
if (typeof Reflect === "undefined" || !Reflect.construct) return false;
|
33988
|
+
if (Reflect.construct.sham) return false;
|
33989
|
+
if (typeof Proxy === "function") return true;
|
33990
|
+
|
33991
|
+
try {
|
33992
|
+
Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
|
33993
|
+
return true;
|
33994
|
+
} catch (e) {
|
33995
|
+
return false;
|
33996
|
+
}
|
33997
|
+
}
|
34036
33998
|
/**
|
34037
33999
|
* Cancellable promise. Extends the functionality of the native Promise to include the cancel method.
|
34038
34000
|
*
|
@@ -34057,11 +34019,11 @@ this.Twilio.Conversations = (function (exports) {
|
|
34057
34019
|
* ```
|
34058
34020
|
*/
|
34059
34021
|
|
34060
|
-
var CancellablePromise = /*#__PURE__*/function (_Promise) {
|
34061
|
-
_inherits$4(CancellablePromise, _Promise);
|
34062
34022
|
|
34063
|
-
|
34023
|
+
var CancellablePromise = /*#__PURE__*/function (_Promise) {
|
34024
|
+
_inherits__default["default"](CancellablePromise, _Promise);
|
34064
34025
|
|
34026
|
+
var _super = _createSuper$1(CancellablePromise);
|
34065
34027
|
/**
|
34066
34028
|
* Creates a new CancellablePromise.
|
34067
34029
|
* @param executor A callback used to initialize the promise. This callback is passed three arguments:
|
@@ -34069,14 +34031,16 @@ this.Twilio.Conversations = (function (exports) {
|
|
34069
34031
|
* a reject callback used to reject the promise with a provided reason or error,
|
34070
34032
|
* and an onCancel callback used to define behavior of cancellation.
|
34071
34033
|
*/
|
34034
|
+
|
34035
|
+
|
34072
34036
|
function CancellablePromise(executor) {
|
34073
|
-
var
|
34037
|
+
var _this;
|
34074
34038
|
|
34075
|
-
|
34039
|
+
_classCallCheck__default["default"](this, CancellablePromise);
|
34076
34040
|
|
34077
34041
|
var outerId = uuid_1.v4();
|
34078
34042
|
var outerRejectPromise;
|
34079
|
-
|
34043
|
+
_this = _super.call(this, function (resolve, reject) {
|
34080
34044
|
outerRejectPromise = reject;
|
34081
34045
|
return executor(function (value) {
|
34082
34046
|
CancellablePromise.cancellationMap.delete(outerId);
|
@@ -34088,16 +34052,16 @@ this.Twilio.Conversations = (function (exports) {
|
|
34088
34052
|
CancellablePromise.cancellationMap.set(outerId, cancellationFunction);
|
34089
34053
|
});
|
34090
34054
|
});
|
34091
|
-
|
34092
|
-
|
34093
|
-
return
|
34055
|
+
_this.id = outerId;
|
34056
|
+
_this.rejectPromise = outerRejectPromise;
|
34057
|
+
return _this;
|
34094
34058
|
}
|
34095
34059
|
/**
|
34096
34060
|
* Cancels the promise and invokes the cancellation callback if it was defined during instantiation. Cancellation will result in the promise being rejected.
|
34097
34061
|
*/
|
34098
34062
|
|
34099
34063
|
|
34100
|
-
|
34064
|
+
_createClass__default["default"](CancellablePromise, [{
|
34101
34065
|
key: "cancel",
|
34102
34066
|
value: function cancel() {
|
34103
34067
|
var onCancel = CancellablePromise.cancellationMap.get(this.id);
|
@@ -34115,37 +34079,22 @@ this.Twilio.Conversations = (function (exports) {
|
|
34115
34079
|
}]);
|
34116
34080
|
|
34117
34081
|
return CancellablePromise;
|
34118
|
-
}( /*#__PURE__*/
|
34082
|
+
}( /*#__PURE__*/_wrapNativeSuper__default["default"](Promise));
|
34119
34083
|
|
34120
34084
|
_defineProperty__default["default"](CancellablePromise, "cancellationMap", new Map());
|
34121
|
-
/******************************************************************************
|
34122
|
-
Copyright (c) Microsoft Corporation.
|
34123
|
-
|
34124
|
-
Permission to use, copy, modify, and/or distribute this software for any
|
34125
|
-
purpose with or without fee is hereby granted.
|
34126
|
-
|
34127
|
-
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
34128
|
-
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
34129
|
-
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
34130
|
-
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
34131
|
-
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
34132
|
-
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
34133
|
-
PERFORMANCE OF THIS SOFTWARE.
|
34134
|
-
***************************************************************************** */
|
34135
|
-
|
34136
34085
|
|
34137
34086
|
function __decorate(decorators, target, key, desc) {
|
34138
34087
|
var c = arguments.length,
|
34139
34088
|
r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc,
|
34140
34089
|
d;
|
34141
|
-
if ((typeof Reflect === "undefined" ? "undefined" :
|
34090
|
+
if ((typeof Reflect === "undefined" ? "undefined" : _typeof__default["default"](Reflect)) === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) {
|
34142
34091
|
if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
34143
34092
|
}
|
34144
34093
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
34145
34094
|
}
|
34146
34095
|
|
34147
34096
|
function __metadata(metadataKey, metadataValue) {
|
34148
|
-
if ((typeof Reflect === "undefined" ? "undefined" :
|
34097
|
+
if ((typeof Reflect === "undefined" ? "undefined" : _typeof__default["default"](Reflect)) === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(metadataKey, metadataValue);
|
34149
34098
|
}
|
34150
34099
|
|
34151
34100
|
function prepareLine(prefix, args) {
|
@@ -34154,14 +34103,14 @@ this.Twilio.Conversations = (function (exports) {
|
|
34154
34103
|
|
34155
34104
|
var Logger = /*#__PURE__*/function () {
|
34156
34105
|
function Logger(prefix) {
|
34157
|
-
|
34106
|
+
_classCallCheck__default["default"](this, Logger);
|
34158
34107
|
|
34159
34108
|
_defineProperty__default["default"](this, "prefix", "");
|
34160
34109
|
|
34161
34110
|
this.prefix = prefix !== null && prefix !== undefined && prefix.length > 0 ? prefix + " " : "";
|
34162
34111
|
}
|
34163
34112
|
|
34164
|
-
|
34113
|
+
_createClass__default["default"](Logger, [{
|
34165
34114
|
key: "setLevel",
|
34166
34115
|
value: function setLevel(level) {
|
34167
34116
|
log__namespace.setLevel(level);
|
@@ -34292,10 +34241,10 @@ this.Twilio.Conversations = (function (exports) {
|
|
34292
34241
|
|
34293
34242
|
var Configuration = /*#__PURE__*/function () {
|
34294
34243
|
function Configuration(token, baseUrl, baseSetUrl, options) {
|
34295
|
-
_classCallCheck$4(this, Configuration);
|
34296
|
-
|
34297
34244
|
var _ref, _options$MCS, _ref2, _constructorOptions$r, _constructorOptions$r2, _constructorOptions$b;
|
34298
34245
|
|
34246
|
+
_classCallCheck__default["default"](this, Configuration);
|
34247
|
+
|
34299
34248
|
var constructorOptions = (_ref = (_options$MCS = options.MCS) !== null && _options$MCS !== void 0 ? _options$MCS : options) !== null && _ref !== void 0 ? _ref : {};
|
34300
34249
|
this.region = (_ref2 = (_constructorOptions$r = constructorOptions.region) !== null && _constructorOptions$r !== void 0 ? _constructorOptions$r : options.region) !== null && _ref2 !== void 0 ? _ref2 : 'us1';
|
34301
34250
|
this.mediaUrl = fullUrl(baseUrl, this.region);
|
@@ -34305,7 +34254,7 @@ this.Twilio.Conversations = (function (exports) {
|
|
34305
34254
|
this.backoffConfigOverride = (_constructorOptions$b = constructorOptions.backoffConfigOverride) !== null && _constructorOptions$b !== void 0 ? _constructorOptions$b : Configuration.backoffConfigDefault;
|
34306
34255
|
}
|
34307
34256
|
|
34308
|
-
|
34257
|
+
_createClass__default["default"](Configuration, [{
|
34309
34258
|
key: "updateToken",
|
34310
34259
|
value: function updateToken(token) {
|
34311
34260
|
this.token = token;
|
@@ -34343,7 +34292,7 @@ this.Twilio.Conversations = (function (exports) {
|
|
34343
34292
|
|
34344
34293
|
var Media = /*#__PURE__*/function () {
|
34345
34294
|
function Media(config, network, data) {
|
34346
|
-
|
34295
|
+
_classCallCheck__default["default"](this, Media);
|
34347
34296
|
|
34348
34297
|
this.config = config;
|
34349
34298
|
this.network = network;
|
@@ -34351,7 +34300,7 @@ this.Twilio.Conversations = (function (exports) {
|
|
34351
34300
|
this._update(data);
|
34352
34301
|
}
|
34353
34302
|
|
34354
|
-
|
34303
|
+
_createClass__default["default"](Media, [{
|
34355
34304
|
key: "sid",
|
34356
34305
|
get: function get() {
|
34357
34306
|
return this.state.sid;
|
@@ -34483,26 +34432,58 @@ this.Twilio.Conversations = (function (exports) {
|
|
34483
34432
|
return Media;
|
34484
34433
|
}();
|
34485
34434
|
|
34435
|
+
function _createSuper(Derived) {
|
34436
|
+
var hasNativeReflectConstruct = _isNativeReflectConstruct();
|
34437
|
+
|
34438
|
+
return function _createSuperInternal() {
|
34439
|
+
var Super = _getPrototypeOf__default["default"](Derived),
|
34440
|
+
result;
|
34441
|
+
|
34442
|
+
if (hasNativeReflectConstruct) {
|
34443
|
+
var NewTarget = _getPrototypeOf__default["default"](this).constructor;
|
34444
|
+
|
34445
|
+
result = Reflect.construct(Super, arguments, NewTarget);
|
34446
|
+
} else {
|
34447
|
+
result = Super.apply(this, arguments);
|
34448
|
+
}
|
34449
|
+
|
34450
|
+
return _possibleConstructorReturn__default["default"](this, result);
|
34451
|
+
};
|
34452
|
+
}
|
34453
|
+
|
34454
|
+
function _isNativeReflectConstruct() {
|
34455
|
+
if (typeof Reflect === "undefined" || !Reflect.construct) return false;
|
34456
|
+
if (Reflect.construct.sham) return false;
|
34457
|
+
if (typeof Proxy === "function") return true;
|
34458
|
+
|
34459
|
+
try {
|
34460
|
+
Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
|
34461
|
+
return true;
|
34462
|
+
} catch (e) {
|
34463
|
+
return false;
|
34464
|
+
}
|
34465
|
+
}
|
34466
|
+
|
34486
34467
|
var TransportError = /*#__PURE__*/function (_Error) {
|
34487
|
-
|
34468
|
+
_inherits__default["default"](TransportError, _Error);
|
34488
34469
|
|
34489
|
-
var
|
34470
|
+
var _super = _createSuper(TransportError);
|
34490
34471
|
|
34491
34472
|
function TransportError(message, code, body, status, headers) {
|
34492
|
-
var
|
34473
|
+
var _this;
|
34493
34474
|
|
34494
|
-
|
34475
|
+
_classCallCheck__default["default"](this, TransportError);
|
34495
34476
|
|
34496
|
-
|
34497
|
-
|
34498
|
-
|
34499
|
-
|
34500
|
-
|
34501
|
-
return
|
34477
|
+
_this = _super.call(this, message);
|
34478
|
+
_this.code = code;
|
34479
|
+
_this.body = body;
|
34480
|
+
_this.status = status;
|
34481
|
+
_this.headers = headers;
|
34482
|
+
return _this;
|
34502
34483
|
}
|
34503
34484
|
|
34504
|
-
return
|
34505
|
-
}( /*#__PURE__*/
|
34485
|
+
return _createClass__default["default"](TransportError);
|
34486
|
+
}( /*#__PURE__*/_wrapNativeSuper__default["default"](Error));
|
34506
34487
|
|
34507
34488
|
var XHR = global["XMLHttpRequest"] || {};
|
34508
34489
|
|
@@ -34541,10 +34522,10 @@ this.Twilio.Conversations = (function (exports) {
|
|
34541
34522
|
|
34542
34523
|
var Transport = /*#__PURE__*/function () {
|
34543
34524
|
function Transport() {
|
34544
|
-
|
34525
|
+
_classCallCheck__default["default"](this, Transport);
|
34545
34526
|
}
|
34546
34527
|
|
34547
|
-
|
34528
|
+
_createClass__default["default"](Transport, [{
|
34548
34529
|
key: "get",
|
34549
34530
|
value:
|
34550
34531
|
/**
|
@@ -34633,13 +34614,13 @@ this.Twilio.Conversations = (function (exports) {
|
|
34633
34614
|
|
34634
34615
|
var Network = /*#__PURE__*/function () {
|
34635
34616
|
function Network(config, transport) {
|
34636
|
-
|
34617
|
+
_classCallCheck__default["default"](this, Network);
|
34637
34618
|
|
34638
34619
|
this.config = config;
|
34639
34620
|
this.transport = transport;
|
34640
34621
|
}
|
34641
34622
|
|
34642
|
-
|
34623
|
+
_createClass__default["default"](Network, [{
|
34643
34624
|
key: "backoffConfig",
|
34644
34625
|
value: function backoffConfig() {
|
34645
34626
|
return Object.assign(Configuration.backoffConfigDefault, this.config.backoffConfigOverride);
|
@@ -34880,7 +34861,7 @@ this.Twilio.Conversations = (function (exports) {
|
|
34880
34861
|
return Network;
|
34881
34862
|
}();
|
34882
34863
|
|
34883
|
-
var version = "0.6.4-rc.
|
34864
|
+
var version = "0.6.4-rc.2";
|
34884
34865
|
|
34885
34866
|
var _class;
|
34886
34867
|
|
@@ -34902,11 +34883,12 @@ this.Twilio.Conversations = (function (exports) {
|
|
34902
34883
|
* @param {Client#ClientOptions} [options] - Options to customize the Client
|
34903
34884
|
*/
|
34904
34885
|
function Client(token, baseUrl, baseSetUrl) {
|
34905
|
-
_classCallCheck$4(this, Client);
|
34906
|
-
|
34907
34886
|
var _this$options$logLeve, _this$options$transpo;
|
34908
34887
|
|
34909
34888
|
var options = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : {};
|
34889
|
+
|
34890
|
+
_classCallCheck__default["default"](this, Client);
|
34891
|
+
|
34910
34892
|
this.options = options;
|
34911
34893
|
this.options.logLevel = (_this$options$logLeve = this.options.logLevel) !== null && _this$options$logLeve !== void 0 ? _this$options$logLeve : "silent";
|
34912
34894
|
this.config = new Configuration(token, baseUrl, baseSetUrl, this.options);
|
@@ -34929,7 +34911,7 @@ this.Twilio.Conversations = (function (exports) {
|
|
34929
34911
|
*/
|
34930
34912
|
|
34931
34913
|
|
34932
|
-
|
34914
|
+
_createClass__default["default"](Client, [{
|
34933
34915
|
key: "updateToken",
|
34934
34916
|
value: function updateToken(token) {
|
34935
34917
|
log.info("updateToken");
|
@@ -36117,7 +36099,7 @@ this.Twilio.Conversations = (function (exports) {
|
|
36117
36099
|
var toString$1 = toString$d;
|
36118
36100
|
var fails$1 = fails$B;
|
36119
36101
|
var internalSort = arraySort;
|
36120
|
-
var arrayMethodIsStrict = arrayMethodIsStrict$
|
36102
|
+
var arrayMethodIsStrict = arrayMethodIsStrict$4;
|
36121
36103
|
var FF = engineFfVersion;
|
36122
36104
|
var IE_OR_EDGE = engineIsIeOrEdge;
|
36123
36105
|
var V8 = engineV8Version;
|
@@ -41984,7 +41966,7 @@ this.Twilio.Conversations = (function (exports) {
|
|
41984
41966
|
this.data = data.data || {};
|
41985
41967
|
});
|
41986
41968
|
|
41987
|
-
var version = "2.3.0-rc.
|
41969
|
+
var version = "2.3.0-rc.5";
|
41988
41970
|
|
41989
41971
|
function ownKeys$1(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
41990
41972
|
|