@executor-js/plugin-keychain 0.0.1-beta.4 → 0.0.1-beta.5
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 +2 -4
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -8,8 +8,6 @@ OS-keychain-backed secret store for the executor. Reads and writes secrets to:
|
|
|
8
8
|
|
|
9
9
|
Secrets are encrypted at rest by the operating system and never touch your project's filesystem.
|
|
10
10
|
|
|
11
|
-
Pairs with [`@executor/sdk`](https://www.npmjs.com/package/@executor/sdk) (promise-based) or [`@executor/core`](https://www.npmjs.com/package/@executor/core) (Effect-based).
|
|
12
|
-
|
|
13
11
|
## Install
|
|
14
12
|
|
|
15
13
|
```sh
|
|
@@ -44,9 +42,9 @@ if (executor.keychain.isSupported) {
|
|
|
44
42
|
|
|
45
43
|
Secrets written through this plugin are available to every other plugin that resolves secrets by ID — so you can store a token once and use it across `@executor/plugin-openapi`, `@executor/plugin-graphql`, etc. via `{ secretId, prefix }` headers.
|
|
46
44
|
|
|
47
|
-
##
|
|
45
|
+
## Using with Effect
|
|
48
46
|
|
|
49
|
-
If you're
|
|
47
|
+
If you're building on `@executor/sdk/core` (the raw Effect entry), import this plugin from its `/core` subpath instead:
|
|
50
48
|
|
|
51
49
|
```ts
|
|
52
50
|
import { keychainPlugin } from "@executor/plugin-keychain/core";
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@executor-js/plugin-keychain",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.0.1-beta.
|
|
4
|
+
"version": "0.0.1-beta.5",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
36
|
"@napi-rs/keyring": "^1.2.0",
|
|
37
|
-
"@executor-js/sdk": "0.0.1-beta.
|
|
37
|
+
"@executor-js/sdk": "0.0.1-beta.5",
|
|
38
38
|
"effect": "^3.21.0"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|