@twilio/conversations 2.0.1-rc.1 → 2.0.1-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.
@@ -2839,7 +2839,7 @@ class Conversations extends replayEventEmitter.ReplayEventEmitter {
2839
2839
  }
2840
2840
  async getConversation(sid) {
2841
2841
  const conversationsMap = await this._getMap();
2842
- const page = await conversationsMap.getItems({ from: sid });
2842
+ const page = await conversationsMap.getItems({ key: sid });
2843
2843
  const items = page.items.map((item) => this._upsertConversation('sync', item.key, item.data));
2844
2844
  return items.length > 0 ? items[0] : null;
2845
2845
  }
@@ -3232,7 +3232,7 @@ class PushNotification {
3232
3232
  }
3233
3233
  }
3234
3234
 
3235
- var version = "2.0.1-rc.1";
3235
+ var version = "2.0.1-rc.5";
3236
3236
 
3237
3237
  const trimSlashes = (url) => url.replace(/(^\/+|\/+$)/g, '');
3238
3238
  const isMutationConflictResponse = (response) => response.status.code === 202;