Showing the changes to packages/plugins (5 of 7 files). Show all
Unified · Split
| @@ -9,7 +9,7 @@ import { · 8 unmodified lines | |||
| 9 | ProviderKey, | 9 | ProviderKey, |
| 10 | StorageError, | 10 | StorageError, |
| 11 | type CredentialProvider, | 11 | type CredentialProvider, |
| 12 | } from "@executor-js/sdk"; | 12 | } from "@executor-js/sdk/core"; |
| 13 | 13 | ||
| 14 | // --------------------------------------------------------------------------- | 14 | // --------------------------------------------------------------------------- |
| 15 | // Auth file location | 15 | // Auth file location |
| @@ -1,4 +1,4 @@ | |||
| 1 | import { type Plugin } from "@executor-js/sdk"; | 1 | import { type Plugin } from "@executor-js/sdk/core"; |
| 2 | 2 | ||
| 3 | import { | 3 | import { |
| 4 | fileSecretsPlugin as fileSecretsPluginEffect, | 4 | fileSecretsPlugin as fileSecretsPluginEffect, |
| @@ -9,7 +9,7 @@ import { · 4 unmodified lines | |||
| 9 | export type { FileSecretsPluginConfig } from "./index"; | 9 | export type { FileSecretsPluginConfig } from "./index"; |
| 10 | 10 | ||
| 11 | // Explicit return type so the emitted dist/promise.d.ts references | 11 | // Explicit return type so the emitted dist/promise.d.ts references |
| 12 | // `import("@executor-js/sdk").Plugin` rather than the Promise-surface | 12 | // `import("@executor-js/sdk/core").Plugin` rather than the Promise-surface |
| 13 | // root specifier (which doesn't re-export Plugin). | 13 | // root specifier (which doesn't re-export Plugin). |
| 14 | export const fileSecretsPlugin = ( | 14 | export const fileSecretsPlugin = ( |
| 15 | config?: FileSecretsPluginConfig, | 15 | config?: FileSecretsPluginConfig, |
| @@ -1,6 +1,6 @@ | |||
| 1 | import { Effect } from "effect"; | 1 | import { Effect } from "effect"; |
| 2 | 2 | ||
| 3 | import { definePlugin, type CredentialProvider, type PluginCtx } from "@executor-js/sdk"; | 3 | import { definePlugin, type CredentialProvider, type PluginCtx } from "@executor-js/sdk/core"; |
| 4 | 4 | ||
| 5 | import { | 5 | import { |
| 6 | deletePassword, | 6 | deletePassword, |
| @@ -1,4 +1,4 @@ | |||
| 1 | import { type Plugin } from "@executor-js/sdk"; | 1 | import { type Plugin } from "@executor-js/sdk/core"; |
| 2 | 2 | ||
| 3 | import { | 3 | import { |
| 4 | keychainPlugin as keychainPluginEffect, | 4 | keychainPlugin as keychainPluginEffect, |
| @@ -9,7 +9,7 @@ import { · 4 unmodified lines | |||
| 9 | export type { KeychainPluginConfig } from "./index"; | 9 | export type { KeychainPluginConfig } from "./index"; |
| 10 | 10 | ||
| 11 | // Explicit return type so the emitted dist/promise.d.ts references | 11 | // Explicit return type so the emitted dist/promise.d.ts references |
| 12 | // `import("@executor-js/sdk").Plugin` rather than the Promise-surface | 12 | // `import("@executor-js/sdk/core").Plugin` rather than the Promise-surface |
| 13 | // root specifier (which doesn't re-export Plugin). | 13 | // root specifier (which doesn't re-export Plugin). |
| 14 | export const keychainPlugin = ( | 14 | export const keychainPlugin = ( |
| 15 | config?: KeychainPluginConfig, | 15 | config?: KeychainPluginConfig, |
| @@ -5,7 +5,7 @@ import { · 4 unmodified lines | |||
| 5 | ProviderKey, | 5 | ProviderKey, |
| 6 | type CredentialProvider, | 6 | type CredentialProvider, |
| 7 | type ProviderItemId, | 7 | type ProviderItemId, |
| 8 | } from "@executor-js/sdk"; | 8 | } from "@executor-js/sdk/core"; |
| 9 | 9 | ||
| 10 | import type { KeychainError } from "./errors"; | 10 | import type { KeychainError } from "./errors"; |
| 11 | import { getPassword, setPassword, deletePassword } from "./keyring"; | 11 | import { getPassword, setPassword, deletePassword } from "./keyring"; |