@netwo/saas-sdk-v1 1.0.0 → 1.1.0

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
@@ -10,11 +10,17 @@ to use with the client of [`@netwo/openapi-client`](https://www.npmjs.com/packag
10
10
  ## Installation
11
11
 
12
12
  ```sh
13
+ # npm
14
+ npm install @netwo/openapi-client @netwo/saas-sdk-v1
15
+
16
+ # pnpm
13
17
  pnpm add @netwo/openapi-client @netwo/saas-sdk-v1
18
+
19
+ # yarn
20
+ yarn add @netwo/openapi-client @netwo/saas-sdk-v1
14
21
  ```
15
22
 
16
- `@netwo/openapi-client` is a peer dependency: a single copy is shared by all the SDKs of an application (same
17
- `ApiError`, same Angular providers, same interceptors).
23
+ `@netwo/openapi-client` is a peer dependency.
18
24
 
19
25
  ## With the Fetch API
20
26
 
@@ -110,8 +116,4 @@ type CartSearch = SchemaQuery<NetwoV1Schema, "get", "/api/v1/cart">; // query pa
110
116
  ```
111
117
 
112
118
  See the [type helpers](https://www.npmjs.com/package/@netwo/openapi-client#7-type-helpers) for the full list
113
- (`SchemaRequest`, `SchemaErrorBody`, `SchemaPathsWith`…). To keep short names in an application, declare aliases once:
114
-
115
- ```ts
116
- export type NetwoV1Model = SchemaModels<NetwoV1Schema>;
117
- ```
119
+ (`SchemaRequest`, `SchemaErrorBody`, `SchemaPathsWith`…).