@aztec/txe 5.2.0-nightly.20260816 → 5.2.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/dest/bin/index.js +1 -1
- package/dest/{chunk-2C77I6EV.js → chunk-C2WBKKGS.js} +1 -1
- package/dest/{chunk-2C77I6EV.js.map → chunk-C2WBKKGS.js.map} +2 -2
- package/dest/{chunk-GZKMVMSQ.js → chunk-OFS2CI6U.js} +2 -2
- package/dest/{chunk-GZKMVMSQ.js.map → chunk-OFS2CI6U.js.map} +2 -2
- package/dest/metafile.json +18 -18
- package/dest/server.bundle.js +1 -1
- package/dest/worker.bundle.js +1 -1
- package/package.json +17 -17
package/dest/metafile.json
CHANGED
|
@@ -6889,7 +6889,7 @@
|
|
|
6889
6889
|
"format": "esm"
|
|
6890
6890
|
},
|
|
6891
6891
|
"../foundation/dest/json-rpc/server/safe_json_rpc_server.js": {
|
|
6892
|
-
"bytes":
|
|
6892
|
+
"bytes": 21555,
|
|
6893
6893
|
"imports": [
|
|
6894
6894
|
{
|
|
6895
6895
|
"path": "../node_modules/@koa/cors/index.js",
|
|
@@ -22210,7 +22210,7 @@
|
|
|
22210
22210
|
"format": "esm"
|
|
22211
22211
|
},
|
|
22212
22212
|
"../stdlib/dest/config/node-rpc-config.js": {
|
|
22213
|
-
"bytes":
|
|
22213
|
+
"bytes": 2559,
|
|
22214
22214
|
"imports": [
|
|
22215
22215
|
{
|
|
22216
22216
|
"path": "../constants/dest/constants.js",
|
|
@@ -35780,11 +35780,11 @@
|
|
|
35780
35780
|
"dest/bin/index.js": {
|
|
35781
35781
|
"imports": [
|
|
35782
35782
|
{
|
|
35783
|
-
"path": "dest/chunk-
|
|
35783
|
+
"path": "dest/chunk-OFS2CI6U.js",
|
|
35784
35784
|
"kind": "import-statement"
|
|
35785
35785
|
},
|
|
35786
35786
|
{
|
|
35787
|
-
"path": "dest/chunk-
|
|
35787
|
+
"path": "dest/chunk-C2WBKKGS.js",
|
|
35788
35788
|
"kind": "import-statement"
|
|
35789
35789
|
},
|
|
35790
35790
|
{
|
|
@@ -35813,7 +35813,7 @@
|
|
|
35813
35813
|
"dest/worker.bundle.js": {
|
|
35814
35814
|
"imports": [
|
|
35815
35815
|
{
|
|
35816
|
-
"path": "dest/chunk-
|
|
35816
|
+
"path": "dest/chunk-C2WBKKGS.js",
|
|
35817
35817
|
"kind": "import-statement"
|
|
35818
35818
|
},
|
|
35819
35819
|
{
|
|
@@ -35849,11 +35849,11 @@
|
|
|
35849
35849
|
"dest/server.bundle.js": {
|
|
35850
35850
|
"imports": [
|
|
35851
35851
|
{
|
|
35852
|
-
"path": "dest/chunk-
|
|
35852
|
+
"path": "dest/chunk-OFS2CI6U.js",
|
|
35853
35853
|
"kind": "import-statement"
|
|
35854
35854
|
},
|
|
35855
35855
|
{
|
|
35856
|
-
"path": "dest/chunk-
|
|
35856
|
+
"path": "dest/chunk-C2WBKKGS.js",
|
|
35857
35857
|
"kind": "import-statement"
|
|
35858
35858
|
},
|
|
35859
35859
|
{
|
|
@@ -35868,16 +35868,16 @@
|
|
|
35868
35868
|
"inputs": {},
|
|
35869
35869
|
"bytes": 256
|
|
35870
35870
|
},
|
|
35871
|
-
"dest/chunk-
|
|
35871
|
+
"dest/chunk-OFS2CI6U.js.map": {
|
|
35872
35872
|
"imports": [],
|
|
35873
35873
|
"exports": [],
|
|
35874
35874
|
"inputs": {},
|
|
35875
|
-
"bytes":
|
|
35875
|
+
"bytes": 2037099
|
|
35876
35876
|
},
|
|
35877
|
-
"dest/chunk-
|
|
35877
|
+
"dest/chunk-OFS2CI6U.js": {
|
|
35878
35878
|
"imports": [
|
|
35879
35879
|
{
|
|
35880
|
-
"path": "dest/chunk-
|
|
35880
|
+
"path": "dest/chunk-C2WBKKGS.js",
|
|
35881
35881
|
"kind": "import-statement"
|
|
35882
35882
|
},
|
|
35883
35883
|
{
|
|
@@ -36723,7 +36723,7 @@
|
|
|
36723
36723
|
"bytesInOutput": 0
|
|
36724
36724
|
},
|
|
36725
36725
|
"../foundation/dest/json-rpc/server/safe_json_rpc_server.js": {
|
|
36726
|
-
"bytesInOutput":
|
|
36726
|
+
"bytesInOutput": 9383
|
|
36727
36727
|
},
|
|
36728
36728
|
"../node_modules/koa/dist/koa.mjs": {
|
|
36729
36729
|
"bytesInOutput": 142
|
|
@@ -36756,15 +36756,15 @@
|
|
|
36756
36756
|
"bytesInOutput": 1365
|
|
36757
36757
|
}
|
|
36758
36758
|
},
|
|
36759
|
-
"bytes":
|
|
36759
|
+
"bytes": 1086975
|
|
36760
36760
|
},
|
|
36761
|
-
"dest/chunk-
|
|
36761
|
+
"dest/chunk-C2WBKKGS.js.map": {
|
|
36762
36762
|
"imports": [],
|
|
36763
36763
|
"exports": [],
|
|
36764
36764
|
"inputs": {},
|
|
36765
|
-
"bytes":
|
|
36765
|
+
"bytes": 5720624
|
|
36766
36766
|
},
|
|
36767
|
-
"dest/chunk-
|
|
36767
|
+
"dest/chunk-C2WBKKGS.js": {
|
|
36768
36768
|
"imports": [
|
|
36769
36769
|
{
|
|
36770
36770
|
"path": "dest/chunk-BJVAAXNA.js",
|
|
@@ -39485,7 +39485,7 @@
|
|
|
39485
39485
|
"bytesInOutput": 2021
|
|
39486
39486
|
},
|
|
39487
39487
|
"../stdlib/dest/config/node-rpc-config.js": {
|
|
39488
|
-
"bytesInOutput":
|
|
39488
|
+
"bytesInOutput": 1781
|
|
39489
39489
|
},
|
|
39490
39490
|
"../pxe/dest/config/index.js": {
|
|
39491
39491
|
"bytesInOutput": 1148
|
|
@@ -40235,7 +40235,7 @@
|
|
|
40235
40235
|
"bytesInOutput": 4332
|
|
40236
40236
|
}
|
|
40237
40237
|
},
|
|
40238
|
-
"bytes":
|
|
40238
|
+
"bytes": 2153363
|
|
40239
40239
|
},
|
|
40240
40240
|
"dest/SchnorrAccount-ZRENHSMV.js.map": {
|
|
40241
40241
|
"imports": [],
|
package/dest/server.bundle.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { createRequire as __txeCreateRequire } from 'node:module';
|
|
2
2
|
const require = __txeCreateRequire(import.meta.url);
|
|
3
|
-
import{createTXERpcServer}from"./chunk-
|
|
3
|
+
import{createTXERpcServer}from"./chunk-OFS2CI6U.js";import"./chunk-C2WBKKGS.js";import"./chunk-BJVAAXNA.js";export{createTXERpcServer};
|
package/dest/worker.bundle.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { createRequire as __txeCreateRequire } from 'node:module';
|
|
2
2
|
const require = __txeCreateRequire(import.meta.url);
|
|
3
|
-
import{TXEDispatcher,activeSessionCount,createLogger}from"./chunk-
|
|
3
|
+
import{TXEDispatcher,activeSessionCount,createLogger}from"./chunk-C2WBKKGS.js";import{__name}from"./chunk-BJVAAXNA.js";import{BackendType,Barretenberg,BarretenbergSync}from"@aztec/bb.js";import{parentPort,workerData}from"node:worker_threads";Barretenberg.initSingleton({backend:BackendType.Wasm,skipSrsInit:!0,threads:1});BarretenbergSync.initSingleton({backend:BackendType.Wasm});if(!parentPort)throw new Error("worker.ts must be loaded as a worker_thread");var port=parentPort,logger=createLogger("txe:worker"),dispatcherOpts={contractStoreSourceDir:workerData.contractStoreSourceDir,schnorrClassId:workerData.schnorrClassId},dispatcher=new TXEDispatcher(logger,dispatcherOpts);function serializeError(err){return err instanceof Error?{message:err.message,name:err.name,stack:err.stack}:{message:String(err)}}__name(serializeError,"serializeError");process.env.TXE_WORKER_MEMSTAT==="1"&&setInterval(()=>{let m=process.memoryUsage();port.postMessage({type:"memstat",sessions:activeSessionCount(),rss:m.rss,heapTotal:m.heapTotal,heapUsed:m.heapUsed,external:m.external,arrayBuffers:m.arrayBuffers})},2e3).unref();port.on("message",msg=>{switch(msg.type){case"foreign-call":(async()=>{try{let value=await dispatcher.resolve_foreign_call(msg.callData);port.postMessage({type:"result",requestId:msg.requestId,ok:!0,value})}catch(err){port.postMessage({type:"result",requestId:msg.requestId,ok:!1,error:serializeError(err)})}})();return;case"dispose-session":dispatcher.disposeSession(msg.sessionId).catch(err=>logger.warn("disposeSession failed",err));return}});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aztec/txe",
|
|
3
|
-
"version": "5.2.0
|
|
3
|
+
"version": "5.2.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"exports": {
|
|
6
6
|
"./server": {
|
|
@@ -69,22 +69,22 @@
|
|
|
69
69
|
]
|
|
70
70
|
},
|
|
71
71
|
"dependencies": {
|
|
72
|
-
"@aztec/accounts": "5.2.0
|
|
73
|
-
"@aztec/archiver": "5.2.0
|
|
74
|
-
"@aztec/aztec-node": "5.2.0
|
|
75
|
-
"@aztec/aztec.js": "5.2.0
|
|
76
|
-
"@aztec/bb-prover": "5.2.0
|
|
77
|
-
"@aztec/bb.js": "5.2.0
|
|
78
|
-
"@aztec/constants": "5.2.0
|
|
79
|
-
"@aztec/foundation": "5.2.0
|
|
80
|
-
"@aztec/key-store": "5.2.0
|
|
81
|
-
"@aztec/kv-store": "5.2.0
|
|
82
|
-
"@aztec/protocol-contracts": "5.2.0
|
|
83
|
-
"@aztec/pxe": "5.2.0
|
|
84
|
-
"@aztec/simulator": "5.2.0
|
|
85
|
-
"@aztec/standard-contracts": "5.2.0
|
|
86
|
-
"@aztec/stdlib": "5.2.0
|
|
87
|
-
"@aztec/world-state": "5.2.0
|
|
72
|
+
"@aztec/accounts": "5.2.0",
|
|
73
|
+
"@aztec/archiver": "5.2.0",
|
|
74
|
+
"@aztec/aztec-node": "5.2.0",
|
|
75
|
+
"@aztec/aztec.js": "5.2.0",
|
|
76
|
+
"@aztec/bb-prover": "5.2.0",
|
|
77
|
+
"@aztec/bb.js": "5.2.0",
|
|
78
|
+
"@aztec/constants": "5.2.0",
|
|
79
|
+
"@aztec/foundation": "5.2.0",
|
|
80
|
+
"@aztec/key-store": "5.2.0",
|
|
81
|
+
"@aztec/kv-store": "5.2.0",
|
|
82
|
+
"@aztec/protocol-contracts": "5.2.0",
|
|
83
|
+
"@aztec/pxe": "5.2.0",
|
|
84
|
+
"@aztec/simulator": "5.2.0",
|
|
85
|
+
"@aztec/standard-contracts": "5.2.0",
|
|
86
|
+
"@aztec/stdlib": "5.2.0",
|
|
87
|
+
"@aztec/world-state": "5.2.0",
|
|
88
88
|
"msgpackr": "^1.11.2",
|
|
89
89
|
"zod": "^4"
|
|
90
90
|
},
|