@happyvertical/smrt-secrets 0.34.9 → 0.35.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.
- package/dist/chunks/TenantKey-DzglnpAV.js.map +1 -1
- package/dist/manifest.json +855 -855
- package/dist/models/Secret.d.ts +20 -2
- package/dist/models/Secret.d.ts.map +1 -1
- package/dist/models/SecretAuditLog.d.ts +17 -2
- package/dist/models/SecretAuditLog.d.ts.map +1 -1
- package/dist/models/TenantKey.d.ts +16 -2
- package/dist/models/TenantKey.d.ts.map +1 -1
- package/dist/smrt-knowledge.json +82 -82
- package/package.json +4 -4
package/dist/models/Secret.d.ts
CHANGED
|
@@ -1,8 +1,26 @@
|
|
|
1
|
-
import { SmrtObject } from '@happyvertical/smrt-core';
|
|
1
|
+
import { SmrtObjectOptions, SmrtObject } from '@happyvertical/smrt-core';
|
|
2
2
|
/**
|
|
3
3
|
* Secret status values
|
|
4
4
|
*/
|
|
5
5
|
export type SecretStatus = 'active' | 'disabled' | 'expired';
|
|
6
|
+
/**
|
|
7
|
+
* Constructor options for {@link Secret}. Each field is optional and mirrors a
|
|
8
|
+
* persisted column; date fields also accept the serialized forms accepted by
|
|
9
|
+
* `new Date()` so hydrated rows coerce cleanly.
|
|
10
|
+
*/
|
|
11
|
+
export interface SecretOptions extends SmrtObjectOptions {
|
|
12
|
+
tenantId?: string;
|
|
13
|
+
name?: string;
|
|
14
|
+
description?: string;
|
|
15
|
+
category?: string;
|
|
16
|
+
encryptedValue?: string;
|
|
17
|
+
keyVersion?: number;
|
|
18
|
+
status?: SecretStatus;
|
|
19
|
+
expiresAt?: Date | string | number | null;
|
|
20
|
+
lastAccessedAt?: Date | string | number | null;
|
|
21
|
+
accessCount?: number;
|
|
22
|
+
metadata?: Record<string, unknown>;
|
|
23
|
+
}
|
|
6
24
|
/**
|
|
7
25
|
* Secret represents an encrypted value stored per-tenant.
|
|
8
26
|
*
|
|
@@ -75,7 +93,7 @@ export declare class Secret extends SmrtObject {
|
|
|
75
93
|
* Additional metadata stored with the secret
|
|
76
94
|
*/
|
|
77
95
|
metadata: Record<string, unknown>;
|
|
78
|
-
constructor(options?:
|
|
96
|
+
constructor(options?: SecretOptions);
|
|
79
97
|
/**
|
|
80
98
|
* Check if the secret is currently active
|
|
81
99
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Secret.d.ts","sourceRoot":"","sources":["../../src/models/Secret.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,UAAU,EAAQ,MAAM,0BAA0B,CAAC;AAE5D;;GAEG;AACH,MAAM,MAAM,YAAY,GAAG,QAAQ,GAAG,UAAU,GAAG,SAAS,CAAC;AAE7D;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AAWH,qBASa,MAAO,SAAQ,UAAU;IACpC;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAM;IAEtB;;OAEG;IACH,IAAI,EAAE,MAAM,CAAM;IAElB;;OAEG;IACH,WAAW,EAAE,MAAM,CAAM;IAEzB;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAM;IAEtB;;OAEG;IACH,cAAc,EAAE,MAAM,CAAM;IAE5B;;OAEG;IACH,UAAU,EAAE,MAAM,CAAK;IAEvB;;OAEG;IACH,MAAM,EAAE,YAAY,CAAY;IAEhC;;OAEG;IACH,SAAS,EAAE,IAAI,GAAG,IAAI,CAAQ;IAE9B;;OAEG;IACH,cAAc,EAAE,IAAI,GAAG,IAAI,CAAQ;IAEnC;;OAEG;IACH,WAAW,EAAE,MAAM,CAAK;IAExB;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAM;gBAE3B,OAAO,GAAE,
|
|
1
|
+
{"version":3,"file":"Secret.d.ts","sourceRoot":"","sources":["../../src/models/Secret.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAA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;IAExB;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAM;gBAE3B,OAAO,GAAE,aAAkB;IAgCvC;;OAEG;IACH,QAAQ,IAAI,OAAO;IAInB;;OAEG;IACH,SAAS,IAAI,OAAO;IAKpB;;OAEG;IACH,QAAQ,IAAI,OAAO;IAInB;;OAEG;IACH,YAAY,IAAI,IAAI;IAKpB;;OAEG;IACH,OAAO,IAAI,IAAI;IAIf;;OAEG;IACH,MAAM,IAAI,IAAI;CAGf"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { SmrtCreateInput, SmrtObject } from '@happyvertical/smrt-core';
|
|
1
|
+
import { SmrtCreateInput, SmrtObjectOptions, SmrtObject } from '@happyvertical/smrt-core';
|
|
2
2
|
/**
|
|
3
3
|
* Secret audit action types
|
|
4
4
|
*/
|
|
@@ -7,6 +7,21 @@ export type SecretAuditAction = 'create' | 'read' | 'update' | 'delete' | 'rotat
|
|
|
7
7
|
* Audit result types
|
|
8
8
|
*/
|
|
9
9
|
export type SecretAuditResult = 'success' | 'failure' | 'denied';
|
|
10
|
+
/**
|
|
11
|
+
* Constructor options for {@link SecretAuditLog}. Each field is optional and
|
|
12
|
+
* mirrors a persisted column.
|
|
13
|
+
*/
|
|
14
|
+
export interface SecretAuditLogOptions extends SmrtObjectOptions {
|
|
15
|
+
tenantId?: string | null;
|
|
16
|
+
secretId?: string | null;
|
|
17
|
+
secretName?: string;
|
|
18
|
+
userId?: string;
|
|
19
|
+
action?: SecretAuditAction;
|
|
20
|
+
result?: SecretAuditResult;
|
|
21
|
+
ipAddress?: string;
|
|
22
|
+
userAgent?: string;
|
|
23
|
+
details?: Record<string, unknown>;
|
|
24
|
+
}
|
|
10
25
|
/**
|
|
11
26
|
* SecretAuditLog records all operations on secrets for compliance
|
|
12
27
|
* and security monitoring.
|
|
@@ -80,7 +95,7 @@ export declare class SecretAuditLog extends SmrtObject {
|
|
|
80
95
|
* Additional context about the operation
|
|
81
96
|
*/
|
|
82
97
|
details: Record<string, unknown>;
|
|
83
|
-
constructor(options?:
|
|
98
|
+
constructor(options?: SecretAuditLogOptions);
|
|
84
99
|
/**
|
|
85
100
|
* Check if this was a successful operation
|
|
86
101
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SecretAuditLog.d.ts","sourceRoot":"","sources":["../../src/models/SecretAuditLog.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"SecretAuditLog.d.ts","sourceRoot":"","sources":["../../src/models/SecretAuditLog.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EACV,eAAe,EACf,iBAAiB,EAClB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAGL,UAAU,EAEX,MAAM,0BAA0B,CAAC;AAElC;;GAEG;AACH,MAAM,MAAM,iBAAiB,GACzB,QAAQ,GACR,MAAM,GACN,QAAQ,GACR,QAAQ,GACR,YAAY,GACZ,SAAS,GACT,QAAQ,GACR,QAAQ,CAAC;AAEb;;GAEG;AACH,MAAM,MAAM,iBAAiB,GAAG,SAAS,GAAG,SAAS,GAAG,QAAQ,CAAC;AAEjE;;;GAGG;AACH,MAAM,WAAW,qBAAsB,SAAQ,iBAAiB;IAC9D,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,iBAAiB,CAAC;IAC3B,MAAM,CAAC,EAAE,iBAAiB,CAAC;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CACnC;AAED;;;;;;;;;;;;;;;;;;;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"}
|
|
@@ -1,8 +1,22 @@
|
|
|
1
|
-
import { SmrtObject } from '@happyvertical/smrt-core';
|
|
1
|
+
import { SmrtObjectOptions, SmrtObject } from '@happyvertical/smrt-core';
|
|
2
2
|
/**
|
|
3
3
|
* Key status values
|
|
4
4
|
*/
|
|
5
5
|
export type TenantKeyStatus = 'active' | 'rotating' | 'retired' | 'compromised';
|
|
6
|
+
/**
|
|
7
|
+
* Constructor options for {@link TenantKey}. Each field is optional and mirrors
|
|
8
|
+
* a persisted column; date fields also accept the serialized forms accepted by
|
|
9
|
+
* `new Date()` so hydrated rows coerce cleanly.
|
|
10
|
+
*/
|
|
11
|
+
export interface TenantKeyOptions extends SmrtObjectOptions {
|
|
12
|
+
tenantId?: string;
|
|
13
|
+
wrappedKey?: string;
|
|
14
|
+
amkKeyId?: string;
|
|
15
|
+
status?: TenantKeyStatus;
|
|
16
|
+
version?: number;
|
|
17
|
+
rotateAfter?: Date | string | number | null;
|
|
18
|
+
retiredAt?: Date | string | number | null;
|
|
19
|
+
}
|
|
6
20
|
/**
|
|
7
21
|
* TenantKey tracks the per-tenant Data Encryption Keys (TDEKs).
|
|
8
22
|
*
|
|
@@ -62,7 +76,7 @@ export declare class TenantKey extends SmrtObject {
|
|
|
62
76
|
* When the key was retired (if applicable)
|
|
63
77
|
*/
|
|
64
78
|
retiredAt: Date | null;
|
|
65
|
-
constructor(options?:
|
|
79
|
+
constructor(options?: TenantKeyOptions);
|
|
66
80
|
/**
|
|
67
81
|
* Check if this key is currently active
|
|
68
82
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TenantKey.d.ts","sourceRoot":"","sources":["../../src/models/TenantKey.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,UAAU,EAAQ,MAAM,0BAA0B,CAAC;AAE5D;;GAEG;AACH,MAAM,MAAM,eAAe,GAAG,QAAQ,GAAG,UAAU,GAAG,SAAS,GAAG,aAAa,CAAC;AAEhF;;;;;;;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IAEtB;;OAEG;IACH,UAAU,EAAE,MAAM,CAAM;IAExB;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAM;IAEtB;;OAEG;IACH,MAAM,EAAE,eAAe,CAAY;IAEnC;;OAEG;IACH,OAAO,EAAE,MAAM,CAAK;IAEpB;;OAEG;IACH,WAAW,EAAE,IAAI,GAAG,IAAI,CAAQ;IAEhC;;OAEG;IACH,SAAS,EAAE,IAAI,GAAG,IAAI,CAAQ;gBAElB,OAAO,GAAE,gBAAqB;IAyB1C;;OAEG;IACH,QAAQ,IAAI,OAAO;IAInB;;OAEG;IACH,aAAa,IAAI,OAAO;IAKxB;;OAEG;IACH,SAAS,IAAI,OAAO;IAIpB;;OAEG;IACH,aAAa,IAAI,OAAO;IAIxB;;;OAGG;IACH,UAAU,IAAI,OAAO;IAIrB;;;OAGG;IACH,UAAU,IAAI,OAAO;IAIrB;;OAEG;IACH,MAAM,IAAI,IAAI;IAKd;;OAEG;IACH,eAAe,IAAI,IAAI;CAGxB"}
|
package/dist/smrt-knowledge.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": 1,
|
|
3
|
-
"generatedAt": "2026-06-
|
|
3
|
+
"generatedAt": "2026-06-24T21:07:18.447Z",
|
|
4
4
|
"packageName": "@happyvertical/smrt-secrets",
|
|
5
|
-
"packageVersion": "0.
|
|
5
|
+
"packageVersion": "0.35.1",
|
|
6
6
|
"sourceManifestPath": "dist/manifest.json",
|
|
7
7
|
"agentDocPath": "AGENTS.md",
|
|
8
8
|
"sourceHashes": {
|
|
9
|
-
"manifest": "
|
|
10
|
-
"packageJson": "
|
|
9
|
+
"manifest": "f8fc7e22940e9fa0bdf71485744da7a178e18f2003cfededcb70e6bb6cf04c46",
|
|
10
|
+
"packageJson": "fb1c7bd7b1b9595dc9946c4c9f59df5ac9185efd90b18947efb0d371a5f0253f",
|
|
11
11
|
"agents": "c2be546ffbe79a0df95401c10a60e23f4f31cb8232cb1349fcdb7e5682852d4a"
|
|
12
12
|
},
|
|
13
13
|
"exports": [
|
|
@@ -44,6 +44,84 @@
|
|
|
44
44
|
"tags": [],
|
|
45
45
|
"risks": [],
|
|
46
46
|
"objects": [
|
|
47
|
+
{
|
|
48
|
+
"name": "SecretAuditLogCollection",
|
|
49
|
+
"qualifiedName": "@happyvertical/smrt-secrets:SecretAuditLogCollection",
|
|
50
|
+
"collection": "secretauditlogs",
|
|
51
|
+
"tableName": "secret_audit_log_collections",
|
|
52
|
+
"packageName": "@happyvertical/smrt-secrets",
|
|
53
|
+
"extends": "SmrtCollection",
|
|
54
|
+
"fields": [],
|
|
55
|
+
"relationships": [],
|
|
56
|
+
"methods": [
|
|
57
|
+
"cleanup",
|
|
58
|
+
"countByAction",
|
|
59
|
+
"countByResult",
|
|
60
|
+
"getRecentDenials",
|
|
61
|
+
"getRecentFailures",
|
|
62
|
+
"getSecretHistory",
|
|
63
|
+
"getUserActivity",
|
|
64
|
+
"listLogs"
|
|
65
|
+
],
|
|
66
|
+
"surfaces": [],
|
|
67
|
+
"relationshipFeatures": [
|
|
68
|
+
"uuidColumns"
|
|
69
|
+
],
|
|
70
|
+
"tags": [],
|
|
71
|
+
"risks": []
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
"name": "SecretCollection",
|
|
75
|
+
"qualifiedName": "@happyvertical/smrt-secrets:SecretCollection",
|
|
76
|
+
"collection": "secrets",
|
|
77
|
+
"tableName": "secret_collections",
|
|
78
|
+
"packageName": "@happyvertical/smrt-secrets",
|
|
79
|
+
"extends": "SmrtCollection",
|
|
80
|
+
"fields": [],
|
|
81
|
+
"relationships": [],
|
|
82
|
+
"methods": [
|
|
83
|
+
"countByStatus",
|
|
84
|
+
"deleteByName",
|
|
85
|
+
"findByName",
|
|
86
|
+
"getCategories",
|
|
87
|
+
"listActive",
|
|
88
|
+
"listByCategory",
|
|
89
|
+
"listExpiring",
|
|
90
|
+
"listSecrets"
|
|
91
|
+
],
|
|
92
|
+
"surfaces": [],
|
|
93
|
+
"relationshipFeatures": [
|
|
94
|
+
"uuidColumns"
|
|
95
|
+
],
|
|
96
|
+
"tags": [],
|
|
97
|
+
"risks": []
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
"name": "TenantKeyCollection",
|
|
101
|
+
"qualifiedName": "@happyvertical/smrt-secrets:TenantKeyCollection",
|
|
102
|
+
"collection": "tenantkeys",
|
|
103
|
+
"tableName": "tenant_key_collections",
|
|
104
|
+
"packageName": "@happyvertical/smrt-secrets",
|
|
105
|
+
"extends": "SmrtCollection",
|
|
106
|
+
"fields": [],
|
|
107
|
+
"relationships": [],
|
|
108
|
+
"methods": [
|
|
109
|
+
"cleanupRetiredKeys",
|
|
110
|
+
"countByStatus",
|
|
111
|
+
"findKeysNeedingRotation",
|
|
112
|
+
"getActiveKey",
|
|
113
|
+
"getKeyVersion",
|
|
114
|
+
"listAllActiveKeys",
|
|
115
|
+
"listKeyVersions",
|
|
116
|
+
"markCompromised"
|
|
117
|
+
],
|
|
118
|
+
"surfaces": [],
|
|
119
|
+
"relationshipFeatures": [
|
|
120
|
+
"uuidColumns"
|
|
121
|
+
],
|
|
122
|
+
"tags": [],
|
|
123
|
+
"risks": []
|
|
124
|
+
},
|
|
47
125
|
{
|
|
48
126
|
"name": "Secret",
|
|
49
127
|
"qualifiedName": "@happyvertical/smrt-secrets:Secret",
|
|
@@ -328,84 +406,6 @@
|
|
|
328
406
|
],
|
|
329
407
|
"tags": [],
|
|
330
408
|
"risks": []
|
|
331
|
-
},
|
|
332
|
-
{
|
|
333
|
-
"name": "SecretAuditLogCollection",
|
|
334
|
-
"qualifiedName": "@happyvertical/smrt-secrets:SecretAuditLogCollection",
|
|
335
|
-
"collection": "secretauditlogs",
|
|
336
|
-
"tableName": "secret_audit_log_collections",
|
|
337
|
-
"packageName": "@happyvertical/smrt-secrets",
|
|
338
|
-
"extends": "SmrtCollection",
|
|
339
|
-
"fields": [],
|
|
340
|
-
"relationships": [],
|
|
341
|
-
"methods": [
|
|
342
|
-
"cleanup",
|
|
343
|
-
"countByAction",
|
|
344
|
-
"countByResult",
|
|
345
|
-
"getRecentDenials",
|
|
346
|
-
"getRecentFailures",
|
|
347
|
-
"getSecretHistory",
|
|
348
|
-
"getUserActivity",
|
|
349
|
-
"listLogs"
|
|
350
|
-
],
|
|
351
|
-
"surfaces": [],
|
|
352
|
-
"relationshipFeatures": [
|
|
353
|
-
"uuidColumns"
|
|
354
|
-
],
|
|
355
|
-
"tags": [],
|
|
356
|
-
"risks": []
|
|
357
|
-
},
|
|
358
|
-
{
|
|
359
|
-
"name": "SecretCollection",
|
|
360
|
-
"qualifiedName": "@happyvertical/smrt-secrets:SecretCollection",
|
|
361
|
-
"collection": "secrets",
|
|
362
|
-
"tableName": "secret_collections",
|
|
363
|
-
"packageName": "@happyvertical/smrt-secrets",
|
|
364
|
-
"extends": "SmrtCollection",
|
|
365
|
-
"fields": [],
|
|
366
|
-
"relationships": [],
|
|
367
|
-
"methods": [
|
|
368
|
-
"countByStatus",
|
|
369
|
-
"deleteByName",
|
|
370
|
-
"findByName",
|
|
371
|
-
"getCategories",
|
|
372
|
-
"listActive",
|
|
373
|
-
"listByCategory",
|
|
374
|
-
"listExpiring",
|
|
375
|
-
"listSecrets"
|
|
376
|
-
],
|
|
377
|
-
"surfaces": [],
|
|
378
|
-
"relationshipFeatures": [
|
|
379
|
-
"uuidColumns"
|
|
380
|
-
],
|
|
381
|
-
"tags": [],
|
|
382
|
-
"risks": []
|
|
383
|
-
},
|
|
384
|
-
{
|
|
385
|
-
"name": "TenantKeyCollection",
|
|
386
|
-
"qualifiedName": "@happyvertical/smrt-secrets:TenantKeyCollection",
|
|
387
|
-
"collection": "tenantkeys",
|
|
388
|
-
"tableName": "tenant_key_collections",
|
|
389
|
-
"packageName": "@happyvertical/smrt-secrets",
|
|
390
|
-
"extends": "SmrtCollection",
|
|
391
|
-
"fields": [],
|
|
392
|
-
"relationships": [],
|
|
393
|
-
"methods": [
|
|
394
|
-
"cleanupRetiredKeys",
|
|
395
|
-
"countByStatus",
|
|
396
|
-
"findKeysNeedingRotation",
|
|
397
|
-
"getActiveKey",
|
|
398
|
-
"getKeyVersion",
|
|
399
|
-
"listAllActiveKeys",
|
|
400
|
-
"listKeyVersions",
|
|
401
|
-
"markCompromised"
|
|
402
|
-
],
|
|
403
|
-
"surfaces": [],
|
|
404
|
-
"relationshipFeatures": [
|
|
405
|
-
"uuidColumns"
|
|
406
|
-
],
|
|
407
|
-
"tags": [],
|
|
408
|
-
"risks": []
|
|
409
409
|
}
|
|
410
410
|
],
|
|
411
411
|
"surfaces": [
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@happyvertical/smrt-secrets",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.35.1",
|
|
4
4
|
"description": "Per-tenant secret management with envelope encryption for SMRT",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -31,15 +31,15 @@
|
|
|
31
31
|
"@happyvertical/secrets": "^0.74.7",
|
|
32
32
|
"@happyvertical/sql": "^0.74.7",
|
|
33
33
|
"@happyvertical/utils": "^0.74.7",
|
|
34
|
-
"@happyvertical/smrt-core": "0.
|
|
35
|
-
"@happyvertical/smrt-tenancy": "0.
|
|
34
|
+
"@happyvertical/smrt-core": "0.35.1",
|
|
35
|
+
"@happyvertical/smrt-tenancy": "0.35.1"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
38
|
"@types/node": "25.0.9",
|
|
39
39
|
"typescript": "^5.9.3",
|
|
40
40
|
"vite": "^7.3.1",
|
|
41
41
|
"vitest": "^4.0.17",
|
|
42
|
-
"@happyvertical/smrt-vitest": "0.
|
|
42
|
+
"@happyvertical/smrt-vitest": "0.35.1"
|
|
43
43
|
},
|
|
44
44
|
"keywords": [
|
|
45
45
|
"smrt",
|