create-mastra 1.19.0-alpha.8 → 1.19.0-alpha.9

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/CHANGELOG.md CHANGED
@@ -1,5 +1,7 @@
1
1
  # create-mastra
2
2
 
3
+ ## 1.19.0-alpha.9
4
+
3
5
  ## 1.19.0-alpha.8
4
6
 
5
7
  ## 1.19.0-alpha.7
@@ -29,4 +29,4 @@ import 'tinyexec';
29
29
 
30
30
 
31
31
  export { fetchOrgs };
32
- //# sourceMappingURL=api-C4LNCE5C-C6a7ZtxG.js.map
32
+ //# sourceMappingURL=api-FT5GISRU-C6a7ZtxG.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"api-FT5GISRU-C6a7ZtxG.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -30,4 +30,4 @@ import 'tinyexec';
30
30
 
31
31
 
32
32
  export { loadCredentials, tryRefreshToken };
33
- //# sourceMappingURL=credentials-EGXLGJFI-AePRvo2y.js.map
33
+ //# sourceMappingURL=credentials-N4SAI3J3-AePRvo2y.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"credentials-N4SAI3J3-AePRvo2y.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
package/dist/index.js CHANGED
@@ -546,7 +546,7 @@ async function authenticatedFetch(input, init) {
546
546
  if (!_refreshInFlight) {
547
547
  _refreshInFlight = (async () => {
548
548
  try {
549
- const { tryRefreshToken, loadCredentials } = await import('./credentials-EGXLGJFI-AePRvo2y.js');
549
+ const { tryRefreshToken, loadCredentials } = await import('./credentials-N4SAI3J3-AePRvo2y.js');
550
550
  const creds = await loadCredentials();
551
551
  if (!creds) throw new Error("No credentials");
552
552
  const newToken2 = await tryRefreshToken(creds);
@@ -830,7 +830,7 @@ async function getToken() {
830
830
  return newCreds.token;
831
831
  }
832
832
  async function validateOrgAccess(token, orgId) {
833
- const { fetchOrgs } = await import('./api-C4LNCE5C-C6a7ZtxG.js');
833
+ const { fetchOrgs } = await import('./api-FT5GISRU-C6a7ZtxG.js');
834
834
  const orgs = await fetchOrgs(token);
835
835
  const hasAccess = orgs.some((o) => o.id === orgId);
836
836
  if (!hasAccess) {
@@ -16779,7 +16779,7 @@ var PinoLogger = class _PinoLogger extends MastraLogger {
16779
16779
  };
16780
16780
 
16781
16781
  var package_default = {
16782
- version: "1.19.0-alpha.8"};
16782
+ version: "1.19.0-alpha.9"};
16783
16783
  var logger = createLogger(false);
16784
16784
  function createLogger(debug = false) {
16785
16785
  return new PinoLogger({