diff --git a/CHANGES.md b/CHANGES.md index ec750d4..90851ee 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,7 +1 @@ -0.0.8 -- Updated `GTFSFareTransferRule` -0.0.7 -- Updated `GTFSFareProduct` -0.0.0 ~ 0.0.6 -- Initial version. -- Minor updates. +Updated translation diff --git a/package-lock.json b/package-lock.json index a9e90b7..ba4e283 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "gtfs-io", - "version": "0.0.9", + "version": "0.0.10", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "gtfs-io", - "version": "0.0.9", + "version": "0.0.10", "license": "ISC", "dependencies": { "adm-zip": "^0.5.10", diff --git a/package.json b/package.json index 83aa85e..5f043cb 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "gtfs-io", "type": "module", - "version": "0.0.9", + "version": "0.0.10", "description": "IO operations for reading and writing GTFS datasets and GTFS type definitions.", "main": "dist/index.js", "keywords": [ diff --git a/src/files/translation.ts b/src/files/translation.ts index 3a64946..44f6691 100644 --- a/src/files/translation.ts +++ b/src/files/translation.ts @@ -4,7 +4,7 @@ type TranslationByRecordID = { /** Defines the record that corresponds to the field to be translated. */ record_id: string, /** Helps the record that contains the field to be translated when the table doesn’t have a unique ID. */ - record_sub_id: string|number, + record_sub_id?: string|number, /** Instead of defining which record should be translated by using `record_id` and `record_sub_id`, this field can be used to define the value which should be translated. */ field_value?: undefined|'' };