@airmoney-degn/airmoney-cli 0.10.6 → 0.10.7
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/bin/darwin-arm64 +0 -0
- package/dist/bin/darwin-x64 +0 -0
- package/dist/bin/linux-x64 +0 -0
- package/dist/bin/win32-x64 +0 -0
- package/dist/index.js +1 -1
- package/dist/util/env.js +0 -3
- package/package.json +1 -1
package/dist/bin/darwin-arm64
CHANGED
|
Binary file
|
package/dist/bin/darwin-x64
CHANGED
|
Binary file
|
package/dist/bin/linux-x64
CHANGED
|
Binary file
|
package/dist/bin/win32-x64
CHANGED
|
Binary file
|
package/dist/index.js
CHANGED
|
@@ -14,7 +14,7 @@ const program = new commander_1.Command();
|
|
|
14
14
|
program
|
|
15
15
|
.name('airmoney-cli')
|
|
16
16
|
.description('airmoney-cli is a command-line interface tool designed to facilitate the development and management of decentralized applications (DApps) for Airmoney.')
|
|
17
|
-
.version('0.10.
|
|
17
|
+
.version('0.10.7');
|
|
18
18
|
program
|
|
19
19
|
.command('setup')
|
|
20
20
|
.description('Setup env with userAddress, apiKey, rpc')
|
package/dist/util/env.js
CHANGED
|
@@ -43,9 +43,6 @@ function configDir() {
|
|
|
43
43
|
// similar to Rust's ProjectDirs::from("fun", "air", "simulator");
|
|
44
44
|
// We'll do a rough approach
|
|
45
45
|
const baseDir = path.join(os.homedir(), '.config', 'air-simulator');
|
|
46
|
-
fs.mkdirSync(path.join(baseDir, 'wallet'), {
|
|
47
|
-
recursive: true,
|
|
48
|
-
});
|
|
49
46
|
return baseDir;
|
|
50
47
|
}
|
|
51
48
|
function loadEnvFromConfig() {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@airmoney-degn/airmoney-cli",
|
|
3
|
-
"version": "0.10.
|
|
3
|
+
"version": "0.10.7",
|
|
4
4
|
"description": "airmoney-cli is a command-line interface tool designed to facilitate the development and management of decentralized applications (DApps) for Airmoney.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|