@denodeio/seshat 0.0.36 → 0.0.38

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.
@@ -21,9 +21,9 @@ type JwtPayload<T> = {
21
21
  iat: number;
22
22
  };
23
23
  export declare const validateJws: <T>(key: Key, input: JwsPayload) => JwtPayload<T> | undefined;
24
- export declare const validateJwsMultisig: (keychain: Keychain, input: JwsPayload) => {
24
+ export declare const validateJwsMultisig: <T>(keychain: Keychain, input: JwsPayload) => {
25
25
  isVerified: boolean;
26
- payload: any;
26
+ payload: T;
27
27
  verified: string[];
28
28
  unverified: string[];
29
29
  };
@@ -51,9 +51,9 @@ type JwtPayload<T> = {
51
51
  iat: number;
52
52
  };
53
53
  declare const validateJws: <T>(key: Key, input: JwsPayload) => JwtPayload<T> | undefined;
54
- declare const validateJwsMultisig: (keychain: Keychain, input: JwsPayload) => {
54
+ declare const validateJwsMultisig: <T>(keychain: Keychain, input: JwsPayload) => {
55
55
  isVerified: boolean;
56
- payload: any;
56
+ payload: T;
57
57
  verified: string[];
58
58
  unverified: string[];
59
59
  };
@@ -21,9 +21,9 @@ type JwtPayload<T> = {
21
21
  iat: number;
22
22
  };
23
23
  export declare const validateJws: <T>(key: Key, input: JwsPayload) => JwtPayload<T> | undefined;
24
- export declare const validateJwsMultisig: (keychain: Keychain, input: JwsPayload) => {
24
+ export declare const validateJwsMultisig: <T>(keychain: Keychain, input: JwsPayload) => {
25
25
  isVerified: boolean;
26
- payload: any;
26
+ payload: T;
27
27
  verified: string[];
28
28
  unverified: string[];
29
29
  };
@@ -51,9 +51,9 @@ type JwtPayload<T> = {
51
51
  iat: number;
52
52
  };
53
53
  declare const validateJws: <T>(key: Key, input: JwsPayload) => JwtPayload<T> | undefined;
54
- declare const validateJwsMultisig: (keychain: Keychain, input: JwsPayload) => {
54
+ declare const validateJwsMultisig: <T>(keychain: Keychain, input: JwsPayload) => {
55
55
  isVerified: boolean;
56
- payload: any;
56
+ payload: T;
57
57
  verified: string[];
58
58
  unverified: string[];
59
59
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@denodeio/seshat",
3
3
  "private": false,
4
- "version": "0.0.36",
4
+ "version": "0.0.38",
5
5
  "description": "Functions' Library for Denode Ecosystem.",
6
6
  "main": "build/cjs/index.js",
7
7
  "module": "build/mjs/index.js",