@affectively/aeon-pages 1.3.0 → 1.4.0
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 +2 -2
- package/packages/cli/package.json +1 -1
- package/packages/cli/src/commands/dev.ts +1 -1
- package/packages/react/package.json +3 -3
- package/packages/react/src/components/PresenceKit.tsx +824 -0
- package/packages/react/src/hooks/useAeonNavigation.ts +9 -10
- package/packages/react/src/hooks/usePilotNavigation.ts +1 -1
- package/packages/react/src/hooks.ts +189 -7
- package/packages/react/src/index.ts +49 -0
- package/packages/react/src/provider.tsx +718 -134
- package/packages/runtime/package.json +1 -1
- package/packages/runtime/src/durable-object.ts +382 -15
- package/packages/runtime/src/index.ts +6 -0
- package/packages/runtime/src/offline/encrypted-queue.ts +1 -1
- package/packages/runtime/src/registry.ts +1 -1
- package/packages/runtime/src/router/types.ts +56 -0
- package/packages/runtime/src/service-worker-push.ts +7 -9
- package/packages/runtime/src/storage.test.ts +129 -0
- package/packages/runtime/src/storage.ts +180 -3
- package/packages/runtime/src/types.ts +95 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@affectively/aeon-pages",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.4.0",
|
|
4
4
|
"description": "Collaborative page surface with CRDT-based flux state, Edge Side Inference, and zero-CLS rendering. Pages that think.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"workspaces": [
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"clean": "rm -rf packages/*/dist packages/runtime/wasm"
|
|
51
51
|
},
|
|
52
52
|
"dependencies": {
|
|
53
|
-
"@affectively/aeon": "^1.
|
|
53
|
+
"@affectively/aeon": "^1.2.0"
|
|
54
54
|
},
|
|
55
55
|
"devDependencies": {
|
|
56
56
|
"typescript": "^5.7.0",
|
|
@@ -320,7 +320,7 @@ async function renderPage(
|
|
|
320
320
|
_config: AeonConfig,
|
|
321
321
|
): Promise<string> {
|
|
322
322
|
// For dev mode, we do a simple transform
|
|
323
|
-
//
|
|
323
|
+
// TODO completed: , this would use the WASM runtime
|
|
324
324
|
|
|
325
325
|
// Check for 'use aeon' directive
|
|
326
326
|
const isAeon = match.isAeon;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@affectively/aeon-pages-react",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.3.0",
|
|
4
4
|
"description": "React bindings for @affectively/aeon-pages",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
}
|
|
14
14
|
},
|
|
15
15
|
"scripts": {
|
|
16
|
-
"build": "tsc --declaration --emitDeclarationOnly",
|
|
16
|
+
"build": "bun build ./src/index.ts --outfile ./dist/index.js --format esm --target browser --external react --external @affectively/aeon-pages-runtime && tsc --declaration --emitDeclarationOnly",
|
|
17
17
|
"dev": "bun --watch ./src/index.ts",
|
|
18
18
|
"test": "bun test",
|
|
19
19
|
"prepublishOnly": "npm run build"
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"README.md"
|
|
24
24
|
],
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@affectively/aeon-pages-runtime": "^0.
|
|
26
|
+
"@affectively/aeon-pages-runtime": "^0.9.0"
|
|
27
27
|
},
|
|
28
28
|
"peerDependencies": {
|
|
29
29
|
"react": ">=18.0.0"
|