File tree 2 files changed +0
-14
lines changed
2 files changed +0
-14
lines changed Original file line number Diff line number Diff line change 1
1
import { name , version } from "./package.json" ;
2
2
import { Sha256 } from "@aws-crypto/sha256-js" ;
3
- import { invalidFunction } from "@aws-sdk/invalid-dependency" ;
4
3
import { parseUrl } from "@aws-sdk/url-parser-node" ;
5
4
import { ClientDefaults } from "./KinesisClient" ;
6
5
import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser" ;
@@ -9,12 +8,6 @@ export const ClientDefaultValues: Required<ClientDefaults> = {
9
8
...BrowserDefaults ,
10
9
runtime : "react-native" ,
11
10
defaultUserAgent : `aws-sdk-js-v3-react-native-${ name } /${ version } ` ,
12
- eventStreamSerdeProvider : ( ) => ( {
13
- serialize : invalidFunction ( "event stream is not supported in ReactNative." ) ,
14
- deserialize : invalidFunction (
15
- "event stream is not supported in ReactNative."
16
- )
17
- } ) ,
18
11
sha256 : Sha256 ,
19
12
urlParser : parseUrl
20
13
} ;
Original file line number Diff line number Diff line change 1
1
import { name , version } from "./package.json" ;
2
2
import { Sha256 } from "@aws-crypto/sha256-js" ;
3
- import { invalidFunction } from "@aws-sdk/invalid-dependency" ;
4
3
import { parseUrl } from "@aws-sdk/url-parser-node" ;
5
4
import { ClientDefaults } from "./S3Client" ;
6
5
import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser" ;
@@ -9,12 +8,6 @@ export const ClientDefaultValues: Required<ClientDefaults> = {
9
8
...BrowserDefaults ,
10
9
runtime : "react-native" ,
11
10
defaultUserAgent : `aws-sdk-js-v3-react-native-${ name } /${ version } ` ,
12
- eventStreamSerdeProvider : ( ) => ( {
13
- serialize : invalidFunction ( "event stream is not supported in ReactNative." ) ,
14
- deserialize : invalidFunction (
15
- "event stream is not supported in ReactNative."
16
- )
17
- } ) ,
18
11
sha256 : Sha256 ,
19
12
urlParser : parseUrl
20
13
} ;
You can’t perform that action at this time.
0 commit comments