@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
@@ -472,7 +472,7 @@ const OK = (value) => ({ status: "valid", value });
472
472
  const isAborted = (x) => x.status === "aborted";
473
473
  const isDirty = (x) => x.status === "dirty";
474
474
  const isValid = (x) => x.status === "valid";
475
- const isAsync = (x) => typeof Promise !== "undefined" && x instanceof Promise;
475
+ const isAsync = (x) => typeof Promise !== undefined && x instanceof Promise;
476
476
 
477
477
  var errorUtil;
478
478
  (function (errorUtil) {
@@ -701,29 +701,28 @@ class ZodType {
701
701
  return this._refinement(refinement);
702
702
  }
703
703
  optional() {
704
- return ZodOptional.create(this, this._def);
704
+ return ZodOptional.create(this);
705
705
  }
706
706
  nullable() {
707
- return ZodNullable.create(this, this._def);
707
+ return ZodNullable.create(this);
708
708
  }
709
709
  nullish() {
710
- return this.nullable().optional();
710
+ return this.optional().nullable();
711
711
  }
712
712
  array() {
713
- return ZodArray.create(this, this._def);
713
+ return ZodArray.create(this);
714
714
  }
715
715
  promise() {
716
- return ZodPromise.create(this, this._def);
716
+ return ZodPromise.create(this);
717
717
  }
718
718
  or(option) {
719
- return ZodUnion.create([this, option], this._def);
719
+ return ZodUnion.create([this, option]);
720
720
  }
721
721
  and(incoming) {
722
- return ZodIntersection.create(this, incoming, this._def);
722
+ return ZodIntersection.create(this, incoming);
723
723
  }
724
724
  transform(transform) {
725
725
  return new ZodEffects({
726
- ...processCreateParams(this._def),
727
726
  schema: this,
728
727
  typeName: ZodFirstPartyTypeKind.ZodEffects,
729
728
  effect: { type: "transform", transform },
@@ -732,7 +731,6 @@ class ZodType {
732
731
  default(def) {
733
732
  const defaultValueFunc = typeof def === "function" ? def : () => def;
734
733
  return new ZodDefault({
735
- ...processCreateParams(this._def),
736
734
  innerType: this,
737
735
  defaultValue: defaultValueFunc,
738
736
  typeName: ZodFirstPartyTypeKind.ZodDefault,
@@ -742,15 +740,14 @@ class ZodType {
742
740
  return new ZodBranded({
743
741
  typeName: ZodFirstPartyTypeKind.ZodBranded,
744
742
  type: this,
745
- ...processCreateParams(this._def),
743
+ ...processCreateParams(undefined),
746
744
  });
747
745
  }
748
746
  catch(def) {
749
- const catchValueFunc = typeof def === "function" ? def : () => def;
747
+ const defaultValueFunc = typeof def === "function" ? def : () => def;
750
748
  return new ZodCatch({
751
- ...processCreateParams(this._def),
752
749
  innerType: this,
753
- catchValue: catchValueFunc,
750
+ defaultValue: defaultValueFunc,
754
751
  typeName: ZodFirstPartyTypeKind.ZodCatch,
755
752
  });
756
753
  }
@@ -772,15 +769,12 @@ class ZodType {
772
769
  }
773
770
  }
774
771
  const cuidRegex = /^c[^\s-]{8,}$/i;
775
- const cuid2Regex = /^[a-z][a-z0-9]*$/;
776
772
  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;
777
773
  // from https://stackoverflow.com/a/46181/1550155
778
774
  // old version: too slow, didn't support unicode
779
775
  // 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;
780
- //old email regex
781
- // const emailRegex = /^(([^<>()[\].,;:\s@"]+(\.[^<>()[\].,;:\s@"]+)*)|(".+"))@((?!-)([^<>()[\].,;:\s@"]+\.)+[^<>()[\].,;:\s@"]{1,})[^-<>()[\].,;:\s@"]$/i;
782
776
  // eslint-disable-next-line
783
- 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,}))$/;
777
+ const emailRegex = /^(([^<>()[\]\.,;:\s@\"]+(\.[^<>()[\]\.,;:\s@\"]+)*)|(\".+\"))@(([^<>()[\]\.,;:\s@\"]+\.)+[^<>()[\]\.,;:\s@\"]{2,})$/i;
784
778
  // interface IsDateStringOptions extends StringDateOptions {
785
779
  /**
786
780
  * Match any configuration
@@ -791,7 +785,7 @@ const emailRegex = /^(([^<>()[\]\\.,;:\s@\"]+(\.[^<>()[\]\\.,;:\s@\"]+)*)|(\".+\
791
785
  const datetimeRegex = (args) => {
792
786
  if (args.precision) {
793
787
  if (args.offset) {
794
- return new RegExp(`^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{${args.precision}}(([+-]\\d{2}(:?\\d{2})?)|Z)$`);
788
+ return new RegExp(`^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{${args.precision}}(([+-]\\d{2}:\\d{2})|Z)$`);
795
789
  }
796
790
  else {
797
791
  return new RegExp(`^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{${args.precision}}Z$`);
@@ -799,7 +793,7 @@ const datetimeRegex = (args) => {
799
793
  }
800
794
  else if (args.precision === 0) {
801
795
  if (args.offset) {
802
- return new RegExp(`^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(([+-]\\d{2}(:?\\d{2})?)|Z)$`);
796
+ return new RegExp(`^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(([+-]\\d{2}:\\d{2})|Z)$`);
803
797
  }
804
798
  else {
805
799
  return new RegExp(`^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}Z$`);
@@ -807,7 +801,7 @@ const datetimeRegex = (args) => {
807
801
  }
808
802
  else {
809
803
  if (args.offset) {
810
- return new RegExp(`^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?(([+-]\\d{2}(:?\\d{2})?)|Z)$`);
804
+ return new RegExp(`^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?(([+-]\\d{2}:\\d{2})|Z)$`);
811
805
  }
812
806
  else {
813
807
  return new RegExp(`^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?Z$`);
@@ -940,17 +934,6 @@ class ZodString extends ZodType {
940
934
  status.dirty();
941
935
  }
942
936
  }
943
- else if (check.kind === "cuid2") {
944
- if (!cuid2Regex.test(input.data)) {
945
- ctx = this._getOrReturnCtx(input, ctx);
946
- addIssueToContext(ctx, {
947
- validation: "cuid2",
948
- code: ZodIssueCode.invalid_string,
949
- message: check.message,
950
- });
951
- status.dirty();
952
- }
953
- }
954
937
  else if (check.kind === "url") {
955
938
  try {
956
939
  new URL(input.data);
@@ -1039,9 +1022,6 @@ class ZodString extends ZodType {
1039
1022
  cuid(message) {
1040
1023
  return this._addCheck({ kind: "cuid", ...errorUtil.errToObj(message) });
1041
1024
  }
1042
- cuid2(message) {
1043
- return this._addCheck({ kind: "cuid2", ...errorUtil.errToObj(message) });
1044
- }
1045
1025
  datetime(options) {
1046
1026
  var _a;
1047
1027
  if (typeof options === "string") {
@@ -1116,9 +1096,6 @@ class ZodString extends ZodType {
1116
1096
  get isCUID() {
1117
1097
  return !!this._def.checks.find((ch) => ch.kind === "cuid");
1118
1098
  }
1119
- get isCUID2() {
1120
- return !!this._def.checks.find((ch) => ch.kind === "cuid2");
1121
- }
1122
1099
  get minLength() {
1123
1100
  let min = null;
1124
1101
  for (const ch of this._def.checks) {
@@ -1359,27 +1336,7 @@ class ZodNumber extends ZodType {
1359
1336
  return max;
1360
1337
  }
1361
1338
  get isInt() {
1362
- return !!this._def.checks.find((ch) => ch.kind === "int" ||
1363
- (ch.kind === "multipleOf" && util.isInteger(ch.value)));
1364
- }
1365
- get isFinite() {
1366
- let max = null, min = null;
1367
- for (const ch of this._def.checks) {
1368
- if (ch.kind === "finite" ||
1369
- ch.kind === "int" ||
1370
- ch.kind === "multipleOf") {
1371
- return true;
1372
- }
1373
- else if (ch.kind === "min") {
1374
- if (min === null || ch.value > min)
1375
- min = ch.value;
1376
- }
1377
- else if (ch.kind === "max") {
1378
- if (max === null || ch.value < max)
1379
- max = ch.value;
1380
- }
1381
- }
1382
- return Number.isFinite(min) && Number.isFinite(max);
1339
+ return !!this._def.checks.find((ch) => ch.kind === "int");
1383
1340
  }
1384
1341
  }
1385
1342
  ZodNumber.create = (params) => {
@@ -1740,13 +1697,13 @@ class ZodArray extends ZodType {
1740
1697
  }
1741
1698
  }
1742
1699
  if (ctx.common.async) {
1743
- return Promise.all([...ctx.data].map((item, i) => {
1700
+ return Promise.all(ctx.data.map((item, i) => {
1744
1701
  return def.type._parseAsync(new ParseInputLazyPath(ctx, item, ctx.path, i));
1745
1702
  })).then((result) => {
1746
1703
  return ParseStatus.mergeArray(status, result);
1747
1704
  });
1748
1705
  }
1749
- const result = [...ctx.data].map((item, i) => {
1706
+ const result = ctx.data.map((item, i) => {
1750
1707
  return def.type._parseSync(new ParseInputLazyPath(ctx, item, ctx.path, i));
1751
1708
  });
1752
1709
  return ParseStatus.mergeArray(status, result);
@@ -1802,6 +1759,15 @@ var objectUtil;
1802
1759
  };
1803
1760
  };
1804
1761
  })(objectUtil || (objectUtil = {}));
1762
+ const AugmentFactory = (def) => (augmentation) => {
1763
+ return new ZodObject({
1764
+ ...def,
1765
+ shape: () => ({
1766
+ ...def.shape(),
1767
+ ...augmentation,
1768
+ }),
1769
+ });
1770
+ };
1805
1771
  function deepPartialify(schema) {
1806
1772
  if (schema instanceof ZodObject) {
1807
1773
  const newShape = {};
@@ -1839,43 +1805,8 @@ class ZodObject extends ZodType {
1839
1805
  * If you want to pass through unknown properties, use `.passthrough()` instead.
1840
1806
  */
1841
1807
  this.nonstrict = this.passthrough;
1842
- // extend<
1843
- // Augmentation extends ZodRawShape,
1844
- // NewOutput extends util.flatten<{
1845
- // [k in keyof Augmentation | keyof Output]: k extends keyof Augmentation
1846
- // ? Augmentation[k]["_output"]
1847
- // : k extends keyof Output
1848
- // ? Output[k]
1849
- // : never;
1850
- // }>,
1851
- // NewInput extends util.flatten<{
1852
- // [k in keyof Augmentation | keyof Input]: k extends keyof Augmentation
1853
- // ? Augmentation[k]["_input"]
1854
- // : k extends keyof Input
1855
- // ? Input[k]
1856
- // : never;
1857
- // }>
1858
- // >(
1859
- // augmentation: Augmentation
1860
- // ): ZodObject<
1861
- // extendShape<T, Augmentation>,
1862
- // UnknownKeys,
1863
- // Catchall,
1864
- // NewOutput,
1865
- // NewInput
1866
- // > {
1867
- // return new ZodObject({
1868
- // ...this._def,
1869
- // shape: () => ({
1870
- // ...this._def.shape(),
1871
- // ...augmentation,
1872
- // }),
1873
- // }) as any;
1874
- // }
1875
- /**
1876
- * @deprecated Use `.extend` instead
1877
- * */
1878
- this.augment = this.extend;
1808
+ this.augment = AugmentFactory(this._def);
1809
+ this.extend = AugmentFactory(this._def);
1879
1810
  }
1880
1811
  _getCached() {
1881
1812
  if (this._cached !== null)
@@ -2012,31 +1943,8 @@ class ZodObject extends ZodType {
2012
1943
  unknownKeys: "passthrough",
2013
1944
  });
2014
1945
  }
2015
- // const AugmentFactory =
2016
- // <Def extends ZodObjectDef>(def: Def) =>
2017
- // <Augmentation extends ZodRawShape>(
2018
- // augmentation: Augmentation
2019
- // ): ZodObject<
2020
- // extendShape<ReturnType<Def["shape"]>, Augmentation>,
2021
- // Def["unknownKeys"],
2022
- // Def["catchall"]
2023
- // > => {
2024
- // return new ZodObject({
2025
- // ...def,
2026
- // shape: () => ({
2027
- // ...def.shape(),
2028
- // ...augmentation,
2029
- // }),
2030
- // }) as any;
2031
- // };
2032
- extend(augmentation) {
2033
- return new ZodObject({
2034
- ...this._def,
2035
- shape: () => ({
2036
- ...this._def.shape(),
2037
- ...augmentation,
2038
- }),
2039
- });
1946
+ setKey(key, schema) {
1947
+ return this.augment({ [key]: schema });
2040
1948
  }
2041
1949
  /**
2042
1950
  * Prior to zod@1.0.12 there was a bug in the
@@ -2044,6 +1952,10 @@ class ZodObject extends ZodType {
2044
1952
  * upgrade if you are experiencing issues.
2045
1953
  */
2046
1954
  merge(merging) {
1955
+ // const mergedShape = objectUtil.mergeShapes(
1956
+ // this._def.shape(),
1957
+ // merging._def.shape()
1958
+ // );
2047
1959
  const merged = new ZodObject({
2048
1960
  unknownKeys: merging._def.unknownKeys,
2049
1961
  catchall: merging._def.catchall,
@@ -2052,65 +1964,6 @@ class ZodObject extends ZodType {
2052
1964
  });
2053
1965
  return merged;
2054
1966
  }
2055
- // merge<
2056
- // Incoming extends AnyZodObject,
2057
- // Augmentation extends Incoming["shape"],
2058
- // NewOutput extends {
2059
- // [k in keyof Augmentation | keyof Output]: k extends keyof Augmentation
2060
- // ? Augmentation[k]["_output"]
2061
- // : k extends keyof Output
2062
- // ? Output[k]
2063
- // : never;
2064
- // },
2065
- // NewInput extends {
2066
- // [k in keyof Augmentation | keyof Input]: k extends keyof Augmentation
2067
- // ? Augmentation[k]["_input"]
2068
- // : k extends keyof Input
2069
- // ? Input[k]
2070
- // : never;
2071
- // }
2072
- // >(
2073
- // merging: Incoming
2074
- // ): ZodObject<
2075
- // extendShape<T, ReturnType<Incoming["_def"]["shape"]>>,
2076
- // Incoming["_def"]["unknownKeys"],
2077
- // Incoming["_def"]["catchall"],
2078
- // NewOutput,
2079
- // NewInput
2080
- // > {
2081
- // const merged: any = new ZodObject({
2082
- // unknownKeys: merging._def.unknownKeys,
2083
- // catchall: merging._def.catchall,
2084
- // shape: () =>
2085
- // objectUtil.mergeShapes(this._def.shape(), merging._def.shape()),
2086
- // typeName: ZodFirstPartyTypeKind.ZodObject,
2087
- // }) as any;
2088
- // return merged;
2089
- // }
2090
- setKey(key, schema) {
2091
- return this.augment({ [key]: schema });
2092
- }
2093
- // merge<Incoming extends AnyZodObject>(
2094
- // merging: Incoming
2095
- // ): //ZodObject<T & Incoming["_shape"], UnknownKeys, Catchall> = (merging) => {
2096
- // ZodObject<
2097
- // extendShape<T, ReturnType<Incoming["_def"]["shape"]>>,
2098
- // Incoming["_def"]["unknownKeys"],
2099
- // Incoming["_def"]["catchall"]
2100
- // > {
2101
- // // const mergedShape = objectUtil.mergeShapes(
2102
- // // this._def.shape(),
2103
- // // merging._def.shape()
2104
- // // );
2105
- // const merged: any = new ZodObject({
2106
- // unknownKeys: merging._def.unknownKeys,
2107
- // catchall: merging._def.catchall,
2108
- // shape: () =>
2109
- // objectUtil.mergeShapes(this._def.shape(), merging._def.shape()),
2110
- // typeName: ZodFirstPartyTypeKind.ZodObject,
2111
- // }) as any;
2112
- // return merged;
2113
- // }
2114
1967
  catchall(index) {
2115
1968
  return new ZodObject({
2116
1969
  ...this._def,
@@ -2119,10 +1972,10 @@ class ZodObject extends ZodType {
2119
1972
  }
2120
1973
  pick(mask) {
2121
1974
  const shape = {};
2122
- util.objectKeys(mask).forEach((key) => {
2123
- if (mask[key] && this.shape[key]) {
1975
+ util.objectKeys(mask).map((key) => {
1976
+ // only add to shape if key corresponds to an element of the current shape
1977
+ if (this.shape[key])
2124
1978
  shape[key] = this.shape[key];
2125
- }
2126
1979
  });
2127
1980
  return new ZodObject({
2128
1981
  ...this._def,
@@ -2131,8 +1984,8 @@ class ZodObject extends ZodType {
2131
1984
  }
2132
1985
  omit(mask) {
2133
1986
  const shape = {};
2134
- util.objectKeys(this.shape).forEach((key) => {
2135
- if (!mask[key]) {
1987
+ util.objectKeys(this.shape).map((key) => {
1988
+ if (util.objectKeys(mask).indexOf(key) === -1) {
2136
1989
  shape[key] = this.shape[key];
2137
1990
  }
2138
1991
  });
@@ -2146,15 +1999,26 @@ class ZodObject extends ZodType {
2146
1999
  }
2147
2000
  partial(mask) {
2148
2001
  const newShape = {};
2149
- util.objectKeys(this.shape).forEach((key) => {
2150
- const fieldSchema = this.shape[key];
2151
- if (mask && !mask[key]) {
2152
- newShape[key] = fieldSchema;
2153
- }
2154
- else {
2002
+ if (mask) {
2003
+ util.objectKeys(this.shape).map((key) => {
2004
+ if (util.objectKeys(mask).indexOf(key) === -1) {
2005
+ newShape[key] = this.shape[key];
2006
+ }
2007
+ else {
2008
+ newShape[key] = this.shape[key].optional();
2009
+ }
2010
+ });
2011
+ return new ZodObject({
2012
+ ...this._def,
2013
+ shape: () => newShape,
2014
+ });
2015
+ }
2016
+ else {
2017
+ for (const key in this.shape) {
2018
+ const fieldSchema = this.shape[key];
2155
2019
  newShape[key] = fieldSchema.optional();
2156
2020
  }
2157
- });
2021
+ }
2158
2022
  return new ZodObject({
2159
2023
  ...this._def,
2160
2024
  shape: () => newShape,
@@ -2162,11 +2026,23 @@ class ZodObject extends ZodType {
2162
2026
  }
2163
2027
  required(mask) {
2164
2028
  const newShape = {};
2165
- util.objectKeys(this.shape).forEach((key) => {
2166
- if (mask && !mask[key]) {
2167
- newShape[key] = this.shape[key];
2168
- }
2169
- else {
2029
+ if (mask) {
2030
+ util.objectKeys(this.shape).map((key) => {
2031
+ if (util.objectKeys(mask).indexOf(key) === -1) {
2032
+ newShape[key] = this.shape[key];
2033
+ }
2034
+ else {
2035
+ const fieldSchema = this.shape[key];
2036
+ let newField = fieldSchema;
2037
+ while (newField instanceof ZodOptional) {
2038
+ newField = newField._def.innerType;
2039
+ }
2040
+ newShape[key] = newField;
2041
+ }
2042
+ });
2043
+ }
2044
+ else {
2045
+ for (const key in this.shape) {
2170
2046
  const fieldSchema = this.shape[key];
2171
2047
  let newField = fieldSchema;
2172
2048
  while (newField instanceof ZodOptional) {
@@ -2174,7 +2050,7 @@ class ZodObject extends ZodType {
2174
2050
  }
2175
2051
  newShape[key] = newField;
2176
2052
  }
2177
- });
2053
+ }
2178
2054
  return new ZodObject({
2179
2055
  ...this._def,
2180
2056
  shape: () => newShape,
@@ -2555,7 +2431,7 @@ class ZodTuple extends ZodType {
2555
2431
  });
2556
2432
  status.dirty();
2557
2433
  }
2558
- const items = [...ctx.data]
2434
+ const items = ctx.data
2559
2435
  .map((item, itemIndex) => {
2560
2436
  const schema = this._def.items[itemIndex] || this._def.rest;
2561
2437
  if (!schema)
@@ -2935,7 +2811,6 @@ class ZodLiteral extends ZodType {
2935
2811
  if (input.data !== this._def.value) {
2936
2812
  const ctx = this._getOrReturnCtx(input);
2937
2813
  addIssueToContext(ctx, {
2938
- received: ctx.data,
2939
2814
  code: ZodIssueCode.invalid_literal,
2940
2815
  expected: this._def.value,
2941
2816
  });
@@ -3009,12 +2884,6 @@ class ZodEnum extends ZodType {
3009
2884
  }
3010
2885
  return enumValues;
3011
2886
  }
3012
- extract(values) {
3013
- return ZodEnum.create(values);
3014
- }
3015
- exclude(values) {
3016
- return ZodEnum.create(this.options.filter((opt) => !values.includes(opt)));
3017
- }
3018
2887
  }
3019
2888
  ZodEnum.create = createZodEnum;
3020
2889
  class ZodNativeEnum extends ZodType {
@@ -3054,9 +2923,6 @@ ZodNativeEnum.create = (values, params) => {
3054
2923
  });
3055
2924
  };
3056
2925
  class ZodPromise extends ZodType {
3057
- unwrap() {
3058
- return this._def.type;
3059
- }
3060
2926
  _parse(input) {
3061
2927
  const { ctx } = this._processInputParams(input);
3062
2928
  if (ctx.parsedType !== ZodParsedType.promise &&
@@ -3296,30 +3162,24 @@ class ZodCatch extends ZodType {
3296
3162
  const result = this._def.innerType._parse({
3297
3163
  data: ctx.data,
3298
3164
  path: ctx.path,
3299
- parent: {
3300
- ...ctx,
3301
- common: {
3302
- ...ctx.common,
3303
- issues: [], // don't collect issues from inner type
3304
- },
3305
- },
3165
+ parent: ctx,
3306
3166
  });
3307
3167
  if (isAsync(result)) {
3308
3168
  return result.then((result) => {
3309
3169
  return {
3310
3170
  status: "valid",
3311
- value: result.status === "valid" ? result.value : this._def.catchValue(),
3171
+ value: result.status === "valid" ? result.value : this._def.defaultValue(),
3312
3172
  };
3313
3173
  });
3314
3174
  }
3315
3175
  else {
3316
3176
  return {
3317
3177
  status: "valid",
3318
- value: result.status === "valid" ? result.value : this._def.catchValue(),
3178
+ value: result.status === "valid" ? result.value : this._def.defaultValue(),
3319
3179
  };
3320
3180
  }
3321
3181
  }
3322
- removeCatch() {
3182
+ removeDefault() {
3323
3183
  return this._def.innerType;
3324
3184
  }
3325
3185
  }
@@ -3327,7 +3187,9 @@ ZodCatch.create = (type, params) => {
3327
3187
  return new ZodCatch({
3328
3188
  innerType: type,
3329
3189
  typeName: ZodFirstPartyTypeKind.ZodCatch,
3330
- catchValue: typeof params.catch === "function" ? params.catch : () => params.catch,
3190
+ defaultValue: typeof params.default === "function"
3191
+ ? params.default
3192
+ : () => params.default,
3331
3193
  ...processCreateParams(params),
3332
3194
  });
3333
3195
  };
@@ -3522,10 +3384,7 @@ const oboolean = () => booleanType().optional();
3522
3384
  const coerce = {
3523
3385
  string: ((arg) => ZodString.create({ ...arg, coerce: true })),
3524
3386
  number: ((arg) => ZodNumber.create({ ...arg, coerce: true })),
3525
- boolean: ((arg) => ZodBoolean.create({
3526
- ...arg,
3527
- coerce: true,
3528
- })),
3387
+ boolean: ((arg) => ZodBoolean.create({ ...arg, coerce: true })),
3529
3388
  bigint: ((arg) => ZodBigInt.create({ ...arg, coerce: true })),
3530
3389
  date: ((arg) => ZodDate.create({ ...arg, coerce: true })),
3531
3390
  };
@@ -3645,13 +3504,11 @@ mod.object({
3645
3504
  type: mod.string().optional(),
3646
3505
  narrative: mod.string().optional()
3647
3506
  });
3648
- var ImageValidator = mod.string().or(
3649
- mod.object({
3650
- id: mod.string(),
3651
- type: mod.string(),
3652
- caption: mod.string().optional()
3653
- })
3654
- );
3507
+ var ImageValidator = mod.string().or(mod.object({
3508
+ id: mod.string(),
3509
+ type: mod.string(),
3510
+ caption: mod.string().optional()
3511
+ }));
3655
3512
  var GeoCoordinatesValidator = mod.object({
3656
3513
  type: mod.string().min(1).or(mod.string().array().nonempty()),
3657
3514
  latitude: mod.number(),
@@ -3693,31 +3550,29 @@ var IdentifierEntryValidator = mod.object({
3693
3550
  identifier: mod.string(),
3694
3551
  identifierType: IdentifierTypeValidator
3695
3552
  });
3696
- var ProfileValidator = mod.string().or(
3697
- mod.object({
3698
- id: mod.string().optional(),
3699
- type: mod.string().or(mod.string().array().nonempty().optional()),
3700
- name: mod.string().optional(),
3701
- url: mod.string().optional(),
3702
- phone: mod.string().optional(),
3703
- description: mod.string().optional(),
3704
- endorsement: mod.any().array().optional(),
3705
- image: ImageValidator.optional(),
3706
- email: mod.string().email().optional(),
3707
- address: AddressValidator.optional(),
3708
- otherIdentifier: IdentifierEntryValidator.array().optional(),
3709
- official: mod.string().optional(),
3710
- parentOrg: mod.any().optional(),
3711
- familyName: mod.string().optional(),
3712
- givenName: mod.string().optional(),
3713
- additionalName: mod.string().optional(),
3714
- patronymicName: mod.string().optional(),
3715
- honorificPrefix: mod.string().optional(),
3716
- honorificSuffix: mod.string().optional(),
3717
- familyNamePrefix: mod.string().optional(),
3718
- dateOfBirth: mod.string().optional()
3719
- }).catchall(mod.any())
3720
- );
3553
+ var ProfileValidator = mod.string().or(mod.object({
3554
+ id: mod.string().optional(),
3555
+ type: mod.string().or(mod.string().array().nonempty().optional()),
3556
+ name: mod.string().optional(),
3557
+ url: mod.string().optional(),
3558
+ phone: mod.string().optional(),
3559
+ description: mod.string().optional(),
3560
+ endorsement: mod.any().array().optional(),
3561
+ image: ImageValidator.optional(),
3562
+ email: mod.string().email().optional(),
3563
+ address: AddressValidator.optional(),
3564
+ otherIdentifier: IdentifierEntryValidator.array().optional(),
3565
+ official: mod.string().optional(),
3566
+ parentOrg: mod.any().optional(),
3567
+ familyName: mod.string().optional(),
3568
+ givenName: mod.string().optional(),
3569
+ additionalName: mod.string().optional(),
3570
+ patronymicName: mod.string().optional(),
3571
+ honorificPrefix: mod.string().optional(),
3572
+ honorificSuffix: mod.string().optional(),
3573
+ familyNamePrefix: mod.string().optional(),
3574
+ dateOfBirth: mod.string().optional()
3575
+ }).catchall(mod.any()));
3721
3576
  var CredentialSubjectValidator = mod.object({ id: mod.string().optional() }).catchall(mod.any());
3722
3577
  var CredentialStatusValidator = mod.object({ type: mod.string(), id: mod.string() });
3723
3578
  var CredentialSchemaValidator = mod.object({ id: mod.string(), type: mod.string() });
@@ -4093,4 +3948,4 @@ mod.object({
4093
3948
  });
4094
3949
 
4095
3950
  export { VerificationStatusEnum as V };
4096
- //# sourceMappingURL=types.esm-d135a91a.js.map
3951
+ //# sourceMappingURL=types.esm-ee3ac019.js.map