diff --git a/packages/api-bzz-react-native/src/index.ts b/packages/api-bzz-react-native/src/index.ts index 5f931c9..0328bea 100644 --- a/packages/api-bzz-react-native/src/index.ts +++ b/packages/api-bzz-react-native/src/index.ts @@ -1,5 +1,5 @@ /* eslint-env browser */ -import * as stream from 'stream' +import * as stream from 'readable-stream' // @ts-ignore import { URL } from 'universal-url' import { diff --git a/packages/api-bzz-react-native/types/index.d.ts b/packages/api-bzz-react-native/types/index.d.ts index e2730dd..5da2424 100644 --- a/packages/api-bzz-react-native/types/index.d.ts +++ b/packages/api-bzz-react-native/types/index.d.ts @@ -1,5 +1,4 @@ -/// -import * as stream from 'stream'; +import * as stream from 'readable-stream'; import { BaseBzz, BzzConfig, DirectoryData, UploadOptions } from '@erebos/api-bzz-base'; import { hexValue } from '@erebos/hex'; export * from '@erebos/api-bzz-base';