serverless-spy 0.0.4 → 0.0.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (270) hide show
  1. package/.eslintrc.yml +1 -1
  2. package/.jsii +3 -2
  3. package/lib/ServerlessSpy.js +1 -1
  4. package/listener/createServerlessSpyListener.ts +12 -2
  5. package/listener/index.ts +1 -0
  6. package/node_modules/@aws-sdk/client-cognito-identity/CHANGELOG.md +4150 -0
  7. package/node_modules/@aws-sdk/client-cognito-identity/LICENSE +201 -0
  8. package/node_modules/@aws-sdk/client-cognito-identity/README.md +219 -0
  9. package/node_modules/@aws-sdk/client-cognito-identity/dist-cjs/CognitoIdentity.js +352 -0
  10. package/node_modules/@aws-sdk/client-cognito-identity/dist-cjs/CognitoIdentityClient.js +36 -0
  11. package/node_modules/@aws-sdk/client-cognito-identity/dist-cjs/commands/CreateIdentityPoolCommand.js +38 -0
  12. package/node_modules/@aws-sdk/client-cognito-identity/dist-cjs/commands/DeleteIdentitiesCommand.js +38 -0
  13. package/node_modules/@aws-sdk/client-cognito-identity/dist-cjs/commands/DeleteIdentityPoolCommand.js +38 -0
  14. package/node_modules/@aws-sdk/client-cognito-identity/dist-cjs/commands/DescribeIdentityCommand.js +38 -0
  15. package/node_modules/@aws-sdk/client-cognito-identity/dist-cjs/commands/DescribeIdentityPoolCommand.js +38 -0
  16. package/node_modules/@aws-sdk/client-cognito-identity/dist-cjs/commands/GetCredentialsForIdentityCommand.js +36 -0
  17. package/node_modules/@aws-sdk/client-cognito-identity/dist-cjs/commands/GetIdCommand.js +36 -0
  18. package/node_modules/@aws-sdk/client-cognito-identity/dist-cjs/commands/GetIdentityPoolRolesCommand.js +38 -0
  19. package/node_modules/@aws-sdk/client-cognito-identity/dist-cjs/commands/GetOpenIdTokenCommand.js +36 -0
  20. package/node_modules/@aws-sdk/client-cognito-identity/dist-cjs/commands/GetOpenIdTokenForDeveloperIdentityCommand.js +38 -0
  21. package/node_modules/@aws-sdk/client-cognito-identity/dist-cjs/commands/GetPrincipalTagAttributeMapCommand.js +38 -0
  22. package/node_modules/@aws-sdk/client-cognito-identity/dist-cjs/commands/ListIdentitiesCommand.js +38 -0
  23. package/node_modules/@aws-sdk/client-cognito-identity/dist-cjs/commands/ListIdentityPoolsCommand.js +38 -0
  24. package/node_modules/@aws-sdk/client-cognito-identity/dist-cjs/commands/ListTagsForResourceCommand.js +38 -0
  25. package/node_modules/@aws-sdk/client-cognito-identity/dist-cjs/commands/LookupDeveloperIdentityCommand.js +38 -0
  26. package/node_modules/@aws-sdk/client-cognito-identity/dist-cjs/commands/MergeDeveloperIdentitiesCommand.js +38 -0
  27. package/node_modules/@aws-sdk/client-cognito-identity/dist-cjs/commands/SetIdentityPoolRolesCommand.js +38 -0
  28. package/node_modules/@aws-sdk/client-cognito-identity/dist-cjs/commands/SetPrincipalTagAttributeMapCommand.js +38 -0
  29. package/node_modules/@aws-sdk/client-cognito-identity/dist-cjs/commands/TagResourceCommand.js +38 -0
  30. package/node_modules/@aws-sdk/client-cognito-identity/dist-cjs/commands/UnlinkDeveloperIdentityCommand.js +38 -0
  31. package/node_modules/@aws-sdk/client-cognito-identity/dist-cjs/commands/UnlinkIdentityCommand.js +36 -0
  32. package/node_modules/@aws-sdk/client-cognito-identity/dist-cjs/commands/UntagResourceCommand.js +38 -0
  33. package/node_modules/@aws-sdk/client-cognito-identity/dist-cjs/commands/UpdateIdentityPoolCommand.js +38 -0
  34. package/node_modules/@aws-sdk/client-cognito-identity/dist-cjs/commands/index.js +26 -0
  35. package/node_modules/@aws-sdk/client-cognito-identity/dist-cjs/endpoints.js +167 -0
  36. package/node_modules/@aws-sdk/client-cognito-identity/dist-cjs/index.js +11 -0
  37. package/node_modules/@aws-sdk/client-cognito-identity/dist-cjs/models/CognitoIdentityServiceException.js +11 -0
  38. package/node_modules/@aws-sdk/client-cognito-identity/dist-cjs/models/index.js +4 -0
  39. package/node_modules/@aws-sdk/client-cognito-identity/dist-cjs/models/models_0.js +354 -0
  40. package/node_modules/@aws-sdk/client-cognito-identity/dist-cjs/pagination/Interfaces.js +2 -0
  41. package/node_modules/@aws-sdk/client-cognito-identity/dist-cjs/pagination/ListIdentityPoolsPaginator.js +36 -0
  42. package/node_modules/@aws-sdk/client-cognito-identity/dist-cjs/pagination/index.js +5 -0
  43. package/node_modules/@aws-sdk/client-cognito-identity/dist-cjs/protocols/Aws_json1_1.js +2236 -0
  44. package/node_modules/@aws-sdk/client-cognito-identity/dist-cjs/runtimeConfig.browser.js +45 -0
  45. package/node_modules/@aws-sdk/client-cognito-identity/dist-cjs/runtimeConfig.js +52 -0
  46. package/node_modules/@aws-sdk/client-cognito-identity/dist-cjs/runtimeConfig.native.js +16 -0
  47. package/node_modules/@aws-sdk/client-cognito-identity/dist-cjs/runtimeConfig.shared.js +17 -0
  48. package/node_modules/@aws-sdk/client-cognito-identity/dist-es/CognitoIdentity.js +355 -0
  49. package/node_modules/@aws-sdk/client-cognito-identity/dist-es/CognitoIdentityClient.js +38 -0
  50. package/node_modules/@aws-sdk/client-cognito-identity/dist-es/commands/CreateIdentityPoolCommand.js +41 -0
  51. package/node_modules/@aws-sdk/client-cognito-identity/dist-es/commands/DeleteIdentitiesCommand.js +41 -0
  52. package/node_modules/@aws-sdk/client-cognito-identity/dist-es/commands/DeleteIdentityPoolCommand.js +41 -0
  53. package/node_modules/@aws-sdk/client-cognito-identity/dist-es/commands/DescribeIdentityCommand.js +41 -0
  54. package/node_modules/@aws-sdk/client-cognito-identity/dist-es/commands/DescribeIdentityPoolCommand.js +41 -0
  55. package/node_modules/@aws-sdk/client-cognito-identity/dist-es/commands/GetCredentialsForIdentityCommand.js +39 -0
  56. package/node_modules/@aws-sdk/client-cognito-identity/dist-es/commands/GetIdCommand.js +39 -0
  57. package/node_modules/@aws-sdk/client-cognito-identity/dist-es/commands/GetIdentityPoolRolesCommand.js +41 -0
  58. package/node_modules/@aws-sdk/client-cognito-identity/dist-es/commands/GetOpenIdTokenCommand.js +39 -0
  59. package/node_modules/@aws-sdk/client-cognito-identity/dist-es/commands/GetOpenIdTokenForDeveloperIdentityCommand.js +41 -0
  60. package/node_modules/@aws-sdk/client-cognito-identity/dist-es/commands/GetPrincipalTagAttributeMapCommand.js +41 -0
  61. package/node_modules/@aws-sdk/client-cognito-identity/dist-es/commands/ListIdentitiesCommand.js +41 -0
  62. package/node_modules/@aws-sdk/client-cognito-identity/dist-es/commands/ListIdentityPoolsCommand.js +41 -0
  63. package/node_modules/@aws-sdk/client-cognito-identity/dist-es/commands/ListTagsForResourceCommand.js +41 -0
  64. package/node_modules/@aws-sdk/client-cognito-identity/dist-es/commands/LookupDeveloperIdentityCommand.js +41 -0
  65. package/node_modules/@aws-sdk/client-cognito-identity/dist-es/commands/MergeDeveloperIdentitiesCommand.js +41 -0
  66. package/node_modules/@aws-sdk/client-cognito-identity/dist-es/commands/SetIdentityPoolRolesCommand.js +41 -0
  67. package/node_modules/@aws-sdk/client-cognito-identity/dist-es/commands/SetPrincipalTagAttributeMapCommand.js +41 -0
  68. package/node_modules/@aws-sdk/client-cognito-identity/dist-es/commands/TagResourceCommand.js +41 -0
  69. package/node_modules/@aws-sdk/client-cognito-identity/dist-es/commands/UnlinkDeveloperIdentityCommand.js +41 -0
  70. package/node_modules/@aws-sdk/client-cognito-identity/dist-es/commands/UnlinkIdentityCommand.js +39 -0
  71. package/node_modules/@aws-sdk/client-cognito-identity/dist-es/commands/UntagResourceCommand.js +41 -0
  72. package/node_modules/@aws-sdk/client-cognito-identity/dist-es/commands/UpdateIdentityPoolCommand.js +41 -0
  73. package/node_modules/@aws-sdk/client-cognito-identity/dist-es/commands/index.js +23 -0
  74. package/node_modules/@aws-sdk/client-cognito-identity/dist-es/endpoints.js +163 -0
  75. package/node_modules/@aws-sdk/client-cognito-identity/dist-es/index.js +6 -0
  76. package/node_modules/@aws-sdk/client-cognito-identity/dist-es/models/CognitoIdentityServiceException.js +12 -0
  77. package/node_modules/@aws-sdk/client-cognito-identity/dist-es/models/index.js +1 -0
  78. package/node_modules/@aws-sdk/client-cognito-identity/dist-es/models/models_0.js +202 -0
  79. package/node_modules/@aws-sdk/client-cognito-identity/dist-es/pagination/Interfaces.js +1 -0
  80. package/node_modules/@aws-sdk/client-cognito-identity/dist-es/pagination/ListIdentityPoolsPaginator.js +75 -0
  81. package/node_modules/@aws-sdk/client-cognito-identity/dist-es/pagination/index.js +2 -0
  82. package/node_modules/@aws-sdk/client-cognito-identity/dist-es/protocols/Aws_json1_1.js +2662 -0
  83. package/node_modules/@aws-sdk/client-cognito-identity/dist-es/runtimeConfig.browser.js +26 -0
  84. package/node_modules/@aws-sdk/client-cognito-identity/dist-es/runtimeConfig.js +30 -0
  85. package/node_modules/@aws-sdk/client-cognito-identity/dist-es/runtimeConfig.native.js +8 -0
  86. package/node_modules/@aws-sdk/client-cognito-identity/dist-es/runtimeConfig.shared.js +13 -0
  87. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/CognitoIdentity.d.ts +295 -0
  88. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/CognitoIdentityClient.d.ts +180 -0
  89. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/commands/CreateIdentityPoolCommand.d.ts +61 -0
  90. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/commands/DeleteIdentitiesCommand.d.ts +37 -0
  91. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/commands/DeleteIdentityPoolCommand.d.ts +37 -0
  92. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/commands/DescribeIdentityCommand.d.ts +37 -0
  93. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/commands/DescribeIdentityPoolCommand.d.ts +37 -0
  94. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/commands/GetCredentialsForIdentityCommand.d.ts +39 -0
  95. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/commands/GetIdCommand.d.ts +37 -0
  96. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/commands/GetIdentityPoolRolesCommand.d.ts +36 -0
  97. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/commands/GetOpenIdTokenCommand.d.ts +39 -0
  98. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/commands/GetOpenIdTokenForDeveloperIdentityCommand.d.ts +47 -0
  99. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/commands/GetPrincipalTagAttributeMapCommand.d.ts +35 -0
  100. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/commands/ListIdentitiesCommand.d.ts +36 -0
  101. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/commands/ListIdentityPoolsCommand.d.ts +36 -0
  102. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/commands/ListTagsForResourceCommand.d.ts +38 -0
  103. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/commands/LookupDeveloperIdentityCommand.d.ts +51 -0
  104. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/commands/MergeDeveloperIdentitiesCommand.d.ts +47 -0
  105. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/commands/SetIdentityPoolRolesCommand.d.ts +36 -0
  106. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/commands/SetPrincipalTagAttributeMapCommand.d.ts +35 -0
  107. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/commands/TagResourceCommand.d.ts +49 -0
  108. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/commands/UnlinkDeveloperIdentityCommand.d.ts +39 -0
  109. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/commands/UnlinkIdentityCommand.d.ts +38 -0
  110. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/commands/UntagResourceCommand.d.ts +36 -0
  111. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/commands/UpdateIdentityPoolCommand.d.ts +36 -0
  112. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/commands/index.d.ts +23 -0
  113. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/endpoints.d.ts +2 -0
  114. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/index.d.ts +6 -0
  115. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/models/CognitoIdentityServiceException.d.ts +10 -0
  116. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/models/index.d.ts +1 -0
  117. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/models/models_0.d.ts +1166 -0
  118. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/pagination/Interfaces.d.ts +6 -0
  119. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/pagination/ListIdentityPoolsPaginator.d.ts +4 -0
  120. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/pagination/index.d.ts +2 -0
  121. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/protocols/Aws_json1_1.d.ts +71 -0
  122. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/runtimeConfig.browser.d.ts +40 -0
  123. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/runtimeConfig.d.ts +40 -0
  124. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/runtimeConfig.native.d.ts +39 -0
  125. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/runtimeConfig.shared.d.ts +13 -0
  126. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/ts3.4/CognitoIdentity.d.ts +120 -0
  127. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/ts3.4/CognitoIdentityClient.d.ts +96 -0
  128. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/ts3.4/commands/CreateIdentityPoolCommand.d.ts +17 -0
  129. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/ts3.4/commands/DeleteIdentitiesCommand.d.ts +17 -0
  130. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/ts3.4/commands/DeleteIdentityPoolCommand.d.ts +17 -0
  131. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/ts3.4/commands/DescribeIdentityCommand.d.ts +17 -0
  132. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/ts3.4/commands/DescribeIdentityPoolCommand.d.ts +17 -0
  133. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/ts3.4/commands/GetCredentialsForIdentityCommand.d.ts +17 -0
  134. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/ts3.4/commands/GetIdCommand.d.ts +17 -0
  135. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/ts3.4/commands/GetIdentityPoolRolesCommand.d.ts +17 -0
  136. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/ts3.4/commands/GetOpenIdTokenCommand.d.ts +17 -0
  137. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/ts3.4/commands/GetOpenIdTokenForDeveloperIdentityCommand.d.ts +17 -0
  138. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/ts3.4/commands/GetPrincipalTagAttributeMapCommand.d.ts +17 -0
  139. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/ts3.4/commands/ListIdentitiesCommand.d.ts +17 -0
  140. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/ts3.4/commands/ListIdentityPoolsCommand.d.ts +17 -0
  141. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +17 -0
  142. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/ts3.4/commands/LookupDeveloperIdentityCommand.d.ts +17 -0
  143. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/ts3.4/commands/MergeDeveloperIdentitiesCommand.d.ts +17 -0
  144. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/ts3.4/commands/SetIdentityPoolRolesCommand.d.ts +17 -0
  145. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/ts3.4/commands/SetPrincipalTagAttributeMapCommand.d.ts +17 -0
  146. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/ts3.4/commands/TagResourceCommand.d.ts +17 -0
  147. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/ts3.4/commands/UnlinkDeveloperIdentityCommand.d.ts +17 -0
  148. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/ts3.4/commands/UnlinkIdentityCommand.d.ts +17 -0
  149. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +17 -0
  150. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/ts3.4/commands/UpdateIdentityPoolCommand.d.ts +17 -0
  151. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/ts3.4/commands/index.d.ts +23 -0
  152. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/ts3.4/endpoints.d.ts +2 -0
  153. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/ts3.4/index.d.ts +6 -0
  154. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/ts3.4/models/CognitoIdentityServiceException.d.ts +6 -0
  155. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/ts3.4/models/index.d.ts +1 -0
  156. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/ts3.4/models/models_0.d.ts +567 -0
  157. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
  158. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/ts3.4/pagination/ListIdentityPoolsPaginator.d.ts +4 -0
  159. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/ts3.4/pagination/index.d.ts +2 -0
  160. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +71 -0
  161. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/ts3.4/runtimeConfig.browser.d.ts +38 -0
  162. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/ts3.4/runtimeConfig.d.ts +38 -0
  163. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/ts3.4/runtimeConfig.native.d.ts +37 -0
  164. package/node_modules/@aws-sdk/client-cognito-identity/dist-types/ts3.4/runtimeConfig.shared.d.ts +11 -0
  165. package/node_modules/@aws-sdk/client-cognito-identity/package.json +107 -0
  166. package/node_modules/@aws-sdk/credential-provider-cognito-identity/CHANGELOG.md +4874 -0
  167. package/node_modules/@aws-sdk/credential-provider-cognito-identity/LICENSE +201 -0
  168. package/node_modules/@aws-sdk/credential-provider-cognito-identity/README.md +11 -0
  169. package/node_modules/@aws-sdk/credential-provider-cognito-identity/dist-cjs/CognitoProviderParameters.js +2 -0
  170. package/node_modules/@aws-sdk/credential-provider-cognito-identity/dist-cjs/InMemoryStorage.js +21 -0
  171. package/node_modules/@aws-sdk/credential-provider-cognito-identity/dist-cjs/IndexedDbStorage.js +71 -0
  172. package/node_modules/@aws-sdk/credential-provider-cognito-identity/dist-cjs/Logins.js +2 -0
  173. package/node_modules/@aws-sdk/credential-provider-cognito-identity/dist-cjs/Storage.js +2 -0
  174. package/node_modules/@aws-sdk/credential-provider-cognito-identity/dist-cjs/fromCognitoIdentity.js +32 -0
  175. package/node_modules/@aws-sdk/credential-provider-cognito-identity/dist-cjs/fromCognitoIdentityPool.js +42 -0
  176. package/node_modules/@aws-sdk/credential-provider-cognito-identity/dist-cjs/index.js +8 -0
  177. package/node_modules/@aws-sdk/credential-provider-cognito-identity/dist-cjs/localStorage.js +16 -0
  178. package/node_modules/@aws-sdk/credential-provider-cognito-identity/dist-cjs/resolveLogins.js +19 -0
  179. package/node_modules/@aws-sdk/credential-provider-cognito-identity/dist-es/CognitoProviderParameters.js +1 -0
  180. package/node_modules/@aws-sdk/credential-provider-cognito-identity/dist-es/InMemoryStorage.js +20 -0
  181. package/node_modules/@aws-sdk/credential-provider-cognito-identity/dist-es/IndexedDbStorage.js +70 -0
  182. package/node_modules/@aws-sdk/credential-provider-cognito-identity/dist-es/Logins.js +1 -0
  183. package/node_modules/@aws-sdk/credential-provider-cognito-identity/dist-es/Storage.js +1 -0
  184. package/node_modules/@aws-sdk/credential-provider-cognito-identity/dist-es/fromCognitoIdentity.js +50 -0
  185. package/node_modules/@aws-sdk/credential-provider-cognito-identity/dist-es/fromCognitoIdentityPool.js +73 -0
  186. package/node_modules/@aws-sdk/credential-provider-cognito-identity/dist-es/index.js +5 -0
  187. package/node_modules/@aws-sdk/credential-provider-cognito-identity/dist-es/localStorage.js +12 -0
  188. package/node_modules/@aws-sdk/credential-provider-cognito-identity/dist-es/resolveLogins.js +19 -0
  189. package/node_modules/@aws-sdk/credential-provider-cognito-identity/dist-types/CognitoProviderParameters.d.ts +25 -0
  190. package/node_modules/@aws-sdk/credential-provider-cognito-identity/dist-types/InMemoryStorage.d.ts +8 -0
  191. package/node_modules/@aws-sdk/credential-provider-cognito-identity/dist-types/IndexedDbStorage.d.ts +10 -0
  192. package/node_modules/@aws-sdk/credential-provider-cognito-identity/dist-types/Logins.d.ts +3 -0
  193. package/node_modules/@aws-sdk/credential-provider-cognito-identity/dist-types/Storage.d.ts +14 -0
  194. package/node_modules/@aws-sdk/credential-provider-cognito-identity/dist-types/fromCognitoIdentity.d.ts +23 -0
  195. package/node_modules/@aws-sdk/credential-provider-cognito-identity/dist-types/fromCognitoIdentityPool.d.ts +44 -0
  196. package/node_modules/@aws-sdk/credential-provider-cognito-identity/dist-types/index.d.ts +5 -0
  197. package/node_modules/@aws-sdk/credential-provider-cognito-identity/dist-types/localStorage.d.ts +2 -0
  198. package/node_modules/@aws-sdk/credential-provider-cognito-identity/dist-types/resolveLogins.d.ts +5 -0
  199. package/node_modules/@aws-sdk/credential-provider-cognito-identity/dist-types/ts3.4/CognitoProviderParameters.d.ts +10 -0
  200. package/node_modules/@aws-sdk/credential-provider-cognito-identity/dist-types/ts3.4/InMemoryStorage.d.ts +8 -0
  201. package/node_modules/@aws-sdk/credential-provider-cognito-identity/dist-types/ts3.4/IndexedDbStorage.d.ts +10 -0
  202. package/node_modules/@aws-sdk/credential-provider-cognito-identity/dist-types/ts3.4/Logins.d.ts +3 -0
  203. package/node_modules/@aws-sdk/credential-provider-cognito-identity/dist-types/ts3.4/Storage.d.ts +6 -0
  204. package/node_modules/@aws-sdk/credential-provider-cognito-identity/dist-types/ts3.4/fromCognitoIdentity.d.ts +13 -0
  205. package/node_modules/@aws-sdk/credential-provider-cognito-identity/dist-types/ts3.4/fromCognitoIdentityPool.d.ts +15 -0
  206. package/node_modules/@aws-sdk/credential-provider-cognito-identity/dist-types/ts3.4/index.d.ts +5 -0
  207. package/node_modules/@aws-sdk/credential-provider-cognito-identity/dist-types/ts3.4/localStorage.d.ts +2 -0
  208. package/node_modules/@aws-sdk/credential-provider-cognito-identity/dist-types/ts3.4/resolveLogins.d.ts +3 -0
  209. package/node_modules/@aws-sdk/credential-provider-cognito-identity/package.json +59 -0
  210. package/node_modules/@aws-sdk/credential-providers/CHANGELOG.md +570 -0
  211. package/node_modules/@aws-sdk/credential-providers/LICENSE +201 -0
  212. package/node_modules/@aws-sdk/credential-providers/README.md +663 -0
  213. package/node_modules/@aws-sdk/credential-providers/dist-cjs/fromCognitoIdentity.js +13 -0
  214. package/node_modules/@aws-sdk/credential-providers/dist-cjs/fromCognitoIdentityPool.js +13 -0
  215. package/node_modules/@aws-sdk/credential-providers/dist-cjs/fromContainerMetadata.js +6 -0
  216. package/node_modules/@aws-sdk/credential-providers/dist-cjs/fromEnv.js +6 -0
  217. package/node_modules/@aws-sdk/credential-providers/dist-cjs/fromIni.js +14 -0
  218. package/node_modules/@aws-sdk/credential-providers/dist-cjs/fromInstanceMetadata.js +6 -0
  219. package/node_modules/@aws-sdk/credential-providers/dist-cjs/fromNodeProviderChain.js +14 -0
  220. package/node_modules/@aws-sdk/credential-providers/dist-cjs/fromProcess.js +6 -0
  221. package/node_modules/@aws-sdk/credential-providers/dist-cjs/fromSSO.js +7 -0
  222. package/node_modules/@aws-sdk/credential-providers/dist-cjs/fromTemporaryCredentials.js +31 -0
  223. package/node_modules/@aws-sdk/credential-providers/dist-cjs/fromTokenFile.js +13 -0
  224. package/node_modules/@aws-sdk/credential-providers/dist-cjs/fromWebToken.js +13 -0
  225. package/node_modules/@aws-sdk/credential-providers/dist-cjs/index.js +15 -0
  226. package/node_modules/@aws-sdk/credential-providers/dist-cjs/index.web.js +7 -0
  227. package/node_modules/@aws-sdk/credential-providers/dist-es/fromCognitoIdentity.js +7 -0
  228. package/node_modules/@aws-sdk/credential-providers/dist-es/fromCognitoIdentityPool.js +7 -0
  229. package/node_modules/@aws-sdk/credential-providers/dist-es/fromContainerMetadata.js +2 -0
  230. package/node_modules/@aws-sdk/credential-providers/dist-es/fromEnv.js +2 -0
  231. package/node_modules/@aws-sdk/credential-providers/dist-es/fromIni.js +8 -0
  232. package/node_modules/@aws-sdk/credential-providers/dist-es/fromInstanceMetadata.js +2 -0
  233. package/node_modules/@aws-sdk/credential-providers/dist-es/fromNodeProviderChain.js +8 -0
  234. package/node_modules/@aws-sdk/credential-providers/dist-es/fromProcess.js +2 -0
  235. package/node_modules/@aws-sdk/credential-providers/dist-es/fromSSO.js +7 -0
  236. package/node_modules/@aws-sdk/credential-providers/dist-es/fromTemporaryCredentials.js +40 -0
  237. package/node_modules/@aws-sdk/credential-providers/dist-es/fromTokenFile.js +8 -0
  238. package/node_modules/@aws-sdk/credential-providers/dist-es/fromWebToken.js +7 -0
  239. package/node_modules/@aws-sdk/credential-providers/dist-es/index.js +12 -0
  240. package/node_modules/@aws-sdk/credential-providers/dist-es/index.web.js +4 -0
  241. package/node_modules/@aws-sdk/credential-providers/dist-types/fromCognitoIdentity.d.ts +45 -0
  242. package/node_modules/@aws-sdk/credential-providers/dist-types/fromCognitoIdentityPool.d.ts +46 -0
  243. package/node_modules/@aws-sdk/credential-providers/dist-types/fromContainerMetadata.d.ts +24 -0
  244. package/node_modules/@aws-sdk/credential-providers/dist-types/fromEnv.d.ts +26 -0
  245. package/node_modules/@aws-sdk/credential-providers/dist-types/fromIni.d.ts +43 -0
  246. package/node_modules/@aws-sdk/credential-providers/dist-types/fromInstanceMetadata.d.ts +22 -0
  247. package/node_modules/@aws-sdk/credential-providers/dist-types/fromNodeProviderChain.d.ts +29 -0
  248. package/node_modules/@aws-sdk/credential-providers/dist-types/fromProcess.d.ts +28 -0
  249. package/node_modules/@aws-sdk/credential-providers/dist-types/fromSSO.d.ts +48 -0
  250. package/node_modules/@aws-sdk/credential-providers/dist-types/fromTemporaryCredentials.d.ts +48 -0
  251. package/node_modules/@aws-sdk/credential-providers/dist-types/fromTokenFile.d.ts +32 -0
  252. package/node_modules/@aws-sdk/credential-providers/dist-types/fromWebToken.d.ts +41 -0
  253. package/node_modules/@aws-sdk/credential-providers/dist-types/index.d.ts +12 -0
  254. package/node_modules/@aws-sdk/credential-providers/dist-types/index.web.d.ts +4 -0
  255. package/node_modules/@aws-sdk/credential-providers/dist-types/ts3.4/fromCognitoIdentity.d.ts +9 -0
  256. package/node_modules/@aws-sdk/credential-providers/dist-types/ts3.4/fromCognitoIdentityPool.d.ts +7 -0
  257. package/node_modules/@aws-sdk/credential-providers/dist-types/ts3.4/fromContainerMetadata.d.ts +6 -0
  258. package/node_modules/@aws-sdk/credential-providers/dist-types/ts3.4/fromEnv.d.ts +3 -0
  259. package/node_modules/@aws-sdk/credential-providers/dist-types/ts3.4/fromIni.d.ts +8 -0
  260. package/node_modules/@aws-sdk/credential-providers/dist-types/ts3.4/fromInstanceMetadata.d.ts +4 -0
  261. package/node_modules/@aws-sdk/credential-providers/dist-types/ts3.4/fromNodeProviderChain.d.ts +8 -0
  262. package/node_modules/@aws-sdk/credential-providers/dist-types/ts3.4/fromProcess.d.ts +6 -0
  263. package/node_modules/@aws-sdk/credential-providers/dist-types/ts3.4/fromSSO.d.ts +8 -0
  264. package/node_modules/@aws-sdk/credential-providers/dist-types/ts3.4/fromTemporaryCredentials.d.ts +12 -0
  265. package/node_modules/@aws-sdk/credential-providers/dist-types/ts3.4/fromTokenFile.d.ts +8 -0
  266. package/node_modules/@aws-sdk/credential-providers/dist-types/ts3.4/fromWebToken.d.ts +8 -0
  267. package/node_modules/@aws-sdk/credential-providers/dist-types/ts3.4/index.d.ts +12 -0
  268. package/node_modules/@aws-sdk/credential-providers/dist-types/ts3.4/index.web.d.ts +4 -0
  269. package/node_modules/@aws-sdk/credential-providers/package.json +78 -0
  270. package/package.json +6 -3
@@ -0,0 +1,73 @@
1
+ import { __awaiter, __generator } from "tslib";
2
+ import { GetIdCommand } from "@aws-sdk/client-cognito-identity";
3
+ import { CredentialsProviderError } from "@aws-sdk/property-provider";
4
+ import { fromCognitoIdentity } from "./fromCognitoIdentity";
5
+ import { localStorage } from "./localStorage";
6
+ import { resolveLogins } from "./resolveLogins";
7
+ export function fromCognitoIdentityPool(_a) {
8
+ var _this = this;
9
+ var accountId = _a.accountId, _b = _a.cache, cache = _b === void 0 ? localStorage() : _b, client = _a.client, customRoleArn = _a.customRoleArn, identityPoolId = _a.identityPoolId, logins = _a.logins, _c = _a.userIdentifier, userIdentifier = _c === void 0 ? !logins || Object.keys(logins).length === 0 ? "ANONYMOUS" : undefined : _c;
10
+ var cacheKey = userIdentifier ? "aws:cognito-identity-credentials:".concat(identityPoolId, ":").concat(userIdentifier) : undefined;
11
+ var provider = function () { return __awaiter(_this, void 0, void 0, function () {
12
+ var identityId, _a, _b, IdentityId, _c, _d, _e, _f;
13
+ var _g;
14
+ return __generator(this, function (_h) {
15
+ switch (_h.label) {
16
+ case 0:
17
+ _a = cacheKey;
18
+ if (!_a) return [3, 2];
19
+ return [4, cache.getItem(cacheKey)];
20
+ case 1:
21
+ _a = (_h.sent());
22
+ _h.label = 2;
23
+ case 2:
24
+ identityId = _a;
25
+ if (!!identityId) return [3, 7];
26
+ _d = (_c = client).send;
27
+ _e = GetIdCommand.bind;
28
+ _g = {
29
+ AccountId: accountId,
30
+ IdentityPoolId: identityPoolId
31
+ };
32
+ if (!logins) return [3, 4];
33
+ return [4, resolveLogins(logins)];
34
+ case 3:
35
+ _f = _h.sent();
36
+ return [3, 5];
37
+ case 4:
38
+ _f = undefined;
39
+ _h.label = 5;
40
+ case 5: return [4, _d.apply(_c, [new (_e.apply(GetIdCommand, [void 0, (_g.Logins = _f,
41
+ _g)]))()])];
42
+ case 6:
43
+ _b = (_h.sent()).IdentityId, IdentityId = _b === void 0 ? throwOnMissingId() : _b;
44
+ identityId = IdentityId;
45
+ if (cacheKey) {
46
+ Promise.resolve(cache.setItem(cacheKey, identityId)).catch(function () { });
47
+ }
48
+ _h.label = 7;
49
+ case 7:
50
+ provider = fromCognitoIdentity({
51
+ client: client,
52
+ customRoleArn: customRoleArn,
53
+ logins: logins,
54
+ identityId: identityId,
55
+ });
56
+ return [2, provider()];
57
+ }
58
+ });
59
+ }); };
60
+ return function () {
61
+ return provider().catch(function (err) { return __awaiter(_this, void 0, void 0, function () {
62
+ return __generator(this, function (_a) {
63
+ if (cacheKey) {
64
+ Promise.resolve(cache.removeItem(cacheKey)).catch(function () { });
65
+ }
66
+ throw err;
67
+ });
68
+ }); });
69
+ };
70
+ }
71
+ function throwOnMissingId() {
72
+ throw new CredentialsProviderError("Response from Amazon Cognito contained no identity ID");
73
+ }
@@ -0,0 +1,5 @@
1
+ export * from "./CognitoProviderParameters";
2
+ export * from "./Logins";
3
+ export * from "./Storage";
4
+ export * from "./fromCognitoIdentity";
5
+ export * from "./fromCognitoIdentityPool";
@@ -0,0 +1,12 @@
1
+ import { IndexedDbStorage } from "./IndexedDbStorage";
2
+ import { InMemoryStorage } from "./InMemoryStorage";
3
+ var inMemoryStorage = new InMemoryStorage();
4
+ export function localStorage() {
5
+ if (typeof self === "object" && self.indexedDB) {
6
+ return new IndexedDbStorage();
7
+ }
8
+ if (typeof window === "object" && window.localStorage) {
9
+ return window.localStorage;
10
+ }
11
+ return inMemoryStorage;
12
+ }
@@ -0,0 +1,19 @@
1
+ import { __read } from "tslib";
2
+ export function resolveLogins(logins) {
3
+ return Promise.all(Object.keys(logins).reduce(function (arr, name) {
4
+ var tokenOrProvider = logins[name];
5
+ if (typeof tokenOrProvider === "string") {
6
+ arr.push([name, tokenOrProvider]);
7
+ }
8
+ else {
9
+ arr.push(tokenOrProvider().then(function (token) { return [name, token]; }));
10
+ }
11
+ return arr;
12
+ }, [])).then(function (resolvedPairs) {
13
+ return resolvedPairs.reduce(function (logins, _a) {
14
+ var _b = __read(_a, 2), key = _b[0], value = _b[1];
15
+ logins[key] = value;
16
+ return logins;
17
+ }, {});
18
+ });
19
+ }
@@ -0,0 +1,25 @@
1
+ import { CognitoIdentityClient } from "@aws-sdk/client-cognito-identity";
2
+ import { Logins } from "./Logins";
3
+ export interface CognitoProviderParameters {
4
+ /**
5
+ * The SDK client with which the credential provider will contact the Amazon
6
+ * Cognito service.
7
+ */
8
+ client: CognitoIdentityClient;
9
+ /**
10
+ * The Amazon Resource Name (ARN) of the role to be assumed when multiple
11
+ * roles were received in the token from the identity provider. For example,
12
+ * a SAML-based identity provider. This parameter is optional for identity
13
+ * providers that do not support role customization.
14
+ */
15
+ customRoleArn?: string;
16
+ /**
17
+ * A set of key-value pairs that map external identity provider names to
18
+ * login tokens or functions that return promises for login tokens. The
19
+ * latter should be used when login tokens must be periodically refreshed.
20
+ *
21
+ * Logins should not be specified when trying to get credentials for an
22
+ * unauthenticated identity.
23
+ */
24
+ logins?: Logins;
25
+ }
@@ -0,0 +1,8 @@
1
+ import { Storage } from "./Storage";
2
+ export declare class InMemoryStorage implements Storage {
3
+ private store;
4
+ constructor(store?: Record<string, string>);
5
+ getItem(key: string): string | null;
6
+ removeItem(key: string): void;
7
+ setItem(key: string, value: string): void;
8
+ }
@@ -0,0 +1,10 @@
1
+ import { Storage } from "./Storage";
2
+ export declare class IndexedDbStorage implements Storage {
3
+ private readonly dbName;
4
+ constructor(dbName?: string);
5
+ getItem(key: string): Promise<string | null>;
6
+ removeItem(key: string): Promise<void>;
7
+ setItem(id: string, value: string): Promise<void>;
8
+ private getDb;
9
+ private withObjectStore;
10
+ }
@@ -0,0 +1,3 @@
1
+ import { Provider } from "@aws-sdk/types";
2
+ export declare type Logins = Record<string, string | Provider<string>>;
3
+ export declare type ResolvedLogins = Record<string, string>;
@@ -0,0 +1,14 @@
1
+ /**
2
+ * A subset of the Storage interface defined in the WHATWG HTML specification.
3
+ * Access by index is not supported, as it cannot be replicated without Proxy
4
+ * objects.
5
+ *
6
+ * The interface has been augmented to support asynchronous storage
7
+ *
8
+ * @see https://html.spec.whatwg.org/multipage/webstorage.html#the-storage-interface
9
+ */
10
+ export interface Storage {
11
+ getItem(key: string): string | null | Promise<string | null>;
12
+ removeItem(key: string): void | Promise<void>;
13
+ setItem(key: string, data: string): void | Promise<void>;
14
+ }
@@ -0,0 +1,23 @@
1
+ import { Credentials, Provider } from "@aws-sdk/types";
2
+ import { CognitoProviderParameters } from "./CognitoProviderParameters";
3
+ export interface CognitoIdentityCredentials extends Credentials {
4
+ /**
5
+ * The Cognito ID returned by the last call to AWS.CognitoIdentity.getOpenIdToken().
6
+ */
7
+ identityId: string;
8
+ }
9
+ export declare type CognitoIdentityCredentialProvider = Provider<CognitoIdentityCredentials>;
10
+ /**
11
+ * Retrieves temporary AWS credentials using Amazon Cognito's
12
+ * `GetCredentialsForIdentity` operation.
13
+ *
14
+ * Results from this function call are not cached internally.
15
+ */
16
+ export declare function fromCognitoIdentity(parameters: FromCognitoIdentityParameters): CognitoIdentityCredentialProvider;
17
+ export interface FromCognitoIdentityParameters extends CognitoProviderParameters {
18
+ /**
19
+ * The unique identifier for the identity against which credentials will be
20
+ * issued.
21
+ */
22
+ identityId: string;
23
+ }
@@ -0,0 +1,44 @@
1
+ import { CognitoProviderParameters } from "./CognitoProviderParameters";
2
+ import { CognitoIdentityCredentialProvider } from "./fromCognitoIdentity";
3
+ import { Storage } from "./Storage";
4
+ /**
5
+ * Retrieves or generates a unique identifier using Amazon Cognito's `GetId`
6
+ * operation, then generates temporary AWS credentials using Amazon Cognito's
7
+ * `GetCredentialsForIdentity` operation.
8
+ *
9
+ * Results from `GetId` are cached internally, but results from
10
+ * `GetCredentialsForIdentity` are not.
11
+ */
12
+ export declare function fromCognitoIdentityPool({ accountId, cache, client, customRoleArn, identityPoolId, logins, userIdentifier, }: FromCognitoIdentityPoolParameters): CognitoIdentityCredentialProvider;
13
+ export interface FromCognitoIdentityPoolParameters extends CognitoProviderParameters {
14
+ /**
15
+ * A standard AWS account ID (9+ digits).
16
+ */
17
+ accountId?: string;
18
+ /**
19
+ * A cache in which to store resolved Cognito IdentityIds. If not supplied,
20
+ * the credential provider will attempt to store IdentityIds in one of the
21
+ * following (in order of preference):
22
+ * 1. IndexedDB
23
+ * 2. LocalStorage
24
+ * 3. An in-memory cache object that will not persist between pages.
25
+ *
26
+ * IndexedDB is preferred to maximize data sharing between top-level
27
+ * browsing contexts and web workers.
28
+ *
29
+ * The provider will not cache IdentityIds of authenticated users unless a
30
+ * separate `userIdentitifer` parameter is supplied.
31
+ */
32
+ cache?: Storage;
33
+ /**
34
+ * The unique identifier for the identity pool from which an identity should
35
+ * be retrieved or generated.
36
+ */
37
+ identityPoolId: string;
38
+ /**
39
+ * A unique identifier for the user. This is distinct from a Cognito
40
+ * IdentityId and should instead be an identifier meaningful to your
41
+ * application. Used to cache Cognito IdentityIds on a per-user basis.
42
+ */
43
+ userIdentifier?: string;
44
+ }
@@ -0,0 +1,5 @@
1
+ export * from "./CognitoProviderParameters";
2
+ export * from "./Logins";
3
+ export * from "./Storage";
4
+ export * from "./fromCognitoIdentity";
5
+ export * from "./fromCognitoIdentityPool";
@@ -0,0 +1,2 @@
1
+ import { Storage } from "./Storage";
2
+ export declare function localStorage(): Storage;
@@ -0,0 +1,5 @@
1
+ import { Logins, ResolvedLogins } from "./Logins";
2
+ /**
3
+ * @internal
4
+ */
5
+ export declare function resolveLogins(logins: Logins): Promise<ResolvedLogins>;
@@ -0,0 +1,10 @@
1
+ import { CognitoIdentityClient } from "@aws-sdk/client-cognito-identity";
2
+ import { Logins } from "./Logins";
3
+ export interface CognitoProviderParameters {
4
+
5
+ client: CognitoIdentityClient;
6
+
7
+ customRoleArn?: string;
8
+
9
+ logins?: Logins;
10
+ }
@@ -0,0 +1,8 @@
1
+ import { Storage } from "./Storage";
2
+ export declare class InMemoryStorage implements Storage {
3
+ private store;
4
+ constructor(store?: Record<string, string>);
5
+ getItem(key: string): string | null;
6
+ removeItem(key: string): void;
7
+ setItem(key: string, value: string): void;
8
+ }
@@ -0,0 +1,10 @@
1
+ import { Storage } from "./Storage";
2
+ export declare class IndexedDbStorage implements Storage {
3
+ private readonly dbName;
4
+ constructor(dbName?: string);
5
+ getItem(key: string): Promise<string | null>;
6
+ removeItem(key: string): Promise<void>;
7
+ setItem(id: string, value: string): Promise<void>;
8
+ private getDb;
9
+ private withObjectStore;
10
+ }
@@ -0,0 +1,3 @@
1
+ import { Provider } from "@aws-sdk/types";
2
+ export declare type Logins = Record<string, string | Provider<string>>;
3
+ export declare type ResolvedLogins = Record<string, string>;
@@ -0,0 +1,6 @@
1
+
2
+ export interface Storage {
3
+ getItem(key: string): string | null | Promise<string | null>;
4
+ removeItem(key: string): void | Promise<void>;
5
+ setItem(key: string, data: string): void | Promise<void>;
6
+ }
@@ -0,0 +1,13 @@
1
+ import { Credentials, Provider } from "@aws-sdk/types";
2
+ import { CognitoProviderParameters } from "./CognitoProviderParameters";
3
+ export interface CognitoIdentityCredentials extends Credentials {
4
+
5
+ identityId: string;
6
+ }
7
+ export declare type CognitoIdentityCredentialProvider = Provider<CognitoIdentityCredentials>;
8
+
9
+ export declare function fromCognitoIdentity(parameters: FromCognitoIdentityParameters): CognitoIdentityCredentialProvider;
10
+ export interface FromCognitoIdentityParameters extends CognitoProviderParameters {
11
+
12
+ identityId: string;
13
+ }
@@ -0,0 +1,15 @@
1
+ import { CognitoProviderParameters } from "./CognitoProviderParameters";
2
+ import { CognitoIdentityCredentialProvider } from "./fromCognitoIdentity";
3
+ import { Storage } from "./Storage";
4
+
5
+ export declare function fromCognitoIdentityPool({ accountId, cache, client, customRoleArn, identityPoolId, logins, userIdentifier, }: FromCognitoIdentityPoolParameters): CognitoIdentityCredentialProvider;
6
+ export interface FromCognitoIdentityPoolParameters extends CognitoProviderParameters {
7
+
8
+ accountId?: string;
9
+
10
+ cache?: Storage;
11
+
12
+ identityPoolId: string;
13
+
14
+ userIdentifier?: string;
15
+ }
@@ -0,0 +1,5 @@
1
+ export * from "./CognitoProviderParameters";
2
+ export * from "./Logins";
3
+ export * from "./Storage";
4
+ export * from "./fromCognitoIdentity";
5
+ export * from "./fromCognitoIdentityPool";
@@ -0,0 +1,2 @@
1
+ import { Storage } from "./Storage";
2
+ export declare function localStorage(): Storage;
@@ -0,0 +1,3 @@
1
+ import { Logins, ResolvedLogins } from "./Logins";
2
+
3
+ export declare function resolveLogins(logins: Logins): Promise<ResolvedLogins>;
@@ -0,0 +1,59 @@
1
+ {
2
+ "name": "@aws-sdk/credential-provider-cognito-identity",
3
+ "version": "3.154.0",
4
+ "scripts": {
5
+ "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
6
+ "build:cjs": "tsc -p tsconfig.cjs.json",
7
+ "build:es": "tsc -p tsconfig.es.json",
8
+ "build:types": "tsc -p tsconfig.types.json",
9
+ "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
10
+ "clean": "rimraf ./dist-* && rimraf *.tsbuildinfo",
11
+ "test": "jest"
12
+ },
13
+ "main": "./dist-cjs/index.js",
14
+ "module": "./dist-es/index.js",
15
+ "types": "./dist-types/index.d.ts",
16
+ "sideEffects": false,
17
+ "author": {
18
+ "name": "AWS SDK for JavaScript Team",
19
+ "url": "https://aws.amazon.com/javascript/"
20
+ },
21
+ "license": "Apache-2.0",
22
+ "dependencies": {
23
+ "@aws-sdk/client-cognito-identity": "3.154.0",
24
+ "@aws-sdk/property-provider": "3.127.0",
25
+ "@aws-sdk/types": "3.127.0",
26
+ "tslib": "^2.3.1"
27
+ },
28
+ "engines": {
29
+ "node": ">= 12.0.0"
30
+ },
31
+ "typesVersions": {
32
+ "<4.0": {
33
+ "dist-types/*": [
34
+ "dist-types/ts3.4/*"
35
+ ]
36
+ }
37
+ },
38
+ "files": [
39
+ "dist-*"
40
+ ],
41
+ "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/packages/credential-provider-cognito-identity",
42
+ "repository": {
43
+ "type": "git",
44
+ "url": "https://github.com/aws/aws-sdk-js-v3.git",
45
+ "directory": "packages/credential-provider-cognito-identity"
46
+ },
47
+ "devDependencies": {
48
+ "@tsconfig/recommended": "1.0.1",
49
+ "concurrently": "7.0.0",
50
+ "downlevel-dts": "0.7.0",
51
+ "rimraf": "3.0.2",
52
+ "typedoc": "0.19.2",
53
+ "typescript": "~4.6.2"
54
+ }
55
+
56
+ ,"_resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-cognito-identity/-/credential-provider-cognito-identity-3.154.0.tgz"
57
+ ,"_integrity": "sha512-19kmtBcoM/vUHMoBv+YiNkvWTVeJc7ZFISjQSEFbWn7ZcUEPTejXa+iy5UmEP1Xe8aEjOWSxx4D+dFBFgF/1kw=="
58
+ ,"_from": "@aws-sdk/credential-provider-cognito-identity@3.154.0"
59
+ }