@hardkas/config 0.8.15-alpha → 0.8.18-alpha

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.
Files changed (2) hide show
  1. package/dist/index.js +1 -5
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -137,11 +137,7 @@ function defineHardkasConfig(config) {
137
137
  function resolveNetworkTarget(options) {
138
138
  const { config, network } = options;
139
139
  let name = network || config.defaultNetwork || "simulated";
140
- if (name === "simnet") {
141
- console.warn(
142
- "\x1B[33m%s\x1B[0m",
143
- "WARNING: The 'simnet' network alias is deprecated. It will be removed in the next breaking release. Resolving to 'simulated'."
144
- );
140
+ if (name === "simnet" && config.networks?.simnet?.kind === "simulated") {
145
141
  name = "simulated";
146
142
  }
147
143
  const networks = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hardkas/config",
3
- "version": "0.8.15-alpha",
3
+ "version": "0.8.18-alpha",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
@@ -18,7 +18,7 @@
18
18
  ],
19
19
  "dependencies": {
20
20
  "jiti": "^2.4.2",
21
- "@hardkas/core": "0.8.15-alpha"
21
+ "@hardkas/core": "0.8.18-alpha"
22
22
  },
23
23
  "devDependencies": {
24
24
  "tsup": "^8.3.5",