@carrierllc/mcp 0.13.22 → 0.13.25

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 (35) hide show
  1. package/dist/{chunk-2ZWA4XML.js → chunk-KFIIIQ4J.js} +9 -6
  2. package/dist/{chunk-2ZWA4XML.js.map → chunk-KFIIIQ4J.js.map} +1 -1
  3. package/dist/cli.js +1 -1
  4. package/dist/index.js +1 -1
  5. package/package.json +1 -1
  6. package/templates/storefront/eslint.config.mjs +8 -1
  7. package/templates/storefront/package-lock.json +492 -654
  8. package/templates/storefront/package.json +19 -11
  9. package/templates/storefront/pnpm-lock.yaml +1391 -1592
  10. package/templates/storefront/pnpm-workspace.yaml +7 -0
  11. package/templates/storefront/src/app/api/checkout/guest/route.ts +203 -114
  12. package/templates/storefront/src/app/api/orders/[orderId]/cancel/route.ts +11 -6
  13. package/templates/storefront/src/app/api/orders/[orderId]/top-up-options/route.ts +7 -4
  14. package/templates/storefront/src/app/api/orders/[orderId]/usage/route.ts +7 -4
  15. package/templates/storefront/src/app/checkout/success/CheckoutSuccessClient.tsx +22 -17
  16. package/templates/storefront/src/app/contact/page.tsx +3 -3
  17. package/templates/storefront/src/app/dashboard/EsimControls.tsx +4 -4
  18. package/templates/storefront/src/app/help/page.tsx +1 -1
  19. package/templates/storefront/src/app/shop/ShopClient.tsx +1 -1
  20. package/templates/storefront/src/app/sign-up/[[...sign-up]]/StorefrontSignUpClient.tsx +3 -2
  21. package/templates/storefront/src/app/sitemap.ts +1 -0
  22. package/templates/storefront/src/components/checkout/EmbeddedStripeCheckout.tsx +4 -2
  23. package/templates/storefront/src/components/faq/FaqSection.tsx +1 -1
  24. package/templates/storefront/src/components/footer/StorefrontFooter.tsx +2 -2
  25. package/templates/storefront/src/components/landing/FinalCTA.tsx +1 -1
  26. package/templates/storefront/src/components/landing/HeroSection.tsx +6 -2
  27. package/templates/storefront/src/components/nav/StorefrontNav.tsx +2 -1
  28. package/templates/storefront/src/components/theme/theme-provider.tsx +28 -17
  29. package/templates/storefront/src/lib/checkout-order-claim.ts +5 -14
  30. package/templates/storefront/src/lib/order-route-guard.ts +34 -0
  31. package/templates/storefront/src/middleware.ts +5 -0
  32. package/templates/storefront/src/vendor/carrier/client.ts +16 -2
  33. package/templates/storefront/src/vendor/carrier/types.ts +4 -0
  34. package/templates/storefront/src/vendor/geo/index.ts +5 -5
  35. package/templates/storefront/src/vendor/ui/brand.ts +1 -1
package/dist/cli.js CHANGED
@@ -39,7 +39,7 @@ import {
39
39
  verifyStorefront,
40
40
  walletScreen,
41
41
  which
42
- } from "./chunk-2ZWA4XML.js";
42
+ } from "./chunk-KFIIIQ4J.js";
43
43
  import {
44
44
  copyTree,
45
45
  exists,
package/dist/index.js CHANGED
@@ -80,7 +80,7 @@ import {
80
80
  verifyStorefront,
81
81
  withOcsListSummary,
82
82
  withTemplateResellerId
83
- } from "./chunk-2ZWA4XML.js";
83
+ } from "./chunk-KFIIIQ4J.js";
84
84
  import "./chunk-SHKKVIIA.js";
85
85
 
86
86
  // src/index.ts
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@carrierllc/mcp",
3
- "version": "0.13.22",
3
+ "version": "0.13.25",
4
4
  "description": "Carrier MCP \u2014 natural-language control of MVNO/eSIM fleets via eSIMVault OCS. Stdio mode for direct integration with Claude Desktop, Cursor, Windsurf, and MCP-compatible clients. Ships the `carrier` CLI (plugin install + white-label eSIM storefront scaffold).",
5
5
  "license": "MIT",
6
6
  "author": "Carrier (Lifecycle Innovations Limited)",
@@ -1,10 +1,17 @@
1
1
  import js from "@eslint/js";
2
- import nextPlugin from "eslint-config-next/flat.js";
2
+ import nextPlugin from "eslint-config-next";
3
+ import nextTypeScript from "eslint-config-next/typescript";
3
4
 
4
5
  /** @type {import('eslint').Linter.Config[]} */
5
6
  const eslintConfig = [
6
7
  js.configs.recommended,
7
8
  ...nextPlugin,
9
+ ...nextTypeScript,
10
+ {
11
+ files: ["**/*.{ts,tsx,mts,cts}"],
12
+ // TypeScript checks globals and ambient types more accurately than no-undef.
13
+ rules: { "no-undef": "off" },
14
+ },
8
15
  {
9
16
  rules: {
10
17
  "no-unused-vars": "off",