Practic Passkey - v1.0.0
    Preparing search index...

    Function createBrowser

    • A browser's cookie jar for the endpoint: posts carry the cookies it holds, and keep the ones the answers set, dropping a cookie set with Max-Age=0.

      Parameters

      Returns {
          jar: Map<string, string>;
          send: (
              body: object,
              options?: Omit<PostOptions, "cookie">,
          ) => Promise<Answer>;
      }

      • jar: Map<string, string>
      • send: (body: object, options?: Omit<PostOptions, "cookie">) => Promise<Answer>

        Post an action with the jar's cookies.