stackswap-front-api-test-02 1.0.54 → 1.0.55

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": "stackswap-front-api-test-02",
3
- "version": "1.0.54",
3
+ "version": "1.0.55",
4
4
  "description": "",
5
5
  "scripts": {
6
6
  "start": "tsc -b tsconfig.build.json --watch --verbose",
package/src/index.ts CHANGED
@@ -1,4 +1,4 @@
1
- import {StacksMainnet, StacksNetwork} from "@stacks/network";
1
+ import {StacksMainnet, StacksMocknet, StacksNetwork} from "@stacks/network";
2
2
  import axios from "axios";
3
3
  import {StackswapConfig, StackswapDevnetConfig, StackswapMainetConfig} from "./stackswap/config";
4
4
  import {TokenManager} from "./stackswap/manager/token.manager";
@@ -188,6 +188,7 @@ export class StackswapDevnetAPI extends StackswapMainnetAPI {
188
188
  constructor(farm_end_cycle: string = '99999') {
189
189
  super(farm_end_cycle);
190
190
  this.config = new StackswapDevnetConfig();
191
+ this.network = new StacksMocknet();
191
192
  }
192
193
 
193
194
  }