@powerhousedao/reactor 6.0.0-dev.91 → 6.0.0-dev.92
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/dist/src/index.js +16 -13
- package/package.json +6 -6
package/dist/src/index.js
CHANGED
|
@@ -1,11 +1,15 @@
|
|
|
1
1
|
var __defProp = Object.defineProperty;
|
|
2
|
+
var __returnValue = (v) => v;
|
|
3
|
+
function __exportSetter(name, newValue) {
|
|
4
|
+
this[name] = __returnValue.bind(null, newValue);
|
|
5
|
+
}
|
|
2
6
|
var __export = (target, all) => {
|
|
3
7
|
for (var name in all)
|
|
4
8
|
__defProp(target, name, {
|
|
5
9
|
get: all[name],
|
|
6
10
|
enumerable: true,
|
|
7
11
|
configurable: true,
|
|
8
|
-
set: (
|
|
12
|
+
set: __exportSetter.bind(all, name)
|
|
9
13
|
});
|
|
10
14
|
};
|
|
11
15
|
|
|
@@ -72,15 +76,9 @@ function removeRelationshipAction(sourceId, targetId, relationshipType = "child"
|
|
|
72
76
|
// src/client/reactor-client.ts
|
|
73
77
|
import { addFile } from "document-drive/drive-document-model/gen/node/creators";
|
|
74
78
|
import { actions } from "document-model";
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
var
|
|
78
|
-
for (let i = 0;i < 256; ++i) {
|
|
79
|
-
byteToHex.push((i + 256).toString(16).slice(1));
|
|
80
|
-
}
|
|
81
|
-
function unsafeStringify(arr, offset = 0) {
|
|
82
|
-
return (byteToHex[arr[offset + 0]] + byteToHex[arr[offset + 1]] + byteToHex[arr[offset + 2]] + byteToHex[arr[offset + 3]] + "-" + byteToHex[arr[offset + 4]] + byteToHex[arr[offset + 5]] + "-" + byteToHex[arr[offset + 6]] + byteToHex[arr[offset + 7]] + "-" + byteToHex[arr[offset + 8]] + byteToHex[arr[offset + 9]] + "-" + byteToHex[arr[offset + 10]] + byteToHex[arr[offset + 11]] + byteToHex[arr[offset + 12]] + byteToHex[arr[offset + 13]] + byteToHex[arr[offset + 14]] + byteToHex[arr[offset + 15]]).toLowerCase();
|
|
83
|
-
}
|
|
79
|
+
// ../../node_modules/.pnpm/uuid@11.1.0/node_modules/uuid/dist/esm-browser/native.js
|
|
80
|
+
var randomUUID = typeof crypto !== "undefined" && crypto.randomUUID && crypto.randomUUID.bind(crypto);
|
|
81
|
+
var native_default = { randomUUID };
|
|
84
82
|
|
|
85
83
|
// ../../node_modules/.pnpm/uuid@11.1.0/node_modules/uuid/dist/esm-browser/rng.js
|
|
86
84
|
var getRandomValues;
|
|
@@ -95,9 +93,14 @@ function rng() {
|
|
|
95
93
|
return getRandomValues(rnds8);
|
|
96
94
|
}
|
|
97
95
|
|
|
98
|
-
// ../../node_modules/.pnpm/uuid@11.1.0/node_modules/uuid/dist/esm-browser/
|
|
99
|
-
var
|
|
100
|
-
|
|
96
|
+
// ../../node_modules/.pnpm/uuid@11.1.0/node_modules/uuid/dist/esm-browser/stringify.js
|
|
97
|
+
var byteToHex = [];
|
|
98
|
+
for (let i = 0;i < 256; ++i) {
|
|
99
|
+
byteToHex.push((i + 256).toString(16).slice(1));
|
|
100
|
+
}
|
|
101
|
+
function unsafeStringify(arr, offset = 0) {
|
|
102
|
+
return (byteToHex[arr[offset + 0]] + byteToHex[arr[offset + 1]] + byteToHex[arr[offset + 2]] + byteToHex[arr[offset + 3]] + "-" + byteToHex[arr[offset + 4]] + byteToHex[arr[offset + 5]] + "-" + byteToHex[arr[offset + 6]] + byteToHex[arr[offset + 7]] + "-" + byteToHex[arr[offset + 8]] + byteToHex[arr[offset + 9]] + "-" + byteToHex[arr[offset + 10]] + byteToHex[arr[offset + 11]] + byteToHex[arr[offset + 12]] + byteToHex[arr[offset + 13]] + byteToHex[arr[offset + 14]] + byteToHex[arr[offset + 15]]).toLowerCase();
|
|
103
|
+
}
|
|
101
104
|
|
|
102
105
|
// ../../node_modules/.pnpm/uuid@11.1.0/node_modules/uuid/dist/esm-browser/v4.js
|
|
103
106
|
function v4(options, buf, offset) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@powerhousedao/reactor",
|
|
3
|
-
"version": "6.0.0-dev.
|
|
3
|
+
"version": "6.0.0-dev.92",
|
|
4
4
|
"description": "",
|
|
5
5
|
"repository": {
|
|
6
6
|
"url": "https://github.com/powerhouse-inc/powerhouse",
|
|
@@ -33,14 +33,14 @@
|
|
|
33
33
|
"tsx": "4.21.0",
|
|
34
34
|
"vitest": "3.2.4",
|
|
35
35
|
"@types/bun": "1.3.8",
|
|
36
|
-
"@powerhousedao/shared": "6.0.0-dev.
|
|
37
|
-
"document-
|
|
38
|
-
"document-
|
|
36
|
+
"@powerhousedao/shared": "6.0.0-dev.92",
|
|
37
|
+
"document-drive": "6.0.0-dev.92",
|
|
38
|
+
"document-model": "6.0.0-dev.92"
|
|
39
39
|
},
|
|
40
40
|
"peerDependencies": {
|
|
41
41
|
"@electric-sql/pglite": ">=0.3.15",
|
|
42
|
-
"document-model": "6.0.0-dev.
|
|
43
|
-
"document-drive": "6.0.0-dev.
|
|
42
|
+
"document-model": "6.0.0-dev.92",
|
|
43
|
+
"document-drive": "6.0.0-dev.92"
|
|
44
44
|
},
|
|
45
45
|
"scripts": {
|
|
46
46
|
"prebuild": "pnpm run clean",
|