@xyo-network/modules 2.84.7 → 2.84.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 +25 -16
- package/src/spec/Sentinel.Interval.spec.json +150 -0
package/package.json
CHANGED
|
@@ -10,26 +10,35 @@
|
|
|
10
10
|
"url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js/issues"
|
|
11
11
|
},
|
|
12
12
|
"dependencies": {
|
|
13
|
-
"@xyo-network/archivist": "~2.84.
|
|
14
|
-
"@xyo-network/bridge": "~2.84.
|
|
15
|
-
"@xyo-network/diviner": "~2.84.
|
|
16
|
-
"@xyo-network/module": "~2.84.
|
|
17
|
-
"@xyo-network/node": "~2.84.
|
|
18
|
-
"@xyo-network/sentinel": "~2.84.
|
|
19
|
-
"@xyo-network/witness": "~2.84.
|
|
13
|
+
"@xyo-network/archivist": "~2.84.8",
|
|
14
|
+
"@xyo-network/bridge": "~2.84.8",
|
|
15
|
+
"@xyo-network/diviner": "~2.84.8",
|
|
16
|
+
"@xyo-network/module": "~2.84.8",
|
|
17
|
+
"@xyo-network/node": "~2.84.8",
|
|
18
|
+
"@xyo-network/sentinel": "~2.84.8",
|
|
19
|
+
"@xyo-network/witness": "~2.84.8"
|
|
20
20
|
},
|
|
21
21
|
"devDependencies": {
|
|
22
22
|
"@swc/core": "^1.3.101",
|
|
23
|
+
"@xylabs/delay": "^2.13.20",
|
|
23
24
|
"@xylabs/ts-scripts-yarn3": "^3.2.24",
|
|
24
25
|
"@xylabs/tsconfig": "^3.2.24",
|
|
25
|
-
"@xyo-network/account": "~2.84.
|
|
26
|
-
"@xyo-network/archivist-model": "~2.84.
|
|
27
|
-
"@xyo-network/diviner-address-history": "~2.84.
|
|
28
|
-
"@xyo-network/
|
|
29
|
-
"@xyo-network/
|
|
30
|
-
"@xyo-network/
|
|
31
|
-
"@xyo-network/
|
|
32
|
-
"@xyo-network/
|
|
26
|
+
"@xyo-network/account": "~2.84.8",
|
|
27
|
+
"@xyo-network/archivist-model": "~2.84.8",
|
|
28
|
+
"@xyo-network/diviner-address-history": "~2.84.8",
|
|
29
|
+
"@xyo-network/diviner-boundwitness-memory": "~2.84.8",
|
|
30
|
+
"@xyo-network/diviner-jsonpatch-memory": "~2.84.8",
|
|
31
|
+
"@xyo-network/diviner-jsonpath-aggregate-memory": "~2.84.8",
|
|
32
|
+
"@xyo-network/diviner-jsonpath-memory": "~2.84.8",
|
|
33
|
+
"@xyo-network/diviner-model": "~2.84.8",
|
|
34
|
+
"@xyo-network/diviner-payload-memory": "~2.84.8",
|
|
35
|
+
"@xyo-network/manifest": "~2.84.8",
|
|
36
|
+
"@xyo-network/module-model": "~2.84.8",
|
|
37
|
+
"@xyo-network/module-resolver": "~2.84.8",
|
|
38
|
+
"@xyo-network/node-memory": "~2.84.8",
|
|
39
|
+
"@xyo-network/node-model": "~2.84.8",
|
|
40
|
+
"@xyo-network/witness-adhoc": "~2.84.7",
|
|
41
|
+
"@xyo-network/witness-model": "~2.84.8",
|
|
33
42
|
"typescript": "^5.3.3"
|
|
34
43
|
},
|
|
35
44
|
"description": "Primary SDK for using XYO Protocol 2.0",
|
|
@@ -71,6 +80,6 @@
|
|
|
71
80
|
"url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js.git"
|
|
72
81
|
},
|
|
73
82
|
"sideEffects": false,
|
|
74
|
-
"version": "2.84.
|
|
83
|
+
"version": "2.84.8",
|
|
75
84
|
"type": "module"
|
|
76
85
|
}
|
|
@@ -0,0 +1,150 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://raw.githubusercontent.com/XYOracleNetwork/sdk-xyo-client-js/main/packages/manifest/src/schema.json",
|
|
3
|
+
"nodes": [
|
|
4
|
+
{
|
|
5
|
+
"config": {
|
|
6
|
+
"name": "DivinerTest",
|
|
7
|
+
"schema": "network.xyo.node.config",
|
|
8
|
+
"language": "javascript"
|
|
9
|
+
},
|
|
10
|
+
"modules": {
|
|
11
|
+
"public": [
|
|
12
|
+
{
|
|
13
|
+
"config": {
|
|
14
|
+
"name": "AddressStateArchivist",
|
|
15
|
+
"schema": "network.xyo.archivist.config"
|
|
16
|
+
}
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
"config": {
|
|
20
|
+
"archivist": "AddressStateArchivist",
|
|
21
|
+
"name": "AddressStateBoundWitnessDiviner",
|
|
22
|
+
"schema": "network.xyo.diviner.boundwitness.config"
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"config": {
|
|
27
|
+
"archivist": "AddressStateArchivist",
|
|
28
|
+
"name": "AddressStatePayloadDiviner",
|
|
29
|
+
"schema": "network.xyo.diviner.payload.config"
|
|
30
|
+
}
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"config": {
|
|
34
|
+
"name": "Archivist",
|
|
35
|
+
"schema": "network.xyo.archivist.config"
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"config": {
|
|
40
|
+
"archivist": "Archivist",
|
|
41
|
+
"name": "BoundWitnessDiviner",
|
|
42
|
+
"schema": "network.xyo.diviner.boundwitness.config"
|
|
43
|
+
}
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"config": {
|
|
47
|
+
"archivist": "Archivist",
|
|
48
|
+
"name": "PayloadDiviner",
|
|
49
|
+
"schema": "network.xyo.diviner.payload.config"
|
|
50
|
+
}
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"config": {
|
|
54
|
+
"name": "JsonPatch",
|
|
55
|
+
"schema": "network.xyo.diviner.jsonpatch.config"
|
|
56
|
+
}
|
|
57
|
+
},
|
|
58
|
+
|
|
59
|
+
{
|
|
60
|
+
"config": {
|
|
61
|
+
"name": "PayloadDivinerQueryTemplateWitness",
|
|
62
|
+
"schema": "network.xyo.witness.adhoc.config",
|
|
63
|
+
"payload": {
|
|
64
|
+
"limit": 1,
|
|
65
|
+
"order": "asc",
|
|
66
|
+
"schema": "network.xyo.diviner.payload.query",
|
|
67
|
+
"schemas": ["network.xyo.test"]
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
"config": {
|
|
73
|
+
"destinationSchema": "network.xyo.diviner.payload.query",
|
|
74
|
+
"excludeSources": true,
|
|
75
|
+
"name": "PayloadDivinerQueryBuilder",
|
|
76
|
+
"schema": "network.xyo.diviner.jsonpath.aggregate.config",
|
|
77
|
+
"schemaTransforms": {
|
|
78
|
+
"network.xyo.module.state": [
|
|
79
|
+
{
|
|
80
|
+
"destinationField": "offset",
|
|
81
|
+
"sourcePathExpression": "$.offset"
|
|
82
|
+
}
|
|
83
|
+
],
|
|
84
|
+
"network.xyo.diviner.payload.query": [
|
|
85
|
+
{
|
|
86
|
+
"destinationField": "limit",
|
|
87
|
+
"sourcePathExpression": "$.limit"
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
"defaultValue": 0,
|
|
91
|
+
"destinationField": "offset",
|
|
92
|
+
"sourcePathExpression": "$.offset"
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
"destinationField": "order",
|
|
96
|
+
"sourcePathExpression": "$.order"
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
"destinationField": "schemas",
|
|
100
|
+
"sourcePathExpression": "$.schemas"
|
|
101
|
+
}
|
|
102
|
+
]
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
"config": {
|
|
108
|
+
"archiving": {
|
|
109
|
+
"archivists": ["Results"]
|
|
110
|
+
},
|
|
111
|
+
"automations": [
|
|
112
|
+
{
|
|
113
|
+
"frequency": 1,
|
|
114
|
+
"frequencyUnits": "second",
|
|
115
|
+
"schema": "network.xyo.automation.interval",
|
|
116
|
+
"start": 0,
|
|
117
|
+
"type": "interval"
|
|
118
|
+
}
|
|
119
|
+
],
|
|
120
|
+
"name": "Sentinel",
|
|
121
|
+
"schema": "network.xyo.sentinel.config",
|
|
122
|
+
"synchronous": "true",
|
|
123
|
+
"tasks": [
|
|
124
|
+
{
|
|
125
|
+
"input": true,
|
|
126
|
+
"module": "PayloadDivinerQueryTemplateWitness"
|
|
127
|
+
},
|
|
128
|
+
{
|
|
129
|
+
"input": ["PayloadDivinerQueryTemplateWitness"],
|
|
130
|
+
"module": "PayloadDivinerQueryBuilder"
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
"input": ["PayloadDivinerQueryBuilder"],
|
|
134
|
+
"module": "PayloadDiviner"
|
|
135
|
+
}
|
|
136
|
+
]
|
|
137
|
+
}
|
|
138
|
+
},
|
|
139
|
+
{
|
|
140
|
+
"config": {
|
|
141
|
+
"name": "Results",
|
|
142
|
+
"schema": "network.xyo.archivist.config"
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
]
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
],
|
|
149
|
+
"schema": "network.xyo.manifest"
|
|
150
|
+
}
|