@absolutejs/voice 0.0.22-beta.365 → 0.0.22-beta.366

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.
Files changed (2) hide show
  1. package/dist/index.js +1 -2
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -33576,9 +33576,8 @@ var createVoiceProductionReadinessRoutes = (options) => {
33576
33576
  };
33577
33577
  };
33578
33578
  const reportCacheKey = (query, request) => {
33579
- const url = new URL(request.url);
33580
33579
  const queryKey = Object.entries(query).map(([key, value]) => [key, String(value)]).sort(([left], [right]) => left.localeCompare(right)).map(([key, value]) => `${key}=${value}`).join("&");
33581
- return `${url.pathname}?${queryKey}`;
33580
+ return queryKey;
33582
33581
  };
33583
33582
  const getReport = async (query, request) => {
33584
33583
  const cacheMs = typeof options.cacheMs === "number" && Number.isFinite(options.cacheMs) && options.cacheMs > 0 ? options.cacheMs : 0;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@absolutejs/voice",
3
- "version": "0.0.22-beta.365",
3
+ "version": "0.0.22-beta.366",
4
4
  "description": "Voice primitives and Elysia plugin for AbsoluteJS",
5
5
  "repository": {
6
6
  "type": "git",