@prefabs.tech/fastify-firebase 0.94.1 → 0.96.0
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/README.md +4 -5
- package/dist/prefabs-tech-fastify-firebase.cjs +11 -11
- package/dist/prefabs-tech-fastify-firebase.js +291 -372
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/types/index.d.ts +9 -2
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/lib/index.d.ts +1 -1
- package/dist/types/lib/index.d.ts.map +1 -1
- package/dist/types/lib/initializeFirebase.d.ts +1 -0
- package/dist/types/lib/initializeFirebase.d.ts.map +1 -1
- package/dist/types/middlewares/verifyFirebaseAppCheck.d.ts +4 -0
- package/dist/types/middlewares/verifyFirebaseAppCheck.d.ts.map +1 -0
- package/dist/types/model/notification/handlers/index.d.ts +1 -1
- package/dist/types/model/notification/handlers/sendNotification.d.ts +2 -3
- package/dist/types/model/notification/handlers/sendNotification.d.ts.map +1 -1
- package/dist/types/model/notification/schema.d.ts +1 -1
- package/dist/types/model/userDevice/handlers/addUserDevice.d.ts +2 -3
- package/dist/types/model/userDevice/handlers/addUserDevice.d.ts.map +1 -1
- package/dist/types/model/userDevice/handlers/index.d.ts +2 -2
- package/dist/types/model/userDevice/handlers/removeUserDevice.d.ts +2 -3
- package/dist/types/model/userDevice/handlers/removeUserDevice.d.ts.map +1 -1
- package/package.json +37 -41
- package/LICENSE +0 -21
package/dist/types/index.d.ts
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import { verifySession } from "supertokens-node/recipe/session/framework/fastify";
|
|
2
1
|
import type { User } from "./types";
|
|
3
2
|
import notificationHandlers from "./model/notification/handlers";
|
|
4
3
|
import deviceHandlers from "./model/userDevice/handlers";
|
|
5
4
|
declare module "fastify" {
|
|
6
5
|
interface FastifyInstance {
|
|
7
|
-
verifySession:
|
|
6
|
+
verifySession: (options?: {
|
|
7
|
+
sessionRequired?: boolean;
|
|
8
|
+
}) => (request: FastifyRequest, reply: FastifyReply) => Promise<void>;
|
|
8
9
|
}
|
|
9
10
|
interface FastifyRequest {
|
|
10
11
|
user?: User;
|
|
@@ -18,6 +19,10 @@ declare module "mercurius" {
|
|
|
18
19
|
declare module "@prefabs.tech/fastify-config" {
|
|
19
20
|
interface ApiConfig {
|
|
20
21
|
firebase: {
|
|
22
|
+
appCheck?: {
|
|
23
|
+
enabled?: boolean;
|
|
24
|
+
routes?: string[];
|
|
25
|
+
};
|
|
21
26
|
credentials?: {
|
|
22
27
|
clientEmail: string;
|
|
23
28
|
privateKey: string;
|
|
@@ -59,6 +64,7 @@ declare module "@prefabs.tech/fastify-config" {
|
|
|
59
64
|
export * from "./constants";
|
|
60
65
|
export { default as firebaseSchema } from "./graphql/schema";
|
|
61
66
|
export * from "./lib";
|
|
67
|
+
export { default as verifyFirebaseAppCheck } from "./middlewares/verifyFirebaseAppCheck";
|
|
62
68
|
export * from "./migrations/queries";
|
|
63
69
|
export { default as notificationRoutes } from "./model/notification/controller";
|
|
64
70
|
export { default as notificationResolver } from "./model/notification/graphql/resolver";
|
|
@@ -66,4 +72,5 @@ export { default as userDeviceRoutes } from "./model/userDevice/controller";
|
|
|
66
72
|
export { default as userDeviceResolver } from "./model/userDevice/graphql/resolver";
|
|
67
73
|
export { default as UserDeviceService } from "./model/userDevice/service";
|
|
68
74
|
export { default } from "./plugin";
|
|
75
|
+
export { getAppCheck } from "firebase-admin/app-check";
|
|
69
76
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,SAAS,CAAC;AAEpC,OAAO,oBAAoB,MAAM,+BAA+B,CAAC;AACjE,OAAO,cAAc,MAAM,6BAA6B,CAAC;AAEzD,OAAO,QAAQ,SAAS,CAAC;IACvB,UAAU,eAAe;QACvB,aAAa,EAAE,CAAC,OAAO,CAAC,EAAE;YACxB,eAAe,CAAC,EAAE,OAAO,CAAC;SAC3B,KAAK,CAAC,OAAO,EAAE,cAAc,EAAE,KAAK,EAAE,YAAY,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;KACvE;IAED,UAAU,cAAc;QACtB,IAAI,CAAC,EAAE,IAAI,CAAC;KACb;CACF;AAED,OAAO,QAAQ,WAAW,CAAC;IACzB,UAAU,gBAAgB;QACxB,IAAI,EAAE,IAAI,CAAC;KACZ;CACF;AAED,OAAO,QAAQ,8BAA8B,CAAC;IAC5C,UAAU,SAAS;QACjB,QAAQ,EAAE;YACR,QAAQ,CAAC,EAAE;gBACT,OAAO,CAAC,EAAE,OAAO,CAAC;gBAClB,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;aACnB,CAAC;YACF,WAAW,CAAC,EAAE;gBACZ,WAAW,EAAE,MAAM,CAAC;gBACpB,UAAU,EAAE,MAAM,CAAC;gBACnB,SAAS,EAAE,MAAM,CAAC;aACnB,CAAC;YACF,OAAO,CAAC,EAAE,OAAO,CAAC;YAClB,QAAQ,CAAC,EAAE;gBACT,YAAY,CAAC,EAAE;oBACb,gBAAgB,CAAC,EAAE,OAAO,oBAAoB,CAAC,gBAAgB,CAAC;iBACjE,CAAC;gBACF,UAAU,CAAC,EAAE;oBACX,aAAa,CAAC,EAAE,OAAO,cAAc,CAAC,aAAa,CAAC;oBACpD,gBAAgB,CAAC,EAAE,OAAO,cAAc,CAAC,gBAAgB,CAAC;iBAC3D,CAAC;aACH,CAAC;YACF,YAAY,CAAC,EAAE;gBACb,IAAI,CAAC,EAAE;oBACL,OAAO,EAAE,OAAO,CAAC;oBACjB,IAAI,EAAE,MAAM,CAAC;iBACd,CAAC;aACH,CAAC;YACF,WAAW,CAAC,EAAE,MAAM,CAAC;YACrB,MAAM,CAAC,EAAE;gBACP,aAAa,CAAC,EAAE;oBACd,QAAQ,EAAE,OAAO,CAAC;iBACnB,CAAC;gBACF,WAAW,CAAC,EAAE;oBACZ,QAAQ,EAAE,OAAO,CAAC;iBACnB,CAAC;aACH,CAAC;YACF,KAAK,CAAC,EAAE;gBACN,WAAW,CAAC,EAAE;oBACZ,IAAI,EAAE,MAAM,CAAC;iBACd,CAAC;aACH,CAAC;SACH,CAAC;KACH;CACF;AAED,cAAc,aAAa,CAAC;AAE5B,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAC7D,cAAc,OAAO,CAAC;AAEtB,OAAO,EAAE,OAAO,IAAI,sBAAsB,EAAE,MAAM,sCAAsC,CAAC;AACzF,cAAc,sBAAsB,CAAC;AACrC,OAAO,EAAE,OAAO,IAAI,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAChF,OAAO,EAAE,OAAO,IAAI,oBAAoB,EAAE,MAAM,uCAAuC,CAAC;AACxF,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAE5E,OAAO,EAAE,OAAO,IAAI,kBAAkB,EAAE,MAAM,qCAAqC,CAAC;AACpF,OAAO,EAAE,OAAO,IAAI,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAC1E,OAAO,EAAE,OAAO,EAAE,MAAM,UAAU,CAAC;AACnC,OAAO,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/lib/index.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/lib/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,aAAa,EACb,OAAO,IAAI,kBAAkB,GAC9B,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,OAAO,IAAI,oBAAoB,EAAE,MAAM,wBAAwB,CAAC"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { ApiConfig } from "@prefabs.tech/fastify-config";
|
|
2
2
|
import type { FastifyInstance } from "fastify";
|
|
3
3
|
declare const initializeFirebase: (config: ApiConfig, fastify: FastifyInstance) => void;
|
|
4
|
+
export { default as firebaseAdmin } from "firebase-admin";
|
|
4
5
|
export default initializeFirebase;
|
|
5
6
|
//# sourceMappingURL=initializeFirebase.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"initializeFirebase.d.ts","sourceRoot":"","sources":["../../../src/lib/initializeFirebase.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,8BAA8B,CAAC;AAC9D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAI/C,QAAA,MAAM,kBAAkB,GAAI,QAAQ,SAAS,EAAE,SAAS,eAAe,SAyBtE,CAAC;AAEF,eAAe,kBAAkB,CAAC"}
|
|
1
|
+
{"version":3,"file":"initializeFirebase.d.ts","sourceRoot":"","sources":["../../../src/lib/initializeFirebase.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,8BAA8B,CAAC;AAC9D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAI/C,QAAA,MAAM,kBAAkB,GAAI,QAAQ,SAAS,EAAE,SAAS,eAAe,SAyBtE,CAAC;AAEF,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAE1D,eAAe,kBAAkB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"verifyFirebaseAppCheck.d.ts","sourceRoot":"","sources":["../../../src/middlewares/verifyFirebaseAppCheck.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAI5D,QAAA,MAAM,sBAAsB,GAC1B,SAAS,cAAc,EACvB,OAAO,YAAY,uBA+BpB,CAAC;AAEF,eAAe,sBAAsB,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
declare const _default: {
|
|
2
|
-
sendNotification: (request: import("
|
|
2
|
+
sendNotification: (request: import("fastify").FastifyRequest, reply: import("fastify").FastifyReply) => Promise<void>;
|
|
3
3
|
};
|
|
4
4
|
export default _default;
|
|
5
5
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import type { FastifyReply } from "fastify";
|
|
2
|
-
|
|
3
|
-
declare const testPushNotification: (request: SessionRequest, reply: FastifyReply) => Promise<void>;
|
|
1
|
+
import type { FastifyReply, FastifyRequest } from "fastify";
|
|
2
|
+
declare const testPushNotification: (request: FastifyRequest, reply: FastifyReply) => Promise<void>;
|
|
4
3
|
export default testPushNotification;
|
|
5
4
|
//# sourceMappingURL=sendNotification.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sendNotification.d.ts","sourceRoot":"","sources":["../../../../../src/model/notification/handlers/sendNotification.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,
|
|
1
|
+
{"version":3,"file":"sendNotification.d.ts","sourceRoot":"","sources":["../../../../../src/model/notification/handlers/sendNotification.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAQ5D,QAAA,MAAM,oBAAoB,GACxB,SAAS,cAAc,EACvB,OAAO,YAAY,kBA4DpB,CAAC;AAEF,eAAe,oBAAoB,CAAC"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import type { FastifyReply } from "fastify";
|
|
2
|
-
|
|
3
|
-
declare const addUserDevice: (request: SessionRequest, reply: FastifyReply) => Promise<void>;
|
|
1
|
+
import type { FastifyReply, FastifyRequest } from "fastify";
|
|
2
|
+
declare const addUserDevice: (request: FastifyRequest, reply: FastifyReply) => Promise<void>;
|
|
4
3
|
export default addUserDevice;
|
|
5
4
|
//# sourceMappingURL=addUserDevice.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"addUserDevice.d.ts","sourceRoot":"","sources":["../../../../../src/model/userDevice/handlers/addUserDevice.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,
|
|
1
|
+
{"version":3,"file":"addUserDevice.d.ts","sourceRoot":"","sources":["../../../../../src/model/userDevice/handlers/addUserDevice.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAM5D,QAAA,MAAM,aAAa,GAAU,SAAS,cAAc,EAAE,OAAO,YAAY,kBAYxE,CAAC;AAEF,eAAe,aAAa,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
declare const _default: {
|
|
2
|
-
addUserDevice: (request: import("
|
|
3
|
-
removeUserDevice: (request: import("
|
|
2
|
+
addUserDevice: (request: import("fastify").FastifyRequest, reply: import("fastify").FastifyReply) => Promise<void>;
|
|
3
|
+
removeUserDevice: (request: import("fastify").FastifyRequest, reply: import("fastify").FastifyReply) => Promise<void>;
|
|
4
4
|
};
|
|
5
5
|
export default _default;
|
|
6
6
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import type { FastifyReply } from "fastify";
|
|
2
|
-
|
|
3
|
-
declare const removeUserDevice: (request: SessionRequest, reply: FastifyReply) => Promise<void>;
|
|
1
|
+
import type { FastifyReply, FastifyRequest } from "fastify";
|
|
2
|
+
declare const removeUserDevice: (request: FastifyRequest, reply: FastifyReply) => Promise<void>;
|
|
4
3
|
export default removeUserDevice;
|
|
5
4
|
//# sourceMappingURL=removeUserDevice.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"removeUserDevice.d.ts","sourceRoot":"","sources":["../../../../../src/model/userDevice/handlers/removeUserDevice.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,
|
|
1
|
+
{"version":3,"file":"removeUserDevice.d.ts","sourceRoot":"","sources":["../../../../../src/model/userDevice/handlers/removeUserDevice.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAI5D,QAAA,MAAM,gBAAgB,GACpB,SAAS,cAAc,EACvB,OAAO,YAAY,kBA6BpB,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@prefabs.tech/fastify-firebase",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.96.0",
|
|
4
4
|
"description": "Fastify firebase plugin",
|
|
5
5
|
"homepage": "https://github.com/prefabs-tech/fastify/tree/main/packages/firebase#readme",
|
|
6
6
|
"repository": {
|
|
@@ -19,55 +19,51 @@
|
|
|
19
19
|
"main": "./dist/prefabs-tech-fastify-firebase.cjs",
|
|
20
20
|
"module": "./dist/prefabs-tech-fastify-firebase.js",
|
|
21
21
|
"types": "./dist/types/index.d.ts",
|
|
22
|
-
"files": [
|
|
23
|
-
|
|
24
|
-
|
|
22
|
+
"files": ["dist"],
|
|
23
|
+
"scripts": {
|
|
24
|
+
"build": "vite build && tsc --emitDeclarationOnly && mv dist/src dist/types",
|
|
25
|
+
"lint": "eslint .",
|
|
26
|
+
"lint:fix": "eslint . --fix",
|
|
27
|
+
"sort-package": "npx sort-package-json",
|
|
28
|
+
"test": "vitest run --coverage",
|
|
29
|
+
"typecheck": "tsc --noEmit -p tsconfig.json --composite false"
|
|
30
|
+
},
|
|
25
31
|
"dependencies": {
|
|
26
|
-
"firebase-admin": "13.
|
|
32
|
+
"firebase-admin": "13.10.0",
|
|
27
33
|
"zod": "3.25.76"
|
|
28
34
|
},
|
|
29
35
|
"devDependencies": {
|
|
30
|
-
"@prefabs.tech/eslint-config": "0.7
|
|
31
|
-
"@prefabs.tech/fastify-config": "0.
|
|
32
|
-
"@prefabs.tech/fastify-error-handler": "0.
|
|
33
|
-
"@prefabs.tech/fastify-graphql": "0.
|
|
34
|
-
"@prefabs.tech/fastify-slonik": "0.
|
|
35
|
-
"@prefabs.tech/tsconfig": "0.7
|
|
36
|
-
"@types/node": "24.
|
|
37
|
-
"@vitest/coverage-istanbul": "
|
|
38
|
-
"eslint": "
|
|
39
|
-
"fastify": "5.
|
|
40
|
-
"fastify-plugin": "
|
|
41
|
-
"graphql": "16.
|
|
42
|
-
"mercurius": "16.
|
|
36
|
+
"@prefabs.tech/eslint-config": "0.8.7",
|
|
37
|
+
"@prefabs.tech/fastify-config": "0.96.0",
|
|
38
|
+
"@prefabs.tech/fastify-error-handler": "0.96.0",
|
|
39
|
+
"@prefabs.tech/fastify-graphql": "0.96.0",
|
|
40
|
+
"@prefabs.tech/fastify-slonik": "0.96.0",
|
|
41
|
+
"@prefabs.tech/tsconfig": "0.8.7",
|
|
42
|
+
"@types/node": "24.13.3",
|
|
43
|
+
"@vitest/coverage-istanbul": "4.1.10",
|
|
44
|
+
"eslint": "10.7.0",
|
|
45
|
+
"fastify": "5.10.0",
|
|
46
|
+
"fastify-plugin": "6.0.0",
|
|
47
|
+
"graphql": "16.14.2",
|
|
48
|
+
"mercurius": "16.10.0",
|
|
43
49
|
"pg-mem": "3.0.14",
|
|
44
|
-
"prettier": "3.
|
|
50
|
+
"prettier": "3.9.5",
|
|
45
51
|
"slonik": "46.8.0",
|
|
46
|
-
"supertokens-node": "14.1.4",
|
|
47
52
|
"typescript": "5.9.3",
|
|
48
|
-
"vite": "
|
|
49
|
-
"vitest": "
|
|
53
|
+
"vite": "8.1.5",
|
|
54
|
+
"vitest": "4.1.10"
|
|
50
55
|
},
|
|
51
56
|
"peerDependencies": {
|
|
52
|
-
"@prefabs.tech/fastify-config": "0.
|
|
53
|
-
"@prefabs.tech/fastify-error-handler": "0.
|
|
54
|
-
"@prefabs.tech/fastify-graphql": "0.
|
|
55
|
-
"@prefabs.tech/fastify-slonik": "0.
|
|
56
|
-
"fastify": ">=5.
|
|
57
|
-
"fastify-plugin": ">=5.0
|
|
58
|
-
"mercurius": ">=16.
|
|
59
|
-
"slonik": ">=46.
|
|
60
|
-
"supertokens-node": ">=14.1.4"
|
|
57
|
+
"@prefabs.tech/fastify-config": "0.96.0",
|
|
58
|
+
"@prefabs.tech/fastify-error-handler": "0.96.0",
|
|
59
|
+
"@prefabs.tech/fastify-graphql": "0.96.0",
|
|
60
|
+
"@prefabs.tech/fastify-slonik": "0.96.0",
|
|
61
|
+
"fastify": ">=5.10.0",
|
|
62
|
+
"fastify-plugin": ">=5.1.0",
|
|
63
|
+
"mercurius": ">=16.10.0",
|
|
64
|
+
"slonik": ">=46.8.0"
|
|
61
65
|
},
|
|
62
66
|
"engines": {
|
|
63
|
-
"node": ">=
|
|
64
|
-
},
|
|
65
|
-
"scripts": {
|
|
66
|
-
"build": "vite build && tsc --emitDeclarationOnly && mv dist/src dist/types",
|
|
67
|
-
"lint": "eslint .",
|
|
68
|
-
"lint:fix": "eslint . --fix",
|
|
69
|
-
"sort-package": "npx sort-package-json",
|
|
70
|
-
"test": "vitest run --coverage",
|
|
71
|
-
"typecheck": "tsc --noEmit -p tsconfig.json --composite false"
|
|
67
|
+
"node": ">=22"
|
|
72
68
|
}
|
|
73
|
-
}
|
|
69
|
+
}
|
package/LICENSE
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2017 Olivier Pichon
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE.
|