Seeker Connect
    Preparing search index...

    Module @solana-mobile/seeker-connect-core - v0.2.0

    @solana-mobile/seeker-connect-core

    The platform-agnostic core of Seeker Connect: the shared types, the SeekerConnectConfig, the error taxonomy (SeekerConnectError / SeekerConnectErrorCode), and the SeekerLink port — the boundary that isolates the Mobile Wallet Adapter implementation from the rest of the SDK.

    This is a foundational package. Most dapps do not depend on it directly; they get it transitively through @solana-mobile/seeker-connect-wallet-standard or @solana-mobile/seeker-connect-web. Install it directly only to reference its types or to implement a custom SeekerLink.

    npm install @solana-mobile/seeker-connect-core
    

    Handle failures by switching on the shared error code:

    import { SeekerConnectError, SeekerConnectErrorCode } from '@solana-mobile/seeker-connect-core';

    try {
    await connect();
    } catch (error) {
    if (error instanceof SeekerConnectError && error.code === SeekerConnectErrorCode.cancelled) {
    // user cancelled from the Seeker Connect UI — usually a no-op
    }
    }

    The @solana-mobile/seeker-connect-core/testing entry point exports testSeekerLinkContract, the vitest suite every SeekerLink implementation must pass. Import it only from test code (it depends on vitest).

    Licensed under Apache-2.0.

    js/packages/core/src
    js/packages/core/src/testing