@mastra/deployer-netlify 0.10.1-alpha.1 → 0.10.1

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.
package/dist/index.cjs CHANGED
@@ -160,16 +160,11 @@ to = "/.netlify/functions/api/:splat"
160
160
  });
161
161
  });
162
162
 
163
- if (mastra.getStorage()) {
164
- // start storage init in the background
165
- mastra.getStorage().init();
166
- }
167
-
168
163
  registerHook(AvailableHooks.ON_EVALUATION, async traceObject => {
169
164
  const storage = mastra.getStorage();
170
165
  if (storage) {
171
166
  // Check for required fields
172
- const logger = mastra?.getLogger();
167
+ const logger = mastra.getLogger();
173
168
  const areFieldsValid = checkEvalStorageFields(traceObject, logger);
174
169
  if (!areFieldsValid) return;
175
170
 
package/dist/index.js CHANGED
@@ -158,16 +158,11 @@ to = "/.netlify/functions/api/:splat"
158
158
  });
159
159
  });
160
160
 
161
- if (mastra.getStorage()) {
162
- // start storage init in the background
163
- mastra.getStorage().init();
164
- }
165
-
166
161
  registerHook(AvailableHooks.ON_EVALUATION, async traceObject => {
167
162
  const storage = mastra.getStorage();
168
163
  if (storage) {
169
164
  // Check for required fields
170
- const logger = mastra?.getLogger();
165
+ const logger = mastra.getLogger();
171
166
  const areFieldsValid = checkEvalStorageFields(traceObject, logger);
172
167
  if (!areFieldsValid) return;
173
168
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mastra/deployer-netlify",
3
- "version": "0.10.1-alpha.1",
3
+ "version": "0.10.1",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "files": [
@@ -30,7 +30,7 @@
30
30
  "execa": "^9.5.2",
31
31
  "netlify-cli": "^19.0.3",
32
32
  "zod": "^3.24.3",
33
- "@mastra/deployer": "^0.10.1-alpha.1"
33
+ "@mastra/deployer": "^0.10.1"
34
34
  },
35
35
  "devDependencies": {
36
36
  "@microsoft/api-extractor": "^7.52.5",
@@ -39,8 +39,8 @@
39
39
  "tsup": "^8.4.0",
40
40
  "typescript": "^5.8.2",
41
41
  "vitest": "^3.1.2",
42
- "@internal/lint": "0.0.6",
43
- "@mastra/core": "0.10.1-alpha.1"
42
+ "@internal/lint": "0.0.7",
43
+ "@mastra/core": "0.10.1"
44
44
  },
45
45
  "peerDependencies": {
46
46
  "@mastra/core": "^0.10.0"