@dmptool/utils 1.0.31 → 1.0.32

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/maDMP.d.ts CHANGED
@@ -48,4 +48,4 @@ export declare const validateDMPToolExtensions: (logger: Logger, dmpId: string,
48
48
  * @param includeExtensions whether to include the DMP Tool extensions. Defaults to true.
49
49
  * @returns a JSON representation of the DMP
50
50
  */
51
- export declare function planToDMPCommonStandard(rdsConnectionParams: ConnectionParams, applicationName: string, domainName: string, env: EnvironmentEnum | undefined, planId: number, includeExtensions: true): Promise<DMPToolDMPType | undefined>;
51
+ export declare function planToDMPCommonStandard(rdsConnectionParams: ConnectionParams, applicationName: string, domainName: string, env: EnvironmentEnum | undefined, planId: number, includeExtensions?: boolean): Promise<DMPToolDMPType | undefined>;
package/dist/maDMP.js CHANGED
@@ -938,7 +938,7 @@ const cleanRDACommonStandard = (plan, dmp) => {
938
938
  * @param includeExtensions whether to include the DMP Tool extensions. Defaults to true.
939
939
  * @returns a JSON representation of the DMP
940
940
  */
941
- async function planToDMPCommonStandard(rdsConnectionParams, applicationName, domainName, env = general_1.EnvironmentEnum.DEV, planId, includeExtensions) {
941
+ async function planToDMPCommonStandard(rdsConnectionParams, applicationName, domainName, env = general_1.EnvironmentEnum.DEV, planId, includeExtensions = true) {
942
942
  if (!rdsConnectionParams || !applicationName || !domainName || !planId) {
943
943
  throw new Error('Invalid arguments provided to planToDMPCommonStandard');
944
944
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dmptool/utils",
3
- "version": "1.0.31",
3
+ "version": "1.0.32",
4
4
  "description": "Helper/Utility functions for use in the DMP Tool services. Particularly AWS tooling and maDMP serialization",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",