Require bundled version of openpgp

This commit is contained in:
Yarmo Mackenbach 2020-11-17 02:43:59 +01:00
parent 62df82b5c8
commit 51bf130397
2 changed files with 2 additions and 2 deletions

View file

@ -15,7 +15,7 @@ limitations under the License.
*/ */
const mergeOptions = require('merge-options') const mergeOptions = require('merge-options')
const validUrl = require('valid-url') const validUrl = require('valid-url')
const openpgp = require('openpgp') const openpgp = require('../node_modules/openpgp/dist/openpgp.min.js')
const serviceproviders = require('./serviceproviders') const serviceproviders = require('./serviceproviders')
const keys = require('./keys') const keys = require('./keys')
const utils = require('./utils') const utils = require('./utils')

View file

@ -16,7 +16,7 @@ limitations under the License.
const bent = require('bent') const bent = require('bent')
const req = bent('GET') const req = bent('GET')
const validUrl = require('valid-url') const validUrl = require('valid-url')
const openpgp = require('openpgp') const openpgp = require('../node_modules/openpgp/dist/openpgp.min.js')
const mergeOptions = require('merge-options') const mergeOptions = require('merge-options')
const fetchHKP = async (identifier, keyserverBaseUrl) => { const fetchHKP = async (identifier, keyserverBaseUrl) => {