@twilio/conversations 2.2.1-rc.0 → 2.2.2-rc.1

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 CHANGED
@@ -24,7 +24,7 @@ const client = new Client(token);
24
24
  // Before you use the client, subscribe to the `'initialized'` event.
25
25
  client.on('initialized', () => {
26
26
  // Use the client.
27
- }
27
+ });
28
28
 
29
29
  // To catch client initialization errors, subscribe to the `'initFailed'` event.
30
30
  client.on('initFailed', ({ error }) => {
@@ -41,7 +41,7 @@ const client = new Client(token);
41
41
  // Before you use the client, subscribe to the `'initialized'` event.
42
42
  client.on('initialized', () => {
43
43
  // Use the client.
44
- }
44
+ });
45
45
 
46
46
  // To catch client initialization errors, subscribe to the `'initFailed'` event.
47
47
  client.on('initFailed', ({ error }) => {
package/builds/browser.js CHANGED
@@ -2052,7 +2052,7 @@ var Participants = /*#__PURE__*/function (_ReplayEventEmitter) {
2052
2052
  }, {
2053
2053
  key: "remove",
2054
2054
  value: function remove(identity) {
2055
- return this.services.commandExecutor.mutateResource("delete", "".concat(this.links.participants, "/").concat(identity));
2055
+ return this.services.commandExecutor.mutateResource("delete", "".concat(this.links.participants, "/").concat(encodeURIComponent(identity)));
2056
2056
  }
2057
2057
  }]);
2058
2058
 
@@ -5050,7 +5050,7 @@ var Conversation = /*#__PURE__*/function (_ReplayEventEmitter) {
5050
5050
  }
5051
5051
 
5052
5052
  _context14.next = 3;
5053
- return this._services.commandExecutor.mutateResource("delete", "".concat(this._links.participants, "/").concat(this._configuration.userIdentity));
5053
+ return this._services.commandExecutor.mutateResource("delete", "".concat(this._links.participants, "/").concat(encodeURIComponent(this._configuration.userIdentity)));
5054
5054
 
5055
5055
  case 3:
5056
5056
  return _context14.abrupt("return", this);
@@ -7329,7 +7329,7 @@ function PushNotification(data) {
7329
7329
  this.data = data.data || {};
7330
7330
  });
7331
7331
 
7332
- var version = "2.2.1-rc.0";
7332
+ var version = "2.2.2-rc.1";
7333
7333
 
7334
7334
  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; }
7335
7335