@agenus-io/pixel-backend-sdk 1.0.23 → 1.0.24

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.
@@ -224,7 +224,7 @@ class PixelSDK {
224
224
  secretToken: this.appToken,
225
225
  workSpaceId: workSpaceId,
226
226
  };
227
- const response = await axios_1.default.get(`${this.apiUrl}/metrics`, {
227
+ const response = await axios_1.default.get(`${this.apiUrl}/pixels/metrics`, {
228
228
  headers: { "app-id": token.appId, "app-secret-token": token.secretToken, "work-space-id": token.workSpaceId },
229
229
  params: { platform, productIds, offerIds, filter },
230
230
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agenus-io/pixel-backend-sdk",
3
- "version": "1.0.23",
3
+ "version": "1.0.24",
4
4
  "description": "SDK para envio de vendas para fila AWS SQS do micro-serviço de pixels",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",