@xyo-network/bridge-http-express 5.3.2 → 5.3.4

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xyo-network/bridge-http-express",
3
- "version": "5.3.2",
3
+ "version": "5.3.4",
4
4
  "description": "Primary SDK for using XYO Protocol 2.0",
5
5
  "homepage": "https://xyo.network",
6
6
  "bugs": {
@@ -36,40 +36,40 @@
36
36
  "package.json"
37
37
  ],
38
38
  "dependencies": {
39
- "@xylabs/express": "~5.0.64",
40
- "@xylabs/sdk-js": "~5.0.64",
41
- "@xyo-network/boundwitness-model": "~5.3.2",
42
- "@xyo-network/bridge-http": "~5.3.2",
43
- "@xyo-network/bridge-model": "~5.3.2",
44
- "@xyo-network/module-model": "~5.3.2",
45
- "@xyo-network/payload-model": "~5.3.2",
39
+ "@xylabs/express": "~5.0.79",
40
+ "@xyo-network/boundwitness-model": "~5.3.4",
41
+ "@xyo-network/bridge-http": "~5.3.4",
42
+ "@xyo-network/bridge-model": "~5.3.4",
43
+ "@xyo-network/module-model": "~5.3.4",
44
+ "@xyo-network/payload-model": "~5.3.4",
46
45
  "express": "~5.2.1",
47
46
  "http-status-codes": "~2.3.0"
48
47
  },
49
48
  "devDependencies": {
50
49
  "@types/express": "~5.0.6",
51
- "@types/node": "~25.0.10",
52
- "@xylabs/sdk-js": "~5.0.64",
50
+ "@types/node": "^25.2.3",
51
+ "@xylabs/sdk-js": "^5.0.79",
53
52
  "@xylabs/ts-scripts-yarn3": "~7.3.2",
54
53
  "@xylabs/tsconfig": "~7.3.2",
55
- "@xylabs/vitest-extended": "~5.0.64",
56
- "@xyo-network/api-models": "~5.3.2",
57
- "@xyo-network/archivist-model": "~5.3.2",
58
- "@xyo-network/bridge-abstract": "~5.3.2",
59
- "@xyo-network/bridge-pub-sub": "~5.3.2",
60
- "@xyo-network/diviner-model": "~5.3.2",
61
- "@xyo-network/module-resolver": "~5.3.2",
62
- "@xyo-network/node-memory": "~5.3.2",
63
- "@xyo-network/node-model": "~5.3.2",
64
- "@xyo-network/payload-builder": "~5.3.2",
65
- "@xyo-network/payload-wrapper": "~5.3.2",
66
- "@xyo-network/wallet": "~5.3.2",
54
+ "@xylabs/vitest-extended": "~5.0.79",
55
+ "@xyo-network/api-models": "~5.3.4",
56
+ "@xyo-network/archivist-model": "~5.3.4",
57
+ "@xyo-network/bridge-abstract": "~5.3.4",
58
+ "@xyo-network/bridge-pub-sub": "~5.3.4",
59
+ "@xyo-network/diviner-model": "~5.3.4",
60
+ "@xyo-network/module-resolver": "~5.3.4",
61
+ "@xyo-network/node-memory": "~5.3.4",
62
+ "@xyo-network/node-model": "~5.3.4",
63
+ "@xyo-network/payload-builder": "~5.3.4",
64
+ "@xyo-network/payload-wrapper": "~5.3.4",
65
+ "@xyo-network/wallet": "~5.3.4",
67
66
  "get-port-please": "~3.2.0",
68
67
  "typescript": "~5.9.3",
69
68
  "vitest": "~4.0.18",
70
69
  "zod": "^4.3.6"
71
70
  },
72
71
  "peerDependencies": {
72
+ "@xylabs/sdk-js": "^5",
73
73
  "zod": "^4"
74
74
  },
75
75
  "publishConfig": {
@@ -27,7 +27,7 @@ describe('HttpBridge', () => {
27
27
  const bridge = await HttpBridgeExpress.create({
28
28
  account: 'random',
29
29
  config: {
30
- nodeUrl, schema: HttpBridgeExpressConfigSchema, security: { allowAnonymous: true },
30
+ client: { url: nodeUrl }, schema: HttpBridgeExpressConfigSchema, security: { allowAnonymous: true },
31
31
  },
32
32
  })
33
33
 
@@ -16,7 +16,7 @@ describe('HttpBridgeExpress', () => {
16
16
  httpBridge = await HttpBridgeExpress.create({
17
17
  account: 'random',
18
18
  config: {
19
- name: 'TestBridge', nodeUrl: 'http://localhost:8080', schema: HttpBridgeExpressConfigSchema, security: { allowAnonymous: true },
19
+ name: 'TestBridge', client: { url: 'http://localhost:8080' }, schema: HttpBridgeExpressConfigSchema, security: { allowAnonymous: true },
20
20
  },
21
21
  })
22
22
  })
@@ -44,7 +44,7 @@ describe.skip('HttpBridge with PubSubBridge', () => {
44
44
  const bridge = await HttpBridge.create({
45
45
  account: 'random',
46
46
  config: {
47
- discoverRoots: 'start', name: 'TestBridge', nodeUrl, schema: HttpBridgeConfigSchema, security: { allowAnonymous: true },
47
+ name: 'TestBridge', client: { url: nodeUrl, discoverRoots: 'start' }, schema: HttpBridgeConfigSchema, security: { allowAnonymous: true },
48
48
  },
49
49
  })
50
50
 
@@ -25,7 +25,7 @@ describe('HttpBridgeExpress', () => {
25
25
  const bridge = await HttpBridgeExpress.create({
26
26
  account: 'random',
27
27
  config: {
28
- discoverRoots: 'start', name: 'HttpBridgeExpress', nodeUrl, schema: HttpBridgeExpressConfigSchema, security: { allowAnonymous: true },
28
+ name: 'HttpBridgeExpress', client: { url: nodeUrl, discoverRoots: 'start' }, schema: HttpBridgeExpressConfigSchema, security: { allowAnonymous: true },
29
29
  },
30
30
  })
31
31
 
@@ -77,7 +77,7 @@ describe('HttpBridgeExpress', () => {
77
77
  const bridge = await HttpBridgeExpress.create({
78
78
  account: 'random',
79
79
  config: {
80
- discoverRoots: 'start', name: 'TestBridge', nodeUrl, schema: HttpBridgeExpressConfigSchema, security: { allowAnonymous: true },
80
+ name: 'TestBridge', client: { url: nodeUrl, discoverRoots: 'start' }, schema: HttpBridgeExpressConfigSchema, security: { allowAnonymous: true },
81
81
  },
82
82
  })
83
83
 
@@ -154,7 +154,7 @@ describe('HttpBridgeExpress', () => {
154
154
  const bridge = await HttpBridgeExpress.create({
155
155
  account: 'random',
156
156
  config: {
157
- nodeUrl, schema: HttpBridgeExpressConfigSchema, security: { allowAnonymous: true },
157
+ client: { url: nodeUrl }, schema: HttpBridgeExpressConfigSchema, security: { allowAnonymous: true },
158
158
  },
159
159
  })
160
160
 
@@ -23,9 +23,8 @@ describe('HttpBridgeExpress - Xns', () => {
23
23
  const bridge = await HttpBridgeExpress.create({
24
24
  account: 'random',
25
25
  config: {
26
- discoverRoots: 'start',
27
26
  name: 'TestBridge',
28
- nodeUrl: 'https://beta.xns.xyo.network',
27
+ client: { url: 'https://beta.xns.xyo.network', discoverRoots: 'start' },
29
28
  schema: HttpBridgeExpressConfigSchema,
30
29
  security: { allowAnonymous: true },
31
30
  },