@dxos/protocols 0.8.0 → 0.8.1-main.ae460ac

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.
@@ -1,4 +1,4 @@
1
- import { S } from '@dxos/effect';
1
+ import { Schema as S } from 'effect';
2
2
  export declare const InvitationUrl: S.Struct<{
3
3
  accessToken: typeof S.String;
4
4
  deviceInvitationCode: S.SchemaClass<string, string, never>;
@@ -1 +1 @@
1
- {"version":3,"file":"invitation.d.ts","sourceRoot":"","sources":["../../../src/invitation.ts"],"names":[],"mappings":"AAIA,OAAO,EAAsB,CAAC,EAAE,MAAM,cAAc,CAAC;AAGrD,eAAO,MAAM,aAAa;;;;EAIxB,CAAC"}
1
+ {"version":3,"file":"invitation.d.ts","sourceRoot":"","sources":["../../../src/invitation.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,MAAM,IAAI,CAAC,EAAE,MAAM,QAAQ,CAAC;AAKrC,eAAO,MAAM,aAAa;;;;EAIxB,CAAC"}
@@ -1,7 +1,8 @@
1
1
  //
2
2
  // Copyright 2024 DXOS.org
3
3
  //
4
- import { ParamKeyAnnotation, S } from '@dxos/effect';
4
+ import { Schema as S } from 'effect';
5
+ import { ParamKeyAnnotation } from '@dxos/effect';
5
6
  // TODO(burdon): Use uniformly for processing HTTP params.
6
7
  export const InvitationUrl = S.Struct({
7
8
  accessToken: S.String, // TODO(burdon): Remove.
@@ -1 +1 @@
1
- {"version":3,"file":"invitation.js","sourceRoot":"","sources":["../../../src/invitation.ts"],"names":[],"mappings":"AAAA,EAAE;AACF,0BAA0B;AAC1B,EAAE;AAEF,OAAO,EAAE,kBAAkB,EAAE,CAAC,EAAE,MAAM,cAAc,CAAC;AAErD,0DAA0D;AAC1D,MAAM,CAAC,MAAM,aAAa,GAAG,CAAC,CAAC,MAAM,CAAC;IACpC,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE,wBAAwB;IAC/C,oBAAoB,EAAE,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,kBAAkB,CAAC,EAAE,GAAG,EAAE,sBAAsB,EAAE,CAAC,CAAC;IACxF,mBAAmB,EAAE,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,kBAAkB,CAAC,EAAE,GAAG,EAAE,qBAAqB,EAAE,CAAC,CAAC;CACvF,CAAC,CAAC"}
1
+ {"version":3,"file":"invitation.js","sourceRoot":"","sources":["../../../src/invitation.ts"],"names":[],"mappings":"AAAA,EAAE;AACF,0BAA0B;AAC1B,EAAE;AAEF,OAAO,EAAE,MAAM,IAAI,CAAC,EAAE,MAAM,QAAQ,CAAC;AAErC,OAAO,EAAE,kBAAkB,EAAE,MAAM,cAAc,CAAC;AAElD,0DAA0D;AAC1D,MAAM,CAAC,MAAM,aAAa,GAAG,CAAC,CAAC,MAAM,CAAC;IACpC,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE,wBAAwB;IAC/C,oBAAoB,EAAE,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,kBAAkB,CAAC,EAAE,GAAG,EAAE,sBAAsB,EAAE,CAAC,CAAC;IACxF,mBAAmB,EAAE,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,kBAAkB,CAAC,EAAE,GAAG,EAAE,qBAAqB,EAAE,CAAC,CAAC;CACvF,CAAC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dxos/protocols",
3
- "version": "0.8.0",
3
+ "version": "0.8.1-main.ae460ac",
4
4
  "description": "Protobuf definitions for DXOS protocols.",
5
5
  "homepage": "https://dxos.org",
6
6
  "bugs": "https://github.com/dxos/dxos/issues",
@@ -72,16 +72,20 @@
72
72
  ],
73
73
  "dependencies": {
74
74
  "@bufbuild/protobuf": "^2.1.0",
75
- "@dxos/effect": "0.8.0",
76
- "@dxos/invariant": "0.8.0",
77
- "@dxos/keys": "0.8.0",
78
- "@dxos/timeframe": "0.8.0",
79
- "@dxos/codec-protobuf": "0.8.0",
80
- "@dxos/util": "0.8.0"
75
+ "@dxos/codec-protobuf": "0.8.1-main.ae460ac",
76
+ "@dxos/effect": "0.8.1-main.ae460ac",
77
+ "@dxos/keys": "0.8.1-main.ae460ac",
78
+ "@dxos/invariant": "0.8.1-main.ae460ac",
79
+ "@dxos/timeframe": "0.8.1-main.ae460ac",
80
+ "@dxos/util": "0.8.1-main.ae460ac"
81
81
  },
82
82
  "devDependencies": {
83
83
  "@bufbuild/buf": "^1.43.0",
84
- "@bufbuild/protoc-gen-es": "^2.1.0"
84
+ "@bufbuild/protoc-gen-es": "^2.1.0",
85
+ "effect": "^3.12.3"
86
+ },
87
+ "peerDependencies": {
88
+ "effect": "^3.12.3"
85
89
  },
86
90
  "publishConfig": {
87
91
  "access": "public"
package/src/invitation.ts CHANGED
@@ -2,7 +2,9 @@
2
2
  // Copyright 2024 DXOS.org
3
3
  //
4
4
 
5
- import { ParamKeyAnnotation, S } from '@dxos/effect';
5
+ import { Schema as S } from 'effect';
6
+
7
+ import { ParamKeyAnnotation } from '@dxos/effect';
6
8
 
7
9
  // TODO(burdon): Use uniformly for processing HTTP params.
8
10
  export const InvitationUrl = S.Struct({