@protobase/server 0.47.0 → 0.47.1
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/package.js +1 -1
- package/dist/vapid.d.ts +3 -0
- package/dist/vapid.js +3 -0
- package/dist/web-app/app-icons.d.ts +3 -24
- package/dist/web-app/app-icons.js +1 -25
- package/dist/web-app/web-manifest-route.d.ts +1 -0
- package/package.json +6 -5
package/dist/package.js
CHANGED
package/dist/vapid.d.ts
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { vapidPrivateKeyVariable, vapidPublicKeyVariable, vapidSubjectVariable } from "./notifications/web-push/vapid-settings.js";
|
|
2
|
+
import { generateVapidKeys } from "./notifications/web-push/keys.js";
|
|
3
|
+
export { generateVapidKeys, vapidPrivateKeyVariable, vapidPublicKeyVariable, vapidSubjectVariable };
|
package/dist/vapid.js
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { generateVapidKeys } from "./notifications/web-push/keys.js";
|
|
2
|
+
import { vapidPrivateKeyVariable, vapidPublicKeyVariable, vapidSubjectVariable } from "./notifications/web-push/vapid-settings.js";
|
|
3
|
+
export { generateVapidKeys, vapidPrivateKeyVariable, vapidPublicKeyVariable, vapidSubjectVariable };
|
|
@@ -1,31 +1,10 @@
|
|
|
1
|
+
import { pngIcons } from "@protobase/schema/png-icons";
|
|
1
2
|
//#region src/web-app/app-icons.d.ts
|
|
2
|
-
/**
|
|
3
|
-
* The PNG icons a project may put beside its `protobase.favicon.svg`, for platforms that take no SVG, each square at
|
|
4
|
-
* `size` pixels and answered on the app's own origin at `/<file>`: Android's 192 and 512 pixel icons, a 512 pixel
|
|
5
|
-
* maskable one whose mark keeps to the middle 80%, and the 180 pixel Apple touch icon an iPhone home screen shows.
|
|
6
|
-
*/
|
|
7
|
-
export declare const pngIcons: {
|
|
8
|
-
readonly icon192: {
|
|
9
|
-
readonly file: "protobase.icon-192.png";
|
|
10
|
-
readonly size: 192;
|
|
11
|
-
};
|
|
12
|
-
readonly icon512: {
|
|
13
|
-
readonly file: "protobase.icon-512.png";
|
|
14
|
-
readonly size: 512;
|
|
15
|
-
};
|
|
16
|
-
readonly maskable: {
|
|
17
|
-
readonly file: "protobase.icon-maskable.png";
|
|
18
|
-
readonly size: 512;
|
|
19
|
-
};
|
|
20
|
-
readonly appleTouch: {
|
|
21
|
-
readonly file: "protobase.apple-touch-icon.png";
|
|
22
|
-
readonly size: 180;
|
|
23
|
-
};
|
|
24
|
-
};
|
|
25
3
|
export type PngIcon = keyof typeof pngIcons;
|
|
26
4
|
/** The icons a project has of its own: `favicon` when the favicon is its own rather than Protobase's, and its PNGs. */
|
|
27
5
|
export type AppIcons = {
|
|
28
6
|
favicon: boolean;
|
|
29
7
|
png: PngIcon[];
|
|
30
8
|
};
|
|
31
|
-
//#endregion
|
|
9
|
+
//#endregion
|
|
10
|
+
export { pngIcons };
|
|
@@ -1,26 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
/**
|
|
3
|
-
* The PNG icons a project may put beside its `protobase.favicon.svg`, for platforms that take no SVG, each square at
|
|
4
|
-
* `size` pixels and answered on the app's own origin at `/<file>`: Android's 192 and 512 pixel icons, a 512 pixel
|
|
5
|
-
* maskable one whose mark keeps to the middle 80%, and the 180 pixel Apple touch icon an iPhone home screen shows.
|
|
6
|
-
*/
|
|
7
|
-
const pngIcons = {
|
|
8
|
-
icon192: {
|
|
9
|
-
file: "protobase.icon-192.png",
|
|
10
|
-
size: 192
|
|
11
|
-
},
|
|
12
|
-
icon512: {
|
|
13
|
-
file: "protobase.icon-512.png",
|
|
14
|
-
size: 512
|
|
15
|
-
},
|
|
16
|
-
maskable: {
|
|
17
|
-
file: "protobase.icon-maskable.png",
|
|
18
|
-
size: 512
|
|
19
|
-
},
|
|
20
|
-
appleTouch: {
|
|
21
|
-
file: "protobase.apple-touch-icon.png",
|
|
22
|
-
size: 180
|
|
23
|
-
}
|
|
24
|
-
};
|
|
25
|
-
//#endregion
|
|
1
|
+
import { pngIcons } from "@protobase/schema/png-icons";
|
|
26
2
|
export { pngIcons };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@protobase/server",
|
|
3
|
-
"version": "0.47.
|
|
3
|
+
"version": "0.47.1",
|
|
4
4
|
"description": "The Protobase REST API as a Hono app, with Better Auth sign-in.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -16,7 +16,8 @@
|
|
|
16
16
|
},
|
|
17
17
|
"exports": {
|
|
18
18
|
".": "./dist/index.js",
|
|
19
|
-
"./email": "./dist/email.js"
|
|
19
|
+
"./email": "./dist/email.js",
|
|
20
|
+
"./vapid": "./dist/vapid.js"
|
|
20
21
|
},
|
|
21
22
|
"types": "./dist/index.d.ts",
|
|
22
23
|
"files": [
|
|
@@ -36,9 +37,9 @@
|
|
|
36
37
|
"@better-auth/passkey": "^1.7.12",
|
|
37
38
|
"@better-auth/sso": "^1.7.12",
|
|
38
39
|
"@modelcontextprotocol/server": "^2.3.1",
|
|
39
|
-
"@protobase/layout": "0.47.
|
|
40
|
-
"@protobase/query": "0.47.
|
|
41
|
-
"@protobase/schema": "0.47.
|
|
40
|
+
"@protobase/layout": "0.47.1",
|
|
41
|
+
"@protobase/query": "0.47.1",
|
|
42
|
+
"@protobase/schema": "0.47.1",
|
|
42
43
|
"@react-email/render": "^2.1.0",
|
|
43
44
|
"@scalar/hono-api-reference": "^0.12.10",
|
|
44
45
|
"@sentry/core": "^11.7.0",
|