@etohq/eto 1.1.0 → 1.3.0

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.
@@ -1 +1 @@
1
- {"version":3,"file":"create.d.ts","sourceRoot":"","sources":["../../../src/commands/migrate/create.ts"],"names":[],"mappings":"AAqBA;;;GAGG;AACH,wBAAsB,QAAQ,CAAC,EAC7B,EAAE,EACF,SAAS,EACT,WAAW,GACZ,EAAE;IACD,EAAE,EAAE,MAAM,GAAG,SAAS,CAAA;IACtB,SAAS,EAAE,MAAM,CAAA;IACjB,WAAW,EAAE,OAAO,CAAA;CACrB,GAAG,OAAO,CAAC,OAAO,CAAC,CAyHnB;AAED,QAAA,MAAM,IAAI;;;;oBAWT,CAAA;AAED,eAAe,IAAI,CAAA"}
1
+ {"version":3,"file":"create.d.ts","sourceRoot":"","sources":["../../../src/commands/migrate/create.ts"],"names":[],"mappings":"AAqBA;;;GAGG;AACH,wBAAsB,QAAQ,CAAC,EAC7B,EAAE,EACF,SAAS,EACT,WAAW,GACZ,EAAE;IACD,EAAE,EAAE,MAAM,GAAG,SAAS,CAAA;IACtB,SAAS,EAAE,MAAM,CAAA;IACjB,WAAW,EAAE,OAAO,CAAA;CACrB,GAAG,OAAO,CAAC,OAAO,CAAC,CAyHnB;AAED,QAAA,MAAM,IAAI,GAAmB;;;;CAA8B,mBAW1D,CAAA;AAED,eAAe,IAAI,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"generate.d.ts","sourceRoot":"","sources":["../../../src/commands/migrate/generate.ts"],"names":[],"mappings":"AAeA,QAAA,MAAM,IAAI;;;;;;;oBA4DT,CAAA;AAED,eAAe,IAAI,CAAA"}
1
+ {"version":3,"file":"generate.d.ts","sourceRoot":"","sources":["../../../src/commands/migrate/generate.ts"],"names":[],"mappings":"AAeA,QAAA,MAAM,IAAI,GAAmB;;;;;;;CAEU,mBA0DtC,CAAA;AAED,eAAe,IAAI,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"sync-links-migration.d.ts","sourceRoot":"","sources":["../../../src/commands/migrate/sync-links-migration.ts"],"names":[],"mappings":"AAWA,OAAO,EAAE,YAAY,EAAuB,MAAM,kBAAkB,CAAA;AA+EpE;;;GAGG;AACH,wBAAsB,SAAS,CAC7B,YAAY,EAAE,YAAY,EAC1B,EACE,UAAU,EACV,WAAW,GACZ,EAAE;IACD,WAAW,EAAE,OAAO,CAAA;IACpB,UAAU,EAAE,OAAO,CAAA;CACpB,iBA0FF;AAED,QAAA,MAAM,IAAI;;;;;;;;oBAoCT,CAAA;AAED,eAAe,IAAI,CAAA"}
1
+ {"version":3,"file":"sync-links-migration.d.ts","sourceRoot":"","sources":["../../../src/commands/migrate/sync-links-migration.ts"],"names":[],"mappings":"AAWA,OAAO,EAAE,YAAY,EAAuB,MAAM,kBAAkB,CAAA;AA+EpE;;;GAGG;AACH,wBAAsB,SAAS,CAC7B,YAAY,EAAE,YAAY,EAC1B,EACE,UAAU,EACV,WAAW,GACZ,EAAE;IACD,WAAW,EAAE,OAAO,CAAA;IACpB,UAAU,EAAE,OAAO,CAAA;CACpB,iBA0FF;AAED,QAAA,MAAM,IAAI,GAAmB;;;;;;;;CAEU,mBAkCtC,CAAA;AAED,eAAe,IAAI,CAAA"}
package/dist/index.js CHANGED
@@ -15,13 +15,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
15
15
  }) : function(o, v) {
16
16
  o["default"] = v;
17
17
  });
18
- var __importStar = (this && this.__importStar) || function (mod) {
19
- if (mod && mod.__esModule) return mod;
20
- var result = {};
21
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
- __setModuleDefault(result, mod);
23
- return result;
24
- };
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
25
35
  var __exportStar = (this && this.__exportStar) || function(m, exports) {
26
36
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
27
37
  };
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,uDAAsC;AACtC,0CAAuB;AACvB,0CAAuB"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,uDAAsC;AACtC,0CAAuB;AACvB,0CAAuB"}
@@ -1 +1 @@
1
- {"root":["../src/index.ts","../src/commands/exec.ts","../src/commands/index.ts","../src/commands/user.ts","../src/commands/migrate/create.ts","../src/commands/migrate/generate.ts","../src/commands/migrate/sync-links-migration.ts","../src/commands/utils/index.ts","../src/loaders/helpers/resolve-plugins.ts","../src/types/global.ts","../src/types/index.ts","../src/types/middlewares.ts","../src/types/subscribers.ts","../src/utils/admin-consts.ts","../src/utils/clean-response-data.ts","../src/utils/diff-set.ts","../src/utils/exception-formatter.ts","../src/utils/format-registration-name.ts","../src/utils/index.ts","../src/utils/__tests__/format-registration-name.js","../src/utils/middlewares/authenticate-middleware.ts","../src/utils/middlewares/error-handler.ts","../src/utils/middlewares/index.ts"],"version":"5.6.2"}
1
+ {"root":["../src/index.ts","../src/commands/exec.ts","../src/commands/index.ts","../src/commands/user.ts","../src/commands/migrate/create.ts","../src/commands/migrate/generate.ts","../src/commands/migrate/sync-links-migration.ts","../src/commands/utils/index.ts","../src/loaders/helpers/resolve-plugins.ts","../src/types/global.ts","../src/types/index.ts","../src/types/middlewares.ts","../src/types/subscribers.ts","../src/utils/admin-consts.ts","../src/utils/clean-response-data.ts","../src/utils/diff-set.ts","../src/utils/exception-formatter.ts","../src/utils/format-registration-name.ts","../src/utils/index.ts","../src/utils/__tests__/format-registration-name.js","../src/utils/middlewares/authenticate-middleware.ts","../src/utils/middlewares/error-handler.ts","../src/utils/middlewares/index.ts"],"version":"5.8.3"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@etohq/eto",
3
- "version": "1.1.0",
3
+ "version": "1.3.0",
4
4
  "description": "Building blocks for API",
5
5
  "main": "dist/index.js",
6
6
  "exports": {
@@ -39,7 +39,7 @@
39
39
  "test": "jest --silent=false --bail --maxWorkers=50% --forceExit"
40
40
  },
41
41
  "devDependencies": {
42
- "@etohq/framework": "^1.1.0",
42
+ "@etohq/framework": "^1.3.0",
43
43
  "@mikro-orm/core": "5.9.7",
44
44
  "@mikro-orm/knex": "5.9.7",
45
45
  "@mikro-orm/migrations": "5.9.7",
@@ -58,64 +58,20 @@
58
58
  "awilix": "^8.0.1",
59
59
  "jest": "^29.7.0",
60
60
  "rimraf": "^5.0.2",
61
- "typescript": "^5.6.2"
61
+ "typescript": "^5.8.3"
62
62
  },
63
63
  "dependencies": {
64
- "@etohq/api-key": "^1.1.0",
65
- "@etohq/auth": "^1.1.0",
66
- "@etohq/auth-emailpass": "^1.0.0",
67
- "@etohq/auth-github": "^1.0.0",
68
- "@etohq/auth-google": "^1.0.0",
69
- "@etohq/cache-inmemory": "^1.1.0",
70
- "@etohq/cache-redis": "^1.1.0",
71
- "@etohq/cart": "^1.0.0",
72
- "@etohq/commerce-flows": "^1.1.0",
73
- "@etohq/commerce-link-modules": "^1.1.0",
74
- "@etohq/currency": "^1.0.0",
75
- "@etohq/customer": "^1.0.0",
76
- "@etohq/event-bus-local": "^1.1.0",
77
- "@etohq/event-bus-redis": "^1.1.0",
78
- "@etohq/file": "^1.1.0",
79
- "@etohq/file-local": "^1.0.0",
80
- "@etohq/file-s3": "^1.0.0",
81
- "@etohq/fulfillment": "^1.0.0",
82
- "@etohq/fulfillment-manual": "^1.0.0",
83
- "@etohq/index": "^1.1.0",
84
- "@etohq/inventory": "^1.0.0",
85
- "@etohq/locking": "^1.1.0",
86
- "@etohq/locking-postgres": "^1.0.0",
87
- "@etohq/locking-redis": "^1.0.0",
88
- "@etohq/notification": "^1.1.0",
89
- "@etohq/notification-local": "^1.0.0",
90
- "@etohq/notification-sendgrid": "^1.0.0",
91
- "@etohq/order": "^1.0.0",
92
- "@etohq/payment": "^1.1.0",
93
- "@etohq/payment-stripe": "^1.0.0",
94
- "@etohq/pricing": "^1.0.0",
95
- "@etohq/product": "^1.0.0",
96
- "@etohq/promotion": "^1.0.0",
97
- "@etohq/region": "^1.0.0",
98
- "@etohq/sales-channel": "^1.0.0",
99
- "@etohq/stock-location": "^1.0.0",
100
- "@etohq/store": "^1.0.0",
101
- "@etohq/tax": "^1.0.0",
102
- "@etohq/user": "^1.1.0",
103
- "@etohq/workflow-engine-inmemory": "^1.1.0",
104
- "@etohq/workflow-engine-redis": "^1.1.0",
105
64
  "@inquirer/checkbox": "^2.3.11",
106
65
  "@inquirer/input": "^2.2.9",
107
66
  "@swc/core": "^1.7.28",
108
67
  "@swc/helpers": "^0.5.11",
109
- "@types/express": "^4.17.17",
110
68
  "boxen": "^5.0.1",
111
69
  "chalk": "^4.0.0",
112
70
  "chokidar": "^3.5.3",
113
71
  "compression": "^1.7.4",
114
- "express": "^4.21.0",
115
72
  "fs-exists-cached": "^1.0.0",
116
73
  "jsonwebtoken": "^9.0.2",
117
74
  "lodash": "^4.17.21",
118
- "multer": "^1.4.5-lts.1",
119
75
  "node-schedule": "^2.1.1",
120
76
  "qs": "^6.11.2",
121
77
  "request-ip": "^3.3.0",
@@ -124,7 +80,7 @@
124
80
  "zod": "3.22.4"
125
81
  },
126
82
  "peerDependencies": {
127
- "@etohq/framework": "^1.0.0",
83
+ "@etohq/framework": "^1.1.0",
128
84
  "@mikro-orm/core": "5.9.7",
129
85
  "@mikro-orm/knex": "5.9.7",
130
86
  "@mikro-orm/migrations": "5.9.7",