@shware/security 3.3.2 → 3.4.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.
@@ -11,4 +11,5 @@ export declare function timing({ enabled, crossOrigin }: Options): {
11
11
  setTiming: (response: Response) => void;
12
12
  };
13
13
  //#endregion
14
+ export {};
14
15
  //# sourceMappingURL=timing.d.cts.map
@@ -11,4 +11,5 @@ export declare function timing({ enabled, crossOrigin }: Options): {
11
11
  setTiming: (response: Response) => void;
12
12
  };
13
13
  //#endregion
14
+ export {};
14
15
  //# sourceMappingURL=timing.d.mts.map
@@ -24,4 +24,5 @@ export declare function verifyTurnstileToken(secret: string, token: string): Pro
24
24
  error: ErrorBody;
25
25
  }>;
26
26
  //#endregion
27
+ export {};
27
28
  //# sourceMappingURL=valid.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"valid.d.cts","names":["outputMini"],"sources":["../../src/utils/valid.ts"],"mappings":";;;KAGK;EACH;IACE;IACA;IACA;IACA;;;wBAIY,gBAAgB,iBAAiB;KAW5C,OAAO,UAAU,UAAU;EAC1B;EAAa,MAAM,UAAU,UAAU,OAAO,KAAKA,SAAW;;EAC9D,OAAO;EAAW;;wBAER,MAAM,UAAU,UAAU,aAAa,QAAQ,GAAG,gBAAgB,OAAO;wBA4BnE,qBAAqB,gBAAgB,gBAAa;;;SAAlD"}
1
+ {"version":3,"file":"valid.d.cts","names":["outputMini"],"sources":["../../src/utils/valid.ts"],"mappings":";;;KAGK;EACH;IACE;IACA;IACA;IACA;;;wBAIY,gBAAgB,iBAAiB;KAW5C,OAAO,UAAU,UAAU;EAC1B;EAAa,MAAM,UAAU,UAAU,OAAO,KAAKA,SAAW;;EAC9D,OAAO;EAAW;;wBAER,MAAM,UAAU,UAAU,aAAa,QAAQ,GAAG,gBAAgB,OAAO;wBA4BnE,qBAAqB,gBAAgB,gBAAa"}
@@ -24,4 +24,5 @@ export declare function verifyTurnstileToken(secret: string, token: string): Pro
24
24
  error: ErrorBody;
25
25
  }>;
26
26
  //#endregion
27
+ export {};
27
28
  //# sourceMappingURL=valid.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"valid.d.mts","names":["output","outputMini"],"sources":["../../src/utils/valid.ts"],"mappings":";;;KAGK;EACH;IACE;IACA;IACA;IACA;;;wBAIY,gBAAgB,iBAAiB;KAW5C,OAAO,UAAU,UAAU;EAC1B;EAAa,MAAM,UAAU,UAAUA,SAAO,KAAKC,OAAW;;EAC9D,OAAO;EAAW;;wBAER,MAAM,UAAU,UAAU,aAAa,QAAQ,GAAG,gBAAgB,OAAO;wBA4BnE,qBAAqB,gBAAgB,gBAAa;;;SAAlD"}
1
+ {"version":3,"file":"valid.d.mts","names":["output","outputMini"],"sources":["../../src/utils/valid.ts"],"mappings":";;;KAGK;EACH;IACE;IACA;IACA;IACA;;;wBAIY,gBAAgB,iBAAiB;KAW5C,OAAO,UAAU,UAAU;EAC1B;EAAa,MAAM,UAAU,UAAUA,SAAO,KAAKC,OAAW;;EAC9D,OAAO;EAAW;;wBAER,MAAM,UAAU,UAAU,aAAa,QAAQ,GAAG,gBAAgB,OAAO;wBA4BnE,qBAAqB,gBAAgB,gBAAa"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shware/security",
3
- "version": "3.3.2",
3
+ "version": "3.4.1",
4
4
  "private": false,
5
5
  "repository": {
6
6
  "type": "git",
@@ -36,20 +36,27 @@
36
36
  "access": "public"
37
37
  },
38
38
  "dependencies": {
39
- "@shware/utils": "^1.6.2",
39
+ "@shware/utils": "^1.7.0",
40
40
  "cookie": "^2.0.1",
41
- "ioredis": "^6.0.0",
42
41
  "jose": "^6.2.12",
43
- "path-to-regexp": "^8.4.2",
44
- "uuid": "^14.0.2",
45
- "zod": "^4.6.5"
42
+ "path-to-regexp": "^8.4.2"
46
43
  },
47
44
  "devDependencies": {
48
45
  "@repo/typescript-config": "0.0.0",
49
- "@types/node": "^26.6.3",
50
- "ts-node": "^10.9.2",
46
+ "@types/node": "^26.6.5",
47
+ "ioredis": "^6.0.0",
51
48
  "typescript": "7.0.2",
52
- "vitest": "^5.0.2"
49
+ "vitest": "^5.0.5",
50
+ "zod": "^4.6.7"
51
+ },
52
+ "peerDependencies": {
53
+ "ioredis": "^6.0.0",
54
+ "zod": "^4.6.5"
55
+ },
56
+ "peerDependenciesMeta": {
57
+ "ioredis": {
58
+ "optional": true
59
+ }
53
60
  },
54
61
  "scripts": {
55
62
  "dev": "tsc --watch",