@hardkas/sdk 0.2.2-alpha.1 → 0.4.0-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 -1
  2. package/package.json +13 -13
package/dist/index.js CHANGED
@@ -170,7 +170,7 @@ var HardkasL2 = class {
170
170
  * Gets a specific L2 network profile by name.
171
171
  */
172
172
  getProfile(name) {
173
- return getL2Profile(name);
173
+ return getL2Profile(name) || null;
174
174
  }
175
175
  };
176
176
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hardkas/sdk",
3
- "version": "0.2.2-alpha.1",
3
+ "version": "0.4.0-alpha",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist",
@@ -16,17 +16,17 @@
16
16
  }
17
17
  },
18
18
  "dependencies": {
19
- "@hardkas/config": "0.2.2-alpha.1",
20
- "@hardkas/artifacts": "0.2.2-alpha.1",
21
- "@hardkas/accounts": "0.2.2-alpha.1",
22
- "@hardkas/kaspa-rpc": "0.2.2-alpha.1",
23
- "@hardkas/core": "0.2.2-alpha.1",
24
- "@hardkas/query": "0.2.2-alpha.1",
25
- "@hardkas/localnet": "0.2.2-alpha.1",
26
- "@hardkas/tx-builder": "0.2.2-alpha.1",
27
- "@hardkas/simulator": "0.2.2-alpha.1",
28
- "@hardkas/l2": "0.2.2-alpha.1",
29
- "@hardkas/wallet-adapter": "0.2.2-alpha.1"
19
+ "@hardkas/accounts": "0.4.0-alpha",
20
+ "@hardkas/artifacts": "0.4.0-alpha",
21
+ "@hardkas/core": "0.4.0-alpha",
22
+ "@hardkas/config": "0.4.0-alpha",
23
+ "@hardkas/query": "0.4.0-alpha",
24
+ "@hardkas/localnet": "0.4.0-alpha",
25
+ "@hardkas/kaspa-rpc": "0.4.0-alpha",
26
+ "@hardkas/simulator": "0.4.0-alpha",
27
+ "@hardkas/l2": "0.4.0-alpha",
28
+ "@hardkas/tx-builder": "0.4.0-alpha",
29
+ "@hardkas/wallet-adapter": "0.4.0-alpha"
30
30
  },
31
31
  "devDependencies": {
32
32
  "tsup": "^8.3.5",
@@ -46,7 +46,7 @@
46
46
  "homepage": "https://github.com/KasLabDevs/HardKas/tree/main/packages/sdk#readme",
47
47
  "scripts": {
48
48
  "build": "tsup src/index.ts --format esm --dts --clean",
49
- "test": "vitest run",
49
+ "test": "vitest run --passWithNoTests",
50
50
  "typecheck": "tsc --noEmit",
51
51
  "lint": "eslint ."
52
52
  }