@twilio/conversations 2.3.1-rc.0 → 2.4.0-rc.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2756,6 +2756,9 @@ img {
2756
2756
  <li class=" tsd-kind-get-signature tsd-parent-kind-class">
2757
2757
  <a href="Message.html#type" class="tsd-kind-icon">type</a>
2758
2758
  </li>
2759
+ <li class=" tsd-kind-method tsd-parent-kind-class">
2760
+ <a href="Message.html#getChannelMetadata" class="tsd-kind-icon">get<wbr>Channel<wbr>Metadata</a>
2761
+ </li>
2759
2762
  <li class=" tsd-kind-method tsd-parent-kind-class">
2760
2763
  <a href="Message.html#getContentData" class="tsd-kind-icon">get<wbr>Content<wbr>Data</a>
2761
2764
  </li>
@@ -2852,6 +2855,7 @@ img {
2852
2855
  <section class="tsd-index-section ">
2853
2856
  <h3>Methods</h3>
2854
2857
  <ul class="tsd-index-list">
2858
+ <li class="tsd-kind-method tsd-parent-kind-class"><a href="Message.html#getChannelMetadata" class="tsd-kind-icon">get<wbr>Channel<wbr>Metadata</a></li>
2855
2859
  <li class="tsd-kind-method tsd-parent-kind-class"><a href="Message.html#getContentData" class="tsd-kind-icon">get<wbr>Content<wbr>Data</a></li>
2856
2860
  <li class="tsd-kind-method tsd-parent-kind-class"><a href="Message.html#getDetailedDeliveryReceipts" class="tsd-kind-icon">get<wbr>Detailed<wbr>Delivery<wbr>Receipts</a></li>
2857
2861
  <li class="tsd-kind-method tsd-parent-kind-class"><a href="Message.html#getEmailBody" class="tsd-kind-icon">get<wbr>Email<wbr>Body</a></li>
@@ -3205,6 +3209,26 @@ img {
3205
3209
  </section>
3206
3210
  <section class="tsd-panel-group tsd-member-group ">
3207
3211
  <h2>Methods</h2>
3212
+ <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
3213
+ <a name="getChannelMetadata" class="tsd-anchor"></a>
3214
+ <h3>get<wbr>Channel<wbr>Metadata</h3>
3215
+ <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
3216
+ <li class="tsd-signature tsd-kind-icon">get<wbr>Channel<wbr>Metadata<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">ChannelMetadata</span><span class="tsd-signature-symbol">&gt;</span></li>
3217
+ </ul>
3218
+ <ul class="tsd-descriptions">
3219
+ <li class="tsd-description">
3220
+ <aside class="tsd-sources">
3221
+ </aside>
3222
+ <div class="tsd-comment tsd-typography">
3223
+ <div class="lead">
3224
+ <p>Get the {@link ChannelMetadata} for this message. Resolves to <code>null</code> if
3225
+ the message doesn&#39;t have any channel metadata.</p>
3226
+ </div>
3227
+ </div>
3228
+ <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">ChannelMetadata</span><span class="tsd-signature-symbol">&gt;</span></h4>
3229
+ </li>
3230
+ </ul>
3231
+ </section>
3208
3232
  <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
3209
3233
  <a name="getContentData" class="tsd-anchor"></a>
3210
3234
  <h3>get<wbr>Content<wbr>Data</h3>
@@ -2705,6 +2705,9 @@ img {
2705
2705
  <li class="current tsd-kind-interface">
2706
2706
  <a href="ClientOptions.html" class="tsd-kind-icon">Client<wbr>Options</a>
2707
2707
  <ul>
2708
+ <li class=" tsd-kind-property tsd-parent-kind-interface">
2709
+ <a href="ClientOptions.html#channelMetadataCacheCapacity" class="tsd-kind-icon">channel<wbr>Metadata<wbr>Cache<wbr>Capacity</a>
2710
+ </li>
2708
2711
  <li class=" tsd-kind-property tsd-parent-kind-interface">
2709
2712
  <a href="ClientOptions.html#logLevel" class="tsd-kind-icon">log<wbr>Level</a>
2710
2713
  </li>
@@ -2736,6 +2739,7 @@ img {
2736
2739
  <section class="tsd-index-section ">
2737
2740
  <h3>Properties</h3>
2738
2741
  <ul class="tsd-index-list">
2742
+ <li class="tsd-kind-property tsd-parent-kind-interface"><a href="ClientOptions.html#channelMetadataCacheCapacity" class="tsd-kind-icon">channel<wbr>Metadata<wbr>Cache<wbr>Capacity</a></li>
2739
2743
  <li class="tsd-kind-property tsd-parent-kind-interface"><a href="ClientOptions.html#logLevel" class="tsd-kind-icon">log<wbr>Level</a></li>
2740
2744
  </ul>
2741
2745
  </section>
@@ -2744,6 +2748,18 @@ img {
2744
2748
  </section>
2745
2749
  <section class="tsd-panel-group tsd-member-group ">
2746
2750
  <h2>Properties</h2>
2751
+ <section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface">
2752
+ <a name="channelMetadataCacheCapacity" class="tsd-anchor"></a>
2753
+ <h3><span class="tsd-flag ts-flagOptional">Optional</span> channel<wbr>Metadata<wbr>Cache<wbr>Capacity</h3>
2754
+ <div class="tsd-signature tsd-kind-icon">channel<wbr>Metadata<wbr>Cache<wbr>Capacity<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div>
2755
+ <aside class="tsd-sources">
2756
+ </aside>
2757
+ <div class="tsd-comment tsd-typography">
2758
+ <div class="lead">
2759
+ <p>The cache capacity for channel metadata.</p>
2760
+ </div>
2761
+ </div>
2762
+ </section>
2747
2763
  <section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface">
2748
2764
  <a name="logLevel" class="tsd-anchor"></a>
2749
2765
  <h3><span class="tsd-flag ts-flagOptional">Optional</span> log<wbr>Level</h3>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@twilio/conversations",
3
- "version": "2.3.1-rc.0",
3
+ "version": "2.4.0-rc.0",
4
4
  "description": "Twilio Conversations client library",
5
5
  "main": "./builds/lib.js",
6
6
  "browser": "./builds/browser.js",
@@ -48,6 +48,7 @@
48
48
  "lodash.isequal": "^4.5.0",
49
49
  "loglevel": "^1.8.0",
50
50
  "platform": "^1.3.6",
51
+ "quick-lru": "^5.1.1",
51
52
  "twilio-sync": "~3.1.0",
52
53
  "twilsock": "~0.12.2",
53
54
  "uuid": "^3.4.0",