@waitcher/cli 0.2.7 → 0.2.8
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/cli.mjs +9 -6
- package/package.json +1 -1
package/dist/cli.mjs
CHANGED
|
@@ -875,7 +875,6 @@ var init_limits = __esm({
|
|
|
875
875
|
scanIntervalMs: 200,
|
|
876
876
|
artifactDays: 7,
|
|
877
877
|
metadataDays: 14,
|
|
878
|
-
maxRuns: 1e4,
|
|
879
878
|
cleanupBatch: 50
|
|
880
879
|
});
|
|
881
880
|
StorageError = class extends Error {
|
|
@@ -62041,7 +62040,7 @@ Authentication
|
|
|
62041
62040
|
|
|
62042
62041
|
Plans and billing
|
|
62043
62042
|
account billing Plan, limits and subscription status
|
|
62044
|
-
account upgrade [--yearly]
|
|
62043
|
+
account upgrade [--yearly] [--trial] Stripe Checkout URL for the pro plan; --trial: 14 days, once, no card
|
|
62045
62044
|
account billing-portal Stripe portal URL to change payment or cancel
|
|
62046
62045
|
The plan changes only when Stripe confirms the payment, never on the return page.
|
|
62047
62046
|
Billing appears when the server reports features.billing.
|
|
@@ -62508,7 +62507,7 @@ ${exitCodes}
|
|
|
62508
62507
|
// package.json
|
|
62509
62508
|
var package_default = {
|
|
62510
62509
|
name: "@waitcher/cli",
|
|
62511
|
-
version: "0.2.
|
|
62510
|
+
version: "0.2.8",
|
|
62512
62511
|
description: "Synthetic monitoring from your repository: deploy HTTP, certificate, heartbeat, API and browser monitors from waitcher.json.",
|
|
62513
62512
|
license: "SEE LICENSE IN LICENSE.txt",
|
|
62514
62513
|
author: "S\u0142awomir Radzymi\u0144ski",
|
|
@@ -62701,6 +62700,7 @@ async function main() {
|
|
|
62701
62700
|
"dry-run": { type: "boolean" },
|
|
62702
62701
|
yes: { type: "boolean" },
|
|
62703
62702
|
yearly: { type: "boolean" },
|
|
62703
|
+
trial: { type: "boolean" },
|
|
62704
62704
|
browser: { type: "boolean" },
|
|
62705
62705
|
global: { type: "boolean" },
|
|
62706
62706
|
wait: { type: "boolean" },
|
|
@@ -62796,7 +62796,7 @@ async function main() {
|
|
|
62796
62796
|
"account budget": ["daily-invocations", "expected-revision"],
|
|
62797
62797
|
"account settings": [],
|
|
62798
62798
|
"account billing": [],
|
|
62799
|
-
"account upgrade": ["yearly"],
|
|
62799
|
+
"account upgrade": ["yearly", "trial"],
|
|
62800
62800
|
"account billing-portal": [],
|
|
62801
62801
|
"account configure": ["file", "expected-revision"],
|
|
62802
62802
|
"account activity": ["before"],
|
|
@@ -64683,14 +64683,17 @@ async function main() {
|
|
|
64683
64683
|
command === "account upgrade" ? "billing/checkout" : "billing/portal",
|
|
64684
64684
|
{
|
|
64685
64685
|
method: "POST",
|
|
64686
|
-
body: command === "account upgrade"
|
|
64686
|
+
body: command === "account upgrade" ? {
|
|
64687
|
+
...v.yearly ? { interval: "year" } : {},
|
|
64688
|
+
...v.trial ? { trial: true } : {}
|
|
64689
|
+
} : {}
|
|
64687
64690
|
}
|
|
64688
64691
|
);
|
|
64689
64692
|
result2 = {
|
|
64690
64693
|
event: command === "account upgrade" ? "checkout_created" : "portal_created",
|
|
64691
64694
|
url: url3,
|
|
64692
64695
|
next: [
|
|
64693
|
-
command === "account upgrade" ? "Open the URL in a browser and pay there; the plan changes when Stripe confirms the payment" : "Open the URL in a browser to change or cancel the subscription",
|
|
64696
|
+
command === "account upgrade" ? v.trial ? "Open the URL in a browser to start the trial; no card is needed, and without one the plan returns to starter when it ends" : "Open the URL in a browser and pay there; the plan changes when Stripe confirms the payment" : "Open the URL in a browser to change or cancel the subscription",
|
|
64694
64697
|
"waitcher account billing"
|
|
64695
64698
|
]
|
|
64696
64699
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@waitcher/cli",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.8",
|
|
4
4
|
"description": "Synthetic monitoring from your repository: deploy HTTP, certificate, heartbeat, API and browser monitors from waitcher.json.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
6
6
|
"author": "Sławomir Radzymiński",
|