blitzwing 0.1.0 → 0.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/package.json +2 -2
- package/src/api.js +2 -0
- package/src/config.js +3 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "blitzwing",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"description": "Interactive setup wizard to join a Blitzwing Petals mother swarm as a compute contributor",
|
|
5
5
|
"bin": {
|
|
6
6
|
"blitzwing": "bin/blitzwing.js"
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
],
|
|
23
23
|
"license": "MIT",
|
|
24
24
|
"config": {
|
|
25
|
-
"discoveryUrl": "
|
|
25
|
+
"discoveryUrl": "https://f44c-103-98-63-33.ngrok-free.app"
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {
|
|
28
28
|
"@clack/prompts": "^0.9.1",
|
package/src/api.js
CHANGED
package/src/config.js
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
/** Default Discovery Service URL — override with BLITZWING_DISCOVERY_URL or --discovery-url */
|
|
2
2
|
export const DEFAULT_DISCOVERY_URL =
|
|
3
|
-
process.env.BLITZWING_DISCOVERY_URL ||
|
|
3
|
+
process.env.BLITZWING_DISCOVERY_URL ||
|
|
4
|
+
process.env.npm_package_config_discoveryUrl ||
|
|
5
|
+
"https://f44c-103-98-63-33.ngrok-free.app";
|
|
4
6
|
|
|
5
7
|
export const HOME_DIR = process.env.BLITZWING_HOME || `${process.env.HOME || process.env.USERPROFILE}/.blitzwing`;
|
|
6
8
|
export const STATE_PATH = `${HOME_DIR}/contributor.json`;
|