ProofKit

Custom Fetch Handlers

You can provide custom fetch handlers for testing or custom networking

const customFetch = async (url, options) => {
  console.log("Fetching:", url);
  return fetch(url, options);
};

const result = await db.from("users").list().execute({
  fetchHandler: customFetch,
});