@xyo-network/chain-api 1.6.6 → 1.7.0
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/dist/node/driver/mongo/spec/MongoMap.spec.d.ts +2 -0
- package/dist/node/driver/mongo/spec/MongoMap.spec.d.ts.map +1 -0
- package/dist/node/index.d.ts +19 -0
- package/dist/node/manifest/public/spec/Node.spec.d.ts +2 -0
- package/dist/node/manifest/public/spec/Node.spec.d.ts.map +1 -0
- package/dist/{types → node}/server/routes/address/get/get.d.ts +1 -1
- package/dist/{types → node}/server/routes/address/get/get.d.ts.map +1 -1
- package/dist/{types → node}/server/routes/address/post/post.d.ts +1 -1
- package/dist/{types → node}/server/routes/address/post/post.d.ts.map +1 -1
- package/package.json +43 -43
- package/xy.config.ts +1 -1
- package/dist/types/index.d.ts +0 -2
- /package/dist/{types → node}/driver/index.d.ts +0 -0
- /package/dist/{types → node}/driver/index.d.ts.map +0 -0
- /package/dist/{types → node}/driver/mongo/MongoMap.d.ts +0 -0
- /package/dist/{types → node}/driver/mongo/MongoMap.d.ts.map +0 -0
- /package/dist/{types → node}/driver/mongo/index.d.ts +0 -0
- /package/dist/{types → node}/driver/mongo/index.d.ts.map +0 -0
- /package/dist/{types → node}/index.d.ts.map +0 -0
- /package/dist/{types → node}/manifest/getLocator.d.ts +0 -0
- /package/dist/{types → node}/manifest/getLocator.d.ts.map +0 -0
- /package/dist/{types → node}/manifest/getNode.d.ts +0 -0
- /package/dist/{types → node}/manifest/getNode.d.ts.map +0 -0
- /package/dist/{types → node}/manifest/index.d.ts +0 -0
- /package/dist/{types → node}/manifest/index.d.ts.map +0 -0
- /package/dist/{types → node}/manifest/nodeManifest.d.ts +0 -0
- /package/dist/{types → node}/manifest/nodeManifest.d.ts.map +0 -0
- /package/dist/{types → node}/manifest/private/index.d.ts +0 -0
- /package/dist/{types → node}/manifest/private/index.d.ts.map +0 -0
- /package/dist/{types → node}/manifest/public/index.d.ts +0 -0
- /package/dist/{types → node}/manifest/public/index.d.ts.map +0 -0
- /package/dist/{types → node}/server/app.d.ts +0 -0
- /package/dist/{types → node}/server/app.d.ts.map +0 -0
- /package/dist/{types → node}/server/index.d.ts +0 -0
- /package/dist/{types → node}/server/index.d.ts.map +0 -0
- /package/dist/{types → node}/server/instrumentation.d.ts +0 -0
- /package/dist/{types → node}/server/instrumentation.d.ts.map +0 -0
- /package/dist/{types → node}/server/routes/addRoutes.d.ts +0 -0
- /package/dist/{types → node}/server/routes/addRoutes.d.ts.map +0 -0
- /package/dist/{types → node}/server/routes/address/AddressPathParams.d.ts +0 -0
- /package/dist/{types → node}/server/routes/address/AddressPathParams.d.ts.map +0 -0
- /package/dist/{types → node}/server/routes/address/addNodeRoutes.d.ts +0 -0
- /package/dist/{types → node}/server/routes/address/addNodeRoutes.d.ts.map +0 -0
- /package/dist/{types → node}/server/routes/address/get/index.d.ts +0 -0
- /package/dist/{types → node}/server/routes/address/get/index.d.ts.map +0 -0
- /package/dist/{types → node}/server/routes/address/index.d.ts +0 -0
- /package/dist/{types → node}/server/routes/address/index.d.ts.map +0 -0
- /package/dist/{types → node}/server/routes/address/post/getQueryConfig.d.ts +0 -0
- /package/dist/{types → node}/server/routes/address/post/getQueryConfig.d.ts.map +0 -0
- /package/dist/{types → node}/server/routes/address/post/index.d.ts +0 -0
- /package/dist/{types → node}/server/routes/address/post/index.d.ts.map +0 -0
- /package/dist/{types → node}/server/routes/healthz/get.d.ts +0 -0
- /package/dist/{types → node}/server/routes/healthz/get.d.ts.map +0 -0
- /package/dist/{types → node}/server/routes/healthz/index.d.ts +0 -0
- /package/dist/{types → node}/server/routes/healthz/index.d.ts.map +0 -0
- /package/dist/{types → node}/server/routes/index.d.ts +0 -0
- /package/dist/{types → node}/server/routes/index.d.ts.map +0 -0
- /package/dist/{types → node}/server/routes/rpc/index.d.ts +0 -0
- /package/dist/{types → node}/server/routes/rpc/index.d.ts.map +0 -0
- /package/dist/{types → node}/server/routes/rpc/routes/addRpcRoutes.d.ts +0 -0
- /package/dist/{types → node}/server/routes/rpc/routes/addRpcRoutes.d.ts.map +0 -0
- /package/dist/{types → node}/server/routes/rpc/routes/index.d.ts +0 -0
- /package/dist/{types → node}/server/routes/rpc/routes/index.d.ts.map +0 -0
- /package/dist/{types → node}/server/server.d.ts +0 -0
- /package/dist/{types → node}/server/server.d.ts.map +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MongoMap.spec.d.ts","sourceRoot":"","sources":["../../../../../src/driver/mongo/spec/MongoMap.spec.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { NodeInstance } from '@xyo-network/node-model';
|
|
2
|
+
import { Express } from 'express';
|
|
3
|
+
import * as http from 'node:http';
|
|
4
|
+
import { Logger } from '@xylabs/logger';
|
|
5
|
+
|
|
6
|
+
declare const getApp: (node: NodeInstance) => Express;
|
|
7
|
+
|
|
8
|
+
declare const getServer: (port?: number, node?: NodeInstance, logger?: Logger) => Promise<http.Server<typeof http.IncomingMessage, typeof http.ServerResponse>>;
|
|
9
|
+
|
|
10
|
+
declare global {
|
|
11
|
+
namespace Express {
|
|
12
|
+
interface Application {
|
|
13
|
+
node: NodeInstance;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
//# sourceMappingURL=index.d.ts.map
|
|
18
|
+
|
|
19
|
+
export { getApp, getServer };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Node.spec.d.ts","sourceRoot":"","sources":["../../../../../src/manifest/public/spec/Node.spec.ts"],"names":[],"mappings":""}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import type { Payload } from '@xyo-network/payload-model';
|
|
2
2
|
import type { AddressPathParams } from '../AddressPathParams.ts';
|
|
3
|
-
export declare const getAddress: (req: import("express").Request<AddressPathParams, Payload[], any, import("qs").ParsedQs, Record<string, any>>, res: import("express").Response<Payload[], Record<string, any>>, next: import("express").NextFunction) => Promise<
|
|
3
|
+
export declare const getAddress: (req: import("express").Request<AddressPathParams, Payload[], any, import("qs").ParsedQs, Record<string, any>>, res: import("express").Response<Payload[], Record<string, any>>, next: import("express").NextFunction) => Promise<void>;
|
|
4
4
|
//# sourceMappingURL=get.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get.d.ts","sourceRoot":"","sources":["../../../../../../src/server/routes/address/get/get.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAIzD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAA;AAwBhE,eAAO,MAAM,UAAU,
|
|
1
|
+
{"version":3,"file":"get.d.ts","sourceRoot":"","sources":["../../../../../../src/server/routes/address/get/get.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAIzD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAA;AAwBhE,eAAO,MAAM,UAAU,yOAAwB,CAAA"}
|
|
@@ -3,6 +3,6 @@ import type { ModuleQueryResult } from '@xyo-network/module-model';
|
|
|
3
3
|
import type { ModuleError, Payload } from '@xyo-network/payload-model';
|
|
4
4
|
import type { AddressPathParams } from '../AddressPathParams.ts';
|
|
5
5
|
type PostAddressRequestBody = [QueryBoundWitness, undefined | Payload[]];
|
|
6
|
-
export declare const postAddress: (req: import("express").Request<AddressPathParams, ModuleError | ModuleQueryResult, PostAddressRequestBody, import("qs").ParsedQs, Record<string, any>>, res: import("express").Response<ModuleError | ModuleQueryResult, Record<string, any>>, next: import("express").NextFunction) => Promise<
|
|
6
|
+
export declare const postAddress: (req: import("express").Request<AddressPathParams, ModuleError | ModuleQueryResult, PostAddressRequestBody, import("qs").ParsedQs, Record<string, any>>, res: import("express").Response<ModuleError | ModuleQueryResult, Record<string, any>>, next: import("express").NextFunction) => Promise<void>;
|
|
7
7
|
export {};
|
|
8
8
|
//# sourceMappingURL=post.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"post.d.ts","sourceRoot":"","sources":["../../../../../../src/server/routes/address/post/post.ts"],"names":[],"mappings":"AAOA,OAAO,EAAuB,KAAK,iBAAiB,EAAE,MAAM,iCAAiC,CAAA;AAE7F,OAAO,KAAK,EAAkB,iBAAiB,EAAE,MAAM,2BAA2B,CAAA;AAClF,OAAO,KAAK,EAAE,WAAW,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAItE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAA;AAGhE,KAAK,sBAAsB,GAAG,CAAC,iBAAiB,EAAE,SAAS,GAAG,OAAO,EAAE,CAAC,CAAA;AA2DxE,eAAO,MAAM,WAAW,
|
|
1
|
+
{"version":3,"file":"post.d.ts","sourceRoot":"","sources":["../../../../../../src/server/routes/address/post/post.ts"],"names":[],"mappings":"AAOA,OAAO,EAAuB,KAAK,iBAAiB,EAAE,MAAM,iCAAiC,CAAA;AAE7F,OAAO,KAAK,EAAkB,iBAAiB,EAAE,MAAM,2BAA2B,CAAA;AAClF,OAAO,KAAK,EAAE,WAAW,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAItE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAA;AAGhE,KAAK,sBAAsB,GAAG,CAAC,iBAAiB,EAAE,SAAS,GAAG,OAAO,EAAE,CAAC,CAAA;AA2DxE,eAAO,MAAM,WAAW,wSAAwB,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xyo-network/chain-api",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.7.0",
|
|
4
4
|
"description": "XYO Layer One API",
|
|
5
5
|
"homepage": "https://xylabs.com",
|
|
6
6
|
"bugs": {
|
|
@@ -21,14 +21,14 @@
|
|
|
21
21
|
"type": "module",
|
|
22
22
|
"exports": {
|
|
23
23
|
".": {
|
|
24
|
-
"types": "./dist/
|
|
24
|
+
"types": "./dist/node/index.d.ts",
|
|
25
25
|
"default": "./dist/node/index.mjs"
|
|
26
26
|
},
|
|
27
27
|
"./package.json": "./package.json",
|
|
28
28
|
"./README.md": "./README.md"
|
|
29
29
|
},
|
|
30
30
|
"module": "dist/node/index.mjs",
|
|
31
|
-
"types": "dist/
|
|
31
|
+
"types": "dist/node/index.d.ts",
|
|
32
32
|
"scripts": {
|
|
33
33
|
"build-tests": "tsc --noEmit --lib dom,esnext",
|
|
34
34
|
"deploy": "echo Deploy not allowed!",
|
|
@@ -43,36 +43,35 @@
|
|
|
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/
|
|
48
|
-
"@xylabs/
|
|
49
|
-
"@xylabs/
|
|
50
|
-
"@xylabs/
|
|
51
|
-
"@xylabs/
|
|
52
|
-
"@xylabs/
|
|
53
|
-
"@
|
|
54
|
-
"@xyo-network/archivist-
|
|
55
|
-
"@xyo-network/archivist-
|
|
56
|
-
"@xyo-network/
|
|
57
|
-
"@xyo-network/
|
|
58
|
-
"@xyo-network/
|
|
59
|
-
"@xyo-network/chain-
|
|
60
|
-
"@xyo-network/chain-
|
|
61
|
-
"@xyo-network/chain-
|
|
62
|
-
"@xyo-network/chain-
|
|
63
|
-
"@xyo-network/
|
|
64
|
-
"@xyo-network/manifest-
|
|
65
|
-
"@xyo-network/
|
|
66
|
-
"@xyo-network/module-abstract": "^4.
|
|
67
|
-
"@xyo-network/module-
|
|
68
|
-
"@xyo-network/module-
|
|
69
|
-
"@xyo-network/
|
|
70
|
-
"@xyo-network/
|
|
71
|
-
"@xyo-network/
|
|
72
|
-
"@xyo-network/
|
|
73
|
-
"@xyo-network/wallet": "^4.
|
|
74
|
-
"@xyo-network/
|
|
75
|
-
"@xyo-network/xl1-rpc": "^1.6.5",
|
|
46
|
+
"@xylabs/assert": "^4.13.15",
|
|
47
|
+
"@xylabs/creatable": "^4.13.15",
|
|
48
|
+
"@xylabs/express": "^4.13.15",
|
|
49
|
+
"@xylabs/hex": "^4.13.15",
|
|
50
|
+
"@xylabs/logger": "^4.13.15",
|
|
51
|
+
"@xylabs/mongo": "^4.13.15",
|
|
52
|
+
"@xylabs/typeof": "^4.13.15",
|
|
53
|
+
"@xyo-network/archivist-memory": "^4.1.1",
|
|
54
|
+
"@xyo-network/archivist-mongodb": "^4.1.1",
|
|
55
|
+
"@xyo-network/archivist-view": "^4.1.1",
|
|
56
|
+
"@xyo-network/bios": "^6.0.4",
|
|
57
|
+
"@xyo-network/boundwitness-model": "^4.1.1",
|
|
58
|
+
"@xyo-network/chain-modules": "^1.7.0",
|
|
59
|
+
"@xyo-network/chain-protocol": "^1.7.0",
|
|
60
|
+
"@xyo-network/chain-rpc": "^1.7.0",
|
|
61
|
+
"@xyo-network/chain-services": "^1.7.0",
|
|
62
|
+
"@xyo-network/chain-telemetry": "^1.7.0",
|
|
63
|
+
"@xyo-network/manifest-model": "^4.1.1",
|
|
64
|
+
"@xyo-network/manifest-wrapper": "^4.1.1",
|
|
65
|
+
"@xyo-network/module-abstract": "^4.1.1",
|
|
66
|
+
"@xyo-network/module-abstract-mongodb": "^4.1.1",
|
|
67
|
+
"@xyo-network/module-factory-locator": "^4.1.1",
|
|
68
|
+
"@xyo-network/module-model": "^4.1.1",
|
|
69
|
+
"@xyo-network/node-model": "^4.1.1",
|
|
70
|
+
"@xyo-network/payload-model": "^4.1.1",
|
|
71
|
+
"@xyo-network/sentinel-memory": "^4.1.1",
|
|
72
|
+
"@xyo-network/wallet": "^4.1.1",
|
|
73
|
+
"@xyo-network/wallet-model": "^4.1.1",
|
|
74
|
+
"@xyo-network/xl1-rpc": "^1.7.0",
|
|
76
75
|
"compression": "^1.8.0",
|
|
77
76
|
"cors": "^2.8.5",
|
|
78
77
|
"express": "^5.1.0",
|
|
@@ -84,16 +83,17 @@
|
|
|
84
83
|
"@types/cors": "^2.8.19",
|
|
85
84
|
"@types/express": "5.0.3",
|
|
86
85
|
"@types/node": "^24.0.13",
|
|
87
|
-
"@xylabs/
|
|
88
|
-
"@xylabs/
|
|
89
|
-
"@xylabs/
|
|
90
|
-
"@
|
|
91
|
-
"@xyo-network/account
|
|
92
|
-
"@xyo-network/
|
|
93
|
-
"@xyo-network/
|
|
94
|
-
"@xyo-network/
|
|
95
|
-
"@xyo-network/
|
|
96
|
-
"@xyo-network/
|
|
86
|
+
"@xylabs/base": "^4.13.15",
|
|
87
|
+
"@xylabs/object": "^4.13.15",
|
|
88
|
+
"@xylabs/ts-scripts-yarn3": "^7.0.0-rc.23",
|
|
89
|
+
"@xylabs/tsconfig": "^7.0.0-rc.23",
|
|
90
|
+
"@xyo-network/account": "^4.1.1",
|
|
91
|
+
"@xyo-network/account-model": "^4.1.1",
|
|
92
|
+
"@xyo-network/archivist-abstract": "^4.1.1",
|
|
93
|
+
"@xyo-network/bios-model": "^6.0.4",
|
|
94
|
+
"@xyo-network/boundwitness-builder": "^4.1.1",
|
|
95
|
+
"@xyo-network/node-memory": "^4.1.1",
|
|
96
|
+
"@xyo-network/xl1-protocol-sdk": "^1.7.0",
|
|
97
97
|
"dotenv": "^17.2.0",
|
|
98
98
|
"knip": "^5.61.3",
|
|
99
99
|
"nodemon": "^3.1.10",
|
package/xy.config.ts
CHANGED
package/dist/types/index.d.ts
DELETED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|