@dxos/functions-testing 0.8.4-main.c85a9c8dae → 0.8.4-main.d05673bc65
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/functions-testing",
|
|
3
|
-
"version": "0.8.4-main.
|
|
3
|
+
"version": "0.8.4-main.d05673bc65",
|
|
4
4
|
"description": "Functions tests",
|
|
5
5
|
"homepage": "https://dxos.org",
|
|
6
6
|
"bugs": "https://github.com/dxos/dxos/issues",
|
|
@@ -38,16 +38,16 @@
|
|
|
38
38
|
],
|
|
39
39
|
"dependencies": {
|
|
40
40
|
"@effect/platform": "0.94.4",
|
|
41
|
-
"@dxos/async": "0.8.4-main.
|
|
42
|
-
"@dxos/
|
|
43
|
-
"@dxos/
|
|
44
|
-
"@dxos/
|
|
45
|
-
"@dxos/
|
|
46
|
-
"@dxos/
|
|
47
|
-
"@dxos/
|
|
48
|
-
"@dxos/
|
|
49
|
-
"@dxos/
|
|
50
|
-
"@dxos/
|
|
41
|
+
"@dxos/async": "0.8.4-main.d05673bc65",
|
|
42
|
+
"@dxos/client": "0.8.4-main.d05673bc65",
|
|
43
|
+
"@dxos/config": "0.8.4-main.d05673bc65",
|
|
44
|
+
"@dxos/functions": "0.8.4-main.d05673bc65",
|
|
45
|
+
"@dxos/functions-runtime": "0.8.4-main.d05673bc65",
|
|
46
|
+
"@dxos/log": "0.8.4-main.d05673bc65",
|
|
47
|
+
"@dxos/invariant": "0.8.4-main.d05673bc65",
|
|
48
|
+
"@dxos/echo": "0.8.4-main.d05673bc65",
|
|
49
|
+
"@dxos/protocols": "0.8.4-main.d05673bc65",
|
|
50
|
+
"@dxos/functions-runtime-cloudflare": "0.8.4-main.d05673bc65"
|
|
51
51
|
},
|
|
52
52
|
"publishConfig": {
|
|
53
53
|
"access": "public"
|
|
@@ -13,7 +13,7 @@ import * as Schema from 'effect/Schema';
|
|
|
13
13
|
import { defineFunction } from '@dxos/functions';
|
|
14
14
|
|
|
15
15
|
export default defineFunction({
|
|
16
|
-
key: 'dxos.
|
|
16
|
+
key: 'org.dxos.script.forex-effect',
|
|
17
17
|
name: 'Forex Effect',
|
|
18
18
|
description: 'Returns the exchange rate between two currencies.',
|
|
19
19
|
|
package/src/testing/util.ts
CHANGED
|
@@ -41,7 +41,7 @@ export const setup = async (config: Config) => {
|
|
|
41
41
|
};
|
|
42
42
|
|
|
43
43
|
export const sync = async (space: Space) => {
|
|
44
|
-
await space.db.flush(
|
|
44
|
+
await space.db.flush();
|
|
45
45
|
await space.internal.syncToEdge({
|
|
46
46
|
onProgress: (state) =>
|
|
47
47
|
console.log(state ? `${state.unsyncedDocumentCount} documents syncing...` : 'connecting to edge...'),
|