@unthrown/boxed 1.1.0 → 2.0.0
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/docs/index.md +4 -4
- package/package.json +2 -2
package/docs/index.md
CHANGED
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
function fromBoxed<T, E>(result): Result<T, E>;
|
|
13
13
|
```
|
|
14
14
|
|
|
15
|
-
Defined in: [index.ts:55](https://github.com/btravstack/unthrown/blob/
|
|
15
|
+
Defined in: [index.ts:55](https://github.com/btravstack/unthrown/blob/9964bddff12c79925119bbfc5de67104bbcfc533/packages/boxed/src/index.ts#L55)
|
|
16
16
|
|
|
17
17
|
Convert a Boxed `Result` into a `Result`.
|
|
18
18
|
|
|
@@ -46,7 +46,7 @@ the result is never a `Defect`.
|
|
|
46
46
|
function fromBoxedFuture<T, E>(future): AsyncResult<T, E>;
|
|
47
47
|
```
|
|
48
48
|
|
|
49
|
-
Defined in: [index.ts:99](https://github.com/btravstack/unthrown/blob/
|
|
49
|
+
Defined in: [index.ts:99](https://github.com/btravstack/unthrown/blob/9964bddff12c79925119bbfc5de67104bbcfc533/packages/boxed/src/index.ts#L99)
|
|
50
50
|
|
|
51
51
|
Convert a Boxed `Future<Result>` into an `AsyncResult`.
|
|
52
52
|
|
|
@@ -81,7 +81,7 @@ returned `AsyncResult` never throws when awaited.
|
|
|
81
81
|
function toBoxed<T, E>(result, onDefect): Result<T, E>;
|
|
82
82
|
```
|
|
83
83
|
|
|
84
|
-
Defined in: [index.ts:33](https://github.com/btravstack/unthrown/blob/
|
|
84
|
+
Defined in: [index.ts:33](https://github.com/btravstack/unthrown/blob/9964bddff12c79925119bbfc5de67104bbcfc533/packages/boxed/src/index.ts#L33)
|
|
85
85
|
|
|
86
86
|
Convert a `Result` into a Boxed `Result`, triaging any Defect.
|
|
87
87
|
|
|
@@ -117,7 +117,7 @@ Boxed's `Result` has no Defect channel, so `onDefect` **must** fold a
|
|
|
117
117
|
function toBoxedFuture<T, E>(asyncResult, onDefect): Future<Result<T, E>>;
|
|
118
118
|
```
|
|
119
119
|
|
|
120
|
-
Defined in: [index.ts:76](https://github.com/btravstack/unthrown/blob/
|
|
120
|
+
Defined in: [index.ts:76](https://github.com/btravstack/unthrown/blob/9964bddff12c79925119bbfc5de67104bbcfc533/packages/boxed/src/index.ts#L76)
|
|
121
121
|
|
|
122
122
|
Convert an `AsyncResult` into a Boxed `Future<Result>`, triaging any
|
|
123
123
|
Defect.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@unthrown/boxed",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.0",
|
|
4
4
|
"description": "Boxed interop for unthrown",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"boxed",
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"./package.json": "./package.json"
|
|
45
45
|
},
|
|
46
46
|
"dependencies": {
|
|
47
|
-
"unthrown": "
|
|
47
|
+
"unthrown": "2.0.0"
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
50
50
|
"@bloodyowl/boxed": "3.4.0",
|