node-webpush 🔔
    Preparing search index...

    Type Alias PushSubscription

    type PushSubscription = {
        endpoint: string;
        keys?: { auth: string; p256dh: string };
    }
    Index

    Properties

    Properties

    endpoint: string
    keys?: { auth: string; p256dh: string }

    Type Declaration

    • auth: string

      Base64url-encoded auth secret (>= 16 bytes recommended)

    • p256dh: string

      Base64url-encoded 65-byte uncompressed P-256 public key