@galacticcouncil/sdk 1.1.0 → 1.1.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/build/index.cjs +2 -2
- package/build/index.mjs +1 -1
- package/build/types/route/bfs.d.ts +2 -2
- package/package.json +1 -1
|
@@ -25,7 +25,7 @@ export declare class Bfs {
|
|
|
25
25
|
* @param dst - destination node or null if requesting all posible paths from src
|
|
26
26
|
* @returns paths
|
|
27
27
|
*/
|
|
28
|
-
findPaths(g:
|
|
28
|
+
findPaths(g: Map<number, Path>, src: number, dst: number | null): Path[];
|
|
29
29
|
/**
|
|
30
30
|
* Build and populate graph
|
|
31
31
|
*
|
|
@@ -33,5 +33,5 @@ export declare class Bfs {
|
|
|
33
33
|
* @param edges - list of all edges [id, from, to] between assets
|
|
34
34
|
* @returns - traversal graph
|
|
35
35
|
*/
|
|
36
|
-
buildAndPopulateGraph(nodes: string[], edges: [string, string, string][]): Path
|
|
36
|
+
buildAndPopulateGraph(nodes: string[], edges: [string, string, string][]): Map<number, Path>;
|
|
37
37
|
}
|