@contentful/react-apps-toolkit 1.0.1-alpha.0 → 1.0.3
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.
- package/dist/SDKProvider.d.ts +2 -2
- package/package.json +4 -4
package/dist/SDKProvider.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { KnownSDK } from '@contentful/app-sdk';
|
|
2
|
-
import { FC, ReactElement } from 'react';
|
|
2
|
+
import { FC, PropsWithChildren, ReactElement } from 'react';
|
|
3
3
|
export declare const SDKContext: import("react").Context<{
|
|
4
4
|
sdk: KnownSDK | null;
|
|
5
5
|
}>;
|
|
@@ -10,5 +10,5 @@ interface SDKProviderProps {
|
|
|
10
10
|
* The Component providing the AppSdk, the useSDK hook can only be used within this Provider
|
|
11
11
|
* @param props.loading an optional loading element that gets rendered while initializing the app
|
|
12
12
|
*/
|
|
13
|
-
export declare const SDKProvider: FC<SDKProviderProps
|
|
13
|
+
export declare const SDKProvider: FC<PropsWithChildren<SDKProviderProps>>;
|
|
14
14
|
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@contentful/react-apps-toolkit",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.3",
|
|
4
4
|
"description": "Toolkit for building a Contentful app in React",
|
|
5
5
|
"keywords": [],
|
|
6
6
|
"author": "Contentful GmbH",
|
|
@@ -35,9 +35,9 @@
|
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
37
|
"@testing-library/react": "^12.1.3",
|
|
38
|
-
"@testing-library/react-hooks": "^
|
|
38
|
+
"@testing-library/react-hooks": "^8.0.0",
|
|
39
39
|
"@types/jest": "^27.4.0",
|
|
40
|
-
"@types/react": "^
|
|
40
|
+
"@types/react": "^18.0.2",
|
|
41
41
|
"jest": "^27.5.0",
|
|
42
42
|
"react": "^17.0.2",
|
|
43
43
|
"react-dom": "17.0.2",
|
|
@@ -51,5 +51,5 @@
|
|
|
51
51
|
"@contentful/app-sdk": "^4.0.0",
|
|
52
52
|
"contentful-management": ">=7.30.0"
|
|
53
53
|
},
|
|
54
|
-
"gitHead": "
|
|
54
|
+
"gitHead": "ecb0fd6ae31369e6122de37ce39065bb65c3cef6"
|
|
55
55
|
}
|