@xyo-network/location-certainty-plugin 2.44.1 → 2.45.0-rc.1
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/docs.json +1196 -1360
- package/dist/types/Plugin.d.ts +1 -0
- package/dist/types/Plugin.d.ts.map +1 -1
- package/package.json +15 -14
- package/src/Diviner/spec/Diviner.spec.ts +2 -2
package/dist/types/Plugin.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ModuleParams } from '@xyo-network/module';
|
|
2
2
|
import { PayloadSetDivinerPlugin } from '@xyo-network/payloadset-plugin';
|
|
3
3
|
export declare const LocationCertaintyPlugin: () => PayloadSetDivinerPlugin<ModuleParams<import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & {
|
|
4
|
+
name?: string | undefined;
|
|
4
5
|
security?: {
|
|
5
6
|
allowed?: Record<string, (string | import("@xyo-network/module").CosigningAddressSet)[]> | undefined;
|
|
6
7
|
disallowed?: Record<string, string[]> | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Plugin.d.ts","sourceRoot":"","sources":["../../src/Plugin.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAA;AAElD,OAAO,EAA0B,uBAAuB,EAAE,MAAM,gCAAgC,CAAA;AAIhG,eAAO,MAAM,uBAAuB
|
|
1
|
+
{"version":3,"file":"Plugin.d.ts","sourceRoot":"","sources":["../../src/Plugin.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAA;AAElD,OAAO,EAA0B,uBAAuB,EAAE,MAAM,gCAAgC,CAAA;AAIhG,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;GAQjC,CAAA"}
|
package/package.json
CHANGED
|
@@ -10,21 +10,21 @@
|
|
|
10
10
|
"url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js/issues"
|
|
11
11
|
},
|
|
12
12
|
"dependencies": {
|
|
13
|
-
"@xyo-network/diviner": "^2.
|
|
14
|
-
"@xyo-network/diviner-model": "^2.
|
|
15
|
-
"@xyo-network/elevation-payload-plugin": "^2.
|
|
16
|
-
"@xyo-network/elevation-plugin": "^2.
|
|
17
|
-
"@xyo-network/location-certainty-payload-plugin": "^2.
|
|
18
|
-
"@xyo-network/location-payload-plugin": "^2.
|
|
19
|
-
"@xyo-network/module": "^2.
|
|
20
|
-
"@xyo-network/payload-builder": "^2.
|
|
21
|
-
"@xyo-network/payload-model": "^2.
|
|
22
|
-
"@xyo-network/payloadset-plugin": "^2.
|
|
23
|
-
"@xyo-network/shared": "^2.
|
|
13
|
+
"@xyo-network/diviner": "^2.45.0-rc.1",
|
|
14
|
+
"@xyo-network/diviner-model": "^2.45.0-rc.1",
|
|
15
|
+
"@xyo-network/elevation-payload-plugin": "^2.45.0-rc.1",
|
|
16
|
+
"@xyo-network/elevation-plugin": "^2.45.0-rc.1",
|
|
17
|
+
"@xyo-network/location-certainty-payload-plugin": "^2.45.0-rc.1",
|
|
18
|
+
"@xyo-network/location-payload-plugin": "^2.45.0-rc.1",
|
|
19
|
+
"@xyo-network/module": "^2.45.0-rc.1",
|
|
20
|
+
"@xyo-network/payload-builder": "^2.45.0-rc.1",
|
|
21
|
+
"@xyo-network/payload-model": "^2.45.0-rc.1",
|
|
22
|
+
"@xyo-network/payloadset-plugin": "^2.45.0-rc.1",
|
|
23
|
+
"@xyo-network/shared": "^2.45.0-rc.1"
|
|
24
24
|
},
|
|
25
25
|
"devDependencies": {
|
|
26
|
-
"@xylabs/ts-scripts-yarn3": "^2.14.
|
|
27
|
-
"@xylabs/tsconfig": "^2.14.
|
|
26
|
+
"@xylabs/ts-scripts-yarn3": "^2.14.15",
|
|
27
|
+
"@xylabs/tsconfig": "^2.14.15",
|
|
28
28
|
"typescript": "^4.9.5"
|
|
29
29
|
},
|
|
30
30
|
"description": "Primary SDK for using XYO Protocol 2.0",
|
|
@@ -60,5 +60,6 @@
|
|
|
60
60
|
},
|
|
61
61
|
"sideEffects": false,
|
|
62
62
|
"types": "dist/types/index.d.ts",
|
|
63
|
-
"version": "2.
|
|
63
|
+
"version": "2.45.0-rc.1",
|
|
64
|
+
"stableVersion": "2.44.1"
|
|
64
65
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { AbstractArchivist, MemoryArchivist } from '@xyo-network/archivist'
|
|
2
2
|
import { LocationCertaintyPayload, LocationCertaintySchema } from '@xyo-network/location-certainty-payload-plugin'
|
|
3
3
|
import { LocationPayload, LocationSchema } from '@xyo-network/location-payload-plugin'
|
|
4
|
-
import { SimpleModuleResolver } from '@xyo-network/module'
|
|
4
|
+
import { CompositeModuleResolver, SimpleModuleResolver } from '@xyo-network/module'
|
|
5
5
|
|
|
6
6
|
import { LocationCertaintyDivinerConfigSchema } from '../Config'
|
|
7
7
|
import { LocationCertaintyDiviner } from '../Diviner'
|
|
@@ -79,7 +79,7 @@ describe.skip('MongoDBLocationCertaintyDiviner', () => {
|
|
|
79
79
|
schema: LocationCertaintyDivinerConfigSchema,
|
|
80
80
|
targetSchema: LocationCertaintySchema,
|
|
81
81
|
},
|
|
82
|
-
resolver: new
|
|
82
|
+
resolver: new CompositeModuleResolver().add(payloadsArchivist),
|
|
83
83
|
}
|
|
84
84
|
sut = await LocationCertaintyDiviner.create(params)
|
|
85
85
|
})
|