@tthr/vue 0.0.49 → 0.0.50

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/nuxt/module.js CHANGED
@@ -131,8 +131,8 @@ export default defineNuxtModule({
131
131
  nitroConfig.externals.inline = nitroConfig.externals.inline || [];
132
132
  nitroConfig.externals.inline.push('@tthr/vue');
133
133
  });
134
- // Get the absolute path to user's tether/functions directory
135
- const tetherFunctionsPath = `${nuxt.options.rootDir}/tether/functions`;
134
+ // Get the absolute path to user's tether/functions/index file
135
+ const tetherFunctionsPath = `${nuxt.options.rootDir}/tether/functions/index`;
136
136
  // Generate a server plugin to auto-register cron handlers from tether/functions
137
137
  // This runs at build time and creates a plugin that imports user's functions
138
138
  // NOTE: Must be .js file (not .ts) to avoid Rollup parse errors during Nitro build
package/nuxt/module.ts CHANGED
@@ -156,8 +156,8 @@ export default defineNuxtModule<TetherModuleOptions>({
156
156
  nitroConfig.externals.inline.push('@tthr/vue');
157
157
  });
158
158
 
159
- // Get the absolute path to user's tether/functions directory
160
- const tetherFunctionsPath = `${nuxt.options.rootDir}/tether/functions`;
159
+ // Get the absolute path to user's tether/functions/index file
160
+ const tetherFunctionsPath = `${nuxt.options.rootDir}/tether/functions/index`;
161
161
 
162
162
  // Generate a server plugin to auto-register cron handlers from tether/functions
163
163
  // This runs at build time and creates a plugin that imports user's functions
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tthr/vue",
3
- "version": "0.0.49",
3
+ "version": "0.0.50",
4
4
  "description": "Tether Vue/Nuxt SDK",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",