Versions

  • v8

    5/2/2024
    Open: Version
    Changes from v7 to v8
    +5
    -2
    export function denoServer(handler: (req: Request) => Response | Promise<Response>) {
    return Object.assign(handler, {
    fetch: handler,
    });
    }
    export function denoServer(handler: (req: Request) => Response | Promise<Response>, thisArg?: any) {
    if (thisArg) {
    handler = handler.bind(thisArg);
    }
    return Object.assign(handler, {
    fetch: (req) => handler(req),
    });
    }
  • v7

    5/1/2024
    Open: Version
    Changes from v6 to v7
    +3
    -3
    export function denoServer(handler: (req: Request) => Response | Promise<Response>) {
    Object.assign(handler, {
    fetch: handler
    })
    }
    export function denoServer(handler: (req: Request) => Response | Promise<Response>) {
    return Object.assign(handler, {
    fetch: handler,
    });
    }
  • v6

    5/1/2024
    Open: Version
    Changes from v5 to v6
    +4
    -6
    export function denoServer(handlerFunc: (req: Request) => Response | Promise<Response>) {
    return {
    async fetch(req: Request) {
    return handlerFunc(req);
    },
    };
    }
    export function denoServer(handler: (req: Request) => Response | Promise<Response>) {
    Object.assign(handler, {
    fetch: handler
    })
    }
  • v5

    5/1/2024
    Open: Version
    Changes from v4 to v5
    +7
    -1
    import "https://esm.town/v/pomdtr/auth0?v=4&query=test";
    export function denoServer(handlerFunc: (req: Request) => Response | Promise<Response>) {
    return {
    async fetch(req: Request) {
    return handlerFunc(req);
    },
    };
    }
  • v4

    5/1/2024
    Open: Version
    Changes from v3 to v4
    +1
    -1
    import "https://esm.town/v/pomdtr/auth0?v=1&query=test";
    import "https://esm.town/v/pomdtr/auth0?v=4&query=test";
  • v3

    5/1/2024
    Open: Version
    Changes from v2 to v3
    +1
    -1
    import "https://esm.town/v/pomdtr/auth0?query=test";
    import "https://esm.town/v/pomdtr/auth0?v=1&query=test";
  • v2

    5/1/2024
    Open: Version
    Changes from v1 to v2
    +1
    -1
    import "https://esm.town/v/pomdtr/auth0";
    import "https://esm.town/v/pomdtr/auth0?query=test";
  • v1

    5/1/2024
    Open: Version
    Changes from v0 to v1
    +1
    -0

    import "https://esm.town/v/pomdtr/auth0";
  • v0

    5/1/2024
    Open: Version
    +0
    -0


Updated: May 2, 2024