We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c193574 commit c5cac82Copy full SHA for c5cac82
src/aer256.js
@@ -1,14 +1,12 @@
1
import aer256ArmonBase from './helpers/aerArmonBase'
2
3
const encode = (input, options = {}) => {
4
- options = { ...DEFAULT_OPTIONS, ...options }
5
- options.isAer256 = true
+ options = { ...DEFAULT_OPTIONS, ...options, isAer256: true }
6
return aer256ArmonBase.encode(input, options)
7
}
8
9
const decode = (input, options = {}) => {
10
11
12
return aer256ArmonBase.decode(input, options)
13
14
0 commit comments