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/dist/esm/index.js +2 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/index.umd.js +1 -1
- package/package.json +1 -1
- package/src/index.ts +2 -1
package/package.json
CHANGED
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
|
}
|