@bytexbyte/berify-analytics-api 1.3.15 → 1.3.17

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.
@@ -112,7 +112,7 @@ var BerifyScanChartApi = /** @class */ (function (_super) {
112
112
  'Content-Type': 'application/json'
113
113
  },
114
114
  body: JSON.stringify({ user: user, form: form })
115
- }, '/scan-rate-all')];
115
+ }, 'scan-rate-all')];
116
116
  case 1:
117
117
  response = _a.sent();
118
118
  return [2 /*return*/, response.json()];
@@ -131,7 +131,7 @@ var BerifyScanChartApi = /** @class */ (function (_super) {
131
131
  'Content-Type': 'application/json'
132
132
  },
133
133
  body: JSON.stringify(form)
134
- }, '/scan-rate-by-time')];
134
+ }, 'scan-rate-by-time')];
135
135
  case 1:
136
136
  response = _a.sent();
137
137
  return [2 /*return*/, response.json()];
@@ -150,7 +150,7 @@ var BerifyScanChartApi = /** @class */ (function (_super) {
150
150
  'Content-Type': 'application/json'
151
151
  },
152
152
  body: JSON.stringify({ form: form })
153
- }, '/batch-scan-data')];
153
+ }, 'batch-scan-data')];
154
154
  case 1:
155
155
  response = _a.sent();
156
156
  return [2 /*return*/, response.json()];
@@ -86,7 +86,7 @@ export type ScanRateType = {
86
86
  export type BatchScanDataRequest = {
87
87
  batchId: string;
88
88
  };
89
- export type BatchScanDataDataResult = {
89
+ export type BatchScanDataResult = {
90
90
  tagTokenId: string;
91
91
  totalScan: number;
92
92
  uniqueCount: number;
@@ -110,7 +110,7 @@ export type BatchScanDataDataResult = {
110
110
  };
111
111
  export type BatchScanDataResponse = {
112
112
  status: 'ok' | 'error';
113
- data?: BatchScanDataDataResult[];
113
+ data?: BatchScanDataResult[];
114
114
  error?: string;
115
115
  currentPage: number;
116
116
  totalPages: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bytexbyte/berify-analytics-api",
3
- "version": "1.3.15",
3
+ "version": "1.3.17",
4
4
  "description": "api",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",