Skip to content

Commit 41e03de

Browse files
committed
expose encrypt api to main package
1 parent 4b896c6 commit 41e03de

2 files changed

Lines changed: 24 additions & 0 deletions

File tree

package.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,10 @@
6969
"types": "./dist/config/index.d.ts",
7070
"default": "./dist/config/index.js"
7171
},
72+
"./crypto": {
73+
"types": "./dist/crypto/index.d.ts",
74+
"default": "./dist/crypto/index.js"
75+
},
7276
"./validation": {
7377
"types": "./dist/validation/index.d.ts",
7478
"default": "./dist/validation/index.js"

src/crypto/index.ts

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
/* ************************************************************************
2+
* Common Identifier Application
3+
* Copyright (C) 2026 World Food Programme
4+
*
5+
* This program is free software: you can redistribute it and/or modify
6+
* it under the terms of the GNU Affero General Public License as published by
7+
* the Free Software Foundation, either version 3 of the License, or
8+
* (at your option) any later version.
9+
*
10+
* This program is distributed in the hope that it will be useful,
11+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
12+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13+
* GNU Affero General Public License for more details.
14+
*
15+
* You should have received a copy of the GNU Affero General Public License
16+
* along with this program. If not, see <http://www.gnu.org/licenses/>.
17+
************************************************************************ */
18+
19+
export { GpgWrapper } from './gpg';
20+
export { GpgErrorCode, GpgErrorMap, identifyError } from './gpgError';

0 commit comments

Comments
 (0)