@clerk/shared 3.46.0 → 3.47.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.
Files changed (97) hide show
  1. package/dist/runtime/alternativePhoneCode.d.mts +1 -1
  2. package/dist/runtime/alternativePhoneCode.d.ts +1 -1
  3. package/dist/runtime/{apiUrlFromPublishableKey-BK2JHLjb.d.ts → apiUrlFromPublishableKey-DOAlYzda.d.ts} +2 -2
  4. package/dist/runtime/apiUrlFromPublishableKey-DOAlYzda.d.ts.map +1 -0
  5. package/dist/runtime/apiUrlFromPublishableKey.d.ts +1 -1
  6. package/dist/runtime/authorization-errors.d.mts +1 -1
  7. package/dist/runtime/authorization-errors.d.ts +1 -1
  8. package/dist/runtime/authorization.d.mts +1 -1
  9. package/dist/runtime/authorization.d.ts +1 -1
  10. package/dist/runtime/authorization.d.ts.map +1 -1
  11. package/dist/runtime/clerkEventBus.d.mts +1 -1
  12. package/dist/runtime/clerkEventBus.d.ts +1 -1
  13. package/dist/runtime/{color-5EK-w4Pa.d.mts → color-C15hom0R.d.mts} +2 -2
  14. package/dist/runtime/{color-5EK-w4Pa.d.mts.map → color-C15hom0R.d.mts.map} +1 -1
  15. package/dist/runtime/{color-C7B_w9Xs.d.ts → color-DCsQU1oj.d.ts} +2 -2
  16. package/dist/runtime/{color-C7B_w9Xs.d.ts.map → color-DCsQU1oj.d.ts.map} +1 -1
  17. package/dist/runtime/color.d.mts +2 -2
  18. package/dist/runtime/color.d.ts +2 -2
  19. package/dist/runtime/date-DIGfFkoy.d.mts.map +1 -1
  20. package/dist/runtime/{deriveState-l1EE4w-l.d.mts → deriveState-XzgLyM0C.d.mts} +2 -2
  21. package/dist/runtime/{deriveState-l1EE4w-l.d.mts.map → deriveState-XzgLyM0C.d.mts.map} +1 -1
  22. package/dist/runtime/{deriveState-0XMAcFTN.d.ts → deriveState-jC5dgsdd.d.ts} +2 -2
  23. package/dist/runtime/{deriveState-0XMAcFTN.d.ts.map → deriveState-jC5dgsdd.d.ts.map} +1 -1
  24. package/dist/runtime/deriveState.d.mts +2 -2
  25. package/dist/runtime/deriveState.d.ts +2 -2
  26. package/dist/runtime/{error-Dyvw0cBN.d.mts → error-CxSDsUm7.d.mts} +2 -2
  27. package/dist/runtime/{error-Dyvw0cBN.d.mts.map → error-CxSDsUm7.d.mts.map} +1 -1
  28. package/dist/runtime/{error-BF6UbvEX.d.ts → error-D9Hn5Vi4.d.ts} +2 -2
  29. package/dist/runtime/{error-BF6UbvEX.d.ts.map → error-D9Hn5Vi4.d.ts.map} +1 -1
  30. package/dist/runtime/error.d.mts +2 -2
  31. package/dist/runtime/error.d.ts +2 -2
  32. package/dist/runtime/globs.d.mts.map +1 -1
  33. package/dist/runtime/{index-BX6sndeu.d.ts → index-B7NHYKeV.d.ts} +6 -1
  34. package/dist/runtime/index-B7NHYKeV.d.ts.map +1 -0
  35. package/dist/runtime/{index-DRoX574n.d.mts → index-X6_DF-iN.d.mts} +6 -1
  36. package/dist/runtime/index-X6_DF-iN.d.mts.map +1 -0
  37. package/dist/runtime/index.d.mts +7 -7
  38. package/dist/runtime/index.d.ts +8 -8
  39. package/dist/runtime/index.js +2 -2
  40. package/dist/runtime/index.mjs +2 -2
  41. package/dist/runtime/jwtPayloadParser.d.mts +1 -1
  42. package/dist/runtime/jwtPayloadParser.d.ts +1 -1
  43. package/dist/runtime/{keys-YrWvb2ed.d.ts → keys-AEakrudB.d.ts} +2 -2
  44. package/dist/runtime/{keys-YrWvb2ed.d.ts.map → keys-AEakrudB.d.ts.map} +1 -1
  45. package/dist/runtime/{keys-83lzlaAG.d.mts → keys-DMgwDjVR.d.mts} +2 -2
  46. package/dist/runtime/{keys-83lzlaAG.d.mts.map → keys-DMgwDjVR.d.mts.map} +1 -1
  47. package/dist/runtime/keys.d.mts +2 -2
  48. package/dist/runtime/keys.d.ts +2 -2
  49. package/dist/runtime/{loadClerkJsScript-ClRfibaX.js → loadClerkJsScript-B1ZljyES.js} +2 -2
  50. package/dist/runtime/{loadClerkJsScript-ClRfibaX.js.map → loadClerkJsScript-B1ZljyES.js.map} +1 -1
  51. package/dist/runtime/{loadClerkJsScript-DDvGauc8.mjs → loadClerkJsScript-CYK4QCrm.mjs} +2 -2
  52. package/dist/runtime/{loadClerkJsScript-DDvGauc8.mjs.map → loadClerkJsScript-CYK4QCrm.mjs.map} +1 -1
  53. package/dist/runtime/{loadClerkJsScript-B6IzADUE.d.ts → loadClerkJsScript-DG9xy9eD.d.ts} +2 -2
  54. package/dist/runtime/{loadClerkJsScript-B6IzADUE.d.ts.map → loadClerkJsScript-DG9xy9eD.d.ts.map} +1 -1
  55. package/dist/runtime/{loadClerkJsScript-BMs9X5iH.d.mts → loadClerkJsScript-DVi-KSjp.d.mts} +2 -2
  56. package/dist/runtime/{loadClerkJsScript-BMs9X5iH.d.mts.map → loadClerkJsScript-DVi-KSjp.d.mts.map} +1 -1
  57. package/dist/runtime/loadClerkJsScript.d.mts +2 -2
  58. package/dist/runtime/loadClerkJsScript.d.ts +2 -2
  59. package/dist/runtime/loadClerkJsScript.js +2 -2
  60. package/dist/runtime/loadClerkJsScript.mjs +2 -2
  61. package/dist/runtime/oauth.d.mts +1 -1
  62. package/dist/runtime/oauth.d.ts +1 -1
  63. package/dist/runtime/organization.d.mts +1 -1
  64. package/dist/runtime/organization.d.ts +1 -1
  65. package/dist/runtime/{pathMatcher--IdAeviC.d.mts → pathMatcher-CKGBNIPN.d.mts} +2 -2
  66. package/dist/runtime/{pathMatcher--IdAeviC.d.mts.map → pathMatcher-CKGBNIPN.d.mts.map} +1 -1
  67. package/dist/runtime/{pathMatcher-BUvD02EZ.d.ts → pathMatcher-D8inYLXE.d.ts} +2 -2
  68. package/dist/runtime/{pathMatcher-BUvD02EZ.d.ts.map → pathMatcher-D8inYLXE.d.ts.map} +1 -1
  69. package/dist/runtime/pathMatcher.d.mts +2 -2
  70. package/dist/runtime/pathMatcher.d.ts +2 -2
  71. package/dist/runtime/react/index.d.mts +8 -8
  72. package/dist/runtime/react/index.d.ts +9 -9
  73. package/dist/runtime/router.d.mts +1 -1
  74. package/dist/runtime/router.d.ts +1 -1
  75. package/dist/runtime/saml.d.mts +1 -1
  76. package/dist/runtime/saml.d.ts +1 -1
  77. package/dist/runtime/telemetry.d.mts +1 -1
  78. package/dist/runtime/telemetry.d.ts +1 -1
  79. package/dist/runtime/types/index.d.mts +1 -1
  80. package/dist/runtime/types/index.d.ts +1 -1
  81. package/dist/runtime/url-Ms4rigVZ.d.ts.map +1 -1
  82. package/dist/runtime/{versionSelector-BTaEe_fh.mjs → versionSelector-Cq3vk5iP.mjs} +3 -3
  83. package/dist/runtime/{versionSelector-BTaEe_fh.mjs.map → versionSelector-Cq3vk5iP.mjs.map} +1 -1
  84. package/dist/runtime/{versionSelector-CPS7KdGH.js → versionSelector-EbyslmUF.js} +3 -3
  85. package/dist/runtime/{versionSelector-CPS7KdGH.js.map → versionSelector-EbyslmUF.js.map} +1 -1
  86. package/dist/runtime/versionSelector.js +1 -1
  87. package/dist/runtime/versionSelector.mjs +1 -1
  88. package/dist/runtime/web3.d.mts +1 -1
  89. package/dist/runtime/web3.d.ts +1 -1
  90. package/dist/types/index.d.mts +5 -0
  91. package/dist/types/index.d.mts.map +1 -1
  92. package/dist/types/index.d.ts +5 -0
  93. package/dist/types/index.d.ts.map +1 -1
  94. package/package.json +1 -1
  95. package/dist/runtime/apiUrlFromPublishableKey-BK2JHLjb.d.ts.map +0 -1
  96. package/dist/runtime/index-BX6sndeu.d.ts.map +0 -1
  97. package/dist/runtime/index-DRoX574n.d.mts.map +0 -1
@@ -703,6 +703,7 @@ interface BillingSubscriptionItemResource extends ClerkResource {
703
703
  */
704
704
  amount: BillingMoneyAmount;
705
705
  };
706
+ credits?: BillingCredits;
706
707
  /**
707
708
  * A function to cancel the subscription item. Accepts the following parameters:
708
709
  * <ul>
@@ -6571,6 +6572,8 @@ type __internal_LocalizationResource = {
6571
6572
  availableFeatures: LocalizationValue;
6572
6573
  subtotal: LocalizationValue;
6573
6574
  credit: LocalizationValue;
6575
+ prorationCredit: LocalizationValue;
6576
+ accountCredit: LocalizationValue;
6574
6577
  creditRemainder: LocalizationValue;
6575
6578
  payerCreditRemainder: LocalizationValue;
6576
6579
  totalDue: LocalizationValue;
@@ -7275,6 +7278,7 @@ type __internal_LocalizationResource = {
7275
7278
  empty: LocalizationValue;
7276
7279
  itemCaption__paidForPlan: LocalizationValue;
7277
7280
  itemCaption__proratedCredit: LocalizationValue;
7281
+ itemCaption__payerCredit: LocalizationValue;
7278
7282
  itemCaption__subscribedAndPaidForPlan: LocalizationValue;
7279
7283
  notFound: LocalizationValue;
7280
7284
  tableHeader__date: LocalizationValue;
@@ -7513,6 +7517,7 @@ type __internal_LocalizationResource = {
7513
7517
  empty: LocalizationValue;
7514
7518
  itemCaption__paidForPlan: LocalizationValue<'plan' | 'period'>;
7515
7519
  itemCaption__proratedCredit: LocalizationValue;
7520
+ itemCaption__payerCredit: LocalizationValue;
7516
7521
  itemCaption__subscribedAndPaidForPlan: LocalizationValue<'plan' | 'period'>;
7517
7522
  notFound: LocalizationValue;
7518
7523
  tableHeader__date: LocalizationValue;