@colisweb/rescript-toolkit 2.6.0 → 2.6.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@colisweb/rescript-toolkit",
3
- "version": "2.6.0",
3
+ "version": "2.6.1",
4
4
  "scripts": {
5
5
  "clean": "rescript clean",
6
6
  "build": "rescript build",
@@ -62,7 +62,7 @@ module Int = {
62
62
  }
63
63
 
64
64
  module Boolean = {
65
- let encoder = value => value->Decco.intToJson
65
+ let encoder = value => value->Decco.boolToJson
66
66
 
67
67
  let decoder = json =>
68
68
  switch Js.Json.classify(json) {
@@ -83,7 +83,7 @@ module Boolean = {
83
83
  let codec = (encoder, decoder)
84
84
 
85
85
  @decco
86
- type t = @decco.codec(codec) int
86
+ type t = @decco.codec(codec) bool
87
87
  }
88
88
 
89
89
  module Float = {