@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.
@@ -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: Path[], src: number, dst: number | null): Path[];
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
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@galacticcouncil/sdk",
3
- "version": "1.1.0",
3
+ "version": "1.1.1",
4
4
  "description": "Galactic off-chain routing & optimization of orders across pools for best price execution",
5
5
  "author": "GalacticCouncil",
6
6
  "repository": {