@mcesystems/mdm-client-g4 1.0.64 → 1.0.65
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 +3 -3
- package/dist/index.js +12546 -9568
- package/dist/index.js.map +4 -4
- package/dist/index.mjs +12546 -9568
- package/dist/index.mjs.map +4 -4
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# @mcesystems/mdm-client
|
|
1
|
+
# @mcesystems/mdm-client-g4
|
|
2
2
|
|
|
3
3
|
MDM client for device management.
|
|
4
4
|
|
|
@@ -12,7 +12,7 @@ package manager.
|
|
|
12
12
|
### Create client from environment
|
|
13
13
|
|
|
14
14
|
`createMDMClient()` reads `MDM_ENDPOINT` and `CREDENTIALS_PATH` from the
|
|
15
|
-
environment, uses `@mcesystems/auth` to obtain a token, then returns a client.
|
|
15
|
+
environment, uses `@mcesystems/auth-g4` to obtain a token, then returns a client.
|
|
16
16
|
Make sure `AUTH_API_URL` is set for the auth flow.
|
|
17
17
|
|
|
18
18
|
```ts
|
|
@@ -74,7 +74,7 @@ Exported types from `src/types/mdm.ts`:
|
|
|
74
74
|
When using `createMDMClient()`:
|
|
75
75
|
|
|
76
76
|
- `MDM_ENDPOINT`: MDM GraphQL endpoint URL
|
|
77
|
-
- `CREDENTIALS_PATH`: path to credentials file used by `@mcesystems/auth`
|
|
77
|
+
- `CREDENTIALS_PATH`: path to credentials file used by `@mcesystems/auth-g4`
|
|
78
78
|
- `AUTH_API_URL`: auth API base URL for token retrieval
|
|
79
79
|
|
|
80
80
|
## Logging
|