@aztec/node-lib 2.1.7-rc.1 → 2.1.7-rc.3
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/config/index.d.ts +2 -0
- package/dest/config/index.d.ts.map +1 -1
- package/dest/config/index.js +5 -0
- package/package.json +20 -20
- package/src/config/index.ts +7 -0
package/dest/config/index.d.ts
CHANGED
|
@@ -14,6 +14,8 @@ export type SharedNodeConfig = {
|
|
|
14
14
|
autoUpdateUrl?: string;
|
|
15
15
|
/** URL of the Web3Signer instance */
|
|
16
16
|
web3SignerUrl?: string;
|
|
17
|
+
/** Whether to run in fisherman mode */
|
|
18
|
+
fishermanMode?: boolean;
|
|
17
19
|
};
|
|
18
20
|
export declare const sharedNodeConfigMappings: ConfigMappingsType<SharedNodeConfig>;
|
|
19
21
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/config/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,kBAAkB,EAAuB,MAAM,0BAA0B,CAAC;AAExF,MAAM,MAAM,gBAAgB,GAAG;IAC7B,yFAAyF;IACzF,YAAY,EAAE,OAAO,CAAC;IACtB,yFAAyF;IACzF,YAAY,EAAE,OAAO,CAAC;IACtB,gKAAgK;IAChK,QAAQ,EAAE,MAAM,GAAG,UAAU,GAAG,gBAAgB,CAAC;IACjD,6IAA6I;IAC7I,aAAa,CAAC,EAAE,MAAM,EAAE,CAAC;IAEzB,qOAAqO;IACrO,UAAU,CAAC,EAAE,UAAU,GAAG,QAAQ,GAAG,QAAQ,GAAG,oBAAoB,CAAC;IACrE,sDAAsD;IACtD,aAAa,CAAC,EAAE,MAAM,CAAC;IAEvB,qCAAqC;IACrC,aAAa,CAAC,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/config/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,kBAAkB,EAAuB,MAAM,0BAA0B,CAAC;AAExF,MAAM,MAAM,gBAAgB,GAAG;IAC7B,yFAAyF;IACzF,YAAY,EAAE,OAAO,CAAC;IACtB,yFAAyF;IACzF,YAAY,EAAE,OAAO,CAAC;IACtB,gKAAgK;IAChK,QAAQ,EAAE,MAAM,GAAG,UAAU,GAAG,gBAAgB,CAAC;IACjD,6IAA6I;IAC7I,aAAa,CAAC,EAAE,MAAM,EAAE,CAAC;IAEzB,qOAAqO;IACrO,UAAU,CAAC,EAAE,UAAU,GAAG,QAAQ,GAAG,QAAQ,GAAG,oBAAoB,CAAC;IACrE,sDAAsD;IACtD,aAAa,CAAC,EAAE,MAAM,CAAC;IAEvB,qCAAqC;IACrC,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,uCAAuC;IACvC,aAAa,CAAC,EAAE,OAAO,CAAC;CACzB,CAAC;AAEF,eAAO,MAAM,wBAAwB,EAAE,kBAAkB,CAAC,gBAAgB,CA+CzE,CAAC"}
|
package/dest/config/index.js
CHANGED
|
@@ -37,5 +37,10 @@ export const sharedNodeConfigMappings = {
|
|
|
37
37
|
env: 'WEB3_SIGNER_URL',
|
|
38
38
|
description: 'URL of the Web3Signer instance',
|
|
39
39
|
parseEnv: (val)=>val.trim()
|
|
40
|
+
},
|
|
41
|
+
fishermanMode: {
|
|
42
|
+
env: 'FISHERMAN_MODE',
|
|
43
|
+
description: 'Whether to run in fisherman mode.',
|
|
44
|
+
...booleanConfigHelper(false)
|
|
40
45
|
}
|
|
41
46
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aztec/node-lib",
|
|
3
|
-
"version": "2.1.7-rc.
|
|
3
|
+
"version": "2.1.7-rc.3",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"exports": {
|
|
6
6
|
"./actions": "./dest/actions/index.js",
|
|
@@ -57,28 +57,28 @@
|
|
|
57
57
|
]
|
|
58
58
|
},
|
|
59
59
|
"dependencies": {
|
|
60
|
-
"@aztec/archiver": "2.1.7-rc.
|
|
61
|
-
"@aztec/bb-prover": "2.1.7-rc.
|
|
62
|
-
"@aztec/blob-sink": "2.1.7-rc.
|
|
63
|
-
"@aztec/constants": "2.1.7-rc.
|
|
64
|
-
"@aztec/epoch-cache": "2.1.7-rc.
|
|
65
|
-
"@aztec/ethereum": "2.1.7-rc.
|
|
66
|
-
"@aztec/foundation": "2.1.7-rc.
|
|
67
|
-
"@aztec/kv-store": "2.1.7-rc.
|
|
68
|
-
"@aztec/merkle-tree": "2.1.7-rc.
|
|
69
|
-
"@aztec/p2p": "2.1.7-rc.
|
|
70
|
-
"@aztec/protocol-contracts": "2.1.7-rc.
|
|
71
|
-
"@aztec/prover-client": "2.1.7-rc.
|
|
72
|
-
"@aztec/sequencer-client": "2.1.7-rc.
|
|
73
|
-
"@aztec/simulator": "2.1.7-rc.
|
|
74
|
-
"@aztec/stdlib": "2.1.7-rc.
|
|
75
|
-
"@aztec/telemetry-client": "2.1.7-rc.
|
|
76
|
-
"@aztec/validator-client": "2.1.7-rc.
|
|
77
|
-
"@aztec/world-state": "2.1.7-rc.
|
|
60
|
+
"@aztec/archiver": "2.1.7-rc.3",
|
|
61
|
+
"@aztec/bb-prover": "2.1.7-rc.3",
|
|
62
|
+
"@aztec/blob-sink": "2.1.7-rc.3",
|
|
63
|
+
"@aztec/constants": "2.1.7-rc.3",
|
|
64
|
+
"@aztec/epoch-cache": "2.1.7-rc.3",
|
|
65
|
+
"@aztec/ethereum": "2.1.7-rc.3",
|
|
66
|
+
"@aztec/foundation": "2.1.7-rc.3",
|
|
67
|
+
"@aztec/kv-store": "2.1.7-rc.3",
|
|
68
|
+
"@aztec/merkle-tree": "2.1.7-rc.3",
|
|
69
|
+
"@aztec/p2p": "2.1.7-rc.3",
|
|
70
|
+
"@aztec/protocol-contracts": "2.1.7-rc.3",
|
|
71
|
+
"@aztec/prover-client": "2.1.7-rc.3",
|
|
72
|
+
"@aztec/sequencer-client": "2.1.7-rc.3",
|
|
73
|
+
"@aztec/simulator": "2.1.7-rc.3",
|
|
74
|
+
"@aztec/stdlib": "2.1.7-rc.3",
|
|
75
|
+
"@aztec/telemetry-client": "2.1.7-rc.3",
|
|
76
|
+
"@aztec/validator-client": "2.1.7-rc.3",
|
|
77
|
+
"@aztec/world-state": "2.1.7-rc.3",
|
|
78
78
|
"tslib": "^2.4.0"
|
|
79
79
|
},
|
|
80
80
|
"devDependencies": {
|
|
81
|
-
"@aztec/blob-lib": "2.1.7-rc.
|
|
81
|
+
"@aztec/blob-lib": "2.1.7-rc.3",
|
|
82
82
|
"@jest/globals": "^30.0.0",
|
|
83
83
|
"@types/jest": "^30.0.0",
|
|
84
84
|
"@types/node": "^22.15.17",
|
package/src/config/index.ts
CHANGED
|
@@ -17,6 +17,8 @@ export type SharedNodeConfig = {
|
|
|
17
17
|
|
|
18
18
|
/** URL of the Web3Signer instance */
|
|
19
19
|
web3SignerUrl?: string;
|
|
20
|
+
/** Whether to run in fisherman mode */
|
|
21
|
+
fishermanMode?: boolean;
|
|
20
22
|
};
|
|
21
23
|
|
|
22
24
|
export const sharedNodeConfigMappings: ConfigMappingsType<SharedNodeConfig> = {
|
|
@@ -61,4 +63,9 @@ export const sharedNodeConfigMappings: ConfigMappingsType<SharedNodeConfig> = {
|
|
|
61
63
|
description: 'URL of the Web3Signer instance',
|
|
62
64
|
parseEnv: (val: string) => val.trim(),
|
|
63
65
|
},
|
|
66
|
+
fishermanMode: {
|
|
67
|
+
env: 'FISHERMAN_MODE',
|
|
68
|
+
description: 'Whether to run in fisherman mode.',
|
|
69
|
+
...booleanConfigHelper(false),
|
|
70
|
+
},
|
|
64
71
|
};
|