@happyvertical/encryption 0.102.0 → 0.102.2

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,5 +1,5 @@
1
1
  import { BaseEncryption } from '../shared/base.js';
2
- import { DecryptOptions, EncryptionCapabilities, EncryptOptions, ExportKeyOptions, ImportKeyOptions, Key, KeyPair, KeyPairOptions, NaClOptions, SignOptions, VerifyOptions } from '../shared/types.js';
2
+ import type { DecryptOptions, EncryptionCapabilities, EncryptOptions, ExportKeyOptions, ImportKeyOptions, Key, KeyPair, KeyPairOptions, NaClOptions, SignOptions, VerifyOptions } from '../shared/types.js';
3
3
  /**
4
4
  * NaCl/TweetNaCl encryption adapter
5
5
  *
@@ -1,5 +1,5 @@
1
1
  import { BaseEncryption } from '../shared/base.js';
2
- import { DecryptOptions, EncryptionCapabilities, EncryptOptions, ExportKeyOptions, ImportKeyOptions, Key, KeyPair, KeyPairOptions, NodeCryptoOptions, SignOptions, VerifyOptions } from '../shared/types.js';
2
+ import type { DecryptOptions, EncryptionCapabilities, EncryptOptions, ExportKeyOptions, ImportKeyOptions, Key, KeyPair, KeyPairOptions, NodeCryptoOptions, SignOptions, VerifyOptions } from '../shared/types.js';
3
3
  /**
4
4
  * Node.js crypto adapter
5
5
  *
@@ -1,5 +1,5 @@
1
1
  import { BaseEncryption } from '../shared/base.js';
2
- import { DecryptOptions, EncryptionCapabilities, EncryptOptions, ExportKeyOptions, ImportKeyOptions, Key, KeyPair, KeyPairOptions, PGPOptions, SignOptions, VerifyOptions } from '../shared/types.js';
2
+ import type { DecryptOptions, EncryptionCapabilities, EncryptOptions, ExportKeyOptions, ImportKeyOptions, Key, KeyPair, KeyPairOptions, PGPOptions, SignOptions, VerifyOptions } from '../shared/types.js';
3
3
  /**
4
4
  * PGP/OpenPGP encryption adapter
5
5
  *
@@ -1,5 +1,5 @@
1
- import { Transform } from 'node:stream';
2
- import { AdapterType, DecryptEmailOptions, DecryptedEmail, DecryptOptions, EmailMessage, EncryptEmailOptions, Encryption, EncryptionCapabilities, EncryptOptions, ExportKeyOptions, ImportKeyOptions, Key, KeyPair, KeyPairOptions, SignEmailOptions, SignOptions, VerificationResult, VerifyEmailOptions, VerifyOptions } from './types.js';
1
+ import type { Transform } from 'node:stream';
2
+ import type { AdapterType, DecryptEmailOptions, DecryptedEmail, DecryptOptions, EmailMessage, EncryptEmailOptions, Encryption, EncryptionCapabilities, EncryptOptions, ExportKeyOptions, ImportKeyOptions, Key, KeyPair, KeyPairOptions, SignEmailOptions, SignOptions, VerificationResult, VerifyEmailOptions, VerifyOptions } from './types.js';
3
3
  /**
4
4
  * Base adapter class that provides common functionality for all encryption adapters
5
5
  */
@@ -1,4 +1,4 @@
1
- import { Encryption, GetEncryptionOptions, NaClOptions, NodeCryptoOptions, PGPOptions } from './types.js';
1
+ import type { Encryption, GetEncryptionOptions, NaClOptions, NodeCryptoOptions, PGPOptions } from './types.js';
2
2
  /**
3
3
  * Type guard to check if options are PGP options
4
4
  */
@@ -1,4 +1,4 @@
1
- import { Transform } from 'node:stream';
1
+ import type { Transform } from 'node:stream';
2
2
  /**
3
3
  * Adapter types supported by the encryption package
4
4
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@happyvertical/encryption",
3
- "version": "0.102.0",
3
+ "version": "0.102.2",
4
4
  "description": "Unified encryption and cryptography operations with adapter-based architecture",
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/logger": "0.102.0",
31
- "@happyvertical/utils": "0.102.0",
30
+ "@happyvertical/logger": "0.102.2",
31
+ "@happyvertical/utils": "0.102.2",
32
32
  "@openpgp/web-stream-tools": "^0.3.1",
33
33
  "openpgp": "^6.3.0",
34
34
  "tweetnacl": "^1.0.3",