@effect/platform-browser 4.0.0-beta.73 → 4.0.0-beta.74
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/dist/BrowserHttpClient.d.ts +2 -2
- package/dist/BrowserHttpClient.js +2 -2
- package/dist/BrowserStream.d.ts +2 -2
- package/dist/BrowserStream.js +2 -2
- package/dist/IndexedDb.d.ts +1 -1
- package/dist/IndexedDb.js +1 -1
- package/package.json +3 -3
- package/src/BrowserHttpClient.ts +2 -2
- package/src/BrowserStream.ts +2 -2
- package/src/IndexedDb.ts +1 -1
|
@@ -7,14 +7,14 @@ export {
|
|
|
7
7
|
/**
|
|
8
8
|
* Context reference for the `fetch` implementation used by the fetch-based HTTP client.
|
|
9
9
|
*
|
|
10
|
-
* @category
|
|
10
|
+
* @category fetch
|
|
11
11
|
* @since 4.0.0
|
|
12
12
|
*/
|
|
13
13
|
Fetch,
|
|
14
14
|
/**
|
|
15
15
|
* Layer that provides an `HttpClient` implementation backed by the configured `Fetch` function.
|
|
16
16
|
*
|
|
17
|
-
* @category
|
|
17
|
+
* @category fetch
|
|
18
18
|
* @since 4.0.0
|
|
19
19
|
*/
|
|
20
20
|
layer as layerFetch,
|
|
@@ -53,14 +53,14 @@ export {
|
|
|
53
53
|
/**
|
|
54
54
|
* Context reference for the `fetch` implementation used by the fetch-based HTTP client.
|
|
55
55
|
*
|
|
56
|
-
* @category
|
|
56
|
+
* @category fetch
|
|
57
57
|
* @since 4.0.0
|
|
58
58
|
*/
|
|
59
59
|
Fetch,
|
|
60
60
|
/**
|
|
61
61
|
* Layer that provides an `HttpClient` implementation backed by the configured `Fetch` function.
|
|
62
62
|
*
|
|
63
|
-
* @category
|
|
63
|
+
* @category fetch
|
|
64
64
|
* @since 4.0.0
|
|
65
65
|
*/
|
|
66
66
|
layer as layerFetch,
|
package/dist/BrowserStream.d.ts
CHANGED
|
@@ -48,7 +48,7 @@ import * as Stream from "effect/Stream";
|
|
|
48
48
|
* buffer size by passing an object as the second argument with the `bufferSize`
|
|
49
49
|
* field.
|
|
50
50
|
*
|
|
51
|
-
* @category
|
|
51
|
+
* @category streams
|
|
52
52
|
* @since 4.0.0
|
|
53
53
|
*/
|
|
54
54
|
export declare const fromEventListenerWindow: <K extends keyof WindowEventMap>(type: K, options?: boolean | {
|
|
@@ -66,7 +66,7 @@ export declare const fromEventListenerWindow: <K extends keyof WindowEventMap>(t
|
|
|
66
66
|
* buffer size by passing an object as the second argument with the `bufferSize`
|
|
67
67
|
* field.
|
|
68
68
|
*
|
|
69
|
-
* @category
|
|
69
|
+
* @category streams
|
|
70
70
|
* @since 4.0.0
|
|
71
71
|
*/
|
|
72
72
|
export declare const fromEventListenerDocument: <K extends keyof DocumentEventMap>(type: K, options?: boolean | {
|
package/dist/BrowserStream.js
CHANGED
|
@@ -48,7 +48,7 @@ import * as Stream from "effect/Stream";
|
|
|
48
48
|
* buffer size by passing an object as the second argument with the `bufferSize`
|
|
49
49
|
* field.
|
|
50
50
|
*
|
|
51
|
-
* @category
|
|
51
|
+
* @category streams
|
|
52
52
|
* @since 4.0.0
|
|
53
53
|
*/
|
|
54
54
|
export const fromEventListenerWindow = (type, options) => Stream.fromEventListener(window, type, options);
|
|
@@ -61,7 +61,7 @@ export const fromEventListenerWindow = (type, options) => Stream.fromEventListen
|
|
|
61
61
|
* buffer size by passing an object as the second argument with the `bufferSize`
|
|
62
62
|
* field.
|
|
63
63
|
*
|
|
64
|
-
* @category
|
|
64
|
+
* @category streams
|
|
65
65
|
* @since 4.0.0
|
|
66
66
|
*/
|
|
67
67
|
export const fromEventListenerDocument = (type, options) => Stream.fromEventListener(document, type, options);
|
package/dist/IndexedDb.d.ts
CHANGED
package/dist/IndexedDb.js
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@effect/platform-browser",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "4.0.0-beta.
|
|
4
|
+
"version": "4.0.0-beta.74",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"description": "Platform specific implementations for the browser",
|
|
7
7
|
"homepage": "https://effect.website",
|
|
@@ -45,12 +45,12 @@
|
|
|
45
45
|
"provenance": true
|
|
46
46
|
},
|
|
47
47
|
"peerDependencies": {
|
|
48
|
-
"effect": "^4.0.0-beta.
|
|
48
|
+
"effect": "^4.0.0-beta.74"
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|
|
51
51
|
"mock-xmlhttprequest": "^8.4.1",
|
|
52
52
|
"fake-indexeddb": "^6.2.5",
|
|
53
|
-
"effect": "^4.0.0-beta.
|
|
53
|
+
"effect": "^4.0.0-beta.74"
|
|
54
54
|
},
|
|
55
55
|
"dependencies": {
|
|
56
56
|
"multipasta": "^0.2.7"
|
package/src/BrowserHttpClient.ts
CHANGED
|
@@ -59,14 +59,14 @@ export {
|
|
|
59
59
|
/**
|
|
60
60
|
* Context reference for the `fetch` implementation used by the fetch-based HTTP client.
|
|
61
61
|
*
|
|
62
|
-
* @category
|
|
62
|
+
* @category fetch
|
|
63
63
|
* @since 4.0.0
|
|
64
64
|
*/
|
|
65
65
|
Fetch,
|
|
66
66
|
/**
|
|
67
67
|
* Layer that provides an `HttpClient` implementation backed by the configured `Fetch` function.
|
|
68
68
|
*
|
|
69
|
-
* @category
|
|
69
|
+
* @category fetch
|
|
70
70
|
* @since 4.0.0
|
|
71
71
|
*/
|
|
72
72
|
layer as layerFetch,
|
package/src/BrowserStream.ts
CHANGED
|
@@ -50,7 +50,7 @@ import * as Stream from "effect/Stream"
|
|
|
50
50
|
* buffer size by passing an object as the second argument with the `bufferSize`
|
|
51
51
|
* field.
|
|
52
52
|
*
|
|
53
|
-
* @category
|
|
53
|
+
* @category streams
|
|
54
54
|
* @since 4.0.0
|
|
55
55
|
*/
|
|
56
56
|
export const fromEventListenerWindow = <K extends keyof WindowEventMap>(
|
|
@@ -72,7 +72,7 @@ export const fromEventListenerWindow = <K extends keyof WindowEventMap>(
|
|
|
72
72
|
* buffer size by passing an object as the second argument with the `bufferSize`
|
|
73
73
|
* field.
|
|
74
74
|
*
|
|
75
|
-
* @category
|
|
75
|
+
* @category streams
|
|
76
76
|
* @since 4.0.0
|
|
77
77
|
*/
|
|
78
78
|
export const fromEventListenerDocument = <K extends keyof DocumentEventMap>(
|
package/src/IndexedDb.ts
CHANGED
|
@@ -45,7 +45,7 @@ export interface IndexedDb {
|
|
|
45
45
|
/**
|
|
46
46
|
* Service tag for browser IndexedDB primitives.
|
|
47
47
|
*
|
|
48
|
-
* @category
|
|
48
|
+
* @category services
|
|
49
49
|
* @since 4.0.0
|
|
50
50
|
*/
|
|
51
51
|
export const IndexedDb: Context.Service<IndexedDb, IndexedDb> = Context.Service<IndexedDb, IndexedDb>(TypeId)
|