authing_ruby 1.1.4 → 1.1.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (462) hide show
  1. checksums.yaml +4 -4
  2. data/authing_ruby.gemspec +4 -2
  3. data/lib/authing_ruby/common/PublicKeyManager.rb +12 -1
  4. data/lib/authing_ruby/version.rb +1 -1
  5. metadata +10 -467
  6. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/CONTRIBUTION.md +0 -23
  7. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/LICENSE +0 -21
  8. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/README.md +0 -303
  9. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build-doc.js +0 -520
  10. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/browser/index.min.js +0 -2
  11. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/browser/index.min.js.LICENSE.txt +0 -91
  12. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/index.d.ts +0 -7
  13. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/index.js +0 -20
  14. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/authentication/AuthenticationClient.d.ts +0 -1118
  15. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/authentication/AuthenticationClient.js +0 -2859
  16. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/authentication/AuthenticationTokenProvider.d.ts +0 -13
  17. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/authentication/AuthenticationTokenProvider.js +0 -56
  18. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/authentication/BaseAuthenticationClient.d.ts +0 -6
  19. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/authentication/BaseAuthenticationClient.js +0 -31
  20. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/authentication/EnterpriseAuthenticationClient.d.ts +0 -92
  21. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/authentication/EnterpriseAuthenticationClient.js +0 -250
  22. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/authentication/MfaAuthenticationClient.d.ts +0 -303
  23. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/authentication/MfaAuthenticationClient.js +0 -665
  24. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/authentication/QrCodeAuthenticationClient.d.ts +0 -232
  25. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/authentication/QrCodeAuthenticationClient.js +0 -622
  26. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/authentication/SocialAuthenticationClient.d.ts +0 -104
  27. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/authentication/SocialAuthenticationClient.js +0 -180
  28. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/authentication/types.d.ts +0 -341
  29. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/authentication/types.js +0 -69
  30. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/common/GraphqlClient.d.ts +0 -14
  31. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/common/GraphqlClient.js +0 -127
  32. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/common/HttpClient.d.ts +0 -19
  33. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/common/HttpClient.js +0 -151
  34. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/common/PublicKeyManager.d.ts +0 -18
  35. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/common/PublicKeyManager.js +0 -81
  36. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/graphqlapi.d.ts +0 -121
  37. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/graphqlapi.js +0 -2002
  38. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/AclManagementClient.d.ts +0 -236
  39. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/AclManagementClient.js +0 -863
  40. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/AgreementManagementClient.d.ts +0 -65
  41. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/AgreementManagementClient.js +0 -195
  42. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/ApplicationsManagementClient.d.ts +0 -216
  43. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/ApplicationsManagementClient.js +0 -533
  44. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/GroupsManagementClient.d.ts +0 -188
  45. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/GroupsManagementClient.js +0 -404
  46. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/MFAManagementClient.d.ts +0 -58
  47. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/MFAManagementClient.js +0 -126
  48. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/ManagementClient.d.ts +0 -79
  49. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/ManagementClient.js +0 -203
  50. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/ManagementTokenProvider.d.ts +0 -39
  51. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/ManagementTokenProvider.js +0 -159
  52. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/OrgManagementClient.d.ts +0 -521
  53. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/OrgManagementClient.js +0 -840
  54. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/PoliciesManagementClient.d.ts +0 -304
  55. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/PoliciesManagementClient.js +0 -512
  56. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/RolesManagementClient.d.ts +0 -296
  57. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/RolesManagementClient.js +0 -711
  58. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/StatisticsManagementClient.d.ts +0 -56
  59. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/StatisticsManagementClient.js +0 -198
  60. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/UdfManagementClient.d.ts +0 -146
  61. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/UdfManagementClient.js +0 -264
  62. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/UserActionManagementClient.d.ts +0 -44
  63. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/UserActionManagementClient.js +0 -106
  64. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/UserpoolManagementClient.d.ts +0 -142
  65. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/UserpoolManagementClient.js +0 -241
  66. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/UsersManagementClient.d.ts +0 -784
  67. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/UsersManagementClient.js +0 -1251
  68. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/WhitelistManagementClient.d.ts +0 -114
  69. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/WhitelistManagementClient.js +0 -259
  70. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/types.d.ts +0 -992
  71. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/types.js +0 -96
  72. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/platform/express/index.d.ts +0 -30
  73. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/platform/express/index.js +0 -126
  74. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/testing-helper.d.ts +0 -31
  75. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/testing-helper.js +0 -67
  76. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/utils.d.ts +0 -53
  77. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/utils.js +0 -343
  78. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/version.d.ts +0 -1
  79. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/version.js +0 -5
  80. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/types/graphql.v2.d.ts +0 -6241
  81. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/types/graphql.v2.js +0 -251
  82. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/types/index.d.ts +0 -7
  83. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/types/index.js +0 -3
  84. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/index.d.ts +0 -7
  85. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/index.js +0 -8
  86. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/authentication/AuthenticationClient.d.ts +0 -1118
  87. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/authentication/AuthenticationClient.js +0 -2853
  88. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/authentication/AuthenticationTokenProvider.d.ts +0 -13
  89. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/authentication/AuthenticationTokenProvider.js +0 -53
  90. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/authentication/BaseAuthenticationClient.d.ts +0 -6
  91. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/authentication/BaseAuthenticationClient.js +0 -28
  92. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/authentication/EnterpriseAuthenticationClient.d.ts +0 -92
  93. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/authentication/EnterpriseAuthenticationClient.js +0 -247
  94. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/authentication/MfaAuthenticationClient.d.ts +0 -303
  95. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/authentication/MfaAuthenticationClient.js +0 -662
  96. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/authentication/QrCodeAuthenticationClient.d.ts +0 -232
  97. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/authentication/QrCodeAuthenticationClient.js +0 -619
  98. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/authentication/SocialAuthenticationClient.d.ts +0 -104
  99. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/authentication/SocialAuthenticationClient.js +0 -177
  100. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/authentication/types.d.ts +0 -341
  101. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/authentication/types.js +0 -66
  102. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/common/GraphqlClient.d.ts +0 -14
  103. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/common/GraphqlClient.js +0 -121
  104. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/common/HttpClient.d.ts +0 -19
  105. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/common/HttpClient.js +0 -145
  106. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/common/PublicKeyManager.d.ts +0 -18
  107. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/common/PublicKeyManager.js +0 -78
  108. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/graphqlapi.d.ts +0 -121
  109. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/graphqlapi.js +0 -1999
  110. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/AclManagementClient.d.ts +0 -236
  111. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/AclManagementClient.js +0 -860
  112. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/AgreementManagementClient.d.ts +0 -65
  113. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/AgreementManagementClient.js +0 -192
  114. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/ApplicationsManagementClient.d.ts +0 -216
  115. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/ApplicationsManagementClient.js +0 -530
  116. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/GroupsManagementClient.d.ts +0 -188
  117. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/GroupsManagementClient.js +0 -401
  118. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/MFAManagementClient.d.ts +0 -58
  119. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/MFAManagementClient.js +0 -123
  120. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/ManagementClient.d.ts +0 -79
  121. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/ManagementClient.js +0 -197
  122. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/ManagementTokenProvider.d.ts +0 -39
  123. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/ManagementTokenProvider.js +0 -153
  124. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/OrgManagementClient.d.ts +0 -521
  125. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/OrgManagementClient.js +0 -818
  126. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/PoliciesManagementClient.d.ts +0 -304
  127. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/PoliciesManagementClient.js +0 -509
  128. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/RolesManagementClient.d.ts +0 -296
  129. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/RolesManagementClient.js +0 -708
  130. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/StatisticsManagementClient.d.ts +0 -56
  131. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/StatisticsManagementClient.js +0 -195
  132. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/UdfManagementClient.d.ts +0 -146
  133. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/UdfManagementClient.js +0 -261
  134. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/UserActionManagementClient.d.ts +0 -44
  135. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/UserActionManagementClient.js +0 -103
  136. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/UserpoolManagementClient.d.ts +0 -142
  137. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/UserpoolManagementClient.js +0 -238
  138. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/UsersManagementClient.d.ts +0 -784
  139. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/UsersManagementClient.js +0 -1248
  140. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/WhitelistManagementClient.d.ts +0 -114
  141. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/WhitelistManagementClient.js +0 -256
  142. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/types.d.ts +0 -992
  143. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/types.js +0 -93
  144. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/platform/express/index.d.ts +0 -30
  145. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/platform/express/index.js +0 -123
  146. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/testing-helper.d.ts +0 -31
  147. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/testing-helper.js +0 -62
  148. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/utils.d.ts +0 -53
  149. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/utils.js +0 -336
  150. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/version.d.ts +0 -1
  151. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/version.js +0 -2
  152. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/types/graphql.v2.d.ts +0 -6241
  153. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/types/graphql.v2.js +0 -248
  154. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/types/index.d.ts +0 -7
  155. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/types/index.js +0 -1
  156. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/index.d.ts +0 -7
  157. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/index.js +0 -30
  158. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/authentication/AuthenticationClient.d.ts +0 -1118
  159. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/authentication/AuthenticationClient.js +0 -2869
  160. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/authentication/AuthenticationTokenProvider.d.ts +0 -13
  161. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/authentication/AuthenticationTokenProvider.js +0 -66
  162. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/authentication/BaseAuthenticationClient.d.ts +0 -6
  163. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/authentication/BaseAuthenticationClient.js +0 -41
  164. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/authentication/EnterpriseAuthenticationClient.d.ts +0 -92
  165. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/authentication/EnterpriseAuthenticationClient.js +0 -260
  166. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/authentication/MfaAuthenticationClient.d.ts +0 -303
  167. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/authentication/MfaAuthenticationClient.js +0 -675
  168. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/authentication/QrCodeAuthenticationClient.d.ts +0 -232
  169. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/authentication/QrCodeAuthenticationClient.js +0 -632
  170. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/authentication/SocialAuthenticationClient.d.ts +0 -104
  171. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/authentication/SocialAuthenticationClient.js +0 -190
  172. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/authentication/types.d.ts +0 -341
  173. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/authentication/types.js +0 -79
  174. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/common/GraphqlClient.d.ts +0 -14
  175. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/common/GraphqlClient.js +0 -137
  176. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/common/HttpClient.d.ts +0 -19
  177. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/common/HttpClient.js +0 -161
  178. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/common/PublicKeyManager.d.ts +0 -18
  179. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/common/PublicKeyManager.js +0 -91
  180. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/graphqlapi.d.ts +0 -121
  181. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/graphqlapi.js +0 -2012
  182. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/AclManagementClient.d.ts +0 -236
  183. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/AclManagementClient.js +0 -873
  184. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/AgreementManagementClient.d.ts +0 -65
  185. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/AgreementManagementClient.js +0 -205
  186. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/ApplicationsManagementClient.d.ts +0 -216
  187. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/ApplicationsManagementClient.js +0 -543
  188. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/GroupsManagementClient.d.ts +0 -188
  189. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/GroupsManagementClient.js +0 -414
  190. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/MFAManagementClient.d.ts +0 -58
  191. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/MFAManagementClient.js +0 -136
  192. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/ManagementClient.d.ts +0 -79
  193. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/ManagementClient.js +0 -213
  194. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/ManagementTokenProvider.d.ts +0 -39
  195. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/ManagementTokenProvider.js +0 -169
  196. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/OrgManagementClient.d.ts +0 -521
  197. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/OrgManagementClient.js +0 -850
  198. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/PoliciesManagementClient.d.ts +0 -304
  199. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/PoliciesManagementClient.js +0 -522
  200. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/RolesManagementClient.d.ts +0 -296
  201. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/RolesManagementClient.js +0 -721
  202. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/StatisticsManagementClient.d.ts +0 -56
  203. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/StatisticsManagementClient.js +0 -208
  204. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/UdfManagementClient.d.ts +0 -146
  205. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/UdfManagementClient.js +0 -274
  206. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/UserActionManagementClient.d.ts +0 -44
  207. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/UserActionManagementClient.js +0 -116
  208. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/UserpoolManagementClient.d.ts +0 -142
  209. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/UserpoolManagementClient.js +0 -251
  210. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/UsersManagementClient.d.ts +0 -784
  211. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/UsersManagementClient.js +0 -1261
  212. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/WhitelistManagementClient.d.ts +0 -114
  213. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/WhitelistManagementClient.js +0 -269
  214. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/types.d.ts +0 -992
  215. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/types.js +0 -106
  216. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/platform/express/index.d.ts +0 -30
  217. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/platform/express/index.js +0 -136
  218. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/testing-helper.d.ts +0 -31
  219. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/testing-helper.js +0 -77
  220. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/utils.d.ts +0 -53
  221. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/utils.js +0 -353
  222. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/version.d.ts +0 -1
  223. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/version.js +0 -15
  224. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/types/graphql.v2.d.ts +0 -6241
  225. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/types/graphql.v2.js +0 -261
  226. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/types/index.d.ts +0 -7
  227. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/types/index.js +0 -13
  228. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/CHANGELOG.md +0 -413
  229. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/LICENSE +0 -19
  230. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/README.md +0 -709
  231. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/UPGRADE_GUIDE.md +0 -162
  232. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/dist/axios.js +0 -1715
  233. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/dist/axios.map +0 -1
  234. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/dist/axios.min.js +0 -3
  235. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/dist/axios.min.map +0 -1
  236. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/index.d.ts +0 -157
  237. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/index.js +0 -1
  238. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/lib/adapters/README.md +0 -37
  239. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/lib/adapters/http.js +0 -279
  240. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/lib/adapters/xhr.js +0 -180
  241. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/lib/axios.js +0 -53
  242. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/lib/cancel/Cancel.js +0 -19
  243. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/lib/cancel/CancelToken.js +0 -57
  244. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/lib/cancel/isCancel.js +0 -5
  245. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/lib/core/Axios.js +0 -94
  246. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/lib/core/InterceptorManager.js +0 -52
  247. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/lib/core/README.md +0 -7
  248. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/lib/core/buildFullPath.js +0 -20
  249. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/lib/core/createError.js +0 -18
  250. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/lib/core/dispatchRequest.js +0 -79
  251. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/lib/core/enhanceError.js +0 -42
  252. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/lib/core/mergeConfig.js +0 -73
  253. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/lib/core/settle.js +0 -25
  254. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/lib/core/transformData.js +0 -20
  255. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/lib/defaults.js +0 -97
  256. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/lib/helpers/README.md +0 -7
  257. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/lib/helpers/bind.js +0 -11
  258. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/lib/helpers/buildURL.js +0 -71
  259. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/lib/helpers/combineURLs.js +0 -14
  260. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/lib/helpers/cookies.js +0 -53
  261. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/lib/helpers/deprecatedMethod.js +0 -24
  262. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/lib/helpers/isAbsoluteURL.js +0 -14
  263. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/lib/helpers/isURLSameOrigin.js +0 -68
  264. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/lib/helpers/normalizeHeaderName.js +0 -12
  265. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/lib/helpers/parseHeaders.js +0 -53
  266. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/lib/helpers/spread.js +0 -27
  267. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/lib/utils.js +0 -344
  268. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/package.json +0 -84
  269. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/follow-redirects/LICENSE +0 -18
  270. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/follow-redirects/README.md +0 -155
  271. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/follow-redirects/http.js +0 -1
  272. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/follow-redirects/https.js +0 -1
  273. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/follow-redirects/index.js +0 -322
  274. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/follow-redirects/package.json +0 -60
  275. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/package.json +0 -129
  276. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/tests/index.html +0 -21
  277. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/tsconfig.brower.json +0 -45
  278. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/tsconfig.node.json +0 -0
  279. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/webpack.config.js +0 -41
  280. data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/CHANGELOG.md +0 -685
  281. data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/LICENSE +0 -19
  282. data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/README.md +0 -800
  283. data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/UPGRADE_GUIDE.md +0 -162
  284. data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/dist/axios.js +0 -1756
  285. data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/dist/axios.map +0 -1
  286. data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/dist/axios.min.js +0 -3
  287. data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/dist/axios.min.map +0 -1
  288. data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/index.d.ts +0 -161
  289. data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/index.js +0 -1
  290. data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/lib/adapters/README.md +0 -37
  291. data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/lib/adapters/http.js +0 -303
  292. data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/lib/adapters/xhr.js +0 -179
  293. data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/lib/axios.js +0 -56
  294. data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/lib/cancel/Cancel.js +0 -19
  295. data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/lib/cancel/CancelToken.js +0 -57
  296. data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/lib/cancel/isCancel.js +0 -5
  297. data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/lib/core/Axios.js +0 -95
  298. data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/lib/core/InterceptorManager.js +0 -52
  299. data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/lib/core/README.md +0 -7
  300. data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/lib/core/buildFullPath.js +0 -20
  301. data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/lib/core/createError.js +0 -18
  302. data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/lib/core/dispatchRequest.js +0 -79
  303. data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/lib/core/enhanceError.js +0 -42
  304. data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/lib/core/mergeConfig.js +0 -87
  305. data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/lib/core/settle.js +0 -25
  306. data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/lib/core/transformData.js +0 -20
  307. data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/lib/defaults.js +0 -98
  308. data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/lib/helpers/README.md +0 -7
  309. data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/lib/helpers/bind.js +0 -11
  310. data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/lib/helpers/buildURL.js +0 -70
  311. data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/lib/helpers/combineURLs.js +0 -14
  312. data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/lib/helpers/cookies.js +0 -53
  313. data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/lib/helpers/deprecatedMethod.js +0 -24
  314. data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/lib/helpers/isAbsoluteURL.js +0 -14
  315. data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/lib/helpers/isAxiosError.js +0 -11
  316. data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/lib/helpers/isURLSameOrigin.js +0 -68
  317. data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/lib/helpers/normalizeHeaderName.js +0 -12
  318. data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/lib/helpers/parseHeaders.js +0 -53
  319. data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/lib/helpers/spread.js +0 -27
  320. data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/lib/utils.js +0 -351
  321. data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/package.json +0 -86
  322. data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/CONTRIBUTING.md +0 -28
  323. data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/LICENSE +0 -24
  324. data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/README.md +0 -249
  325. data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/aes.js +0 -234
  326. data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/bower.json +0 -35
  327. data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/cipher-core.js +0 -890
  328. data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/core.js +0 -797
  329. data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/crypto-js.js +0 -6059
  330. data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/docs/QuickStartGuide.wiki +0 -470
  331. data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/enc-base64.js +0 -136
  332. data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/enc-hex.js +0 -18
  333. data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/enc-latin1.js +0 -18
  334. data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/enc-utf16.js +0 -149
  335. data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/enc-utf8.js +0 -18
  336. data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/evpkdf.js +0 -134
  337. data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/format-hex.js +0 -66
  338. data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/format-openssl.js +0 -18
  339. data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/hmac-md5.js +0 -18
  340. data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/hmac-ripemd160.js +0 -18
  341. data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/hmac-sha1.js +0 -18
  342. data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/hmac-sha224.js +0 -18
  343. data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/hmac-sha256.js +0 -18
  344. data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/hmac-sha3.js +0 -18
  345. data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/hmac-sha384.js +0 -18
  346. data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/hmac-sha512.js +0 -18
  347. data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/hmac.js +0 -143
  348. data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/index.js +0 -18
  349. data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/lib-typedarrays.js +0 -76
  350. data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/md5.js +0 -268
  351. data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/mode-cfb.js +0 -80
  352. data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/mode-ctr-gladman.js +0 -116
  353. data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/mode-ctr.js +0 -58
  354. data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/mode-ecb.js +0 -40
  355. data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/mode-ofb.js +0 -54
  356. data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/package.json +0 -38
  357. data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/pad-ansix923.js +0 -49
  358. data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/pad-iso10126.js +0 -44
  359. data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/pad-iso97971.js +0 -40
  360. data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/pad-nopadding.js +0 -30
  361. data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/pad-pkcs7.js +0 -18
  362. data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/pad-zeropadding.js +0 -47
  363. data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/pbkdf2.js +0 -145
  364. data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/rabbit-legacy.js +0 -190
  365. data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/rabbit.js +0 -192
  366. data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/rc4.js +0 -139
  367. data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/ripemd160.js +0 -267
  368. data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/sha1.js +0 -150
  369. data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/sha224.js +0 -80
  370. data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/sha256.js +0 -199
  371. data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/sha3.js +0 -326
  372. data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/sha384.js +0 -83
  373. data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/sha512.js +0 -326
  374. data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/tripledes.js +0 -779
  375. data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/x64-core.js +0 -304
  376. data/lib/authing_ruby/test/js_sdk_test/node_modules/debug/CHANGELOG.md +0 -395
  377. data/lib/authing_ruby/test/js_sdk_test/node_modules/debug/LICENSE +0 -19
  378. data/lib/authing_ruby/test/js_sdk_test/node_modules/debug/Makefile +0 -58
  379. data/lib/authing_ruby/test/js_sdk_test/node_modules/debug/README.md +0 -368
  380. data/lib/authing_ruby/test/js_sdk_test/node_modules/debug/karma.conf.js +0 -70
  381. data/lib/authing_ruby/test/js_sdk_test/node_modules/debug/node.js +0 -1
  382. data/lib/authing_ruby/test/js_sdk_test/node_modules/debug/package.json +0 -43
  383. data/lib/authing_ruby/test/js_sdk_test/node_modules/debug/src/browser.js +0 -195
  384. data/lib/authing_ruby/test/js_sdk_test/node_modules/debug/src/debug.js +0 -225
  385. data/lib/authing_ruby/test/js_sdk_test/node_modules/debug/src/index.js +0 -10
  386. data/lib/authing_ruby/test/js_sdk_test/node_modules/debug/src/node.js +0 -186
  387. data/lib/authing_ruby/test/js_sdk_test/node_modules/dotenv/CHANGELOG.md +0 -210
  388. data/lib/authing_ruby/test/js_sdk_test/node_modules/dotenv/LICENSE +0 -23
  389. data/lib/authing_ruby/test/js_sdk_test/node_modules/dotenv/README.md +0 -275
  390. data/lib/authing_ruby/test/js_sdk_test/node_modules/dotenv/config.js +0 -11
  391. data/lib/authing_ruby/test/js_sdk_test/node_modules/dotenv/lib/cli-options.js +0 -13
  392. data/lib/authing_ruby/test/js_sdk_test/node_modules/dotenv/lib/env-options.js +0 -18
  393. data/lib/authing_ruby/test/js_sdk_test/node_modules/dotenv/lib/main.js +0 -118
  394. data/lib/authing_ruby/test/js_sdk_test/node_modules/dotenv/package.json +0 -57
  395. data/lib/authing_ruby/test/js_sdk_test/node_modules/dotenv/types/index.d.ts +0 -59
  396. data/lib/authing_ruby/test/js_sdk_test/node_modules/dotenv/types/test.ts +0 -19
  397. data/lib/authing_ruby/test/js_sdk_test/node_modules/dotenv/types/tsconfig.json +0 -15
  398. data/lib/authing_ruby/test/js_sdk_test/node_modules/dotenv/types/tslint.json +0 -6
  399. data/lib/authing_ruby/test/js_sdk_test/node_modules/follow-redirects/LICENSE +0 -18
  400. data/lib/authing_ruby/test/js_sdk_test/node_modules/follow-redirects/README.md +0 -148
  401. data/lib/authing_ruby/test/js_sdk_test/node_modules/follow-redirects/debug.js +0 -14
  402. data/lib/authing_ruby/test/js_sdk_test/node_modules/follow-redirects/http.js +0 -1
  403. data/lib/authing_ruby/test/js_sdk_test/node_modules/follow-redirects/https.js +0 -1
  404. data/lib/authing_ruby/test/js_sdk_test/node_modules/follow-redirects/index.js +0 -531
  405. data/lib/authing_ruby/test/js_sdk_test/node_modules/follow-redirects/package.json +0 -59
  406. data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/LICENSE.txt +0 -107
  407. data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/README.md +0 -192
  408. data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/bin/jsencrypt.js +0 -249
  409. data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/bin/jsencrypt.min.js +0 -2
  410. data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/bin/jsencrypt.min.js.LICENSE.txt +0 -8
  411. data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/lib/JSEncrypt.d.ts +0 -116
  412. data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/lib/JSEncrypt.js +0 -186
  413. data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/lib/JSEncryptRSAKey.d.ts +0 -142
  414. data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/lib/JSEncryptRSAKey.js +0 -315
  415. data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/lib/index.d.ts +0 -3
  416. data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/lib/index.js +0 -3
  417. data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/lib/lib/asn1js/asn1.d.ts +0 -51
  418. data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/lib/lib/asn1js/asn1.js +0 -565
  419. data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/lib/lib/asn1js/base64.d.ts +0 -5
  420. data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/lib/lib/asn1js/base64.js +0 -88
  421. data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/lib/lib/asn1js/hex.d.ts +0 -3
  422. data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/lib/lib/asn1js/hex.js +0 -64
  423. data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/lib/lib/asn1js/int10.d.ts +0 -9
  424. data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/lib/lib/asn1js/int10.js +0 -87
  425. data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/lib/lib/asn1js/oids.d.ts +0 -9778
  426. data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/lib/lib/asn1js/oids.js +0 -1962
  427. data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/lib/lib/jsbn/base64.d.ts +0 -3
  428. data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/lib/lib/jsbn/base64.js +0 -76
  429. data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/lib/lib/jsbn/jsbn.d.ts +0 -98
  430. data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/lib/lib/jsbn/jsbn.js +0 -1754
  431. data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/lib/lib/jsbn/prng4.d.ts +0 -10
  432. data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/lib/lib/jsbn/prng4.js +0 -46
  433. data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/lib/lib/jsbn/rng.d.ts +0 -3
  434. data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/lib/lib/jsbn/rng.js +0 -76
  435. data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/lib/lib/jsbn/rsa.d.ts +0 -23
  436. data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/lib/lib/jsbn/rsa.js +0 -373
  437. data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/lib/lib/jsbn/util.d.ts +0 -7
  438. data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/lib/lib/jsbn/util.js +0 -58
  439. data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/lib/lib/jsrsasign/asn1-1.0.js +0 -1593
  440. data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/lib/lib/jsrsasign/yahoo.js +0 -69
  441. data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/lib/version.json +0 -1
  442. data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/package.json +0 -49
  443. data/lib/authing_ruby/test/js_sdk_test/node_modules/jwt-decode/Gruntfile.js +0 -78
  444. data/lib/authing_ruby/test/js_sdk_test/node_modules/jwt-decode/LICENSE +0 -21
  445. data/lib/authing_ruby/test/js_sdk_test/node_modules/jwt-decode/README.md +0 -55
  446. data/lib/authing_ruby/test/js_sdk_test/node_modules/jwt-decode/bower.json +0 -20
  447. data/lib/authing_ruby/test/js_sdk_test/node_modules/jwt-decode/build/jwt-decode.js +0 -125
  448. data/lib/authing_ruby/test/js_sdk_test/node_modules/jwt-decode/build/jwt-decode.min.js +0 -1
  449. data/lib/authing_ruby/test/js_sdk_test/node_modules/jwt-decode/jwt-decode.html +0 -2
  450. data/lib/authing_ruby/test/js_sdk_test/node_modules/jwt-decode/lib/atob.js +0 -38
  451. data/lib/authing_ruby/test/js_sdk_test/node_modules/jwt-decode/lib/base64_url_decode.js +0 -33
  452. data/lib/authing_ruby/test/js_sdk_test/node_modules/jwt-decode/lib/index.js +0 -26
  453. data/lib/authing_ruby/test/js_sdk_test/node_modules/jwt-decode/package.json +0 -37
  454. data/lib/authing_ruby/test/js_sdk_test/node_modules/jwt-decode/standalone.js +0 -16
  455. data/lib/authing_ruby/test/js_sdk_test/node_modules/jwt-decode/test/tests.js +0 -53
  456. data/lib/authing_ruby/test/js_sdk_test/node_modules/jwt-decode/test_harness.html +0 -29
  457. data/lib/authing_ruby/test/js_sdk_test/node_modules/jwt-decode/testem.yml +0 -46
  458. data/lib/authing_ruby/test/js_sdk_test/node_modules/jwt-decode/testem_dev.yml +0 -1
  459. data/lib/authing_ruby/test/js_sdk_test/node_modules/ms/index.js +0 -152
  460. data/lib/authing_ruby/test/js_sdk_test/node_modules/ms/license.md +0 -21
  461. data/lib/authing_ruby/test/js_sdk_test/node_modules/ms/package.json +0 -37
  462. data/lib/authing_ruby/test/js_sdk_test/node_modules/ms/readme.md +0 -51
@@ -1,162 +0,0 @@
1
- # Upgrade Guide
2
-
3
- ### 0.15.x -> 0.16.0
4
-
5
- #### `Promise` Type Declarations
6
-
7
- The `Promise` type declarations have been removed from the axios typings in favor of the built-in type declarations. If you use axios in a TypeScript project that targets `ES5`, please make sure to include the `es2015.promise` lib. Please see [this post](https://blog.mariusschulz.com/2016/11/25/typescript-2-0-built-in-type-declarations) for details.
8
-
9
- ### 0.13.x -> 0.14.0
10
-
11
- #### TypeScript Definitions
12
-
13
- The axios TypeScript definitions have been updated to match the axios API and use the ES2015 module syntax.
14
-
15
- Please use the following `import` statement to import axios in TypeScript:
16
-
17
- ```typescript
18
- import axios from 'axios';
19
-
20
- axios.get('/foo')
21
- .then(response => console.log(response))
22
- .catch(error => console.log(error));
23
- ```
24
-
25
- #### `agent` Config Option
26
-
27
- The `agent` config option has been replaced with two new options: `httpAgent` and `httpsAgent`. Please use them instead.
28
-
29
- ```js
30
- {
31
- // Define a custom agent for HTTP
32
- httpAgent: new http.Agent({ keepAlive: true }),
33
- // Define a custom agent for HTTPS
34
- httpsAgent: new https.Agent({ keepAlive: true })
35
- }
36
- ```
37
-
38
- #### `progress` Config Option
39
-
40
- The `progress` config option has been replaced with the `onUploadProgress` and `onDownloadProgress` options.
41
-
42
- ```js
43
- {
44
- // Define a handler for upload progress events
45
- onUploadProgress: function (progressEvent) {
46
- // ...
47
- },
48
-
49
- // Define a handler for download progress events
50
- onDownloadProgress: function (progressEvent) {
51
- // ...
52
- }
53
- }
54
- ```
55
-
56
- ### 0.12.x -> 0.13.0
57
-
58
- The `0.13.0` release contains several changes to custom adapters and error handling.
59
-
60
- #### Error Handling
61
-
62
- Previous to this release an error could either be a server response with bad status code or an actual `Error`. With this release Promise will always reject with an `Error`. In the case that a response was received, the `Error` will also include the response.
63
-
64
- ```js
65
- axios.get('/user/12345')
66
- .catch((error) => {
67
- console.log(error.message);
68
- console.log(error.code); // Not always specified
69
- console.log(error.config); // The config that was used to make the request
70
- console.log(error.response); // Only available if response was received from the server
71
- });
72
- ```
73
-
74
- #### Request Adapters
75
-
76
- This release changes a few things about how request adapters work. Please take note if you are using your own custom adapter.
77
-
78
- 1. Response transformer is now called outside of adapter.
79
- 2. Request adapter returns a `Promise`.
80
-
81
- This means that you no longer need to invoke `transformData` on response data. You will also no longer receive `resolve` and `reject` as arguments in your adapter.
82
-
83
- Previous code:
84
-
85
- ```js
86
- function myAdapter(resolve, reject, config) {
87
- var response = {
88
- data: transformData(
89
- responseData,
90
- responseHeaders,
91
- config.transformResponse
92
- ),
93
- status: request.status,
94
- statusText: request.statusText,
95
- headers: responseHeaders
96
- };
97
- settle(resolve, reject, response);
98
- }
99
- ```
100
-
101
- New code:
102
-
103
- ```js
104
- function myAdapter(config) {
105
- return new Promise(function (resolve, reject) {
106
- var response = {
107
- data: responseData,
108
- status: request.status,
109
- statusText: request.statusText,
110
- headers: responseHeaders
111
- };
112
- settle(resolve, reject, response);
113
- });
114
- }
115
- ```
116
-
117
- See the related commits for more details:
118
- - [Response transformers](https://github.com/axios/axios/commit/10eb23865101f9347570552c04e9d6211376e25e)
119
- - [Request adapter Promise](https://github.com/axios/axios/commit/157efd5615890301824e3121cc6c9d2f9b21f94a)
120
-
121
- ### 0.5.x -> 0.6.0
122
-
123
- The `0.6.0` release contains mostly bug fixes, but there are a couple things to be aware of when upgrading.
124
-
125
- #### ES6 Promise Polyfill
126
-
127
- Up until the `0.6.0` release ES6 `Promise` was being polyfilled using [es6-promise](https://github.com/jakearchibald/es6-promise). With this release, the polyfill has been removed, and you will need to supply it yourself if your environment needs it.
128
-
129
- ```js
130
- require('es6-promise').polyfill();
131
- var axios = require('axios');
132
- ```
133
-
134
- This will polyfill the global environment, and only needs to be done once.
135
-
136
- #### `axios.success`/`axios.error`
137
-
138
- The `success`, and `error` aliases were deprectated in [0.4.0](https://github.com/axios/axios/blob/master/CHANGELOG.md#040-oct-03-2014). As of this release they have been removed entirely. Instead please use `axios.then`, and `axios.catch` respectively.
139
-
140
- ```js
141
- axios.get('some/url')
142
- .then(function (res) {
143
- /* ... */
144
- })
145
- .catch(function (err) {
146
- /* ... */
147
- });
148
- ```
149
-
150
- #### UMD
151
-
152
- Previous versions of axios shipped with an AMD, CommonJS, and Global build. This has all been rolled into a single UMD build.
153
-
154
- ```js
155
- // AMD
156
- require(['bower_components/axios/dist/axios'], function (axios) {
157
- /* ... */
158
- });
159
-
160
- // CommonJS
161
- var axios = require('axios/dist/axios');
162
- ```
@@ -1,1715 +0,0 @@
1
- /* axios v0.19.2 | (c) 2020 by Matt Zabriskie */
2
- (function webpackUniversalModuleDefinition(root, factory) {
3
- if(typeof exports === 'object' && typeof module === 'object')
4
- module.exports = factory();
5
- else if(typeof define === 'function' && define.amd)
6
- define([], factory);
7
- else if(typeof exports === 'object')
8
- exports["axios"] = factory();
9
- else
10
- root["axios"] = factory();
11
- })(this, function() {
12
- return /******/ (function(modules) { // webpackBootstrap
13
- /******/ // The module cache
14
- /******/ var installedModules = {};
15
- /******/
16
- /******/ // The require function
17
- /******/ function __webpack_require__(moduleId) {
18
- /******/
19
- /******/ // Check if module is in cache
20
- /******/ if(installedModules[moduleId])
21
- /******/ return installedModules[moduleId].exports;
22
- /******/
23
- /******/ // Create a new module (and put it into the cache)
24
- /******/ var module = installedModules[moduleId] = {
25
- /******/ exports: {},
26
- /******/ id: moduleId,
27
- /******/ loaded: false
28
- /******/ };
29
- /******/
30
- /******/ // Execute the module function
31
- /******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
32
- /******/
33
- /******/ // Flag the module as loaded
34
- /******/ module.loaded = true;
35
- /******/
36
- /******/ // Return the exports of the module
37
- /******/ return module.exports;
38
- /******/ }
39
- /******/
40
- /******/
41
- /******/ // expose the modules object (__webpack_modules__)
42
- /******/ __webpack_require__.m = modules;
43
- /******/
44
- /******/ // expose the module cache
45
- /******/ __webpack_require__.c = installedModules;
46
- /******/
47
- /******/ // __webpack_public_path__
48
- /******/ __webpack_require__.p = "";
49
- /******/
50
- /******/ // Load entry module and return exports
51
- /******/ return __webpack_require__(0);
52
- /******/ })
53
- /************************************************************************/
54
- /******/ ([
55
- /* 0 */
56
- /***/ (function(module, exports, __webpack_require__) {
57
-
58
- module.exports = __webpack_require__(1);
59
-
60
- /***/ }),
61
- /* 1 */
62
- /***/ (function(module, exports, __webpack_require__) {
63
-
64
- 'use strict';
65
-
66
- var utils = __webpack_require__(2);
67
- var bind = __webpack_require__(3);
68
- var Axios = __webpack_require__(4);
69
- var mergeConfig = __webpack_require__(22);
70
- var defaults = __webpack_require__(10);
71
-
72
- /**
73
- * Create an instance of Axios
74
- *
75
- * @param {Object} defaultConfig The default config for the instance
76
- * @return {Axios} A new instance of Axios
77
- */
78
- function createInstance(defaultConfig) {
79
- var context = new Axios(defaultConfig);
80
- var instance = bind(Axios.prototype.request, context);
81
-
82
- // Copy axios.prototype to instance
83
- utils.extend(instance, Axios.prototype, context);
84
-
85
- // Copy context to instance
86
- utils.extend(instance, context);
87
-
88
- return instance;
89
- }
90
-
91
- // Create the default instance to be exported
92
- var axios = createInstance(defaults);
93
-
94
- // Expose Axios class to allow class inheritance
95
- axios.Axios = Axios;
96
-
97
- // Factory for creating new instances
98
- axios.create = function create(instanceConfig) {
99
- return createInstance(mergeConfig(axios.defaults, instanceConfig));
100
- };
101
-
102
- // Expose Cancel & CancelToken
103
- axios.Cancel = __webpack_require__(23);
104
- axios.CancelToken = __webpack_require__(24);
105
- axios.isCancel = __webpack_require__(9);
106
-
107
- // Expose all/spread
108
- axios.all = function all(promises) {
109
- return Promise.all(promises);
110
- };
111
- axios.spread = __webpack_require__(25);
112
-
113
- module.exports = axios;
114
-
115
- // Allow use of default import syntax in TypeScript
116
- module.exports.default = axios;
117
-
118
-
119
- /***/ }),
120
- /* 2 */
121
- /***/ (function(module, exports, __webpack_require__) {
122
-
123
- 'use strict';
124
-
125
- var bind = __webpack_require__(3);
126
-
127
- /*global toString:true*/
128
-
129
- // utils is a library of generic helper functions non-specific to axios
130
-
131
- var toString = Object.prototype.toString;
132
-
133
- /**
134
- * Determine if a value is an Array
135
- *
136
- * @param {Object} val The value to test
137
- * @returns {boolean} True if value is an Array, otherwise false
138
- */
139
- function isArray(val) {
140
- return toString.call(val) === '[object Array]';
141
- }
142
-
143
- /**
144
- * Determine if a value is undefined
145
- *
146
- * @param {Object} val The value to test
147
- * @returns {boolean} True if the value is undefined, otherwise false
148
- */
149
- function isUndefined(val) {
150
- return typeof val === 'undefined';
151
- }
152
-
153
- /**
154
- * Determine if a value is a Buffer
155
- *
156
- * @param {Object} val The value to test
157
- * @returns {boolean} True if value is a Buffer, otherwise false
158
- */
159
- function isBuffer(val) {
160
- return val !== null && !isUndefined(val) && val.constructor !== null && !isUndefined(val.constructor)
161
- && typeof val.constructor.isBuffer === 'function' && val.constructor.isBuffer(val);
162
- }
163
-
164
- /**
165
- * Determine if a value is an ArrayBuffer
166
- *
167
- * @param {Object} val The value to test
168
- * @returns {boolean} True if value is an ArrayBuffer, otherwise false
169
- */
170
- function isArrayBuffer(val) {
171
- return toString.call(val) === '[object ArrayBuffer]';
172
- }
173
-
174
- /**
175
- * Determine if a value is a FormData
176
- *
177
- * @param {Object} val The value to test
178
- * @returns {boolean} True if value is an FormData, otherwise false
179
- */
180
- function isFormData(val) {
181
- return (typeof FormData !== 'undefined') && (val instanceof FormData);
182
- }
183
-
184
- /**
185
- * Determine if a value is a view on an ArrayBuffer
186
- *
187
- * @param {Object} val The value to test
188
- * @returns {boolean} True if value is a view on an ArrayBuffer, otherwise false
189
- */
190
- function isArrayBufferView(val) {
191
- var result;
192
- if ((typeof ArrayBuffer !== 'undefined') && (ArrayBuffer.isView)) {
193
- result = ArrayBuffer.isView(val);
194
- } else {
195
- result = (val) && (val.buffer) && (val.buffer instanceof ArrayBuffer);
196
- }
197
- return result;
198
- }
199
-
200
- /**
201
- * Determine if a value is a String
202
- *
203
- * @param {Object} val The value to test
204
- * @returns {boolean} True if value is a String, otherwise false
205
- */
206
- function isString(val) {
207
- return typeof val === 'string';
208
- }
209
-
210
- /**
211
- * Determine if a value is a Number
212
- *
213
- * @param {Object} val The value to test
214
- * @returns {boolean} True if value is a Number, otherwise false
215
- */
216
- function isNumber(val) {
217
- return typeof val === 'number';
218
- }
219
-
220
- /**
221
- * Determine if a value is an Object
222
- *
223
- * @param {Object} val The value to test
224
- * @returns {boolean} True if value is an Object, otherwise false
225
- */
226
- function isObject(val) {
227
- return val !== null && typeof val === 'object';
228
- }
229
-
230
- /**
231
- * Determine if a value is a Date
232
- *
233
- * @param {Object} val The value to test
234
- * @returns {boolean} True if value is a Date, otherwise false
235
- */
236
- function isDate(val) {
237
- return toString.call(val) === '[object Date]';
238
- }
239
-
240
- /**
241
- * Determine if a value is a File
242
- *
243
- * @param {Object} val The value to test
244
- * @returns {boolean} True if value is a File, otherwise false
245
- */
246
- function isFile(val) {
247
- return toString.call(val) === '[object File]';
248
- }
249
-
250
- /**
251
- * Determine if a value is a Blob
252
- *
253
- * @param {Object} val The value to test
254
- * @returns {boolean} True if value is a Blob, otherwise false
255
- */
256
- function isBlob(val) {
257
- return toString.call(val) === '[object Blob]';
258
- }
259
-
260
- /**
261
- * Determine if a value is a Function
262
- *
263
- * @param {Object} val The value to test
264
- * @returns {boolean} True if value is a Function, otherwise false
265
- */
266
- function isFunction(val) {
267
- return toString.call(val) === '[object Function]';
268
- }
269
-
270
- /**
271
- * Determine if a value is a Stream
272
- *
273
- * @param {Object} val The value to test
274
- * @returns {boolean} True if value is a Stream, otherwise false
275
- */
276
- function isStream(val) {
277
- return isObject(val) && isFunction(val.pipe);
278
- }
279
-
280
- /**
281
- * Determine if a value is a URLSearchParams object
282
- *
283
- * @param {Object} val The value to test
284
- * @returns {boolean} True if value is a URLSearchParams object, otherwise false
285
- */
286
- function isURLSearchParams(val) {
287
- return typeof URLSearchParams !== 'undefined' && val instanceof URLSearchParams;
288
- }
289
-
290
- /**
291
- * Trim excess whitespace off the beginning and end of a string
292
- *
293
- * @param {String} str The String to trim
294
- * @returns {String} The String freed of excess whitespace
295
- */
296
- function trim(str) {
297
- return str.replace(/^\s*/, '').replace(/\s*$/, '');
298
- }
299
-
300
- /**
301
- * Determine if we're running in a standard browser environment
302
- *
303
- * This allows axios to run in a web worker, and react-native.
304
- * Both environments support XMLHttpRequest, but not fully standard globals.
305
- *
306
- * web workers:
307
- * typeof window -> undefined
308
- * typeof document -> undefined
309
- *
310
- * react-native:
311
- * navigator.product -> 'ReactNative'
312
- * nativescript
313
- * navigator.product -> 'NativeScript' or 'NS'
314
- */
315
- function isStandardBrowserEnv() {
316
- if (typeof navigator !== 'undefined' && (navigator.product === 'ReactNative' ||
317
- navigator.product === 'NativeScript' ||
318
- navigator.product === 'NS')) {
319
- return false;
320
- }
321
- return (
322
- typeof window !== 'undefined' &&
323
- typeof document !== 'undefined'
324
- );
325
- }
326
-
327
- /**
328
- * Iterate over an Array or an Object invoking a function for each item.
329
- *
330
- * If `obj` is an Array callback will be called passing
331
- * the value, index, and complete array for each item.
332
- *
333
- * If 'obj' is an Object callback will be called passing
334
- * the value, key, and complete object for each property.
335
- *
336
- * @param {Object|Array} obj The object to iterate
337
- * @param {Function} fn The callback to invoke for each item
338
- */
339
- function forEach(obj, fn) {
340
- // Don't bother if no value provided
341
- if (obj === null || typeof obj === 'undefined') {
342
- return;
343
- }
344
-
345
- // Force an array if not already something iterable
346
- if (typeof obj !== 'object') {
347
- /*eslint no-param-reassign:0*/
348
- obj = [obj];
349
- }
350
-
351
- if (isArray(obj)) {
352
- // Iterate over array values
353
- for (var i = 0, l = obj.length; i < l; i++) {
354
- fn.call(null, obj[i], i, obj);
355
- }
356
- } else {
357
- // Iterate over object keys
358
- for (var key in obj) {
359
- if (Object.prototype.hasOwnProperty.call(obj, key)) {
360
- fn.call(null, obj[key], key, obj);
361
- }
362
- }
363
- }
364
- }
365
-
366
- /**
367
- * Accepts varargs expecting each argument to be an object, then
368
- * immutably merges the properties of each object and returns result.
369
- *
370
- * When multiple objects contain the same key the later object in
371
- * the arguments list will take precedence.
372
- *
373
- * Example:
374
- *
375
- * ```js
376
- * var result = merge({foo: 123}, {foo: 456});
377
- * console.log(result.foo); // outputs 456
378
- * ```
379
- *
380
- * @param {Object} obj1 Object to merge
381
- * @returns {Object} Result of all merge properties
382
- */
383
- function merge(/* obj1, obj2, obj3, ... */) {
384
- var result = {};
385
- function assignValue(val, key) {
386
- if (typeof result[key] === 'object' && typeof val === 'object') {
387
- result[key] = merge(result[key], val);
388
- } else {
389
- result[key] = val;
390
- }
391
- }
392
-
393
- for (var i = 0, l = arguments.length; i < l; i++) {
394
- forEach(arguments[i], assignValue);
395
- }
396
- return result;
397
- }
398
-
399
- /**
400
- * Function equal to merge with the difference being that no reference
401
- * to original objects is kept.
402
- *
403
- * @see merge
404
- * @param {Object} obj1 Object to merge
405
- * @returns {Object} Result of all merge properties
406
- */
407
- function deepMerge(/* obj1, obj2, obj3, ... */) {
408
- var result = {};
409
- function assignValue(val, key) {
410
- if (typeof result[key] === 'object' && typeof val === 'object') {
411
- result[key] = deepMerge(result[key], val);
412
- } else if (typeof val === 'object') {
413
- result[key] = deepMerge({}, val);
414
- } else {
415
- result[key] = val;
416
- }
417
- }
418
-
419
- for (var i = 0, l = arguments.length; i < l; i++) {
420
- forEach(arguments[i], assignValue);
421
- }
422
- return result;
423
- }
424
-
425
- /**
426
- * Extends object a by mutably adding to it the properties of object b.
427
- *
428
- * @param {Object} a The object to be extended
429
- * @param {Object} b The object to copy properties from
430
- * @param {Object} thisArg The object to bind function to
431
- * @return {Object} The resulting value of object a
432
- */
433
- function extend(a, b, thisArg) {
434
- forEach(b, function assignValue(val, key) {
435
- if (thisArg && typeof val === 'function') {
436
- a[key] = bind(val, thisArg);
437
- } else {
438
- a[key] = val;
439
- }
440
- });
441
- return a;
442
- }
443
-
444
- module.exports = {
445
- isArray: isArray,
446
- isArrayBuffer: isArrayBuffer,
447
- isBuffer: isBuffer,
448
- isFormData: isFormData,
449
- isArrayBufferView: isArrayBufferView,
450
- isString: isString,
451
- isNumber: isNumber,
452
- isObject: isObject,
453
- isUndefined: isUndefined,
454
- isDate: isDate,
455
- isFile: isFile,
456
- isBlob: isBlob,
457
- isFunction: isFunction,
458
- isStream: isStream,
459
- isURLSearchParams: isURLSearchParams,
460
- isStandardBrowserEnv: isStandardBrowserEnv,
461
- forEach: forEach,
462
- merge: merge,
463
- deepMerge: deepMerge,
464
- extend: extend,
465
- trim: trim
466
- };
467
-
468
-
469
- /***/ }),
470
- /* 3 */
471
- /***/ (function(module, exports) {
472
-
473
- 'use strict';
474
-
475
- module.exports = function bind(fn, thisArg) {
476
- return function wrap() {
477
- var args = new Array(arguments.length);
478
- for (var i = 0; i < args.length; i++) {
479
- args[i] = arguments[i];
480
- }
481
- return fn.apply(thisArg, args);
482
- };
483
- };
484
-
485
-
486
- /***/ }),
487
- /* 4 */
488
- /***/ (function(module, exports, __webpack_require__) {
489
-
490
- 'use strict';
491
-
492
- var utils = __webpack_require__(2);
493
- var buildURL = __webpack_require__(5);
494
- var InterceptorManager = __webpack_require__(6);
495
- var dispatchRequest = __webpack_require__(7);
496
- var mergeConfig = __webpack_require__(22);
497
-
498
- /**
499
- * Create a new instance of Axios
500
- *
501
- * @param {Object} instanceConfig The default config for the instance
502
- */
503
- function Axios(instanceConfig) {
504
- this.defaults = instanceConfig;
505
- this.interceptors = {
506
- request: new InterceptorManager(),
507
- response: new InterceptorManager()
508
- };
509
- }
510
-
511
- /**
512
- * Dispatch a request
513
- *
514
- * @param {Object} config The config specific for this request (merged with this.defaults)
515
- */
516
- Axios.prototype.request = function request(config) {
517
- /*eslint no-param-reassign:0*/
518
- // Allow for axios('example/url'[, config]) a la fetch API
519
- if (typeof config === 'string') {
520
- config = arguments[1] || {};
521
- config.url = arguments[0];
522
- } else {
523
- config = config || {};
524
- }
525
-
526
- config = mergeConfig(this.defaults, config);
527
-
528
- // Set config.method
529
- if (config.method) {
530
- config.method = config.method.toLowerCase();
531
- } else if (this.defaults.method) {
532
- config.method = this.defaults.method.toLowerCase();
533
- } else {
534
- config.method = 'get';
535
- }
536
-
537
- // Hook up interceptors middleware
538
- var chain = [dispatchRequest, undefined];
539
- var promise = Promise.resolve(config);
540
-
541
- this.interceptors.request.forEach(function unshiftRequestInterceptors(interceptor) {
542
- chain.unshift(interceptor.fulfilled, interceptor.rejected);
543
- });
544
-
545
- this.interceptors.response.forEach(function pushResponseInterceptors(interceptor) {
546
- chain.push(interceptor.fulfilled, interceptor.rejected);
547
- });
548
-
549
- while (chain.length) {
550
- promise = promise.then(chain.shift(), chain.shift());
551
- }
552
-
553
- return promise;
554
- };
555
-
556
- Axios.prototype.getUri = function getUri(config) {
557
- config = mergeConfig(this.defaults, config);
558
- return buildURL(config.url, config.params, config.paramsSerializer).replace(/^\?/, '');
559
- };
560
-
561
- // Provide aliases for supported request methods
562
- utils.forEach(['delete', 'get', 'head', 'options'], function forEachMethodNoData(method) {
563
- /*eslint func-names:0*/
564
- Axios.prototype[method] = function(url, config) {
565
- return this.request(utils.merge(config || {}, {
566
- method: method,
567
- url: url
568
- }));
569
- };
570
- });
571
-
572
- utils.forEach(['post', 'put', 'patch'], function forEachMethodWithData(method) {
573
- /*eslint func-names:0*/
574
- Axios.prototype[method] = function(url, data, config) {
575
- return this.request(utils.merge(config || {}, {
576
- method: method,
577
- url: url,
578
- data: data
579
- }));
580
- };
581
- });
582
-
583
- module.exports = Axios;
584
-
585
-
586
- /***/ }),
587
- /* 5 */
588
- /***/ (function(module, exports, __webpack_require__) {
589
-
590
- 'use strict';
591
-
592
- var utils = __webpack_require__(2);
593
-
594
- function encode(val) {
595
- return encodeURIComponent(val).
596
- replace(/%40/gi, '@').
597
- replace(/%3A/gi, ':').
598
- replace(/%24/g, '$').
599
- replace(/%2C/gi, ',').
600
- replace(/%20/g, '+').
601
- replace(/%5B/gi, '[').
602
- replace(/%5D/gi, ']');
603
- }
604
-
605
- /**
606
- * Build a URL by appending params to the end
607
- *
608
- * @param {string} url The base of the url (e.g., http://www.google.com)
609
- * @param {object} [params] The params to be appended
610
- * @returns {string} The formatted url
611
- */
612
- module.exports = function buildURL(url, params, paramsSerializer) {
613
- /*eslint no-param-reassign:0*/
614
- if (!params) {
615
- return url;
616
- }
617
-
618
- var serializedParams;
619
- if (paramsSerializer) {
620
- serializedParams = paramsSerializer(params);
621
- } else if (utils.isURLSearchParams(params)) {
622
- serializedParams = params.toString();
623
- } else {
624
- var parts = [];
625
-
626
- utils.forEach(params, function serialize(val, key) {
627
- if (val === null || typeof val === 'undefined') {
628
- return;
629
- }
630
-
631
- if (utils.isArray(val)) {
632
- key = key + '[]';
633
- } else {
634
- val = [val];
635
- }
636
-
637
- utils.forEach(val, function parseValue(v) {
638
- if (utils.isDate(v)) {
639
- v = v.toISOString();
640
- } else if (utils.isObject(v)) {
641
- v = JSON.stringify(v);
642
- }
643
- parts.push(encode(key) + '=' + encode(v));
644
- });
645
- });
646
-
647
- serializedParams = parts.join('&');
648
- }
649
-
650
- if (serializedParams) {
651
- var hashmarkIndex = url.indexOf('#');
652
- if (hashmarkIndex !== -1) {
653
- url = url.slice(0, hashmarkIndex);
654
- }
655
-
656
- url += (url.indexOf('?') === -1 ? '?' : '&') + serializedParams;
657
- }
658
-
659
- return url;
660
- };
661
-
662
-
663
- /***/ }),
664
- /* 6 */
665
- /***/ (function(module, exports, __webpack_require__) {
666
-
667
- 'use strict';
668
-
669
- var utils = __webpack_require__(2);
670
-
671
- function InterceptorManager() {
672
- this.handlers = [];
673
- }
674
-
675
- /**
676
- * Add a new interceptor to the stack
677
- *
678
- * @param {Function} fulfilled The function to handle `then` for a `Promise`
679
- * @param {Function} rejected The function to handle `reject` for a `Promise`
680
- *
681
- * @return {Number} An ID used to remove interceptor later
682
- */
683
- InterceptorManager.prototype.use = function use(fulfilled, rejected) {
684
- this.handlers.push({
685
- fulfilled: fulfilled,
686
- rejected: rejected
687
- });
688
- return this.handlers.length - 1;
689
- };
690
-
691
- /**
692
- * Remove an interceptor from the stack
693
- *
694
- * @param {Number} id The ID that was returned by `use`
695
- */
696
- InterceptorManager.prototype.eject = function eject(id) {
697
- if (this.handlers[id]) {
698
- this.handlers[id] = null;
699
- }
700
- };
701
-
702
- /**
703
- * Iterate over all the registered interceptors
704
- *
705
- * This method is particularly useful for skipping over any
706
- * interceptors that may have become `null` calling `eject`.
707
- *
708
- * @param {Function} fn The function to call for each interceptor
709
- */
710
- InterceptorManager.prototype.forEach = function forEach(fn) {
711
- utils.forEach(this.handlers, function forEachHandler(h) {
712
- if (h !== null) {
713
- fn(h);
714
- }
715
- });
716
- };
717
-
718
- module.exports = InterceptorManager;
719
-
720
-
721
- /***/ }),
722
- /* 7 */
723
- /***/ (function(module, exports, __webpack_require__) {
724
-
725
- 'use strict';
726
-
727
- var utils = __webpack_require__(2);
728
- var transformData = __webpack_require__(8);
729
- var isCancel = __webpack_require__(9);
730
- var defaults = __webpack_require__(10);
731
-
732
- /**
733
- * Throws a `Cancel` if cancellation has been requested.
734
- */
735
- function throwIfCancellationRequested(config) {
736
- if (config.cancelToken) {
737
- config.cancelToken.throwIfRequested();
738
- }
739
- }
740
-
741
- /**
742
- * Dispatch a request to the server using the configured adapter.
743
- *
744
- * @param {object} config The config that is to be used for the request
745
- * @returns {Promise} The Promise to be fulfilled
746
- */
747
- module.exports = function dispatchRequest(config) {
748
- throwIfCancellationRequested(config);
749
-
750
- // Ensure headers exist
751
- config.headers = config.headers || {};
752
-
753
- // Transform request data
754
- config.data = transformData(
755
- config.data,
756
- config.headers,
757
- config.transformRequest
758
- );
759
-
760
- // Flatten headers
761
- config.headers = utils.merge(
762
- config.headers.common || {},
763
- config.headers[config.method] || {},
764
- config.headers
765
- );
766
-
767
- utils.forEach(
768
- ['delete', 'get', 'head', 'post', 'put', 'patch', 'common'],
769
- function cleanHeaderConfig(method) {
770
- delete config.headers[method];
771
- }
772
- );
773
-
774
- var adapter = config.adapter || defaults.adapter;
775
-
776
- return adapter(config).then(function onAdapterResolution(response) {
777
- throwIfCancellationRequested(config);
778
-
779
- // Transform response data
780
- response.data = transformData(
781
- response.data,
782
- response.headers,
783
- config.transformResponse
784
- );
785
-
786
- return response;
787
- }, function onAdapterRejection(reason) {
788
- if (!isCancel(reason)) {
789
- throwIfCancellationRequested(config);
790
-
791
- // Transform response data
792
- if (reason && reason.response) {
793
- reason.response.data = transformData(
794
- reason.response.data,
795
- reason.response.headers,
796
- config.transformResponse
797
- );
798
- }
799
- }
800
-
801
- return Promise.reject(reason);
802
- });
803
- };
804
-
805
-
806
- /***/ }),
807
- /* 8 */
808
- /***/ (function(module, exports, __webpack_require__) {
809
-
810
- 'use strict';
811
-
812
- var utils = __webpack_require__(2);
813
-
814
- /**
815
- * Transform the data for a request or a response
816
- *
817
- * @param {Object|String} data The data to be transformed
818
- * @param {Array} headers The headers for the request or response
819
- * @param {Array|Function} fns A single function or Array of functions
820
- * @returns {*} The resulting transformed data
821
- */
822
- module.exports = function transformData(data, headers, fns) {
823
- /*eslint no-param-reassign:0*/
824
- utils.forEach(fns, function transform(fn) {
825
- data = fn(data, headers);
826
- });
827
-
828
- return data;
829
- };
830
-
831
-
832
- /***/ }),
833
- /* 9 */
834
- /***/ (function(module, exports) {
835
-
836
- 'use strict';
837
-
838
- module.exports = function isCancel(value) {
839
- return !!(value && value.__CANCEL__);
840
- };
841
-
842
-
843
- /***/ }),
844
- /* 10 */
845
- /***/ (function(module, exports, __webpack_require__) {
846
-
847
- 'use strict';
848
-
849
- var utils = __webpack_require__(2);
850
- var normalizeHeaderName = __webpack_require__(11);
851
-
852
- var DEFAULT_CONTENT_TYPE = {
853
- 'Content-Type': 'application/x-www-form-urlencoded'
854
- };
855
-
856
- function setContentTypeIfUnset(headers, value) {
857
- if (!utils.isUndefined(headers) && utils.isUndefined(headers['Content-Type'])) {
858
- headers['Content-Type'] = value;
859
- }
860
- }
861
-
862
- function getDefaultAdapter() {
863
- var adapter;
864
- if (typeof XMLHttpRequest !== 'undefined') {
865
- // For browsers use XHR adapter
866
- adapter = __webpack_require__(12);
867
- } else if (typeof process !== 'undefined' && Object.prototype.toString.call(process) === '[object process]') {
868
- // For node use HTTP adapter
869
- adapter = __webpack_require__(12);
870
- }
871
- return adapter;
872
- }
873
-
874
- var defaults = {
875
- adapter: getDefaultAdapter(),
876
-
877
- transformRequest: [function transformRequest(data, headers) {
878
- normalizeHeaderName(headers, 'Accept');
879
- normalizeHeaderName(headers, 'Content-Type');
880
- if (utils.isFormData(data) ||
881
- utils.isArrayBuffer(data) ||
882
- utils.isBuffer(data) ||
883
- utils.isStream(data) ||
884
- utils.isFile(data) ||
885
- utils.isBlob(data)
886
- ) {
887
- return data;
888
- }
889
- if (utils.isArrayBufferView(data)) {
890
- return data.buffer;
891
- }
892
- if (utils.isURLSearchParams(data)) {
893
- setContentTypeIfUnset(headers, 'application/x-www-form-urlencoded;charset=utf-8');
894
- return data.toString();
895
- }
896
- if (utils.isObject(data)) {
897
- setContentTypeIfUnset(headers, 'application/json;charset=utf-8');
898
- return JSON.stringify(data);
899
- }
900
- return data;
901
- }],
902
-
903
- transformResponse: [function transformResponse(data) {
904
- /*eslint no-param-reassign:0*/
905
- if (typeof data === 'string') {
906
- try {
907
- data = JSON.parse(data);
908
- } catch (e) { /* Ignore */ }
909
- }
910
- return data;
911
- }],
912
-
913
- /**
914
- * A timeout in milliseconds to abort a request. If set to 0 (default) a
915
- * timeout is not created.
916
- */
917
- timeout: 0,
918
-
919
- xsrfCookieName: 'XSRF-TOKEN',
920
- xsrfHeaderName: 'X-XSRF-TOKEN',
921
-
922
- maxContentLength: -1,
923
-
924
- validateStatus: function validateStatus(status) {
925
- return status >= 200 && status < 300;
926
- }
927
- };
928
-
929
- defaults.headers = {
930
- common: {
931
- 'Accept': 'application/json, text/plain, */*'
932
- }
933
- };
934
-
935
- utils.forEach(['delete', 'get', 'head'], function forEachMethodNoData(method) {
936
- defaults.headers[method] = {};
937
- });
938
-
939
- utils.forEach(['post', 'put', 'patch'], function forEachMethodWithData(method) {
940
- defaults.headers[method] = utils.merge(DEFAULT_CONTENT_TYPE);
941
- });
942
-
943
- module.exports = defaults;
944
-
945
-
946
- /***/ }),
947
- /* 11 */
948
- /***/ (function(module, exports, __webpack_require__) {
949
-
950
- 'use strict';
951
-
952
- var utils = __webpack_require__(2);
953
-
954
- module.exports = function normalizeHeaderName(headers, normalizedName) {
955
- utils.forEach(headers, function processHeader(value, name) {
956
- if (name !== normalizedName && name.toUpperCase() === normalizedName.toUpperCase()) {
957
- headers[normalizedName] = value;
958
- delete headers[name];
959
- }
960
- });
961
- };
962
-
963
-
964
- /***/ }),
965
- /* 12 */
966
- /***/ (function(module, exports, __webpack_require__) {
967
-
968
- 'use strict';
969
-
970
- var utils = __webpack_require__(2);
971
- var settle = __webpack_require__(13);
972
- var buildURL = __webpack_require__(5);
973
- var buildFullPath = __webpack_require__(16);
974
- var parseHeaders = __webpack_require__(19);
975
- var isURLSameOrigin = __webpack_require__(20);
976
- var createError = __webpack_require__(14);
977
-
978
- module.exports = function xhrAdapter(config) {
979
- return new Promise(function dispatchXhrRequest(resolve, reject) {
980
- var requestData = config.data;
981
- var requestHeaders = config.headers;
982
-
983
- if (utils.isFormData(requestData)) {
984
- delete requestHeaders['Content-Type']; // Let the browser set it
985
- }
986
-
987
- var request = new XMLHttpRequest();
988
-
989
- // HTTP basic authentication
990
- if (config.auth) {
991
- var username = config.auth.username || '';
992
- var password = config.auth.password || '';
993
- requestHeaders.Authorization = 'Basic ' + btoa(username + ':' + password);
994
- }
995
-
996
- var fullPath = buildFullPath(config.baseURL, config.url);
997
- request.open(config.method.toUpperCase(), buildURL(fullPath, config.params, config.paramsSerializer), true);
998
-
999
- // Set the request timeout in MS
1000
- request.timeout = config.timeout;
1001
-
1002
- // Listen for ready state
1003
- request.onreadystatechange = function handleLoad() {
1004
- if (!request || request.readyState !== 4) {
1005
- return;
1006
- }
1007
-
1008
- // The request errored out and we didn't get a response, this will be
1009
- // handled by onerror instead
1010
- // With one exception: request that using file: protocol, most browsers
1011
- // will return status as 0 even though it's a successful request
1012
- if (request.status === 0 && !(request.responseURL && request.responseURL.indexOf('file:') === 0)) {
1013
- return;
1014
- }
1015
-
1016
- // Prepare the response
1017
- var responseHeaders = 'getAllResponseHeaders' in request ? parseHeaders(request.getAllResponseHeaders()) : null;
1018
- var responseData = !config.responseType || config.responseType === 'text' ? request.responseText : request.response;
1019
- var response = {
1020
- data: responseData,
1021
- status: request.status,
1022
- statusText: request.statusText,
1023
- headers: responseHeaders,
1024
- config: config,
1025
- request: request
1026
- };
1027
-
1028
- settle(resolve, reject, response);
1029
-
1030
- // Clean up request
1031
- request = null;
1032
- };
1033
-
1034
- // Handle browser request cancellation (as opposed to a manual cancellation)
1035
- request.onabort = function handleAbort() {
1036
- if (!request) {
1037
- return;
1038
- }
1039
-
1040
- reject(createError('Request aborted', config, 'ECONNABORTED', request));
1041
-
1042
- // Clean up request
1043
- request = null;
1044
- };
1045
-
1046
- // Handle low level network errors
1047
- request.onerror = function handleError() {
1048
- // Real errors are hidden from us by the browser
1049
- // onerror should only fire if it's a network error
1050
- reject(createError('Network Error', config, null, request));
1051
-
1052
- // Clean up request
1053
- request = null;
1054
- };
1055
-
1056
- // Handle timeout
1057
- request.ontimeout = function handleTimeout() {
1058
- var timeoutErrorMessage = 'timeout of ' + config.timeout + 'ms exceeded';
1059
- if (config.timeoutErrorMessage) {
1060
- timeoutErrorMessage = config.timeoutErrorMessage;
1061
- }
1062
- reject(createError(timeoutErrorMessage, config, 'ECONNABORTED',
1063
- request));
1064
-
1065
- // Clean up request
1066
- request = null;
1067
- };
1068
-
1069
- // Add xsrf header
1070
- // This is only done if running in a standard browser environment.
1071
- // Specifically not if we're in a web worker, or react-native.
1072
- if (utils.isStandardBrowserEnv()) {
1073
- var cookies = __webpack_require__(21);
1074
-
1075
- // Add xsrf header
1076
- var xsrfValue = (config.withCredentials || isURLSameOrigin(fullPath)) && config.xsrfCookieName ?
1077
- cookies.read(config.xsrfCookieName) :
1078
- undefined;
1079
-
1080
- if (xsrfValue) {
1081
- requestHeaders[config.xsrfHeaderName] = xsrfValue;
1082
- }
1083
- }
1084
-
1085
- // Add headers to the request
1086
- if ('setRequestHeader' in request) {
1087
- utils.forEach(requestHeaders, function setRequestHeader(val, key) {
1088
- if (typeof requestData === 'undefined' && key.toLowerCase() === 'content-type') {
1089
- // Remove Content-Type if data is undefined
1090
- delete requestHeaders[key];
1091
- } else {
1092
- // Otherwise add header to the request
1093
- request.setRequestHeader(key, val);
1094
- }
1095
- });
1096
- }
1097
-
1098
- // Add withCredentials to request if needed
1099
- if (!utils.isUndefined(config.withCredentials)) {
1100
- request.withCredentials = !!config.withCredentials;
1101
- }
1102
-
1103
- // Add responseType to request if needed
1104
- if (config.responseType) {
1105
- try {
1106
- request.responseType = config.responseType;
1107
- } catch (e) {
1108
- // Expected DOMException thrown by browsers not compatible XMLHttpRequest Level 2.
1109
- // But, this can be suppressed for 'json' type as it can be parsed by default 'transformResponse' function.
1110
- if (config.responseType !== 'json') {
1111
- throw e;
1112
- }
1113
- }
1114
- }
1115
-
1116
- // Handle progress if needed
1117
- if (typeof config.onDownloadProgress === 'function') {
1118
- request.addEventListener('progress', config.onDownloadProgress);
1119
- }
1120
-
1121
- // Not all browsers support upload events
1122
- if (typeof config.onUploadProgress === 'function' && request.upload) {
1123
- request.upload.addEventListener('progress', config.onUploadProgress);
1124
- }
1125
-
1126
- if (config.cancelToken) {
1127
- // Handle cancellation
1128
- config.cancelToken.promise.then(function onCanceled(cancel) {
1129
- if (!request) {
1130
- return;
1131
- }
1132
-
1133
- request.abort();
1134
- reject(cancel);
1135
- // Clean up request
1136
- request = null;
1137
- });
1138
- }
1139
-
1140
- if (requestData === undefined) {
1141
- requestData = null;
1142
- }
1143
-
1144
- // Send the request
1145
- request.send(requestData);
1146
- });
1147
- };
1148
-
1149
-
1150
- /***/ }),
1151
- /* 13 */
1152
- /***/ (function(module, exports, __webpack_require__) {
1153
-
1154
- 'use strict';
1155
-
1156
- var createError = __webpack_require__(14);
1157
-
1158
- /**
1159
- * Resolve or reject a Promise based on response status.
1160
- *
1161
- * @param {Function} resolve A function that resolves the promise.
1162
- * @param {Function} reject A function that rejects the promise.
1163
- * @param {object} response The response.
1164
- */
1165
- module.exports = function settle(resolve, reject, response) {
1166
- var validateStatus = response.config.validateStatus;
1167
- if (!validateStatus || validateStatus(response.status)) {
1168
- resolve(response);
1169
- } else {
1170
- reject(createError(
1171
- 'Request failed with status code ' + response.status,
1172
- response.config,
1173
- null,
1174
- response.request,
1175
- response
1176
- ));
1177
- }
1178
- };
1179
-
1180
-
1181
- /***/ }),
1182
- /* 14 */
1183
- /***/ (function(module, exports, __webpack_require__) {
1184
-
1185
- 'use strict';
1186
-
1187
- var enhanceError = __webpack_require__(15);
1188
-
1189
- /**
1190
- * Create an Error with the specified message, config, error code, request and response.
1191
- *
1192
- * @param {string} message The error message.
1193
- * @param {Object} config The config.
1194
- * @param {string} [code] The error code (for example, 'ECONNABORTED').
1195
- * @param {Object} [request] The request.
1196
- * @param {Object} [response] The response.
1197
- * @returns {Error} The created error.
1198
- */
1199
- module.exports = function createError(message, config, code, request, response) {
1200
- var error = new Error(message);
1201
- return enhanceError(error, config, code, request, response);
1202
- };
1203
-
1204
-
1205
- /***/ }),
1206
- /* 15 */
1207
- /***/ (function(module, exports) {
1208
-
1209
- 'use strict';
1210
-
1211
- /**
1212
- * Update an Error with the specified config, error code, and response.
1213
- *
1214
- * @param {Error} error The error to update.
1215
- * @param {Object} config The config.
1216
- * @param {string} [code] The error code (for example, 'ECONNABORTED').
1217
- * @param {Object} [request] The request.
1218
- * @param {Object} [response] The response.
1219
- * @returns {Error} The error.
1220
- */
1221
- module.exports = function enhanceError(error, config, code, request, response) {
1222
- error.config = config;
1223
- if (code) {
1224
- error.code = code;
1225
- }
1226
-
1227
- error.request = request;
1228
- error.response = response;
1229
- error.isAxiosError = true;
1230
-
1231
- error.toJSON = function() {
1232
- return {
1233
- // Standard
1234
- message: this.message,
1235
- name: this.name,
1236
- // Microsoft
1237
- description: this.description,
1238
- number: this.number,
1239
- // Mozilla
1240
- fileName: this.fileName,
1241
- lineNumber: this.lineNumber,
1242
- columnNumber: this.columnNumber,
1243
- stack: this.stack,
1244
- // Axios
1245
- config: this.config,
1246
- code: this.code
1247
- };
1248
- };
1249
- return error;
1250
- };
1251
-
1252
-
1253
- /***/ }),
1254
- /* 16 */
1255
- /***/ (function(module, exports, __webpack_require__) {
1256
-
1257
- 'use strict';
1258
-
1259
- var isAbsoluteURL = __webpack_require__(17);
1260
- var combineURLs = __webpack_require__(18);
1261
-
1262
- /**
1263
- * Creates a new URL by combining the baseURL with the requestedURL,
1264
- * only when the requestedURL is not already an absolute URL.
1265
- * If the requestURL is absolute, this function returns the requestedURL untouched.
1266
- *
1267
- * @param {string} baseURL The base URL
1268
- * @param {string} requestedURL Absolute or relative URL to combine
1269
- * @returns {string} The combined full path
1270
- */
1271
- module.exports = function buildFullPath(baseURL, requestedURL) {
1272
- if (baseURL && !isAbsoluteURL(requestedURL)) {
1273
- return combineURLs(baseURL, requestedURL);
1274
- }
1275
- return requestedURL;
1276
- };
1277
-
1278
-
1279
- /***/ }),
1280
- /* 17 */
1281
- /***/ (function(module, exports) {
1282
-
1283
- 'use strict';
1284
-
1285
- /**
1286
- * Determines whether the specified URL is absolute
1287
- *
1288
- * @param {string} url The URL to test
1289
- * @returns {boolean} True if the specified URL is absolute, otherwise false
1290
- */
1291
- module.exports = function isAbsoluteURL(url) {
1292
- // A URL is considered absolute if it begins with "<scheme>://" or "//" (protocol-relative URL).
1293
- // RFC 3986 defines scheme name as a sequence of characters beginning with a letter and followed
1294
- // by any combination of letters, digits, plus, period, or hyphen.
1295
- return /^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(url);
1296
- };
1297
-
1298
-
1299
- /***/ }),
1300
- /* 18 */
1301
- /***/ (function(module, exports) {
1302
-
1303
- 'use strict';
1304
-
1305
- /**
1306
- * Creates a new URL by combining the specified URLs
1307
- *
1308
- * @param {string} baseURL The base URL
1309
- * @param {string} relativeURL The relative URL
1310
- * @returns {string} The combined URL
1311
- */
1312
- module.exports = function combineURLs(baseURL, relativeURL) {
1313
- return relativeURL
1314
- ? baseURL.replace(/\/+$/, '') + '/' + relativeURL.replace(/^\/+/, '')
1315
- : baseURL;
1316
- };
1317
-
1318
-
1319
- /***/ }),
1320
- /* 19 */
1321
- /***/ (function(module, exports, __webpack_require__) {
1322
-
1323
- 'use strict';
1324
-
1325
- var utils = __webpack_require__(2);
1326
-
1327
- // Headers whose duplicates are ignored by node
1328
- // c.f. https://nodejs.org/api/http.html#http_message_headers
1329
- var ignoreDuplicateOf = [
1330
- 'age', 'authorization', 'content-length', 'content-type', 'etag',
1331
- 'expires', 'from', 'host', 'if-modified-since', 'if-unmodified-since',
1332
- 'last-modified', 'location', 'max-forwards', 'proxy-authorization',
1333
- 'referer', 'retry-after', 'user-agent'
1334
- ];
1335
-
1336
- /**
1337
- * Parse headers into an object
1338
- *
1339
- * ```
1340
- * Date: Wed, 27 Aug 2014 08:58:49 GMT
1341
- * Content-Type: application/json
1342
- * Connection: keep-alive
1343
- * Transfer-Encoding: chunked
1344
- * ```
1345
- *
1346
- * @param {String} headers Headers needing to be parsed
1347
- * @returns {Object} Headers parsed into an object
1348
- */
1349
- module.exports = function parseHeaders(headers) {
1350
- var parsed = {};
1351
- var key;
1352
- var val;
1353
- var i;
1354
-
1355
- if (!headers) { return parsed; }
1356
-
1357
- utils.forEach(headers.split('\n'), function parser(line) {
1358
- i = line.indexOf(':');
1359
- key = utils.trim(line.substr(0, i)).toLowerCase();
1360
- val = utils.trim(line.substr(i + 1));
1361
-
1362
- if (key) {
1363
- if (parsed[key] && ignoreDuplicateOf.indexOf(key) >= 0) {
1364
- return;
1365
- }
1366
- if (key === 'set-cookie') {
1367
- parsed[key] = (parsed[key] ? parsed[key] : []).concat([val]);
1368
- } else {
1369
- parsed[key] = parsed[key] ? parsed[key] + ', ' + val : val;
1370
- }
1371
- }
1372
- });
1373
-
1374
- return parsed;
1375
- };
1376
-
1377
-
1378
- /***/ }),
1379
- /* 20 */
1380
- /***/ (function(module, exports, __webpack_require__) {
1381
-
1382
- 'use strict';
1383
-
1384
- var utils = __webpack_require__(2);
1385
-
1386
- module.exports = (
1387
- utils.isStandardBrowserEnv() ?
1388
-
1389
- // Standard browser envs have full support of the APIs needed to test
1390
- // whether the request URL is of the same origin as current location.
1391
- (function standardBrowserEnv() {
1392
- var msie = /(msie|trident)/i.test(navigator.userAgent);
1393
- var urlParsingNode = document.createElement('a');
1394
- var originURL;
1395
-
1396
- /**
1397
- * Parse a URL to discover it's components
1398
- *
1399
- * @param {String} url The URL to be parsed
1400
- * @returns {Object}
1401
- */
1402
- function resolveURL(url) {
1403
- var href = url;
1404
-
1405
- if (msie) {
1406
- // IE needs attribute set twice to normalize properties
1407
- urlParsingNode.setAttribute('href', href);
1408
- href = urlParsingNode.href;
1409
- }
1410
-
1411
- urlParsingNode.setAttribute('href', href);
1412
-
1413
- // urlParsingNode provides the UrlUtils interface - http://url.spec.whatwg.org/#urlutils
1414
- return {
1415
- href: urlParsingNode.href,
1416
- protocol: urlParsingNode.protocol ? urlParsingNode.protocol.replace(/:$/, '') : '',
1417
- host: urlParsingNode.host,
1418
- search: urlParsingNode.search ? urlParsingNode.search.replace(/^\?/, '') : '',
1419
- hash: urlParsingNode.hash ? urlParsingNode.hash.replace(/^#/, '') : '',
1420
- hostname: urlParsingNode.hostname,
1421
- port: urlParsingNode.port,
1422
- pathname: (urlParsingNode.pathname.charAt(0) === '/') ?
1423
- urlParsingNode.pathname :
1424
- '/' + urlParsingNode.pathname
1425
- };
1426
- }
1427
-
1428
- originURL = resolveURL(window.location.href);
1429
-
1430
- /**
1431
- * Determine if a URL shares the same origin as the current location
1432
- *
1433
- * @param {String} requestURL The URL to test
1434
- * @returns {boolean} True if URL shares the same origin, otherwise false
1435
- */
1436
- return function isURLSameOrigin(requestURL) {
1437
- var parsed = (utils.isString(requestURL)) ? resolveURL(requestURL) : requestURL;
1438
- return (parsed.protocol === originURL.protocol &&
1439
- parsed.host === originURL.host);
1440
- };
1441
- })() :
1442
-
1443
- // Non standard browser envs (web workers, react-native) lack needed support.
1444
- (function nonStandardBrowserEnv() {
1445
- return function isURLSameOrigin() {
1446
- return true;
1447
- };
1448
- })()
1449
- );
1450
-
1451
-
1452
- /***/ }),
1453
- /* 21 */
1454
- /***/ (function(module, exports, __webpack_require__) {
1455
-
1456
- 'use strict';
1457
-
1458
- var utils = __webpack_require__(2);
1459
-
1460
- module.exports = (
1461
- utils.isStandardBrowserEnv() ?
1462
-
1463
- // Standard browser envs support document.cookie
1464
- (function standardBrowserEnv() {
1465
- return {
1466
- write: function write(name, value, expires, path, domain, secure) {
1467
- var cookie = [];
1468
- cookie.push(name + '=' + encodeURIComponent(value));
1469
-
1470
- if (utils.isNumber(expires)) {
1471
- cookie.push('expires=' + new Date(expires).toGMTString());
1472
- }
1473
-
1474
- if (utils.isString(path)) {
1475
- cookie.push('path=' + path);
1476
- }
1477
-
1478
- if (utils.isString(domain)) {
1479
- cookie.push('domain=' + domain);
1480
- }
1481
-
1482
- if (secure === true) {
1483
- cookie.push('secure');
1484
- }
1485
-
1486
- document.cookie = cookie.join('; ');
1487
- },
1488
-
1489
- read: function read(name) {
1490
- var match = document.cookie.match(new RegExp('(^|;\\s*)(' + name + ')=([^;]*)'));
1491
- return (match ? decodeURIComponent(match[3]) : null);
1492
- },
1493
-
1494
- remove: function remove(name) {
1495
- this.write(name, '', Date.now() - 86400000);
1496
- }
1497
- };
1498
- })() :
1499
-
1500
- // Non standard browser env (web workers, react-native) lack needed support.
1501
- (function nonStandardBrowserEnv() {
1502
- return {
1503
- write: function write() {},
1504
- read: function read() { return null; },
1505
- remove: function remove() {}
1506
- };
1507
- })()
1508
- );
1509
-
1510
-
1511
- /***/ }),
1512
- /* 22 */
1513
- /***/ (function(module, exports, __webpack_require__) {
1514
-
1515
- 'use strict';
1516
-
1517
- var utils = __webpack_require__(2);
1518
-
1519
- /**
1520
- * Config-specific merge-function which creates a new config-object
1521
- * by merging two configuration objects together.
1522
- *
1523
- * @param {Object} config1
1524
- * @param {Object} config2
1525
- * @returns {Object} New object resulting from merging config2 to config1
1526
- */
1527
- module.exports = function mergeConfig(config1, config2) {
1528
- // eslint-disable-next-line no-param-reassign
1529
- config2 = config2 || {};
1530
- var config = {};
1531
-
1532
- var valueFromConfig2Keys = ['url', 'method', 'params', 'data'];
1533
- var mergeDeepPropertiesKeys = ['headers', 'auth', 'proxy'];
1534
- var defaultToConfig2Keys = [
1535
- 'baseURL', 'url', 'transformRequest', 'transformResponse', 'paramsSerializer',
1536
- 'timeout', 'withCredentials', 'adapter', 'responseType', 'xsrfCookieName',
1537
- 'xsrfHeaderName', 'onUploadProgress', 'onDownloadProgress',
1538
- 'maxContentLength', 'validateStatus', 'maxRedirects', 'httpAgent',
1539
- 'httpsAgent', 'cancelToken', 'socketPath'
1540
- ];
1541
-
1542
- utils.forEach(valueFromConfig2Keys, function valueFromConfig2(prop) {
1543
- if (typeof config2[prop] !== 'undefined') {
1544
- config[prop] = config2[prop];
1545
- }
1546
- });
1547
-
1548
- utils.forEach(mergeDeepPropertiesKeys, function mergeDeepProperties(prop) {
1549
- if (utils.isObject(config2[prop])) {
1550
- config[prop] = utils.deepMerge(config1[prop], config2[prop]);
1551
- } else if (typeof config2[prop] !== 'undefined') {
1552
- config[prop] = config2[prop];
1553
- } else if (utils.isObject(config1[prop])) {
1554
- config[prop] = utils.deepMerge(config1[prop]);
1555
- } else if (typeof config1[prop] !== 'undefined') {
1556
- config[prop] = config1[prop];
1557
- }
1558
- });
1559
-
1560
- utils.forEach(defaultToConfig2Keys, function defaultToConfig2(prop) {
1561
- if (typeof config2[prop] !== 'undefined') {
1562
- config[prop] = config2[prop];
1563
- } else if (typeof config1[prop] !== 'undefined') {
1564
- config[prop] = config1[prop];
1565
- }
1566
- });
1567
-
1568
- var axiosKeys = valueFromConfig2Keys
1569
- .concat(mergeDeepPropertiesKeys)
1570
- .concat(defaultToConfig2Keys);
1571
-
1572
- var otherKeys = Object
1573
- .keys(config2)
1574
- .filter(function filterAxiosKeys(key) {
1575
- return axiosKeys.indexOf(key) === -1;
1576
- });
1577
-
1578
- utils.forEach(otherKeys, function otherKeysDefaultToConfig2(prop) {
1579
- if (typeof config2[prop] !== 'undefined') {
1580
- config[prop] = config2[prop];
1581
- } else if (typeof config1[prop] !== 'undefined') {
1582
- config[prop] = config1[prop];
1583
- }
1584
- });
1585
-
1586
- return config;
1587
- };
1588
-
1589
-
1590
- /***/ }),
1591
- /* 23 */
1592
- /***/ (function(module, exports) {
1593
-
1594
- 'use strict';
1595
-
1596
- /**
1597
- * A `Cancel` is an object that is thrown when an operation is canceled.
1598
- *
1599
- * @class
1600
- * @param {string=} message The message.
1601
- */
1602
- function Cancel(message) {
1603
- this.message = message;
1604
- }
1605
-
1606
- Cancel.prototype.toString = function toString() {
1607
- return 'Cancel' + (this.message ? ': ' + this.message : '');
1608
- };
1609
-
1610
- Cancel.prototype.__CANCEL__ = true;
1611
-
1612
- module.exports = Cancel;
1613
-
1614
-
1615
- /***/ }),
1616
- /* 24 */
1617
- /***/ (function(module, exports, __webpack_require__) {
1618
-
1619
- 'use strict';
1620
-
1621
- var Cancel = __webpack_require__(23);
1622
-
1623
- /**
1624
- * A `CancelToken` is an object that can be used to request cancellation of an operation.
1625
- *
1626
- * @class
1627
- * @param {Function} executor The executor function.
1628
- */
1629
- function CancelToken(executor) {
1630
- if (typeof executor !== 'function') {
1631
- throw new TypeError('executor must be a function.');
1632
- }
1633
-
1634
- var resolvePromise;
1635
- this.promise = new Promise(function promiseExecutor(resolve) {
1636
- resolvePromise = resolve;
1637
- });
1638
-
1639
- var token = this;
1640
- executor(function cancel(message) {
1641
- if (token.reason) {
1642
- // Cancellation has already been requested
1643
- return;
1644
- }
1645
-
1646
- token.reason = new Cancel(message);
1647
- resolvePromise(token.reason);
1648
- });
1649
- }
1650
-
1651
- /**
1652
- * Throws a `Cancel` if cancellation has been requested.
1653
- */
1654
- CancelToken.prototype.throwIfRequested = function throwIfRequested() {
1655
- if (this.reason) {
1656
- throw this.reason;
1657
- }
1658
- };
1659
-
1660
- /**
1661
- * Returns an object that contains a new `CancelToken` and a function that, when called,
1662
- * cancels the `CancelToken`.
1663
- */
1664
- CancelToken.source = function source() {
1665
- var cancel;
1666
- var token = new CancelToken(function executor(c) {
1667
- cancel = c;
1668
- });
1669
- return {
1670
- token: token,
1671
- cancel: cancel
1672
- };
1673
- };
1674
-
1675
- module.exports = CancelToken;
1676
-
1677
-
1678
- /***/ }),
1679
- /* 25 */
1680
- /***/ (function(module, exports) {
1681
-
1682
- 'use strict';
1683
-
1684
- /**
1685
- * Syntactic sugar for invoking a function and expanding an array for arguments.
1686
- *
1687
- * Common use case would be to use `Function.prototype.apply`.
1688
- *
1689
- * ```js
1690
- * function f(x, y, z) {}
1691
- * var args = [1, 2, 3];
1692
- * f.apply(null, args);
1693
- * ```
1694
- *
1695
- * With `spread` this example can be re-written.
1696
- *
1697
- * ```js
1698
- * spread(function(x, y, z) {})([1, 2, 3]);
1699
- * ```
1700
- *
1701
- * @param {Function} callback
1702
- * @returns {Function}
1703
- */
1704
- module.exports = function spread(callback) {
1705
- return function wrap(arr) {
1706
- return callback.apply(null, arr);
1707
- };
1708
- };
1709
-
1710
-
1711
- /***/ })
1712
- /******/ ])
1713
- });
1714
- ;
1715
- //# sourceMappingURL=axios.map