@mlightcad/libredwg-web 0.6.0 → 0.6.1

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.
@@ -7639,8 +7639,8 @@ class LibreDwgConverter {
7639
7639
  const ownerhandle = libredwg.dwg_object_object_get_ownerhandle_object(object_tio);
7640
7640
  const handle = libredwg.dwg_object_get_handle_object(obj);
7641
7641
  return {
7642
- handle: handle.value,
7643
- ownerHandle: ownerhandle.absolute_ref
7642
+ handle: idToString(handle.value),
7643
+ ownerHandle: idToString(ownerhandle.absolute_ref)
7644
7644
  };
7645
7645
  }
7646
7646
  }
@@ -7644,8 +7644,8 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
7644
7644
  const ownerhandle = libredwg.dwg_object_object_get_ownerhandle_object(object_tio);
7645
7645
  const handle = libredwg.dwg_object_get_handle_object(obj);
7646
7646
  return {
7647
- handle: handle.value,
7648
- ownerHandle: ownerhandle.absolute_ref
7647
+ handle: idToString(handle.value),
7648
+ ownerHandle: idToString(ownerhandle.absolute_ref)
7649
7649
  };
7650
7650
  }
7651
7651
  }
@@ -836,8 +836,8 @@ export class LibreDwgConverter {
836
836
  const ownerhandle = libredwg.dwg_object_object_get_ownerhandle_object(object_tio);
837
837
  const handle = libredwg.dwg_object_get_handle_object(obj);
838
838
  return {
839
- handle: handle.value,
840
- ownerHandle: ownerhandle.absolute_ref
839
+ handle: idToString(handle.value),
840
+ ownerHandle: idToString(ownerhandle.absolute_ref)
841
841
  };
842
842
  }
843
843
  }
@@ -1,5 +1,5 @@
1
1
  export interface DwgCommonObject {
2
- ownerHandle: number;
3
- handle: number;
2
+ ownerHandle: string;
3
+ handle: string;
4
4
  }
5
5
  //# sourceMappingURL=common.d.ts.map
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "description": "A DWG/DXF JavaScript parser based on libredwg",
4
4
  "license": "GPL-2.0-only",
5
5
  "private": false,
6
- "version": "0.6.0",
6
+ "version": "0.6.1",
7
7
  "author": "MLight Lee <mlight.lee@outlook.com>",
8
8
  "type": "module",
9
9
  "repository": {