@abapify/adt-contracts 0.4.41 → 0.4.43

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.
Files changed (2) hide show
  1. package/README.md +4 -1
  2. package/package.json +4 -4
package/README.md CHANGED
@@ -15,7 +15,10 @@ npm install @abapify/adt-contracts
15
15
 
16
16
  ```ts
17
17
  import { adtContract } from '@abapify/adt-contracts';
18
- import { createClient } from '@abapify/speci/rest';
18
+ import { createClient, createFetchAdapter } from '@abapify/speci/rest';
19
+
20
+ const baseUrl = 'https://sap.example.com';
21
+ const adapter = createFetchAdapter();
19
22
 
20
23
  const client = createClient(adtContract, { baseUrl, adapter });
21
24
  ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abapify/adt-contracts",
3
- "version": "0.4.41",
3
+ "version": "0.4.43",
4
4
  "description": "SAP ADT REST API contracts using speci + ts-xsd",
5
5
  "license": "MIT",
6
6
  "publishConfig": {
@@ -15,11 +15,11 @@
15
15
  "./package.json": "./package.json"
16
16
  },
17
17
  "dependencies": {
18
- "@abapify/speci": "0.4.41",
19
- "@abapify/adt-schemas": "0.4.41"
18
+ "@abapify/speci": "0.4.43",
19
+ "@abapify/adt-schemas": "0.4.43"
20
20
  },
21
21
  "devDependencies": {
22
- "@abapify/adt-fixtures": "0.4.41"
22
+ "@abapify/adt-fixtures": "0.4.43"
23
23
  },
24
24
  "files": [
25
25
  "dist"