@zintrust/core 2.1.3 → 2.1.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/package.json
CHANGED
package/src/errors-index.d.ts
CHANGED
|
@@ -3,5 +3,5 @@
|
|
|
3
3
|
* Provides error factory and error-related utilities
|
|
4
4
|
*/
|
|
5
5
|
export { ErrorFactory } from './exceptions/ZintrustError';
|
|
6
|
-
export type { ZintrustError, ZintrustErrorInit } from './exceptions/ZintrustError';
|
|
6
|
+
export type { SanitizerError, ZintrustError, ZintrustErrorInit } from './exceptions/ZintrustError';
|
|
7
7
|
//# sourceMappingURL=errors-index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"errors-index.d.ts","sourceRoot":"","sources":["../../src/errors-index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,YAAY,EAAE,aAAa,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC"}
|
|
1
|
+
{"version":3,"file":"errors-index.d.ts","sourceRoot":"","sources":["../../src/errors-index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,YAAY,EAAE,cAAc,EAAE,aAAa,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC"}
|
package/src/index.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @zintrust/core v2.1.
|
|
2
|
+
* @zintrust/core v2.1.5
|
|
3
3
|
*
|
|
4
4
|
* ZinTrust Framework - Production-Grade TypeScript Backend
|
|
5
5
|
* Built for performance, type safety, and exceptional developer experience
|
|
6
6
|
*
|
|
7
7
|
* Build Information:
|
|
8
|
-
* Built: 2026-05-
|
|
8
|
+
* Built: 2026-05-27T05:25:42.557Z
|
|
9
9
|
* Node: >=20.0.0
|
|
10
10
|
* License: MIT
|
|
11
11
|
*
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
* Available at runtime for debugging and health checks
|
|
22
22
|
*/
|
|
23
23
|
export const ZINTRUST_VERSION = '0.1.41';
|
|
24
|
-
export const ZINTRUST_BUILD_DATE = '2026-05-
|
|
24
|
+
export const ZINTRUST_BUILD_DATE = '2026-05-27T05:25:42.521Z'; // Replaced during build
|
|
25
25
|
export { Application } from './boot/Application.js';
|
|
26
26
|
export { AwsSigV4 } from './common/index.js';
|
|
27
27
|
export { SignedRequest } from './security/SignedRequest.js';
|
package/src/security-index.d.ts
CHANGED
|
@@ -1,8 +1,27 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Security
|
|
3
|
-
*
|
|
2
|
+
* ZinTrust Security - Security primitives and crypto utilities
|
|
3
|
+
* Contains authentication, encryption, hashing, JWT, and security helpers
|
|
4
4
|
*/
|
|
5
|
+
export { BulletproofDeviceStore } from './security/BulletproofDeviceStore';
|
|
6
|
+
export { CsrfTokenManager } from './security/CsrfTokenManager';
|
|
7
|
+
export type { CsrfTokenData, CsrfTokenManagerType, ICsrfTokenManager, } from './security/CsrfTokenManager';
|
|
8
|
+
export { EncryptedEnvelope } from './security/EncryptedEnvelope';
|
|
9
|
+
export { Encryptor } from './security/Encryptor';
|
|
10
|
+
export { Hash } from './security/Hash';
|
|
11
|
+
export { JwtManager } from './security/JwtManager';
|
|
12
|
+
export type { IJwtManager, JwtAlgorithm, JwtManagerType, JwtOptions, JwtPayload, } from './security/JwtManager';
|
|
13
|
+
export { JwtSessions } from './security/JwtSessions';
|
|
14
|
+
export { JwtVerifier } from './security/JwtVerifier';
|
|
15
|
+
export type { JwtVerifierAlgorithm, JwtVerifierFailure, JwtVerifierFailureReason, JwtVerifierJwk, JwtVerifierJwksDocument, JwtVerifierResult, JwtVerifierSuccess, JwtVerifierWithJwkInput, JwtVerifierWithJwksInput, } from './security/JwtVerifier';
|
|
16
|
+
export { PasswordResetTokenBroker } from './security/PasswordResetTokenBroker';
|
|
17
|
+
export type { IPasswordResetTokenBroker, IPasswordResetTokenStore, PasswordResetTokenBrokerOptions, PasswordResetTokenBrokerType, PasswordResetTokenRecord, } from './security/PasswordResetTokenBroker';
|
|
18
|
+
export { createSanitizer, Sanitizer, type SanitizerType } from './security/Sanitizer';
|
|
19
|
+
export { TokenRevocation } from './security/TokenRevocation';
|
|
20
|
+
export { Xss } from './security/Xss';
|
|
21
|
+
export { XssProtection } from './security/XssProtection';
|
|
22
|
+
export { SecurePayload, type SecurePayloadCoercionShape, type SecurePayloadCoercionType, type SecurePayloadDecodeOptions, type SecurePayloadDecryptor, type SecurePayloadPipeline, type SecurePayloadPipelineIssue, type SecurePayloadPipelineStage, } from './security/SecurePayload';
|
|
5
23
|
export { RemoteSignedJson } from './common/RemoteSignedJson';
|
|
6
24
|
export type { RemoteSignedJsonSettings } from './common/RemoteSignedJson';
|
|
25
|
+
export type { SanitizerError } from './exceptions/ZintrustError';
|
|
7
26
|
export { SignedRequest } from './security/SignedRequest';
|
|
8
27
|
//# sourceMappingURL=security-index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"security-index.d.ts","sourceRoot":"","sources":["../../src/security-index.ts"],"names":[],"mappings":"AAAA;;;GAGG;
|
|
1
|
+
{"version":3,"file":"security-index.d.ts","sourceRoot":"","sources":["../../src/security-index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAGH,OAAO,EAAE,sBAAsB,EAAE,MAAM,kCAAkC,CAAC;AAG1E,OAAO,EAAE,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AAC9D,YAAY,EACV,aAAa,EACb,oBAAoB,EACpB,iBAAiB,GAClB,MAAM,4BAA4B,CAAC;AAGpC,OAAO,EAAE,iBAAiB,EAAE,MAAM,6BAA6B,CAAC;AAChE,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAGhD,OAAO,EAAE,IAAI,EAAE,MAAM,gBAAgB,CAAC;AAGtC,OAAO,EAAE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-1,6 +1,30 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Security
|
|
3
|
-
*
|
|
2
|
+
* ZinTrust Security - Security primitives and crypto utilities
|
|
3
|
+
* Contains authentication, encryption, hashing, JWT, and security helpers
|
|
4
4
|
*/
|
|
5
|
+
// Device store for bulletproof auth
|
|
6
|
+
export { BulletproofDeviceStore } from './security/BulletproofDeviceStore.js';
|
|
7
|
+
// CSRF protection
|
|
8
|
+
export { CsrfTokenManager } from './security/CsrfTokenManager.js';
|
|
9
|
+
// Encryption
|
|
10
|
+
export { EncryptedEnvelope } from './security/EncryptedEnvelope.js';
|
|
11
|
+
export { Encryptor } from './security/Encryptor.js';
|
|
12
|
+
// Hashing
|
|
13
|
+
export { Hash } from './security/Hash.js';
|
|
14
|
+
// JWT management
|
|
15
|
+
export { JwtManager } from './security/JwtManager.js';
|
|
16
|
+
export { JwtSessions } from './security/JwtSessions.js';
|
|
17
|
+
export { JwtVerifier } from './security/JwtVerifier.js';
|
|
18
|
+
// Password reset tokens
|
|
19
|
+
export { PasswordResetTokenBroker } from './security/PasswordResetTokenBroker.js';
|
|
20
|
+
// Sanitization
|
|
21
|
+
export { createSanitizer, Sanitizer } from './security/Sanitizer.js';
|
|
22
|
+
// Token revocation
|
|
23
|
+
export { TokenRevocation } from './security/TokenRevocation.js';
|
|
24
|
+
// XSS protection
|
|
25
|
+
export { Xss } from './security/Xss.js';
|
|
26
|
+
export { XssProtection } from './security/XssProtection.js';
|
|
27
|
+
// Secure payload handling
|
|
28
|
+
export { SecurePayload, } from './security/SecurePayload.js';
|
|
5
29
|
export { RemoteSignedJson } from './common/RemoteSignedJson.js';
|
|
6
30
|
export { SignedRequest } from './security/SignedRequest.js';
|