@contactlab/appy
Advanced tools
Comparing version 3.0.1 to 3.0.2
# Changelog | ||
## [3.0.2](https://github.com/contactlab/appy/releases/tag/3.0.2) | ||
**Documentation:** | ||
- Fix io-ts integration example in README ([#312](https://github.com/contactlab/appy/issues/312)) | ||
- Add reference to setup for Nodejs ([#311](<(https://github.com/contactlab/appy/issues/311)>)) | ||
## [3.0.1](https://github.com/contactlab/appy/releases/tag/3.0.1) | ||
@@ -4,0 +11,0 @@ |
@@ -1,1 +0,1 @@ | ||
{"name":"@contactlab/appy","version":"3.0.1","description":"A functional wrapper around Fetch API","main":"./index.js","module":"./_es6/index.js","typings":"./index.d.ts","sideEffects":false,"author":"Contactlab","license":"Apache-2.0","homepage":"https://contactlab.github.io/appy","bugs":"https://github.com/contactlab/appy/issues","repository":"contactlab/appy","keywords":["contactlab","appy","fetch","fp","fp-ts","typescript"],"engines":{"node":">= 10.0","npm":">= 6.0"},"peerDependencies":{"fp-ts":"^2.0.5"},"devDependencies":{"@types/fetch-mock":"^7.3.2","@types/jest":"^25.2.3","@types/node":"^12.12.25","cross-fetch":"^3.0.4","docs-ts":"^0.5.1","eslint":"^7.2.0","eslint-config-contactlab":"^5.0.0","eslint-config-prettier":"^6.11.0","fetch-mock":"^9.10.1","fp-ts":"^2.0.5","husky":"^4.2.5","io-ts":"^2.0.1","jest":"^26.0.1","prettier":"^2.0.5","pretty-quick":"^2.0.1","ts-jest":"^26.1.0","ts-node":"^8.10.2","typescript":"^3.8.3"}} | ||
{"name":"@contactlab/appy","version":"3.0.2","description":"A functional wrapper around Fetch API","main":"./index.js","module":"./_es6/index.js","typings":"./index.d.ts","sideEffects":false,"author":"Contactlab","license":"Apache-2.0","homepage":"https://contactlab.github.io/appy","bugs":"https://github.com/contactlab/appy/issues","repository":"contactlab/appy","keywords":["contactlab","appy","fetch","fp","fp-ts","typescript"],"engines":{"node":">= 10.0","npm":">= 6.0"},"peerDependencies":{"fp-ts":"^2.0.5"},"devDependencies":{"@types/fetch-mock":"^7.3.2","@types/jest":"^25.2.3","@types/node":"^12.12.25","cross-fetch":"^3.0.4","docs-ts":"^0.5.1","eslint":"^7.2.0","eslint-config-contactlab":"^5.0.0","eslint-config-prettier":"^6.11.0","fetch-mock":"^9.10.1","fp-ts":"^2.0.5","husky":"^4.2.5","io-ts":"^2.0.1","jest":"^26.0.1","prettier":"^2.0.5","pretty-quick":"^2.0.1","ts-jest":"^26.1.0","ts-node":"^8.10.2","typescript":"^3.8.3"}} |
@@ -177,7 +177,6 @@ # @contactlab/appy | ||
import * as D from 'io-ts/lib/Decoder'; | ||
import { draw } from 'io-ts/lib/Tree'; | ||
import {Decoder, toDecoder} from '@contactlab/appy/combinators/decoder'; | ||
export const fromIots = <A>(d: D.Decoder<A>): Decoder<A> => | ||
toDecoder(d.decode, e => new Error(draw(e)) | ||
toDecoder(d.decode, e => new Error(D.draw(e)) | ||
``` | ||
@@ -189,10 +188,4 @@ | ||
## Contributing | ||
**Be aware that Nodejs lacks of some classes and directives which have to be exposed to the global scope (check out the [tests setup file](https://github.com/contactlab/appy/blob/master/test/_setup.ts)).** | ||
Opening issues is always welcome. | ||
Then, fork the repository or create a new branch, write your code and send a pull request. | ||
This project uses [Prettier](https://prettier.io/) (automatically applied as pre-commit hook), [ESLint](https://eslint.org/) (with [TypeScript integration](https://github.com/typescript-eslint/typescript-eslint)) and [Jest](https://facebook.github.io/jest/en/). | ||
### Publish a new version | ||
@@ -199,0 +192,0 @@ |
74491
202