@dxos/effect 0.9.0 → 0.9.1-staging.ee54ba693a

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": "@dxos/effect",
3
- "version": "0.9.0",
3
+ "version": "0.9.1-staging.ee54ba693a",
4
4
  "description": "Effect utils.",
5
5
  "homepage": "https://dxos.org",
6
6
  "bugs": "https://github.com/dxos/dxos/issues",
@@ -35,27 +35,27 @@
35
35
  "@effect/opentelemetry": "^0.63.0",
36
36
  "@opentelemetry/api": "^1.9.1",
37
37
  "jsonpath-plus": "^10.3.0",
38
- "@dxos/context": "0.9.0",
39
- "@dxos/invariant": "0.9.0",
40
- "@dxos/node-std": "0.9.0",
41
- "@dxos/util": "0.9.0"
38
+ "@dxos/context": "0.9.1-staging.ee54ba693a",
39
+ "@dxos/invariant": "0.9.1-staging.ee54ba693a",
40
+ "@dxos/node-std": "0.9.1-staging.ee54ba693a",
41
+ "@dxos/util": "0.9.1-staging.ee54ba693a"
42
42
  },
43
43
  "devDependencies": {
44
- "@effect/platform": "0.96.1",
44
+ "@effect/platform": "0.96.2",
45
45
  "@effect/platform-browser": "0.76.0",
46
- "@opentelemetry/api-logs": "^0.218.0",
47
- "@opentelemetry/resources": "^2.7.1",
48
- "@opentelemetry/sdk-logs": "^0.218.0",
49
- "@opentelemetry/sdk-node": "^0.218.0",
50
- "@opentelemetry/sdk-trace-node": "^2.7.1",
46
+ "@opentelemetry/api-logs": "^0.219.0",
47
+ "@opentelemetry/resources": "^2.8.0",
48
+ "@opentelemetry/sdk-logs": "^0.219.0",
49
+ "@opentelemetry/sdk-node": "^0.219.0",
50
+ "@opentelemetry/sdk-trace-node": "^2.8.0",
51
51
  "@opentelemetry/semantic-conventions": "^1.41.1",
52
- "effect": "3.21.3",
53
- "@dxos/log": "0.9.0"
52
+ "effect": "3.21.4",
53
+ "@dxos/log": "0.9.1-staging.ee54ba693a"
54
54
  },
55
55
  "peerDependencies": {
56
- "@effect/platform": "0.96.1",
56
+ "@effect/platform": "0.96.2",
57
57
  "@effect/platform-browser": "0.76.0",
58
- "effect": "3.21.3"
58
+ "effect": "3.21.4"
59
59
  },
60
60
  "publishConfig": {
61
61
  "access": "public"
package/src/EffectEx.ts CHANGED
@@ -8,11 +8,11 @@ export { asyncTaskTaggingLayer } from './internal/async-task-tagging';
8
8
  export { contextFromScope } from './internal/context';
9
9
  export {
10
10
  causeToError,
11
- throwCause,
12
- unwrapExit,
11
+ promiseWithCauseCapture,
13
12
  runAndForwardErrors,
14
- runPromise,
15
13
  runInRuntime,
16
- promiseWithCauseCapture,
14
+ runPromise,
15
+ throwCause,
16
+ unwrapExit,
17
17
  } from './internal/errors';
18
18
  export { acquireReleaseResource } from './internal/resource';
package/src/SchemaEx.ts CHANGED
@@ -5,42 +5,42 @@
5
5
  // @import-as-namespace
6
6
 
7
7
  export {
8
- getBaseType,
9
- type SchemaProperty,
10
- getProperties,
11
- VisitResult,
12
8
  type Path,
9
+ type SchemaProperty,
13
10
  type TestFn,
14
11
  type VisitorFn,
15
- visit,
12
+ VisitResult,
13
+ findAnnotation,
16
14
  findNode,
17
15
  findProperty,
18
16
  getAnnotation,
19
- findAnnotation,
20
- isOption,
21
- isLiteralUnion,
17
+ getArrayElementType,
18
+ getBaseType,
19
+ getDiscriminatedType,
20
+ getDiscriminatingProps,
22
21
  getLiteralValues,
22
+ getProperties,
23
23
  isArrayType,
24
- getArrayElementType,
25
- isTupleType,
26
24
  isDiscriminatedUnion,
27
- getDiscriminatingProps,
28
- getDiscriminatedType,
25
+ isLiteralUnion,
29
26
  isNestedType,
27
+ isOption,
28
+ isTupleType,
30
29
  mapAst,
31
30
  unwrapOptional,
31
+ visit,
32
32
  } from './internal/ast';
33
33
 
34
34
  export {
35
35
  JsonPath,
36
36
  JsonProp,
37
- isJsonPath,
38
37
  createJsonPath,
39
38
  fromEffectValidationPath,
40
- splitJsonPath,
41
39
  getField,
42
40
  getValue,
41
+ isJsonPath,
43
42
  setValue,
43
+ splitJsonPath,
44
44
  } from './internal/json-path';
45
45
 
46
- export { getParamKeyAnnotation, ParamKeyAnnotation, UrlParser } from './internal/url';
46
+ export { ParamKeyAnnotation, UrlParser, getParamKeyAnnotation } from './internal/url';
package/src/index.ts CHANGED
@@ -3,7 +3,6 @@
3
3
  //
4
4
 
5
5
  export * from './atom-kvs';
6
- export * from './types';
7
6
  export * as DynamicRuntime from './dynamic-runtime';
8
7
  export * as EffectEx from './EffectEx';
9
8
  export * as Performance from './Performance';
@@ -1,8 +0,0 @@
1
- /**
2
- * Flat intersection of up to five types. Behaves like `A & B & C & ...` but
3
- * formats as a comma-separated tuple, which fits multi-line layouts more
4
- * cleanly than chained `&` operators. Unused slots default to `unknown`,
5
- * which is inert under intersection (`T & unknown = T`).
6
- */
7
- export type Merge<A, B = unknown, C = unknown, D = unknown, E = unknown> = A & B & C & D & E;
8
- //# sourceMappingURL=types.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/types.ts"],"names":[],"mappings":"AAIA;;;;;GAKG;AACH,MAAM,MAAM,KAAK,CAAC,CAAC,EAAE,CAAC,GAAG,OAAO,EAAE,CAAC,GAAG,OAAO,EAAE,CAAC,GAAG,OAAO,EAAE,CAAC,GAAG,OAAO,IAAI,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC"}
package/src/types.ts DELETED
@@ -1,11 +0,0 @@
1
- //
2
- // Copyright 2026 DXOS.org
3
- //
4
-
5
- /**
6
- * Flat intersection of up to five types. Behaves like `A & B & C & ...` but
7
- * formats as a comma-separated tuple, which fits multi-line layouts more
8
- * cleanly than chained `&` operators. Unused slots default to `unknown`,
9
- * which is inert under intersection (`T & unknown = T`).
10
- */
11
- export type Merge<A, B = unknown, C = unknown, D = unknown, E = unknown> = A & B & C & D & E;