@tileflow/core 0.1.0-alpha.45 → 0.1.0-alpha.46

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.js CHANGED
@@ -24873,7 +24873,8 @@ function createTileflowSessionController(input) {
24873
24873
  async function requestSessionGrant(input) {
24874
24874
  return runWithinSessionGrantTimeout(input.timeoutMs, async (signal) => {
24875
24875
  const apiUrl = getTileflowAnalyticsApiUrl(input.analytics);
24876
- const response = await input.fetchGrant(`${apiUrl}/v1/sessions/start`, {
24876
+ const fetchGrant = input.fetchGrant;
24877
+ const response = await fetchGrant(`${apiUrl}/v1/sessions/start`, {
24877
24878
  body: JSON.stringify({
24878
24879
  mapId: input.analytics.mapId,
24879
24880
  sdkVersion: input.analytics.sdkVersion,
package/dist/runtime.js CHANGED
@@ -3887,7 +3887,8 @@ function createTileflowSessionController(input) {
3887
3887
  async function requestSessionGrant(input) {
3888
3888
  return runWithinSessionGrantTimeout(input.timeoutMs, async (signal) => {
3889
3889
  const apiUrl = getTileflowAnalyticsApiUrl(input.analytics);
3890
- const response = await input.fetchGrant(`${apiUrl}/v1/sessions/start`, {
3890
+ const fetchGrant = input.fetchGrant;
3891
+ const response = await fetchGrant(`${apiUrl}/v1/sessions/start`, {
3891
3892
  body: JSON.stringify({
3892
3893
  mapId: input.analytics.mapId,
3893
3894
  sdkVersion: input.analytics.sdkVersion,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tileflow/core",
3
- "version": "0.1.0-alpha.45",
3
+ "version": "0.1.0-alpha.46",
4
4
  "license": "Apache-2.0",
5
5
  "description": "Typed Tileflow config and MapLibre style compiler.",
6
6
  "type": "module",