@hygraph/app-sdk-react 0.0.5 → 0.0.6
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/Wrapper.d.ts +1 -1
- package/dist/cjs/Wrapper.d.ts +1 -1
- package/dist/esm/Wrapper.d.ts +1 -1
- package/package.json +12 -10
package/dist/Wrapper.d.ts
CHANGED
|
@@ -14,6 +14,6 @@ type WrapperProps = {
|
|
|
14
14
|
} & {
|
|
15
15
|
children: React.ReactNode;
|
|
16
16
|
};
|
|
17
|
-
export declare function Wrapper(props: WrapperProps): JSX.Element;
|
|
17
|
+
export declare function Wrapper(props: WrapperProps): React.JSX.Element;
|
|
18
18
|
export declare function useWrapperContext(): WrapperContext;
|
|
19
19
|
export {};
|
package/dist/cjs/Wrapper.d.ts
CHANGED
|
@@ -14,6 +14,6 @@ type WrapperProps = {
|
|
|
14
14
|
} & {
|
|
15
15
|
children: React.ReactNode;
|
|
16
16
|
};
|
|
17
|
-
export declare function Wrapper(props: WrapperProps): JSX.Element;
|
|
17
|
+
export declare function Wrapper(props: WrapperProps): React.JSX.Element;
|
|
18
18
|
export declare function useWrapperContext(): WrapperContext;
|
|
19
19
|
export {};
|
package/dist/esm/Wrapper.d.ts
CHANGED
|
@@ -14,6 +14,6 @@ type WrapperProps = {
|
|
|
14
14
|
} & {
|
|
15
15
|
children: React.ReactNode;
|
|
16
16
|
};
|
|
17
|
-
export declare function Wrapper(props: WrapperProps): JSX.Element;
|
|
17
|
+
export declare function Wrapper(props: WrapperProps): React.JSX.Element;
|
|
18
18
|
export declare function useWrapperContext(): WrapperContext;
|
|
19
19
|
export {};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hygraph/app-sdk-react",
|
|
3
3
|
"license": "MIT",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.6",
|
|
5
5
|
"author": "Hygraph",
|
|
6
6
|
"publishConfig": {
|
|
7
7
|
"access": "public"
|
|
@@ -9,20 +9,22 @@
|
|
|
9
9
|
"main": "dist/cjs/index.js",
|
|
10
10
|
"module": "dist/esm/index.js",
|
|
11
11
|
"types": "dist/index.d.ts",
|
|
12
|
+
"scripts": {
|
|
13
|
+
"build": "npm run build:types && npm run build:esm && npm run build:cjs",
|
|
14
|
+
"build:types": "tsc --emitDeclarationOnly",
|
|
15
|
+
"build:esm": "tsc --target es5 --module es2015 --outDir dist/esm",
|
|
16
|
+
"build:cjs": "tsc --target es5 --module commonjs --outDir dist/cjs",
|
|
17
|
+
"prepare": "npm run build",
|
|
18
|
+
"test": "echo \"Error: no test specified\" && exit 1"
|
|
19
|
+
},
|
|
12
20
|
"dependencies": {
|
|
13
21
|
"@graphcms/zoid": "^9.0.64-alpha.3",
|
|
14
|
-
"@hygraph/app-sdk": "0.0.
|
|
22
|
+
"@hygraph/app-sdk": "0.0.6"
|
|
15
23
|
},
|
|
16
24
|
"devDependencies": {
|
|
17
25
|
"@types/react": "^17.0.2",
|
|
18
26
|
"react": "^17.0.1",
|
|
19
27
|
"typescript": "^4.1.5"
|
|
20
28
|
},
|
|
21
|
-
"
|
|
22
|
-
|
|
23
|
-
"build:types": "tsc --emitDeclarationOnly",
|
|
24
|
-
"build:esm": "tsc --target es5 --module es2015 --outDir dist/esm",
|
|
25
|
-
"build:cjs": "tsc --target es5 --module commonjs --outDir dist/cjs",
|
|
26
|
-
"test": "echo \"Error: no test specified\" && exit 1"
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
+
"gitHead": "1600fa615edc862b74ad8ba82ed92322430245ac"
|
|
30
|
+
}
|