Skip to content

Commit

Permalink
chore: build dist for release
Browse files Browse the repository at this point in the history
  • Loading branch information
jeanlescure committed Oct 14, 2021
1 parent 52e99f8 commit 9bbb746
Show file tree
Hide file tree
Showing 4 changed files with 43 additions and 10 deletions.
16 changes: 12 additions & 4 deletions dist/mono-context.d.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
export { version } from '../package.json';
export interface MonoContextState {
counts: {
[k: string]: number;
Expand All @@ -11,17 +12,24 @@ export default class MonoContext {
private static _stateCreatedAt;
private static _stateUpdatedAt;
private static _counts;
private static _state;
static version: string;
static _warningMessage: string;
static _state: {
[k: string]: any;
};
static count: (key: string) => number;
static getCount: (key: string) => number;
static resetCount: (key: string) => void;
static resetAllCounts: () => void;
static setState: <T extends MonoContextState>(newState: Partial<T>) => MonoContextState;
static getState: <T extends MonoContextState>() => T;
static getStateValue: (key: string) => any;
static resetState: () => void;
count: (key: string) => number;
getCount: (key: string) => number;
resetCount: (key: string) => void;
resetAllCounts: () => void;
setState: <T extends MonoContextState>(newState: Partial<T>) => MonoContextState;
getState: <T extends MonoContextState>() => T;
getCount: (key: string) => number;
getStateValue: (key: string) => any;
resetState: () => void;
constructor(warningOff?: boolean);
}
31 changes: 28 additions & 3 deletions dist/mono-context.js

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

4 changes: 2 additions & 2 deletions dist/mono-context.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 dist/mono-context.min.js

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

0 comments on commit 9bbb746

Please sign in to comment.