Skip to content
This repository has been archived by the owner on Jul 15, 2024. It is now read-only.

Commit

Permalink
Release 4.2.1. Gotta remember to build.
Browse files Browse the repository at this point in the history
  • Loading branch information
jeff committed Sep 15, 2017
1 parent 8304418 commit 9b07a25
Show file tree
Hide file tree
Showing 8 changed files with 72 additions and 4 deletions.
14 changes: 14 additions & 0 deletions dist/HealthCheckRoute.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
import * as cassava from "cassava";
export declare class HealthCheckRoute implements cassava.routes.Route {
private readonly path;
private readonly checks;
/**
* @param path Exact path to respond on.
* @param checks map of check name to function that returns a Promise of check result
*/
constructor(path?: string, checks?: {
[key: string]: () => Promise<string>;
});
matches(evt: cassava.RouterEvent): boolean;
handle(evt: cassava.RouterEvent): Promise<cassava.RouterResponse>;
}
48 changes: 48 additions & 0 deletions dist/HealthCheckRoute.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions dist/HealthCheckRoute.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion dist/index.d.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import * as jwtauth from "./jwtauth";
import * as secureConfig from "./secureConfig";
export { jwtauth, secureConfig };
import { HealthCheckRoute } from "./HealthCheckRoute";
export { jwtauth, secureConfig, HealthCheckRoute };
2 changes: 2 additions & 0 deletions dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/index.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "giftbit-cassava-routes",
"version": "4.2.0",
"version": "4.2.1",
"description": "Private Giftbit routes for use with Cassava.",
"main": "dist/index.js",
"types": "dist/index.d.ts",
Expand Down
4 changes: 3 additions & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import * as jwtauth from "./jwtauth";
import * as secureConfig from "./secureConfig";
export {jwtauth, secureConfig};
import {HealthCheckRoute} from "./HealthCheckRoute";

export {jwtauth, secureConfig, HealthCheckRoute};

0 comments on commit 9b07a25

Please sign in to comment.