Skip to content
This repository was archived by the owner on Feb 12, 2024. It is now read-only.

Commit c0303fa

Browse files
ya7yadaviddias
authored andcommitted
feat: adding Gateway endeavour - improve codebase
1 parent cc41624 commit c0303fa

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

46 files changed

+761
-413
lines changed

gulpfile.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ const gulp = require('gulp')
44
const parallel = require('async/parallel')
55
const series = require('async/series')
66
const createTempRepo = require('./test/utils/create-repo-nodejs.js')
7-
const HTTPAPI = require('./src/http-api')
7+
const HTTPAPI = require('./src/http')
88
const leftPad = require('left-pad')
99

1010
let nodes = []

package.json

+4
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
"test:unit:node": "gulp test:node",
2828
"test:unit:node:core": "TEST=core npm run test:unit:node",
2929
"test:unit:node:http": "TEST=http npm run test:unit:node",
30+
"test:unit:node:gateway": "TEST=gateway npm run test:unit:node",
3031
"test:unit:node:cli": "TEST=cli npm run test:unit:node",
3132
"test:unit:browser": "gulp test:browser",
3233
"test:interop": "npm run test:interop:node",
@@ -94,6 +95,8 @@
9495
"boom": "^5.2.0",
9596
"cids": "^0.5.1",
9697
"debug": "^3.0.0",
98+
"file-type": "^6.1.0",
99+
"filesize": "^3.5.10",
97100
"fsm-event": "^2.1.0",
98101
"glob": "^7.1.2",
99102
"hapi": "^16.5.2",
@@ -128,6 +131,7 @@
128131
"lodash.values": "^4.3.0",
129132
"mime-types": "^2.1.13",
130133
"mafmt": "^2.1.8",
134+
"mime-types": "^2.1.16",
131135
"mkdirp": "^0.5.1",
132136
"multiaddr": "^2.3.0",
133137
"multihashes": "~0.4.5",

src/cli/commands/daemon.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
'use strict'
22

3-
const HttpAPI = require('../../http-api')
3+
const HttpAPI = require('../../http')
44
const utils = require('../utils')
55
const print = utils.print
66

src/http-api/gateway/resolver.js

-86
This file was deleted.

0 commit comments

Comments
 (0)