@xyo-network/chain-mempool 1.16.15 → 1.16.17
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/chain-mempool",
|
|
3
|
-
"version": "1.16.
|
|
3
|
+
"version": "1.16.17",
|
|
4
4
|
"description": "XYO Layer One API",
|
|
5
5
|
"homepage": "https://xylabs.com",
|
|
6
6
|
"bugs": {
|
|
@@ -33,7 +33,10 @@
|
|
|
33
33
|
"types": "./dist/node/index.d.ts",
|
|
34
34
|
"files": [
|
|
35
35
|
"dist",
|
|
36
|
-
"src"
|
|
36
|
+
"src",
|
|
37
|
+
"!**/*.bench.*",
|
|
38
|
+
"!**/*.spec.*",
|
|
39
|
+
"!**/*.test.*"
|
|
37
40
|
],
|
|
38
41
|
"scripts": {
|
|
39
42
|
"build-tests": "tsc --noEmit --lib dom,esnext",
|
|
@@ -57,8 +60,8 @@
|
|
|
57
60
|
"@xyo-network/archivist-view": "~5.1.23",
|
|
58
61
|
"@xyo-network/bios": "~7.1.1",
|
|
59
62
|
"@xyo-network/boundwitness-model": "~5.1.23",
|
|
60
|
-
"@xyo-network/chain-modules": "~1.16.
|
|
61
|
-
"@xyo-network/chain-telemetry": "~1.16.
|
|
63
|
+
"@xyo-network/chain-modules": "~1.16.17",
|
|
64
|
+
"@xyo-network/chain-telemetry": "~1.16.17",
|
|
62
65
|
"@xyo-network/manifest-model": "~5.1.23",
|
|
63
66
|
"@xyo-network/manifest-wrapper": "~5.1.23",
|
|
64
67
|
"@xyo-network/module-abstract": "~5.1.23",
|
|
@@ -70,7 +73,7 @@
|
|
|
70
73
|
"@xyo-network/sentinel-memory": "~5.1.23",
|
|
71
74
|
"@xyo-network/wallet": "~5.1.23",
|
|
72
75
|
"@xyo-network/wallet-model": "~5.1.23",
|
|
73
|
-
"@xyo-network/xl1-protocol-sdk": "~1.16.
|
|
76
|
+
"@xyo-network/xl1-protocol-sdk": "~1.16.17",
|
|
74
77
|
"compression": "~1.8.1",
|
|
75
78
|
"cors": "~2.8.5",
|
|
76
79
|
"express": "~5.1.0",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Node.spec.d.ts","sourceRoot":"","sources":["../../../../../src/manifest/public/spec/Node.spec.ts"],"names":[],"mappings":""}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import type { MemoryNode } from '@xyo-network/node-memory'
|
|
2
|
-
import { HDWallet } from '@xyo-network/wallet'
|
|
3
|
-
import { getDefaultConfig } from '@xyo-network/xl1-protocol-sdk'
|
|
4
|
-
import {
|
|
5
|
-
beforeAll, describe, expect,
|
|
6
|
-
it,
|
|
7
|
-
} from 'vitest'
|
|
8
|
-
|
|
9
|
-
import { getNode, GetNodeContext } from '../../getNode.ts'
|
|
10
|
-
import { SilentLogger } from '@xylabs/sdk-js'
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* @group manifest
|
|
14
|
-
*/
|
|
15
|
-
describe('Node', () => {
|
|
16
|
-
let node: MemoryNode
|
|
17
|
-
let context: GetNodeContext
|
|
18
|
-
|
|
19
|
-
beforeAll(async () => {
|
|
20
|
-
const config = getDefaultConfig()
|
|
21
|
-
const logger = new SilentLogger()
|
|
22
|
-
const wallet = await HDWallet.random()
|
|
23
|
-
context = {
|
|
24
|
-
config, logger, wallet,
|
|
25
|
-
}
|
|
26
|
-
// Create a node with the default configuration
|
|
27
|
-
node = await getNode(context)
|
|
28
|
-
})
|
|
29
|
-
it('should return node', () => {
|
|
30
|
-
expect(node).toBeDefined()
|
|
31
|
-
})
|
|
32
|
-
})
|