diff --git a/middleware.d.ts b/middleware.d.ts deleted file mode 100644 index b9b0cff..0000000 --- a/middleware.d.ts +++ /dev/null @@ -1 +0,0 @@ -export * from './build/src/middleware'; diff --git a/middleware.js b/middleware.js deleted file mode 100644 index 7229ab7..0000000 --- a/middleware.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('./build/src/middleware.js'); diff --git a/package.json b/package.json index 60050a9..db50b5b 100644 --- a/package.json +++ b/package.json @@ -17,8 +17,6 @@ "expo-module.config.json", "metro.js", "metro.d.ts", - "middleware.js", - "middleware.d.js", "webui/dist" ], "homepage": "https://github.com/byCedric/expo-atlas", diff --git a/src/index.ts b/src/index.ts index 940c6b6..a6f840b 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,10 +1,10 @@ import './utils/global'; export type * from './data/types'; - export { MetroGraphSource } from './data/MetroGraphSource'; export { StatsFileSource } from './data/StatsFileSource'; export { AtlasError, AtlasValidationError } from './utils/errors'; -export { createStatsFile, validateStatsFile, getStatsMetdata, getStatsPath } from './utils/stats'; +export { createAtlasMiddleware } from './utils/middleware'; export { fuzzyFilterModules } from './utils/search'; +export { createStatsFile, validateStatsFile, getStatsMetdata, getStatsPath } from './utils/stats'; diff --git a/src/middleware.ts b/src/middleware.ts deleted file mode 100644 index 3e2106b..0000000 --- a/src/middleware.ts +++ /dev/null @@ -1,2 +0,0 @@ -export { MetroGraphSource } from './data/MetroGraphSource'; -export { createAtlasMiddleware } from './utils/middleware';