@hardkas/config 0.8.10-alpha → 0.8.12-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 +3 -0
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -164,6 +164,9 @@ function resolveNetworkTarget(options) {
164
164
  // src/provider.ts
165
165
  function resolveProvider(options) {
166
166
  const { network, provider, url } = options;
167
+ if (provider === "simulated" && url) {
168
+ throw new Error("PROVIDER_CONFLICT: Simulated backend cannot be used with explicit RPC URL");
169
+ }
167
170
  if (url) {
168
171
  return {
169
172
  mode: "rpc",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hardkas/config",
3
- "version": "0.8.10-alpha",
3
+ "version": "0.8.12-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.10-alpha"
21
+ "@hardkas/core": "0.8.12-alpha"
22
22
  },
23
23
  "devDependencies": {
24
24
  "tsup": "^8.3.5",