@tthr/vue 0.0.45 → 0.0.46

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
@@ -145,9 +145,9 @@ import { defineNitroPlugin } from 'nitropack/runtime';
145
145
  import { registerCronHandler } from '@tthr/vue/nuxt/runtime/server/plugins/cron.js';
146
146
  import { useTetherServer } from '@tthr/vue/nuxt/runtime/server/utils/tether.js';
147
147
 
148
- // Import all functions from tether/functions
148
+ // Import all functions from tether/functions (using ~~ for rootDir)
149
149
  // @ts-ignore - user's functions may not exist yet
150
- import * as tetherFunctions from '~/tether/functions';
150
+ import * as tetherFunctions from '~~/tether/functions';
151
151
 
152
152
  /**
153
153
  * Create a simple logger for function execution
package/nuxt/module.ts CHANGED
@@ -170,9 +170,9 @@ import { defineNitroPlugin } from 'nitropack/runtime';
170
170
  import { registerCronHandler } from '@tthr/vue/nuxt/runtime/server/plugins/cron.js';
171
171
  import { useTetherServer } from '@tthr/vue/nuxt/runtime/server/utils/tether.js';
172
172
 
173
- // Import all functions from tether/functions
173
+ // Import all functions from tether/functions (using ~~ for rootDir)
174
174
  // @ts-ignore - user's functions may not exist yet
175
- import * as tetherFunctions from '~/tether/functions';
175
+ import * as tetherFunctions from '~~/tether/functions';
176
176
 
177
177
  /**
178
178
  * Create a simple logger for function execution
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tthr/vue",
3
- "version": "0.0.45",
3
+ "version": "0.0.46",
4
4
  "description": "Tether Vue/Nuxt SDK",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -16,6 +16,12 @@
16
16
  },
17
17
  "./nuxt": {
18
18
  "import": "./nuxt/module.ts"
19
+ },
20
+ "./nuxt/runtime/server/plugins/cron.js": {
21
+ "import": "./nuxt/runtime/server/plugins/cron.js"
22
+ },
23
+ "./nuxt/runtime/server/utils/tether.js": {
24
+ "import": "./nuxt/runtime/server/utils/tether.js"
19
25
  }
20
26
  },
21
27
  "files": [