@xyo-network/chain-api 1.7.6 → 1.7.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/README.md +53 -3
- package/package.json +37 -37
package/README.md
CHANGED
|
@@ -8,13 +8,63 @@
|
|
|
8
8
|
[![npm-license-badge][]](LICENSE)
|
|
9
9
|
[![socket-badge][]][socket-link]
|
|
10
10
|
|
|
11
|
-
Version: 1.7.3
|
|
12
|
-
|
|
13
11
|
XYO Layer One API
|
|
14
12
|
|
|
15
13
|
## Documentation
|
|
16
14
|
|
|
17
|
-
|
|
15
|
+
## Reference
|
|
16
|
+
|
|
17
|
+
**@xyo-network/chain-api**
|
|
18
|
+
|
|
19
|
+
***
|
|
20
|
+
|
|
21
|
+
## Functions
|
|
22
|
+
|
|
23
|
+
- [getApp](#functions/getApp)
|
|
24
|
+
- [getServer](#functions/getServer)
|
|
25
|
+
|
|
26
|
+
### functions
|
|
27
|
+
|
|
28
|
+
### <a id="getApp"></a>getApp
|
|
29
|
+
|
|
30
|
+
[**@xyo-network/chain-api**](#../README)
|
|
31
|
+
|
|
32
|
+
***
|
|
33
|
+
|
|
34
|
+
```ts
|
|
35
|
+
function getApp(node): Express;
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
## Parameters
|
|
39
|
+
|
|
40
|
+
### node
|
|
41
|
+
|
|
42
|
+
`NodeInstance`
|
|
43
|
+
|
|
44
|
+
## Returns
|
|
45
|
+
|
|
46
|
+
`Express`
|
|
47
|
+
|
|
48
|
+
### <a id="getServer"></a>getServer
|
|
49
|
+
|
|
50
|
+
[**@xyo-network/chain-api**](#../README)
|
|
51
|
+
|
|
52
|
+
***
|
|
53
|
+
|
|
54
|
+
```ts
|
|
55
|
+
function getServer(context): Promise<Server<typeof IncomingMessage, typeof ServerResponse>>;
|
|
56
|
+
```
|
|
57
|
+
|
|
58
|
+
## Parameters
|
|
59
|
+
|
|
60
|
+
### context
|
|
61
|
+
|
|
62
|
+
`GetServerContext`
|
|
63
|
+
|
|
64
|
+
## Returns
|
|
65
|
+
|
|
66
|
+
`Promise`\<`Server`\<*typeof* `IncomingMessage`, *typeof* `ServerResponse`\>\>
|
|
67
|
+
|
|
18
68
|
|
|
19
69
|
## Maintainers
|
|
20
70
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xyo-network/chain-api",
|
|
3
|
-
"version": "1.7.
|
|
3
|
+
"version": "1.7.8",
|
|
4
4
|
"description": "XYO Layer One API",
|
|
5
5
|
"homepage": "https://xylabs.com",
|
|
6
6
|
"bugs": {
|
|
@@ -43,34 +43,34 @@
|
|
|
43
43
|
"@opentelemetry/instrumentation": "^0.203.0",
|
|
44
44
|
"@opentelemetry/instrumentation-express": "^0.52.0",
|
|
45
45
|
"@opentelemetry/instrumentation-http": "^0.203.0",
|
|
46
|
-
"@xylabs/assert": "^4.13.
|
|
47
|
-
"@xylabs/creatable": "^4.13.
|
|
48
|
-
"@xylabs/express": "^4.13.
|
|
49
|
-
"@xylabs/hex": "^4.13.
|
|
50
|
-
"@xylabs/logger": "^4.13.
|
|
51
|
-
"@xylabs/mongo": "^4.13.
|
|
52
|
-
"@xylabs/typeof": "^4.13.
|
|
53
|
-
"@xyo-network/archivist-memory": "^4.1.
|
|
54
|
-
"@xyo-network/archivist-mongodb": "^4.1.
|
|
55
|
-
"@xyo-network/archivist-view": "^4.1.
|
|
46
|
+
"@xylabs/assert": "^4.13.21",
|
|
47
|
+
"@xylabs/creatable": "^4.13.21",
|
|
48
|
+
"@xylabs/express": "^4.13.21",
|
|
49
|
+
"@xylabs/hex": "^4.13.21",
|
|
50
|
+
"@xylabs/logger": "^4.13.21",
|
|
51
|
+
"@xylabs/mongo": "^4.13.21",
|
|
52
|
+
"@xylabs/typeof": "^4.13.21",
|
|
53
|
+
"@xyo-network/archivist-memory": "^4.1.5",
|
|
54
|
+
"@xyo-network/archivist-mongodb": "^4.1.5",
|
|
55
|
+
"@xyo-network/archivist-view": "^4.1.5",
|
|
56
56
|
"@xyo-network/bios": "^6.0.5",
|
|
57
|
-
"@xyo-network/boundwitness-model": "^4.1.
|
|
58
|
-
"@xyo-network/chain-modules": "^1.7.
|
|
59
|
-
"@xyo-network/chain-protocol": "^1.7.
|
|
60
|
-
"@xyo-network/chain-rpc": "^1.7.
|
|
61
|
-
"@xyo-network/chain-telemetry": "^1.7.
|
|
62
|
-
"@xyo-network/manifest-model": "^4.1.
|
|
63
|
-
"@xyo-network/manifest-wrapper": "^4.1.
|
|
64
|
-
"@xyo-network/module-abstract": "^4.1.
|
|
65
|
-
"@xyo-network/module-abstract-mongodb": "^4.1.
|
|
66
|
-
"@xyo-network/module-factory-locator": "^4.1.
|
|
67
|
-
"@xyo-network/module-model": "^4.1.
|
|
68
|
-
"@xyo-network/node-model": "^4.1.
|
|
69
|
-
"@xyo-network/payload-model": "^4.1.
|
|
70
|
-
"@xyo-network/sentinel-memory": "^4.1.
|
|
71
|
-
"@xyo-network/wallet": "^4.1.
|
|
72
|
-
"@xyo-network/wallet-model": "^4.1.
|
|
73
|
-
"@xyo-network/xl1-rpc": "^1.7.
|
|
57
|
+
"@xyo-network/boundwitness-model": "^4.1.5",
|
|
58
|
+
"@xyo-network/chain-modules": "^1.7.8",
|
|
59
|
+
"@xyo-network/chain-protocol": "^1.7.8",
|
|
60
|
+
"@xyo-network/chain-rpc": "^1.7.8",
|
|
61
|
+
"@xyo-network/chain-telemetry": "^1.7.8",
|
|
62
|
+
"@xyo-network/manifest-model": "^4.1.5",
|
|
63
|
+
"@xyo-network/manifest-wrapper": "^4.1.5",
|
|
64
|
+
"@xyo-network/module-abstract": "^4.1.5",
|
|
65
|
+
"@xyo-network/module-abstract-mongodb": "^4.1.5",
|
|
66
|
+
"@xyo-network/module-factory-locator": "^4.1.5",
|
|
67
|
+
"@xyo-network/module-model": "^4.1.5",
|
|
68
|
+
"@xyo-network/node-model": "^4.1.5",
|
|
69
|
+
"@xyo-network/payload-model": "^4.1.5",
|
|
70
|
+
"@xyo-network/sentinel-memory": "^4.1.5",
|
|
71
|
+
"@xyo-network/wallet": "^4.1.5",
|
|
72
|
+
"@xyo-network/wallet-model": "^4.1.5",
|
|
73
|
+
"@xyo-network/xl1-rpc": "^1.7.8",
|
|
74
74
|
"compression": "^1.8.1",
|
|
75
75
|
"cors": "^2.8.5",
|
|
76
76
|
"express": "^5.1.0",
|
|
@@ -82,19 +82,19 @@
|
|
|
82
82
|
"@types/cors": "^2.8.19",
|
|
83
83
|
"@types/express": "5.0.3",
|
|
84
84
|
"@types/node": "^24.0.14",
|
|
85
|
-
"@xylabs/base": "^4.13.
|
|
86
|
-
"@xylabs/object": "^4.13.
|
|
85
|
+
"@xylabs/base": "^4.13.21",
|
|
86
|
+
"@xylabs/object": "^4.13.21",
|
|
87
87
|
"@xylabs/ts-scripts-yarn3": "^7.0.0",
|
|
88
88
|
"@xylabs/tsconfig": "^7.0.0",
|
|
89
|
-
"@xyo-network/account": "^4.1.
|
|
90
|
-
"@xyo-network/account-model": "^4.1.
|
|
91
|
-
"@xyo-network/archivist-abstract": "^4.1.
|
|
89
|
+
"@xyo-network/account": "^4.1.5",
|
|
90
|
+
"@xyo-network/account-model": "^4.1.5",
|
|
91
|
+
"@xyo-network/archivist-abstract": "^4.1.5",
|
|
92
92
|
"@xyo-network/bios-model": "^6.0.5",
|
|
93
|
-
"@xyo-network/boundwitness-builder": "^4.1.
|
|
94
|
-
"@xyo-network/node-memory": "^4.1.
|
|
95
|
-
"@xyo-network/xl1-protocol-sdk": "^1.7.
|
|
93
|
+
"@xyo-network/boundwitness-builder": "^4.1.5",
|
|
94
|
+
"@xyo-network/node-memory": "^4.1.5",
|
|
95
|
+
"@xyo-network/xl1-protocol-sdk": "^1.7.8",
|
|
96
96
|
"dotenv": "^17.2.0",
|
|
97
|
-
"knip": "^5.
|
|
97
|
+
"knip": "^5.62.0",
|
|
98
98
|
"nodemon": "^3.1.10",
|
|
99
99
|
"typescript": "^5.8.3",
|
|
100
100
|
"vitest": "^3.2.4",
|