replicas-cli 0.3.550 → 0.3.551
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.cjs +9 -2
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -40468,7 +40468,7 @@ var CLI_VERSION;
|
|
|
40468
40468
|
var init_cli_version = __esm({
|
|
40469
40469
|
"../shared/src/cli-version.ts"() {
|
|
40470
40470
|
"use strict";
|
|
40471
|
-
CLI_VERSION = "0.3.
|
|
40471
|
+
CLI_VERSION = "0.3.551";
|
|
40472
40472
|
}
|
|
40473
40473
|
});
|
|
40474
40474
|
|
|
@@ -40615,11 +40615,18 @@ var init_webhook = __esm({
|
|
|
40615
40615
|
});
|
|
40616
40616
|
|
|
40617
40617
|
// ../shared/src/routes/billing.ts
|
|
40618
|
-
var SOURCE_LIMIT_SOURCES, usageLimitCentsSchema, sourceLimitsCentsSchema;
|
|
40618
|
+
var CREDIT_PURCHASE_MIN_CENTS, CREDIT_PURCHASE_MAX_CENTS, AUTO_RELOAD_THRESHOLD_MIN_CENTS, autoReloadAmountsSchema, SOURCE_LIMIT_SOURCES, usageLimitCentsSchema, sourceLimitsCentsSchema;
|
|
40619
40619
|
var init_billing = __esm({
|
|
40620
40620
|
"../shared/src/routes/billing.ts"() {
|
|
40621
40621
|
"use strict";
|
|
40622
40622
|
init_zod();
|
|
40623
|
+
CREDIT_PURCHASE_MIN_CENTS = 5e3;
|
|
40624
|
+
CREDIT_PURCHASE_MAX_CENTS = 1e6;
|
|
40625
|
+
AUTO_RELOAD_THRESHOLD_MIN_CENTS = 1e3;
|
|
40626
|
+
autoReloadAmountsSchema = external_exports.object({
|
|
40627
|
+
thresholdCents: external_exports.number().int().multipleOf(100).min(AUTO_RELOAD_THRESHOLD_MIN_CENTS).max(CREDIT_PURCHASE_MAX_CENTS),
|
|
40628
|
+
amountCents: external_exports.number().int().multipleOf(100).min(CREDIT_PURCHASE_MIN_CENTS).max(CREDIT_PURCHASE_MAX_CENTS)
|
|
40629
|
+
});
|
|
40623
40630
|
SOURCE_LIMIT_SOURCES = ["limrun", "modal", "revyl", "inference"];
|
|
40624
40631
|
usageLimitCentsSchema = external_exports.number().int().min(100).max(1e8);
|
|
40625
40632
|
sourceLimitsCentsSchema = external_exports.partialRecord(external_exports.enum(SOURCE_LIMIT_SOURCES), usageLimitCentsSchema);
|