@twilio/conversations 3.0.0-canary.100 → 3.0.0-canary.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/builds/browser.js +599 -436
- package/builds/browser.js.map +1 -1
- package/builds/lib.d.ts +6 -2
- package/builds/lib.js +599 -436
- package/builds/lib.js.map +1 -1
- package/builds/twilio-conversations.js +3599 -2598
- package/builds/twilio-conversations.min.js +1 -1
- package/dist/client.js +6 -7
- package/dist/client.js.map +1 -1
- package/dist/command-executor.js +16 -9
- package/dist/command-executor.js.map +1 -1
- package/dist/conversation.js.map +1 -1
- package/dist/data/conversations.js +1 -4
- package/dist/data/conversations.js.map +1 -1
- package/dist/data/users.js +1 -3
- package/dist/data/users.js.map +1 -1
- package/dist/message.js +0 -1
- package/dist/message.js.map +1 -1
- package/dist/packages/conversations/package.json.js +1 -1
- package/dist/participant.js +33 -33
- package/dist/participant.js.map +1 -1
- package/dist/rest-paginator.js +11 -11
- package/dist/rest-paginator.js.map +1 -1
- package/dist/services/network.js +95 -26
- package/dist/services/network.js.map +1 -1
- package/dist/services/typing-indicator.js +12 -6
- package/dist/services/typing-indicator.js.map +1 -1
- package/package.json +10 -10
package/builds/lib.d.ts
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
/// <reference types="node" />
|
2
2
|
import { SyncClient, SyncDocument, SyncList } from "twilio-sync";
|
3
3
|
import { LogLevelDesc } from "loglevel";
|
4
|
-
import { TwilsockClient, InitRegistration
|
4
|
+
import { TwilsockClient, InitRegistration } from "twilsock";
|
5
5
|
import { ReplayEventEmitter } from "@twilio/replay-event-emitter";
|
6
6
|
import { JSONValue } from "@twilio/shared";
|
7
7
|
import { ChannelType, Notifications } from "@twilio/notifications";
|
@@ -251,12 +251,16 @@ declare class Network {
|
|
251
251
|
private cacheLifetime;
|
252
252
|
private readonly cache;
|
253
253
|
private timer;
|
254
|
+
private pendingRequests;
|
255
|
+
private isShutdownInitiated;
|
254
256
|
constructor(configuration: any, services: any);
|
255
257
|
private isExpired;
|
256
258
|
private cleanupCache;
|
257
259
|
pokeTimer(): void;
|
260
|
+
private responsePostProcess;
|
258
261
|
private executeWithRetry;
|
259
|
-
get
|
262
|
+
get(url: string): Promise<any>;
|
263
|
+
disconnect(): Promise<void>;
|
260
264
|
}
|
261
265
|
type UsersEvents = {
|
262
266
|
userUpdated: (data: {
|