@0xtorch/csv 0.0.59 → 0.0.60

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@0xtorch/csv",
3
- "version": "0.0.59",
3
+ "version": "0.0.60",
4
4
  "description": "Cryptorch CSV extension",
5
5
  "keywords": [
6
6
  "cryptorch",
@@ -35,7 +35,7 @@
35
35
  ],
36
36
  "dependencies": {
37
37
  "@0xtorch/big-decimal": "^0.0.13",
38
- "@0xtorch/core": "^0.0.60",
38
+ "@0xtorch/core": "^0.0.61",
39
39
  "encoding-japanese": "^2.1.0",
40
40
  "papaparse": "^5.4.1",
41
41
  "xlsx": "^0.18.5",
@@ -85,7 +85,7 @@ export const parseRowsToActionsByParser = ({
85
85
  order: 0,
86
86
  type: generator.type,
87
87
  timestamp,
88
- evidence: 'system-rule',
88
+ evidence: generator.evidence ?? 'system-rule',
89
89
  comment,
90
90
  app,
91
91
  transfers: generator.transfers.flatMap((transfer) =>
package/schemas/parser.ts CHANGED
@@ -1,5 +1,6 @@
1
1
  import {
2
2
  actionCrossTypeUnionSchema,
3
+ actionEvidenceUnionSchema,
3
4
  actionTypeUnionSchema,
4
5
  } from '@0xtorch/core'
5
6
  import { z } from 'zod'
@@ -193,6 +194,7 @@ export const transferComponentSchema = z.object({
193
194
  const generatorSchema = z.object({
194
195
  type: actionTypeUnionSchema,
195
196
  source: allValueSchema,
197
+ evidence: actionEvidenceUnionSchema.optional(),
196
198
  timestamp: cellValueSchema,
197
199
  comment: allValueSchema.optional(),
198
200
  app: allValueSchema.optional(),
Binary file