glitch-javascript-sdk 0.9.9 → 1.0.1

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
@@ -22344,8 +22344,8 @@ var Campaigns = /** @class */ (function () {
22344
22344
  *
22345
22345
  * @returns promise
22346
22346
  */
22347
- Campaigns.getLedger = function (params) {
22348
- return Requests.processRoute(CampaignsRoute.routes.getLedger, undefined, undefined, params);
22347
+ Campaigns.getLedger = function (campaign_id, params) {
22348
+ return Requests.processRoute(CampaignsRoute.routes.getLedger, undefined, { campaign_id: campaign_id }, params);
22349
22349
  };
22350
22350
  /**
22351
22351
  * List all the campaign links.
@@ -22364,8 +22364,8 @@ var Campaigns = /** @class */ (function () {
22364
22364
  *
22365
22365
  * @returns promise
22366
22366
  */
22367
- Campaigns.listCampaignLinkClicks = function (campaign_id, params) {
22368
- return Requests.processRoute(CampaignsRoute.routes.listCampaignLinkClicks, undefined, { campaign_id: campaign_id }, params);
22367
+ Campaigns.listInfluencerCampaignLinkClicks = function (campaign_id, user_id, params) {
22368
+ return Requests.processRoute(CampaignsRoute.routes.listInfluencerCampaignLinkClicks, undefined, { campaign_id: campaign_id, user_id: user_id }, params);
22369
22369
  };
22370
22370
  /**
22371
22371
  * Create a new campaign link.