igpapi — Instagram private API Simulator for Node.js (API reference) 4.14.0
    Preparing search index...

    Interface IgpapiClientConfig

    interface IgpapiClientConfig {
        defaultApplication: MobileApplicationState;
        defaultSession: MobileSessionState;
        generateDevice: (seed: string) => MobileDeviceState;
        settleRestoredDevice?: (device: MobileDeviceState) => void;
        transport: TransportPlatformDefaults;
    }
    Index

    Properties

    defaultApplication: MobileApplicationState
    defaultSession: MobileSessionState
    generateDevice: (seed: string) => MobileDeviceState
    settleRestoredDevice?: (device: MobileDeviceState) => void

    Fills the platform's device facts a restored snapshot may predate. Called once for every restored process — a snapshot or a checkpoint, which is a snapshot inside it — and never for a fresh device, so a declared render device and a new install keep their own values.

    The platform's native transport settings.