@schematichq/schematic-react 1.16.1 → 1.17.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.
@@ -82,7 +82,7 @@ __export(index_exports, {
82
82
  });
83
83
  module.exports = __toCommonJS(index_exports);
84
84
 
85
- // node_modules/.pnpm/@schematichq+schematic-js@1.16.1/node_modules/@schematichq/schematic-js/dist/schematic.esm.js
85
+ // node_modules/.pnpm/@schematichq+schematic-js@1.17.0/node_modules/@schematichq/schematic-js/dist/schematic.esm.js
86
86
  var __create2 = Object.create;
87
87
  var __defProp2 = Object.defineProperty;
88
88
  var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor;
@@ -1413,7 +1413,7 @@ var ContextSignatureManager = class {
1413
1413
  }
1414
1414
  }
1415
1415
  };
1416
- var version = "1.16.1";
1416
+ var version = "1.17.0";
1417
1417
  var DEFAULT_CATALOG_QUERY = {};
1418
1418
  function normalizeCatalogQuery(query) {
1419
1419
  return query.catalogId === void 0 ? {} : { catalogId: query.catalogId };
@@ -1521,9 +1521,9 @@ __export2(models_exports, {
1521
1521
  CatalogCurrencyPricesResponseDataToJSON: () => CatalogCurrencyPricesResponseDataToJSON2,
1522
1522
  CatalogCurrencyPricesResponseDataToJSONTyped: () => CatalogCurrencyPricesResponseDataToJSONTyped4,
1523
1523
  CatalogCustomPlanCTAResponseDataFromJSON: () => CatalogCustomPlanCTAResponseDataFromJSON2,
1524
- CatalogCustomPlanCTAResponseDataFromJSONTyped: () => CatalogCustomPlanCTAResponseDataFromJSONTyped3,
1524
+ CatalogCustomPlanCTAResponseDataFromJSONTyped: () => CatalogCustomPlanCTAResponseDataFromJSONTyped4,
1525
1525
  CatalogCustomPlanCTAResponseDataToJSON: () => CatalogCustomPlanCTAResponseDataToJSON2,
1526
- CatalogCustomPlanCTAResponseDataToJSONTyped: () => CatalogCustomPlanCTAResponseDataToJSONTyped3,
1526
+ CatalogCustomPlanCTAResponseDataToJSONTyped: () => CatalogCustomPlanCTAResponseDataToJSONTyped4,
1527
1527
  CatalogPlanEntitlementResponseDataFromJSON: () => CatalogPlanEntitlementResponseDataFromJSON2,
1528
1528
  CatalogPlanEntitlementResponseDataFromJSONTyped: () => CatalogPlanEntitlementResponseDataFromJSONTyped2,
1529
1529
  CatalogPlanEntitlementResponseDataToJSON: () => CatalogPlanEntitlementResponseDataToJSON2,
@@ -3042,6 +3042,35 @@ function CatalogUsageViolationResponseDataToJSONTyped(value, ignoreDiscriminator
3042
3042
  usage: value["usage"]
3043
3043
  };
3044
3044
  }
3045
+ function instanceOfCatalogCustomPlanCTAResponseData(value) {
3046
+ return true;
3047
+ }
3048
+ function CatalogCustomPlanCTAResponseDataFromJSON2(json) {
3049
+ return CatalogCustomPlanCTAResponseDataFromJSONTyped4(json, false);
3050
+ }
3051
+ function CatalogCustomPlanCTAResponseDataFromJSONTyped4(json, ignoreDiscriminator) {
3052
+ if (json == null) {
3053
+ return json;
3054
+ }
3055
+ return {
3056
+ ctaText: json["cta_text"] == null ? void 0 : json["cta_text"],
3057
+ ctaUrl: json["cta_url"] == null ? void 0 : json["cta_url"],
3058
+ priceText: json["price_text"] == null ? void 0 : json["price_text"]
3059
+ };
3060
+ }
3061
+ function CatalogCustomPlanCTAResponseDataToJSON2(json) {
3062
+ return CatalogCustomPlanCTAResponseDataToJSONTyped4(json, false);
3063
+ }
3064
+ function CatalogCustomPlanCTAResponseDataToJSONTyped4(value, ignoreDiscriminator = false) {
3065
+ if (value == null) {
3066
+ return value;
3067
+ }
3068
+ return {
3069
+ cta_text: value["ctaText"],
3070
+ cta_url: value["ctaUrl"],
3071
+ price_text: value["priceText"]
3072
+ };
3073
+ }
3045
3074
  var EntitlementValueType = {
3046
3075
  Boolean: "boolean",
3047
3076
  Credit: "credit",
@@ -3475,6 +3504,7 @@ function instanceOfCatalogCompanyPlanResponseData(value) {
3475
3504
  if (!("currencyPrices" in value) || value["currencyPrices"] === void 0)
3476
3505
  return false;
3477
3506
  if (!("current" in value) || value["current"] === void 0) return false;
3507
+ if (!("custom" in value) || value["custom"] === void 0) return false;
3478
3508
  if (!("description" in value) || value["description"] === void 0)
3479
3509
  return false;
3480
3510
  if (!("entitlements" in value) || value["entitlements"] === void 0)
@@ -3513,6 +3543,8 @@ function CatalogCompanyPlanResponseDataFromJSONTyped(json, ignoreDiscriminator)
3513
3543
  CatalogCurrencyPricesResponseDataFromJSON2
3514
3544
  ),
3515
3545
  current: json["current"],
3546
+ custom: json["custom"],
3547
+ customPlanCta: json["custom_plan_cta"] == null ? void 0 : CatalogCustomPlanCTAResponseDataFromJSON2(json["custom_plan_cta"]),
3516
3548
  description: json["description"],
3517
3549
  entitlements: json["entitlements"].map(
3518
3550
  CatalogPlanEntitlementResponseDataFromJSON2
@@ -3558,6 +3590,10 @@ function CatalogCompanyPlanResponseDataToJSONTyped(value, ignoreDiscriminator =
3558
3590
  CatalogCurrencyPricesResponseDataToJSON2
3559
3591
  ),
3560
3592
  current: value["current"],
3593
+ custom: value["custom"],
3594
+ custom_plan_cta: CatalogCustomPlanCTAResponseDataToJSON2(
3595
+ value["customPlanCta"]
3596
+ ),
3561
3597
  description: value["description"],
3562
3598
  entitlements: value["entitlements"].map(
3563
3599
  CatalogPlanEntitlementResponseDataToJSON2
@@ -3653,35 +3689,6 @@ function CatalogCreditBundleResponseDataToJSONTyped2(value, ignoreDiscriminator
3653
3689
  unit_price: CatalogPriceResponseDataToJSON2(value["unitPrice"])
3654
3690
  };
3655
3691
  }
3656
- function instanceOfCatalogCustomPlanCTAResponseData(value) {
3657
- return true;
3658
- }
3659
- function CatalogCustomPlanCTAResponseDataFromJSON2(json) {
3660
- return CatalogCustomPlanCTAResponseDataFromJSONTyped3(json, false);
3661
- }
3662
- function CatalogCustomPlanCTAResponseDataFromJSONTyped3(json, ignoreDiscriminator) {
3663
- if (json == null) {
3664
- return json;
3665
- }
3666
- return {
3667
- ctaText: json["cta_text"] == null ? void 0 : json["cta_text"],
3668
- ctaUrl: json["cta_url"] == null ? void 0 : json["cta_url"],
3669
- priceText: json["price_text"] == null ? void 0 : json["price_text"]
3670
- };
3671
- }
3672
- function CatalogCustomPlanCTAResponseDataToJSON2(json) {
3673
- return CatalogCustomPlanCTAResponseDataToJSONTyped3(json, false);
3674
- }
3675
- function CatalogCustomPlanCTAResponseDataToJSONTyped3(value, ignoreDiscriminator = false) {
3676
- if (value == null) {
3677
- return value;
3678
- }
3679
- return {
3680
- cta_text: value["ctaText"],
3681
- cta_url: value["ctaUrl"],
3682
- price_text: value["priceText"]
3683
- };
3684
- }
3685
3692
  function instanceOfCatalogPlanRefResponseData(value) {
3686
3693
  if (!("id" in value) || value["id"] === void 0) return false;
3687
3694
  if (!("name" in value) || value["name"] === void 0) return false;
@@ -3720,6 +3727,7 @@ function instanceOfCatalogPlanResponseData(value) {
3720
3727
  return false;
3721
3728
  if (!("currencyPrices" in value) || value["currencyPrices"] === void 0)
3722
3729
  return false;
3730
+ if (!("custom" in value) || value["custom"] === void 0) return false;
3723
3731
  if (!("description" in value) || value["description"] === void 0)
3724
3732
  return false;
3725
3733
  if (!("entitlements" in value) || value["entitlements"] === void 0)
@@ -3750,6 +3758,8 @@ function CatalogPlanResponseDataFromJSONTyped2(json, ignoreDiscriminator) {
3750
3758
  currencyPrices: json["currency_prices"].map(
3751
3759
  CatalogCurrencyPricesResponseDataFromJSON2
3752
3760
  ),
3761
+ custom: json["custom"],
3762
+ customPlanCta: json["custom_plan_cta"] == null ? void 0 : CatalogCustomPlanCTAResponseDataFromJSON2(json["custom_plan_cta"]),
3753
3763
  description: json["description"],
3754
3764
  entitlements: json["entitlements"].map(
3755
3765
  CatalogPlanEntitlementResponseDataFromJSON2
@@ -3785,6 +3795,10 @@ function CatalogPlanResponseDataToJSONTyped2(value, ignoreDiscriminator = false)
3785
3795
  currency_prices: value["currencyPrices"].map(
3786
3796
  CatalogCurrencyPricesResponseDataToJSON2
3787
3797
  ),
3798
+ custom: value["custom"],
3799
+ custom_plan_cta: CatalogCustomPlanCTAResponseDataToJSON2(
3800
+ value["customPlanCta"]
3801
+ ),
3788
3802
  description: value["description"],
3789
3803
  entitlements: value["entitlements"].map(
3790
3804
  CatalogPlanEntitlementResponseDataToJSON2
@@ -11429,7 +11443,7 @@ function staticSource(data) {
11429
11443
  }
11430
11444
 
11431
11445
  // src/version.ts
11432
- var version2 = "1.16.1";
11446
+ var version2 = "1.17.0";
11433
11447
 
11434
11448
  // src/context/schematic.tsx
11435
11449
  var import_jsx_runtime4 = require("react/jsx-runtime");
@@ -1605,6 +1605,18 @@ declare interface CatalogCompanyPlanResponseData {
1605
1605
  * @memberof CatalogCompanyPlanResponseData
1606
1606
  */
1607
1607
  current: boolean;
1608
+ /**
1609
+ * True for the catalog's custom plan, the one sold by quote: show custom_plan_cta in place of its price and action.
1610
+ * @type {boolean}
1611
+ * @memberof CatalogCompanyPlanResponseData
1612
+ */
1613
+ custom: boolean;
1614
+ /**
1615
+ * The custom plan's price text and call to action; set only where custom is true.
1616
+ * @type {CatalogCustomPlanCTAResponseData}
1617
+ * @memberof CatalogCompanyPlanResponseData
1618
+ */
1619
+ customPlanCta?: CatalogCustomPlanCTAResponseData | null;
1608
1620
  /**
1609
1621
  *
1610
1622
  * @type {string}
@@ -2205,6 +2217,18 @@ declare interface CatalogPlanResponseData {
2205
2217
  * @memberof CatalogPlanResponseData
2206
2218
  */
2207
2219
  currencyPrices: Array<CatalogCurrencyPricesResponseData>;
2220
+ /**
2221
+ * True for the catalog's custom plan, the one sold by quote: show custom_plan_cta in place of its price and action.
2222
+ * @type {boolean}
2223
+ * @memberof CatalogPlanResponseData
2224
+ */
2225
+ custom: boolean;
2226
+ /**
2227
+ * The custom plan's price text and call to action; set only where custom is true.
2228
+ * @type {CatalogCustomPlanCTAResponseData}
2229
+ * @memberof CatalogPlanResponseData
2230
+ */
2231
+ customPlanCta?: CatalogCustomPlanCTAResponseData | null;
2208
2232
  /**
2209
2233
  *
2210
2234
  * @type {string}
@@ -2516,7 +2540,7 @@ declare interface CheckFlagResponseData {
2516
2540
  * @type {FeatureEntitlement}
2517
2541
  * @memberof CheckFlagResponseData
2518
2542
  */
2519
- entitlement?: FeatureEntitlement;
2543
+ entitlement?: FeatureEntitlement | null;
2520
2544
  /**
2521
2545
  * If an error occurred while checking the flag, the error message
2522
2546
  * @type {string}
@@ -5209,18 +5233,18 @@ declare interface CompanyUserUsageResponseData {
5209
5233
  * signature (`iat.exp.sig`) for the given context.
5210
5234
  *
5211
5235
  * Because a publishable key is public, the signature must be produced by the
5212
- * customer's backend, which holds the matching secret API key. A typical
5213
- * implementation forwards the context to that backend and returns the
5236
+ * customer's backend, which holds the matching secret API key. The backend
5237
+ * signs only the company and user of the logged-in user, read from its own
5238
+ * session. A typical implementation calls an authenticated endpoint with no
5239
+ * body and returns the
5214
5240
  * `X-Schematic-Context-Sig` value it computes:
5215
5241
  *
5216
5242
  * ```ts
5217
5243
  * const schematic = new Schematic(pubKey, {
5218
- * getContextSignature: async (context) => {
5244
+ * getContextSignature: async () => {
5219
5245
  * const res = await fetch("/api/schematic/sign", {
5220
5246
  * method: "POST",
5221
5247
  * credentials: "include",
5222
- * headers: { "Content-Type": "application/json" },
5223
- * body: JSON.stringify(context),
5224
5248
  * });
5225
5249
  * const { signature } = await res.json();
5226
5250
  * return signature; // "iat.exp.sig"
@@ -5367,7 +5391,7 @@ declare interface CreditSpendPolicy_2 {
5367
5391
  * @type {CreditSpendWindow}
5368
5392
  * @memberof CreditSpendPolicy
5369
5393
  */
5370
- window?: CreditSpendWindow_2;
5394
+ window?: CreditSpendWindow_2 | null;
5371
5395
  }
5372
5396
 
5373
5397
  /** How a spend policy applies its limit. Unknown kinds are carried, not dropped:
@@ -6968,8 +6992,9 @@ export declare type SchematicOptions = {
6968
6992
  * (`iat.exp.sig`) for a given context. Required only when the Schematic
6969
6993
  * environment has context-signature verification enabled. Because a
6970
6994
  * publishable key is public, the signature must be produced by your backend
6971
- * (which holds the matching secret API key); this function typically forwards
6972
- * the context to that backend and returns the value it computes. The SDK
6995
+ * (which holds the matching secret API key), and it signs only the company
6996
+ * and user of the logged-in user; this function typically calls that
6997
+ * backend and returns the value it computes. The SDK
6973
6998
  * caches the signature per context, derives its expiry from the returned
6974
6999
  * string, and attaches it as the `X-Schematic-Context-Sig` header on flag
6975
7000
  * checks, the WebSocket bootstrap, and events. */
@@ -1,4 +1,4 @@
1
- // node_modules/.pnpm/@schematichq+schematic-js@1.16.1/node_modules/@schematichq/schematic-js/dist/schematic.esm.js
1
+ // node_modules/.pnpm/@schematichq+schematic-js@1.17.0/node_modules/@schematichq/schematic-js/dist/schematic.esm.js
2
2
  var __create = Object.create;
3
3
  var __defProp = Object.defineProperty;
4
4
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
@@ -1329,7 +1329,7 @@ var ContextSignatureManager = class {
1329
1329
  }
1330
1330
  }
1331
1331
  };
1332
- var version = "1.16.1";
1332
+ var version = "1.17.0";
1333
1333
  var DEFAULT_CATALOG_QUERY = {};
1334
1334
  function normalizeCatalogQuery(query) {
1335
1335
  return query.catalogId === void 0 ? {} : { catalogId: query.catalogId };
@@ -1437,9 +1437,9 @@ __export(models_exports, {
1437
1437
  CatalogCurrencyPricesResponseDataToJSON: () => CatalogCurrencyPricesResponseDataToJSON2,
1438
1438
  CatalogCurrencyPricesResponseDataToJSONTyped: () => CatalogCurrencyPricesResponseDataToJSONTyped4,
1439
1439
  CatalogCustomPlanCTAResponseDataFromJSON: () => CatalogCustomPlanCTAResponseDataFromJSON2,
1440
- CatalogCustomPlanCTAResponseDataFromJSONTyped: () => CatalogCustomPlanCTAResponseDataFromJSONTyped3,
1440
+ CatalogCustomPlanCTAResponseDataFromJSONTyped: () => CatalogCustomPlanCTAResponseDataFromJSONTyped4,
1441
1441
  CatalogCustomPlanCTAResponseDataToJSON: () => CatalogCustomPlanCTAResponseDataToJSON2,
1442
- CatalogCustomPlanCTAResponseDataToJSONTyped: () => CatalogCustomPlanCTAResponseDataToJSONTyped3,
1442
+ CatalogCustomPlanCTAResponseDataToJSONTyped: () => CatalogCustomPlanCTAResponseDataToJSONTyped4,
1443
1443
  CatalogPlanEntitlementResponseDataFromJSON: () => CatalogPlanEntitlementResponseDataFromJSON2,
1444
1444
  CatalogPlanEntitlementResponseDataFromJSONTyped: () => CatalogPlanEntitlementResponseDataFromJSONTyped2,
1445
1445
  CatalogPlanEntitlementResponseDataToJSON: () => CatalogPlanEntitlementResponseDataToJSON2,
@@ -2958,6 +2958,35 @@ function CatalogUsageViolationResponseDataToJSONTyped(value, ignoreDiscriminator
2958
2958
  usage: value["usage"]
2959
2959
  };
2960
2960
  }
2961
+ function instanceOfCatalogCustomPlanCTAResponseData(value) {
2962
+ return true;
2963
+ }
2964
+ function CatalogCustomPlanCTAResponseDataFromJSON2(json) {
2965
+ return CatalogCustomPlanCTAResponseDataFromJSONTyped4(json, false);
2966
+ }
2967
+ function CatalogCustomPlanCTAResponseDataFromJSONTyped4(json, ignoreDiscriminator) {
2968
+ if (json == null) {
2969
+ return json;
2970
+ }
2971
+ return {
2972
+ ctaText: json["cta_text"] == null ? void 0 : json["cta_text"],
2973
+ ctaUrl: json["cta_url"] == null ? void 0 : json["cta_url"],
2974
+ priceText: json["price_text"] == null ? void 0 : json["price_text"]
2975
+ };
2976
+ }
2977
+ function CatalogCustomPlanCTAResponseDataToJSON2(json) {
2978
+ return CatalogCustomPlanCTAResponseDataToJSONTyped4(json, false);
2979
+ }
2980
+ function CatalogCustomPlanCTAResponseDataToJSONTyped4(value, ignoreDiscriminator = false) {
2981
+ if (value == null) {
2982
+ return value;
2983
+ }
2984
+ return {
2985
+ cta_text: value["ctaText"],
2986
+ cta_url: value["ctaUrl"],
2987
+ price_text: value["priceText"]
2988
+ };
2989
+ }
2961
2990
  var EntitlementValueType = {
2962
2991
  Boolean: "boolean",
2963
2992
  Credit: "credit",
@@ -3391,6 +3420,7 @@ function instanceOfCatalogCompanyPlanResponseData(value) {
3391
3420
  if (!("currencyPrices" in value) || value["currencyPrices"] === void 0)
3392
3421
  return false;
3393
3422
  if (!("current" in value) || value["current"] === void 0) return false;
3423
+ if (!("custom" in value) || value["custom"] === void 0) return false;
3394
3424
  if (!("description" in value) || value["description"] === void 0)
3395
3425
  return false;
3396
3426
  if (!("entitlements" in value) || value["entitlements"] === void 0)
@@ -3429,6 +3459,8 @@ function CatalogCompanyPlanResponseDataFromJSONTyped(json, ignoreDiscriminator)
3429
3459
  CatalogCurrencyPricesResponseDataFromJSON2
3430
3460
  ),
3431
3461
  current: json["current"],
3462
+ custom: json["custom"],
3463
+ customPlanCta: json["custom_plan_cta"] == null ? void 0 : CatalogCustomPlanCTAResponseDataFromJSON2(json["custom_plan_cta"]),
3432
3464
  description: json["description"],
3433
3465
  entitlements: json["entitlements"].map(
3434
3466
  CatalogPlanEntitlementResponseDataFromJSON2
@@ -3474,6 +3506,10 @@ function CatalogCompanyPlanResponseDataToJSONTyped(value, ignoreDiscriminator =
3474
3506
  CatalogCurrencyPricesResponseDataToJSON2
3475
3507
  ),
3476
3508
  current: value["current"],
3509
+ custom: value["custom"],
3510
+ custom_plan_cta: CatalogCustomPlanCTAResponseDataToJSON2(
3511
+ value["customPlanCta"]
3512
+ ),
3477
3513
  description: value["description"],
3478
3514
  entitlements: value["entitlements"].map(
3479
3515
  CatalogPlanEntitlementResponseDataToJSON2
@@ -3569,35 +3605,6 @@ function CatalogCreditBundleResponseDataToJSONTyped2(value, ignoreDiscriminator
3569
3605
  unit_price: CatalogPriceResponseDataToJSON2(value["unitPrice"])
3570
3606
  };
3571
3607
  }
3572
- function instanceOfCatalogCustomPlanCTAResponseData(value) {
3573
- return true;
3574
- }
3575
- function CatalogCustomPlanCTAResponseDataFromJSON2(json) {
3576
- return CatalogCustomPlanCTAResponseDataFromJSONTyped3(json, false);
3577
- }
3578
- function CatalogCustomPlanCTAResponseDataFromJSONTyped3(json, ignoreDiscriminator) {
3579
- if (json == null) {
3580
- return json;
3581
- }
3582
- return {
3583
- ctaText: json["cta_text"] == null ? void 0 : json["cta_text"],
3584
- ctaUrl: json["cta_url"] == null ? void 0 : json["cta_url"],
3585
- priceText: json["price_text"] == null ? void 0 : json["price_text"]
3586
- };
3587
- }
3588
- function CatalogCustomPlanCTAResponseDataToJSON2(json) {
3589
- return CatalogCustomPlanCTAResponseDataToJSONTyped3(json, false);
3590
- }
3591
- function CatalogCustomPlanCTAResponseDataToJSONTyped3(value, ignoreDiscriminator = false) {
3592
- if (value == null) {
3593
- return value;
3594
- }
3595
- return {
3596
- cta_text: value["ctaText"],
3597
- cta_url: value["ctaUrl"],
3598
- price_text: value["priceText"]
3599
- };
3600
- }
3601
3608
  function instanceOfCatalogPlanRefResponseData(value) {
3602
3609
  if (!("id" in value) || value["id"] === void 0) return false;
3603
3610
  if (!("name" in value) || value["name"] === void 0) return false;
@@ -3636,6 +3643,7 @@ function instanceOfCatalogPlanResponseData(value) {
3636
3643
  return false;
3637
3644
  if (!("currencyPrices" in value) || value["currencyPrices"] === void 0)
3638
3645
  return false;
3646
+ if (!("custom" in value) || value["custom"] === void 0) return false;
3639
3647
  if (!("description" in value) || value["description"] === void 0)
3640
3648
  return false;
3641
3649
  if (!("entitlements" in value) || value["entitlements"] === void 0)
@@ -3666,6 +3674,8 @@ function CatalogPlanResponseDataFromJSONTyped2(json, ignoreDiscriminator) {
3666
3674
  currencyPrices: json["currency_prices"].map(
3667
3675
  CatalogCurrencyPricesResponseDataFromJSON2
3668
3676
  ),
3677
+ custom: json["custom"],
3678
+ customPlanCta: json["custom_plan_cta"] == null ? void 0 : CatalogCustomPlanCTAResponseDataFromJSON2(json["custom_plan_cta"]),
3669
3679
  description: json["description"],
3670
3680
  entitlements: json["entitlements"].map(
3671
3681
  CatalogPlanEntitlementResponseDataFromJSON2
@@ -3701,6 +3711,10 @@ function CatalogPlanResponseDataToJSONTyped2(value, ignoreDiscriminator = false)
3701
3711
  currency_prices: value["currencyPrices"].map(
3702
3712
  CatalogCurrencyPricesResponseDataToJSON2
3703
3713
  ),
3714
+ custom: value["custom"],
3715
+ custom_plan_cta: CatalogCustomPlanCTAResponseDataToJSON2(
3716
+ value["customPlanCta"]
3717
+ ),
3704
3718
  description: value["description"],
3705
3719
  entitlements: value["entitlements"].map(
3706
3720
  CatalogPlanEntitlementResponseDataToJSON2
@@ -11352,7 +11366,7 @@ function staticSource(data) {
11352
11366
  }
11353
11367
 
11354
11368
  // src/version.ts
11355
- var version2 = "1.16.1";
11369
+ var version2 = "1.17.0";
11356
11370
 
11357
11371
  // src/context/schematic.tsx
11358
11372
  import { jsx as jsx4 } from "react/jsx-runtime";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@schematichq/schematic-react",
3
- "version": "1.16.1",
3
+ "version": "1.17.0",
4
4
  "main": "dist/schematic-react.cjs.js",
5
5
  "module": "dist/schematic-react.esm.js",
6
6
  "types": "dist/schematic-react.d.ts",
@@ -33,27 +33,27 @@
33
33
  },
34
34
  "devDependencies": {
35
35
  "@eslint/js": "^10.0.1",
36
- "@microsoft/api-extractor": "^7.59.4",
37
- "@schematichq/schematic-js": "^1.16.1",
36
+ "@microsoft/api-extractor": "^7.60.1",
37
+ "@schematichq/schematic-js": "^1.17.0",
38
38
  "@testing-library/dom": "^10.4.2",
39
39
  "@testing-library/jest-dom": "^7.0.1",
40
40
  "@testing-library/react": "^16.3.3",
41
41
  "@types/react": "^19.3.0",
42
42
  "@vitest/browser": "^5.0.5",
43
43
  "esbuild": "^0.28.2",
44
- "eslint": "^10.12.0",
44
+ "eslint": "^10.14.0",
45
45
  "eslint-plugin-import": "^2.32.0",
46
46
  "eslint-plugin-react": "^7.37.5",
47
47
  "eslint-plugin-react-hooks": "^7.1.1",
48
48
  "globals": "^17.13.0",
49
49
  "happy-dom": "^21.0.4",
50
50
  "husky": "^9.1.7",
51
- "jsdom": "^30.1.2",
52
- "prettier": "^3.9.9",
53
- "react": "^19.3.0",
54
- "react-dom": "^19.3.0",
51
+ "jsdom": "^30.1.3",
52
+ "prettier": "^3.9.10",
53
+ "react": "^19.3.1",
54
+ "react-dom": "^19.3.1",
55
55
  "typescript": "^6.0.3",
56
- "typescript-eslint": "^8.71.1",
56
+ "typescript-eslint": "^8.72.1",
57
57
  "vitest": "^5.0.5"
58
58
  },
59
59
  "peerDependencies": {