ts-japi
Advanced tools
Comparing version 1.6.2 to 1.6.3
@@ -38,3 +38,3 @@ "use strict"; | ||
// Setting default options | ||
this.relatedName = serializer.collectionName; | ||
this.relatedName = options.relatedName || serializer.collectionName; | ||
this.options = (0, merge_1.default)({}, Relator.defaultOptions, options); | ||
@@ -41,0 +41,0 @@ this.getRelatedData = fetch; |
@@ -28,3 +28,4 @@ import Linker from '../classes/linker'; | ||
metaizer?: Metaizer<[PrimaryType, SingleOrArray<RelatedType> | nullish]>; | ||
relatedName?: string; | ||
} | ||
//# sourceMappingURL=relator.interface.d.ts.map |
{ | ||
"name": "ts-japi", | ||
"version": "1.6.2", | ||
"version": "1.6.3", | ||
"description": "A highly-modular (typescript-friendly)-framework agnostic library for serializing data to the JSON:API specification", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
213025
3286
1