@theoremjs/react 0.3.4-next.638.g15efdc1 → 0.3.4-next.641.g6835640

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": "@theoremjs/react",
3
- "version": "0.3.4-next.638.g15efdc1",
3
+ "version": "0.3.4-next.641.g6835640",
4
4
  "description": "React bindings for Theorem: headless hooks + transport, an Astryx chat UI, and a Web-standard server handler.",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -60,8 +60,8 @@
60
60
  "@stylexjs/stylex": "0.19.0",
61
61
  "react": "^19.0.0",
62
62
  "react-dom": "^19.0.0",
63
- "@theoremjs/agents": "^0.3.4-next.638.g15efdc1",
64
- "@theoremjs/web": "^0.3.4-next.638.g15efdc1"
63
+ "@theoremjs/agents": "^0.3.4-next.641.g6835640",
64
+ "@theoremjs/web": "^0.3.4-next.641.g6835640"
65
65
  },
66
66
  "peerDependenciesMeta": {
67
67
  "@astryxdesign/core": {
@@ -200,7 +200,10 @@ function TraceDownload({ records }) {
200
200
  link.href = url;
201
201
  link.download = `${tracedAgent(records)}-${stamp}.trace.json`;
202
202
  link.click();
203
- URL.revokeObjectURL(url);
203
+ // why: revoked in the same task, some browsers cancel the download before it starts.
204
+ setTimeout(() => {
205
+ URL.revokeObjectURL(url);
206
+ });
204
207
  } }));
205
208
  }
206
209
  /**