glitch-javascript-sdk 1.8.3 → 1.8.4

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/cjs/index.js CHANGED
@@ -23348,6 +23348,10 @@ var TitlesRoute = /** @class */ (function () {
23348
23348
  url: "/titles/{title_id}/utm",
23349
23349
  method: HTTP_METHODS.GET,
23350
23350
  },
23351
+ getWebTrackingToken: {
23352
+ url: "/titles/{title_id}/webTrackingToken",
23353
+ method: HTTP_METHODS.GET,
23354
+ },
23351
23355
  /**
23352
23356
  * 3) Analyze UTM data with optional group_by / dimension-based aggregates
23353
23357
  * GET /titles/{title_id}/utm/analysis
@@ -23687,6 +23691,18 @@ var Titles = /** @class */ (function () {
23687
23691
  Titles.getUtmAnalytics = function (title_id, params) {
23688
23692
  return Requests.processRoute(TitlesRoute.routes.getUtmAnalytics, {}, { title_id: title_id }, params);
23689
23693
  };
23694
+ /**
23695
+ * Get the web tracking token used for websites.
23696
+ *
23697
+ * GET /titles/{title_id}/webTrackingToken
23698
+ *
23699
+ * @param title_id The UUID of the title
23700
+ * @param params Optional query params:
23701
+ * @returns AxiosPromise
23702
+ */
23703
+ Titles.getWebTrackingToken = function (title_id, params) {
23704
+ return Requests.processRoute(TitlesRoute.routes.getWebTrackingToken, {}, { title_id: title_id }, params);
23705
+ };
23690
23706
  /**
23691
23707
  * Analyze UTM data with optional group_by (source, campaign, medium, device_type, etc.)
23692
23708
  *