@theholocron/holocron-plugin-1password 5.0.0-alpha.12 → 5.0.0-alpha.121
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/index.d.mts +2 -11
- package/package.json +7 -7
package/dist/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { spawnSync } from "node:child_process";
|
|
2
|
-
import { Vault } from "@theholocron/cli";
|
|
2
|
+
import { Vault, VerifyTokenFailure, VerifyTokenResult, VerifyTokenResult as VerifyTokenResult$1, VerifyTokenSuccess } from "@theholocron/cli";
|
|
3
3
|
//#region src/auth.d.ts
|
|
4
4
|
declare class AuthError extends Error {
|
|
5
5
|
name: string;
|
|
@@ -60,20 +60,11 @@ declare class OpVault implements Vault {
|
|
|
60
60
|
}
|
|
61
61
|
//#endregion
|
|
62
62
|
//#region src/verify-token.d.ts
|
|
63
|
-
interface VerifyTokenSuccess {
|
|
64
|
-
ok: true;
|
|
65
|
-
subject: string;
|
|
66
|
-
}
|
|
67
|
-
interface VerifyTokenFailure {
|
|
68
|
-
ok: false;
|
|
69
|
-
message: string;
|
|
70
|
-
}
|
|
71
|
-
type VerifyTokenResult = VerifyTokenSuccess | VerifyTokenFailure;
|
|
72
63
|
interface VerifyTokenOptions {
|
|
73
64
|
spawn?: typeof spawnSync;
|
|
74
65
|
binary?: string;
|
|
75
66
|
}
|
|
76
|
-
declare function verifyToken(_token: string, opts?: VerifyTokenOptions): Promise<VerifyTokenResult>;
|
|
67
|
+
declare function verifyToken(_token: string, opts?: VerifyTokenOptions): Promise<VerifyTokenResult$1>;
|
|
77
68
|
//#endregion
|
|
78
69
|
//#region src/index.d.ts
|
|
79
70
|
interface OpPluginOptions extends VerifyInput {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@theholocron/holocron-plugin-1password",
|
|
3
|
-
"version": "5.0.0-alpha.
|
|
3
|
+
"version": "5.0.0-alpha.121",
|
|
4
4
|
"description": "Holocron plugin for 1Password. Implements the vault capability via shell-out to the `op` CLI (https://developer.1password.com/docs/cli).",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"1password",
|
|
@@ -30,10 +30,10 @@
|
|
|
30
30
|
"dist"
|
|
31
31
|
],
|
|
32
32
|
"devDependencies": {
|
|
33
|
-
"@theholocron/eslint-config": "^8.
|
|
34
|
-
"@theholocron/tsconfig": "^8.
|
|
35
|
-
"@theholocron/tsdown-config": "^8.
|
|
36
|
-
"@theholocron/vitest-config": "^8.
|
|
33
|
+
"@theholocron/eslint-config": "^8.7.0",
|
|
34
|
+
"@theholocron/tsconfig": "^8.7.0",
|
|
35
|
+
"@theholocron/tsdown-config": "^8.7.0",
|
|
36
|
+
"@theholocron/vitest-config": "^8.7.0",
|
|
37
37
|
"@types/node": "^26",
|
|
38
38
|
"@vitest/coverage-v8": "^4.1.11",
|
|
39
39
|
"@vitest/eslint-plugin": "^1.6.27",
|
|
@@ -44,10 +44,10 @@
|
|
|
44
44
|
"tsx": "4.23.12",
|
|
45
45
|
"typescript": "^5.9.3",
|
|
46
46
|
"vitest": "^4.1.11",
|
|
47
|
-
"@theholocron/cli": "5.0.0-alpha.
|
|
47
|
+
"@theholocron/cli": "5.0.0-alpha.121"
|
|
48
48
|
},
|
|
49
49
|
"peerDependencies": {
|
|
50
|
-
"@theholocron/cli": "5.0.0-alpha.
|
|
50
|
+
"@theholocron/cli": "5.0.0-alpha.121"
|
|
51
51
|
},
|
|
52
52
|
"engines": {
|
|
53
53
|
"node": ">=22"
|