lupine.web 1.0.22 → 1.0.24
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/package.json
CHANGED
|
@@ -1,9 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "lupine.web",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.24",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"author": "uuware.com",
|
|
6
|
-
"homepage": "https://
|
|
6
|
+
"homepage": "https://github.com/uuware/lupine.js",
|
|
7
|
+
"repository": {
|
|
8
|
+
"type": "git",
|
|
9
|
+
"url": "https://github.com/uuware/lupine.js.git",
|
|
10
|
+
"directory": "packages/lupine.web"
|
|
11
|
+
},
|
|
7
12
|
"description": "lupine.web is a extremely fast, small size and lightweight frontend framework, using React TSX syntax.",
|
|
8
13
|
"main": "src/index.ts",
|
|
9
14
|
"source": "src/index.ts",
|
|
@@ -3,7 +3,12 @@ import { PageRouter } from './page-router';
|
|
|
3
3
|
import { IToClientDelivery, JsonObject } from '../models';
|
|
4
4
|
|
|
5
5
|
export type RenderPageFunctionsType = {
|
|
6
|
-
fetchData: (
|
|
6
|
+
fetchData: (
|
|
7
|
+
url: string,
|
|
8
|
+
postBody?: string | JsonObject,
|
|
9
|
+
returnRawResponse?: boolean,
|
|
10
|
+
returnHeaders?: boolean
|
|
11
|
+
) => Promise<any>;
|
|
7
12
|
// add host for mobile app, which needs the host
|
|
8
13
|
baseUrl: (urlWithoutHost?: string) => string;
|
|
9
14
|
[key: string]: Function;
|