IGPAPI
    Preparing search index...

    Function createClientInternals

    • Restored snapshots keep their stored application, with two exceptions. A snapshot whose app version equals the current defaultApplication version keeps its device and session; its application becomes the presented build's when the snapshot carries another released version (a restore is an app update), and a same-version snapshot adopts any version-bound field it omits — the GraphQL doc-id table, GRAPHQL_OMIT_PRETTY, the Direct inbox directInboxMode, the launch wire launchWire (the feed/timeline block, the feeds' appnetsession pair, the shared launch requests, the inbox-tray form, the save-credentials placement and the dictionary fan-out) and the launch constants shoppingExperiments and directSearchGenAiBotsLimit (so snapshots made between a version bump and this change still resolve the new ids, form shape, inbox mode, feed wire and launch constants). Every other application keeps its literals. See withDefaultVersionBoundFields.

      Parameters

      Returns Promise<
          {
              application: MobileApplicationState;
              client: Client;
              cookieJar: CookieJarLike;
              device: MobileDeviceState;
              protocolDiagnostics: () => readonly Readonly<ProtocolDiagnostic>[];
              requestTimeoutMs: number;
              session: MobileSessionState;
          },
      >