@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.
Files changed (2) hide show
  1. package/README.md +53 -3
  2. 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
- [TypeDoc Generated Documentation](https://gitbook.xyo.network/xyo-data-lab/xyo-reference/package-documentation/xyo-network__chain-api)
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.6",
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.19",
47
- "@xylabs/creatable": "^4.13.19",
48
- "@xylabs/express": "^4.13.19",
49
- "@xylabs/hex": "^4.13.19",
50
- "@xylabs/logger": "^4.13.19",
51
- "@xylabs/mongo": "^4.13.19",
52
- "@xylabs/typeof": "^4.13.19",
53
- "@xyo-network/archivist-memory": "^4.1.4",
54
- "@xyo-network/archivist-mongodb": "^4.1.4",
55
- "@xyo-network/archivist-view": "^4.1.4",
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.4",
58
- "@xyo-network/chain-modules": "^1.7.6",
59
- "@xyo-network/chain-protocol": "^1.7.6",
60
- "@xyo-network/chain-rpc": "^1.7.6",
61
- "@xyo-network/chain-telemetry": "^1.7.6",
62
- "@xyo-network/manifest-model": "^4.1.4",
63
- "@xyo-network/manifest-wrapper": "^4.1.4",
64
- "@xyo-network/module-abstract": "^4.1.4",
65
- "@xyo-network/module-abstract-mongodb": "^4.1.4",
66
- "@xyo-network/module-factory-locator": "^4.1.4",
67
- "@xyo-network/module-model": "^4.1.4",
68
- "@xyo-network/node-model": "^4.1.4",
69
- "@xyo-network/payload-model": "^4.1.4",
70
- "@xyo-network/sentinel-memory": "^4.1.4",
71
- "@xyo-network/wallet": "^4.1.4",
72
- "@xyo-network/wallet-model": "^4.1.4",
73
- "@xyo-network/xl1-rpc": "^1.7.6",
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.19",
86
- "@xylabs/object": "^4.13.19",
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.4",
90
- "@xyo-network/account-model": "^4.1.4",
91
- "@xyo-network/archivist-abstract": "^4.1.4",
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.4",
94
- "@xyo-network/node-memory": "^4.1.4",
95
- "@xyo-network/xl1-protocol-sdk": "^1.7.6",
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.61.3",
97
+ "knip": "^5.62.0",
98
98
  "nodemon": "^3.1.10",
99
99
  "typescript": "^5.8.3",
100
100
  "vitest": "^3.2.4",