@fairfox/polly 0.38.2 → 0.40.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/dist/cli/polly.js.map +1 -1
- package/dist/src/background/index.js +1 -2
- package/dist/src/background/index.js.map +6 -6
- package/dist/src/background/message-router.js +1 -2
- package/dist/src/background/message-router.js.map +6 -6
- package/dist/src/client/index.js +46 -27
- package/dist/src/client/index.js.map +5 -5
- package/dist/src/client/wrapper.d.ts +8 -0
- package/dist/src/elysia/index.js +10 -31
- package/dist/src/elysia/index.js.map +5 -5
- package/dist/src/elysia/route-match.d.ts +9 -0
- package/dist/src/elysia/types.d.ts +4 -5
- package/dist/src/index.js +1 -2
- package/dist/src/index.js.map +7 -7
- package/dist/src/mesh-node.js.map +1 -1
- package/dist/src/mesh.js.map +7 -7
- package/dist/src/peer.js.map +3 -3
- package/dist/src/polly-ui/index.js.map +3 -3
- package/dist/src/polly-ui/markdown.js +583 -517
- package/dist/src/polly-ui/markdown.js.map +6 -6
- package/dist/src/shared/adapters/index.js.map +3 -3
- package/dist/src/shared/lib/context-helpers.js +1 -2
- package/dist/src/shared/lib/context-helpers.js.map +6 -6
- package/dist/src/shared/lib/mesh-signaling-client.d.ts +1 -1
- package/dist/src/shared/lib/message-bus.js +1 -2
- package/dist/src/shared/lib/message-bus.js.map +6 -6
- package/dist/src/shared/lib/peer-relay-adapter.d.ts +3 -2
- package/dist/src/shared/lib/resource.js.map +3 -3
- package/dist/src/shared/lib/state.js.map +3 -3
- package/dist/src/shared/state/app-state.js.map +4 -4
- package/dist/src/shared/types/messages.d.ts +0 -9
- package/dist/src/shared/types/messages.js.map +1 -1
- package/dist/tools/test/src/adapters/index.js.map +1 -1
- package/dist/tools/test/src/index.js.map +1 -1
- package/dist/tools/test/src/visual/index.js +64 -38
- package/dist/tools/test/src/visual/index.js.map +4 -4
- package/dist/tools/verify/Dockerfile +1 -1
- package/dist/tools/verify/specs/Dockerfile +1 -1
- package/dist/tools/verify/src/cli.js.map +3 -3
- package/dist/tools/visualize/src/cli.js.map +3 -3
- package/package.json +33 -28
- package/dist/src/utils/function-serialization.d.ts +0 -14
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fairfox/polly",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.40.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"description": "Multi-execution-context framework with reactive state and cross-context messaging for Chrome extensions, PWAs, and worker-based applications",
|
|
@@ -135,43 +135,42 @@
|
|
|
135
135
|
"test:example:todo-list": "echo '\\n--- Todo List ---' && bun run --cwd examples/todo-list test:all",
|
|
136
136
|
"test:example:full-featured": "echo '\\n--- Full Featured ---' && bun run --cwd examples/full-featured test:all",
|
|
137
137
|
"test:e2e:visualize": "bun scripts/e2e-visualize.ts",
|
|
138
|
+
"check": "bun scripts/check.ts",
|
|
138
139
|
"prepublishOnly": "bun run typecheck && bun run lint && bun run --cwd tests test && bun run build:lib",
|
|
139
140
|
"publish:public": "npm publish --access public --otp=$(pass-cli item totp --output json --item-id Rdr--oUgHp-IfyjoTB7vhMPHfNt6Oz2JpXfS1WrdQMQ9damDMPOvKiOxxpCZqp92WgqXnfY68cSXWdQ_JVMNMQ== --share-id Ixmpll6U5ioU_1P4fzUbarQNANRPU51O68xzFblTB08S0HUfw4dhQaNAv4Yv7Sud_Vf8ps4mnQUFqdvN-eTRdQ== | jq -r '.totp')"
|
|
140
141
|
},
|
|
141
142
|
"devDependencies": {
|
|
142
|
-
"@automerge/automerge-repo": "
|
|
143
|
-
"@automerge/automerge-repo-network-websocket": "
|
|
144
|
-
"@automerge/automerge-repo-storage-indexeddb": "
|
|
145
|
-
"@automerge/automerge-repo-storage-nodefs": "
|
|
146
|
-
"@biomejs/biome": "
|
|
147
|
-
"@elysiajs/eden": "
|
|
148
|
-
"@types/bun": "
|
|
149
|
-
"@types/chrome": "
|
|
150
|
-
"@types/pixelmatch": "
|
|
151
|
-
"@types/pngjs": "
|
|
152
|
-
"@types/
|
|
153
|
-
"
|
|
154
|
-
"
|
|
155
|
-
"
|
|
156
|
-
"
|
|
157
|
-
"
|
|
158
|
-
"
|
|
159
|
-
"
|
|
160
|
-
"
|
|
161
|
-
"
|
|
162
|
-
"typescript": "^5.9.3"
|
|
143
|
+
"@automerge/automerge-repo": "2.5.5",
|
|
144
|
+
"@automerge/automerge-repo-network-websocket": "2.5.5",
|
|
145
|
+
"@automerge/automerge-repo-storage-indexeddb": "2.5.5",
|
|
146
|
+
"@automerge/automerge-repo-storage-nodefs": "2.5.5",
|
|
147
|
+
"@biomejs/biome": "2.4.14",
|
|
148
|
+
"@elysiajs/eden": "1.4.9",
|
|
149
|
+
"@types/bun": "1.3.13",
|
|
150
|
+
"@types/chrome": "0.1.40",
|
|
151
|
+
"@types/pixelmatch": "5.2.6",
|
|
152
|
+
"@types/pngjs": "6.0.5",
|
|
153
|
+
"@types/ws": "8.18.1",
|
|
154
|
+
"dompurify": "3.4.2",
|
|
155
|
+
"elysia": "1.4.28",
|
|
156
|
+
"fast-check": "4.7.0",
|
|
157
|
+
"marked": "18.0.3",
|
|
158
|
+
"pixelmatch": "7.2.0",
|
|
159
|
+
"pngjs": "7.0.0",
|
|
160
|
+
"puppeteer": "24.42.0",
|
|
161
|
+
"tweetnacl": "1.0.3",
|
|
162
|
+
"typescript": "6.0.3"
|
|
163
163
|
},
|
|
164
164
|
"engines": {
|
|
165
165
|
"bun": ">=1.2.0"
|
|
166
166
|
},
|
|
167
167
|
"dependencies": {
|
|
168
|
-
"@preact/signals": "
|
|
169
|
-
"preact": "
|
|
170
|
-
"
|
|
171
|
-
"ts-morph": "^21.0.1"
|
|
168
|
+
"@preact/signals": "2.9.0",
|
|
169
|
+
"preact": "10.29.1",
|
|
170
|
+
"ts-morph": "28.0.0"
|
|
172
171
|
},
|
|
173
172
|
"peerDependencies": {
|
|
174
|
-
"typescript": "
|
|
173
|
+
"typescript": ">= 5.9.3",
|
|
175
174
|
"preact": "^10.28.1",
|
|
176
175
|
"@preact/signals": "^2.5.1",
|
|
177
176
|
"elysia": ">= 1.4.0",
|
|
@@ -260,5 +259,11 @@
|
|
|
260
259
|
"homepage": "https://github.com/AlexJeffcott/polly#readme",
|
|
261
260
|
"trustedDependencies": [
|
|
262
261
|
"node-datachannel"
|
|
263
|
-
]
|
|
262
|
+
],
|
|
263
|
+
"overrides": {
|
|
264
|
+
"brace-expansion": "^2.0.3",
|
|
265
|
+
"file-type": "^21.3.1",
|
|
266
|
+
"minimatch": "^9.0.6",
|
|
267
|
+
"uuid": "^14.0.0"
|
|
268
|
+
}
|
|
264
269
|
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Serialize a function to send to client
|
|
3
|
-
*
|
|
4
|
-
* DEV ONLY: Used for hot reloading and debugging
|
|
5
|
-
* PROD: No-op - client effects are baked into bundle at build time
|
|
6
|
-
*/
|
|
7
|
-
export declare function serializeFunction(fn: Function): string;
|
|
8
|
-
/**
|
|
9
|
-
* Deserialize a function received from server
|
|
10
|
-
*
|
|
11
|
-
* DEV ONLY: Eval serialized function source
|
|
12
|
-
* PROD: Should never be called - effects come from bundle
|
|
13
|
-
*/
|
|
14
|
-
export declare function deserializeFunction(serialized: string): Function;
|