mirror of
https://github.com/openpgpjs/openpgpjs.git
synced 2026-02-21 03:02:59 +00:00
Finish refactoring src/**/*.js to use import & export
This commit is contained in:
@@ -402,7 +402,7 @@ function armor(messagetype, body, partindex, parttotal) {
|
||||
return result.join('');
|
||||
}
|
||||
|
||||
module.exports = {
|
||||
export default {
|
||||
encode: armor,
|
||||
decode: dearmor
|
||||
};
|
||||
|
||||
@@ -108,7 +108,7 @@ function r2s(t) {
|
||||
return new Uint8Array(r);
|
||||
}
|
||||
|
||||
module.exports = {
|
||||
export default {
|
||||
encode: s2r,
|
||||
decode: r2s
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user