@golstats/gsc-top-player 1.1.4 → 1.1.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@golstats/gsc-top-player",
3
- "version": "1.1.4",
3
+ "version": "1.1.5",
4
4
  "main": "dist/gsc-top-player.umd.js",
5
5
  "module": "dist/gsc-top-player.es.js",
6
6
  "exports": {
@@ -2275,7 +2275,11 @@ export default {
2275
2275
  return config
2276
2276
  })
2277
2277
  const data = await axiosInstance4.get(
2278
- 'https://golstats-microservices.s3.us-west-2.amazonaws.com/eligibles/elegibles.json',
2278
+ getApiUrl(
2279
+ 'https://golstats-microservices.s3.us-west-2.amazonaws.com/eligibles/elegibles.json',
2280
+ this.provider,
2281
+ this.isDevApis
2282
+ ),
2279
2283
  { headers: { 'Content-Type': 'application/json' } },
2280
2284
  )
2281
2285
 
@@ -21,7 +21,7 @@ export function getApiUrl(originalUrl, provider, isDevApis) {
21
21
 
22
22
  // Obtener path + query string y eliminar segmento "prod" o "qa" inicial
23
23
  let pathWithQuery = parsed.pathname + parsed.search
24
- pathWithQuery = pathWithQuery.replace(/^\/(prod|qa)\//, '/')
24
+ pathWithQuery = pathWithQuery.replace(/^\/(prod|qa\d*)\//, '/')
25
25
 
26
26
  // Quitar barra inicial y combinar con la base
27
27
  const relativePath = pathWithQuery.replace(/^\//, '')
@@ -1,21 +0,0 @@
1
- import { ref as r, openBlock as a, createElementBlock as n, createVNode as c, unref as u } from "vue";
2
- import { K as d, x as i } from "./index-DOAxTpI0.js";
3
- const f = { class: "filter-field" }, m = {
4
- __name: "FilterField",
5
- setup(p) {
6
- const l = r(Array.from({ length: 16 }, (t, e) => e + 1));
7
- function o() {
8
- }
9
- return (t, e) => (a(), n("div", f, [
10
- c(u(i), {
11
- width: "100%",
12
- "background-color": "#2E3B46",
13
- value: l.value,
14
- "onUpdate:modelValue": o
15
- }, null, 8, ["value"])
16
- ]));
17
- }
18
- }, _ = /* @__PURE__ */ d(m, [["__scopeId", "data-v-8103c3e1"]]);
19
- export {
20
- _ as default
21
- };