@sage-protocol/cli 0.9.21 → 0.9.22
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/bin/sage.js +6 -6
- package/bin/saged.js +6 -6
- package/package.json +1 -1
package/bin/sage.js
CHANGED
|
@@ -4,11 +4,11 @@ const { execFileSync } = require("child_process");
|
|
|
4
4
|
const path = require("path");
|
|
5
5
|
|
|
6
6
|
const PLATFORMS = {
|
|
7
|
-
"darwin-arm64": "@sage-protocol/
|
|
8
|
-
"darwin-x64": "@sage-protocol/
|
|
9
|
-
"linux-arm64": "@sage-protocol/
|
|
10
|
-
"linux-x64": "@sage-protocol/
|
|
11
|
-
"win32-x64": "@sage-protocol/
|
|
7
|
+
"darwin-arm64": "@sage-protocol/cli-darwin-arm64",
|
|
8
|
+
"darwin-x64": "@sage-protocol/cli-darwin-x64",
|
|
9
|
+
"linux-arm64": "@sage-protocol/cli-linux-arm64",
|
|
10
|
+
"linux-x64": "@sage-protocol/cli-linux-x64",
|
|
11
|
+
"win32-x64": "@sage-protocol/cli-win32-x64",
|
|
12
12
|
};
|
|
13
13
|
|
|
14
14
|
const key = `${process.platform}-${process.arch}`;
|
|
@@ -32,7 +32,7 @@ try {
|
|
|
32
32
|
`Could not find the sage binary for your platform (${key}).\n` +
|
|
33
33
|
`Expected package: ${pkg}\n\n` +
|
|
34
34
|
`This may happen if optional dependencies were not installed.\n` +
|
|
35
|
-
`Try reinstalling: npm i -g @sage-protocol/
|
|
35
|
+
`Try reinstalling: npm i -g @sage-protocol/cli`
|
|
36
36
|
);
|
|
37
37
|
process.exit(1);
|
|
38
38
|
}
|
package/bin/saged.js
CHANGED
|
@@ -4,11 +4,11 @@ const { execFileSync } = require("child_process");
|
|
|
4
4
|
const path = require("path");
|
|
5
5
|
|
|
6
6
|
const PLATFORMS = {
|
|
7
|
-
"darwin-arm64": "@sage-protocol/
|
|
8
|
-
"darwin-x64": "@sage-protocol/
|
|
9
|
-
"linux-arm64": "@sage-protocol/
|
|
10
|
-
"linux-x64": "@sage-protocol/
|
|
11
|
-
"win32-x64": "@sage-protocol/
|
|
7
|
+
"darwin-arm64": "@sage-protocol/cli-darwin-arm64",
|
|
8
|
+
"darwin-x64": "@sage-protocol/cli-darwin-x64",
|
|
9
|
+
"linux-arm64": "@sage-protocol/cli-linux-arm64",
|
|
10
|
+
"linux-x64": "@sage-protocol/cli-linux-x64",
|
|
11
|
+
"win32-x64": "@sage-protocol/cli-win32-x64",
|
|
12
12
|
};
|
|
13
13
|
|
|
14
14
|
const key = `${process.platform}-${process.arch}`;
|
|
@@ -32,7 +32,7 @@ try {
|
|
|
32
32
|
`Could not find the saged binary for your platform (${key}).\n` +
|
|
33
33
|
`Expected package: ${pkg}\n\n` +
|
|
34
34
|
`This may happen if optional dependencies were not installed.\n` +
|
|
35
|
-
`Try reinstalling: npm i -g @sage-protocol/
|
|
35
|
+
`Try reinstalling: npm i -g @sage-protocol/cli`
|
|
36
36
|
);
|
|
37
37
|
process.exit(1);
|
|
38
38
|
}
|