@totemsdk/omnia-router 0.1.4 → 0.1.5

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/README.md +1 -1
  2. package/package.json +13 -17
package/README.md CHANGED
@@ -91,5 +91,5 @@ await announceSwap({
91
91
 
92
92
  - [`@totemsdk/omnia`](https://www.npmjs.com/package/@totemsdk/omnia) — channel state machine powering each hop
93
93
  - [`@totemsdk/omnia-factory`](https://www.npmjs.com/package/@totemsdk/omnia-factory) — factory channels included in the routing graph
94
- - [`@totemsdk/omnia-hyperswarm`](https://www.npmjs.com/package/@totemsdk/omnia-hyperswarm) — P2P transport for propagating routes
94
+ - [`@totemsdk/omnia`](https://www.npmjs.com/package/@totemsdk/omnia) — Omnia messaging layer for propagating routes
95
95
  - [`@totemsdk/lookup-node`](https://www.npmjs.com/package/@totemsdk/lookup-node) — peer discovery for channel graph construction
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@totemsdk/omnia-router",
3
- "version": "0.1.4",
3
+ "version": "0.1.5",
4
4
  "description": "Multi-hop payment routing over Omnia channels — single-token and cross-token paths",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -17,26 +17,22 @@
17
17
  "LICENSE"
18
18
  ],
19
19
  "dependencies": {
20
- "@totemsdk/core": "1.0.9"
20
+ "@totemsdk/core": "^1.2.7"
21
21
  },
22
22
  "peerDependencies": {
23
- "@totemsdk/omnia": ">=0.1.3",
24
- "@totemsdk/omnia-hyperswarm": ">=0.2.0"
23
+ "@totemsdk/omnia": "^0.1.9"
25
24
  },
26
25
  "peerDependenciesMeta": {
27
26
  "@totemsdk/omnia": {
28
27
  "optional": true
29
- },
30
- "@totemsdk/omnia-hyperswarm": {
31
- "optional": true
32
28
  }
33
29
  },
34
30
  "devDependencies": {
35
- "@types/jest": "^29.0.0",
31
+ "@types/jest": "^30.0.0",
36
32
  "@types/node": "^20.0.0",
37
- "jest": "^29.0.0",
33
+ "jest": "^30.4.2",
38
34
  "ts-jest": "^29.0.0",
39
- "typescript": "^5.0.0"
35
+ "typescript": "^7.0.2"
40
36
  },
41
37
  "engines": {
42
38
  "node": ">=18.0.0"
@@ -46,14 +42,14 @@
46
42
  },
47
43
  "license": "MIT",
48
44
  "author": "Totem SDK",
49
- "homepage": "https://totemsdk.com",
45
+ "homepage": "https://totem.ing",
50
46
  "bugs": {
51
- "url": "https://github.com/MrGheek/axia-totem/issues"
47
+ "url": "https://github.com/totem-sdk/totem-sdk/issues"
52
48
  },
53
49
  "repository": {
54
50
  "type": "git",
55
- "url": "git+https://github.com/MrGheek/axia-totem.git",
56
- "directory": "packages/totem-sdk/packages/omnia-router"
51
+ "url": "git+https://github.com/totem-sdk/totem-sdk.git",
52
+ "directory": "packages/omnia-router"
57
53
  },
58
54
  "keywords": [
59
55
  "totem",
@@ -62,7 +58,6 @@
62
58
  "blockchain",
63
59
  "quantum-resistant",
64
60
  "wots",
65
- "kissvm",
66
61
  "utxo",
67
62
  "omnia",
68
63
  "payment-channel",
@@ -75,7 +70,8 @@
75
70
  ],
76
71
  "scripts": {
77
72
  "build": "tsc",
78
- "clean": "rm -rf dist",
79
- "test": "node ../../node_modules/jest/bin/jest.js --config jest.config.cjs --passWithNoTests"
73
+ "build:go": "cd go && go build -o ../bin/omnia-router ./cmd/omnia-router",
74
+ "clean": "rm -rf dist bin",
75
+ "test": "jest"
80
76
  }
81
77
  }