@lonca/trendyol 1.0.0 → 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/{client-Dnfjvwah.d.cts → client-CnDyop_o.d.cts} +5 -3
- package/dist/{client-Dnfjvwah.d.ts → client-CnDyop_o.d.ts} +5 -3
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/testing.cjs +1 -1
- package/dist/testing.cjs.map +1 -1
- package/dist/testing.d.cts +1 -1
- package/dist/testing.d.ts +1 -1
- package/dist/testing.js +1 -1
- package/dist/testing.js.map +1 -1
- package/package.json +2 -2
package/dist/testing.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { g as BatchRequestStatus, ba as TrendyolClient } from './client-
|
|
1
|
+
import { g as BatchRequestStatus, ba as TrendyolClient } from './client-CnDyop_o.cjs';
|
|
2
2
|
import '@lonca/core';
|
|
3
3
|
|
|
4
4
|
/** A request the fake client received, normalized for matching in a `handler`. */
|
package/dist/testing.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { g as BatchRequestStatus, ba as TrendyolClient } from './client-
|
|
1
|
+
import { g as BatchRequestStatus, ba as TrendyolClient } from './client-CnDyop_o.js';
|
|
2
2
|
import '@lonca/core';
|
|
3
3
|
|
|
4
4
|
/** A request the fake client received, normalized for matching in a `handler`. */
|
package/dist/testing.js
CHANGED
|
@@ -2637,7 +2637,7 @@ var VideosResource = class {
|
|
|
2637
2637
|
},
|
|
2638
2638
|
rateLimiter: this.listLimiter
|
|
2639
2639
|
});
|
|
2640
|
-
const rows = Array.isArray(data) ? data : Array.isArray(data?.content) ? data.content : Array.isArray(data?.items) ? data.items : [];
|
|
2640
|
+
const rows = Array.isArray(data) ? data : Array.isArray(data?.data) ? data.data : Array.isArray(data?.content) ? data.content : Array.isArray(data?.items) ? data.items : [];
|
|
2641
2641
|
return rows.map((r) => {
|
|
2642
2642
|
const row = r ?? {};
|
|
2643
2643
|
const out = { raw: row };
|