@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/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, HttpResponse } from "twilsock";
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<T>(url: string): Promise<HttpResponse>;
262
+ get(url: string): Promise<any>;
263
+ disconnect(): Promise<void>;
260
264
  }
261
265
  type UsersEvents = {
262
266
  userUpdated: (data: {