@effect/platform-browser 0.7.7 → 0.7.8
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/Error/dist/effect-platform-browser-Error.cjs.dev.js +0 -8
- package/Error/dist/effect-platform-browser-Error.cjs.mjs +1 -3
- package/Error/dist/effect-platform-browser-Error.cjs.prod.js +0 -8
- package/Error/dist/effect-platform-browser-Error.esm.js +1 -1
- package/dist/{Error-0d1e7da7.cjs.dev.js → Error-494eda6c.cjs.dev.js} +1 -3
- package/dist/Error-5a45d87b.esm.js +14 -0
- package/dist/{Error-104397ab.cjs.prod.js → Error-8409e00b.cjs.prod.js} +1 -3
- package/dist/declarations/src/Error.d.ts +7 -6
- package/dist/declarations/src/Error.d.ts.map +1 -1
- package/dist/effect-platform-browser.cjs.dev.js +1 -1
- package/dist/effect-platform-browser.cjs.prod.js +1 -1
- package/dist/effect-platform-browser.esm.js +1 -1
- package/package.json +3 -3
- package/src/Error.ts +9 -6
- package/dist/Error-0fa4dba0.esm.js +0 -16
|
@@ -10,10 +10,6 @@ Object.defineProperty(exports, 'BadArgument', {
|
|
|
10
10
|
enumerable: true,
|
|
11
11
|
get: function () { return PlatformError.BadArgument; }
|
|
12
12
|
});
|
|
13
|
-
Object.defineProperty(exports, 'PlatformError', {
|
|
14
|
-
enumerable: true,
|
|
15
|
-
get: function () { return PlatformError.PlatformError; }
|
|
16
|
-
});
|
|
17
13
|
Object.defineProperty(exports, 'PlatformErrorTypeId', {
|
|
18
14
|
enumerable: true,
|
|
19
15
|
get: function () { return PlatformError.PlatformErrorTypeId; }
|
|
@@ -22,7 +18,3 @@ Object.defineProperty(exports, 'SystemError', {
|
|
|
22
18
|
enumerable: true,
|
|
23
19
|
get: function () { return PlatformError.SystemError; }
|
|
24
20
|
});
|
|
25
|
-
Object.defineProperty(exports, 'SystemErrorReason', {
|
|
26
|
-
enumerable: true,
|
|
27
|
-
get: function () { return PlatformError.SystemErrorReason; }
|
|
28
|
-
});
|
|
@@ -10,10 +10,6 @@ Object.defineProperty(exports, 'BadArgument', {
|
|
|
10
10
|
enumerable: true,
|
|
11
11
|
get: function () { return PlatformError.BadArgument; }
|
|
12
12
|
});
|
|
13
|
-
Object.defineProperty(exports, 'PlatformError', {
|
|
14
|
-
enumerable: true,
|
|
15
|
-
get: function () { return PlatformError.PlatformError; }
|
|
16
|
-
});
|
|
17
13
|
Object.defineProperty(exports, 'PlatformErrorTypeId', {
|
|
18
14
|
enumerable: true,
|
|
19
15
|
get: function () { return PlatformError.PlatformErrorTypeId; }
|
|
@@ -22,7 +18,3 @@ Object.defineProperty(exports, 'SystemError', {
|
|
|
22
18
|
enumerable: true,
|
|
23
19
|
get: function () { return PlatformError.SystemError; }
|
|
24
20
|
});
|
|
25
|
-
Object.defineProperty(exports, 'SystemErrorReason', {
|
|
26
|
-
enumerable: true,
|
|
27
|
-
get: function () { return PlatformError.SystemErrorReason; }
|
|
28
|
-
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { BadArgument,
|
|
1
|
+
export { BadArgument, PlatformErrorTypeId, SystemError } from '@effect/platform/Error';
|
|
@@ -9,10 +9,8 @@ var PlatformError = require('@effect/platform/Error');
|
|
|
9
9
|
var Error = /*#__PURE__*/Object.freeze({
|
|
10
10
|
__proto__: null,
|
|
11
11
|
BadArgument: PlatformError.BadArgument,
|
|
12
|
-
PlatformError: PlatformError.PlatformError,
|
|
13
12
|
PlatformErrorTypeId: PlatformError.PlatformErrorTypeId,
|
|
14
|
-
SystemError: PlatformError.SystemError
|
|
15
|
-
SystemErrorReason: PlatformError.SystemErrorReason
|
|
13
|
+
SystemError: PlatformError.SystemError
|
|
16
14
|
});
|
|
17
15
|
|
|
18
16
|
exports.Error = Error;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { BadArgument, PlatformErrorTypeId, SystemError } from '@effect/platform/Error';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* @since 1.0.0
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
var Error = /*#__PURE__*/Object.freeze({
|
|
8
|
+
__proto__: null,
|
|
9
|
+
BadArgument: BadArgument,
|
|
10
|
+
PlatformErrorTypeId: PlatformErrorTypeId,
|
|
11
|
+
SystemError: SystemError
|
|
12
|
+
});
|
|
13
|
+
|
|
14
|
+
export { Error as E };
|
|
@@ -9,10 +9,8 @@ var PlatformError = require('@effect/platform/Error');
|
|
|
9
9
|
var Error = /*#__PURE__*/Object.freeze({
|
|
10
10
|
__proto__: null,
|
|
11
11
|
BadArgument: PlatformError.BadArgument,
|
|
12
|
-
PlatformError: PlatformError.PlatformError,
|
|
13
12
|
PlatformErrorTypeId: PlatformError.PlatformErrorTypeId,
|
|
14
|
-
SystemError: PlatformError.SystemError
|
|
15
|
-
SystemErrorReason: PlatformError.SystemErrorReason
|
|
13
|
+
SystemError: PlatformError.SystemError
|
|
16
14
|
});
|
|
17
15
|
|
|
18
16
|
exports.Error = Error;
|
|
@@ -7,11 +7,6 @@ export {
|
|
|
7
7
|
* @category error
|
|
8
8
|
*/
|
|
9
9
|
BadArgument,
|
|
10
|
-
/**
|
|
11
|
-
* @since 1.0.0
|
|
12
|
-
* @category error
|
|
13
|
-
*/
|
|
14
|
-
PlatformError,
|
|
15
10
|
/**
|
|
16
11
|
* @since 1.0.0
|
|
17
12
|
* @category type id
|
|
@@ -21,7 +16,13 @@ PlatformErrorTypeId,
|
|
|
21
16
|
* @since 1.0.0
|
|
22
17
|
* @category error
|
|
23
18
|
*/
|
|
24
|
-
SystemError
|
|
19
|
+
SystemError } from "@effect/platform/Error";
|
|
20
|
+
export type {
|
|
21
|
+
/**
|
|
22
|
+
* @since 1.0.0
|
|
23
|
+
* @category model
|
|
24
|
+
*/
|
|
25
|
+
PlatformError,
|
|
25
26
|
/**
|
|
26
27
|
* @since 1.0.0
|
|
27
28
|
* @category model
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Error.d.ts","sourceRoot":"../../../src","sources":["Error.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO;AACL;;;GAGG;AACH,WAAW;AACX;;;GAGG;AACH,
|
|
1
|
+
{"version":3,"file":"Error.d.ts","sourceRoot":"../../../src","sources":["Error.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO;AACL;;;GAGG;AACH,WAAW;AACX;;;GAGG;AACH,mBAAmB;AACnB;;;GAGG;AACH,WAAW,EACZ,MAAM,wBAAwB,CAAA;AAE/B,YAAY;AACV;;;GAGG;AACH,aAAa;AACb;;;GAGG;AACH,iBAAiB,EAClB,MAAM,wBAAwB,CAAA"}
|
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
var Clipboard_dist_effectPlatformBrowserClipboard = require('./Clipboard-13e91d33.cjs.dev.js');
|
|
6
6
|
var Effectify_dist_effectPlatformBrowserEffectify = require('./Effectify-bb2be397.cjs.dev.js');
|
|
7
|
-
var Error_dist_effectPlatformBrowserError = require('./Error-
|
|
7
|
+
var Error_dist_effectPlatformBrowserError = require('./Error-494eda6c.cjs.dev.js');
|
|
8
8
|
var HttpClient_dist_effectPlatformBrowserHttpClient = require('./HttpClient-55040ca2.cjs.dev.js');
|
|
9
9
|
var KeyValueStore_dist_effectPlatformBrowserKeyValueStore = require('./KeyValueStore-02197867.cjs.dev.js');
|
|
10
10
|
var Path_dist_effectPlatformBrowserPath = require('./Path-a9ecae35.cjs.dev.js');
|
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
var Clipboard_dist_effectPlatformBrowserClipboard = require('./Clipboard-d7d71495.cjs.prod.js');
|
|
6
6
|
var Effectify_dist_effectPlatformBrowserEffectify = require('./Effectify-835ab94e.cjs.prod.js');
|
|
7
|
-
var Error_dist_effectPlatformBrowserError = require('./Error-
|
|
7
|
+
var Error_dist_effectPlatformBrowserError = require('./Error-8409e00b.cjs.prod.js');
|
|
8
8
|
var HttpClient_dist_effectPlatformBrowserHttpClient = require('./HttpClient-00aa1aaf.cjs.prod.js');
|
|
9
9
|
var KeyValueStore_dist_effectPlatformBrowserKeyValueStore = require('./KeyValueStore-4b4d9a2f.cjs.prod.js');
|
|
10
10
|
var Path_dist_effectPlatformBrowserPath = require('./Path-b3260065.cjs.prod.js');
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export { C as Clipboard } from './Clipboard-f4a0489a.esm.js';
|
|
2
2
|
export { E as Effectify } from './Effectify-632740e0.esm.js';
|
|
3
|
-
export { E as Error } from './Error-
|
|
3
|
+
export { E as Error } from './Error-5a45d87b.esm.js';
|
|
4
4
|
export { H as HttpClient } from './HttpClient-654b6b51.esm.js';
|
|
5
5
|
export { K as KeyValueStore } from './KeyValueStore-db2cee39.esm.js';
|
|
6
6
|
export { P as Path } from './Path-61602feb.esm.js';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@effect/platform-browser",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.8",
|
|
4
4
|
"description": "Unified interfaces for common platform-specific services",
|
|
5
5
|
"main": "dist/effect-platform-browser.cjs.js",
|
|
6
6
|
"module": "dist/effect-platform-browser.esm.js",
|
|
@@ -29,11 +29,11 @@
|
|
|
29
29
|
"@effect/platform": "^0.18.7"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
|
-
"effect": "2.0.0-next.
|
|
32
|
+
"effect": "2.0.0-next.44",
|
|
33
33
|
"vitest-localstorage-mock": "^0.0.1"
|
|
34
34
|
},
|
|
35
35
|
"peerDependencies": {
|
|
36
|
-
"effect": "^2.0.0-next.
|
|
36
|
+
"effect": "^2.0.0-next.44"
|
|
37
37
|
},
|
|
38
38
|
"files": [
|
|
39
39
|
"src",
|
package/src/Error.ts
CHANGED
|
@@ -8,11 +8,6 @@ export {
|
|
|
8
8
|
* @category error
|
|
9
9
|
*/
|
|
10
10
|
BadArgument,
|
|
11
|
-
/**
|
|
12
|
-
* @since 1.0.0
|
|
13
|
-
* @category error
|
|
14
|
-
*/
|
|
15
|
-
PlatformError,
|
|
16
11
|
/**
|
|
17
12
|
* @since 1.0.0
|
|
18
13
|
* @category type id
|
|
@@ -22,7 +17,15 @@ export {
|
|
|
22
17
|
* @since 1.0.0
|
|
23
18
|
* @category error
|
|
24
19
|
*/
|
|
25
|
-
SystemError
|
|
20
|
+
SystemError
|
|
21
|
+
} from "@effect/platform/Error"
|
|
22
|
+
|
|
23
|
+
export type {
|
|
24
|
+
/**
|
|
25
|
+
* @since 1.0.0
|
|
26
|
+
* @category model
|
|
27
|
+
*/
|
|
28
|
+
PlatformError,
|
|
26
29
|
/**
|
|
27
30
|
* @since 1.0.0
|
|
28
31
|
* @category model
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { BadArgument, PlatformError, PlatformErrorTypeId, SystemError, SystemErrorReason } from '@effect/platform/Error';
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* @since 1.0.0
|
|
5
|
-
*/
|
|
6
|
-
|
|
7
|
-
var Error = /*#__PURE__*/Object.freeze({
|
|
8
|
-
__proto__: null,
|
|
9
|
-
BadArgument: BadArgument,
|
|
10
|
-
PlatformError: PlatformError,
|
|
11
|
-
PlatformErrorTypeId: PlatformErrorTypeId,
|
|
12
|
-
SystemError: SystemError,
|
|
13
|
-
SystemErrorReason: SystemErrorReason
|
|
14
|
-
});
|
|
15
|
-
|
|
16
|
-
export { Error as E };
|