@twilio/conversations 2.6.1-rc.1 → 2.6.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/builds/browser.esm.js +3 -1
- package/builds/browser.esm.js.map +1 -1
- package/builds/browser.js +3 -1
- package/builds/browser.js.map +1 -1
- package/builds/lib.d.ts +5 -0
- package/builds/lib.esm.d.ts +5 -0
- package/builds/lib.esm.js +3 -1
- package/builds/lib.js +3 -1
- package/builds/lib.js.map +1 -1
- package/builds/twilio-conversations.js +154 -322
- package/builds/twilio-conversations.js.map +1 -1
- package/builds/twilio-conversations.min.js +1 -1
- package/builds/twilio-conversations.min.js.map +1 -1
- package/dist/client.js +1 -0
- package/dist/client.js.map +1 -1
- package/dist/data/conversations.js +1 -0
- package/dist/data/conversations.js.map +1 -1
- package/dist/packages/conversations/package.json.js +1 -1
- package/docs/assets/js/search.js +1 -1
- package/docs/classes/CancellablePromise.html +3213 -0
- package/docs/classes/Client.html +4 -4
- package/docs/classes/Media.html +2 -2
- package/docs/classes/Message.html +8 -8
- package/docs/classes/MessageBuilder.html +2 -2
- package/docs/classes/UnsentMessage.html +2 -2
- package/docs/index.html +6 -2
- package/docs/interfaces/CreateConversationOptions.html +17 -0
- package/docs/modules.html +5 -1
- package/package.json +7 -7
package/docs/classes/Client.html
CHANGED
@@ -3674,7 +3674,7 @@ img {
|
|
3674
3674
|
<a name="getTemporaryContentUrlsForMedia" class="tsd-anchor"></a>
|
3675
3675
|
<h3>get<wbr>Temporary<wbr>Content<wbr>Urls<wbr>For<wbr>Media</h3>
|
3676
3676
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
3677
|
-
<li class="tsd-signature tsd-kind-icon">get<wbr>Temporary<wbr>Content<wbr>Urls<wbr>For<wbr>Media<span class="tsd-signature-symbol">(</span>contentSet<span class="tsd-signature-symbol">: </span><a href="Media.html" class="tsd-signature-type" data-tsd-kind="Class">Media</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><
|
3677
|
+
<li class="tsd-signature tsd-kind-icon">get<wbr>Temporary<wbr>Content<wbr>Urls<wbr>For<wbr>Media<span class="tsd-signature-symbol">(</span>contentSet<span class="tsd-signature-symbol">: </span><a href="Media.html" class="tsd-signature-type" data-tsd-kind="Class">Media</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="CancellablePromise.html" class="tsd-signature-type" data-tsd-kind="Class">CancellablePromise</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">Map</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">></span></li>
|
3678
3678
|
</ul>
|
3679
3679
|
<ul class="tsd-descriptions">
|
3680
3680
|
<li class="tsd-description">
|
@@ -3695,7 +3695,7 @@ img {
|
|
3695
3695
|
</div>
|
3696
3696
|
</li>
|
3697
3697
|
</ul>
|
3698
|
-
<h4 class="tsd-returns-title">Returns <
|
3698
|
+
<h4 class="tsd-returns-title">Returns <a href="CancellablePromise.html" class="tsd-signature-type" data-tsd-kind="Class">CancellablePromise</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">Map</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">></span></h4>
|
3699
3699
|
</li>
|
3700
3700
|
</ul>
|
3701
3701
|
</section>
|
@@ -3703,7 +3703,7 @@ img {
|
|
3703
3703
|
<a name="getTemporaryContentUrlsForMediaSids" class="tsd-anchor"></a>
|
3704
3704
|
<h3>get<wbr>Temporary<wbr>Content<wbr>Urls<wbr>For<wbr>Media<wbr>Sids</h3>
|
3705
3705
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
3706
|
-
<li class="tsd-signature tsd-kind-icon">get<wbr>Temporary<wbr>Content<wbr>Urls<wbr>For<wbr>Media<wbr>Sids<span class="tsd-signature-symbol">(</span>mediaSids<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><
|
3706
|
+
<li class="tsd-signature tsd-kind-icon">get<wbr>Temporary<wbr>Content<wbr>Urls<wbr>For<wbr>Media<wbr>Sids<span class="tsd-signature-symbol">(</span>mediaSids<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="CancellablePromise.html" class="tsd-signature-type" data-tsd-kind="Class">CancellablePromise</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">Map</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">></span></li>
|
3707
3707
|
</ul>
|
3708
3708
|
<ul class="tsd-descriptions">
|
3709
3709
|
<li class="tsd-description">
|
@@ -3724,7 +3724,7 @@ img {
|
|
3724
3724
|
</div>
|
3725
3725
|
</li>
|
3726
3726
|
</ul>
|
3727
|
-
<h4 class="tsd-returns-title">Returns <
|
3727
|
+
<h4 class="tsd-returns-title">Returns <a href="CancellablePromise.html" class="tsd-signature-type" data-tsd-kind="Class">CancellablePromise</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">Map</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">></span></h4>
|
3728
3728
|
</li>
|
3729
3729
|
</ul>
|
3730
3730
|
</section>
|
package/docs/classes/Media.html
CHANGED
@@ -2871,7 +2871,7 @@ img {
|
|
2871
2871
|
<a name="getContentTemporaryUrl" class="tsd-anchor"></a>
|
2872
2872
|
<h3>get<wbr>Content<wbr>Temporary<wbr>Url</h3>
|
2873
2873
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
2874
|
-
<li class="tsd-signature tsd-kind-icon">get<wbr>Content<wbr>Temporary<wbr>Url<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><
|
2874
|
+
<li class="tsd-signature tsd-kind-icon">get<wbr>Content<wbr>Temporary<wbr>Url<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="CancellablePromise.html" class="tsd-signature-type" data-tsd-kind="Class">CancellablePromise</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">></span></li>
|
2875
2875
|
</ul>
|
2876
2876
|
<ul class="tsd-descriptions">
|
2877
2877
|
<li class="tsd-description">
|
@@ -2885,7 +2885,7 @@ img {
|
|
2885
2885
|
If the URL becomes expired, you need to request a new one.
|
2886
2886
|
Each call to this function produces a new temporary URL.</p>
|
2887
2887
|
</div>
|
2888
|
-
<h4 class="tsd-returns-title">Returns <
|
2888
|
+
<h4 class="tsd-returns-title">Returns <a href="CancellablePromise.html" class="tsd-signature-type" data-tsd-kind="Class">CancellablePromise</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">></span></h4>
|
2889
2889
|
</li>
|
2890
2890
|
</ul>
|
2891
2891
|
</section>
|
@@ -3237,7 +3237,7 @@ img {
|
|
3237
3237
|
<a name="getContentData" class="tsd-anchor"></a>
|
3238
3238
|
<h3>get<wbr>Content<wbr>Data</h3>
|
3239
3239
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
3240
|
-
<li class="tsd-signature tsd-kind-icon">get<wbr>Content<wbr>Data<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><
|
3240
|
+
<li class="tsd-signature tsd-kind-icon">get<wbr>Content<wbr>Data<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="CancellablePromise.html" class="tsd-signature-type" data-tsd-kind="Class">CancellablePromise</a><span class="tsd-signature-symbol"><</span><a href="../modules.html#ContentData" class="tsd-signature-type" data-tsd-kind="Type alias">ContentData</a><span class="tsd-signature-symbol">></span></li>
|
3241
3241
|
</ul>
|
3242
3242
|
<ul class="tsd-descriptions">
|
3243
3243
|
<li class="tsd-description">
|
@@ -3249,7 +3249,7 @@ img {
|
|
3249
3249
|
<a href="Message.html#contentSid">Message.contentSid</a> is null.</p>
|
3250
3250
|
</div>
|
3251
3251
|
</div>
|
3252
|
-
<h4 class="tsd-returns-title">Returns <
|
3252
|
+
<h4 class="tsd-returns-title">Returns <a href="CancellablePromise.html" class="tsd-signature-type" data-tsd-kind="Class">CancellablePromise</a><span class="tsd-signature-symbol"><</span><a href="../modules.html#ContentData" class="tsd-signature-type" data-tsd-kind="Type alias">ContentData</a><span class="tsd-signature-symbol">></span></h4>
|
3253
3253
|
</li>
|
3254
3254
|
</ul>
|
3255
3255
|
</section>
|
@@ -3402,7 +3402,7 @@ img {
|
|
3402
3402
|
<a name="getTemporaryContentUrlsForAttachedMedia" class="tsd-anchor"></a>
|
3403
3403
|
<h3>get<wbr>Temporary<wbr>Content<wbr>Urls<wbr>For<wbr>Attached<wbr>Media</h3>
|
3404
3404
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
3405
|
-
<li class="tsd-signature tsd-kind-icon">get<wbr>Temporary<wbr>Content<wbr>Urls<wbr>For<wbr>Attached<wbr>Media<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><
|
3405
|
+
<li class="tsd-signature tsd-kind-icon">get<wbr>Temporary<wbr>Content<wbr>Urls<wbr>For<wbr>Attached<wbr>Media<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="CancellablePromise.html" class="tsd-signature-type" data-tsd-kind="Class">CancellablePromise</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">Map</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">></span></li>
|
3406
3406
|
</ul>
|
3407
3407
|
<ul class="tsd-descriptions">
|
3408
3408
|
<li class="tsd-description">
|
@@ -3413,7 +3413,7 @@ img {
|
|
3413
3413
|
<p>Get content URLs for all media attached to the message.</p>
|
3414
3414
|
</div>
|
3415
3415
|
</div>
|
3416
|
-
<h4 class="tsd-returns-title">Returns <
|
3416
|
+
<h4 class="tsd-returns-title">Returns <a href="CancellablePromise.html" class="tsd-signature-type" data-tsd-kind="Class">CancellablePromise</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">Map</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">></span></h4>
|
3417
3417
|
</li>
|
3418
3418
|
</ul>
|
3419
3419
|
</section>
|
@@ -3421,7 +3421,7 @@ img {
|
|
3421
3421
|
<a name="getTemporaryContentUrlsForMedia" class="tsd-anchor"></a>
|
3422
3422
|
<h3>get<wbr>Temporary<wbr>Content<wbr>Urls<wbr>For<wbr>Media</h3>
|
3423
3423
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
3424
|
-
<li class="tsd-signature tsd-kind-icon">get<wbr>Temporary<wbr>Content<wbr>Urls<wbr>For<wbr>Media<span class="tsd-signature-symbol">(</span>contentSet<span class="tsd-signature-symbol">: </span><a href="Media.html" class="tsd-signature-type" data-tsd-kind="Class">Media</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><
|
3424
|
+
<li class="tsd-signature tsd-kind-icon">get<wbr>Temporary<wbr>Content<wbr>Urls<wbr>For<wbr>Media<span class="tsd-signature-symbol">(</span>contentSet<span class="tsd-signature-symbol">: </span><a href="Media.html" class="tsd-signature-type" data-tsd-kind="Class">Media</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="CancellablePromise.html" class="tsd-signature-type" data-tsd-kind="Class">CancellablePromise</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">Map</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">></span></li>
|
3425
3425
|
</ul>
|
3426
3426
|
<ul class="tsd-descriptions">
|
3427
3427
|
<li class="tsd-description">
|
@@ -3441,7 +3441,7 @@ img {
|
|
3441
3441
|
</div>
|
3442
3442
|
</li>
|
3443
3443
|
</ul>
|
3444
|
-
<h4 class="tsd-returns-title">Returns <
|
3444
|
+
<h4 class="tsd-returns-title">Returns <a href="CancellablePromise.html" class="tsd-signature-type" data-tsd-kind="Class">CancellablePromise</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">Map</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">></span></h4>
|
3445
3445
|
</li>
|
3446
3446
|
</ul>
|
3447
3447
|
</section>
|
@@ -3449,7 +3449,7 @@ img {
|
|
3449
3449
|
<a name="getTemporaryContentUrlsForMediaSids" class="tsd-anchor"></a>
|
3450
3450
|
<h3>get<wbr>Temporary<wbr>Content<wbr>Urls<wbr>For<wbr>Media<wbr>Sids</h3>
|
3451
3451
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
3452
|
-
<li class="tsd-signature tsd-kind-icon">get<wbr>Temporary<wbr>Content<wbr>Urls<wbr>For<wbr>Media<wbr>Sids<span class="tsd-signature-symbol">(</span>mediaSids<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><
|
3452
|
+
<li class="tsd-signature tsd-kind-icon">get<wbr>Temporary<wbr>Content<wbr>Urls<wbr>For<wbr>Media<wbr>Sids<span class="tsd-signature-symbol">(</span>mediaSids<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="CancellablePromise.html" class="tsd-signature-type" data-tsd-kind="Class">CancellablePromise</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">Map</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">></span></li>
|
3453
3453
|
</ul>
|
3454
3454
|
<ul class="tsd-descriptions">
|
3455
3455
|
<li class="tsd-description">
|
@@ -3469,7 +3469,7 @@ img {
|
|
3469
3469
|
</div>
|
3470
3470
|
</li>
|
3471
3471
|
</ul>
|
3472
|
-
<h4 class="tsd-returns-title">Returns <
|
3472
|
+
<h4 class="tsd-returns-title">Returns <a href="CancellablePromise.html" class="tsd-signature-type" data-tsd-kind="Class">CancellablePromise</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">Map</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">></span></h4>
|
3473
3473
|
</li>
|
3474
3474
|
</ul>
|
3475
3475
|
</section>
|
@@ -2836,7 +2836,7 @@ img {
|
|
2836
2836
|
<a name="buildAndSend" class="tsd-anchor"></a>
|
2837
2837
|
<h3>build<wbr>And<wbr>Send</h3>
|
2838
2838
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
2839
|
-
<li class="tsd-signature tsd-kind-icon">build<wbr>And<wbr>Send<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><
|
2839
|
+
<li class="tsd-signature tsd-kind-icon">build<wbr>And<wbr>Send<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="CancellablePromise.html" class="tsd-signature-type" data-tsd-kind="Class">CancellablePromise</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">></span></li>
|
2840
2840
|
</ul>
|
2841
2841
|
<ul class="tsd-descriptions">
|
2842
2842
|
<li class="tsd-description">
|
@@ -2847,7 +2847,7 @@ img {
|
|
2847
2847
|
<p>Prepares a message and sends it to the conversation.</p>
|
2848
2848
|
</div>
|
2849
2849
|
</div>
|
2850
|
-
<h4 class="tsd-returns-title">Returns <
|
2850
|
+
<h4 class="tsd-returns-title">Returns <a href="CancellablePromise.html" class="tsd-signature-type" data-tsd-kind="Class">CancellablePromise</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">></span></h4>
|
2851
2851
|
</li>
|
2852
2852
|
</ul>
|
2853
2853
|
</section>
|
@@ -2748,7 +2748,7 @@ img {
|
|
2748
2748
|
<a name="send" class="tsd-anchor"></a>
|
2749
2749
|
<h3>send</h3>
|
2750
2750
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
2751
|
-
<li class="tsd-signature tsd-kind-icon">send<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><
|
2751
|
+
<li class="tsd-signature tsd-kind-icon">send<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="CancellablePromise.html" class="tsd-signature-type" data-tsd-kind="Class">CancellablePromise</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">></span></li>
|
2752
2752
|
</ul>
|
2753
2753
|
<ul class="tsd-descriptions">
|
2754
2754
|
<li class="tsd-description">
|
@@ -2759,7 +2759,7 @@ img {
|
|
2759
2759
|
<p>Send the prepared message to the conversation.</p>
|
2760
2760
|
</div>
|
2761
2761
|
</div>
|
2762
|
-
<h4 class="tsd-returns-title">Returns <
|
2762
|
+
<h4 class="tsd-returns-title">Returns <a href="CancellablePromise.html" class="tsd-signature-type" data-tsd-kind="Class">CancellablePromise</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">></span></h4>
|
2763
2763
|
<p>Index of the new message in the conversation.</p>
|
2764
2764
|
</li>
|
2765
2765
|
</ul>
|
package/docs/index.html
CHANGED
@@ -2703,6 +2703,9 @@ img {
|
|
2703
2703
|
<li class=" tsd-kind-class">
|
2704
2704
|
<a href="classes/AggregatedDeliveryReceipt.html" class="tsd-kind-icon">Aggregated<wbr>Delivery<wbr>Receipt</a>
|
2705
2705
|
</li>
|
2706
|
+
<li class=" tsd-kind-class tsd-has-type-parameter">
|
2707
|
+
<a href="classes/CancellablePromise.html" class="tsd-kind-icon">Cancellable<wbr>Promise</a>
|
2708
|
+
</li>
|
2706
2709
|
<li class=" tsd-kind-class">
|
2707
2710
|
<a href="classes/ChannelMetadata.html" class="tsd-kind-icon">Channel<wbr>Metadata</a>
|
2708
2711
|
</li>
|
@@ -2970,14 +2973,14 @@ img {
|
|
2970
2973
|
number. While less flexible it is significantly more secure, which is required by some applications.</p>
|
2971
2974
|
<p>To consume securely use the following script snippet format:</p>
|
2972
2975
|
<pre><code class="language-html"><span style="color: #800000"><script</span>
|
2973
|
-
<span style="color: #000000FF"> </span><span style="color: #FF0000">src</span><span style="color: #000000FF">=</span><span style="color: #0000FF">"https://sdk.twilio.com/js/conversations/releases/2.6.
|
2976
|
+
<span style="color: #000000FF"> </span><span style="color: #FF0000">src</span><span style="color: #000000FF">=</span><span style="color: #0000FF">"https://sdk.twilio.com/js/conversations/releases/2.6.2/twilio-conversations.min.js"</span>
|
2974
2977
|
<span style="color: #000000FF"> </span><span style="color: #FF0000">integrity</span><span style="color: #000000FF">=</span><span style="color: #0000FF">"sha256-<HASH FROM THE CHANGELOGS PAGE>"</span>
|
2975
2978
|
<span style="color: #000000FF"> </span><span style="color: #FF0000">crossorigin</span><span style="color: #000000FF">=</span><span style="color: #0000FF">"anonymous"</span>
|
2976
2979
|
<span style="color: #800000">></script></span>
|
2977
2980
|
</code></pre>
|
2978
2981
|
<p>Find the hash of each release published on the <a href="#changelog">Changelog</a> page.</p>
|
2979
2982
|
<a href="#changelog" id="changelog" style="color: inherit; text-decoration: none;">
|
2980
|
-
<h2>Supported Browsers</h2><table><thead><tr><th>Browser</th><th>Supported Versions</th></tr></thead><tbody><tr><td>Chrome for Android</td><td>
|
2983
|
+
<h2>Supported Browsers</h2><table><thead><tr><th>Browser</th><th>Supported Versions</th></tr></thead><tbody><tr><td>Chrome for Android</td><td>133</td></tr><tr><td>Firefox for Android</td><td>135</td></tr><tr><td>UC Browser for Android</td><td>15.5</td></tr><tr><td>Chrome</td><td>133, 132, 131</td></tr><tr><td>Edge</td><td>133, 132, 131</td></tr><tr><td>Firefox</td><td>135, 134, 133</td></tr><tr><td>Internet Explorer</td><td>11</td></tr><tr><td>Safari for iOS</td><td>18.3, 18.2</td></tr><tr><td>Safari</td><td>18.3, 18.2, 18.1</td></tr><tr><td>Samsung Internet</td><td>27, 26</td></tr></tbody></table><h3>Changelog</h3>
|
2981
2984
|
</a>
|
2982
2985
|
<p>See this <a href="https://www.twilio.com/docs/conversations/javascript/changelog">link</a>.</p>
|
2983
2986
|
</div>
|
@@ -2990,6 +2993,7 @@ img {
|
|
2990
2993
|
<h3>Classes</h3>
|
2991
2994
|
<ul class="tsd-index-list">
|
2992
2995
|
<li class="tsd-kind-class"><a href="classes/AggregatedDeliveryReceipt.html" class="tsd-kind-icon">Aggregated<wbr>Delivery<wbr>Receipt</a></li>
|
2996
|
+
<li class="tsd-kind-class tsd-has-type-parameter"><a href="classes/CancellablePromise.html" class="tsd-kind-icon">Cancellable<wbr>Promise</a></li>
|
2993
2997
|
<li class="tsd-kind-class"><a href="classes/ChannelMetadata.html" class="tsd-kind-icon">Channel<wbr>Metadata</a></li>
|
2994
2998
|
<li class="tsd-kind-class"><a href="classes/Client.html" class="tsd-kind-icon">Client</a></li>
|
2995
2999
|
<li class="tsd-kind-class"><a href="classes/ContentTemplate.html" class="tsd-kind-icon">Content<wbr>Template</a></li>
|
@@ -2705,6 +2705,9 @@ img {
|
|
2705
2705
|
<li class="current tsd-kind-interface">
|
2706
2706
|
<a href="CreateConversationOptions.html" class="tsd-kind-icon">Create<wbr>Conversation<wbr>Options</a>
|
2707
2707
|
<ul>
|
2708
|
+
<li class=" tsd-kind-property tsd-parent-kind-interface">
|
2709
|
+
<a href="CreateConversationOptions.html#access" class="tsd-kind-icon">access</a>
|
2710
|
+
</li>
|
2708
2711
|
<li class=" tsd-kind-property tsd-parent-kind-interface">
|
2709
2712
|
<a href="CreateConversationOptions.html#attributes" class="tsd-kind-icon">attributes</a>
|
2710
2713
|
</li>
|
@@ -2742,6 +2745,7 @@ img {
|
|
2742
2745
|
<section class="tsd-index-section ">
|
2743
2746
|
<h3>Properties</h3>
|
2744
2747
|
<ul class="tsd-index-list">
|
2748
|
+
<li class="tsd-kind-property tsd-parent-kind-interface"><a href="CreateConversationOptions.html#access" class="tsd-kind-icon">access</a></li>
|
2745
2749
|
<li class="tsd-kind-property tsd-parent-kind-interface"><a href="CreateConversationOptions.html#attributes" class="tsd-kind-icon">attributes</a></li>
|
2746
2750
|
<li class="tsd-kind-property tsd-parent-kind-interface"><a href="CreateConversationOptions.html#friendlyName" class="tsd-kind-icon">friendly<wbr>Name</a></li>
|
2747
2751
|
<li class="tsd-kind-property tsd-parent-kind-interface"><a href="CreateConversationOptions.html#uniqueName" class="tsd-kind-icon">unique<wbr>Name</a></li>
|
@@ -2752,6 +2756,19 @@ img {
|
|
2752
2756
|
</section>
|
2753
2757
|
<section class="tsd-panel-group tsd-member-group ">
|
2754
2758
|
<h2>Properties</h2>
|
2759
|
+
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface">
|
2760
|
+
<a name="access" class="tsd-anchor"></a>
|
2761
|
+
<h3><span class="tsd-flag ts-flagOptional">Optional</span> access</h3>
|
2762
|
+
<div class="tsd-signature tsd-kind-icon">access<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div>
|
2763
|
+
<aside class="tsd-sources">
|
2764
|
+
</aside>
|
2765
|
+
<div class="tsd-comment tsd-typography">
|
2766
|
+
<div class="lead">
|
2767
|
+
<p>The access control for the conversation.
|
2768
|
+
null for existing conversations, 'restricted' for conversations that need to support users with restricted access</p>
|
2769
|
+
</div>
|
2770
|
+
</div>
|
2771
|
+
</section>
|
2755
2772
|
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface">
|
2756
2773
|
<a name="attributes" class="tsd-anchor"></a>
|
2757
2774
|
<h3><span class="tsd-flag ts-flagOptional">Optional</span> attributes</h3>
|
package/docs/modules.html
CHANGED
@@ -2705,6 +2705,9 @@ img {
|
|
2705
2705
|
<li class=" tsd-kind-class">
|
2706
2706
|
<a href="classes/AggregatedDeliveryReceipt.html" class="tsd-kind-icon">Aggregated<wbr>Delivery<wbr>Receipt</a>
|
2707
2707
|
</li>
|
2708
|
+
<li class=" tsd-kind-class tsd-has-type-parameter">
|
2709
|
+
<a href="classes/CancellablePromise.html" class="tsd-kind-icon">Cancellable<wbr>Promise</a>
|
2710
|
+
</li>
|
2708
2711
|
<li class=" tsd-kind-class">
|
2709
2712
|
<a href="classes/ChannelMetadata.html" class="tsd-kind-icon">Channel<wbr>Metadata</a>
|
2710
2713
|
</li>
|
@@ -2972,7 +2975,7 @@ img {
|
|
2972
2975
|
number. While less flexible it is significantly more secure, which is required by some applications.</p>
|
2973
2976
|
<p>To consume securely use the following script snippet format:</p>
|
2974
2977
|
<pre><code class="language-html"><span style="color: #800000"><script</span>
|
2975
|
-
<span style="color: #000000FF"> </span><span style="color: #FF0000">src</span><span style="color: #000000FF">=</span><span style="color: #0000FF">"https://sdk.twilio.com/js/conversations/releases/2.6.
|
2978
|
+
<span style="color: #000000FF"> </span><span style="color: #FF0000">src</span><span style="color: #000000FF">=</span><span style="color: #0000FF">"https://sdk.twilio.com/js/conversations/releases/2.6.2/twilio-conversations.min.js"</span>
|
2976
2979
|
<span style="color: #000000FF"> </span><span style="color: #FF0000">integrity</span><span style="color: #000000FF">=</span><span style="color: #0000FF">"sha256-<HASH FROM THE CHANGELOGS PAGE>"</span>
|
2977
2980
|
<span style="color: #000000FF"> </span><span style="color: #FF0000">crossorigin</span><span style="color: #000000FF">=</span><span style="color: #0000FF">"anonymous"</span>
|
2978
2981
|
<span style="color: #800000">></script></span>
|
@@ -2991,6 +2994,7 @@ img {
|
|
2991
2994
|
<h3>Classes</h3>
|
2992
2995
|
<ul class="tsd-index-list">
|
2993
2996
|
<li class="tsd-kind-class"><a href="classes/AggregatedDeliveryReceipt.html" class="tsd-kind-icon">Aggregated<wbr>Delivery<wbr>Receipt</a></li>
|
2997
|
+
<li class="tsd-kind-class tsd-has-type-parameter"><a href="classes/CancellablePromise.html" class="tsd-kind-icon">Cancellable<wbr>Promise</a></li>
|
2994
2998
|
<li class="tsd-kind-class"><a href="classes/ChannelMetadata.html" class="tsd-kind-icon">Channel<wbr>Metadata</a></li>
|
2995
2999
|
<li class="tsd-kind-class"><a href="classes/Client.html" class="tsd-kind-icon">Client</a></li>
|
2996
3000
|
<li class="tsd-kind-class"><a href="classes/ContentTemplate.html" class="tsd-kind-icon">Content<wbr>Template</a></li>
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@twilio/conversations",
|
3
|
-
"version": "2.6.
|
3
|
+
"version": "2.6.2",
|
4
4
|
"description": "Twilio Conversations client library",
|
5
5
|
"main": "./builds/lib.js",
|
6
6
|
"browser": "./builds/browser.js",
|
@@ -36,12 +36,12 @@
|
|
36
36
|
},
|
37
37
|
"dependencies": {
|
38
38
|
"@babel/runtime": "^7.17.0",
|
39
|
-
"@twilio/declarative-type-validator": "^0.2.
|
40
|
-
"@twilio/deprecation-decorator": "^0.2.
|
41
|
-
"@twilio/mcs-client": "^0.6.
|
42
|
-
"@twilio/notifications": "^2.0.
|
43
|
-
"@twilio/operation-retrier": "^4.0.
|
44
|
-
"@twilio/replay-event-emitter": "^0.3.
|
39
|
+
"@twilio/declarative-type-validator": "^0.2.10",
|
40
|
+
"@twilio/deprecation-decorator": "^0.2.8",
|
41
|
+
"@twilio/mcs-client": "^0.6.10",
|
42
|
+
"@twilio/notifications": "^2.0.9",
|
43
|
+
"@twilio/operation-retrier": "^4.0.18",
|
44
|
+
"@twilio/replay-event-emitter": "^0.3.10",
|
45
45
|
"core-js": "^3.17.3",
|
46
46
|
"iso8601-duration": "=1.2.0",
|
47
47
|
"isomorphic-form-data": "^2.0.0",
|