@@ -49,12 +49,12 @@ yarn add basyx-typescript-sdk
4949---
5050
5151> [ !IMPORTANT]
52- > Make sure to also install ` @aas-core-works/aas-core3.0 -typescript ` in your project:
52+ > Make sure to also install ` @aas-core-works/aas-core3.1 -typescript ` in your project:
5353
5454``` bash
55- npm install @aas-core-works/aas-core3.0 -typescript
55+ npm install @aas-core-works/aas-core3.1 -typescript
5656# or
57- yarn add @aas-core-works/aas-core3.0 -typescript
57+ yarn add @aas-core-works/aas-core3.1 -typescript
5858```
5959
6060## Import Styles
@@ -133,7 +133,7 @@ async function getAllShells() {
133133
134134``` typescript
135135import { AasService , Configuration } from ' basyx-typescript-sdk' ;
136- import { AssetAdministrationShell , AssetInformation , AssetKind } from ' @aas-core-works/aas-core3.0 -typescript/types' ;
136+ import { AssetAdministrationShell , AssetInformation , AssetKind } from ' @aas-core-works/aas-core3.1 -typescript/types' ;
137137
138138// Initialize service with both registry and repository
139139const service = new AasService ({
@@ -245,7 +245,7 @@ if (withConceptDescriptions.success) {
245245}
246246
247247// Resolve a Reference to get endpoints for AAS, Submodel, or SubmodelElement
248- import { Reference , Key , KeyTypes , ReferenceTypes } from ' @aas-core-works/aas-core3.0 -typescript/types' ;
248+ import { Reference , Key , KeyTypes , ReferenceTypes } from ' @aas-core-works/aas-core3.1 -typescript/types' ;
249249
250250// Example 1: Reference to AAS and Submodel
251251const reference1 = new Reference (
@@ -314,7 +314,7 @@ if (allWithCD.success) {
314314
315315``` typescript
316316import { SubmodelService , Configuration } from ' basyx-typescript-sdk' ;
317- import { Submodel , ModellingKind } from ' @aas-core-works/aas-core3.0 -typescript/types' ;
317+ import { Submodel , ModellingKind } from ' @aas-core-works/aas-core3.1 -typescript/types' ;
318318
319319// Initialize service with both registry and repository
320320const service = new SubmodelService ({
@@ -429,7 +429,7 @@ const byEndpointWithCD = await serviceWithCD.getSubmodelByEndpoint({
429429
430430``` typescript
431431import { getSubmodelElementByIdShort , extractEndpointHref , base64Encode } from ' basyx-typescript-sdk' ;
432- import { Submodel } from ' @aas-core-works/aas-core3.0 -typescript/types' ;
432+ import { Submodel } from ' @aas-core-works/aas-core3.1 -typescript/types' ;
433433
434434// Get a submodel element by its idShort
435435const element = getSubmodelElementByIdShort (submodel , ' MyProperty' );
@@ -447,7 +447,7 @@ const encoded = base64Encode('https://example.com/ids/aas/my-aas');
447447``` typescript
448448import { serializeXml , deserializeXml } from ' basyx-typescript-sdk' ;
449449import { BaSyxEnvironment } from ' basyx-typescript-sdk' ;
450- import { AssetAdministrationShell , AssetInformation , AssetKind , Submodel , ModellingKind } from ' @aas-core-works/aas-core3.0 -typescript/types' ;
450+ import { AssetAdministrationShell , AssetInformation , AssetKind , Submodel , ModellingKind } from ' @aas-core-works/aas-core3.1 -typescript/types' ;
451451
452452// Create an environment with AAS and Submodels
453453const environment = new BaSyxEnvironment (
0 commit comments