@aztec/foundation 3.0.0-nightly.20251007 → 3.0.0-nightly.20251009
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.
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export type NetworkNames = 'local' | 'staging-ignition' | 'staging-public' | 'testnet' | 'ignition';
|
|
1
|
+
export type NetworkNames = 'local' | 'staging-ignition' | 'staging-public' | 'testnet' | 'ignition' | 'next-net';
|
|
2
2
|
export declare function getActiveNetworkName(name?: string): NetworkNames;
|
|
3
3
|
//# sourceMappingURL=network_name.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"network_name.d.ts","sourceRoot":"","sources":["../../src/config/network_name.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,YAAY,GAAG,OAAO,GAAG,kBAAkB,GAAG,gBAAgB,GAAG,SAAS,GAAG,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"network_name.d.ts","sourceRoot":"","sources":["../../src/config/network_name.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,YAAY,GAAG,OAAO,GAAG,kBAAkB,GAAG,gBAAgB,GAAG,SAAS,GAAG,UAAU,GAAG,UAAU,CAAC;AAEjH,wBAAgB,oBAAoB,CAAC,IAAI,CAAC,EAAE,MAAM,GAAG,YAAY,CAgBhE"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aztec/foundation",
|
|
3
|
-
"version": "3.0.0-nightly.
|
|
3
|
+
"version": "3.0.0-nightly.20251009",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dest/index.js",
|
|
6
6
|
"types": "./dest/index.d.ts",
|
|
@@ -103,7 +103,7 @@
|
|
|
103
103
|
"testEnvironment": "../../foundation/src/jest/env.mjs"
|
|
104
104
|
},
|
|
105
105
|
"dependencies": {
|
|
106
|
-
"@aztec/bb.js": "3.0.0-nightly.
|
|
106
|
+
"@aztec/bb.js": "3.0.0-nightly.20251009",
|
|
107
107
|
"@koa/cors": "^5.0.0",
|
|
108
108
|
"@noble/curves": "=1.7.0",
|
|
109
109
|
"bn.js": "^5.2.1",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export type NetworkNames = 'local' | 'staging-ignition' | 'staging-public' | 'testnet' | 'ignition';
|
|
1
|
+
export type NetworkNames = 'local' | 'staging-ignition' | 'staging-public' | 'testnet' | 'ignition' | 'next-net';
|
|
2
2
|
|
|
3
3
|
export function getActiveNetworkName(name?: string): NetworkNames {
|
|
4
4
|
const network = name || process.env.NETWORK;
|
|
@@ -12,6 +12,8 @@ export function getActiveNetworkName(name?: string): NetworkNames {
|
|
|
12
12
|
return 'testnet';
|
|
13
13
|
} else if (network === 'ignition') {
|
|
14
14
|
return 'ignition';
|
|
15
|
+
} else if (network === 'next-net') {
|
|
16
|
+
return 'next-net';
|
|
15
17
|
}
|
|
16
18
|
throw new Error(`Unknown network: ${network}`);
|
|
17
19
|
}
|