@drupflare/workforce - v0.3.0
    Preparing search index...

    Function hashAsset

    • The digest an asset manifest keys on: SHA-256, truncated to 32 hex characters.

      Truncation is the API's, not ours. A full digest is rejected.

      Parameters

      • bytes: Uint8Array

      Returns Promise<string>