@carrierllc/sdk 0.2.30 → 0.2.32

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
@@ -24,7 +24,7 @@ const issued = await carrier.call("create_connectivity_intent", {
24
24
  idempotencyKey: "order_123",
25
25
  })
26
26
 
27
- const session = new Mcp(process.env.ESIMVAULT_API_TOKEN ?? "")
27
+ const session = new Mcp(process.env.CARRIER_OCS_API_TOKEN ?? "")
28
28
  const tools = await session.listTools()
29
29
  await session.callTool("list_subscribers", { limit: 5 })
30
30
 
@@ -1668,7 +1668,7 @@
1668
1668
  {
1669
1669
  "invocation": "carrier onboard connect",
1670
1670
  "domain": "onboard",
1671
- "summary": "Connect your own eSIMVault token (step 2, BYO). Verified against OCS, then stored encrypted; the token is never echoed back.",
1671
+ "summary": "Connect your own network token (step 2, BYO). Verified against OCS, then stored encrypted; the token is never echoed back.",
1672
1672
  "write": true,
1673
1673
  "transport": "rest",
1674
1674
  "tool": null,
@@ -1677,7 +1677,7 @@
1677
1677
  "options": [
1678
1678
  {
1679
1679
  "flags": "--token <token>",
1680
- "description": "eSIMVault API token. A flag lands in shell history — prefer a leading space, or run this once from a fresh shell.",
1680
+ "description": "Network API token. A flag lands in shell history — prefer a leading space, or run this once from a fresh shell.",
1681
1681
  "required": true
1682
1682
  }
1683
1683
  ]
@@ -3109,7 +3109,7 @@
3109
3109
  {
3110
3110
  "invocation": "carrier env credentials",
3111
3111
  "domain": "env",
3112
- "summary": "Report on the stored eSIMVault credential without changing it: whether a token is present, whether it is encrypted, how old it is, and whether rotation is recommended (over 90 days).",
3112
+ "summary": "Report on the stored network credential without changing it: whether a token is present, whether it is encrypted, how old it is, and whether rotation is recommended (over 90 days).",
3113
3113
  "write": false,
3114
3114
  "transport": "mcp",
3115
3115
  "tool": "credential_status",
@@ -3120,7 +3120,7 @@
3120
3120
  {
3121
3121
  "invocation": "carrier env rotate",
3122
3122
  "domain": "env",
3123
- "summary": "Replace the stored eSIMVault API token with one you supply.",
3123
+ "summary": "Replace the stored network API token with one you supply.",
3124
3124
  "write": true,
3125
3125
  "transport": "mcp",
3126
3126
  "tool": "rotate_credentials",
@@ -3129,7 +3129,7 @@
3129
3129
  "options": [
3130
3130
  {
3131
3131
  "flags": "--new-token <token>",
3132
- "description": "New eSIMVault API token to encrypt and store.",
3132
+ "description": "New network API token to encrypt and store.",
3133
3133
  "required": true
3134
3134
  },
3135
3135
  {
@@ -773,7 +773,7 @@
773
773
  "method": "POST",
774
774
  "path": "/v1/subscribers/{iccid}/sms",
775
775
  "tag": "Subscribers",
776
- "summary": "Send an MT SMS to a subscriber (admin only)",
776
+ "summary": "Send an MT SMS to a subscriber",
777
777
  "security": "bearer",
778
778
  "body": true,
779
779
  "bodyRequired": true,
@@ -784,12 +784,7 @@
784
784
  }
785
785
  ],
786
786
  "queryParams": [],
787
- "headerParams": [
788
- {
789
- "name": "X-Confirm-Token",
790
- "required": false
791
- }
792
- ]
787
+ "headerParams": []
793
788
  },
794
789
  {
795
790
  "id": "fleet_health",
@@ -1575,7 +1570,7 @@
1575
1570
  "method": "POST",
1576
1571
  "path": "/v1/onboarding/ocs-connect",
1577
1572
  "tag": "Onboarding",
1578
- "summary": "Connect a BYO eSIMVault token (step 2)",
1573
+ "summary": "Connect a BYO network token (step 2)",
1579
1574
  "security": "bearer",
1580
1575
  "body": true,
1581
1576
  "bodyRequired": true,
package/dist/mcp.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * Streamable HTTP client for the hosted Carrier MCP server.
3
3
  *
4
- * `auth: "token"` sends an eSIMVault reseller token as `?TOKEN=`.
4
+ * `auth: "token"` sends a network reseller token as `?TOKEN=`.
5
5
  * `auth: "bearer"` sends an OAuth access token or a Clerk organization API key.
6
6
  */
7
7
  export declare const DEFAULT_MCP_URL = "https://mcp.carrier.llc/mcp";
package/dist/mcp.js CHANGED
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * Streamable HTTP client for the hosted Carrier MCP server.
3
3
  *
4
- * `auth: "token"` sends an eSIMVault reseller token as `?TOKEN=`.
4
+ * `auth: "token"` sends a network reseller token as `?TOKEN=`.
5
5
  * `auth: "bearer"` sends an OAuth access token or a Clerk organization API key.
6
6
  */
7
7
  import { CarrierError } from "./error.js";
package/dist/version.d.ts CHANGED
@@ -1,3 +1,3 @@
1
1
  /** Published version. Keep this equal to package.json. */
2
- export declare const SDK_VERSION = "0.2.30";
3
- export declare const USER_AGENT = "@carrierllc/sdk/0.2.30";
2
+ export declare const SDK_VERSION = "0.2.32";
3
+ export declare const USER_AGENT = "@carrierllc/sdk/0.2.32";
package/dist/version.js CHANGED
@@ -1,3 +1,3 @@
1
1
  /** Published version. Keep this equal to package.json. */
2
- export const SDK_VERSION = "0.2.30";
2
+ export const SDK_VERSION = "0.2.32";
3
3
  export const USER_AGENT = `@carrierllc/sdk/${SDK_VERSION}`;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@carrierllc/sdk",
3
- "version": "0.2.30",
3
+ "version": "0.2.32",
4
4
  "description": "TypeScript client for the Carrier API, MCP server, and CLI.",
5
5
  "license": "MIT",
6
6
  "type": "module",