@dxos/functions 0.6.4 → 0.6.5-staging.42fccfe

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.
@@ -71,9 +71,9 @@ declare const FunctionTrigger_base: import("@dxos/echo-schema").AbstractTypedObj
71
71
  type: "timer";
72
72
  cron: string;
73
73
  } | {
74
- port?: number | undefined;
75
74
  type: "webhook";
76
75
  method: string;
76
+ port?: number | undefined;
77
77
  } | {
78
78
  type: "websocket";
79
79
  url: string;
@@ -140,9 +140,9 @@ export declare const FunctionManifestSchema: S.Struct<{
140
140
  type: "timer";
141
141
  cron: string;
142
142
  } | {
143
- port?: number | undefined;
144
143
  type: "webhook";
145
144
  method: string;
145
+ port?: number | undefined;
146
146
  } | {
147
147
  type: "websocket";
148
148
  url: string;
@@ -179,9 +179,9 @@ export declare const FunctionManifestSchema: S.Struct<{
179
179
  type: "timer";
180
180
  cron: string;
181
181
  } | {
182
- port?: number | undefined;
183
182
  type: "webhook";
184
183
  method: string;
184
+ port?: number | undefined;
185
185
  } | {
186
186
  type: "websocket";
187
187
  url: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dxos/functions",
3
- "version": "0.6.4",
3
+ "version": "0.6.5-staging.42fccfe",
4
4
  "description": "Functions API and runtime.",
5
5
  "homepage": "https://dxos.org",
6
6
  "bugs": "https://github.com/dxos/dxos/issues",
@@ -9,31 +9,34 @@
9
9
  "exports": {
10
10
  ".": {
11
11
  "browser": "./dist/lib/browser/index.mjs",
12
- "node": "./dist/lib/node/index.cjs",
13
- "default": "./dist/lib/node/index.cjs",
12
+ "node": {
13
+ "default": "./dist/lib/node/index.cjs"
14
+ },
14
15
  "types": "./dist/types/src/index.d.ts"
15
16
  },
17
+ "./testing": {
18
+ "browser": "./dist/lib/browser/testing/index.mjs",
19
+ "node": {
20
+ "default": "./dist/lib/node/testing/index.cjs"
21
+ },
22
+ "types": "./dist/types/src/testing/index.d.ts"
23
+ },
16
24
  "./types": {
17
25
  "browser": "./dist/lib/browser/types.mjs",
18
- "node": "./dist/lib/node/types.cjs",
19
- "default": "./dist/lib/node/types.cjs",
26
+ "node": {
27
+ "default": "./dist/lib/node/types.cjs"
28
+ },
20
29
  "types": "./dist/types/src/types.d.ts"
21
- },
22
- "./testing": {
23
- "import": "./dist/lib/browser/testing/index.mjs",
24
- "require": "./dist/lib/node/testing/index.cjs",
25
- "node": "./dist/lib/node/testing/index.cjs",
26
- "types": "./dist/types/src/testing/index.d.ts"
27
30
  }
28
31
  },
29
32
  "types": "dist/types/src/index.d.ts",
30
33
  "typesVersions": {
31
34
  "*": {
32
- "types": [
33
- "dist/types/src/types.d.ts"
34
- ],
35
35
  "testing": [
36
36
  "dist/types/src/testing/index.d.ts"
37
+ ],
38
+ "types": [
39
+ "dist/types/src/types.d.ts"
37
40
  ]
38
41
  }
39
42
  },
@@ -49,24 +52,24 @@
49
52
  "express": "^4.19.2",
50
53
  "get-port-please": "^3.1.1",
51
54
  "ws": "^8.14.2",
52
- "@braneframe/types": "0.6.4",
53
- "@dxos/async": "0.6.4",
54
- "@dxos/client": "0.6.4",
55
- "@dxos/context": "0.6.4",
56
- "@dxos/echo-db": "0.6.4",
57
- "@dxos/echo-protocol": "0.6.4",
58
- "@dxos/echo-schema": "0.6.4",
59
- "@dxos/keys": "0.6.4",
60
- "@dxos/invariant": "0.6.4",
61
- "@dxos/log": "0.6.4",
62
- "@dxos/protocols": "0.6.4",
63
- "@dxos/node-std": "0.6.4",
64
- "@dxos/util": "0.6.4"
55
+ "@braneframe/types": "0.6.5-staging.42fccfe",
56
+ "@dxos/context": "0.6.5-staging.42fccfe",
57
+ "@dxos/async": "0.6.5-staging.42fccfe",
58
+ "@dxos/client": "0.6.5-staging.42fccfe",
59
+ "@dxos/echo-schema": "0.6.5-staging.42fccfe",
60
+ "@dxos/echo-db": "0.6.5-staging.42fccfe",
61
+ "@dxos/echo-protocol": "0.6.5-staging.42fccfe",
62
+ "@dxos/keys": "0.6.5-staging.42fccfe",
63
+ "@dxos/invariant": "0.6.5-staging.42fccfe",
64
+ "@dxos/log": "0.6.5-staging.42fccfe",
65
+ "@dxos/node-std": "0.6.5-staging.42fccfe",
66
+ "@dxos/protocols": "0.6.5-staging.42fccfe",
67
+ "@dxos/util": "0.6.5-staging.42fccfe"
65
68
  },
66
69
  "devDependencies": {
67
70
  "@types/express": "^4.17.17",
68
71
  "@types/ws": "^7.4.0",
69
- "@dxos/agent": "0.6.4"
72
+ "@dxos/agent": "0.6.5-staging.42fccfe"
70
73
  },
71
74
  "publishConfig": {
72
75
  "access": "public"