@happyvertical/secrets 0.101.3 → 0.102.1

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.
@@ -1,4 +1,4 @@
1
- import { ApplicationMasterKey, DatabaseSecretStoreOptions, DecryptedSecret, EncryptedEnvelope, EncryptOptions, SecretStore, SecretStoreEventListener, TenantDataEncryptionKey, Unsubscribe } from '../shared/types.js';
1
+ import type { ApplicationMasterKey, DatabaseSecretStoreOptions, DecryptedSecret, EncryptedEnvelope, EncryptOptions, SecretStore, SecretStoreEventListener, TenantDataEncryptionKey, Unsubscribe } from '../shared/types.js';
2
2
  /**
3
3
  * Database-backed secret store
4
4
  *
@@ -1,4 +1,4 @@
1
- import { KeyObject } from 'node:crypto';
1
+ import { type KeyObject } from 'node:crypto';
2
2
  export type CredentialIssuanceMode = 'ephemeral' | 'durable';
3
3
  export type CustodyStage = 'issue' | 'store' | 'retrieve' | 'verify' | 'activate' | 'record' | 'inject' | 'revoke' | 'reconcile';
4
4
  export declare class CustodyError extends Error {
@@ -1,4 +1,4 @@
1
- import { EncryptedEnvelope } from './types.js';
1
+ import type { EncryptedEnvelope } from './types.js';
2
2
  /**
3
3
  * Core envelope encryption primitives using AES-256-GCM
4
4
  *
@@ -1,4 +1,4 @@
1
- import { AWSKMSSecretStoreOptions, AzureKeyVaultSecretStoreOptions, DatabaseSecretStoreOptions, GetSecretStoreOptions, SecretStore, VaultSecretStoreOptions } from './types.js';
1
+ import type { AWSKMSSecretStoreOptions, AzureKeyVaultSecretStoreOptions, DatabaseSecretStoreOptions, GetSecretStoreOptions, SecretStore, VaultSecretStoreOptions } from './types.js';
2
2
  /**
3
3
  * Type guard for database options
4
4
  */
@@ -1,4 +1,4 @@
1
- import { DatabaseInterface } from '@happyvertical/sql';
1
+ import type { DatabaseInterface } from '@happyvertical/sql';
2
2
  /**
3
3
  * Secret store adapter type discriminator
4
4
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@happyvertical/secrets",
3
- "version": "0.101.3",
3
+ "version": "0.102.1",
4
4
  "description": "Envelope encryption for per-tenant secret management with pluggable backends",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -27,8 +27,8 @@
27
27
  "access": "public"
28
28
  },
29
29
  "dependencies": {
30
- "@happyvertical/sql": "0.101.3",
31
- "@happyvertical/utils": "0.101.3"
30
+ "@happyvertical/sql": "0.102.1",
31
+ "@happyvertical/utils": "0.102.1"
32
32
  },
33
33
  "devDependencies": {
34
34
  "@types/node": "25.0.10",