@abapify/adk 0.4.33 → 0.4.34
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.mjs +3 -3
- package/dist/index.mjs.map +1 -1
- package/package.json +4 -4
package/dist/index.mjs
CHANGED
|
@@ -4915,7 +4915,7 @@ var AdkTransport = class AdkTransport {
|
|
|
4915
4915
|
*/
|
|
4916
4916
|
getObjectTypes() {
|
|
4917
4917
|
const types = new Set(this.objects.map((obj) => obj.type));
|
|
4918
|
-
return Array.from(types).sort();
|
|
4918
|
+
return Array.from(types).sort((a, b) => a.localeCompare(b));
|
|
4919
4919
|
}
|
|
4920
4920
|
/**
|
|
4921
4921
|
* Get object count by type
|
|
@@ -5098,8 +5098,8 @@ const NAME_PATTERN = /adtcore:name="([^"]+)"/;
|
|
|
5098
5098
|
* @returns Extracted type and name, or undefined if not found
|
|
5099
5099
|
*/
|
|
5100
5100
|
function parseXmlIdentity(xml) {
|
|
5101
|
-
const typeMatch =
|
|
5102
|
-
const nameMatch =
|
|
5101
|
+
const typeMatch = TYPE_PATTERN.exec(xml);
|
|
5102
|
+
const nameMatch = NAME_PATTERN.exec(xml);
|
|
5103
5103
|
if (typeMatch && nameMatch) return {
|
|
5104
5104
|
type: typeMatch[1],
|
|
5105
5105
|
name: nameMatch[1]
|