deepline 0.1.196 → 0.1.198

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.
@@ -106,10 +106,10 @@ export const SDK_RELEASE = {
106
106
  // 0.1.154 removes the short-lived generated enrich StepOptions recompute
107
107
  // fields shipped in 0.1.153.
108
108
  // 0.1.175 ships loud `deepline enrich` empty-waterfall reporting.
109
- version: '0.1.196',
109
+ version: '0.1.198',
110
110
  apiContract: '2026-06-dataset-handle-results-hard-cutover',
111
111
  supportPolicy: {
112
- latest: '0.1.196',
112
+ latest: '0.1.198',
113
113
  minimumSupported: '0.1.53',
114
114
  deprecatedBelow: '0.1.53',
115
115
  commandMinimumSupported: [
package/dist/cli/index.js CHANGED
@@ -623,10 +623,10 @@ var SDK_RELEASE = {
623
623
  // 0.1.154 removes the short-lived generated enrich StepOptions recompute
624
624
  // fields shipped in 0.1.153.
625
625
  // 0.1.175 ships loud `deepline enrich` empty-waterfall reporting.
626
- version: "0.1.196",
626
+ version: "0.1.198",
627
627
  apiContract: "2026-06-dataset-handle-results-hard-cutover",
628
628
  supportPolicy: {
629
- latest: "0.1.196",
629
+ latest: "0.1.198",
630
630
  minimumSupported: "0.1.53",
631
631
  deprecatedBelow: "0.1.53",
632
632
  commandMinimumSupported: [
@@ -6135,16 +6135,7 @@ async function handleHistory(options) {
6135
6135
  `/api/v2/billing/ledger?since_at=${sinceAt}&limit=5000`
6136
6136
  );
6137
6137
  const entries = Array.isArray(payload.entries) ? payload.entries : [];
6138
- const rows = entries.map((entry) => {
6139
- const metadata = entry.metadata ?? {};
6140
- return {
6141
- created_at: entry.created_at ?? "",
6142
- delta_credits: entry.delta ?? "",
6143
- reason: entry.reason ?? "",
6144
- provider: metadata.provider ?? "",
6145
- operation: metadata.operation ?? ""
6146
- };
6147
- });
6138
+ const rows = entries.map(ledgerApiEntryToRow);
6148
6139
  const outputPath = await writeCsvRowsFile(
6149
6140
  `billing-history-${options.time}`,
6150
6141
  rows
@@ -19419,6 +19410,9 @@ function shouldFetchBackingRowsForEnrichExport(rowsInfo, status, options = {}) {
19419
19410
  if (tableNamespace === GENERATED_ENRICH_ROWS_TABLE_NAMESPACE && typeof options.selectedSourceRows === "number" && rowsInfo.rows.length < options.selectedSourceRows) {
19420
19411
  return true;
19421
19412
  }
19413
+ if (tableNamespace === GENERATED_ENRICH_ROWS_TABLE_NAMESPACE && typeof options.selectedSourceRows === "number" && options.selectedSourceRows > 0) {
19414
+ return true;
19415
+ }
19422
19416
  if (tableNamespace === GENERATED_ENRICH_ROWS_TABLE_NAMESPACE && hasFailedRowSignal(status)) {
19423
19417
  return true;
19424
19418
  }
@@ -608,10 +608,10 @@ var SDK_RELEASE = {
608
608
  // 0.1.154 removes the short-lived generated enrich StepOptions recompute
609
609
  // fields shipped in 0.1.153.
610
610
  // 0.1.175 ships loud `deepline enrich` empty-waterfall reporting.
611
- version: "0.1.196",
611
+ version: "0.1.198",
612
612
  apiContract: "2026-06-dataset-handle-results-hard-cutover",
613
613
  supportPolicy: {
614
- latest: "0.1.196",
614
+ latest: "0.1.198",
615
615
  minimumSupported: "0.1.53",
616
616
  deprecatedBelow: "0.1.53",
617
617
  commandMinimumSupported: [
@@ -6132,16 +6132,7 @@ async function handleHistory(options) {
6132
6132
  `/api/v2/billing/ledger?since_at=${sinceAt}&limit=5000`
6133
6133
  );
6134
6134
  const entries = Array.isArray(payload.entries) ? payload.entries : [];
6135
- const rows = entries.map((entry) => {
6136
- const metadata = entry.metadata ?? {};
6137
- return {
6138
- created_at: entry.created_at ?? "",
6139
- delta_credits: entry.delta ?? "",
6140
- reason: entry.reason ?? "",
6141
- provider: metadata.provider ?? "",
6142
- operation: metadata.operation ?? ""
6143
- };
6144
- });
6135
+ const rows = entries.map(ledgerApiEntryToRow);
6145
6136
  const outputPath = await writeCsvRowsFile(
6146
6137
  `billing-history-${options.time}`,
6147
6138
  rows
@@ -19448,6 +19439,9 @@ function shouldFetchBackingRowsForEnrichExport(rowsInfo, status, options = {}) {
19448
19439
  if (tableNamespace === GENERATED_ENRICH_ROWS_TABLE_NAMESPACE && typeof options.selectedSourceRows === "number" && rowsInfo.rows.length < options.selectedSourceRows) {
19449
19440
  return true;
19450
19441
  }
19442
+ if (tableNamespace === GENERATED_ENRICH_ROWS_TABLE_NAMESPACE && typeof options.selectedSourceRows === "number" && options.selectedSourceRows > 0) {
19443
+ return true;
19444
+ }
19451
19445
  if (tableNamespace === GENERATED_ENRICH_ROWS_TABLE_NAMESPACE && hasFailedRowSignal(status)) {
19452
19446
  return true;
19453
19447
  }
package/dist/index.js CHANGED
@@ -422,10 +422,10 @@ var SDK_RELEASE = {
422
422
  // 0.1.154 removes the short-lived generated enrich StepOptions recompute
423
423
  // fields shipped in 0.1.153.
424
424
  // 0.1.175 ships loud `deepline enrich` empty-waterfall reporting.
425
- version: "0.1.196",
425
+ version: "0.1.198",
426
426
  apiContract: "2026-06-dataset-handle-results-hard-cutover",
427
427
  supportPolicy: {
428
- latest: "0.1.196",
428
+ latest: "0.1.198",
429
429
  minimumSupported: "0.1.53",
430
430
  deprecatedBelow: "0.1.53",
431
431
  commandMinimumSupported: [
package/dist/index.mjs CHANGED
@@ -352,10 +352,10 @@ var SDK_RELEASE = {
352
352
  // 0.1.154 removes the short-lived generated enrich StepOptions recompute
353
353
  // fields shipped in 0.1.153.
354
354
  // 0.1.175 ships loud `deepline enrich` empty-waterfall reporting.
355
- version: "0.1.196",
355
+ version: "0.1.198",
356
356
  apiContract: "2026-06-dataset-handle-results-hard-cutover",
357
357
  supportPolicy: {
358
- latest: "0.1.196",
358
+ latest: "0.1.198",
359
359
  minimumSupported: "0.1.53",
360
360
  deprecatedBelow: "0.1.53",
361
361
  commandMinimumSupported: [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "deepline",
3
- "version": "0.1.196",
3
+ "version": "0.1.198",
4
4
  "description": "Deepline SDK + CLI — B2B data enrichment powered by durable cloud execution",
5
5
  "license": "MIT",
6
6
  "repository": {