xml-model 1.0.1 → 1.1.0

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/index.d.ts CHANGED
@@ -3,4 +3,5 @@ export type { XMLElement, XMLRoot, Constructor } from './types';
3
3
  export { defaults } from './defaults';
4
4
  export { getModel, createModel, Model, Prop } from './model';
5
5
  export * from './errors';
6
+ export * from 'typescript-rtti';
6
7
  export { XML };
package/dist/index.js CHANGED
@@ -1,6 +1,7 @@
1
1
  import { defaults } from "./defaults.js";
2
2
  import { Model, createModel } from "./model/index.js";
3
3
  import { FromXMLConversionError, PropertyFromXMLConversionError, PropertyToXMLConversionError, ToXMLConversionError } from "./errors.js";
4
+ export * from "typescript-rtti";
4
5
  import { default as default2 } from "./xml/index.js";
5
6
  import { Prop } from "./model/property.js";
6
7
  import { getModel } from "./model/registry.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "xml-model",
3
- "version": "1.0.1",
3
+ "version": "1.1.0",
4
4
  "description": "allows transparent XML <-> Object conversion in typescript",
5
5
  "license": "MIT",
6
6
  "author": "MathisTLD",
@@ -13,6 +13,7 @@ function FixClassNames() {
13
13
  config() {
14
14
  return {
15
15
  esbuild: {
16
+ // if not using this ClassName is changed back to ClassName2 on build
16
17
  keepNames: true
17
18
  }
18
19
  };