@vandenberghinc/volt 1.2.14 → 1.2.16

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.
@@ -197,7 +197,7 @@ class Endpoint {
197
197
  method,
198
198
  endpoint,
199
199
  authenticated = false,
200
- rate_limit = void 0,
200
+ rate_limit = "global",
201
201
  params = void 0,
202
202
  compress = true,
203
203
  cache,
@@ -174,7 +174,7 @@ export class Endpoint {
174
174
  * Construct an endpoint.
175
175
  * @docs
176
176
  */
177
- constructor({ method, endpoint, authenticated = false, rate_limit = undefined, params = undefined, compress = true, cache, ip_whitelist = undefined, sitemap = undefined, robots = undefined, allow_unknown_params = false, _is_static = false,
177
+ constructor({ method, endpoint, authenticated = false, rate_limit = "global", params = undefined, compress = true, cache, ip_whitelist = undefined, sitemap = undefined, robots = undefined, allow_unknown_params = false, _is_static = false,
178
178
  // mode options.
179
179
  callback = undefined, view = undefined, data = undefined, file_path = undefined, content_type, // = "text/plain",
180
180
  }) {
@@ -174,7 +174,7 @@ export class Endpoint {
174
174
  * Construct an endpoint.
175
175
  * @docs
176
176
  */
177
- constructor({ method, endpoint, authenticated = false, rate_limit = undefined, params = undefined, compress = true, cache, ip_whitelist = undefined, sitemap = undefined, robots = undefined, allow_unknown_params = false, _is_static = false,
177
+ constructor({ method, endpoint, authenticated = false, rate_limit = "global", params = undefined, compress = true, cache, ip_whitelist = undefined, sitemap = undefined, robots = undefined, allow_unknown_params = false, _is_static = false,
178
178
  // mode options.
179
179
  callback = undefined, view = undefined, data = undefined, file_path = undefined, content_type, // = "text/plain",
180
180
  }) {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "author": "Daan van den Bergh",
3
3
  "name": "@vandenberghinc/volt",
4
- "version": "1.2.14",
4
+ "version": "1.2.16",
5
5
  "description": "",
6
6
  "type": "module",
7
7
  "types": "./backend/dist/esm/index.d.ts",