@cirkay-eng/cirkay-components 0.7.2 → 0.7.4

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 (235) hide show
  1. package/dist/base/magic/MagicAPI.d.ts.map +1 -1
  2. package/dist/base/magic/MagicAPI.js +4 -3
  3. package/dist/base/magic/MagicAPI.js.map +1 -1
  4. package/dist/base/n3xus/N3xusAPI.d.ts +8 -5
  5. package/dist/base/n3xus/N3xusAPI.d.ts.map +1 -1
  6. package/dist/base/n3xus/N3xusAPI.js +110 -49
  7. package/dist/base/n3xus/N3xusAPI.js.map +1 -1
  8. package/dist/base/n3xus/types.d.ts +67 -24
  9. package/dist/base/n3xus/types.d.ts.map +1 -1
  10. package/dist/base/n3xus/types.js +1 -0
  11. package/dist/base/n3xus/types.js.map +1 -1
  12. package/dist/components/connected/connected.d.ts +33 -0
  13. package/dist/components/connected/connected.d.ts.map +1 -0
  14. package/dist/components/connected/connected.js +586 -0
  15. package/dist/components/connected/connected.js.map +1 -0
  16. package/dist/components/connected/index.d.ts +8 -0
  17. package/dist/components/connected/index.d.ts.map +1 -0
  18. package/dist/components/connected/index.js +6 -0
  19. package/dist/components/connected/index.js.map +1 -0
  20. package/dist/components/error-screen/error-screen.d.ts +4 -3
  21. package/dist/components/error-screen/error-screen.d.ts.map +1 -1
  22. package/dist/components/error-screen/error-screen.js +6 -11
  23. package/dist/components/error-screen/error-screen.js.map +1 -1
  24. package/dist/components/error-screen/index.d.ts +6 -1
  25. package/dist/components/error-screen/index.d.ts.map +1 -1
  26. package/dist/components/error-screen/index.js +6 -0
  27. package/dist/components/error-screen/index.js.map +1 -0
  28. package/dist/components/fan-pass-claim/fan-pass-claim.d.ts +32 -14
  29. package/dist/components/fan-pass-claim/fan-pass-claim.d.ts.map +1 -1
  30. package/dist/components/fan-pass-claim/fan-pass-claim.js +749 -322
  31. package/dist/components/fan-pass-claim/fan-pass-claim.js.map +1 -1
  32. package/dist/components/fan-pass-claim/index.d.ts +8 -2
  33. package/dist/components/fan-pass-claim/index.d.ts.map +1 -1
  34. package/dist/components/fan-pass-claim/index.js +6 -0
  35. package/dist/components/fan-pass-claim/index.js.map +1 -0
  36. package/dist/components/fan-pass-claim/types.d.ts +7 -0
  37. package/dist/components/fan-pass-claim/types.d.ts.map +1 -1
  38. package/dist/components/fan-pass-claim/types.js +9 -1
  39. package/dist/components/fan-pass-claim/types.js.map +1 -1
  40. package/dist/components/fan-pass-unlock/fan-pass-unlock.d.ts +31 -17
  41. package/dist/components/fan-pass-unlock/fan-pass-unlock.d.ts.map +1 -1
  42. package/dist/components/fan-pass-unlock/fan-pass-unlock.js +539 -198
  43. package/dist/components/fan-pass-unlock/fan-pass-unlock.js.map +1 -1
  44. package/dist/components/fan-pass-unlock/index.d.ts +8 -2
  45. package/dist/components/fan-pass-unlock/index.d.ts.map +1 -1
  46. package/dist/components/fan-pass-unlock/index.js +6 -0
  47. package/dist/components/fan-pass-unlock/index.js.map +1 -0
  48. package/dist/components/frame/frame.d.ts +1 -0
  49. package/dist/components/frame/frame.d.ts.map +1 -1
  50. package/dist/components/frame/frame.js +48 -20
  51. package/dist/components/frame/frame.js.map +1 -1
  52. package/dist/components/frame/index.d.ts +6 -1
  53. package/dist/components/frame/index.d.ts.map +1 -1
  54. package/dist/components/frame/index.js +6 -0
  55. package/dist/components/frame/index.js.map +1 -0
  56. package/dist/components/index.d.ts +4 -3
  57. package/dist/components/index.d.ts.map +1 -1
  58. package/dist/components/index.js +7 -3
  59. package/dist/components/index.js.map +1 -1
  60. package/dist/components/login/index.d.ts +6 -1
  61. package/dist/components/login/index.d.ts.map +1 -1
  62. package/dist/components/login/index.js +6 -0
  63. package/dist/components/login/index.js.map +1 -0
  64. package/dist/components/login/login.d.ts +4 -3
  65. package/dist/components/login/login.d.ts.map +1 -1
  66. package/dist/components/login/login.js +97 -38
  67. package/dist/components/login/login.js.map +1 -1
  68. package/dist/components/login/types.d.ts +4 -0
  69. package/dist/components/login/types.d.ts.map +1 -1
  70. package/dist/components/mobile-pass/index.d.ts +8 -0
  71. package/dist/components/mobile-pass/index.d.ts.map +1 -0
  72. package/dist/components/mobile-pass/index.js +6 -0
  73. package/dist/components/mobile-pass/index.js.map +1 -0
  74. package/dist/components/mobile-pass/mobile-pass.d.ts +20 -0
  75. package/dist/components/mobile-pass/mobile-pass.d.ts.map +1 -0
  76. package/dist/components/mobile-pass/mobile-pass.js +150 -0
  77. package/dist/components/mobile-pass/mobile-pass.js.map +1 -0
  78. package/dist/constants/components.d.ts +1 -1
  79. package/dist/constants/components.d.ts.map +1 -1
  80. package/dist/constants/components.js +1 -1
  81. package/dist/controllers/LoginController.d.ts +33 -5
  82. package/dist/controllers/LoginController.d.ts.map +1 -1
  83. package/dist/controllers/LoginController.js +38 -24
  84. package/dist/controllers/LoginController.js.map +1 -1
  85. package/dist/docs/error-screen/designTokens.d.ts +1 -3
  86. package/dist/docs/error-screen/designTokens.d.ts.map +1 -1
  87. package/dist/docs/fan-pass-claim/designTokens.d.ts.map +1 -1
  88. package/dist/docs/fan-pass-claim/fan-pass-claim.stories.d.ts +1 -1
  89. package/dist/docs/fan-pass-claim/fan-pass-claim.stories.d.ts.map +1 -1
  90. package/dist/docs/fan-pass-unlock/designTokens.d.ts.map +1 -1
  91. package/dist/docs/fan-pass-unlock/fan-pass-unlock.stories.d.ts +1 -1
  92. package/dist/docs/fan-pass-unlock/fan-pass-unlock.stories.d.ts.map +1 -1
  93. package/dist/docs/login/designTokens.d.ts +1 -3
  94. package/dist/docs/login/designTokens.d.ts.map +1 -1
  95. package/dist/docs/login/login.stories.d.ts +1 -1
  96. package/dist/docs/login/login.stories.d.ts.map +1 -1
  97. package/dist/docs/mobile-pass/designTokens.d.ts +3 -0
  98. package/dist/docs/mobile-pass/designTokens.d.ts.map +1 -0
  99. package/dist/docs/mobile-pass/mobile-pass.stories.d.ts +6 -0
  100. package/dist/docs/mobile-pass/mobile-pass.stories.d.ts.map +1 -0
  101. package/dist/events/claim.d.ts +2 -1
  102. package/dist/events/claim.d.ts.map +1 -1
  103. package/dist/events/claim.js.map +1 -1
  104. package/dist/events/login.d.ts +8 -1
  105. package/dist/events/login.d.ts.map +1 -1
  106. package/dist/events/login.js +1 -0
  107. package/dist/events/login.js.map +1 -1
  108. package/dist/events/unlock.d.ts +15 -1
  109. package/dist/events/unlock.d.ts.map +1 -1
  110. package/dist/events/unlock.js +2 -0
  111. package/dist/events/unlock.js.map +1 -1
  112. package/dist/internal/CirkayElement.d.ts.map +1 -1
  113. package/dist/internal/CirkayElement.js +0 -2
  114. package/dist/internal/CirkayElement.js.map +1 -1
  115. package/dist/node_modules/.pnpm/@magic-sdk_provider@28.20.0_localforage@1.10.0/node_modules/@magic-sdk/provider/dist/es/index.js +10 -0
  116. package/dist/node_modules/.pnpm/@magic-sdk_provider@28.20.0_localforage@1.10.0/node_modules/@magic-sdk/provider/dist/es/index.js.map +1 -0
  117. package/dist/node_modules/.pnpm/@magic-sdk_types@24.18.0/node_modules/@magic-sdk/types/dist/es/index.js +4 -0
  118. package/dist/node_modules/.pnpm/@magic-sdk_types@24.18.0/node_modules/@magic-sdk/types/dist/es/index.js.map +1 -0
  119. package/dist/node_modules/.pnpm/{@rollup_plugin-typescript@12.1.2_rollup@4.29.1_tslib@2.8.1_typescript@5.7.2 → @rollup_plugin-typescript@12.1.2_rollup@4.34.6_tslib@2.8.1_typescript@5.7.3}/node_modules/tslib/tslib.es6.js.map +1 -1
  120. package/dist/node_modules/.pnpm/@rollup_plugin-typescript@12.1.2_rollup@4.34.8_tslib@2.8.1_typescript@5.7.3/node_modules/tslib/tslib.es6.js +31 -0
  121. package/dist/node_modules/.pnpm/@rollup_plugin-typescript@12.1.2_rollup@4.34.8_tslib@2.8.1_typescript@5.7.3/node_modules/tslib/tslib.es6.js.map +1 -0
  122. package/dist/node_modules/.pnpm/magic-sdk@28.21.1/node_modules/magic-sdk/dist/es/index.js +9 -0
  123. package/dist/node_modules/.pnpm/magic-sdk@28.21.1/node_modules/magic-sdk/dist/es/index.js.map +1 -0
  124. package/dist/utils/helpers.d.ts +26 -2
  125. package/dist/utils/helpers.d.ts.map +1 -1
  126. package/dist/utils/helpers.js +65 -7
  127. package/dist/utils/helpers.js.map +1 -1
  128. package/package.json +21 -16
  129. package/dist/_virtual/_commonjsHelpers.js +0 -6
  130. package/dist/_virtual/_commonjsHelpers.js.map +0 -1
  131. package/dist/_virtual/index.js +0 -8
  132. package/dist/_virtual/index.js.map +0 -1
  133. package/dist/node_modules/.pnpm/axios-rate-limit@1.4.0_axios@1.7.9/node_modules/axios-rate-limit/src/index.js +0 -182
  134. package/dist/node_modules/.pnpm/axios-rate-limit@1.4.0_axios@1.7.9/node_modules/axios-rate-limit/src/index.js.map +0 -1
  135. package/dist/node_modules/.pnpm/axios@1.7.9/node_modules/axios/lib/adapters/adapters.js +0 -82
  136. package/dist/node_modules/.pnpm/axios@1.7.9/node_modules/axios/lib/adapters/adapters.js.map +0 -1
  137. package/dist/node_modules/.pnpm/axios@1.7.9/node_modules/axios/lib/adapters/fetch.js +0 -230
  138. package/dist/node_modules/.pnpm/axios@1.7.9/node_modules/axios/lib/adapters/fetch.js.map +0 -1
  139. package/dist/node_modules/.pnpm/axios@1.7.9/node_modules/axios/lib/adapters/xhr.js +0 -200
  140. package/dist/node_modules/.pnpm/axios@1.7.9/node_modules/axios/lib/adapters/xhr.js.map +0 -1
  141. package/dist/node_modules/.pnpm/axios@1.7.9/node_modules/axios/lib/axios.js +0 -87
  142. package/dist/node_modules/.pnpm/axios@1.7.9/node_modules/axios/lib/axios.js.map +0 -1
  143. package/dist/node_modules/.pnpm/axios@1.7.9/node_modules/axios/lib/cancel/CancelToken.js +0 -134
  144. package/dist/node_modules/.pnpm/axios@1.7.9/node_modules/axios/lib/cancel/CancelToken.js.map +0 -1
  145. package/dist/node_modules/.pnpm/axios@1.7.9/node_modules/axios/lib/cancel/CanceledError.js +0 -24
  146. package/dist/node_modules/.pnpm/axios@1.7.9/node_modules/axios/lib/cancel/CanceledError.js.map +0 -1
  147. package/dist/node_modules/.pnpm/axios@1.7.9/node_modules/axios/lib/cancel/isCancel.js +0 -6
  148. package/dist/node_modules/.pnpm/axios@1.7.9/node_modules/axios/lib/cancel/isCancel.js.map +0 -1
  149. package/dist/node_modules/.pnpm/axios@1.7.9/node_modules/axios/lib/core/Axios.js +0 -232
  150. package/dist/node_modules/.pnpm/axios@1.7.9/node_modules/axios/lib/core/Axios.js.map +0 -1
  151. package/dist/node_modules/.pnpm/axios@1.7.9/node_modules/axios/lib/core/AxiosError.js +0 -102
  152. package/dist/node_modules/.pnpm/axios@1.7.9/node_modules/axios/lib/core/AxiosError.js.map +0 -1
  153. package/dist/node_modules/.pnpm/axios@1.7.9/node_modules/axios/lib/core/AxiosHeaders.js +0 -301
  154. package/dist/node_modules/.pnpm/axios@1.7.9/node_modules/axios/lib/core/AxiosHeaders.js.map +0 -1
  155. package/dist/node_modules/.pnpm/axios@1.7.9/node_modules/axios/lib/core/InterceptorManager.js +0 -70
  156. package/dist/node_modules/.pnpm/axios@1.7.9/node_modules/axios/lib/core/InterceptorManager.js.map +0 -1
  157. package/dist/node_modules/.pnpm/axios@1.7.9/node_modules/axios/lib/core/buildFullPath.js +0 -22
  158. package/dist/node_modules/.pnpm/axios@1.7.9/node_modules/axios/lib/core/buildFullPath.js.map +0 -1
  159. package/dist/node_modules/.pnpm/axios@1.7.9/node_modules/axios/lib/core/dispatchRequest.js +0 -82
  160. package/dist/node_modules/.pnpm/axios@1.7.9/node_modules/axios/lib/core/dispatchRequest.js.map +0 -1
  161. package/dist/node_modules/.pnpm/axios@1.7.9/node_modules/axios/lib/core/mergeConfig.js +0 -107
  162. package/dist/node_modules/.pnpm/axios@1.7.9/node_modules/axios/lib/core/mergeConfig.js.map +0 -1
  163. package/dist/node_modules/.pnpm/axios@1.7.9/node_modules/axios/lib/core/settle.js +0 -28
  164. package/dist/node_modules/.pnpm/axios@1.7.9/node_modules/axios/lib/core/settle.js.map +0 -1
  165. package/dist/node_modules/.pnpm/axios@1.7.9/node_modules/axios/lib/core/transformData.js +0 -29
  166. package/dist/node_modules/.pnpm/axios@1.7.9/node_modules/axios/lib/core/transformData.js.map +0 -1
  167. package/dist/node_modules/.pnpm/axios@1.7.9/node_modules/axios/lib/defaults/index.js +0 -160
  168. package/dist/node_modules/.pnpm/axios@1.7.9/node_modules/axios/lib/defaults/index.js.map +0 -1
  169. package/dist/node_modules/.pnpm/axios@1.7.9/node_modules/axios/lib/defaults/transitional.js +0 -8
  170. package/dist/node_modules/.pnpm/axios@1.7.9/node_modules/axios/lib/defaults/transitional.js.map +0 -1
  171. package/dist/node_modules/.pnpm/axios@1.7.9/node_modules/axios/lib/env/data.js +0 -4
  172. package/dist/node_modules/.pnpm/axios@1.7.9/node_modules/axios/lib/env/data.js.map +0 -1
  173. package/dist/node_modules/.pnpm/axios@1.7.9/node_modules/axios/lib/helpers/AxiosURLSearchParams.js +0 -57
  174. package/dist/node_modules/.pnpm/axios@1.7.9/node_modules/axios/lib/helpers/AxiosURLSearchParams.js.map +0 -1
  175. package/dist/node_modules/.pnpm/axios@1.7.9/node_modules/axios/lib/helpers/HttpStatusCode.js +0 -72
  176. package/dist/node_modules/.pnpm/axios@1.7.9/node_modules/axios/lib/helpers/HttpStatusCode.js.map +0 -1
  177. package/dist/node_modules/.pnpm/axios@1.7.9/node_modules/axios/lib/helpers/bind.js +0 -8
  178. package/dist/node_modules/.pnpm/axios@1.7.9/node_modules/axios/lib/helpers/bind.js.map +0 -1
  179. package/dist/node_modules/.pnpm/axios@1.7.9/node_modules/axios/lib/helpers/buildURL.js +0 -70
  180. package/dist/node_modules/.pnpm/axios@1.7.9/node_modules/axios/lib/helpers/buildURL.js.map +0 -1
  181. package/dist/node_modules/.pnpm/axios@1.7.9/node_modules/axios/lib/helpers/combineURLs.js +0 -16
  182. package/dist/node_modules/.pnpm/axios@1.7.9/node_modules/axios/lib/helpers/combineURLs.js.map +0 -1
  183. package/dist/node_modules/.pnpm/axios@1.7.9/node_modules/axios/lib/helpers/composeSignals.js +0 -49
  184. package/dist/node_modules/.pnpm/axios@1.7.9/node_modules/axios/lib/helpers/composeSignals.js.map +0 -1
  185. package/dist/node_modules/.pnpm/axios@1.7.9/node_modules/axios/lib/helpers/cookies.js +0 -44
  186. package/dist/node_modules/.pnpm/axios@1.7.9/node_modules/axios/lib/helpers/cookies.js.map +0 -1
  187. package/dist/node_modules/.pnpm/axios@1.7.9/node_modules/axios/lib/helpers/formDataToJSON.js +0 -94
  188. package/dist/node_modules/.pnpm/axios@1.7.9/node_modules/axios/lib/helpers/formDataToJSON.js.map +0 -1
  189. package/dist/node_modules/.pnpm/axios@1.7.9/node_modules/axios/lib/helpers/isAbsoluteURL.js +0 -16
  190. package/dist/node_modules/.pnpm/axios@1.7.9/node_modules/axios/lib/helpers/isAbsoluteURL.js.map +0 -1
  191. package/dist/node_modules/.pnpm/axios@1.7.9/node_modules/axios/lib/helpers/isAxiosError.js +0 -15
  192. package/dist/node_modules/.pnpm/axios@1.7.9/node_modules/axios/lib/helpers/isAxiosError.js.map +0 -1
  193. package/dist/node_modules/.pnpm/axios@1.7.9/node_modules/axios/lib/helpers/isURLSameOrigin.js +0 -17
  194. package/dist/node_modules/.pnpm/axios@1.7.9/node_modules/axios/lib/helpers/isURLSameOrigin.js.map +0 -1
  195. package/dist/node_modules/.pnpm/axios@1.7.9/node_modules/axios/lib/helpers/null.js +0 -5
  196. package/dist/node_modules/.pnpm/axios@1.7.9/node_modules/axios/lib/helpers/null.js.map +0 -1
  197. package/dist/node_modules/.pnpm/axios@1.7.9/node_modules/axios/lib/helpers/parseHeaders.js +0 -56
  198. package/dist/node_modules/.pnpm/axios@1.7.9/node_modules/axios/lib/helpers/parseHeaders.js.map +0 -1
  199. package/dist/node_modules/.pnpm/axios@1.7.9/node_modules/axios/lib/helpers/parseProtocol.js +0 -7
  200. package/dist/node_modules/.pnpm/axios@1.7.9/node_modules/axios/lib/helpers/parseProtocol.js.map +0 -1
  201. package/dist/node_modules/.pnpm/axios@1.7.9/node_modules/axios/lib/helpers/progressEventReducer.js +0 -47
  202. package/dist/node_modules/.pnpm/axios@1.7.9/node_modules/axios/lib/helpers/progressEventReducer.js.map +0 -1
  203. package/dist/node_modules/.pnpm/axios@1.7.9/node_modules/axios/lib/helpers/resolveConfig.js +0 -59
  204. package/dist/node_modules/.pnpm/axios@1.7.9/node_modules/axios/lib/helpers/resolveConfig.js.map +0 -1
  205. package/dist/node_modules/.pnpm/axios@1.7.9/node_modules/axios/lib/helpers/speedometer.js +0 -54
  206. package/dist/node_modules/.pnpm/axios@1.7.9/node_modules/axios/lib/helpers/speedometer.js.map +0 -1
  207. package/dist/node_modules/.pnpm/axios@1.7.9/node_modules/axios/lib/helpers/spread.js +0 -29
  208. package/dist/node_modules/.pnpm/axios@1.7.9/node_modules/axios/lib/helpers/spread.js.map +0 -1
  209. package/dist/node_modules/.pnpm/axios@1.7.9/node_modules/axios/lib/helpers/throttle.js +0 -45
  210. package/dist/node_modules/.pnpm/axios@1.7.9/node_modules/axios/lib/helpers/throttle.js.map +0 -1
  211. package/dist/node_modules/.pnpm/axios@1.7.9/node_modules/axios/lib/helpers/toFormData.js +0 -216
  212. package/dist/node_modules/.pnpm/axios@1.7.9/node_modules/axios/lib/helpers/toFormData.js.map +0 -1
  213. package/dist/node_modules/.pnpm/axios@1.7.9/node_modules/axios/lib/helpers/toURLEncodedForm.js +0 -19
  214. package/dist/node_modules/.pnpm/axios@1.7.9/node_modules/axios/lib/helpers/toURLEncodedForm.js.map +0 -1
  215. package/dist/node_modules/.pnpm/axios@1.7.9/node_modules/axios/lib/helpers/trackStream.js +0 -89
  216. package/dist/node_modules/.pnpm/axios@1.7.9/node_modules/axios/lib/helpers/trackStream.js.map +0 -1
  217. package/dist/node_modules/.pnpm/axios@1.7.9/node_modules/axios/lib/helpers/validator.js +0 -100
  218. package/dist/node_modules/.pnpm/axios@1.7.9/node_modules/axios/lib/helpers/validator.js.map +0 -1
  219. package/dist/node_modules/.pnpm/axios@1.7.9/node_modules/axios/lib/platform/browser/classes/Blob.js +0 -4
  220. package/dist/node_modules/.pnpm/axios@1.7.9/node_modules/axios/lib/platform/browser/classes/Blob.js.map +0 -1
  221. package/dist/node_modules/.pnpm/axios@1.7.9/node_modules/axios/lib/platform/browser/classes/FormData.js +0 -4
  222. package/dist/node_modules/.pnpm/axios@1.7.9/node_modules/axios/lib/platform/browser/classes/FormData.js.map +0 -1
  223. package/dist/node_modules/.pnpm/axios@1.7.9/node_modules/axios/lib/platform/browser/classes/URLSearchParams.js +0 -6
  224. package/dist/node_modules/.pnpm/axios@1.7.9/node_modules/axios/lib/platform/browser/classes/URLSearchParams.js.map +0 -1
  225. package/dist/node_modules/.pnpm/axios@1.7.9/node_modules/axios/lib/platform/browser/index.js +0 -16
  226. package/dist/node_modules/.pnpm/axios@1.7.9/node_modules/axios/lib/platform/browser/index.js.map +0 -1
  227. package/dist/node_modules/.pnpm/axios@1.7.9/node_modules/axios/lib/platform/common/utils.js +0 -46
  228. package/dist/node_modules/.pnpm/axios@1.7.9/node_modules/axios/lib/platform/common/utils.js.map +0 -1
  229. package/dist/node_modules/.pnpm/axios@1.7.9/node_modules/axios/lib/platform/index.js +0 -10
  230. package/dist/node_modules/.pnpm/axios@1.7.9/node_modules/axios/lib/platform/index.js.map +0 -1
  231. package/dist/node_modules/.pnpm/axios@1.7.9/node_modules/axios/lib/utils.js +0 -761
  232. package/dist/node_modules/.pnpm/axios@1.7.9/node_modules/axios/lib/utils.js.map +0 -1
  233. package/dist/utils/settings.js +0 -7
  234. package/dist/utils/settings.js.map +0 -1
  235. /package/dist/node_modules/.pnpm/{@rollup_plugin-typescript@12.1.2_rollup@4.29.1_tslib@2.8.1_typescript@5.7.2 → @rollup_plugin-typescript@12.1.2_rollup@4.34.6_tslib@2.8.1_typescript@5.7.3}/node_modules/tslib/tslib.es6.js +0 -0
@@ -1,100 +0,0 @@
1
- import { VERSION } from '../env/data.js';
2
- import AxiosError from '../core/AxiosError.js';
3
-
4
- const validators = {};
5
-
6
- // eslint-disable-next-line func-names
7
- ['object', 'boolean', 'number', 'function', 'string', 'symbol'].forEach((type, i) => {
8
- validators[type] = function validator(thing) {
9
- return typeof thing === type || 'a' + (i < 1 ? 'n ' : ' ') + type;
10
- };
11
- });
12
-
13
- const deprecatedWarnings = {};
14
-
15
- /**
16
- * Transitional option validator
17
- *
18
- * @param {function|boolean?} validator - set to false if the transitional option has been removed
19
- * @param {string?} version - deprecated version / removed since version
20
- * @param {string?} message - some message with additional info
21
- *
22
- * @returns {function}
23
- */
24
- validators.transitional = function transitional(validator, version, message) {
25
- function formatMessage(opt, desc) {
26
- return '[Axios v' + VERSION + '] Transitional option \'' + opt + '\'' + desc + (message ? '. ' + message : '');
27
- }
28
-
29
- // eslint-disable-next-line func-names
30
- return (value, opt, opts) => {
31
- if (validator === false) {
32
- throw new AxiosError(
33
- formatMessage(opt, ' has been removed' + (version ? ' in ' + version : '')),
34
- AxiosError.ERR_DEPRECATED
35
- );
36
- }
37
-
38
- if (version && !deprecatedWarnings[opt]) {
39
- deprecatedWarnings[opt] = true;
40
- // eslint-disable-next-line no-console
41
- console.warn(
42
- formatMessage(
43
- opt,
44
- ' has been deprecated since v' + version + ' and will be removed in the near future'
45
- )
46
- );
47
- }
48
-
49
- return validator ? validator(value, opt, opts) : true;
50
- };
51
- };
52
-
53
- validators.spelling = function spelling(correctSpelling) {
54
- return (value, opt) => {
55
- // eslint-disable-next-line no-console
56
- console.warn(`${opt} is likely a misspelling of ${correctSpelling}`);
57
- return true;
58
- }
59
- };
60
-
61
- /**
62
- * Assert object's properties type
63
- *
64
- * @param {object} options
65
- * @param {object} schema
66
- * @param {boolean?} allowUnknown
67
- *
68
- * @returns {object}
69
- */
70
-
71
- function assertOptions(options, schema, allowUnknown) {
72
- if (typeof options !== 'object') {
73
- throw new AxiosError('options must be an object', AxiosError.ERR_BAD_OPTION_VALUE);
74
- }
75
- const keys = Object.keys(options);
76
- let i = keys.length;
77
- while (i-- > 0) {
78
- const opt = keys[i];
79
- const validator = schema[opt];
80
- if (validator) {
81
- const value = options[opt];
82
- const result = value === undefined || validator(value, opt, options);
83
- if (result !== true) {
84
- throw new AxiosError('option ' + opt + ' must be ' + result, AxiosError.ERR_BAD_OPTION_VALUE);
85
- }
86
- continue;
87
- }
88
- if (allowUnknown !== true) {
89
- throw new AxiosError('Unknown option ' + opt, AxiosError.ERR_BAD_OPTION);
90
- }
91
- }
92
- }
93
-
94
- var validator = {
95
- assertOptions,
96
- validators
97
- };
98
-
99
- export { validator as default };
100
- //# sourceMappingURL=validator.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"validator.js","sources":["../../../../../../../../../../node_modules/.pnpm/axios@1.7.9/node_modules/axios/lib/helpers/validator.js"],"sourcesContent":["'use strict';\n\nimport {VERSION} from '../env/data.js';\nimport AxiosError from '../core/AxiosError.js';\n\nconst validators = {};\n\n// eslint-disable-next-line func-names\n['object', 'boolean', 'number', 'function', 'string', 'symbol'].forEach((type, i) => {\n validators[type] = function validator(thing) {\n return typeof thing === type || 'a' + (i < 1 ? 'n ' : ' ') + type;\n };\n});\n\nconst deprecatedWarnings = {};\n\n/**\n * Transitional option validator\n *\n * @param {function|boolean?} validator - set to false if the transitional option has been removed\n * @param {string?} version - deprecated version / removed since version\n * @param {string?} message - some message with additional info\n *\n * @returns {function}\n */\nvalidators.transitional = function transitional(validator, version, message) {\n function formatMessage(opt, desc) {\n return '[Axios v' + VERSION + '] Transitional option \\'' + opt + '\\'' + desc + (message ? '. ' + message : '');\n }\n\n // eslint-disable-next-line func-names\n return (value, opt, opts) => {\n if (validator === false) {\n throw new AxiosError(\n formatMessage(opt, ' has been removed' + (version ? ' in ' + version : '')),\n AxiosError.ERR_DEPRECATED\n );\n }\n\n if (version && !deprecatedWarnings[opt]) {\n deprecatedWarnings[opt] = true;\n // eslint-disable-next-line no-console\n console.warn(\n formatMessage(\n opt,\n ' has been deprecated since v' + version + ' and will be removed in the near future'\n )\n );\n }\n\n return validator ? validator(value, opt, opts) : true;\n };\n};\n\nvalidators.spelling = function spelling(correctSpelling) {\n return (value, opt) => {\n // eslint-disable-next-line no-console\n console.warn(`${opt} is likely a misspelling of ${correctSpelling}`);\n return true;\n }\n};\n\n/**\n * Assert object's properties type\n *\n * @param {object} options\n * @param {object} schema\n * @param {boolean?} allowUnknown\n *\n * @returns {object}\n */\n\nfunction assertOptions(options, schema, allowUnknown) {\n if (typeof options !== 'object') {\n throw new AxiosError('options must be an object', AxiosError.ERR_BAD_OPTION_VALUE);\n }\n const keys = Object.keys(options);\n let i = keys.length;\n while (i-- > 0) {\n const opt = keys[i];\n const validator = schema[opt];\n if (validator) {\n const value = options[opt];\n const result = value === undefined || validator(value, opt, options);\n if (result !== true) {\n throw new AxiosError('option ' + opt + ' must be ' + result, AxiosError.ERR_BAD_OPTION_VALUE);\n }\n continue;\n }\n if (allowUnknown !== true) {\n throw new AxiosError('Unknown option ' + opt, AxiosError.ERR_BAD_OPTION);\n }\n }\n}\n\nexport default {\n assertOptions,\n validators\n};\n"],"names":[],"mappings":"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","x_google_ignoreList":[0]}
@@ -1,4 +0,0 @@
1
- var Blob$1 = typeof Blob !== 'undefined' ? Blob : null;
2
-
3
- export { Blob$1 as default };
4
- //# sourceMappingURL=Blob.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Blob.js","sources":["../../../../../../../../../../../../node_modules/.pnpm/axios@1.7.9/node_modules/axios/lib/platform/browser/classes/Blob.js"],"sourcesContent":["'use strict'\n\nexport default typeof Blob !== 'undefined' ? Blob : null\n"],"names":[],"mappings":"AAEA,aAAe,OAAO,IAAI,KAAK,WAAW,GAAG,IAAI,GAAG;;;;","x_google_ignoreList":[0]}
@@ -1,4 +0,0 @@
1
- var FormData$1 = typeof FormData !== 'undefined' ? FormData : null;
2
-
3
- export { FormData$1 as default };
4
- //# sourceMappingURL=FormData.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"FormData.js","sources":["../../../../../../../../../../../../node_modules/.pnpm/axios@1.7.9/node_modules/axios/lib/platform/browser/classes/FormData.js"],"sourcesContent":["'use strict';\n\nexport default typeof FormData !== 'undefined' ? FormData : null;\n"],"names":[],"mappings":"AAEA,iBAAe,OAAO,QAAQ,KAAK,WAAW,GAAG,QAAQ,GAAG,IAAI;;;;","x_google_ignoreList":[0]}
@@ -1,6 +0,0 @@
1
- import AxiosURLSearchParams from '../../../helpers/AxiosURLSearchParams.js';
2
-
3
- var URLSearchParams$1 = typeof URLSearchParams !== 'undefined' ? URLSearchParams : AxiosURLSearchParams;
4
-
5
- export { URLSearchParams$1 as default };
6
- //# sourceMappingURL=URLSearchParams.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"URLSearchParams.js","sources":["../../../../../../../../../../../../node_modules/.pnpm/axios@1.7.9/node_modules/axios/lib/platform/browser/classes/URLSearchParams.js"],"sourcesContent":["'use strict';\n\nimport AxiosURLSearchParams from '../../../helpers/AxiosURLSearchParams.js';\nexport default typeof URLSearchParams !== 'undefined' ? URLSearchParams : AxiosURLSearchParams;\n"],"names":[],"mappings":";;AAGA,wBAAe,OAAO,eAAe,KAAK,WAAW,GAAG,eAAe,GAAG,oBAAoB;;;;","x_google_ignoreList":[0]}
@@ -1,16 +0,0 @@
1
- import URLSearchParams from './classes/URLSearchParams.js';
2
- import FormData from './classes/FormData.js';
3
- import Blob from './classes/Blob.js';
4
-
5
- var platform = {
6
- isBrowser: true,
7
- classes: {
8
- URLSearchParams,
9
- FormData,
10
- Blob
11
- },
12
- protocols: ['http', 'https', 'file', 'blob', 'url', 'data']
13
- };
14
-
15
- export { platform as default };
16
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sources":["../../../../../../../../../../../node_modules/.pnpm/axios@1.7.9/node_modules/axios/lib/platform/browser/index.js"],"sourcesContent":["import URLSearchParams from './classes/URLSearchParams.js'\nimport FormData from './classes/FormData.js'\nimport Blob from './classes/Blob.js'\n\nexport default {\n isBrowser: true,\n classes: {\n URLSearchParams,\n FormData,\n Blob\n },\n protocols: ['http', 'https', 'file', 'blob', 'url', 'data']\n};\n"],"names":[],"mappings":";;;;AAIA,eAAe;AACf,EAAE,SAAS,EAAE,IAAI;AACjB,EAAE,OAAO,EAAE;AACX,IAAI,eAAe;AACnB,IAAI,QAAQ;AACZ,IAAI;AACJ,GAAG;AACH,EAAE,SAAS,EAAE,CAAC,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM;AAC5D,CAAC;;;;","x_google_ignoreList":[0]}
@@ -1,46 +0,0 @@
1
- const hasBrowserEnv = typeof window !== 'undefined' && typeof document !== 'undefined';
2
-
3
- const _navigator = typeof navigator === 'object' && navigator || undefined;
4
-
5
- /**
6
- * Determine if we're running in a standard browser environment
7
- *
8
- * This allows axios to run in a web worker, and react-native.
9
- * Both environments support XMLHttpRequest, but not fully standard globals.
10
- *
11
- * web workers:
12
- * typeof window -> undefined
13
- * typeof document -> undefined
14
- *
15
- * react-native:
16
- * navigator.product -> 'ReactNative'
17
- * nativescript
18
- * navigator.product -> 'NativeScript' or 'NS'
19
- *
20
- * @returns {boolean}
21
- */
22
- const hasStandardBrowserEnv = hasBrowserEnv &&
23
- (!_navigator || ['ReactNative', 'NativeScript', 'NS'].indexOf(_navigator.product) < 0);
24
-
25
- /**
26
- * Determine if we're running in a standard browser webWorker environment
27
- *
28
- * Although the `isStandardBrowserEnv` method indicates that
29
- * `allows axios to run in a web worker`, the WebWorker will still be
30
- * filtered out due to its judgment standard
31
- * `typeof window !== 'undefined' && typeof document !== 'undefined'`.
32
- * This leads to a problem when axios post `FormData` in webWorker
33
- */
34
- const hasStandardBrowserWebWorkerEnv = (() => {
35
- return (
36
- typeof WorkerGlobalScope !== 'undefined' &&
37
- // eslint-disable-next-line no-undef
38
- self instanceof WorkerGlobalScope &&
39
- typeof self.importScripts === 'function'
40
- );
41
- })();
42
-
43
- const origin = hasBrowserEnv && window.location.href || 'http://localhost';
44
-
45
- export { hasBrowserEnv, hasStandardBrowserEnv, hasStandardBrowserWebWorkerEnv, _navigator as navigator, origin };
46
- //# sourceMappingURL=utils.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"utils.js","sources":["../../../../../../../../../../../node_modules/.pnpm/axios@1.7.9/node_modules/axios/lib/platform/common/utils.js"],"sourcesContent":["const hasBrowserEnv = typeof window !== 'undefined' && typeof document !== 'undefined';\n\nconst _navigator = typeof navigator === 'object' && navigator || undefined;\n\n/**\n * Determine if we're running in a standard browser environment\n *\n * This allows axios to run in a web worker, and react-native.\n * Both environments support XMLHttpRequest, but not fully standard globals.\n *\n * web workers:\n * typeof window -> undefined\n * typeof document -> undefined\n *\n * react-native:\n * navigator.product -> 'ReactNative'\n * nativescript\n * navigator.product -> 'NativeScript' or 'NS'\n *\n * @returns {boolean}\n */\nconst hasStandardBrowserEnv = hasBrowserEnv &&\n (!_navigator || ['ReactNative', 'NativeScript', 'NS'].indexOf(_navigator.product) < 0);\n\n/**\n * Determine if we're running in a standard browser webWorker environment\n *\n * Although the `isStandardBrowserEnv` method indicates that\n * `allows axios to run in a web worker`, the WebWorker will still be\n * filtered out due to its judgment standard\n * `typeof window !== 'undefined' && typeof document !== 'undefined'`.\n * This leads to a problem when axios post `FormData` in webWorker\n */\nconst hasStandardBrowserWebWorkerEnv = (() => {\n return (\n typeof WorkerGlobalScope !== 'undefined' &&\n // eslint-disable-next-line no-undef\n self instanceof WorkerGlobalScope &&\n typeof self.importScripts === 'function'\n );\n})();\n\nconst origin = hasBrowserEnv && window.location.href || 'http://localhost';\n\nexport {\n hasBrowserEnv,\n hasStandardBrowserWebWorkerEnv,\n hasStandardBrowserEnv,\n _navigator as navigator,\n origin\n}\n"],"names":[],"mappings":"AAAK,MAAC,aAAa,GAAG,OAAO,MAAM,KAAK,WAAW,IAAI,OAAO,QAAQ,KAAK;;AAEtE,MAAC,UAAU,GAAG,OAAO,SAAS,KAAK,QAAQ,IAAI,SAAS,IAAI;;AAEjE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACK,MAAC,qBAAqB,GAAG,aAAa;AAC3C,GAAG,CAAC,UAAU,IAAI,CAAC,aAAa,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC,OAAO,CAAC,UAAU,CAAC,OAAO,CAAC,GAAG,CAAC;;AAEvF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACK,MAAC,8BAA8B,GAAG,CAAC,MAAM;AAC9C,EAAE;AACF,IAAI,OAAO,iBAAiB,KAAK,WAAW;AAC5C;AACA,IAAI,IAAI,YAAY,iBAAiB;AACrC,IAAI,OAAO,IAAI,CAAC,aAAa,KAAK;AAClC;AACA,CAAC;;AAEI,MAAC,MAAM,GAAG,aAAa,IAAI,MAAM,CAAC,QAAQ,CAAC,IAAI,IAAI;;;;","x_google_ignoreList":[0]}
@@ -1,10 +0,0 @@
1
- import platform$1 from './browser/index.js';
2
- import * as utils from './common/utils.js';
3
-
4
- var platform = {
5
- ...utils,
6
- ...platform$1
7
- };
8
-
9
- export { platform as default };
10
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sources":["../../../../../../../../../../node_modules/.pnpm/axios@1.7.9/node_modules/axios/lib/platform/index.js"],"sourcesContent":["import platform from './node/index.js';\nimport * as utils from './common/utils.js';\n\nexport default {\n ...utils,\n ...platform\n}\n"],"names":["platform"],"mappings":";;;AAGA,eAAe;AACf,EAAE,GAAG,KAAK;AACV,EAAE,GAAGA;AACL;;;;","x_google_ignoreList":[0]}