Skip to content
This repository has been archived by the owner on Sep 6, 2022. It is now read-only.

Commit

Permalink
Update dependencies (#18)
Browse files Browse the repository at this point in the history
* Update io-ts to 2.0 and make fp-ts and io-ts peer dependencies.
* Local version of io-ts-reporters until new version is published that supports fp-ts 2.0.
  • Loading branch information
emilklasson authored Jul 26, 2019
1 parent b833972 commit d0578b8
Show file tree
Hide file tree
Showing 14 changed files with 107 additions and 316 deletions.
7 changes: 4 additions & 3 deletions dist/src/decoder.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/src/decoder.js.map

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

3 changes: 3 additions & 0 deletions dist/src/io-ts-reporters.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import * as t from "io-ts";
export declare const formatValidationError: (error: t.ValidationError) => import("fp-ts/lib/Option").Option<string>;
export declare const reporter: <T>(validation: import("fp-ts/lib/Either").Either<t.Errors, T>) => string[];
22 changes: 22 additions & 0 deletions dist/src/io-ts-reporters.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/src/io-ts-reporters.js.map

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

1 change: 1 addition & 0 deletions dist/src/mq.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@ export declare const type: <P extends t.Props>(props: P, name?: string | undefin
export declare const events: <T, C = any, O = T>(desc: _events.Events<T, C, O>) => (options: any) => (req: import("./request").Request) => Promise<void>;
export declare const resource: <T, U = unknown, C = any, TO = T, UO = U>(desc: _resource.Resource<T, U, C, TO, UO>) => (options: any) => (req: import("./request").Request) => Promise<void>;
export declare const service: <T = unknown, C = any, O = T>(desc: _service.Service<T, C, O>) => (options: any) => (req: import("./request").Request) => Promise<void>;
export declare const reporter: <T>(validation: import("fp-ts/lib/Either").Either<t.Errors, T>) => string[];
2 changes: 2 additions & 0 deletions dist/src/mq.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/src/mq.js.map

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

289 changes: 0 additions & 289 deletions dist/src/queue.js

This file was deleted.

Loading

0 comments on commit d0578b8

Please sign in to comment.