@r3ply/cli 0.0.1 → 0.0.2
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/index.mjs +3 -3
- package/package.json +5 -5
package/dist/index.mjs
CHANGED
|
@@ -1164,9 +1164,10 @@ var generate;
|
|
|
1164
1164
|
label
|
|
1165
1165
|
});
|
|
1166
1166
|
} else {
|
|
1167
|
+
const protocol = r3ply == "r3ply-server.localhost" ? "http" : "https";
|
|
1167
1168
|
return fetch(
|
|
1168
1169
|
new URL(
|
|
1169
|
-
|
|
1170
|
+
`${protocol}://${r3ply}/signet/${domain}${issued ? `/${issued}` : ""}?format=json`
|
|
1170
1171
|
)
|
|
1171
1172
|
).then((response) => {
|
|
1172
1173
|
if (response.ok)
|
|
@@ -1559,8 +1560,7 @@ Moderation <channel> options: <github | webhook | local>`
|
|
|
1559
1560
|
project.DEFAULT_R3PLY_DOMAIN
|
|
1560
1561
|
).option("--date <YYYY-MM-DD>", "date issued", dayjs3().format("YYYY-MM-DD")).option(
|
|
1561
1562
|
"--label <string>",
|
|
1562
|
-
'e.g. "prod", "test"'
|
|
1563
|
-
project.DEFAULT_CLI_SIGNET_LABEL
|
|
1563
|
+
'e.g. "prod", "test"'
|
|
1564
1564
|
).action(async (options) => {
|
|
1565
1565
|
const parent_opts = generate_cmd2.parent.opts();
|
|
1566
1566
|
return generate_signet(cwd, { ...options, ...parent_opts });
|
package/package.json
CHANGED
|
@@ -3,14 +3,14 @@
|
|
|
3
3
|
"author": "Spencer Van Wessem Scorcelletti",
|
|
4
4
|
"license": "AGPL-3.0-only",
|
|
5
5
|
"private": false,
|
|
6
|
-
"version": "0.0.
|
|
6
|
+
"version": "0.0.2",
|
|
7
7
|
"description": "CLI for the r3ply commenting system",
|
|
8
8
|
"repository": {
|
|
9
9
|
"type": "git",
|
|
10
|
-
"url": "https://github.com/
|
|
10
|
+
"url": "https://github.com/r3ply/r3ply"
|
|
11
11
|
},
|
|
12
12
|
"bugs": {
|
|
13
|
-
"url": "https://github.com/
|
|
13
|
+
"url": "https://github.com/r3ply/r3ply/issues"
|
|
14
14
|
},
|
|
15
15
|
"homepage": "https://r3ply.com",
|
|
16
16
|
"type": "module",
|
|
@@ -43,9 +43,9 @@
|
|
|
43
43
|
"rita": "^3.1.3",
|
|
44
44
|
"serve-handler": "^6.1.6",
|
|
45
45
|
"typescript-mailbox-parser": "0.0.3",
|
|
46
|
+
"@r3ply/wasm": "^0.0.1",
|
|
46
47
|
"@r3ply/schema": "0.0.1",
|
|
47
|
-
"@r3ply/lib": "0.0.2"
|
|
48
|
-
"@r3ply/wasm": "^0.0.1"
|
|
48
|
+
"@r3ply/lib": "0.0.2"
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|
|
51
51
|
"@types/mock-fs": "^4.13.4",
|