@xyo-network/bridge-http-express 5.3.6 → 5.3.8
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 +20 -20
- package/src/spec/HttpBridge.spec.ts +3 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xyo-network/bridge-http-express",
|
|
3
|
-
"version": "5.3.
|
|
3
|
+
"version": "5.3.8",
|
|
4
4
|
"description": "Primary SDK for using XYO Protocol 2.0",
|
|
5
5
|
"homepage": "https://xyo.network",
|
|
6
6
|
"bugs": {
|
|
@@ -36,32 +36,32 @@
|
|
|
36
36
|
"package.json"
|
|
37
37
|
],
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@xylabs/express": "~5.0.
|
|
40
|
-
"@xyo-network/boundwitness-model": "~5.3.
|
|
41
|
-
"@xyo-network/bridge-http": "~5.3.
|
|
42
|
-
"@xyo-network/bridge-model": "~5.3.
|
|
43
|
-
"@xyo-network/module-model": "~5.3.
|
|
44
|
-
"@xyo-network/payload-model": "~5.3.
|
|
39
|
+
"@xylabs/express": "~5.0.80",
|
|
40
|
+
"@xyo-network/boundwitness-model": "~5.3.8",
|
|
41
|
+
"@xyo-network/bridge-http": "~5.3.8",
|
|
42
|
+
"@xyo-network/bridge-model": "~5.3.8",
|
|
43
|
+
"@xyo-network/module-model": "~5.3.8",
|
|
44
|
+
"@xyo-network/payload-model": "~5.3.8",
|
|
45
45
|
"http-status-codes": "~2.3.0"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
48
|
"@types/express": "~5.0.6",
|
|
49
49
|
"@types/node": "^25.2.3",
|
|
50
|
-
"@xylabs/sdk-js": "^5.0.
|
|
50
|
+
"@xylabs/sdk-js": "^5.0.80",
|
|
51
51
|
"@xylabs/ts-scripts-yarn3": "~7.3.2",
|
|
52
52
|
"@xylabs/tsconfig": "~7.3.2",
|
|
53
|
-
"@xylabs/vitest-extended": "~5.0.
|
|
54
|
-
"@xyo-network/api-models": "~5.3.
|
|
55
|
-
"@xyo-network/archivist-model": "~5.3.
|
|
56
|
-
"@xyo-network/bridge-abstract": "~5.3.
|
|
57
|
-
"@xyo-network/bridge-pub-sub": "~5.3.
|
|
58
|
-
"@xyo-network/diviner-model": "~5.3.
|
|
59
|
-
"@xyo-network/module-resolver": "~5.3.
|
|
60
|
-
"@xyo-network/node-memory": "~5.3.
|
|
61
|
-
"@xyo-network/node-model": "~5.3.
|
|
62
|
-
"@xyo-network/payload-builder": "~5.3.
|
|
63
|
-
"@xyo-network/payload-wrapper": "~5.3.
|
|
64
|
-
"@xyo-network/wallet": "~5.3.
|
|
53
|
+
"@xylabs/vitest-extended": "~5.0.80",
|
|
54
|
+
"@xyo-network/api-models": "~5.3.8",
|
|
55
|
+
"@xyo-network/archivist-model": "~5.3.8",
|
|
56
|
+
"@xyo-network/bridge-abstract": "~5.3.8",
|
|
57
|
+
"@xyo-network/bridge-pub-sub": "~5.3.8",
|
|
58
|
+
"@xyo-network/diviner-model": "~5.3.8",
|
|
59
|
+
"@xyo-network/module-resolver": "~5.3.8",
|
|
60
|
+
"@xyo-network/node-memory": "~5.3.8",
|
|
61
|
+
"@xyo-network/node-model": "~5.3.8",
|
|
62
|
+
"@xyo-network/payload-builder": "~5.3.8",
|
|
63
|
+
"@xyo-network/payload-wrapper": "~5.3.8",
|
|
64
|
+
"@xyo-network/wallet": "~5.3.8",
|
|
65
65
|
"axios": "^1.13.5",
|
|
66
66
|
"express": "^5.2.1",
|
|
67
67
|
"get-port-please": "~3.2.0",
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
} from '@xyo-network/archivist-model'
|
|
14
14
|
import type { ModuleDescriptionPayload } from '@xyo-network/module-model'
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
isModuleInstance, isQueryableModule, isQueryableModuleObject,
|
|
17
17
|
ModuleDescriptionSchema,
|
|
18
18
|
} from '@xyo-network/module-model'
|
|
19
19
|
import { MemoryNode } from '@xyo-network/node-memory'
|
|
@@ -162,8 +162,8 @@ describe('HttpBridgeExpress', () => {
|
|
|
162
162
|
const mod = await bridge.resolve('XYOPublic')
|
|
163
163
|
|
|
164
164
|
expect(mod).toBeDefined()
|
|
165
|
-
expect(
|
|
166
|
-
expect(
|
|
165
|
+
expect(isQueryableModule(mod)).toBeTrue()
|
|
166
|
+
expect(isQueryableModuleObject(mod)).toBeTrue()
|
|
167
167
|
|
|
168
168
|
const remoteNode = asAttachableNodeInstance(
|
|
169
169
|
mod,
|