@center-inc/react
Advanced tools
Comparing version 1.1.1 to 1.1.2
@@ -7,4 +7,16 @@ export { CenterProvider } from './src/components/CenterProvider'; | ||
export { useCollectionSearch } from './src/hooks/useCollectionSearch'; | ||
export * from './src/components/Asset'; | ||
export type { ProgressRendererProps } from './src/components/Asset/Asset'; | ||
export type { Network, ApiMode, MediaPreset } from './src/types'; | ||
/** | ||
* TODO(enes): check this error | ||
* Needed to update export modules from Asset component like named export instead of default export. | ||
* The applications using this package throws this error: | ||
* | ||
* SyntaxError: Named export 'A' not found. The requested module './index-b8e44e8e.js' is a CommonJS module, which may not support all module.exports as named exports. | ||
* CommonJS modules can always be imported via the default export, for example using: | ||
* import pkg from './index-b8e44e8e.js'; | ||
* const {A: Asset,S: AssetLoadingStatus,f: Assets,C: CenterProvider,E: ErrorPlaceholder,L: LoadingPlaceholder,u: useAsset,b: useAssets,c: useCenterContext,d: useCollection,e: useCollectionSearch} = pkg; | ||
* | ||
*/ | ||
export { Asset, AssetLoadingStatus, Assets, ErrorPlaceholder, LoadingPlaceholder } from './src/components/Asset'; | ||
export type { AssetProps } from './src/components/Asset'; |
@@ -5,3 +5,3 @@ { | ||
"author": "Center Pixel, Inc <opensource@center.app>", | ||
"version": "1.1.1", | ||
"version": "1.1.2", | ||
"publishConfig": { | ||
@@ -27,12 +27,10 @@ "access": "public" | ||
"@babel/core": ">=7.11.0 <8.0.0", | ||
"@center-inc/api-client": "1.1.1", | ||
"@center-inc/api-client": "1.1.2", | ||
"eslint": "^7.5.0 || ^8.0.0", | ||
"form-data": "^4.0.0", | ||
"headers-polyfill": "^3.0.10", | ||
"react": "17.0.2", | ||
"react-dom": ">=17.0.2 <18.0.0" | ||
"headers-polyfill": "^3.0.10" | ||
}, | ||
"peerDependencies": { | ||
"react": ">=17.0.0", | ||
"react-dom": ">=17.0.0" | ||
"react": "*", | ||
"react-dom": "*" | ||
}, | ||
@@ -64,2 +62,4 @@ "devDependencies": { | ||
"prop-types": "^15.5.9", | ||
"react": "17.0.2", | ||
"react-dom": ">=17.0.0 <18.0.0", | ||
"rollup": ">=2.0.0 <3.0.0", | ||
@@ -66,0 +66,0 @@ "ts-jest": "~27.1.1", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
193210
7
607
31
+ Added@center-inc/api-client@1.1.2(transitive)
+ Addedreact@18.3.1(transitive)
+ Addedreact-dom@18.3.1(transitive)
+ Addedscheduler@0.23.2(transitive)
- Removedreact@17.0.2
- Removedreact-dom@>=17.0.2 <18.0.0
- Removed@center-inc/api-client@1.1.1(transitive)
- Removedobject-assign@4.1.1(transitive)
- Removedreact@17.0.2(transitive)
- Removedreact-dom@17.0.2(transitive)
- Removedscheduler@0.20.2(transitive)
Updated@center-inc/api-client@1.1.2