@missioncontrolio/client 0.0.3 → 0.0.5

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 -4
  2. package/package.json +2 -1
package/README.md CHANGED
@@ -9,7 +9,7 @@ Node.js 18 or later
9
9
  ## Installation
10
10
 
11
11
  ```
12
- npm install @pandomc/missioncontrol-client
12
+ npm install @missioncontrolio/client
13
13
  ```
14
14
 
15
15
  ## Getting started
@@ -19,7 +19,7 @@ npm install @pandomc/missioncontrol-client
19
19
  Credentials are obtained from the **Client Credentials** page in the Mission:Control portal.
20
20
 
21
21
  ```ts
22
- import { ClientBuilder } from "@pandomc/missioncontrol-client";
22
+ import { ClientBuilder } from "@missioncontrolio/client";
23
23
 
24
24
  const client = new ClientBuilder()
25
25
  .withAzureAdClientCredentials("your-client-id", "your-client-secret")
@@ -33,7 +33,7 @@ By default the client targets **Production**. To use the **Sandbox** environment
33
33
  import {
34
34
  ClientBuilder,
35
35
  MissionControlEnvironment,
36
- } from "@pandomc/missioncontrol-client";
36
+ } from "@missioncontrolio/client";
37
37
 
38
38
  const client = new ClientBuilder()
39
39
  .forEnvironment(MissionControlEnvironment.Sandbox)
@@ -195,7 +195,7 @@ A 400 response from the API looks like:
195
195
  `errors` and `traceId` are not first-class properties on the model — they land in `additionalData` because they are not part of the OpenAPI schema. Cast them as needed:
196
196
 
197
197
  ```ts
198
- import type { ProblemDetails } from "@pandomc/missioncontrol-client";
198
+ import type { ProblemDetails } from "@missioncontrolio/client";
199
199
 
200
200
  try {
201
201
  const result = await client.product.get({
package/package.json CHANGED
@@ -3,6 +3,7 @@
3
3
  "description": "The official Node SDK for the Mission:Control Partner API.",
4
4
  "license": "ISC",
5
5
  "author": "",
6
+ "repository": "github:PandoMC/sdk",
6
7
  "type": "module",
7
8
  "main": "index.js",
8
9
  "scripts": {
@@ -21,5 +22,5 @@
21
22
  "@microsoft/kiota-authentication-azure": "^1.0.0-preview.100",
22
23
  "@microsoft/kiota-bundle": "^1.0.0-preview.100"
23
24
  },
24
- "version": "0.0.3"
25
+ "version": "0.0.5"
25
26
  }