@reforgium/internal 2.0.4 → 2.0.5

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.
@@ -880,7 +880,9 @@ function fillUrlWithParams(template, params) {
880
880
  if (!params) {
881
881
  return template;
882
882
  }
883
- return template.replace(/:([a-zA-Z0-9_]+)/g, (_, k) => encodeURIComponent(params[k] ?? ''));
883
+ return template.replace(/:([a-zA-Z0-9_]+)/g, (_, key) => {
884
+ return encodeURIComponent(params[key] ?? '').replaceAll('%2F', '/');
885
+ });
884
886
  }
885
887
  /**
886
888
  * Low-level URL helper for appending query parameters to an existing URL.
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "2.0.4",
2
+ "version": "2.0.5",
3
3
  "name": "@reforgium/internal",
4
4
  "description": "Hidden Reforgium foundation package for shared primitives, tokens, and infrastructure.",
5
5
  "author": "rtommievich",