xml-disassembler 1.2.1 → 1.2.3

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.
@@ -1 +1 @@
1
- export declare function buildReassembledFile(combinedXmlContents: string[], filePath: string, xmlElement: string, xmlNamespace: string | undefined): Promise<void>;
1
+ export declare function buildReassembledFile(combinedXmlContents: string[], filePath: string, xmlElement: string, xmlRootElementHeader: string | undefined): Promise<void>;
@@ -0,0 +1,2 @@
1
+ import { XmlElement } from "@src/helpers/types";
2
+ export declare function buildXMLString(element: XmlElement, indentLevel?: number): string;
@@ -3,7 +3,7 @@ interface XmlElement {
3
3
  }
4
4
  export declare class ReassembleXMLFileHandler {
5
5
  processFilesInDirectory(dirPath: string): Promise<[string[], [string, string | undefined] | undefined]>;
6
- processFilesForRootElement(xmlParsed: Record<string, XmlElement>): Promise<[string, string | undefined] | undefined>;
6
+ processFilesForRootElement(xmlParsed: Record<string, XmlElement>): Promise<[string, string | undefined]>;
7
7
  reassemble(xmlAttributes: {
8
8
  xmlPath: string;
9
9
  fileExtension?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "xml-disassembler",
3
- "version": "1.2.1",
3
+ "version": "1.2.3",
4
4
  "description": "A JavaScript package to disassemble XML files into smaller, more manageable files and reassemble them when needed.",
5
5
  "author": "Matt Carvin",
6
6
  "license": "ISC",
@@ -1,2 +0,0 @@
1
- import { XmlElement } from "@src/helpers/types";
2
- export declare function buildNestedElements(element: XmlElement, indentLevel?: number): string;