@golstats/gsc-top-player 1.1.3 → 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.3",
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": {
@@ -54,7 +54,6 @@
54
54
  "@golstats/gsc-label": "^1.0.5",
55
55
  "@golstats/gsc-season-select": "^1.0.10",
56
56
  "@golstats/gsc-switch-component": "^1.0.14",
57
- "@golstats/gsc-tournament-select": "^1.0.23",
58
57
  "axios": "^1.10.0"
59
58
  },
60
59
  "devDependencies": {
@@ -45,7 +45,6 @@ import { filtersTypes, personalDataSubFiltersTypes } from '@golstats/gsc-filters
45
45
 
46
46
  import '@@/@golstats/gsc-switch-component/dist/style.css'
47
47
  import '@@/@golstats/gsc-season-select/dist/style.css'
48
- import '@@/@golstats/gsc-tournament-select/dist/style.css'
49
48
  import '@@/@golstats/gsc-dropdown/dist/style.css'
50
49
  import '@@/@golstats/gsc-filters/dist/style.css'
51
50
  import '@@/@golstats/gsc-label/dist/style.css'
@@ -2276,7 +2275,11 @@ export default {
2276
2275
  return config
2277
2276
  })
2278
2277
  const data = await axiosInstance4.get(
2279
- '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
+ ),
2280
2283
  { headers: { 'Content-Type': 'application/json' } },
2281
2284
  )
2282
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
- };