@chrtco/sdk 0.10.27 → 0.10.28

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/dist/index.cjs CHANGED
@@ -634,7 +634,7 @@ function buildSources(opts = {}) {
634
634
  if (opts.base) {
635
635
  sources[BASE_REGION] = {
636
636
  type: "vector",
637
- tiles: [`${base}/v1/tiles/${BASE_REGION}/{z}/{x}/{y}.mvt`],
637
+ tiles: [tileTemplate(base, BASE_REGION, "mvt", buildFor(BASE_REGION))],
638
638
  minzoom: BASE_MINZOOM,
639
639
  maxzoom: BASE_MAXZOOM
640
640
  };