@xyo-network/node 5.1.14 → 5.1.16

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/node",
3
- "version": "5.1.14",
3
+ "version": "5.1.16",
4
4
  "description": "Primary SDK for using XYO Protocol 2.0",
5
5
  "homepage": "https://xyo.network",
6
6
  "bugs": {
@@ -33,30 +33,30 @@
33
33
  "src"
34
34
  ],
35
35
  "dependencies": {
36
- "@xyo-network/node-model": "~5.1.14",
37
- "@xyo-network/node-wrapper": "~5.1.14"
36
+ "@xyo-network/node-model": "~5.1.16",
37
+ "@xyo-network/node-wrapper": "~5.1.16"
38
38
  },
39
39
  "devDependencies": {
40
- "@xylabs/delay": "~5.0.16",
41
- "@xylabs/ts-scripts-yarn3": "~7.1.8",
42
- "@xylabs/tsconfig": "~7.1.8",
43
- "@xylabs/vitest-extended": "~5.0.16",
44
- "@xylabs/vitest-matchers": "~5.0.16",
45
- "@xyo-network/account": "~5.1.14",
46
- "@xyo-network/account-model": "~5.1.14",
47
- "@xyo-network/archivist-memory": "~5.1.14",
48
- "@xyo-network/archivist-model": "~5.1.14",
49
- "@xyo-network/diviner-archivist": "~5.1.14",
50
- "@xyo-network/diviner-huri": "~5.1.14",
51
- "@xyo-network/diviner-model": "~5.1.14",
52
- "@xyo-network/manifest-model": "~5.1.14",
53
- "@xyo-network/module-model": "~5.1.14",
54
- "@xyo-network/node-memory": "~5.1.14",
55
- "@xyo-network/payload": "~5.1.14",
56
- "@xyo-network/wallet": "~5.1.14",
57
- "@xyo-network/witness-adhoc": "~5.1.14",
40
+ "@xylabs/delay": "~5.0.18",
41
+ "@xylabs/ts-scripts-yarn3": "~7.2.3",
42
+ "@xylabs/tsconfig": "~7.2.3",
43
+ "@xylabs/vitest-extended": "~5.0.18",
44
+ "@xylabs/vitest-matchers": "~5.0.18",
45
+ "@xyo-network/account": "~5.1.16",
46
+ "@xyo-network/account-model": "~5.1.16",
47
+ "@xyo-network/archivist-memory": "~5.1.16",
48
+ "@xyo-network/archivist-model": "~5.1.16",
49
+ "@xyo-network/diviner-archivist": "~5.1.16",
50
+ "@xyo-network/diviner-huri": "~5.1.16",
51
+ "@xyo-network/diviner-model": "~5.1.16",
52
+ "@xyo-network/manifest-model": "~5.1.16",
53
+ "@xyo-network/module-model": "~5.1.16",
54
+ "@xyo-network/node-memory": "~5.1.16",
55
+ "@xyo-network/payload": "~5.1.16",
56
+ "@xyo-network/wallet": "~5.1.16",
57
+ "@xyo-network/witness-adhoc": "~5.1.16",
58
58
  "typescript": "~5.9.3",
59
- "vitest": "~3.2.4"
59
+ "vitest": "~4.0.7"
60
60
  },
61
61
  "publishConfig": {
62
62
  "access": "public"
@@ -140,7 +140,7 @@ describe('MemoryNode', () => {
140
140
  .then(async () => {
141
141
  // wait for up to 5 seconds
142
142
  let waitFrames = 50
143
- while (waitFrames) {
143
+ while (waitFrames > 0) {
144
144
  if (eventDone) {
145
145
  resolve()
146
146
  return
@@ -280,8 +280,7 @@ describe('MemoryNode', () => {
280
280
  await nestedNode.attach(mod.address, true)
281
281
  }),
282
282
  )
283
- const rootModules: AttachableModuleInstance[] = [await MemoryArchivist.create({ account: testAccount4, config: archivistConfig })]
284
- rootModules.push(nestedNode)
283
+ const rootModules: AttachableModuleInstance[] = [await MemoryArchivist.create({ account: testAccount4, config: archivistConfig }), nestedNode]
285
284
  await Promise.all(
286
285
  rootModules.map(async (mod) => {
287
286
  await node.register(mod)
@@ -400,8 +399,7 @@ describe('MemoryNode', () => {
400
399
  await nestedNode.attach(mod.address, true)
401
400
  }),
402
401
  )
403
- const rootModules: AttachableModuleInstance[] = [await MemoryArchivist.create({ account: testAccount4, config: archivistConfig })]
404
- rootModules.push(nestedNode)
402
+ const rootModules: AttachableModuleInstance[] = [await MemoryArchivist.create({ account: testAccount4, config: archivistConfig }), nestedNode]
405
403
  await Promise.all(
406
404
  rootModules.map(async (mod) => {
407
405
  await node.register(mod)