Skip to content

Commit a0d62f1

Browse files
authored
Fixes issue with xmlization export (#502)
* Fixes issue with xmlization export * Exports BaSyxEnvironment model from index * Updates publish workflow to node 24
1 parent 862bbb9 commit a0d62f1

5 files changed

Lines changed: 7 additions & 2 deletions

File tree

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
- name: Set up Node.js
2020
uses: actions/setup-node@v6
2121
with:
22-
node-version: '22'
22+
node-version: '24'
2323
registry-url: 'https://registry.npmjs.org'
2424

2525
- name: Update npm (OIDC/provenance support)

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "basyx-typescript-sdk",
3-
"version": "2.1.2",
3+
"version": "2.2.1",
44
"description": "BaSyx TypeScript SDK for developing applications and components for the Asset Administration Shell (AAS)",
55
"main": "bundle/index.cjs",
66
"module": "bundle/index.mjs",

src/lib/index.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,3 +39,6 @@ export {
3939
export { applyDefaults } from './apiConfig';
4040
export { base64Decode, base64Encode } from './base64Url';
4141
export { handleApiError } from './errorHandler';
42+
43+
// XML Data Format
44+
export { deserializeXml, serializeXml } from './aas-dataformat-xml';

src/models/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
export * from './api';
22
export * from './AssetId';
3+
export * from './BaSyxEnvironment';
34
export * from './Descriptors';

tsconfig.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
"target": "esnext",
44
"module": "ESNext",
55
"moduleResolution": "Bundler",
6+
"rewriteRelativeImportExtensions": true,
67
"useDefineForClassFields": true,
78
"allowSyntheticDefaultImports": true,
89
"composite": true,

0 commit comments

Comments
 (0)