@xyo-network/diviner-jsonpath-aggregate-memory 5.1.2 → 5.1.4

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/diviner-jsonpath-aggregate-memory",
3
- "version": "5.1.2",
3
+ "version": "5.1.4",
4
4
  "description": "Primary SDK for using XYO Protocol 2.0",
5
5
  "homepage": "https://xyo.network",
6
6
  "bugs": {
@@ -35,23 +35,23 @@
35
35
  "dependencies": {
36
36
  "@xylabs/assert": "~5.0.11",
37
37
  "@xylabs/exists": "~5.0.11",
38
- "@xyo-network/boundwitness-model": "~5.1.2",
39
- "@xyo-network/diviner-abstract": "~5.1.2",
40
- "@xyo-network/diviner-jsonpath-aggregate-model": "~5.1.2",
41
- "@xyo-network/diviner-jsonpath-memory": "~5.1.2",
42
- "@xyo-network/diviner-model": "~5.1.2",
43
- "@xyo-network/payload-builder": "~5.1.2",
44
- "@xyo-network/payload-model": "~5.1.2",
45
- "@xyo-network/payload-utils": "~5.1.2"
38
+ "@xyo-network/boundwitness-model": "~5.1.4",
39
+ "@xyo-network/diviner-abstract": "~5.1.4",
40
+ "@xyo-network/diviner-jsonpath-aggregate-model": "~5.1.4",
41
+ "@xyo-network/diviner-jsonpath-memory": "~5.1.4",
42
+ "@xyo-network/diviner-model": "~5.1.4",
43
+ "@xyo-network/payload-builder": "~5.1.4",
44
+ "@xyo-network/payload-model": "~5.1.4",
45
+ "@xyo-network/payload-utils": "~5.1.4"
46
46
  },
47
47
  "devDependencies": {
48
- "@xylabs/ts-scripts-yarn3": "~7.1.7",
49
- "@xylabs/tsconfig": "~7.1.7",
48
+ "@xylabs/ts-scripts-yarn3": "~7.1.8",
49
+ "@xylabs/tsconfig": "~7.1.8",
50
50
  "@xylabs/vitest-extended": "~5.0.11",
51
- "@xyo-network/account": "~5.1.2",
52
- "@xyo-network/account-model": "~5.1.2",
53
- "@xyo-network/boundwitness-builder": "~5.1.2",
54
- "@xyo-network/diviner-jsonpath-model": "~5.1.2",
51
+ "@xyo-network/account": "~5.1.4",
52
+ "@xyo-network/account-model": "~5.1.4",
53
+ "@xyo-network/boundwitness-builder": "~5.1.4",
54
+ "@xyo-network/diviner-jsonpath-model": "~5.1.4",
55
55
  "typescript": "~5.9.2",
56
56
  "vitest": "~3.2.4"
57
57
  },
@@ -69,7 +69,7 @@ describe('JsonPathAggregateDiviner', () => {
69
69
  expect(result.filter(isPayloadOfSchemaType<Payload>(destinationSchema))).toBeArrayOfSize(1)
70
70
  const index = result.find(isPayloadOfSchemaType<ResultType>(destinationSchema))
71
71
  // eslint-disable-next-line sonarjs/no-alphabetical-sort
72
- expect(index?.sources.sort()).toEqual(Object.keys(payloadDictionary).toSorted())
72
+ expect(index?.sources.toSorted()).toEqual(Object.keys(payloadDictionary).toSorted())
73
73
  expect(index?.timestamp).toBe(timestamp.timestamp)
74
74
  expect(index?.url).toBe((payload as { sourceUrl?: string }).sourceUrl)
75
75
  expect(index?.status).toBe(thumbnail.http?.status)
@@ -150,7 +150,7 @@ describe('JsonPathAggregateDiviner', () => {
150
150
  expect(result.filter(isPayloadOfSchemaType<Payload>(destinationSchema))).toBeArrayOfSize(1)
151
151
  const index = result.find(isPayloadOfSchemaType<ResultType>(destinationSchema))
152
152
  // eslint-disable-next-line sonarjs/no-alphabetical-sort
153
- expect(index?.sources.sort()).toEqual(Object.keys(payloadDictionary).toSorted())
153
+ expect(index?.sources.toSorted()).toEqual(Object.keys(payloadDictionary).toSorted())
154
154
  expect(index?.timestamp).toBe(timestamp.timestamp)
155
155
  expect(index?.url).toBe((payload as { sourceUrl?: string }).sourceUrl)
156
156
  expect(index?.status).toBe(thumbnail.http?.status)