File tree Expand file tree Collapse file tree 4 files changed +7
-7
lines changed Expand file tree Collapse file tree 4 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 4
4
"description" : " AWS credential provider for containers and HTTP sources" ,
5
5
"main" : " ./dist-cjs/index.js" ,
6
6
"module" : " ./dist-es/index.js" ,
7
+ "browser" : " ./dist-es/index.browser.js" ,
8
+ "react-native" : " ./dist-es/index.browser.js" ,
7
9
"scripts" : {
8
10
"build" : " concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'" ,
9
11
"build:cjs" : " tsc -p tsconfig.cjs.json" ,
Original file line number Diff line number Diff line change
1
+ export { fromHttp } from "./fromHttp/fromHttp.browser" ;
2
+ export type { FromHttpOptions , HttpProviderCredentials } from "./fromHttp/fromHttpTypes" ;
Original file line number Diff line number Diff line change 1
- export * from "./fromHttp/fromHttp" ;
2
- export { fromHttp as fromHttpForBrowser } from "./fromHttp/fromHttp.browser" ;
1
+ export { fromHttp } from "./fromHttp/fromHttp" ;
3
2
export type { FromHttpOptions , HttpProviderCredentials } from "./fromHttp/fromHttpTypes" ;
Original file line number Diff line number Diff line change 1
1
export * from "./fromCognitoIdentity" ;
2
2
export * from "./fromCognitoIdentityPool" ;
3
- export {
4
- fromHttpForBrowser as fromHttp ,
5
- FromHttpOptions ,
6
- HttpProviderCredentials ,
7
- } from "@aws-sdk/credential-provider-http" ;
3
+ export { fromHttp } from "@aws-sdk/credential-provider-http" ;
4
+ export type { FromHttpOptions , HttpProviderCredentials } from "@aws-sdk/credential-provider-http" ;
8
5
export * from "./fromTemporaryCredentials" ;
9
6
export * from "./fromWebToken" ;
You can’t perform that action at this time.
0 commit comments