basyx-typescript-sdk 0.1.11 → 0.2.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.
package/README.md CHANGED
@@ -25,10 +25,23 @@ Utility functions for working with AAS data:
25
25
 
26
26
  ```bash
27
27
  npm install basyx-typescript-sdk
28
+ # or
29
+ yarn add basyx-typescript-sdk
28
30
  ```
29
31
 
30
32
  > See https://www.npmjs.com/package/basyx-typescript-sdk
31
33
 
34
+ ---
35
+
36
+ > [!IMPORTANT]
37
+ > Make sure to install `@aas-core-works/aas-core3.0-typescript` in your project:
38
+
39
+ ```bash
40
+ npm install @aas-core-works/aas-core3.0-typescript
41
+ # or
42
+ yarn add @aas-core-works/aas-core3.0-typescript
43
+ ```
44
+
32
45
  ## Usage
33
46
 
34
47
  ```typescript
@@ -39,7 +52,7 @@ async function getAllShells() {
39
52
  const client = new AasRepositoryClient();
40
53
 
41
54
  try {
42
- const response = await client.getAllAssetAdministrationShells(baseURL);
55
+ const response = await client.getAllAssetAdministrationShells({ baseUrl: baseURL });
43
56
  console.log('Asset Administration Shells fetched successfully:', response);
44
57
  // You can now use the response as needed
45
58
  } catch (error) {