mirror of
https://github.com/Permissionless-Software-Foundation/x402-base-facilitator.git
synced 2026-09-21 16:52:01 -07:00
Using latest version of ipfs-coord-esm
This commit is contained in:
Generated
+1777
-1709
File diff suppressed because it is too large
Load Diff
+1
-1
@@ -27,7 +27,7 @@
|
|||||||
"axios": "0.27.2",
|
"axios": "0.27.2",
|
||||||
"bcryptjs": "2.4.3",
|
"bcryptjs": "2.4.3",
|
||||||
"glob": "7.1.6",
|
"glob": "7.1.6",
|
||||||
"ipfs-coord-esm": "../ipfs-coord-esm/",
|
"ipfs-coord-esm": "9.1.3",
|
||||||
"ipfs-http-client": "58.0.0",
|
"ipfs-http-client": "58.0.0",
|
||||||
"jsonrpc-lite": "2.2.0",
|
"jsonrpc-lite": "2.2.0",
|
||||||
"jsonwebtoken": "8.5.1",
|
"jsonwebtoken": "8.5.1",
|
||||||
|
|||||||
@@ -51,6 +51,9 @@ class Adapters {
|
|||||||
// Do not start these adapters if this is an e2e test.
|
// Do not start these adapters if this is an e2e test.
|
||||||
if (this.config.env !== 'test') {
|
if (this.config.env !== 'test') {
|
||||||
await this.ipfs.start()
|
await this.ipfs.start()
|
||||||
|
} else {
|
||||||
|
// These lines are here to ensure code coverage hits 100%.
|
||||||
|
console.log('Not starting IPFS node since this is an e2e test.')
|
||||||
}
|
}
|
||||||
|
|
||||||
console.log('Async Adapters have been started.')
|
console.log('Async Adapters have been started.')
|
||||||
|
|||||||
@@ -76,5 +76,5 @@ logger.outputToConsole()
|
|||||||
|
|
||||||
const wlogger = logger.wlogger
|
const wlogger = logger.wlogger
|
||||||
|
|
||||||
// export default { wlogger, Wlogger };
|
export { wlogger as default, Wlogger }
|
||||||
export default wlogger
|
// export default wlogger
|
||||||
|
|||||||
@@ -1,39 +1,39 @@
|
|||||||
// import { assert } from 'chai';
|
import { assert } from 'chai'
|
||||||
// import { Wlogger } from '../../../src/adapters/wlogger.js';
|
import { Wlogger } from '../../../src/adapters/wlogger.js'
|
||||||
// import sinon from 'sinon';
|
import sinon from 'sinon'
|
||||||
//
|
|
||||||
// let uut
|
let uut
|
||||||
// let sandbox
|
let sandbox
|
||||||
//
|
|
||||||
// describe('#wlogger', () => {
|
describe('#wlogger', () => {
|
||||||
// beforeEach(() => {
|
beforeEach(() => {
|
||||||
// sandbox = sinon.createSandbox()
|
sandbox = sinon.createSandbox()
|
||||||
// })
|
})
|
||||||
//
|
|
||||||
// afterEach(() => {
|
afterEach(() => {
|
||||||
// sandbox.restore()
|
sandbox.restore()
|
||||||
//
|
|
||||||
// uut = new Wlogger()
|
uut = new Wlogger()
|
||||||
// })
|
})
|
||||||
//
|
|
||||||
// describe('#constructor', () => {
|
describe('#constructor', () => {
|
||||||
// it('should create a new wlogger instance', () => {
|
it('should create a new wlogger instance', () => {
|
||||||
// uut = new Wlogger()
|
uut = new Wlogger()
|
||||||
// // console.log('uut: ', uut)
|
// console.log('uut: ', uut)
|
||||||
//
|
|
||||||
// assert.property(uut, 'transport')
|
assert.property(uut, 'transport')
|
||||||
// })
|
})
|
||||||
// })
|
})
|
||||||
//
|
|
||||||
// describe('#notifyRotation', () => {
|
describe('#notifyRotation', () => {
|
||||||
// it('should notify of a log rotation', () => {
|
it('should notify of a log rotation', () => {
|
||||||
// uut.notifyRotation()
|
uut.notifyRotation()
|
||||||
// })
|
})
|
||||||
// })
|
})
|
||||||
//
|
|
||||||
// describe('#envronment', () => {
|
describe('#envronment', () => {
|
||||||
// it('should write to console in non-test environment', () => {
|
it('should write to console in non-test environment', () => {
|
||||||
// uut.outputToConsole()
|
uut.outputToConsole()
|
||||||
// })
|
})
|
||||||
// })
|
})
|
||||||
// })
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user