@fireproof/core-types-protocols-dashboard 0.24.10 → 0.24.12

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,6 +1,6 @@
1
1
  {
2
2
  "name": "@fireproof/core-types-protocols-dashboard",
3
- "version": "0.24.10",
3
+ "version": "0.24.12",
4
4
  "description": "Live ledger for the web.",
5
5
  "type": "module",
6
6
  "main": "./index.js",
@@ -34,9 +34,9 @@
34
34
  "url": "https://github.com/fireproof-storage/fireproof/issues"
35
35
  },
36
36
  "dependencies": {
37
- "@adviser/cement": "~0.5.21",
38
- "@fireproof/core-types-base": "0.24.10",
39
- "@fireproof/core-types-device-id": "0.24.10",
40
- "@fireproof/core-types-protocols-cloud": "0.24.10"
37
+ "@adviser/cement": "~0.5.22",
38
+ "@fireproof/core-types-base": "0.24.12",
39
+ "@fireproof/core-types-device-id": "0.24.12",
40
+ "@fireproof/core-types-protocols-cloud": "0.24.12"
41
41
  }
42
42
  }
package/token.d.ts CHANGED
@@ -9,6 +9,7 @@ export interface TokenByResultIdParam {
9
9
  }
10
10
  export interface FPApiToken {
11
11
  verify(token: string): Promise<Result<VerifiedClaimsResult>>;
12
+ decode(token: string): Promise<Result<VerifiedClaimsResult>>;
12
13
  }
13
14
  export interface WithAuth {
14
15
  readonly auth: DashAuthType;
package/token.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"token.js","sourceRoot":"","sources":["../jsr/token.ts"],"names":[],"mappings":"AAiDA,MAAM,UAAU,cAAc,CAAC,GAAmB,EAA6B;IAC7E,OAAQ,GAA0B,CAAC,IAAI,KAAK,oBAAoB,CAAC;AAAA,CAClE;AAED,MAAM,UAAU,kBAAkB,CAAC,GAAmB,EAAiC;IACrF,OAAQ,GAA8B,CAAC,IAAI,KAAK,wBAAwB,CAAC;AAAA,CAC1E"}
1
+ {"version":3,"file":"token.js","sourceRoot":"","sources":["../jsr/token.ts"],"names":[],"mappings":"AAkDA,MAAM,UAAU,cAAc,CAAC,GAAmB,EAA6B;IAC7E,OAAQ,GAA0B,CAAC,IAAI,KAAK,oBAAoB,CAAC;AAAA,CAClE;AAED,MAAM,UAAU,kBAAkB,CAAC,GAAmB,EAAiC;IACrF,OAAQ,GAA8B,CAAC,IAAI,KAAK,wBAAwB,CAAC;AAAA,CAC1E"}