@verdocs/web-sdk 6.9.13 → 6.10.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 (262) hide show
  1. package/dist/cjs/verdocs-adopt-signature-dialog_7.cjs.entry.js +2 -2
  2. package/dist/cjs/verdocs-auth.cjs.entry.js +0 -1
  3. package/dist/cjs/verdocs-auth.cjs.entry.js.map +1 -1
  4. package/dist/cjs/verdocs-contact-picker.cjs.entry.js +422 -115
  5. package/dist/cjs/verdocs-contact-picker.cjs.entry.js.map +1 -1
  6. package/dist/cjs/verdocs-download-dialog_4.cjs.entry.js +6 -6
  7. package/dist/cjs/verdocs-download-dialog_4.cjs.entry.js.map +1 -1
  8. package/dist/cjs/verdocs-envelopes-list.cjs.entry.js +6 -6
  9. package/dist/cjs/verdocs-field-attachment_11.cjs.entry.js +1 -1
  10. package/dist/cjs/verdocs-initial-dialog.cjs.entry.js +1 -1
  11. package/dist/cjs/verdocs-menu-panel_2.cjs.entry.js +7 -7
  12. package/dist/cjs/verdocs-ok-dialog.cjs.entry.js +1 -1
  13. package/dist/cjs/verdocs-preview_6.cjs.entry.js +0 -1
  14. package/dist/cjs/verdocs-preview_6.cjs.entry.js.map +1 -1
  15. package/dist/cjs/verdocs-quick-functions.cjs.entry.js +1 -1
  16. package/dist/cjs/verdocs-search-tabs.cjs.entry.js +1 -1
  17. package/dist/cjs/verdocs-sign.cjs.entry.js +75 -20
  18. package/dist/cjs/verdocs-sign.cjs.entry.js.map +1 -1
  19. package/dist/cjs/verdocs-signature-dialog.cjs.entry.js +1 -1
  20. package/dist/cjs/verdocs-status-indicator.cjs.entry.js +2 -2
  21. package/dist/cjs/verdocs-template-card.cjs.entry.js +1 -1
  22. package/dist/cjs/verdocs-template-star.cjs.entry.js +1 -1
  23. package/dist/cjs/verdocs-template-tags.cjs.entry.js +1 -1
  24. package/dist/collection/components/dialogs/verdocs-download-dialog/verdocs-download-dialog.js +3 -3
  25. package/dist/collection/components/dialogs/verdocs-download-dialog/verdocs-download-dialog.js.map +1 -1
  26. package/dist/collection/components/dialogs/verdocs-initial-dialog/verdocs-initial-dialog.js +1 -1
  27. package/dist/collection/components/dialogs/verdocs-ok-dialog/verdocs-ok-dialog.js +1 -1
  28. package/dist/collection/components/dialogs/verdocs-otp-dialog/verdocs-otp-dialog.js +1 -1
  29. package/dist/collection/components/dialogs/verdocs-passcode-dialog/verdocs-passcode-dialog.js +1 -1
  30. package/dist/collection/components/dialogs/verdocs-question-dialog/verdocs-question-dialog.js +1 -1
  31. package/dist/collection/components/dialogs/verdocs-signature-dialog/verdocs-signature-dialog.js +1 -1
  32. package/dist/collection/components/dialogs/verdocs-upload-dialog/verdocs-upload-dialog.js +1 -1
  33. package/dist/collection/components/elements/verdocs-quick-functions/verdocs-quick-functions.js +1 -1
  34. package/dist/collection/components/elements/verdocs-search-tabs/verdocs-search-tabs.js +1 -1
  35. package/dist/collection/components/embeds/verdocs-auth/verdocs-auth.js +0 -1
  36. package/dist/collection/components/embeds/verdocs-auth/verdocs-auth.js.map +1 -1
  37. package/dist/collection/components/embeds/verdocs-send/verdocs-send.js +0 -1
  38. package/dist/collection/components/embeds/verdocs-send/verdocs-send.js.map +1 -1
  39. package/dist/collection/components/embeds/verdocs-sign/verdocs-sign.js +75 -20
  40. package/dist/collection/components/embeds/verdocs-sign/verdocs-sign.js.map +1 -1
  41. package/dist/collection/components/envelopes/verdocs-envelope-document-page/verdocs-envelope-document-page.js +1 -1
  42. package/dist/collection/components/envelopes/verdocs-envelopes-list/verdocs-envelopes-list.js +6 -6
  43. package/dist/collection/components/envelopes/verdocs-sign-footer/verdocs-sign-footer.js +1 -1
  44. package/dist/collection/components/envelopes/verdocs-status-indicator/verdocs-status-indicator.js +2 -2
  45. package/dist/collection/components/templates/verdocs-template-card/verdocs-template-card.js +1 -1
  46. package/dist/collection/components/templates/verdocs-template-role-properties/verdocs-template-role-properties.js +7 -7
  47. package/dist/collection/components/templates/verdocs-template-star/verdocs-template-star.js +1 -1
  48. package/dist/collection/components/templates/verdocs-template-tags/verdocs-template-tags.js +1 -1
  49. package/dist/components/{p-DSK9z7EN.js → p-BT8wzCXz.js} +2 -2
  50. package/dist/components/{p-CGt7KiUu.js → p-BvtSJusb.js} +2 -2
  51. package/dist/components/{p-BIc5CIpg.js → p-BxOEoXie.js} +2 -2
  52. package/dist/components/{p-DClinO5r.js → p-C-V6jrel.js} +2 -2
  53. package/dist/components/{p-Bkae9I4G.js → p-CBKrl6B7.js} +2 -2
  54. package/dist/components/{p-qDQgyl7L.js → p-CDMCVJys.js} +2 -2
  55. package/dist/components/{p-sPseFic3.js → p-CFEw4Xbi.js} +2 -2
  56. package/dist/components/p-CPYFXW2q.js +3 -0
  57. package/dist/components/p-CPYFXW2q.js.map +1 -0
  58. package/dist/components/{p-DGws2Zgt.js → p-CnoHN1S8.js} +2 -2
  59. package/dist/components/{p-DGws2Zgt.js.map → p-CnoHN1S8.js.map} +1 -1
  60. package/dist/components/{p-BwUTiBud.js → p-D3qUITiS.js} +2 -2
  61. package/dist/components/{p-DyhyfLyV.js → p-DIOVejyL.js} +2 -2
  62. package/dist/components/{p-DRgoGiAA.js → p-DVGumEtx.js} +2 -2
  63. package/dist/components/{p-C8r3qDBh.js → p-DfaM_cug.js} +2 -2
  64. package/dist/components/p-DfaM_cug.js.map +1 -0
  65. package/dist/components/{p-BcQsqsDy.js → p-DjOTs59Z.js} +2 -2
  66. package/dist/components/{p-CSIVZcVx.js → p-Dmw-lE3L.js} +2 -2
  67. package/dist/components/{p-CGWVITS0.js → p-DsEO0-XR.js} +2 -2
  68. package/dist/components/{p-BfKv6ivN.js → p-Dtndevf4.js} +2 -2
  69. package/dist/components/{p-db6IAGB0.js → p-Yxa93LOl.js} +2 -2
  70. package/dist/components/{p-DXbBz25U.js → p-tub_01MP.js} +2 -2
  71. package/dist/components/{p-CQUV5gMT.js → p-u16vefxk.js} +2 -2
  72. package/dist/components/verdocs-auth.js.map +1 -1
  73. package/dist/components/verdocs-build.js +1 -1
  74. package/dist/components/verdocs-contact-picker.js +1 -1
  75. package/dist/components/verdocs-download-dialog.js +1 -1
  76. package/dist/components/verdocs-envelope-document-page.js +1 -1
  77. package/dist/components/verdocs-envelope-sidebar.js +1 -1
  78. package/dist/components/verdocs-envelopes-list.js +1 -1
  79. package/dist/components/verdocs-field-attachment.js +1 -1
  80. package/dist/components/verdocs-initial-dialog.js +1 -1
  81. package/dist/components/verdocs-ok-dialog.js +1 -1
  82. package/dist/components/verdocs-otp-dialog.js +1 -1
  83. package/dist/components/verdocs-passcode-dialog.js +1 -1
  84. package/dist/components/verdocs-preview.js +1 -1
  85. package/dist/components/verdocs-question-dialog.js +1 -1
  86. package/dist/components/verdocs-quick-functions.js +1 -1
  87. package/dist/components/verdocs-search-tabs.js +1 -1
  88. package/dist/components/verdocs-send.js +1 -1
  89. package/dist/components/verdocs-sign-footer.js +1 -1
  90. package/dist/components/verdocs-sign.js +1 -1
  91. package/dist/components/verdocs-sign.js.map +1 -1
  92. package/dist/components/verdocs-signature-dialog.js +1 -1
  93. package/dist/components/verdocs-status-indicator.js +1 -1
  94. package/dist/components/verdocs-template-attachments.js +1 -1
  95. package/dist/components/verdocs-template-card.js +1 -1
  96. package/dist/components/verdocs-template-document-page.js +1 -1
  97. package/dist/components/verdocs-template-fields.js +1 -1
  98. package/dist/components/verdocs-template-role-properties.js +1 -1
  99. package/dist/components/verdocs-template-roles.js +1 -1
  100. package/dist/components/verdocs-template-star.js +1 -1
  101. package/dist/components/verdocs-template-tags.js +1 -1
  102. package/dist/components/verdocs-templates-list.js +1 -1
  103. package/dist/components/verdocs-upload-dialog.js +1 -1
  104. package/dist/components/verdocs-view.js +1 -1
  105. package/dist/esm/verdocs-adopt-signature-dialog_7.entry.js +2 -2
  106. package/dist/esm/verdocs-auth.entry.js +0 -1
  107. package/dist/esm/verdocs-auth.entry.js.map +1 -1
  108. package/dist/esm/verdocs-contact-picker.entry.js +422 -115
  109. package/dist/esm/verdocs-contact-picker.entry.js.map +1 -1
  110. package/dist/esm/verdocs-download-dialog_4.entry.js +6 -6
  111. package/dist/esm/verdocs-download-dialog_4.entry.js.map +1 -1
  112. package/dist/esm/verdocs-envelopes-list.entry.js +6 -6
  113. package/dist/esm/verdocs-field-attachment_11.entry.js +1 -1
  114. package/dist/esm/verdocs-initial-dialog.entry.js +1 -1
  115. package/dist/esm/verdocs-menu-panel_2.entry.js +7 -7
  116. package/dist/esm/verdocs-ok-dialog.entry.js +1 -1
  117. package/dist/esm/verdocs-preview_6.entry.js +0 -1
  118. package/dist/esm/verdocs-preview_6.entry.js.map +1 -1
  119. package/dist/esm/verdocs-quick-functions.entry.js +1 -1
  120. package/dist/esm/verdocs-search-tabs.entry.js +1 -1
  121. package/dist/esm/verdocs-sign.entry.js +76 -21
  122. package/dist/esm/verdocs-sign.entry.js.map +1 -1
  123. package/dist/esm/verdocs-signature-dialog.entry.js +1 -1
  124. package/dist/esm/verdocs-status-indicator.entry.js +2 -2
  125. package/dist/esm/verdocs-template-card.entry.js +1 -1
  126. package/dist/esm/verdocs-template-star.entry.js +1 -1
  127. package/dist/esm/verdocs-template-tags.entry.js +1 -1
  128. package/dist/esm-es5/verdocs-adopt-signature-dialog_7.entry.js +1 -1
  129. package/dist/esm-es5/verdocs-auth.entry.js.map +1 -1
  130. package/dist/esm-es5/verdocs-contact-picker.entry.js +2 -2
  131. package/dist/esm-es5/verdocs-contact-picker.entry.js.map +1 -1
  132. package/dist/esm-es5/verdocs-download-dialog_4.entry.js +1 -1
  133. package/dist/esm-es5/verdocs-download-dialog_4.entry.js.map +1 -1
  134. package/dist/esm-es5/verdocs-envelopes-list.entry.js +1 -1
  135. package/dist/esm-es5/verdocs-field-attachment_11.entry.js +1 -1
  136. package/dist/esm-es5/verdocs-initial-dialog.entry.js +1 -1
  137. package/dist/esm-es5/verdocs-menu-panel_2.entry.js +1 -1
  138. package/dist/esm-es5/verdocs-ok-dialog.entry.js +1 -1
  139. package/dist/esm-es5/verdocs-preview_6.entry.js.map +1 -1
  140. package/dist/esm-es5/verdocs-quick-functions.entry.js +1 -1
  141. package/dist/esm-es5/verdocs-search-tabs.entry.js +1 -1
  142. package/dist/esm-es5/verdocs-sign.entry.js +1 -1
  143. package/dist/esm-es5/verdocs-sign.entry.js.map +1 -1
  144. package/dist/esm-es5/verdocs-signature-dialog.entry.js +1 -1
  145. package/dist/esm-es5/verdocs-status-indicator.entry.js +1 -1
  146. package/dist/esm-es5/verdocs-template-card.entry.js +1 -1
  147. package/dist/esm-es5/verdocs-template-star.entry.js +1 -1
  148. package/dist/esm-es5/verdocs-template-tags.entry.js +1 -1
  149. package/dist/types/components/embeds/verdocs-sign/verdocs-sign.d.ts +5 -0
  150. package/dist/verdocs-web-sdk/{p-b1146326.system.entry.js → p-04d2fa80.system.entry.js} +2 -2
  151. package/dist/verdocs-web-sdk/p-11c3e5bb.entry.js +2 -0
  152. package/dist/verdocs-web-sdk/p-11c3e5bb.entry.js.map +1 -0
  153. package/dist/verdocs-web-sdk/{p-15a1b8b5.system.entry.js → p-16d655d4.system.entry.js} +1 -1
  154. package/dist/verdocs-web-sdk/p-16d655d4.system.entry.js.map +1 -0
  155. package/dist/verdocs-web-sdk/{p-b6390a11.system.entry.js → p-1827477d.system.entry.js} +2 -2
  156. package/dist/verdocs-web-sdk/{p-b2aa0637.system.entry.js → p-1929a794.system.entry.js} +2 -2
  157. package/dist/verdocs-web-sdk/p-1ce27c81.system.entry.js +4 -0
  158. package/dist/verdocs-web-sdk/p-1ce27c81.system.entry.js.map +1 -0
  159. package/dist/verdocs-web-sdk/{p-82d0e009.entry.js → p-1f1fc6d7.entry.js} +2 -2
  160. package/dist/verdocs-web-sdk/p-2d72560a.entry.js +2 -0
  161. package/dist/verdocs-web-sdk/p-2d72560a.entry.js.map +1 -0
  162. package/dist/verdocs-web-sdk/{p-0625e073.system.entry.js → p-2f96e7c9.system.entry.js} +2 -2
  163. package/dist/verdocs-web-sdk/p-33cfc977.system.entry.js +2 -0
  164. package/dist/verdocs-web-sdk/p-33cfc977.system.entry.js.map +1 -0
  165. package/dist/verdocs-web-sdk/{p-07a07c6b.system.entry.js → p-40f5ecf3.system.entry.js} +2 -2
  166. package/dist/verdocs-web-sdk/{p-cbfc895c.entry.js → p-421c231a.entry.js} +2 -2
  167. package/dist/verdocs-web-sdk/{p-ed5c3f2d.entry.js → p-43ee0267.entry.js} +1 -1
  168. package/dist/verdocs-web-sdk/p-43ee0267.entry.js.map +1 -0
  169. package/dist/verdocs-web-sdk/{p-36aa8081.system.entry.js → p-4798c2a5.system.entry.js} +2 -2
  170. package/dist/verdocs-web-sdk/{p-bd17bff7.system.entry.js → p-495ed75e.system.entry.js} +2 -2
  171. package/dist/verdocs-web-sdk/p-4e84a5b6.entry.js +3 -0
  172. package/dist/verdocs-web-sdk/p-4e84a5b6.entry.js.map +1 -0
  173. package/dist/verdocs-web-sdk/p-62b6402f.entry.js +2 -0
  174. package/dist/verdocs-web-sdk/{p-4d8bf603.system.entry.js → p-6754dfcf.system.entry.js} +2 -2
  175. package/dist/verdocs-web-sdk/p-682c5a5c.entry.js +2 -0
  176. package/dist/verdocs-web-sdk/{p-5678acd8.entry.js → p-810e09ca.entry.js} +2 -2
  177. package/dist/verdocs-web-sdk/{p-e207c469.entry.js → p-842c345c.entry.js} +2 -2
  178. package/dist/verdocs-web-sdk/p-BdZ5Ghsa.system.js +1 -1
  179. package/dist/verdocs-web-sdk/{p-3c9a2290.system.entry.js → p-c5b70927.system.entry.js} +2 -2
  180. package/dist/verdocs-web-sdk/{p-c3660cce.system.entry.js → p-ca03555a.system.entry.js} +2 -2
  181. package/dist/verdocs-web-sdk/{p-609527c7.entry.js → p-cfb275c5.entry.js} +2 -2
  182. package/dist/verdocs-web-sdk/{p-4934f908.entry.js → p-d09a4bb9.entry.js} +2 -2
  183. package/dist/verdocs-web-sdk/{p-ae92881f.entry.js → p-d0e8419b.entry.js} +1 -1
  184. package/dist/verdocs-web-sdk/p-d0e8419b.entry.js.map +1 -0
  185. package/dist/verdocs-web-sdk/{p-e991121e.system.entry.js → p-d3b798ae.system.entry.js} +2 -2
  186. package/dist/verdocs-web-sdk/{p-ba39a8ce.system.entry.js → p-d3d177d0.system.entry.js} +2 -2
  187. package/dist/verdocs-web-sdk/{p-98adcb3a.entry.js → p-d4f72da9.entry.js} +2 -2
  188. package/dist/verdocs-web-sdk/{p-b35a1ea8.system.entry.js → p-d60cfa3e.system.entry.js} +2 -2
  189. package/dist/verdocs-web-sdk/p-e608d2bc.system.entry.js +2 -0
  190. package/dist/verdocs-web-sdk/p-e608d2bc.system.entry.js.map +1 -0
  191. package/dist/verdocs-web-sdk/{p-c2b70cb9.entry.js → p-e632e92c.entry.js} +2 -2
  192. package/dist/verdocs-web-sdk/{p-1f898c53.entry.js → p-e95723ac.entry.js} +2 -2
  193. package/dist/verdocs-web-sdk/{p-996cc1f6.entry.js → p-ed953cca.entry.js} +2 -2
  194. package/dist/verdocs-web-sdk/{p-d5cfbdac.system.entry.js → p-edab1fed.system.entry.js} +1 -1
  195. package/dist/verdocs-web-sdk/p-edab1fed.system.entry.js.map +1 -0
  196. package/dist/verdocs-web-sdk/{p-fff5d042.entry.js → p-f97ca49e.entry.js} +2 -2
  197. package/dist/verdocs-web-sdk/verdocs-web-sdk.esm.js +1 -1
  198. package/package.json +2 -2
  199. package/dist/components/p-C8r3qDBh.js.map +0 -1
  200. package/dist/components/p-DeQsR41s.js +0 -3
  201. package/dist/components/p-DeQsR41s.js.map +0 -1
  202. package/dist/verdocs-web-sdk/p-15a1b8b5.system.entry.js.map +0 -1
  203. package/dist/verdocs-web-sdk/p-2fa4010a.system.entry.js +0 -2
  204. package/dist/verdocs-web-sdk/p-2fa4010a.system.entry.js.map +0 -1
  205. package/dist/verdocs-web-sdk/p-3a542ed0.system.entry.js +0 -4
  206. package/dist/verdocs-web-sdk/p-3a542ed0.system.entry.js.map +0 -1
  207. package/dist/verdocs-web-sdk/p-48e2baa9.entry.js +0 -2
  208. package/dist/verdocs-web-sdk/p-48e2baa9.entry.js.map +0 -1
  209. package/dist/verdocs-web-sdk/p-4fe507ee.entry.js +0 -2
  210. package/dist/verdocs-web-sdk/p-90400330.entry.js +0 -2
  211. package/dist/verdocs-web-sdk/p-ae4290c6.entry.js +0 -3
  212. package/dist/verdocs-web-sdk/p-ae4290c6.entry.js.map +0 -1
  213. package/dist/verdocs-web-sdk/p-ae92881f.entry.js.map +0 -1
  214. package/dist/verdocs-web-sdk/p-b81c87ee.system.entry.js +0 -2
  215. package/dist/verdocs-web-sdk/p-b81c87ee.system.entry.js.map +0 -1
  216. package/dist/verdocs-web-sdk/p-d5cfbdac.system.entry.js.map +0 -1
  217. package/dist/verdocs-web-sdk/p-e679a32a.entry.js +0 -2
  218. package/dist/verdocs-web-sdk/p-e679a32a.entry.js.map +0 -1
  219. package/dist/verdocs-web-sdk/p-ed5c3f2d.entry.js.map +0 -1
  220. /package/dist/components/{p-DSK9z7EN.js.map → p-BT8wzCXz.js.map} +0 -0
  221. /package/dist/components/{p-CGt7KiUu.js.map → p-BvtSJusb.js.map} +0 -0
  222. /package/dist/components/{p-BIc5CIpg.js.map → p-BxOEoXie.js.map} +0 -0
  223. /package/dist/components/{p-DClinO5r.js.map → p-C-V6jrel.js.map} +0 -0
  224. /package/dist/components/{p-Bkae9I4G.js.map → p-CBKrl6B7.js.map} +0 -0
  225. /package/dist/components/{p-qDQgyl7L.js.map → p-CDMCVJys.js.map} +0 -0
  226. /package/dist/components/{p-sPseFic3.js.map → p-CFEw4Xbi.js.map} +0 -0
  227. /package/dist/components/{p-BwUTiBud.js.map → p-D3qUITiS.js.map} +0 -0
  228. /package/dist/components/{p-DyhyfLyV.js.map → p-DIOVejyL.js.map} +0 -0
  229. /package/dist/components/{p-DRgoGiAA.js.map → p-DVGumEtx.js.map} +0 -0
  230. /package/dist/components/{p-BcQsqsDy.js.map → p-DjOTs59Z.js.map} +0 -0
  231. /package/dist/components/{p-CSIVZcVx.js.map → p-Dmw-lE3L.js.map} +0 -0
  232. /package/dist/components/{p-CGWVITS0.js.map → p-DsEO0-XR.js.map} +0 -0
  233. /package/dist/components/{p-BfKv6ivN.js.map → p-Dtndevf4.js.map} +0 -0
  234. /package/dist/components/{p-db6IAGB0.js.map → p-Yxa93LOl.js.map} +0 -0
  235. /package/dist/components/{p-DXbBz25U.js.map → p-tub_01MP.js.map} +0 -0
  236. /package/dist/components/{p-CQUV5gMT.js.map → p-u16vefxk.js.map} +0 -0
  237. /package/dist/verdocs-web-sdk/{p-b1146326.system.entry.js.map → p-04d2fa80.system.entry.js.map} +0 -0
  238. /package/dist/verdocs-web-sdk/{p-b6390a11.system.entry.js.map → p-1827477d.system.entry.js.map} +0 -0
  239. /package/dist/verdocs-web-sdk/{p-b2aa0637.system.entry.js.map → p-1929a794.system.entry.js.map} +0 -0
  240. /package/dist/verdocs-web-sdk/{p-82d0e009.entry.js.map → p-1f1fc6d7.entry.js.map} +0 -0
  241. /package/dist/verdocs-web-sdk/{p-0625e073.system.entry.js.map → p-2f96e7c9.system.entry.js.map} +0 -0
  242. /package/dist/verdocs-web-sdk/{p-07a07c6b.system.entry.js.map → p-40f5ecf3.system.entry.js.map} +0 -0
  243. /package/dist/verdocs-web-sdk/{p-cbfc895c.entry.js.map → p-421c231a.entry.js.map} +0 -0
  244. /package/dist/verdocs-web-sdk/{p-36aa8081.system.entry.js.map → p-4798c2a5.system.entry.js.map} +0 -0
  245. /package/dist/verdocs-web-sdk/{p-bd17bff7.system.entry.js.map → p-495ed75e.system.entry.js.map} +0 -0
  246. /package/dist/verdocs-web-sdk/{p-4fe507ee.entry.js.map → p-62b6402f.entry.js.map} +0 -0
  247. /package/dist/verdocs-web-sdk/{p-4d8bf603.system.entry.js.map → p-6754dfcf.system.entry.js.map} +0 -0
  248. /package/dist/verdocs-web-sdk/{p-90400330.entry.js.map → p-682c5a5c.entry.js.map} +0 -0
  249. /package/dist/verdocs-web-sdk/{p-5678acd8.entry.js.map → p-810e09ca.entry.js.map} +0 -0
  250. /package/dist/verdocs-web-sdk/{p-e207c469.entry.js.map → p-842c345c.entry.js.map} +0 -0
  251. /package/dist/verdocs-web-sdk/{p-3c9a2290.system.entry.js.map → p-c5b70927.system.entry.js.map} +0 -0
  252. /package/dist/verdocs-web-sdk/{p-c3660cce.system.entry.js.map → p-ca03555a.system.entry.js.map} +0 -0
  253. /package/dist/verdocs-web-sdk/{p-609527c7.entry.js.map → p-cfb275c5.entry.js.map} +0 -0
  254. /package/dist/verdocs-web-sdk/{p-4934f908.entry.js.map → p-d09a4bb9.entry.js.map} +0 -0
  255. /package/dist/verdocs-web-sdk/{p-e991121e.system.entry.js.map → p-d3b798ae.system.entry.js.map} +0 -0
  256. /package/dist/verdocs-web-sdk/{p-ba39a8ce.system.entry.js.map → p-d3d177d0.system.entry.js.map} +0 -0
  257. /package/dist/verdocs-web-sdk/{p-98adcb3a.entry.js.map → p-d4f72da9.entry.js.map} +0 -0
  258. /package/dist/verdocs-web-sdk/{p-b35a1ea8.system.entry.js.map → p-d60cfa3e.system.entry.js.map} +0 -0
  259. /package/dist/verdocs-web-sdk/{p-c2b70cb9.entry.js.map → p-e632e92c.entry.js.map} +0 -0
  260. /package/dist/verdocs-web-sdk/{p-1f898c53.entry.js.map → p-e95723ac.entry.js.map} +0 -0
  261. /package/dist/verdocs-web-sdk/{p-996cc1f6.entry.js.map → p-ed953cca.entry.js.map} +0 -0
  262. /package/dist/verdocs-web-sdk/{p-fff5d042.entry.js.map → p-f97ca49e.entry.js.map} +0 -0
@@ -8,7 +8,7 @@ var utils = require('./utils-BtmSHO0F.js');
8
8
  require('./index-FVA5WPhX.js');
9
9
  require('./Types-DB6U9iuZ.js');
10
10
 
11
- /*! Axios v1.17.0 Copyright (c) 2026 Matt Zabriskie and contributors */
11
+ /*! Axios v1.18.1 Copyright (c) 2026 Matt Zabriskie and contributors */
12
12
 
13
13
  var axios_1;
14
14
  var hasRequiredAxios;
@@ -36,6 +36,57 @@ function requireAxios () {
36
36
  const { getPrototypeOf } = Object;
37
37
  const { iterator, toStringTag } = Symbol;
38
38
 
39
+ /* Creating a function that will check if an object has a property. */
40
+ const hasOwnProperty = (
41
+ ({ hasOwnProperty }) =>
42
+ (obj, prop) =>
43
+ hasOwnProperty.call(obj, prop)
44
+ )(Object.prototype);
45
+
46
+ /**
47
+ * Walk the prototype chain (excluding the shared Object.prototype) looking for
48
+ * an own `prop`. This distinguishes genuine own/inherited members — including
49
+ * class accessors and template prototypes — from members injected via
50
+ * Object.prototype pollution (e.g. `Object.prototype.username = '...'`), which
51
+ * live on Object.prototype itself and are therefore never matched.
52
+ *
53
+ * @param {*} thing The value whose chain to inspect
54
+ * @param {string|symbol} prop The property key to look for
55
+ *
56
+ * @returns {boolean} True when `prop` is owned below Object.prototype
57
+ */
58
+ const hasOwnInPrototypeChain = (thing, prop) => {
59
+ let obj = thing;
60
+ const seen = [];
61
+
62
+ while (obj != null && obj !== Object.prototype) {
63
+ if (seen.indexOf(obj) !== -1) {
64
+ return false;
65
+ }
66
+ seen.push(obj);
67
+
68
+ if (hasOwnProperty(obj, prop)) {
69
+ return true;
70
+ }
71
+ obj = getPrototypeOf(obj);
72
+ }
73
+ return false;
74
+ };
75
+
76
+ /**
77
+ * Read `obj[prop]` only when it is safe from Object.prototype pollution. Own
78
+ * properties and members inherited from a non-Object.prototype source (a class
79
+ * instance or template object) are honored; a value reachable only through a
80
+ * polluted Object.prototype is ignored and `undefined` is returned.
81
+ *
82
+ * @param {*} obj The source object
83
+ * @param {string|symbol} prop The property key to read
84
+ *
85
+ * @returns {*} The resolved value, or undefined when unsafe/absent
86
+ */
87
+ const getSafeProp = (obj, prop) =>
88
+ obj != null && hasOwnInPrototypeChain(obj, prop) ? obj[prop] : undefined;
89
+
39
90
  const kindOf = ((cache) => (thing) => {
40
91
  const str = toString.call(thing);
41
92
  return cache[str] || (cache[str] = str.slice(8, -1).toLowerCase());
@@ -161,7 +212,7 @@ function requireAxios () {
161
212
  * @returns {boolean} True if value is a plain Object, otherwise false
162
213
  */
163
214
  const isPlainObject = (val) => {
164
- if (kindOf(val) !== 'object') {
215
+ if (!isObject(val)) {
165
216
  return false;
166
217
  }
167
218
 
@@ -169,9 +220,12 @@ function requireAxios () {
169
220
  return (
170
221
  (prototype === null ||
171
222
  prototype === Object.prototype ||
172
- Object.getPrototypeOf(prototype) === null) &&
173
- !(toStringTag in val) &&
174
- !(iterator in val)
223
+ getPrototypeOf(prototype) === null) &&
224
+ // Treat any genuine (non-Object.prototype-polluted) Symbol.toStringTag or
225
+ // Symbol.iterator as evidence the value is a tagged/iterable type rather
226
+ // than a plain object, while ignoring keys injected onto Object.prototype.
227
+ !hasOwnInPrototypeChain(val, toStringTag) &&
228
+ !hasOwnInPrototypeChain(val, iterator)
175
229
  );
176
230
  };
177
231
 
@@ -698,13 +752,6 @@ function requireAxios () {
698
752
  });
699
753
  };
700
754
 
701
- /* Creating a function that will check if an object has a property. */
702
- const hasOwnProperty = (
703
- ({ hasOwnProperty }) =>
704
- (obj, prop) =>
705
- hasOwnProperty.call(obj, prop)
706
- )(Object.prototype);
707
-
708
755
  const { propertyIsEnumerable } = Object.prototype;
709
756
 
710
757
  /**
@@ -918,6 +965,20 @@ function requireAxios () {
918
965
 
919
966
  const isIterable = (thing) => thing != null && isFunction$1(thing[iterator]);
920
967
 
968
+ /**
969
+ * Determine if a value is iterable via an iterator that is NOT sourced solely
970
+ * from a polluted Object.prototype. Use this instead of `isIterable` whenever
971
+ * the iterable comes from untrusted input (e.g. user-supplied header sources),
972
+ * so `Object.prototype[Symbol.iterator] = ...` cannot turn an ordinary object
973
+ * into an attacker-controlled entries iterator.
974
+ *
975
+ * @param {*} thing The value to test
976
+ *
977
+ * @returns {boolean} True if value has a non-polluted iterator
978
+ */
979
+ const isSafeIterable = (thing) =>
980
+ thing != null && hasOwnInPrototypeChain(thing, iterator) && isIterable(thing);
981
+
921
982
  var utils$1 = {
922
983
  isArray,
923
984
  isArrayBuffer,
@@ -962,6 +1023,8 @@ function requireAxios () {
962
1023
  isHTMLForm,
963
1024
  hasOwnProperty,
964
1025
  hasOwnProp: hasOwnProperty, // an alias to avoid ESLint no-prototype-builtins detection
1026
+ hasOwnInPrototypeChain,
1027
+ getSafeProp,
965
1028
  reduceDescriptors,
966
1029
  freezeMethods,
967
1030
  toObjectSet,
@@ -978,6 +1041,7 @@ function requireAxios () {
978
1041
  setImmediate: _setImmediate,
979
1042
  asap,
980
1043
  isIterable,
1044
+ isSafeIterable,
981
1045
  };
982
1046
 
983
1047
  // RawAxiosHeaders whose duplicates are ignored by node
@@ -1210,8 +1274,8 @@ function requireAxios () {
1210
1274
  setHeaders(header, valueOrRewrite);
1211
1275
  } else if (utils$1.isString(header) && (header = header.trim()) && !isValidHeaderName(header)) {
1212
1276
  setHeaders(parseHeaders(header), valueOrRewrite);
1213
- } else if (utils$1.isObject(header) && utils$1.isIterable(header)) {
1214
- let obj = {},
1277
+ } else if (utils$1.isObject(header) && utils$1.isSafeIterable(header)) {
1278
+ let obj = Object.create(null),
1215
1279
  dest,
1216
1280
  key;
1217
1281
  for (const entry of header) {
@@ -1219,11 +1283,14 @@ function requireAxios () {
1219
1283
  throw new TypeError('Object iterator must return a key-value pair');
1220
1284
  }
1221
1285
 
1222
- obj[(key = entry[0])] = (dest = obj[key])
1223
- ? utils$1.isArray(dest)
1224
- ? [...dest, entry[1]]
1225
- : [dest, entry[1]]
1226
- : entry[1];
1286
+ key = entry[0];
1287
+
1288
+ if (utils$1.hasOwnProp(obj, key)) {
1289
+ dest = obj[key];
1290
+ obj[key] = utils$1.isArray(dest) ? [...dest, entry[1]] : [dest, entry[1]];
1291
+ } else {
1292
+ obj[key] = entry[1];
1293
+ }
1227
1294
  }
1228
1295
 
1229
1296
  setHeaders(obj, valueOrRewrite);
@@ -1516,7 +1583,19 @@ function requireAxios () {
1516
1583
  class AxiosError extends Error {
1517
1584
  static from(error, code, config, request, response, customProps) {
1518
1585
  const axiosError = new AxiosError(error.message, code || error.code, config, request, response);
1519
- axiosError.cause = error;
1586
+ // Match native `Error` `cause` semantics: non-enumerable. The wrapped
1587
+ // error often carries circular internals (sockets, requests, agents), so
1588
+ // an enumerable `cause` makes structured loggers (pino/winston) and any
1589
+ // own-property walk throw "Converting circular structure to JSON".
1590
+ // Regression from #6982; see #7205. `__proto__: null` mirrors the
1591
+ // `message` descriptor below (prototype-pollution-safe descriptor).
1592
+ Object.defineProperty(axiosError, 'cause', {
1593
+ __proto__: null,
1594
+ value: error,
1595
+ writable: true,
1596
+ enumerable: false,
1597
+ configurable: true,
1598
+ });
1520
1599
  axiosError.name = error.name;
1521
1600
 
1522
1601
  // Preserve status from the original error if not already set from response
@@ -1617,6 +1696,10 @@ function requireAxios () {
1617
1696
  // eslint-disable-next-line strict
1618
1697
  var httpAdapter = null;
1619
1698
 
1699
+ // Default nesting limit shared with the inverse transform (formDataToJSON) so
1700
+ // the FormData <-> JSON round-trip stays symmetric.
1701
+ const DEFAULT_FORM_DATA_MAX_DEPTH = 100;
1702
+
1620
1703
  /**
1621
1704
  * Determines if the given thing is a array or js object.
1622
1705
  *
@@ -1727,8 +1810,9 @@ function requireAxios () {
1727
1810
  const dots = options.dots;
1728
1811
  const indexes = options.indexes;
1729
1812
  const _Blob = options.Blob || (typeof Blob !== 'undefined' && Blob);
1730
- const maxDepth = options.maxDepth === undefined ? 100 : options.maxDepth;
1813
+ const maxDepth = options.maxDepth === undefined ? DEFAULT_FORM_DATA_MAX_DEPTH : options.maxDepth;
1731
1814
  const useBlob = _Blob && utils$1.isSpecCompliantForm(formData);
1815
+ const stack = [];
1732
1816
 
1733
1817
  if (!utils$1.isFunction(visitor)) {
1734
1818
  throw new TypeError('visitor must be a function');
@@ -1750,12 +1834,50 @@ function requireAxios () {
1750
1834
  }
1751
1835
 
1752
1836
  if (utils$1.isArrayBuffer(value) || utils$1.isTypedArray(value)) {
1753
- return useBlob && typeof Blob === 'function' ? new Blob([value]) : Buffer.from(value);
1837
+ if (useBlob && typeof _Blob === 'function') {
1838
+ return new _Blob([value]);
1839
+ }
1840
+ if (typeof Buffer !== 'undefined') {
1841
+ return Buffer.from(value);
1842
+ }
1843
+ throw new AxiosError('Blob is not supported. Use a Buffer instead.', AxiosError.ERR_NOT_SUPPORT);
1754
1844
  }
1755
1845
 
1756
1846
  return value;
1757
1847
  }
1758
1848
 
1849
+ function throwIfMaxDepthExceeded(depth) {
1850
+ if (depth > maxDepth) {
1851
+ throw new AxiosError(
1852
+ 'Object is too deeply nested (' + depth + ' levels). Max depth: ' + maxDepth,
1853
+ AxiosError.ERR_FORM_DATA_DEPTH_EXCEEDED
1854
+ );
1855
+ }
1856
+ }
1857
+
1858
+ function stringifyWithDepthLimit(value, depth) {
1859
+ if (maxDepth === Infinity) {
1860
+ return JSON.stringify(value);
1861
+ }
1862
+
1863
+ const ancestors = [];
1864
+
1865
+ return JSON.stringify(value, function limitDepth(_key, currentValue) {
1866
+ if (!utils$1.isObject(currentValue)) {
1867
+ return currentValue;
1868
+ }
1869
+
1870
+ while (ancestors.length && ancestors[ancestors.length - 1] !== this) {
1871
+ ancestors.pop();
1872
+ }
1873
+
1874
+ ancestors.push(currentValue);
1875
+ throwIfMaxDepthExceeded(depth + ancestors.length - 1);
1876
+
1877
+ return currentValue;
1878
+ });
1879
+ }
1880
+
1759
1881
  /**
1760
1882
  * Default visitor.
1761
1883
  *
@@ -1779,7 +1901,7 @@ function requireAxios () {
1779
1901
  // eslint-disable-next-line no-param-reassign
1780
1902
  key = metaTokens ? key : key.slice(0, -2);
1781
1903
  // eslint-disable-next-line no-param-reassign
1782
- value = JSON.stringify(value);
1904
+ value = stringifyWithDepthLimit(value, 1);
1783
1905
  } else if (
1784
1906
  (utils$1.isArray(value) && isFlatArray(value)) ||
1785
1907
  ((utils$1.isFileList(value) || utils$1.endsWith(key, '[]')) && (arr = utils$1.toArray(value)))
@@ -1812,8 +1934,6 @@ function requireAxios () {
1812
1934
  return false;
1813
1935
  }
1814
1936
 
1815
- const stack = [];
1816
-
1817
1937
  const exposedHelpers = Object.assign(predicates, {
1818
1938
  defaultVisitor,
1819
1939
  convertValue,
@@ -1823,12 +1943,7 @@ function requireAxios () {
1823
1943
  function build(value, path, depth = 0) {
1824
1944
  if (utils$1.isUndefined(value)) return;
1825
1945
 
1826
- if (depth > maxDepth) {
1827
- throw new AxiosError(
1828
- 'Object is too deeply nested (' + depth + ' levels). Max depth: ' + maxDepth,
1829
- AxiosError.ERR_FORM_DATA_DEPTH_EXCEEDED
1830
- );
1831
- }
1946
+ throwIfMaxDepthExceeded(depth);
1832
1947
 
1833
1948
  if (stack.indexOf(value) !== -1) {
1834
1949
  throw new Error('Circular reference detected in ' + path.join('.'));
@@ -1902,9 +2017,7 @@ function requireAxios () {
1902
2017
 
1903
2018
  prototype.toString = function toString(encoder) {
1904
2019
  const _encode = encoder
1905
- ? function (value) {
1906
- return encoder.call(this, value, encode$1);
1907
- }
2020
+ ? (value) => encoder.call(this, value, encode$1)
1908
2021
  : encode$1;
1909
2022
 
1910
2023
  return this._pairs
@@ -1943,8 +2056,7 @@ function requireAxios () {
1943
2056
  if (!params) {
1944
2057
  return url;
1945
2058
  }
1946
-
1947
- const _encode = (options && options.encode) || encode;
2059
+ url = url || '';
1948
2060
 
1949
2061
  const _options = utils$1.isFunction(options)
1950
2062
  ? {
@@ -1952,7 +2064,11 @@ function requireAxios () {
1952
2064
  }
1953
2065
  : options;
1954
2066
 
1955
- const serializeFn = _options && _options.serialize;
2067
+ // Read serializer options pollution-safely: own properties and methods on a
2068
+ // class/template prototype are honored, but values injected onto a polluted
2069
+ // Object.prototype are ignored.
2070
+ const _encode = utils$1.getSafeProp(_options, 'encode') || encode;
2071
+ const serializeFn = utils$1.getSafeProp(_options, 'serialize');
1956
2072
 
1957
2073
  let serializedParams;
1958
2074
 
@@ -2049,6 +2165,7 @@ function requireAxios () {
2049
2165
  clarifyTimeoutError: false,
2050
2166
  legacyInterceptorReqResOrdering: true,
2051
2167
  advertiseZstdAcceptEncoding: false,
2168
+ validateStatusUndefinedResolves: true,
2052
2169
  };
2053
2170
 
2054
2171
  var URLSearchParams$1 = typeof URLSearchParams !== 'undefined' ? URLSearchParams : AxiosURLSearchParams;
@@ -2140,6 +2257,17 @@ function requireAxios () {
2140
2257
  });
2141
2258
  }
2142
2259
 
2260
+ const MAX_DEPTH = DEFAULT_FORM_DATA_MAX_DEPTH;
2261
+
2262
+ function throwIfDepthExceeded(index) {
2263
+ if (index > MAX_DEPTH) {
2264
+ throw new AxiosError(
2265
+ 'FormData field is too deeply nested (' + index + ' levels). Max depth: ' + MAX_DEPTH,
2266
+ AxiosError.ERR_FORM_DATA_DEPTH_EXCEEDED
2267
+ );
2268
+ }
2269
+ }
2270
+
2143
2271
  /**
2144
2272
  * It takes a string like `foo[x][y][z]` and returns an array like `['foo', 'x', 'y', 'z']
2145
2273
  *
@@ -2152,9 +2280,16 @@ function requireAxios () {
2152
2280
  // foo.x.y.z
2153
2281
  // foo-x-y-z
2154
2282
  // foo x y z
2155
- return utils$1.matchAll(/\w+|\[(\w*)]/g, name).map((match) => {
2156
- return match[0] === '[]' ? '' : match[1] || match[0];
2157
- });
2283
+ const path = [];
2284
+ const pattern = /\w+|\[(\w*)]/g;
2285
+ let match;
2286
+
2287
+ while ((match = pattern.exec(name)) !== null) {
2288
+ throwIfDepthExceeded(path.length);
2289
+ path.push(match[0] === '[]' ? '' : match[1] || match[0]);
2290
+ }
2291
+
2292
+ return path;
2158
2293
  }
2159
2294
 
2160
2295
  /**
@@ -2186,6 +2321,8 @@ function requireAxios () {
2186
2321
  */
2187
2322
  function formDataToJSON(formData) {
2188
2323
  function buildPath(path, value, target, index) {
2324
+ throwIfDepthExceeded(index);
2325
+
2189
2326
  let name = path[index++];
2190
2327
 
2191
2328
  if (name === '__proto__') return true;
@@ -2671,7 +2808,11 @@ function requireAxios () {
2671
2808
  const cookie = cookies[i].replace(/^\s+/, '');
2672
2809
  const eq = cookie.indexOf('=');
2673
2810
  if (eq !== -1 && cookie.slice(0, eq) === name) {
2674
- return decodeURIComponent(cookie.slice(eq + 1));
2811
+ try {
2812
+ return decodeURIComponent(cookie.slice(eq + 1));
2813
+ } catch (e) {
2814
+ return cookie.slice(eq + 1);
2815
+ }
2675
2816
  }
2676
2817
  }
2677
2818
  return null;
@@ -2722,6 +2863,31 @@ function requireAxios () {
2722
2863
  : baseURL;
2723
2864
  }
2724
2865
 
2866
+ const malformedHttpProtocol = /^https?:(?!\/\/)/i;
2867
+ const httpProtocolControlCharacters = /[\t\n\r]/g;
2868
+
2869
+ function stripLeadingC0ControlOrSpace(url) {
2870
+ let i = 0;
2871
+ while (i < url.length && url.charCodeAt(i) <= 0x20) {
2872
+ i++;
2873
+ }
2874
+ return url.slice(i);
2875
+ }
2876
+
2877
+ function normalizeURLForProtocolCheck(url) {
2878
+ return stripLeadingC0ControlOrSpace(url).replace(httpProtocolControlCharacters, '');
2879
+ }
2880
+
2881
+ function assertValidHttpProtocolURL(url, config) {
2882
+ if (typeof url === 'string' && malformedHttpProtocol.test(normalizeURLForProtocolCheck(url))) {
2883
+ throw new AxiosError(
2884
+ 'Invalid URL: missing "//" after protocol',
2885
+ AxiosError.ERR_INVALID_URL,
2886
+ config
2887
+ );
2888
+ }
2889
+ }
2890
+
2725
2891
  /**
2726
2892
  * Creates a new URL by combining the baseURL with the requestedURL,
2727
2893
  * only when the requestedURL is not already an absolute URL.
@@ -2732,9 +2898,11 @@ function requireAxios () {
2732
2898
  *
2733
2899
  * @returns {string} The combined full path
2734
2900
  */
2735
- function buildFullPath(baseURL, requestedURL, allowAbsoluteUrls) {
2901
+ function buildFullPath(baseURL, requestedURL, allowAbsoluteUrls, config) {
2902
+ assertValidHttpProtocolURL(requestedURL, config);
2736
2903
  let isRelativeUrl = !isAbsoluteURL(requestedURL);
2737
2904
  if (baseURL && (isRelativeUrl || allowAbsoluteUrls === false)) {
2905
+ assertValidHttpProtocolURL(baseURL, config);
2738
2906
  return combineURLs(baseURL, requestedURL);
2739
2907
  }
2740
2908
  return requestedURL;
@@ -2753,6 +2921,7 @@ function requireAxios () {
2753
2921
  */
2754
2922
  function mergeConfig(config1, config2) {
2755
2923
  // eslint-disable-next-line no-param-reassign
2924
+ config1 = config1 || {};
2756
2925
  config2 = config2 || {};
2757
2926
 
2758
2927
  // Use a null-prototype object so that downstream reads such as `config.auth`
@@ -2805,6 +2974,28 @@ function requireAxios () {
2805
2974
  }
2806
2975
  }
2807
2976
 
2977
+ function getMergedTransitionalOption(prop) {
2978
+ const transitional2 = utils$1.hasOwnProp(config2, 'transitional') ? config2.transitional : undefined;
2979
+
2980
+ if (!utils$1.isUndefined(transitional2)) {
2981
+ if (utils$1.isPlainObject(transitional2)) {
2982
+ if (utils$1.hasOwnProp(transitional2, prop)) {
2983
+ return transitional2[prop];
2984
+ }
2985
+ } else {
2986
+ return undefined;
2987
+ }
2988
+ }
2989
+
2990
+ const transitional1 = utils$1.hasOwnProp(config1, 'transitional') ? config1.transitional : undefined;
2991
+
2992
+ if (utils$1.isPlainObject(transitional1) && utils$1.hasOwnProp(transitional1, prop)) {
2993
+ return transitional1[prop];
2994
+ }
2995
+
2996
+ return undefined;
2997
+ }
2998
+
2808
2999
  // eslint-disable-next-line consistent-return
2809
3000
  function mergeDirectKeys(a, b, prop) {
2810
3001
  if (utils$1.hasOwnProp(config2, prop)) {
@@ -2857,6 +3048,18 @@ function requireAxios () {
2857
3048
  (utils$1.isUndefined(configValue) && merge !== mergeDirectKeys) || (config[prop] = configValue);
2858
3049
  });
2859
3050
 
3051
+ if (
3052
+ utils$1.hasOwnProp(config2, 'validateStatus') &&
3053
+ utils$1.isUndefined(config2.validateStatus) &&
3054
+ getMergedTransitionalOption('validateStatusUndefinedResolves') === false
3055
+ ) {
3056
+ if (utils$1.hasOwnProp(config1, 'validateStatus')) {
3057
+ config.validateStatus = getMergedValue(undefined, config1.validateStatus);
3058
+ } else {
3059
+ delete config.validateStatus;
3060
+ }
3061
+ }
3062
+
2860
3063
  return config;
2861
3064
  }
2862
3065
 
@@ -2868,7 +3071,7 @@ function requireAxios () {
2868
3071
  return;
2869
3072
  }
2870
3073
 
2871
- Object.entries(formHeaders).forEach(([key, val]) => {
3074
+ Object.entries(formHeaders || {}).forEach(([key, val]) => {
2872
3075
  if (FORM_DATA_CONTENT_HEADERS.includes(key.toLowerCase())) {
2873
3076
  headers.set(key, val);
2874
3077
  }
@@ -2908,18 +3111,24 @@ function requireAxios () {
2908
3111
  newConfig.headers = headers = AxiosHeaders.from(headers);
2909
3112
 
2910
3113
  newConfig.url = buildURL(
2911
- buildFullPath(baseURL, url, allowAbsoluteUrls),
3114
+ buildFullPath(baseURL, url, allowAbsoluteUrls, newConfig),
2912
3115
  own('params'),
2913
3116
  own('paramsSerializer')
2914
3117
  );
2915
3118
 
2916
3119
  // HTTP basic authentication
2917
3120
  if (auth) {
2918
- headers.set(
2919
- 'Authorization',
2920
- 'Basic ' +
2921
- btoa((auth.username || '') + ':' + (auth.password ? encodeUTF8$1(auth.password) : ''))
2922
- );
3121
+ const username = utils$1.getSafeProp(auth, 'username') || '';
3122
+ const password = utils$1.getSafeProp(auth, 'password') || '';
3123
+
3124
+ try {
3125
+ headers.set(
3126
+ 'Authorization',
3127
+ 'Basic ' + btoa(username + ':' + (password ? encodeUTF8$1(password) : ''))
3128
+ );
3129
+ } catch (e) {
3130
+ throw AxiosError.from(e, AxiosError.ERR_BAD_OPTION_VALUE, config);
3131
+ }
2923
3132
  }
2924
3133
 
2925
3134
  if (utils$1.isFormData(data)) {
@@ -3170,6 +3379,7 @@ function requireAxios () {
3170
3379
  config
3171
3380
  )
3172
3381
  );
3382
+ done();
3173
3383
  return;
3174
3384
  }
3175
3385
 
@@ -3221,7 +3431,7 @@ function requireAxios () {
3221
3431
  signals = null;
3222
3432
  };
3223
3433
 
3224
- signals.forEach((signal) => signal.addEventListener('abort', onabort));
3434
+ signals.forEach((signal) => signal.addEventListener('abort', onabort, { once: true }));
3225
3435
 
3226
3436
  const { signal } = controller;
3227
3437
 
@@ -3324,11 +3534,19 @@ function requireAxios () {
3324
3534
  * Estimate decoded byte length of a data:// URL *without* allocating large buffers.
3325
3535
  * - For base64: compute exact decoded size using length and padding;
3326
3536
  * handle %XX at the character-count level (no string allocation).
3327
- * - For non-base64: use UTF-8 byteLength of the encoded body as a safe upper bound.
3537
+ * - For non-base64: compute the exact percent-decoded UTF-8 byte length.
3328
3538
  *
3329
3539
  * @param {string} url
3330
3540
  * @returns {number}
3331
3541
  */
3542
+ const isHexDigit = (charCode) =>
3543
+ (charCode >= 48 && charCode <= 57) ||
3544
+ (charCode >= 65 && charCode <= 70) ||
3545
+ (charCode >= 97 && charCode <= 102);
3546
+
3547
+ const isPercentEncodedByte = (str, i, len) =>
3548
+ i + 2 < len && isHexDigit(str.charCodeAt(i + 1)) && isHexDigit(str.charCodeAt(i + 2));
3549
+
3332
3550
  function estimateDataURLDecodedBytes(url) {
3333
3551
  if (!url || typeof url !== 'string') return 0;
3334
3552
  if (!url.startsWith('data:')) return 0;
@@ -3348,9 +3566,7 @@ function requireAxios () {
3348
3566
  if (body.charCodeAt(i) === 37 /* '%' */ && i + 2 < len) {
3349
3567
  const a = body.charCodeAt(i + 1);
3350
3568
  const b = body.charCodeAt(i + 2);
3351
- const isHex =
3352
- ((a >= 48 && a <= 57) || (a >= 65 && a <= 70) || (a >= 97 && a <= 102)) &&
3353
- ((b >= 48 && b <= 57) || (b >= 65 && b <= 70) || (b >= 97 && b <= 102));
3569
+ const isHex = isHexDigit(a) && isHexDigit(b);
3354
3570
 
3355
3571
  if (isHex) {
3356
3572
  effectiveLen -= 2;
@@ -3391,18 +3607,17 @@ function requireAxios () {
3391
3607
  return bytes > 0 ? bytes : 0;
3392
3608
  }
3393
3609
 
3394
- if (typeof Buffer !== 'undefined' && typeof Buffer.byteLength === 'function') {
3395
- return Buffer.byteLength(body, 'utf8');
3396
- }
3397
-
3398
3610
  // Compute UTF-8 byte length directly from UTF-16 code units without allocating
3399
3611
  // a byte buffer (TextEncoder.encode would defeat the DoS guard on large bodies).
3400
- // Using body.length here would undercount non-ASCII (e.g. '€' is 1 code unit
3401
- // but 3 UTF-8 bytes).
3612
+ // Valid %XX triplets count as one decoded byte; this matches the bytes that
3613
+ // decodeURIComponent(body) would produce before Buffer re-encodes the string.
3402
3614
  let bytes = 0;
3403
3615
  for (let i = 0, len = body.length; i < len; i++) {
3404
3616
  const c = body.charCodeAt(i);
3405
- if (c < 0x80) {
3617
+ if (c === 37 /* '%' */ && isPercentEncodedByte(body, i, len)) {
3618
+ bytes += 1;
3619
+ i += 2;
3620
+ } else if (c < 0x80) {
3406
3621
  bytes += 1;
3407
3622
  } else if (c < 0x800) {
3408
3623
  bytes += 2;
@@ -3421,7 +3636,7 @@ function requireAxios () {
3421
3636
  return bytes;
3422
3637
  }
3423
3638
 
3424
- const VERSION = "1.17.0";
3639
+ const VERSION = "1.18.1";
3425
3640
 
3426
3641
  const DEFAULT_CHUNK_SIZE = 64 * 1024;
3427
3642
 
@@ -3642,14 +3857,28 @@ function requireAxios () {
3642
3857
 
3643
3858
  let requestContentLength;
3644
3859
 
3860
+ // AxiosError we raise while the request body is being streamed. Captured
3861
+ // by identity so the catch block can surface it directly, regardless of
3862
+ // how the runtime wraps the resulting fetch rejection (undici exposes it
3863
+ // as `err.cause`; some browsers drop the original error entirely).
3864
+ let pendingBodyError = null;
3865
+
3866
+ const maxBodyLengthError = () =>
3867
+ new AxiosError(
3868
+ 'Request body larger than maxBodyLength limit',
3869
+ AxiosError.ERR_BAD_REQUEST,
3870
+ config,
3871
+ request
3872
+ );
3873
+
3645
3874
  try {
3646
3875
  // HTTP basic authentication
3647
3876
  let auth = undefined;
3648
3877
  const configAuth = own('auth');
3649
3878
 
3650
3879
  if (configAuth) {
3651
- const username = configAuth.username || '';
3652
- const password = configAuth.password || '';
3880
+ const username = utils$1.getSafeProp(configAuth, 'username') || '';
3881
+ const password = utils$1.getSafeProp(configAuth, 'password') || '';
3653
3882
  auth = {
3654
3883
  username,
3655
3884
  password
@@ -3698,53 +3927,96 @@ function requireAxios () {
3698
3927
  }
3699
3928
  }
3700
3929
 
3701
- // Enforce maxBodyLength against the outbound request body before dispatch.
3702
- // Mirrors http.js behavior (ERR_BAD_REQUEST / 'Request body larger than
3703
- // maxBodyLength limit'). Skip when the body length cannot be determined
3704
- // (e.g. a live ReadableStream supplied by the caller).
3930
+ // Enforce maxBodyLength against known-size bodies before dispatch using
3931
+ // the body's *actual* size never a caller-declared Content-Length,
3932
+ // which could under-report to slip an oversized body past the check.
3933
+ // Unknown-size streams return undefined here and are counted per-chunk
3934
+ // below as fetch consumes them.
3705
3935
  if (hasMaxBodyLength && method !== 'get' && method !== 'head') {
3706
- const outboundLength = await resolveBodyLength(headers, data);
3707
- if (
3708
- typeof outboundLength === 'number' &&
3709
- isFinite(outboundLength) &&
3710
- outboundLength > maxBodyLength
3711
- ) {
3712
- throw new AxiosError(
3713
- 'Request body larger than maxBodyLength limit',
3714
- AxiosError.ERR_BAD_REQUEST,
3715
- config,
3716
- request
3717
- );
3936
+ const outboundLength = await getBodyLength(data);
3937
+ if (typeof outboundLength === 'number' && isFinite(outboundLength)) {
3938
+ requestContentLength = outboundLength;
3939
+ if (outboundLength > maxBodyLength) {
3940
+ throw maxBodyLengthError();
3941
+ }
3718
3942
  }
3719
3943
  }
3720
3944
 
3945
+ // A streamed body under maxBodyLength must be counted as fetch consumes
3946
+ // it; its size is never trusted from a caller-declared Content-Length.
3947
+ const mustEnforceStreamBody =
3948
+ hasMaxBodyLength && (utils$1.isReadableStream(data) || utils$1.isStream(data));
3949
+
3950
+ const trackRequestStream = (stream, onProgress, flush) =>
3951
+ trackStream(
3952
+ stream,
3953
+ DEFAULT_CHUNK_SIZE,
3954
+ (loadedBytes) => {
3955
+ if (hasMaxBodyLength && loadedBytes > maxBodyLength) {
3956
+ throw (pendingBodyError = maxBodyLengthError());
3957
+ }
3958
+ onProgress && onProgress(loadedBytes);
3959
+ },
3960
+ flush
3961
+ );
3962
+
3721
3963
  if (
3722
- onUploadProgress &&
3723
3964
  supportsRequestStream &&
3724
3965
  method !== 'get' &&
3725
3966
  method !== 'head' &&
3726
- (requestContentLength = await resolveBodyLength(headers, data)) !== 0
3967
+ (onUploadProgress || mustEnforceStreamBody)
3727
3968
  ) {
3728
- let _request = new Request(url, {
3729
- method: 'POST',
3730
- body: data,
3731
- duplex: 'half',
3732
- });
3969
+ requestContentLength =
3970
+ requestContentLength == null ? await resolveBodyLength(headers, data) : requestContentLength;
3971
+
3972
+ // A declared length of 0 is only trusted to skip the wrap when we are
3973
+ // not enforcing a stream limit (which must not rely on that header).
3974
+ if (requestContentLength !== 0 || mustEnforceStreamBody) {
3975
+ let _request = new Request(url, {
3976
+ method: 'POST',
3977
+ body: data,
3978
+ duplex: 'half',
3979
+ });
3733
3980
 
3734
- let contentTypeHeader;
3981
+ let contentTypeHeader;
3735
3982
 
3736
- if (utils$1.isFormData(data) && (contentTypeHeader = _request.headers.get('content-type'))) {
3737
- headers.setContentType(contentTypeHeader);
3738
- }
3983
+ if (utils$1.isFormData(data) && (contentTypeHeader = _request.headers.get('content-type'))) {
3984
+ headers.setContentType(contentTypeHeader);
3985
+ }
3739
3986
 
3740
- if (_request.body) {
3741
- const [onProgress, flush] = progressEventDecorator(
3742
- requestContentLength,
3743
- progressEventReducer(asyncDecorator(onUploadProgress))
3744
- );
3987
+ if (_request.body) {
3988
+ const [onProgress, flush] =
3989
+ (onUploadProgress &&
3990
+ progressEventDecorator(
3991
+ requestContentLength,
3992
+ progressEventReducer(asyncDecorator(onUploadProgress))
3993
+ )) ||
3994
+ [];
3745
3995
 
3746
- data = trackStream(_request.body, DEFAULT_CHUNK_SIZE, onProgress, flush);
3996
+ data = trackRequestStream(_request.body, onProgress, flush);
3997
+ }
3747
3998
  }
3999
+ } else if (
4000
+ mustEnforceStreamBody &&
4001
+ !isRequestSupported &&
4002
+ isReadableStreamSupported &&
4003
+ method !== 'get' &&
4004
+ method !== 'head'
4005
+ ) {
4006
+ data = trackRequestStream(data);
4007
+ } else if (
4008
+ mustEnforceStreamBody &&
4009
+ isRequestSupported &&
4010
+ !supportsRequestStream &&
4011
+ method !== 'get' &&
4012
+ method !== 'head'
4013
+ ) {
4014
+ throw new AxiosError(
4015
+ 'Stream request bodies are not supported by the current fetch implementation',
4016
+ AxiosError.ERR_NOT_SUPPORT,
4017
+ config,
4018
+ request
4019
+ );
3748
4020
  }
3749
4021
 
3750
4022
  if (!utils$1.isString(withCredentials)) {
@@ -3787,10 +4059,12 @@ function requireAxios () {
3787
4059
  ? _fetch(request, fetchOptions)
3788
4060
  : _fetch(url, resolvedOptions));
3789
4061
 
4062
+ const responseHeaders = AxiosHeaders.from(response.headers);
4063
+
3790
4064
  // Cheap pre-check: if the server honestly declares a content-length that
3791
4065
  // already exceeds the cap, reject before we start streaming.
3792
4066
  if (hasMaxContentLength) {
3793
- const declaredLength = utils$1.toFiniteNumber(response.headers.get('content-length'));
4067
+ const declaredLength = utils$1.toFiniteNumber(responseHeaders.getContentLength());
3794
4068
  if (declaredLength != null && declaredLength > maxContentLength) {
3795
4069
  throw new AxiosError(
3796
4070
  'maxContentLength size of ' + maxContentLength + ' exceeded',
@@ -3815,7 +4089,7 @@ function requireAxios () {
3815
4089
  options[prop] = response[prop];
3816
4090
  });
3817
4091
 
3818
- const responseContentLength = utils$1.toFiniteNumber(response.headers.get('content-length'));
4092
+ const responseContentLength = utils$1.toFiniteNumber(responseHeaders.getContentLength());
3819
4093
 
3820
4094
  const [onProgress, flush] =
3821
4095
  (onDownloadProgress &&
@@ -3906,23 +4180,55 @@ function requireAxios () {
3906
4180
  const canceledError = composedSignal.reason;
3907
4181
  canceledError.config = config;
3908
4182
  request && (canceledError.request = request);
3909
- err !== canceledError && (canceledError.cause = err);
4183
+ if (err !== canceledError) {
4184
+ // Non-enumerable to match native Error `cause` semantics so loggers
4185
+ // don't recurse into circular fetch internals (see #7205).
4186
+ Object.defineProperty(canceledError, 'cause', {
4187
+ __proto__: null,
4188
+ value: err,
4189
+ writable: true,
4190
+ enumerable: false,
4191
+ configurable: true,
4192
+ });
4193
+ }
3910
4194
  throw canceledError;
3911
4195
  }
3912
4196
 
4197
+ // Surface a maxBodyLength violation we raised while the request body was
4198
+ // being streamed. Matching by identity (rather than reading
4199
+ // `err.cause.isAxiosError`) keeps the error deterministic across runtimes
4200
+ // and avoids both prototype-pollution reads and mis-attributing a foreign
4201
+ // AxiosError that merely happened to land in `err.cause`.
4202
+ if (pendingBodyError) {
4203
+ request && !pendingBodyError.request && (pendingBodyError.request = request);
4204
+ throw pendingBodyError;
4205
+ }
4206
+
4207
+ // Re-throw AxiosErrors we raised synchronously (data: URL / content-length
4208
+ // pre-checks, response size enforcement) without re-wrapping them.
4209
+ if (err instanceof AxiosError) {
4210
+ request && !err.request && (err.request = request);
4211
+ throw err;
4212
+ }
4213
+
3913
4214
  if (err && err.name === 'TypeError' && /Load failed|fetch/i.test(err.message)) {
3914
- throw Object.assign(
3915
- new AxiosError(
3916
- 'Network Error',
3917
- AxiosError.ERR_NETWORK,
3918
- config,
3919
- request,
3920
- err && err.response
3921
- ),
3922
- {
3923
- cause: err.cause || err,
3924
- }
4215
+ const networkError = new AxiosError(
4216
+ 'Network Error',
4217
+ AxiosError.ERR_NETWORK,
4218
+ config,
4219
+ request,
4220
+ err && err.response
3925
4221
  );
4222
+ // Non-enumerable to match native Error `cause` semantics so loggers
4223
+ // don't recurse into circular fetch internals (see #7205).
4224
+ Object.defineProperty(networkError, 'cause', {
4225
+ __proto__: null,
4226
+ value: err.cause || err,
4227
+ writable: true,
4228
+ enumerable: false,
4229
+ configurable: true,
4230
+ });
4231
+ throw networkError;
3926
4232
  }
3927
4233
 
3928
4234
  throw AxiosError.from(err, err && err.code, config, request, err && err.response);
@@ -4060,7 +4366,7 @@ function requireAxios () {
4060
4366
 
4061
4367
  throw new AxiosError(
4062
4368
  `There is no suitable adapter to dispatch the request ` + s,
4063
- 'ERR_NOT_SUPPORT'
4369
+ AxiosError.ERR_NOT_SUPPORT
4064
4370
  );
4065
4371
  }
4066
4372
 
@@ -4241,7 +4547,7 @@ function requireAxios () {
4241
4547
  */
4242
4548
 
4243
4549
  function assertOptions(options, schema, allowUnknown) {
4244
- if (typeof options !== 'object') {
4550
+ if (typeof options !== 'object' || options === null) {
4245
4551
  throw new AxiosError('options must be an object', AxiosError.ERR_BAD_OPTION_VALUE);
4246
4552
  }
4247
4553
  const keys = Object.keys(options);
@@ -4365,6 +4671,7 @@ function requireAxios () {
4365
4671
  clarifyTimeoutError: validators.transitional(validators.boolean),
4366
4672
  legacyInterceptorReqResOrdering: validators.transitional(validators.boolean),
4367
4673
  advertiseZstdAcceptEncoding: validators.transitional(validators.boolean),
4674
+ validateStatusUndefinedResolves: validators.transitional(validators.boolean),
4368
4675
  },
4369
4676
  false
4370
4677
  );
@@ -4494,7 +4801,7 @@ function requireAxios () {
4494
4801
 
4495
4802
  getUri(config) {
4496
4803
  config = mergeConfig(this.defaults, config);
4497
- const fullPath = buildFullPath(config.baseURL, config.url, config.allowAbsoluteUrls);
4804
+ const fullPath = buildFullPath(config.baseURL, config.url, config.allowAbsoluteUrls, config);
4498
4805
  return buildURL(fullPath, config.params, config.paramsSerializer);
4499
4806
  }
4500
4807
  }
@@ -4507,7 +4814,7 @@ function requireAxios () {
4507
4814
  mergeConfig(config || {}, {
4508
4815
  method,
4509
4816
  url,
4510
- data: (config || {}).data,
4817
+ data: config && utils$1.hasOwnProp(config, 'data') ? config.data : undefined,
4511
4818
  })
4512
4819
  );
4513
4820
  };