@hyphacommerce/cli 0.1.0-beta.3 → 0.1.0-beta.4
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/main.mjs +1 -1
- package/package.json +1 -1
- package/templates/hypha.config.schema.json +24 -0
package/dist/main.mjs
CHANGED
|
@@ -1718,7 +1718,7 @@ const apps = defineCommand({
|
|
|
1718
1718
|
});
|
|
1719
1719
|
//#endregion
|
|
1720
1720
|
//#region src/version.ts
|
|
1721
|
-
const VERSION = "0.1.0-beta.
|
|
1721
|
+
const VERSION = "0.1.0-beta.4";
|
|
1722
1722
|
//#endregion
|
|
1723
1723
|
//#region src/create.ts
|
|
1724
1724
|
/** The repository the starters are downloaded from. */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hyphacommerce/cli",
|
|
3
|
-
"version": "0.1.0-beta.
|
|
3
|
+
"version": "0.1.0-beta.4",
|
|
4
4
|
"description": "Hosting Hypha: `hypha init` writes a deployment, `hypha deploy` runs it on a server or on Cloudflare Workers, with the apps `hypha apps` lists beside it.",
|
|
5
5
|
"homepage": "https://hyphacommerce.com",
|
|
6
6
|
"bugs": "https://github.com/hyphacommerce/hypha/issues",
|
|
@@ -133,6 +133,14 @@
|
|
|
133
133
|
"rate_limits": {
|
|
134
134
|
"$ref": "#/$defs/RateLimits",
|
|
135
135
|
"default": {
|
|
136
|
+
"address_suggest_ip": {
|
|
137
|
+
"burst": 120,
|
|
138
|
+
"per": "1s"
|
|
139
|
+
},
|
|
140
|
+
"address_suggest_session": {
|
|
141
|
+
"burst": 30,
|
|
142
|
+
"per": "2s"
|
|
143
|
+
},
|
|
136
144
|
"agent_call": {
|
|
137
145
|
"burst": 120,
|
|
138
146
|
"per": "500ms"
|
|
@@ -716,6 +724,22 @@
|
|
|
716
724
|
"description": "Limits on the routes that need no credentials, and on the storefront routes that call\nrate apps. Counted per instance.",
|
|
717
725
|
"type": "object",
|
|
718
726
|
"properties": {
|
|
727
|
+
"address_suggest_ip": {
|
|
728
|
+
"description": "Address suggestions and resolving one, per client address: each is a lookup the\nstore's autocomplete app may be billed for. Generous, since forms ask as people\ntype, and a storefront without `server.trusted_proxies` sends every shopper's\nfrom one address.",
|
|
729
|
+
"$ref": "#/$defs/Quota",
|
|
730
|
+
"default": {
|
|
731
|
+
"burst": 120,
|
|
732
|
+
"per": "1s"
|
|
733
|
+
}
|
|
734
|
+
},
|
|
735
|
+
"address_suggest_session": {
|
|
736
|
+
"description": "Address suggestions and resolving one, per typing session (the form's `session`).",
|
|
737
|
+
"$ref": "#/$defs/Quota",
|
|
738
|
+
"default": {
|
|
739
|
+
"burst": 30,
|
|
740
|
+
"per": "2s"
|
|
741
|
+
}
|
|
742
|
+
},
|
|
719
743
|
"agent_call": {
|
|
720
744
|
"description": "An agent's calls, per agent: reads, previews, proposals and writes.",
|
|
721
745
|
"$ref": "#/$defs/Quota",
|