apeframework 0.0.0-dev.33 → 0.0.0-dev.34

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -8,12 +8,12 @@ class Migrator {
8
8
  const resolve = ({ name: filename, context }) => {
9
9
  const name = basename(filename, extname(filename));
10
10
  const up = async ({ path }) => {
11
- const migration = await import(String(path));
12
- await migration.up(context);
11
+ const module = await import(String(path));
12
+ await module.default.up(context);
13
13
  };
14
14
  const down = async ({ path }) => {
15
- const migration = await import(String(path));
16
- await migration.down(context);
15
+ const module = await import(String(path));
16
+ await module.default.down(context);
17
17
  };
18
18
  return { name, up, down };
19
19
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "apeframework",
3
- "version": "0.0.0-dev.33",
3
+ "version": "0.0.0-dev.34",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },