@twilio/conversations 3.0.0-rc.8 → 3.0.1-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 +38 -28
- package/builds/browser.js +4327 -7903
- package/builds/browser.js.map +1 -1
- package/builds/lib.d.ts +629 -102
- package/builds/lib.js +4319 -7904
- package/builds/lib.js.map +1 -1
- package/builds/twilio-conversations.js +27540 -41958
- package/builds/twilio-conversations.min.js +200 -1
- package/dist/aggregated-delivery-receipt.js +10 -1
- package/dist/aggregated-delivery-receipt.js.map +1 -1
- package/dist/channel-metadata-client.js +192 -0
- package/dist/channel-metadata-client.js.map +1 -0
- package/dist/client.js +75 -123
- package/dist/client.js.map +1 -1
- package/dist/command-executor.js +81 -20
- package/dist/command-executor.js.map +1 -1
- package/dist/configuration.js +14 -3
- package/dist/configuration.js.map +1 -1
- package/dist/content-client.js +184 -0
- package/dist/content-client.js.map +1 -0
- package/dist/content-template.js +310 -0
- package/dist/content-template.js.map +1 -0
- package/dist/conversation.js +105 -22
- package/dist/conversation.js.map +1 -1
- package/dist/data/conversations.js +43 -5
- package/dist/data/conversations.js.map +1 -1
- package/dist/data/messages.js +26 -19
- package/dist/data/messages.js.map +1 -1
- package/dist/data/participants.js +15 -4
- package/dist/data/participants.js.map +1 -1
- package/dist/data/users.js +11 -2
- package/dist/data/users.js.map +1 -1
- package/dist/detailed-delivery-receipt.js +9 -0
- package/dist/detailed-delivery-receipt.js.map +1 -1
- package/dist/index.js +20 -2
- package/dist/index.js.map +1 -1
- package/dist/interfaces/notification-types.js +9 -0
- package/dist/interfaces/notification-types.js.map +1 -1
- package/dist/interfaces/{attributes.js → rules.js} +26 -7
- package/dist/interfaces/rules.js.map +1 -0
- package/dist/logger.js +9 -0
- package/dist/logger.js.map +1 -1
- package/dist/media.js +9 -0
- package/dist/media.js.map +1 -1
- package/dist/message-builder.js +77 -6
- package/dist/message-builder.js.map +1 -1
- package/dist/message.js +115 -22
- package/dist/message.js.map +1 -1
- package/dist/node_modules/quick-lru/index.js +265 -0
- package/dist/node_modules/quick-lru/index.js.map +1 -0
- package/dist/node_modules/tslib/tslib.es6.js +9 -0
- package/dist/node_modules/tslib/tslib.es6.js.map +1 -1
- package/dist/packages/conversations/package.json.js +10 -1
- package/dist/packages/conversations/package.json.js.map +1 -1
- package/dist/participant.js +45 -36
- package/dist/participant.js.map +1 -1
- package/dist/push-notification.js +9 -0
- package/dist/push-notification.js.map +1 -1
- package/dist/rest-paginator.js +20 -11
- package/dist/rest-paginator.js.map +1 -1
- package/dist/services/network.js +110 -11
- package/dist/services/network.js.map +1 -1
- package/dist/services/typing-indicator.js +22 -5
- package/dist/services/typing-indicator.js.map +1 -1
- package/dist/unsent-message.js +9 -0
- package/dist/unsent-message.js.map +1 -1
- package/dist/user.js +20 -3
- package/dist/user.js.map +1 -1
- package/dist/util/deferred.js +9 -0
- package/dist/util/deferred.js.map +1 -1
- package/dist/util/index.js +9 -0
- package/dist/util/index.js.map +1 -1
- package/docs/.nojekyll +1 -0
- package/docs/assets/highlight.css +113 -0
- package/docs/assets/main.js +58 -0
- package/docs/assets/search.js +1 -0
- package/docs/assets/style.css +1279 -0
- package/docs/classes/AggregatedDeliveryReceipt.html +144 -3182
- package/docs/classes/CancellablePromise.html +224 -3209
- package/docs/classes/CancellationError.html +112 -0
- package/docs/classes/ChannelMetadata.html +67 -0
- package/docs/classes/Client.html +701 -4237
- package/docs/classes/ContentTemplate.html +97 -0
- package/docs/classes/ContentTemplateVariable.html +90 -0
- package/docs/classes/Conversation.html +768 -4352
- package/docs/classes/DetailedDeliveryReceipt.html +116 -3162
- package/docs/classes/Media.html +119 -3165
- package/docs/classes/Message.html +417 -3730
- package/docs/classes/MessageBuilder.html +208 -3274
- package/docs/classes/Participant.html +258 -3442
- package/docs/classes/PushNotification.html +101 -3129
- package/docs/classes/RestPaginator.html +120 -3158
- package/docs/classes/UnsentMessage.html +63 -3040
- package/docs/classes/User.html +209 -3347
- package/docs/index.html +146 -3502
- package/docs/interfaces/ClientOptions.html +66 -3033
- package/docs/interfaces/ConversationBindings.html +109 -3000
- package/docs/interfaces/ConversationEmailBinding.html +109 -3000
- package/docs/interfaces/ConversationLimits.html +87 -3097
- package/docs/interfaces/ConversationState.html +66 -3049
- package/docs/interfaces/ConversationUpdatedEventArgs.html +109 -3000
- package/docs/interfaces/CreateConversationOptions.html +73 -3065
- package/docs/interfaces/LastMessage.html +66 -3049
- package/docs/interfaces/Paginator.html +110 -3139
- package/docs/interfaces/ParticipantBindingOptions.html +110 -0
- package/docs/interfaces/ParticipantBindings.html +109 -3000
- package/docs/interfaces/ParticipantEmailBinding.html +109 -3000
- package/docs/interfaces/PushNotificationData.html +94 -3113
- package/docs/interfaces/SendEmailOptions.html +59 -3033
- package/docs/interfaces/SendMediaOptions.html +75 -3067
- package/docs/modules.html +180 -3509
- package/docs/types/ChannelType.html +106 -0
- package/docs/types/ConnectionState.html +115 -0
- package/docs/types/ContentData.html +106 -0
- package/docs/types/ContentDataAction.html +107 -0
- package/docs/types/ContentDataActionOther.html +121 -0
- package/docs/types/ContentDataActionPhone.html +128 -0
- package/docs/types/ContentDataActionReply.html +133 -0
- package/docs/types/ContentDataActionUrl.html +128 -0
- package/docs/types/ContentDataCallToAction.html +131 -0
- package/docs/types/ContentDataCard.html +137 -0
- package/docs/types/ContentDataListItem.html +121 -0
- package/docs/types/ContentDataListPicker.html +134 -0
- package/docs/types/ContentDataLocation.html +134 -0
- package/docs/types/ContentDataMedia.html +129 -0
- package/docs/types/ContentDataOther.html +121 -0
- package/docs/types/ContentDataQuickReply.html +131 -0
- package/docs/types/ContentDataReply.html +119 -0
- package/docs/types/ContentDataText.html +125 -0
- package/docs/types/ConversationStatus.html +107 -0
- package/docs/types/ConversationUpdateReason.html +106 -0
- package/docs/types/DeliveryAmount.html +106 -0
- package/docs/types/DeliveryStatus.html +106 -0
- package/docs/types/JSONArray.html +106 -0
- package/docs/types/JSONObject.html +111 -0
- package/docs/types/JSONValue.html +106 -0
- package/docs/types/LogLevel.html +106 -0
- package/docs/types/MediaCategory.html +106 -0
- package/docs/types/MessageType.html +106 -0
- package/docs/types/MessageUpdateReason.html +106 -0
- package/docs/types/NotificationLevel.html +109 -0
- package/docs/types/NotificationsChannelType.html +110 -0
- package/docs/types/ParticipantEmailLevel.html +108 -0
- package/docs/types/ParticipantType.html +107 -0
- package/docs/types/ParticipantUpdateReason.html +106 -0
- package/docs/types/PushNotificationType.html +106 -0
- package/docs/types/State.html +110 -0
- package/docs/types/UserUpdateReason.html +106 -0
- package/package.json +22 -17
- package/CHANGELOG.md +0 -501
- package/dist/interfaces/attributes.js.map +0 -1
- package/docs/assets/css/main.css +0 -2660
- package/docs/assets/images/icons.png +0 -0
- package/docs/assets/images/icons@2x.png +0 -0
- package/docs/assets/images/widgets.png +0 -0
- package/docs/assets/images/widgets@2x.png +0 -0
- package/docs/assets/js/main.js +0 -248
- package/docs/assets/js/search.js +0 -1
package/CHANGELOG.md
DELETED
@@ -1,501 +0,0 @@
|
|
1
|
-
# Change Log
|
2
|
-
|
3
|
-
All notable changes to this project will be documented in this file.
|
4
|
-
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
5
|
-
|
6
|
-
## [3.0.0-rc.8](https://github.com/twilio/rtd-sdk-monorepo-js/compare/@twilio/conversations@3.0.0-rc.7...@twilio/conversations@3.0.0-rc.8) (2022-05-18)
|
7
|
-
|
8
|
-
|
9
|
-
### Bug Fixes
|
10
|
-
|
11
|
-
* Fix convo 3.0 docs, and disconnecting client issue ([c65cf01](https://github.com/twilio/rtd-sdk-monorepo-js/commit/c65cf011406a80ca83da7ecba961aa31caf061bf))
|
12
|
-
* Fix double parsing participant attributes ([682ed94](https://github.com/twilio/rtd-sdk-monorepo-js/commit/682ed94c791a4b2bc9dac6aa987f9aae80201365))
|
13
|
-
|
14
|
-
|
15
|
-
### Reverts
|
16
|
-
|
17
|
-
* Revert "chore(release): Publish" ([097a200](https://github.com/twilio/rtd-sdk-monorepo-js/commit/097a2004f233688bf9a97d1defc976a9fb5da96d))
|
18
|
-
* Revert "chore(release): Publish" ([03b27ca](https://github.com/twilio/rtd-sdk-monorepo-js/commit/03b27ca9830bc6aba2d37febebe6e53f7abddb2d))
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
## [3.0.0-rc.5](https://github.com/twilio/rtd-sdk-monorepo-js/compare/@twilio/conversations@3.0.0-rc.4...@twilio/conversations@3.0.0-rc.5) (2022-05-04)
|
23
|
-
|
24
|
-
|
25
|
-
### Bug Fixes
|
26
|
-
|
27
|
-
* Add cancellable promise export from conversations ([04bd2fc](https://github.com/twilio/rtd-sdk-monorepo-js/commit/04bd2fc10ca1331fbcddf94a186eec351ea922f1))
|
28
|
-
* Fix promise cancelling retrier ([9b30ce2](https://github.com/twilio/rtd-sdk-monorepo-js/commit/9b30ce2750b7447f28e745513f7e1a29e2c48127))
|
29
|
-
* Make stateChanged failed error informative ([a301fdb](https://github.com/twilio/rtd-sdk-monorepo-js/commit/a301fdbe0950a87d0c12ee55688d461bd603cbda))
|
30
|
-
* Map media to empty medias field ([75ee36d](https://github.com/twilio/rtd-sdk-monorepo-js/commit/75ee36d600ec19a45ac5e471c61b6c68bdc47bc8))
|
31
|
-
* Parse APN with undefined alert ([f1d86d8](https://github.com/twilio/rtd-sdk-monorepo-js/commit/f1d86d86d949f8dd6eb96526364bf8c68067a403))
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
## [3.0.0-rc.4](https://github.com/twilio/rtd-sdk-monorepo-js/compare/@twilio/conversations@3.0.0-rc.3...@twilio/conversations@3.0.0-rc.4) (2022-05-02)
|
36
|
-
|
37
|
-
**Note:** Version bump only for package @twilio/conversations
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
## [3.0.0-rc.3](https://github.com/twilio/rtd-sdk-monorepo-js/compare/@twilio/conversations@3.0.0-rc.2...@twilio/conversations@3.0.0-rc.3) (2022-05-02)
|
44
|
-
|
45
|
-
|
46
|
-
### ⚠ BREAKING CHANGES
|
47
|
-
|
48
|
-
* Participant add methods now return the added participants
|
49
|
-
|
50
|
-
### Features
|
51
|
-
|
52
|
-
* Participant add methods now return the added participants ([6547478](https://github.com/twilio/rtd-sdk-monorepo-js/commit/6547478aaa3c358c9f78e2c2c178c9eb36b28485))
|
53
|
-
|
54
|
-
|
55
|
-
### Bug Fixes
|
56
|
-
|
57
|
-
* Add runtime validation, fix error messages wording ([c03fd6c](https://github.com/twilio/rtd-sdk-monorepo-js/commit/c03fd6cda5b38032916835734ea002799f460eec))
|
58
|
-
* Add runtime validation, fix error messages wording ([e0e986d](https://github.com/twilio/rtd-sdk-monorepo-js/commit/e0e986d33ac7a5a0c98588dc38ffbd41a22b823e))
|
59
|
-
* Fix faulty type definitions by upgrading tooling ([b6d25ce](https://github.com/twilio/rtd-sdk-monorepo-js/commit/b6d25cecb08ab4e0d369430b90a786e1b275af91))
|
60
|
-
* Update pinning tools to new Python version ([50a6c78](https://github.com/twilio/rtd-sdk-monorepo-js/commit/50a6c78b9d717b0e7531919e1f7cb409474c3df5))
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
## [3.0.0-rc.2](https://github.com/twilio/rtd-sdk-monorepo-js/compare/@twilio/conversations@3.0.0-rc.1...@twilio/conversations@3.0.0-rc.2) (2022-04-13)
|
65
|
-
|
66
|
-
|
67
|
-
### Features
|
68
|
-
|
69
|
-
* Migrate Twilsock to ReplayEventEmitter ([6db99dd](https://github.com/twilio/rtd-sdk-monorepo-js/commit/6db99dd3cc207298870aff1835acad6f866d7c05))
|
70
|
-
|
71
|
-
|
72
|
-
### Bug Fixes
|
73
|
-
|
74
|
-
* Fix client initialization when a connected Twilsock is passed ([49aa87e](https://github.com/twilio/rtd-sdk-monorepo-js/commit/49aa87ecc8cc0dd30ac56fd563fb4a2af832610b))
|
75
|
-
* Fix push notification data type ([fa44301](https://github.com/twilio/rtd-sdk-monorepo-js/commit/fa44301c985f23efa5a7299d2987ba3772d51a24))
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
## [3.0.0-rc.1](https://github.com/twilio/rtd-sdk-monorepo-js/compare/@twilio/conversations@3.0.0-rc.0...@twilio/conversations@3.0.0-rc.1) (2022-03-16)
|
80
|
-
|
81
|
-
**Note:** Version bump only for package @twilio/conversations
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
## [2.1.0](https://github.com/twilio/rtd-sdk-monorepo-js/compare/@twilio/conversations@2.1.0-rc.9...@twilio/conversations@2.1.0) (2022-03-03)
|
88
|
-
|
89
|
-
**Note:** Version bump only for package @twilio/conversations
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
## [2.1.0-rc.9](https://github.com/twilio/rtd-sdk-monorepo-js/compare/@twilio/conversations@2.1.0-rc.8...@twilio/conversations@2.1.0-rc.9) (2022-02-08)
|
96
|
-
|
97
|
-
**Note:** Version bump only for package @twilio/conversations
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
## [2.1.0-rc.8](https://github.com/twilio/rtd-sdk-monorepo-js/compare/@twilio/conversations@2.1.0-rc.7...@twilio/conversations@2.1.0-rc.8) (2022-02-03)
|
104
|
-
|
105
|
-
**Note:** Version bump only for package @twilio/conversations
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
## [2.1.0-rc.7](https://github.com/twilio/rtd-sdk-monorepo-js/compare/@twilio/conversations@2.1.0-rc.6...@twilio/conversations@2.1.0-rc.7) (2022-02-03)
|
112
|
-
|
113
|
-
|
114
|
-
### Bug Fixes
|
115
|
-
|
116
|
-
* Allow undefined for email get methods ([a753060](https://github.com/twilio/rtd-sdk-monorepo-js/commit/a75306021603e2bfb770d60f3834674b04069623))
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
## [2.1.0-rc.6](https://github.com/twilio/rtd-sdk-monorepo-js/compare/@twilio/conversations@2.1.0-rc.5...@twilio/conversations@2.1.0-rc.6) (2022-02-02)
|
121
|
-
|
122
|
-
|
123
|
-
### Bug Fixes
|
124
|
-
|
125
|
-
* Make message.participantSid nullable ([86a90d4](https://github.com/twilio/rtd-sdk-monorepo-js/commit/86a90d4e76334b6581d7bb3214f97417606b2c55))
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
## [2.1.0-rc.5](https://github.com/twilio/rtd-sdk-monorepo-js/compare/@twilio/conversations@2.1.0-rc.4...@twilio/conversations@2.1.0-rc.5) (2022-01-31)
|
130
|
-
|
131
|
-
**Note:** Version bump only for package @twilio/conversations
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
## [2.1.0-rc.4](https://github.com/twilio/rtd-sdk-monorepo-js/compare/@twilio/conversations@2.1.0-rc.2...@twilio/conversations@2.1.0-rc.4) (2022-01-31)
|
138
|
-
|
139
|
-
**Note:** Version bump only for package @twilio/conversations
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
## [2.1.0-rc.3](https://github.com/twilio/rtd-sdk-monorepo-js/compare/@twilio/conversations@2.1.0-rc.2...@twilio/conversations@2.1.0-rc.3) (2022-01-31)
|
146
|
-
|
147
|
-
**Note:** Version bump only for package @twilio/conversations
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
## [2.1.0-rc.2](https://github.com/twilio/rtd-sdk-monorepo-js/compare/@twilio/conversations@2.1.0-rc.1...@twilio/conversations@2.1.0-rc.2) (2022-01-28)
|
154
|
-
|
155
|
-
|
156
|
-
### Bug Fixes
|
157
|
-
|
158
|
-
* Fix media SID attachment ([e260ea7](https://github.com/twilio/rtd-sdk-monorepo-js/commit/e260ea7963328450043cbd4ade76cb9f230e1240))
|
159
|
-
* Fix type error ([460557d](https://github.com/twilio/rtd-sdk-monorepo-js/commit/460557db8551d70a17e653fc92eb034ea36d3f5d))
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
## [2.1.0-rc.1](https://github.com/twilio/rtd-sdk-monorepo-js/compare/@twilio/conversations@2.1.0-rc.0...@twilio/conversations@2.1.0-rc.1) (2021-11-25)
|
164
|
-
|
165
|
-
|
166
|
-
### Bug Fixes
|
167
|
-
|
168
|
-
* Fix last read message index not getting properly resolved in events ([97ea57f](https://github.com/twilio/rtd-sdk-monorepo-js/commit/97ea57f8a8dc76521601ced925237b64044d558a))
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
## [2.1.0-rc.0](https://github.com/twilio/rtd-sdk-monorepo-js/compare/@twilio/conversations@2.0.1-rc.10...@twilio/conversations@2.1.0-rc.0) (2021-11-19)
|
173
|
-
|
174
|
-
|
175
|
-
### Features
|
176
|
-
|
177
|
-
* Add bindings to Participant & Conversation ([56afcc3](https://github.com/twilio/rtd-sdk-monorepo-js/commit/56afcc38020f024e0ec952117cb5dcc6e4f61e92))
|
178
|
-
* Add email body and history accessors ([be2de67](https://github.com/twilio/rtd-sdk-monorepo-js/commit/be2de674c5215a3054665756c85a22e35d145f58))
|
179
|
-
* Update MessageBuilder to support email payload ([ee0d00a](https://github.com/twilio/rtd-sdk-monorepo-js/commit/ee0d00a8c7e1dea478000731018c89fd2b8eb6c2))
|
180
|
-
* Use shared attributesValidator ([6d2a13f](https://github.com/twilio/rtd-sdk-monorepo-js/commit/6d2a13f87e9ad445399e5615a2eb6e4fe8b9518e))
|
181
|
-
|
182
|
-
|
183
|
-
### Bug Fixes
|
184
|
-
|
185
|
-
* Fix bindings update always coming in participantUpdated reasons ([70f554d](https://github.com/twilio/rtd-sdk-monorepo-js/commit/70f554d3b81e3f662abc4e9a573aec6028c24c9d))
|
186
|
-
* Fix docs and signatures for single media. ([99d3512](https://github.com/twilio/rtd-sdk-monorepo-js/commit/99d3512ef5c382fe19346f0ebefe8902e332abad))
|
187
|
-
* Improve validator for attachTemporaryUrlsFor ([3e9f199](https://github.com/twilio/rtd-sdk-monorepo-js/commit/3e9f199464b4891b2d114ebdc71bcbe8c2fefd76))
|
188
|
-
* Invalid access when no email media attached ([6b1a40d](https://github.com/twilio/rtd-sdk-monorepo-js/commit/6b1a40de5a477b8047362074673788ee5ee45732))
|
189
|
-
* Prevent use of FormData in non-browser environment ([eaa2ba4](https://github.com/twilio/rtd-sdk-monorepo-js/commit/eaa2ba495506508ac531a257d78696d297581a64))
|
190
|
-
* Remove old conflicts ([2c505e7](https://github.com/twilio/rtd-sdk-monorepo-js/commit/2c505e76e054274ac3dd4352b2c951189311d67b))
|
191
|
-
|
192
|
-
|
193
|
-
|
194
|
-
### [2.0.1-rc.10](https://github.com/twilio/rtd-sdk-monorepo-js/compare/@twilio/conversations@2.0.1-rc.9...@twilio/conversations@2.0.1-rc.10) (2021-11-16)
|
195
|
-
|
196
|
-
|
197
|
-
### Bug Fixes
|
198
|
-
|
199
|
-
* Fix import isomorphic form data to conversations ([22d0712](https://github.com/twilio/rtd-sdk-monorepo-js/commit/22d0712e50b74690788642382a5f9d091d9c349d))
|
200
|
-
|
201
|
-
|
202
|
-
|
203
|
-
### [2.0.1-rc.9](https://github.com/twilio/rtd-sdk-monorepo-js/compare/@twilio/conversations@2.0.1-rc.8...@twilio/conversations@2.0.1-rc.9) (2021-11-12)
|
204
|
-
|
205
|
-
**Note:** Version bump only for package @twilio/conversations
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
|
210
|
-
|
211
|
-
### [2.0.1-rc.8](https://github.com/twilio/rtd-sdk-monorepo-js/compare/@twilio/conversations@2.0.1-rc.7...@twilio/conversations@2.0.1-rc.8) (2021-11-12)
|
212
|
-
|
213
|
-
**Note:** Version bump only for package @twilio/conversations
|
214
|
-
|
215
|
-
|
216
|
-
|
217
|
-
|
218
|
-
|
219
|
-
### [2.0.1-rc.7](https://github.com/twilio/rtd-sdk-monorepo-js/compare/@twilio/conversations@2.0.1-rc.6...@twilio/conversations@2.0.1-rc.7) (2021-11-12)
|
220
|
-
|
221
|
-
**Note:** Version bump only for package @twilio/conversations
|
222
|
-
|
223
|
-
|
224
|
-
|
225
|
-
|
226
|
-
|
227
|
-
### [2.0.1-rc.6](https://github.com/twilio/rtd-sdk-monorepo-js/compare/@twilio/conversations@2.0.1-rc.5...@twilio/conversations@2.0.1-rc.6) (2021-11-11)
|
228
|
-
|
229
|
-
|
230
|
-
### Bug Fixes
|
231
|
-
|
232
|
-
* Remove the post-install script in favour of the "react-native" option ([0fe352d](https://github.com/twilio/rtd-sdk-monorepo-js/commit/0fe352d45e50cec78e880affee589009055d5338))
|
233
|
-
|
234
|
-
|
235
|
-
|
236
|
-
### [2.0.1-rc.5](https://github.com/twilio/rtd-sdk-monorepo-js/compare/@twilio/conversations@2.0.1-rc.4...@twilio/conversations@2.0.1-rc.5) (2021-11-10)
|
237
|
-
|
238
|
-
|
239
|
-
### Bug Fixes
|
240
|
-
|
241
|
-
* Fix the post-install script (yet again) ([c8cb1ee](https://github.com/twilio/rtd-sdk-monorepo-js/commit/c8cb1ee501d1c793497985592d2c1ae97162a219))
|
242
|
-
|
243
|
-
|
244
|
-
|
245
|
-
### [2.0.1-rc.4](https://github.com/twilio/rtd-sdk-monorepo-js/compare/@twilio/conversations@2.0.1-rc.3...@twilio/conversations@2.0.1-rc.4) (2021-11-09)
|
246
|
-
|
247
|
-
|
248
|
-
### Bug Fixes
|
249
|
-
|
250
|
-
* Fix getChannelBySid returning wrong channels issue ([3eeaf1f](https://github.com/twilio/rtd-sdk-monorepo-js/commit/3eeaf1fc64d77c48305ff7c43b8a92c81e6ead7b))
|
251
|
-
* Fix the post-install script to be runnable cross-platform ([a16eede](https://github.com/twilio/rtd-sdk-monorepo-js/commit/a16eede598dd3dbdda1997fbd2033fa2254f113f))
|
252
|
-
|
253
|
-
|
254
|
-
|
255
|
-
### [2.0.1-rc.3](https://github.com/twilio/rtd-sdk-monorepo-js/compare/@twilio/conversations@2.0.1-rc.2...@twilio/conversations@2.0.1-rc.3) (2021-10-26)
|
256
|
-
|
257
|
-
|
258
|
-
### Bug Fixes
|
259
|
-
|
260
|
-
* Bump Node required version to current LTS (14) ([ee272b3](https://github.com/twilio/rtd-sdk-monorepo-js/commit/ee272b350f4556a454a18a8aa192c37b54aaaeeb))
|
261
|
-
|
262
|
-
|
263
|
-
|
264
|
-
### [2.0.1-rc.2](https://github.com/twilio/rtd-sdk-monorepo-js/compare/@twilio/conversations@2.0.1-rc.1...@twilio/conversations@2.0.1-rc.2) (2021-10-25)
|
265
|
-
|
266
|
-
**Note:** Version bump only for package @twilio/conversations
|
267
|
-
|
268
|
-
|
269
|
-
|
270
|
-
|
271
|
-
|
272
|
-
### [2.0.1-rc.1](https://github.com/twilio/rtd-sdk-monorepo-js/compare/@twilio/conversations@2.0.1-rc.0...@twilio/conversations@2.0.1-rc.1) (2021-10-22)
|
273
|
-
|
274
|
-
**Note:** Version bump only for package @twilio/conversations
|
275
|
-
|
276
|
-
|
277
|
-
|
278
|
-
|
279
|
-
|
280
|
-
### [2.0.1-rc.0](https://github.com/twilio/rtd-sdk-monorepo-js/compare/@twilio/conversations@2.0.0...@twilio/conversations@2.0.1-rc.0) (2021-10-22)
|
281
|
-
|
282
|
-
**Note:** Version bump only for package @twilio/conversations
|
283
|
-
|
284
|
-
|
285
|
-
|
286
|
-
|
287
|
-
|
288
|
-
## [2.0.0](https://github.com/twilio/rtd-sdk-monorepo-js/compare/@twilio/conversations@2.0.0-rc.4...@twilio/conversations@2.0.0) (2021-10-19)
|
289
|
-
|
290
|
-
|
291
|
-
### Bug Fixes
|
292
|
-
|
293
|
-
* Add an export to NotificationTypes ([0986564](https://github.com/twilio/rtd-sdk-monorepo-js/commit/09865645750f8ae2f930471284de9d9f7445f1e8))
|
294
|
-
|
295
|
-
|
296
|
-
|
297
|
-
## [2.0.0-rc.4](https://github.com/twilio/rtd-sdk-monorepo-js/compare/@twilio/conversations@2.0.0-rc.3...@twilio/conversations@2.0.0-rc.4) (2021-10-14)
|
298
|
-
|
299
|
-
|
300
|
-
### Bug Fixes
|
301
|
-
|
302
|
-
* Fix passing JSON attributes into conversation.addNonChatParticipant ([c3da243](https://github.com/twilio/rtd-sdk-monorepo-js/commit/c3da243469f5c33663c756d9f714a38240c4dd48))
|
303
|
-
|
304
|
-
|
305
|
-
|
306
|
-
## [2.0.0-rc.3](https://github.com/twilio/rtd-sdk-monorepo-js/compare/@twilio/conversations@2.0.0-rc.2...@twilio/conversations@2.0.0-rc.3) (2021-10-13)
|
307
|
-
|
308
|
-
**Note:** Version bump only for package @twilio/conversations
|
309
|
-
|
310
|
-
|
311
|
-
|
312
|
-
|
313
|
-
|
314
|
-
## [2.0.0-rc.2](https://github.com/twilio/rtd-sdk-monorepo-js/compare/@twilio/conversations@2.0.0-rc.1...@twilio/conversations@2.0.0-rc.2) (2021-10-13)
|
315
|
-
|
316
|
-
|
317
|
-
### ⚠ BREAKING CHANGES
|
318
|
-
|
319
|
-
* Disallow null Conversation.updateFriendlyName
|
320
|
-
* Disallow null for client options
|
321
|
-
* Remove default exports from Conversations
|
322
|
-
* Client.reachabilityEnabled can now throw an error.
|
323
|
-
|
324
|
-
### Bug Fixes
|
325
|
-
|
326
|
-
* Add missing exports ([74d08ce](https://github.com/twilio/rtd-sdk-monorepo-js/commit/74d08ce00a8a4cf0b961dde3570f5c7bd7a1e1f9))
|
327
|
-
* Allow all JSON values as properties in addNonChatParticipant ([ddbea1c](https://github.com/twilio/rtd-sdk-monorepo-js/commit/ddbea1c0d0d26b488661ef123883316f7926b456))
|
328
|
-
* Disallow null Conversation.updateFriendlyName ([7e4b556](https://github.com/twilio/rtd-sdk-monorepo-js/commit/7e4b5563e2a016f1904d9b37cfc063592712f0a6))
|
329
|
-
* Disallow null for client options ([c5435f9](https://github.com/twilio/rtd-sdk-monorepo-js/commit/c5435f9fb9dadf11483e2c7884c334a040c06330))
|
330
|
-
* Fix client user initialization problem ([043546d](https://github.com/twilio/rtd-sdk-monorepo-js/commit/043546d872300fda4db70d9c04461f944dfa5936))
|
331
|
-
* Remove default exports from Conversations ([38e2e24](https://github.com/twilio/rtd-sdk-monorepo-js/commit/38e2e24512425da4ba0f1670dcf37d8ccf1ac67e))
|
332
|
-
* Reset currentState on push unregister ([590991c](https://github.com/twilio/rtd-sdk-monorepo-js/commit/590991c841a78b3c7e88a05629090a2de5a8f9da))
|
333
|
-
* Resubscribe to push notification on re-register ([709847f](https://github.com/twilio/rtd-sdk-monorepo-js/commit/709847f8462890214197cf1af769f41b56bfbccc))
|
334
|
-
* Throw an error if reachabilityEnabled was accessed before client init ([3fd3293](https://github.com/twilio/rtd-sdk-monorepo-js/commit/3fd32937d7e42d6df815efab35ded3b93a671556))
|
335
|
-
* UnsentMessage.send now returns a proper value ([c71a0a9](https://github.com/twilio/rtd-sdk-monorepo-js/commit/c71a0a9a9618c09f5d02dbee6bc2d122d9008383))
|
336
|
-
|
337
|
-
|
338
|
-
|
339
|
-
## [2.0.0-rc.1](https://github.com/twilio/rtd-sdk-monorepo-js/compare/@twilio/conversations@2.0.0-rc.0...@twilio/conversations@2.0.0-rc.1) (2021-10-04)
|
340
|
-
|
341
|
-
|
342
|
-
### ⚠ BREAKING CHANGES
|
343
|
-
|
344
|
-
* User.updateFriendlyName no longer accepts
|
345
|
-
null as the value.
|
346
|
-
* Passing null to Conversation.sendMessage
|
347
|
-
will result with the message body being empty.
|
348
|
-
|
349
|
-
### Features
|
350
|
-
|
351
|
-
* Add getCachedTemporaryUrl() ([c453e70](https://github.com/twilio/rtd-sdk-monorepo-js/commit/c453e70d0e0bc8bb6f0cd80ef0e2a3309b5ba804))
|
352
|
-
* Add limits support ([b471295](https://github.com/twilio/rtd-sdk-monorepo-js/commit/b4712954bf6f0cf82c47c77b96a98ed1ebe9c158))
|
353
|
-
* Add Media category field ([0672c20](https://github.com/twilio/rtd-sdk-monorepo-js/commit/0672c202d000736dda37be66387692e2befe24bd))
|
354
|
-
* Add mediaSet GET operation support ([424bd4a](https://github.com/twilio/rtd-sdk-monorepo-js/commit/424bd4abe42312ea01740bc142ed1c6ec3b1913d))
|
355
|
-
* Add multiple media accessors ([99e78e6](https://github.com/twilio/rtd-sdk-monorepo-js/commit/99e78e6239b87d36b23e6bbbd0bc68f19b869f85))
|
356
|
-
* Add sendMessageV2 and prepareMessage() builder ([fd5ae39](https://github.com/twilio/rtd-sdk-monorepo-js/commit/fd5ae39816e45cce83a37120bfff3f2d530f09d3))
|
357
|
-
* Allow specifying filename when uploading media file ([abd6126](https://github.com/twilio/rtd-sdk-monorepo-js/commit/abd61266135b14c27c3d076c009a3fd331a0f810))
|
358
|
-
* Dispose of session in favour of the sessionless protocol ([8b46fbd](https://github.com/twilio/rtd-sdk-monorepo-js/commit/8b46fbdac04d7e2cf55a74fb13b3016661f869b8))
|
359
|
-
* Do not filter out body for media messages ([3eeeabc](https://github.com/twilio/rtd-sdk-monorepo-js/commit/3eeeabc7c32b2798bef40e50466610d155aa68e5))
|
360
|
-
|
361
|
-
|
362
|
-
### Bug Fixes
|
363
|
-
|
364
|
-
* Add token update for notificationClient ([5cda351](https://github.com/twilio/rtd-sdk-monorepo-js/commit/5cda3513c0df4aac8df01034d2764bb0e970a476))
|
365
|
-
* Default addNonChatParticipant options to empty if not provided ([84e205b](https://github.com/twilio/rtd-sdk-monorepo-js/commit/84e205b7e4c4c2faebce6fe79521751765dde8c5))
|
366
|
-
* Deprecate unsetPushRegistrationId and add removePushRegistrations ([82ef892](https://github.com/twilio/rtd-sdk-monorepo-js/commit/82ef892537942efd1e47302dad33086a2d8a5f22))
|
367
|
-
* Fix setPushRegistrationId and unsetPushRegistrationId impls ([9120a65](https://github.com/twilio/rtd-sdk-monorepo-js/commit/9120a65834c9fb38c184c55bfa961d2e1cddb8ca))
|
368
|
-
* Return correct type from function ([5353810](https://github.com/twilio/rtd-sdk-monorepo-js/commit/5353810e32de201415f1e93d25d1b679eac2d974))
|
369
|
-
* Streamline Message state initialization ([a29331f](https://github.com/twilio/rtd-sdk-monorepo-js/commit/a29331f3d7e75ed85d4919efd67a5766482af06b))
|
370
|
-
|
371
|
-
|
372
|
-
### Code Refactoring
|
373
|
-
|
374
|
-
* Migrate to Sessionless EditUser command ([060b96b](https://github.com/twilio/rtd-sdk-monorepo-js/commit/060b96b5019311a47e7fdb71b12cbdd4996f3e44))
|
375
|
-
* Migrate to Sessionless SendMessage command ([997e17f](https://github.com/twilio/rtd-sdk-monorepo-js/commit/997e17fd04426aebe04e1fa734752aee4ddecaf5))
|
376
|
-
|
377
|
-
|
378
|
-
|
379
|
-
## [2.0.0-rc.0](https://github.com/twilio/rtd-sdk-monorepo-js/compare/@twilio/conversations@1.2.4-rc.12...@twilio/conversations@2.0.0-rc.0) (2021-09-23)
|
380
|
-
|
381
|
-
|
382
|
-
### ⚠ BREAKING CHANGES
|
383
|
-
|
384
|
-
* Add init registrations
|
385
|
-
* Use twilsock connection state
|
386
|
-
|
387
|
-
### Features
|
388
|
-
|
389
|
-
* Add init registrations ([d09c52d](https://github.com/twilio/rtd-sdk-monorepo-js/commit/d09c52d2b1894fb0db2e3a084937350ee1a73f01))
|
390
|
-
* Export Telemetry from Twilsock ([eb261ec](https://github.com/twilio/rtd-sdk-monorepo-js/commit/eb261ecdb366b6381462c377431735c5c09f1094))
|
391
|
-
* Use twilsock connection state ([2a6a4be](https://github.com/twilio/rtd-sdk-monorepo-js/commit/2a6a4be6384037ca80f1a02663cb126cbff3797a))
|
392
|
-
|
393
|
-
|
394
|
-
### Bug Fixes
|
395
|
-
|
396
|
-
* Fix getMessages()' usage of sync pagination ([4563227](https://github.com/twilio/rtd-sdk-monorepo-js/commit/45632271337affeb3af7dcf8bec78b555b5db6b1))
|
397
|
-
* Start client connection state in 'unknown' ([a78acd1](https://github.com/twilio/rtd-sdk-monorepo-js/commit/a78acd1e5dde7532cfd64ed6ed09178d5009399e))
|
398
|
-
* Use Transport from Twilsock ([7f0ce1e](https://github.com/twilio/rtd-sdk-monorepo-js/commit/7f0ce1e8e74b39d38cb4feff685e19807cba5ff0))
|
399
|
-
|
400
|
-
|
401
|
-
|
402
|
-
### [1.2.4-rc.12](https://github.com/twilio/rtd-sdk-monorepo-js/compare/@twilio/conversations@1.2.4-rc.11...@twilio/conversations@1.2.4-rc.12) (2021-09-12)
|
403
|
-
|
404
|
-
**Note:** Version bump only for package @twilio/conversations
|
405
|
-
|
406
|
-
|
407
|
-
|
408
|
-
|
409
|
-
|
410
|
-
### [1.2.4-rc.11](https://github.com/twilio/rtd-sdk-monorepo-js/compare/@twilio/conversations@1.2.4-rc.10...@twilio/conversations@1.2.4-rc.11) (2021-09-12)
|
411
|
-
|
412
|
-
**Note:** Version bump only for package @twilio/conversations
|
413
|
-
|
414
|
-
|
415
|
-
|
416
|
-
|
417
|
-
|
418
|
-
### [1.2.4-rc.10](https://github.com/twilio/rtd-sdk-monorepo-js/compare/@twilio/conversations@1.2.4-rc.9...@twilio/conversations@1.2.4-rc.10) (2021-09-12)
|
419
|
-
|
420
|
-
**Note:** Version bump only for package @twilio/conversations
|
421
|
-
|
422
|
-
|
423
|
-
|
424
|
-
|
425
|
-
|
426
|
-
### [1.2.4-rc.9](https://github.com/twilio/rtd-sdk-monorepo-js/compare/@twilio/conversations@1.2.4-rc.8...@twilio/conversations@1.2.4-rc.9) (2021-09-12)
|
427
|
-
|
428
|
-
**Note:** Version bump only for package @twilio/conversations
|
429
|
-
|
430
|
-
|
431
|
-
|
432
|
-
|
433
|
-
|
434
|
-
### [1.2.4-rc.8](https://github.com/twilio/rtd-sdk-monorepo-js/compare/@twilio/conversations@1.2.4-rc.7...@twilio/conversations@1.2.4-rc.8) (2021-09-12)
|
435
|
-
|
436
|
-
**Note:** Version bump only for package @twilio/conversations
|
437
|
-
|
438
|
-
|
439
|
-
|
440
|
-
|
441
|
-
|
442
|
-
### [1.2.4-rc.7](https://github.com/twilio/rtd-sdk-monorepo-js/compare/@twilio/conversations@1.2.4-rc.5...@twilio/conversations@1.2.4-rc.7) (2021-09-12)
|
443
|
-
|
444
|
-
**Note:** Version bump only for package @twilio/conversations
|
445
|
-
|
446
|
-
|
447
|
-
|
448
|
-
|
449
|
-
|
450
|
-
### [1.2.4-rc.6](https://github.com/twilio/rtd-sdk-monorepo-js/compare/@twilio/conversations@1.2.4-rc.5...@twilio/conversations@1.2.4-rc.6) (2021-09-12)
|
451
|
-
|
452
|
-
**Note:** Version bump only for package @twilio/conversations
|
453
|
-
|
454
|
-
|
455
|
-
|
456
|
-
|
457
|
-
|
458
|
-
### [1.2.4-rc.5](https://github.com/twilio/rtd-sdk-monorepo-js/compare/@twilio/conversations@1.2.4-rc.4...@twilio/conversations@1.2.4-rc.5) (2021-09-10)
|
459
|
-
|
460
|
-
**Note:** Version bump only for package @twilio/conversations
|
461
|
-
|
462
|
-
|
463
|
-
|
464
|
-
|
465
|
-
|
466
|
-
### [1.2.4-rc.4](https://github.com/twilio/rtd-sdk-monorepo-js/compare/@twilio/conversations@1.2.4-rc.3...@twilio/conversations@1.2.4-rc.4) (2021-09-10)
|
467
|
-
|
468
|
-
**Note:** Version bump only for package @twilio/conversations
|
469
|
-
|
470
|
-
|
471
|
-
|
472
|
-
|
473
|
-
|
474
|
-
### [1.2.4-rc.3](https://github.com/twilio/rtd-sdk-monorepo-js/compare/@twilio/conversations@1.2.4-rc.2...@twilio/conversations@1.2.4-rc.3) (2021-09-09)
|
475
|
-
|
476
|
-
|
477
|
-
### Bug Fixes
|
478
|
-
|
479
|
-
* Fix Rollup type export issue ([02f9d73](https://github.com/twilio/rtd-sdk-monorepo-js/commit/02f9d7307ce982afbd1a8e92f8e8bdd6646b74f0))
|
480
|
-
|
481
|
-
|
482
|
-
|
483
|
-
### [1.2.4-rc.2](https://github.com/twilio/rtd-sdk-monorepo-js/compare/@twilio/conversations@1.2.3-rc.1...@twilio/conversations@1.2.4-rc.2) (2021-09-07)
|
484
|
-
|
485
|
-
**Note:** Version bump only for package @twilio/conversations
|
486
|
-
|
487
|
-
|
488
|
-
|
489
|
-
|
490
|
-
|
491
|
-
### [1.2.3-rc.1](https://github.com/twilio/rtd-sdk-monorepo-js/compare/@twilio/conversations@1.2.3-rc.0...@twilio/conversations@1.2.3-rc.1) (2021-08-23)
|
492
|
-
|
493
|
-
**Note:** Version bump only for package @twilio/conversations
|
494
|
-
|
495
|
-
|
496
|
-
|
497
|
-
|
498
|
-
|
499
|
-
### 1.2.3-rc.0 (2021-08-23)
|
500
|
-
|
501
|
-
**Note:** Version bump only for package @twilio/conversations
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"attributes.js","sources":["../../src/interfaces/attributes.ts"],"sourcesContent":["import { custom } from \"@twilio/declarative-type-validator\";\n\n// Any JSON value\nexport const attributesValidator = custom((value) => [\n [\"string\", \"number\", \"boolean\", \"object\"].includes(typeof value),\n \"a JSON type\",\n]);\n\nexport const optionalAttributesValidator = custom((value) => [\n [\"undefined\", \"string\", \"number\", \"boolean\", \"object\"].includes(typeof value),\n \"an optional JSON type\",\n]);\n"],"names":["custom"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA;AACa,MAAA,mBAAmB,GAAGA,+BAAM,CAAC,CAAC,KAAK,KAAK;AACnD,IAAA,CAAC,QAAQ,EAAE,QAAQ,EAAE,SAAS,EAAE,QAAQ,CAAC,CAAC,QAAQ,CAAC,OAAO,KAAK,CAAC;IAChE,aAAa;AACd,CAAA,EAAE;AAEU,MAAA,2BAA2B,GAAGA,+BAAM,CAAC,CAAC,KAAK,KAAK;AAC3D,IAAA,CAAC,WAAW,EAAE,QAAQ,EAAE,QAAQ,EAAE,SAAS,EAAE,QAAQ,CAAC,CAAC,QAAQ,CAAC,OAAO,KAAK,CAAC;IAC7E,uBAAuB;AACxB,CAAA;;;;;"}
|