@learncard/react 2.6.9 → 2.6.11

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 (207) hide show
  1. package/dist/base.css +1 -1
  2. package/dist/base.js +1 -1
  3. package/dist/cjs/{AchievementCard-52b029e8.js → AchievementCard-e5815d57.js} +4 -4
  4. package/dist/cjs/{AchievementCard-52b029e8.js.map → AchievementCard-e5815d57.js.map} +1 -1
  5. package/dist/cjs/AwardRibbon-14ba45fb.js.map +1 -1
  6. package/dist/cjs/{BoostGenericCard-7a29863b.js → BoostGenericCard-4bb2ca13.js} +8 -9
  7. package/dist/cjs/{BoostGenericCard-7a29863b.js.map → BoostGenericCard-4bb2ca13.js.map} +1 -1
  8. package/dist/cjs/{BoostSmallCard-2c5b5dfe.js → BoostSmallCard-fb2c326b.js} +8 -8
  9. package/dist/cjs/{BoostSmallCard-2c5b5dfe.js.map → BoostSmallCard-fb2c326b.js.map} +1 -1
  10. package/dist/cjs/Button-a7af702b.js.map +1 -1
  11. package/dist/cjs/Checkmark-f611aa4d.js.map +1 -1
  12. package/dist/cjs/CircleCheckButton-43c96841.js.map +1 -1
  13. package/dist/cjs/CircleIcon-a45953f5.js.map +1 -1
  14. package/dist/cjs/CircleSpinner-093cce04.js.map +1 -1
  15. package/dist/cjs/CourseCard-338a32ee.js.map +1 -1
  16. package/dist/cjs/{CourseVerticalCard-b76f5407.js → CourseVerticalCard-18166b12.js} +3 -3
  17. package/dist/cjs/{CourseVerticalCard-b76f5407.js.map → CourseVerticalCard-18166b12.js.map} +1 -1
  18. package/dist/cjs/FlippyCard-209549c5.js.map +1 -1
  19. package/dist/cjs/GenericArrow-8dfb261d.js.map +1 -1
  20. package/dist/cjs/{GenericCard-4241c598.js → GenericCard-561e9d34.js} +7 -7
  21. package/dist/cjs/{GenericCard-4241c598.js.map → GenericCard-561e9d34.js.map} +1 -1
  22. package/dist/cjs/JobHistoryCard-05a3f98b.js.map +1 -1
  23. package/dist/cjs/JobListCard-a3e030e0.js.map +1 -1
  24. package/dist/cjs/LearnCardCreditCardBackFace-87cc8b9f.js.map +1 -1
  25. package/dist/cjs/{LearnCardCreditCardFrontFace-4452fd7a.js → LearnCardCreditCardFrontFace-94be6a62.js} +2 -2
  26. package/dist/cjs/{LearnCardCreditCardFrontFace-4452fd7a.js.map → LearnCardCreditCardFrontFace-94be6a62.js.map} +1 -1
  27. package/dist/cjs/LearnPill-0b3170ea.js.map +1 -1
  28. package/dist/cjs/{Lightbox-cda1e0d5.js → Lightbox-31a90d97.js} +23 -26
  29. package/dist/cjs/{Lightbox-cda1e0d5.js.map → Lightbox-31a90d97.js.map} +1 -1
  30. package/dist/cjs/Lightbulb-1c28af02.js.map +1 -1
  31. package/dist/cjs/MiniVCThumbnail-a78e44f2.js.map +1 -1
  32. package/dist/cjs/Notification-9d230f1b.js.map +1 -1
  33. package/dist/cjs/NotificationBoostCard-3b3bd47d.js.map +1 -1
  34. package/dist/cjs/NotificationUserAcceptedBoostCard-423b9320.js.map +1 -1
  35. package/dist/cjs/NotificationUserCard-d4dab06c.js.map +1 -1
  36. package/dist/cjs/{QRCodeCard-efaa58e1.js → QRCodeCard-2a818136.js} +2 -2
  37. package/dist/cjs/{QRCodeCard-efaa58e1.js.map → QRCodeCard-2a818136.js.map} +1 -1
  38. package/dist/cjs/RoundedPill-85e7ed68.js.map +1 -1
  39. package/dist/cjs/SchoolIDCard-1baf77e8.js.map +1 -1
  40. package/dist/cjs/{SkillTabCard-14ba0618.js → SkillTabCard-c89279ab.js} +2 -2
  41. package/dist/cjs/{SkillTabCard-14ba0618.js.map → SkillTabCard-c89279ab.js.map} +1 -1
  42. package/dist/cjs/SkillVerticalCard-3eb3a8e9.js.map +1 -1
  43. package/dist/cjs/SkillsCard-4b6dbb4f.js.map +1 -1
  44. package/dist/cjs/SkillsStatsCard-97a35a88.js.map +1 -1
  45. package/dist/cjs/SmallAchievementCard-c76701ce.js.map +1 -1
  46. package/dist/cjs/Trophy-9ede7f2b.js.map +1 -1
  47. package/dist/cjs/User-92f9cf40.js.map +1 -1
  48. package/dist/cjs/{VCCard-46382b57.js → VCCard-579989b4.js} +7 -4
  49. package/dist/cjs/{VCCard-46382b57.js.map → VCCard-579989b4.js.map} +1 -1
  50. package/dist/cjs/{VCDisplayBackFace-85c80890.js → VCDisplayBackFace-7ee3d096.js} +3 -3
  51. package/dist/cjs/{VCDisplayBackFace-85c80890.js.map → VCDisplayBackFace-7ee3d096.js.map} +1 -1
  52. package/dist/cjs/{VCDisplayCard-03fc6bd1.js → VCDisplayCard-05393c28.js} +3 -3
  53. package/dist/cjs/{VCDisplayCard-03fc6bd1.js.map → VCDisplayCard-05393c28.js.map} +1 -1
  54. package/dist/cjs/{VCDisplayCard2-9b974b70.js → VCDisplayCard2-30a3240b.js} +30 -49
  55. package/dist/cjs/VCDisplayCard2-30a3240b.js.map +1 -0
  56. package/dist/cjs/VCThumbnail-6bf86bb2.js.map +1 -1
  57. package/dist/cjs/VCVerificationCheck-46fa75d3.js.map +1 -1
  58. package/dist/cjs/{VCVerificationPill-ac05903b.js → VCVerificationPill-f629fd71.js} +2 -2
  59. package/dist/cjs/{VCVerificationPill-ac05903b.js.map → VCVerificationPill-f629fd71.js.map} +1 -1
  60. package/dist/cjs/{constants-3f8ed765.js → constants-a9665278.js} +10 -10
  61. package/dist/cjs/{constants-3f8ed765.js.map → constants-a9665278.js.map} +1 -1
  62. package/dist/cjs/{credential.helpers-40149659.js → credential.helpers-a4559d6b.js} +1260 -985
  63. package/dist/cjs/credential.helpers-a4559d6b.js.map +1 -0
  64. package/dist/cjs/icons-ac6eb6ec.js.map +1 -1
  65. package/dist/cjs/{index-82de573c.js → index-8082a131.js} +21 -17
  66. package/dist/cjs/index-8082a131.js.map +1 -0
  67. package/dist/cjs/index-d057eaee.js.map +1 -1
  68. package/dist/cjs/index-d836b84d.js.map +1 -1
  69. package/dist/cjs/index.js +23 -24
  70. package/dist/cjs/index.js.map +1 -1
  71. package/dist/cjs/index11.js +1 -1
  72. package/dist/cjs/index12.js +23 -24
  73. package/dist/cjs/index12.js.map +1 -1
  74. package/dist/cjs/index16.js +2 -2
  75. package/dist/cjs/index18.js +1 -1
  76. package/dist/cjs/index2.js +15 -15
  77. package/dist/cjs/index25.js +2 -2
  78. package/dist/cjs/index27.js +1 -1
  79. package/dist/cjs/index3.js +2 -2
  80. package/dist/cjs/index31.js +3 -3
  81. package/dist/cjs/index35.js +8 -9
  82. package/dist/cjs/index35.js.map +1 -1
  83. package/dist/cjs/index36.js +4 -5
  84. package/dist/cjs/index36.js.map +1 -1
  85. package/dist/cjs/index37.js +5 -6
  86. package/dist/cjs/index37.js.map +1 -1
  87. package/dist/cjs/index38.js +5 -6
  88. package/dist/cjs/index38.js.map +1 -1
  89. package/dist/cjs/index39.js +1 -2
  90. package/dist/cjs/index39.js.map +1 -1
  91. package/dist/cjs/index4.js +5 -5
  92. package/dist/cjs/index42.js +2 -2
  93. package/dist/cjs/index9.js +6 -6
  94. package/dist/cjs/notifications-56c6fc94.js.map +1 -1
  95. package/dist/cjs/types-c83b33ec.js.map +1 -1
  96. package/dist/cjs/types-e4d9a257.js.map +1 -1
  97. package/dist/cjs/{types.esm-e38e568c.js → types.esm-8d2141ba.js} +114 -259
  98. package/dist/cjs/types.esm-8d2141ba.js.map +1 -0
  99. package/dist/esm/{AchievementCard-51b4814b.js → AchievementCard-c4121d5c.js} +4 -4
  100. package/dist/esm/{AchievementCard-51b4814b.js.map → AchievementCard-c4121d5c.js.map} +1 -1
  101. package/dist/esm/AwardRibbon-3e682281.js.map +1 -1
  102. package/dist/esm/{BoostGenericCard-ab82b8aa.js → BoostGenericCard-5aecf426.js} +3 -4
  103. package/dist/esm/{BoostGenericCard-ab82b8aa.js.map → BoostGenericCard-5aecf426.js.map} +1 -1
  104. package/dist/esm/{BoostSmallCard-2cc5a41a.js → BoostSmallCard-930b33fc.js} +3 -3
  105. package/dist/esm/{BoostSmallCard-2cc5a41a.js.map → BoostSmallCard-930b33fc.js.map} +1 -1
  106. package/dist/esm/Button-5f805204.js.map +1 -1
  107. package/dist/esm/Checkmark-d8b8f43d.js.map +1 -1
  108. package/dist/esm/CircleCheckButton-551054f6.js.map +1 -1
  109. package/dist/esm/CircleIcon-38b874e2.js.map +1 -1
  110. package/dist/esm/CircleSpinner-9b8b1a6b.js.map +1 -1
  111. package/dist/esm/CourseCard-663ff174.js.map +1 -1
  112. package/dist/esm/{CourseVerticalCard-922a0860.js → CourseVerticalCard-64c29ffb.js} +3 -3
  113. package/dist/esm/{CourseVerticalCard-922a0860.js.map → CourseVerticalCard-64c29ffb.js.map} +1 -1
  114. package/dist/esm/FlippyCard-a2de5cf1.js.map +1 -1
  115. package/dist/esm/GenericArrow-0dba1707.js.map +1 -1
  116. package/dist/esm/GenericCard-d732daa0.js +1 -1
  117. package/dist/esm/GenericCard-d732daa0.js.map +1 -1
  118. package/dist/esm/JobHistoryCard-80d4ef27.js.map +1 -1
  119. package/dist/esm/JobListCard-678e3c39.js.map +1 -1
  120. package/dist/esm/LearnCardCreditCardBackFace-9baa9e6b.js.map +1 -1
  121. package/dist/esm/{LearnCardCreditCardFrontFace-cf793917.js → LearnCardCreditCardFrontFace-f61b789c.js} +2 -2
  122. package/dist/esm/{LearnCardCreditCardFrontFace-cf793917.js.map → LearnCardCreditCardFrontFace-f61b789c.js.map} +1 -1
  123. package/dist/esm/LearnPill-8684ba99.js.map +1 -1
  124. package/dist/esm/{Lightbox-de99baca.js → Lightbox-35809729.js} +23 -26
  125. package/dist/esm/{Lightbox-de99baca.js.map → Lightbox-35809729.js.map} +1 -1
  126. package/dist/esm/Lightbulb-a3c1679f.js.map +1 -1
  127. package/dist/esm/MiniVCThumbnail-6a07e810.js.map +1 -1
  128. package/dist/esm/Notification-0f58ef6a.js.map +1 -1
  129. package/dist/esm/NotificationBoostCard-134edf94.js.map +1 -1
  130. package/dist/esm/NotificationUserAcceptedBoostCard-8c13bd3f.js.map +1 -1
  131. package/dist/esm/NotificationUserCard-dbcc80f9.js.map +1 -1
  132. package/dist/esm/{QRCodeCard-c57e2067.js → QRCodeCard-79d4d253.js} +2 -2
  133. package/dist/esm/{QRCodeCard-c57e2067.js.map → QRCodeCard-79d4d253.js.map} +1 -1
  134. package/dist/esm/RoundedPill-731211b3.js.map +1 -1
  135. package/dist/esm/SchoolIDCard-3b746226.js.map +1 -1
  136. package/dist/esm/{SkillTabCard-d86c6452.js → SkillTabCard-77074988.js} +2 -2
  137. package/dist/esm/{SkillTabCard-d86c6452.js.map → SkillTabCard-77074988.js.map} +1 -1
  138. package/dist/esm/SkillVerticalCard-108f49bb.js.map +1 -1
  139. package/dist/esm/SkillsCard-92a51db2.js.map +1 -1
  140. package/dist/esm/SkillsStatsCard-1628fe9c.js.map +1 -1
  141. package/dist/esm/SmallAchievementCard-2d87ac82.js.map +1 -1
  142. package/dist/esm/Trophy-702610b8.js.map +1 -1
  143. package/dist/esm/User-fd276ad5.js.map +1 -1
  144. package/dist/esm/{VCCard-67827b2a.js → VCCard-7cb07eaf.js} +7 -4
  145. package/dist/esm/{VCCard-67827b2a.js.map → VCCard-7cb07eaf.js.map} +1 -1
  146. package/dist/esm/{VCDisplayBackFace-4c132537.js → VCDisplayBackFace-65f7b72d.js} +3 -3
  147. package/dist/esm/{VCDisplayBackFace-4c132537.js.map → VCDisplayBackFace-65f7b72d.js.map} +1 -1
  148. package/dist/esm/{VCDisplayCard-45555392.js → VCDisplayCard-5937271f.js} +3 -3
  149. package/dist/esm/{VCDisplayCard-45555392.js.map → VCDisplayCard-5937271f.js.map} +1 -1
  150. package/dist/esm/{VCDisplayCard2-081f4ffa.js → VCDisplayCard2-80423d2b.js} +30 -49
  151. package/dist/esm/VCDisplayCard2-80423d2b.js.map +1 -0
  152. package/dist/esm/VCThumbnail-3c254bda.js.map +1 -1
  153. package/dist/esm/VCVerificationCheck-80249524.js.map +1 -1
  154. package/dist/esm/{VCVerificationPill-f4734545.js → VCVerificationPill-aa9d7bde.js} +2 -2
  155. package/dist/esm/{VCVerificationPill-f4734545.js.map → VCVerificationPill-aa9d7bde.js.map} +1 -1
  156. package/dist/esm/constants-af6897d5.js.map +1 -1
  157. package/dist/esm/{credential.helpers-3572f72c.js → credential.helpers-f57b9258.js} +1243 -968
  158. package/dist/esm/credential.helpers-f57b9258.js.map +1 -0
  159. package/dist/esm/icons-9d160530.js.map +1 -1
  160. package/dist/esm/index-7103ad3c.js.map +1 -1
  161. package/dist/esm/{index-aa1098e1.js → index-dff96076.js} +21 -17
  162. package/dist/esm/index-dff96076.js.map +1 -0
  163. package/dist/esm/index-e588d5bb.js.map +1 -1
  164. package/dist/esm/index.js +20 -21
  165. package/dist/esm/index.js.map +1 -1
  166. package/dist/esm/index12.js +20 -21
  167. package/dist/esm/index12.js.map +1 -1
  168. package/dist/esm/index16.js +2 -2
  169. package/dist/esm/index18.js +1 -1
  170. package/dist/esm/index2.js +15 -15
  171. package/dist/esm/index25.js +2 -2
  172. package/dist/esm/index3.js +2 -2
  173. package/dist/esm/index31.js +3 -3
  174. package/dist/esm/index35.js +8 -9
  175. package/dist/esm/index35.js.map +1 -1
  176. package/dist/esm/index36.js +4 -5
  177. package/dist/esm/index36.js.map +1 -1
  178. package/dist/esm/index37.js +5 -6
  179. package/dist/esm/index37.js.map +1 -1
  180. package/dist/esm/index38.js +5 -6
  181. package/dist/esm/index38.js.map +1 -1
  182. package/dist/esm/index39.js +1 -2
  183. package/dist/esm/index39.js.map +1 -1
  184. package/dist/esm/index4.js +5 -5
  185. package/dist/esm/index42.js +2 -2
  186. package/dist/esm/index9.js +6 -6
  187. package/dist/esm/notifications-009bbd80.js.map +1 -1
  188. package/dist/esm/types-7081a9e5.js.map +1 -1
  189. package/dist/esm/types-b32d28d5.js.map +1 -1
  190. package/dist/esm/{types.esm-d135a91a.js → types.esm-ee3ac019.js} +114 -259
  191. package/dist/esm/types.esm-ee3ac019.js.map +1 -0
  192. package/dist/index.d.ts +57 -57
  193. package/dist/main.css +1 -1
  194. package/dist/main.js +1 -1
  195. package/package.json +4 -4
  196. package/dist/cjs/VCDisplayCard2-9b974b70.js.map +0 -1
  197. package/dist/cjs/credential.helpers-40149659.js.map +0 -1
  198. package/dist/cjs/index-82de573c.js.map +0 -1
  199. package/dist/cjs/index-a961acab.js +0 -3538
  200. package/dist/cjs/index-a961acab.js.map +0 -1
  201. package/dist/cjs/types.esm-e38e568c.js.map +0 -1
  202. package/dist/esm/VCDisplayCard2-081f4ffa.js.map +0 -1
  203. package/dist/esm/credential.helpers-3572f72c.js.map +0 -1
  204. package/dist/esm/index-aa1098e1.js.map +0 -1
  205. package/dist/esm/index-e1f279c6.js +0 -3529
  206. package/dist/esm/index-e1f279c6.js.map +0 -1
  207. package/dist/esm/types.esm-d135a91a.js.map +0 -1
@@ -474,7 +474,7 @@ const OK = (value) => ({ status: "valid", value });
474
474
  const isAborted = (x) => x.status === "aborted";
475
475
  const isDirty = (x) => x.status === "dirty";
476
476
  const isValid = (x) => x.status === "valid";
477
- const isAsync = (x) => typeof Promise !== "undefined" && x instanceof Promise;
477
+ const isAsync = (x) => typeof Promise !== undefined && x instanceof Promise;
478
478
 
479
479
  var errorUtil;
480
480
  (function (errorUtil) {
@@ -703,29 +703,28 @@ class ZodType {
703
703
  return this._refinement(refinement);
704
704
  }
705
705
  optional() {
706
- return ZodOptional.create(this, this._def);
706
+ return ZodOptional.create(this);
707
707
  }
708
708
  nullable() {
709
- return ZodNullable.create(this, this._def);
709
+ return ZodNullable.create(this);
710
710
  }
711
711
  nullish() {
712
- return this.nullable().optional();
712
+ return this.optional().nullable();
713
713
  }
714
714
  array() {
715
- return ZodArray.create(this, this._def);
715
+ return ZodArray.create(this);
716
716
  }
717
717
  promise() {
718
- return ZodPromise.create(this, this._def);
718
+ return ZodPromise.create(this);
719
719
  }
720
720
  or(option) {
721
- return ZodUnion.create([this, option], this._def);
721
+ return ZodUnion.create([this, option]);
722
722
  }
723
723
  and(incoming) {
724
- return ZodIntersection.create(this, incoming, this._def);
724
+ return ZodIntersection.create(this, incoming);
725
725
  }
726
726
  transform(transform) {
727
727
  return new ZodEffects({
728
- ...processCreateParams(this._def),
729
728
  schema: this,
730
729
  typeName: ZodFirstPartyTypeKind.ZodEffects,
731
730
  effect: { type: "transform", transform },
@@ -734,7 +733,6 @@ class ZodType {
734
733
  default(def) {
735
734
  const defaultValueFunc = typeof def === "function" ? def : () => def;
736
735
  return new ZodDefault({
737
- ...processCreateParams(this._def),
738
736
  innerType: this,
739
737
  defaultValue: defaultValueFunc,
740
738
  typeName: ZodFirstPartyTypeKind.ZodDefault,
@@ -744,15 +742,14 @@ class ZodType {
744
742
  return new ZodBranded({
745
743
  typeName: ZodFirstPartyTypeKind.ZodBranded,
746
744
  type: this,
747
- ...processCreateParams(this._def),
745
+ ...processCreateParams(undefined),
748
746
  });
749
747
  }
750
748
  catch(def) {
751
- const catchValueFunc = typeof def === "function" ? def : () => def;
749
+ const defaultValueFunc = typeof def === "function" ? def : () => def;
752
750
  return new ZodCatch({
753
- ...processCreateParams(this._def),
754
751
  innerType: this,
755
- catchValue: catchValueFunc,
752
+ defaultValue: defaultValueFunc,
756
753
  typeName: ZodFirstPartyTypeKind.ZodCatch,
757
754
  });
758
755
  }
@@ -774,15 +771,12 @@ class ZodType {
774
771
  }
775
772
  }
776
773
  const cuidRegex = /^c[^\s-]{8,}$/i;
777
- const cuid2Regex = /^[a-z][a-z0-9]*$/;
778
774
  const uuidRegex = /^([a-f0-9]{8}-[a-f0-9]{4}-[1-5][a-f0-9]{3}-[a-f0-9]{4}-[a-f0-9]{12}|00000000-0000-0000-0000-000000000000)$/i;
779
775
  // from https://stackoverflow.com/a/46181/1550155
780
776
  // old version: too slow, didn't support unicode
781
777
  // const emailRegex = /^((([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+(\.([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+)*)|((\x22)((((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(([\x01-\x08\x0b\x0c\x0e-\x1f\x7f]|\x21|[\x23-\x5b]|[\x5d-\x7e]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(\\([\x01-\x09\x0b\x0c\x0d-\x7f]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))))*(((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(\x22)))@((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))$/i;
782
- //old email regex
783
- // const emailRegex = /^(([^<>()[\].,;:\s@"]+(\.[^<>()[\].,;:\s@"]+)*)|(".+"))@((?!-)([^<>()[\].,;:\s@"]+\.)+[^<>()[\].,;:\s@"]{1,})[^-<>()[\].,;:\s@"]$/i;
784
778
  // eslint-disable-next-line
785
- const emailRegex = /^(([^<>()[\]\\.,;:\s@\"]+(\.[^<>()[\]\\.,;:\s@\"]+)*)|(\".+\"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|([^-]([a-zA-Z0-9-]*\.)+[a-zA-Z]{2,}))$/;
779
+ const emailRegex = /^(([^<>()[\]\.,;:\s@\"]+(\.[^<>()[\]\.,;:\s@\"]+)*)|(\".+\"))@(([^<>()[\]\.,;:\s@\"]+\.)+[^<>()[\]\.,;:\s@\"]{2,})$/i;
786
780
  // interface IsDateStringOptions extends StringDateOptions {
787
781
  /**
788
782
  * Match any configuration
@@ -793,7 +787,7 @@ const emailRegex = /^(([^<>()[\]\\.,;:\s@\"]+(\.[^<>()[\]\\.,;:\s@\"]+)*)|(\".+\
793
787
  const datetimeRegex = (args) => {
794
788
  if (args.precision) {
795
789
  if (args.offset) {
796
- return new RegExp(`^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{${args.precision}}(([+-]\\d{2}(:?\\d{2})?)|Z)$`);
790
+ return new RegExp(`^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{${args.precision}}(([+-]\\d{2}:\\d{2})|Z)$`);
797
791
  }
798
792
  else {
799
793
  return new RegExp(`^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{${args.precision}}Z$`);
@@ -801,7 +795,7 @@ const datetimeRegex = (args) => {
801
795
  }
802
796
  else if (args.precision === 0) {
803
797
  if (args.offset) {
804
- return new RegExp(`^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(([+-]\\d{2}(:?\\d{2})?)|Z)$`);
798
+ return new RegExp(`^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(([+-]\\d{2}:\\d{2})|Z)$`);
805
799
  }
806
800
  else {
807
801
  return new RegExp(`^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}Z$`);
@@ -809,7 +803,7 @@ const datetimeRegex = (args) => {
809
803
  }
810
804
  else {
811
805
  if (args.offset) {
812
- return new RegExp(`^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?(([+-]\\d{2}(:?\\d{2})?)|Z)$`);
806
+ return new RegExp(`^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?(([+-]\\d{2}:\\d{2})|Z)$`);
813
807
  }
814
808
  else {
815
809
  return new RegExp(`^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?Z$`);
@@ -942,17 +936,6 @@ class ZodString extends ZodType {
942
936
  status.dirty();
943
937
  }
944
938
  }
945
- else if (check.kind === "cuid2") {
946
- if (!cuid2Regex.test(input.data)) {
947
- ctx = this._getOrReturnCtx(input, ctx);
948
- addIssueToContext(ctx, {
949
- validation: "cuid2",
950
- code: ZodIssueCode.invalid_string,
951
- message: check.message,
952
- });
953
- status.dirty();
954
- }
955
- }
956
939
  else if (check.kind === "url") {
957
940
  try {
958
941
  new URL(input.data);
@@ -1041,9 +1024,6 @@ class ZodString extends ZodType {
1041
1024
  cuid(message) {
1042
1025
  return this._addCheck({ kind: "cuid", ...errorUtil.errToObj(message) });
1043
1026
  }
1044
- cuid2(message) {
1045
- return this._addCheck({ kind: "cuid2", ...errorUtil.errToObj(message) });
1046
- }
1047
1027
  datetime(options) {
1048
1028
  var _a;
1049
1029
  if (typeof options === "string") {
@@ -1118,9 +1098,6 @@ class ZodString extends ZodType {
1118
1098
  get isCUID() {
1119
1099
  return !!this._def.checks.find((ch) => ch.kind === "cuid");
1120
1100
  }
1121
- get isCUID2() {
1122
- return !!this._def.checks.find((ch) => ch.kind === "cuid2");
1123
- }
1124
1101
  get minLength() {
1125
1102
  let min = null;
1126
1103
  for (const ch of this._def.checks) {
@@ -1361,27 +1338,7 @@ class ZodNumber extends ZodType {
1361
1338
  return max;
1362
1339
  }
1363
1340
  get isInt() {
1364
- return !!this._def.checks.find((ch) => ch.kind === "int" ||
1365
- (ch.kind === "multipleOf" && util.isInteger(ch.value)));
1366
- }
1367
- get isFinite() {
1368
- let max = null, min = null;
1369
- for (const ch of this._def.checks) {
1370
- if (ch.kind === "finite" ||
1371
- ch.kind === "int" ||
1372
- ch.kind === "multipleOf") {
1373
- return true;
1374
- }
1375
- else if (ch.kind === "min") {
1376
- if (min === null || ch.value > min)
1377
- min = ch.value;
1378
- }
1379
- else if (ch.kind === "max") {
1380
- if (max === null || ch.value < max)
1381
- max = ch.value;
1382
- }
1383
- }
1384
- return Number.isFinite(min) && Number.isFinite(max);
1341
+ return !!this._def.checks.find((ch) => ch.kind === "int");
1385
1342
  }
1386
1343
  }
1387
1344
  ZodNumber.create = (params) => {
@@ -1742,13 +1699,13 @@ class ZodArray extends ZodType {
1742
1699
  }
1743
1700
  }
1744
1701
  if (ctx.common.async) {
1745
- return Promise.all([...ctx.data].map((item, i) => {
1702
+ return Promise.all(ctx.data.map((item, i) => {
1746
1703
  return def.type._parseAsync(new ParseInputLazyPath(ctx, item, ctx.path, i));
1747
1704
  })).then((result) => {
1748
1705
  return ParseStatus.mergeArray(status, result);
1749
1706
  });
1750
1707
  }
1751
- const result = [...ctx.data].map((item, i) => {
1708
+ const result = ctx.data.map((item, i) => {
1752
1709
  return def.type._parseSync(new ParseInputLazyPath(ctx, item, ctx.path, i));
1753
1710
  });
1754
1711
  return ParseStatus.mergeArray(status, result);
@@ -1804,6 +1761,15 @@ var objectUtil;
1804
1761
  };
1805
1762
  };
1806
1763
  })(objectUtil || (objectUtil = {}));
1764
+ const AugmentFactory = (def) => (augmentation) => {
1765
+ return new ZodObject({
1766
+ ...def,
1767
+ shape: () => ({
1768
+ ...def.shape(),
1769
+ ...augmentation,
1770
+ }),
1771
+ });
1772
+ };
1807
1773
  function deepPartialify(schema) {
1808
1774
  if (schema instanceof ZodObject) {
1809
1775
  const newShape = {};
@@ -1841,43 +1807,8 @@ class ZodObject extends ZodType {
1841
1807
  * If you want to pass through unknown properties, use `.passthrough()` instead.
1842
1808
  */
1843
1809
  this.nonstrict = this.passthrough;
1844
- // extend<
1845
- // Augmentation extends ZodRawShape,
1846
- // NewOutput extends util.flatten<{
1847
- // [k in keyof Augmentation | keyof Output]: k extends keyof Augmentation
1848
- // ? Augmentation[k]["_output"]
1849
- // : k extends keyof Output
1850
- // ? Output[k]
1851
- // : never;
1852
- // }>,
1853
- // NewInput extends util.flatten<{
1854
- // [k in keyof Augmentation | keyof Input]: k extends keyof Augmentation
1855
- // ? Augmentation[k]["_input"]
1856
- // : k extends keyof Input
1857
- // ? Input[k]
1858
- // : never;
1859
- // }>
1860
- // >(
1861
- // augmentation: Augmentation
1862
- // ): ZodObject<
1863
- // extendShape<T, Augmentation>,
1864
- // UnknownKeys,
1865
- // Catchall,
1866
- // NewOutput,
1867
- // NewInput
1868
- // > {
1869
- // return new ZodObject({
1870
- // ...this._def,
1871
- // shape: () => ({
1872
- // ...this._def.shape(),
1873
- // ...augmentation,
1874
- // }),
1875
- // }) as any;
1876
- // }
1877
- /**
1878
- * @deprecated Use `.extend` instead
1879
- * */
1880
- this.augment = this.extend;
1810
+ this.augment = AugmentFactory(this._def);
1811
+ this.extend = AugmentFactory(this._def);
1881
1812
  }
1882
1813
  _getCached() {
1883
1814
  if (this._cached !== null)
@@ -2014,31 +1945,8 @@ class ZodObject extends ZodType {
2014
1945
  unknownKeys: "passthrough",
2015
1946
  });
2016
1947
  }
2017
- // const AugmentFactory =
2018
- // <Def extends ZodObjectDef>(def: Def) =>
2019
- // <Augmentation extends ZodRawShape>(
2020
- // augmentation: Augmentation
2021
- // ): ZodObject<
2022
- // extendShape<ReturnType<Def["shape"]>, Augmentation>,
2023
- // Def["unknownKeys"],
2024
- // Def["catchall"]
2025
- // > => {
2026
- // return new ZodObject({
2027
- // ...def,
2028
- // shape: () => ({
2029
- // ...def.shape(),
2030
- // ...augmentation,
2031
- // }),
2032
- // }) as any;
2033
- // };
2034
- extend(augmentation) {
2035
- return new ZodObject({
2036
- ...this._def,
2037
- shape: () => ({
2038
- ...this._def.shape(),
2039
- ...augmentation,
2040
- }),
2041
- });
1948
+ setKey(key, schema) {
1949
+ return this.augment({ [key]: schema });
2042
1950
  }
2043
1951
  /**
2044
1952
  * Prior to zod@1.0.12 there was a bug in the
@@ -2046,6 +1954,10 @@ class ZodObject extends ZodType {
2046
1954
  * upgrade if you are experiencing issues.
2047
1955
  */
2048
1956
  merge(merging) {
1957
+ // const mergedShape = objectUtil.mergeShapes(
1958
+ // this._def.shape(),
1959
+ // merging._def.shape()
1960
+ // );
2049
1961
  const merged = new ZodObject({
2050
1962
  unknownKeys: merging._def.unknownKeys,
2051
1963
  catchall: merging._def.catchall,
@@ -2054,65 +1966,6 @@ class ZodObject extends ZodType {
2054
1966
  });
2055
1967
  return merged;
2056
1968
  }
2057
- // merge<
2058
- // Incoming extends AnyZodObject,
2059
- // Augmentation extends Incoming["shape"],
2060
- // NewOutput extends {
2061
- // [k in keyof Augmentation | keyof Output]: k extends keyof Augmentation
2062
- // ? Augmentation[k]["_output"]
2063
- // : k extends keyof Output
2064
- // ? Output[k]
2065
- // : never;
2066
- // },
2067
- // NewInput extends {
2068
- // [k in keyof Augmentation | keyof Input]: k extends keyof Augmentation
2069
- // ? Augmentation[k]["_input"]
2070
- // : k extends keyof Input
2071
- // ? Input[k]
2072
- // : never;
2073
- // }
2074
- // >(
2075
- // merging: Incoming
2076
- // ): ZodObject<
2077
- // extendShape<T, ReturnType<Incoming["_def"]["shape"]>>,
2078
- // Incoming["_def"]["unknownKeys"],
2079
- // Incoming["_def"]["catchall"],
2080
- // NewOutput,
2081
- // NewInput
2082
- // > {
2083
- // const merged: any = new ZodObject({
2084
- // unknownKeys: merging._def.unknownKeys,
2085
- // catchall: merging._def.catchall,
2086
- // shape: () =>
2087
- // objectUtil.mergeShapes(this._def.shape(), merging._def.shape()),
2088
- // typeName: ZodFirstPartyTypeKind.ZodObject,
2089
- // }) as any;
2090
- // return merged;
2091
- // }
2092
- setKey(key, schema) {
2093
- return this.augment({ [key]: schema });
2094
- }
2095
- // merge<Incoming extends AnyZodObject>(
2096
- // merging: Incoming
2097
- // ): //ZodObject<T & Incoming["_shape"], UnknownKeys, Catchall> = (merging) => {
2098
- // ZodObject<
2099
- // extendShape<T, ReturnType<Incoming["_def"]["shape"]>>,
2100
- // Incoming["_def"]["unknownKeys"],
2101
- // Incoming["_def"]["catchall"]
2102
- // > {
2103
- // // const mergedShape = objectUtil.mergeShapes(
2104
- // // this._def.shape(),
2105
- // // merging._def.shape()
2106
- // // );
2107
- // const merged: any = new ZodObject({
2108
- // unknownKeys: merging._def.unknownKeys,
2109
- // catchall: merging._def.catchall,
2110
- // shape: () =>
2111
- // objectUtil.mergeShapes(this._def.shape(), merging._def.shape()),
2112
- // typeName: ZodFirstPartyTypeKind.ZodObject,
2113
- // }) as any;
2114
- // return merged;
2115
- // }
2116
1969
  catchall(index) {
2117
1970
  return new ZodObject({
2118
1971
  ...this._def,
@@ -2121,10 +1974,10 @@ class ZodObject extends ZodType {
2121
1974
  }
2122
1975
  pick(mask) {
2123
1976
  const shape = {};
2124
- util.objectKeys(mask).forEach((key) => {
2125
- if (mask[key] && this.shape[key]) {
1977
+ util.objectKeys(mask).map((key) => {
1978
+ // only add to shape if key corresponds to an element of the current shape
1979
+ if (this.shape[key])
2126
1980
  shape[key] = this.shape[key];
2127
- }
2128
1981
  });
2129
1982
  return new ZodObject({
2130
1983
  ...this._def,
@@ -2133,8 +1986,8 @@ class ZodObject extends ZodType {
2133
1986
  }
2134
1987
  omit(mask) {
2135
1988
  const shape = {};
2136
- util.objectKeys(this.shape).forEach((key) => {
2137
- if (!mask[key]) {
1989
+ util.objectKeys(this.shape).map((key) => {
1990
+ if (util.objectKeys(mask).indexOf(key) === -1) {
2138
1991
  shape[key] = this.shape[key];
2139
1992
  }
2140
1993
  });
@@ -2148,15 +2001,26 @@ class ZodObject extends ZodType {
2148
2001
  }
2149
2002
  partial(mask) {
2150
2003
  const newShape = {};
2151
- util.objectKeys(this.shape).forEach((key) => {
2152
- const fieldSchema = this.shape[key];
2153
- if (mask && !mask[key]) {
2154
- newShape[key] = fieldSchema;
2155
- }
2156
- else {
2004
+ if (mask) {
2005
+ util.objectKeys(this.shape).map((key) => {
2006
+ if (util.objectKeys(mask).indexOf(key) === -1) {
2007
+ newShape[key] = this.shape[key];
2008
+ }
2009
+ else {
2010
+ newShape[key] = this.shape[key].optional();
2011
+ }
2012
+ });
2013
+ return new ZodObject({
2014
+ ...this._def,
2015
+ shape: () => newShape,
2016
+ });
2017
+ }
2018
+ else {
2019
+ for (const key in this.shape) {
2020
+ const fieldSchema = this.shape[key];
2157
2021
  newShape[key] = fieldSchema.optional();
2158
2022
  }
2159
- });
2023
+ }
2160
2024
  return new ZodObject({
2161
2025
  ...this._def,
2162
2026
  shape: () => newShape,
@@ -2164,11 +2028,23 @@ class ZodObject extends ZodType {
2164
2028
  }
2165
2029
  required(mask) {
2166
2030
  const newShape = {};
2167
- util.objectKeys(this.shape).forEach((key) => {
2168
- if (mask && !mask[key]) {
2169
- newShape[key] = this.shape[key];
2170
- }
2171
- else {
2031
+ if (mask) {
2032
+ util.objectKeys(this.shape).map((key) => {
2033
+ if (util.objectKeys(mask).indexOf(key) === -1) {
2034
+ newShape[key] = this.shape[key];
2035
+ }
2036
+ else {
2037
+ const fieldSchema = this.shape[key];
2038
+ let newField = fieldSchema;
2039
+ while (newField instanceof ZodOptional) {
2040
+ newField = newField._def.innerType;
2041
+ }
2042
+ newShape[key] = newField;
2043
+ }
2044
+ });
2045
+ }
2046
+ else {
2047
+ for (const key in this.shape) {
2172
2048
  const fieldSchema = this.shape[key];
2173
2049
  let newField = fieldSchema;
2174
2050
  while (newField instanceof ZodOptional) {
@@ -2176,7 +2052,7 @@ class ZodObject extends ZodType {
2176
2052
  }
2177
2053
  newShape[key] = newField;
2178
2054
  }
2179
- });
2055
+ }
2180
2056
  return new ZodObject({
2181
2057
  ...this._def,
2182
2058
  shape: () => newShape,
@@ -2557,7 +2433,7 @@ class ZodTuple extends ZodType {
2557
2433
  });
2558
2434
  status.dirty();
2559
2435
  }
2560
- const items = [...ctx.data]
2436
+ const items = ctx.data
2561
2437
  .map((item, itemIndex) => {
2562
2438
  const schema = this._def.items[itemIndex] || this._def.rest;
2563
2439
  if (!schema)
@@ -2937,7 +2813,6 @@ class ZodLiteral extends ZodType {
2937
2813
  if (input.data !== this._def.value) {
2938
2814
  const ctx = this._getOrReturnCtx(input);
2939
2815
  addIssueToContext(ctx, {
2940
- received: ctx.data,
2941
2816
  code: ZodIssueCode.invalid_literal,
2942
2817
  expected: this._def.value,
2943
2818
  });
@@ -3011,12 +2886,6 @@ class ZodEnum extends ZodType {
3011
2886
  }
3012
2887
  return enumValues;
3013
2888
  }
3014
- extract(values) {
3015
- return ZodEnum.create(values);
3016
- }
3017
- exclude(values) {
3018
- return ZodEnum.create(this.options.filter((opt) => !values.includes(opt)));
3019
- }
3020
2889
  }
3021
2890
  ZodEnum.create = createZodEnum;
3022
2891
  class ZodNativeEnum extends ZodType {
@@ -3056,9 +2925,6 @@ ZodNativeEnum.create = (values, params) => {
3056
2925
  });
3057
2926
  };
3058
2927
  class ZodPromise extends ZodType {
3059
- unwrap() {
3060
- return this._def.type;
3061
- }
3062
2928
  _parse(input) {
3063
2929
  const { ctx } = this._processInputParams(input);
3064
2930
  if (ctx.parsedType !== ZodParsedType.promise &&
@@ -3298,30 +3164,24 @@ class ZodCatch extends ZodType {
3298
3164
  const result = this._def.innerType._parse({
3299
3165
  data: ctx.data,
3300
3166
  path: ctx.path,
3301
- parent: {
3302
- ...ctx,
3303
- common: {
3304
- ...ctx.common,
3305
- issues: [], // don't collect issues from inner type
3306
- },
3307
- },
3167
+ parent: ctx,
3308
3168
  });
3309
3169
  if (isAsync(result)) {
3310
3170
  return result.then((result) => {
3311
3171
  return {
3312
3172
  status: "valid",
3313
- value: result.status === "valid" ? result.value : this._def.catchValue(),
3173
+ value: result.status === "valid" ? result.value : this._def.defaultValue(),
3314
3174
  };
3315
3175
  });
3316
3176
  }
3317
3177
  else {
3318
3178
  return {
3319
3179
  status: "valid",
3320
- value: result.status === "valid" ? result.value : this._def.catchValue(),
3180
+ value: result.status === "valid" ? result.value : this._def.defaultValue(),
3321
3181
  };
3322
3182
  }
3323
3183
  }
3324
- removeCatch() {
3184
+ removeDefault() {
3325
3185
  return this._def.innerType;
3326
3186
  }
3327
3187
  }
@@ -3329,7 +3189,9 @@ ZodCatch.create = (type, params) => {
3329
3189
  return new ZodCatch({
3330
3190
  innerType: type,
3331
3191
  typeName: ZodFirstPartyTypeKind.ZodCatch,
3332
- catchValue: typeof params.catch === "function" ? params.catch : () => params.catch,
3192
+ defaultValue: typeof params.default === "function"
3193
+ ? params.default
3194
+ : () => params.default,
3333
3195
  ...processCreateParams(params),
3334
3196
  });
3335
3197
  };
@@ -3524,10 +3386,7 @@ const oboolean = () => booleanType().optional();
3524
3386
  const coerce = {
3525
3387
  string: ((arg) => ZodString.create({ ...arg, coerce: true })),
3526
3388
  number: ((arg) => ZodNumber.create({ ...arg, coerce: true })),
3527
- boolean: ((arg) => ZodBoolean.create({
3528
- ...arg,
3529
- coerce: true,
3530
- })),
3389
+ boolean: ((arg) => ZodBoolean.create({ ...arg, coerce: true })),
3531
3390
  bigint: ((arg) => ZodBigInt.create({ ...arg, coerce: true })),
3532
3391
  date: ((arg) => ZodDate.create({ ...arg, coerce: true })),
3533
3392
  };
@@ -3647,13 +3506,11 @@ mod.object({
3647
3506
  type: mod.string().optional(),
3648
3507
  narrative: mod.string().optional()
3649
3508
  });
3650
- var ImageValidator = mod.string().or(
3651
- mod.object({
3652
- id: mod.string(),
3653
- type: mod.string(),
3654
- caption: mod.string().optional()
3655
- })
3656
- );
3509
+ var ImageValidator = mod.string().or(mod.object({
3510
+ id: mod.string(),
3511
+ type: mod.string(),
3512
+ caption: mod.string().optional()
3513
+ }));
3657
3514
  var GeoCoordinatesValidator = mod.object({
3658
3515
  type: mod.string().min(1).or(mod.string().array().nonempty()),
3659
3516
  latitude: mod.number(),
@@ -3695,31 +3552,29 @@ var IdentifierEntryValidator = mod.object({
3695
3552
  identifier: mod.string(),
3696
3553
  identifierType: IdentifierTypeValidator
3697
3554
  });
3698
- var ProfileValidator = mod.string().or(
3699
- mod.object({
3700
- id: mod.string().optional(),
3701
- type: mod.string().or(mod.string().array().nonempty().optional()),
3702
- name: mod.string().optional(),
3703
- url: mod.string().optional(),
3704
- phone: mod.string().optional(),
3705
- description: mod.string().optional(),
3706
- endorsement: mod.any().array().optional(),
3707
- image: ImageValidator.optional(),
3708
- email: mod.string().email().optional(),
3709
- address: AddressValidator.optional(),
3710
- otherIdentifier: IdentifierEntryValidator.array().optional(),
3711
- official: mod.string().optional(),
3712
- parentOrg: mod.any().optional(),
3713
- familyName: mod.string().optional(),
3714
- givenName: mod.string().optional(),
3715
- additionalName: mod.string().optional(),
3716
- patronymicName: mod.string().optional(),
3717
- honorificPrefix: mod.string().optional(),
3718
- honorificSuffix: mod.string().optional(),
3719
- familyNamePrefix: mod.string().optional(),
3720
- dateOfBirth: mod.string().optional()
3721
- }).catchall(mod.any())
3722
- );
3555
+ var ProfileValidator = mod.string().or(mod.object({
3556
+ id: mod.string().optional(),
3557
+ type: mod.string().or(mod.string().array().nonempty().optional()),
3558
+ name: mod.string().optional(),
3559
+ url: mod.string().optional(),
3560
+ phone: mod.string().optional(),
3561
+ description: mod.string().optional(),
3562
+ endorsement: mod.any().array().optional(),
3563
+ image: ImageValidator.optional(),
3564
+ email: mod.string().email().optional(),
3565
+ address: AddressValidator.optional(),
3566
+ otherIdentifier: IdentifierEntryValidator.array().optional(),
3567
+ official: mod.string().optional(),
3568
+ parentOrg: mod.any().optional(),
3569
+ familyName: mod.string().optional(),
3570
+ givenName: mod.string().optional(),
3571
+ additionalName: mod.string().optional(),
3572
+ patronymicName: mod.string().optional(),
3573
+ honorificPrefix: mod.string().optional(),
3574
+ honorificSuffix: mod.string().optional(),
3575
+ familyNamePrefix: mod.string().optional(),
3576
+ dateOfBirth: mod.string().optional()
3577
+ }).catchall(mod.any()));
3723
3578
  var CredentialSubjectValidator = mod.object({ id: mod.string().optional() }).catchall(mod.any());
3724
3579
  var CredentialStatusValidator = mod.object({ type: mod.string(), id: mod.string() });
3725
3580
  var CredentialSchemaValidator = mod.object({ id: mod.string(), type: mod.string() });
@@ -4095,4 +3950,4 @@ mod.object({
4095
3950
  });
4096
3951
 
4097
3952
  exports.VerificationStatusEnum = VerificationStatusEnum;
4098
- //# sourceMappingURL=types.esm-e38e568c.js.map
3953
+ //# sourceMappingURL=types.esm-8d2141ba.js.map