@rotorsoft/act 2.1.7 → 2.1.8
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/.tsbuildinfo +1 -1
- package/dist/@types/csv.d.ts.map +1 -1
- package/dist/index.cjs +2 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +2 -4
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -5407,10 +5407,8 @@ var CsvFile = class {
|
|
|
5407
5407
|
const event = {
|
|
5408
5408
|
id: Number.parseInt(fields[0], 10),
|
|
5409
5409
|
name: fields[1],
|
|
5410
|
-
//
|
|
5411
|
-
//
|
|
5412
|
-
// through a CSV restore. The `created` column below has
|
|
5413
|
-
// always been parsed explicitly; the JSON columns were missed.
|
|
5410
|
+
// Plain JSON, as every store returns it: a date in `data` stays its
|
|
5411
|
+
// ISO string here, and a load revives it from the event's schema.
|
|
5414
5412
|
data: JSON.parse(fields[2]),
|
|
5415
5413
|
stream: fields[3],
|
|
5416
5414
|
version: Number.parseInt(fields[4], 10),
|