@nuxt-customer-portal/invoices 0.8.3 → 0.8.4

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,17 @@
1
1
  # @nuxt-customer-portal/invoices
2
2
 
3
+ ## 0.8.4
4
+
5
+ ### Patch Changes
6
+
7
+ - Bind capability fetch types to their concrete route to avoid excessive type inference in host applications.
8
+
9
+ - Updated dependencies [170c58f]
10
+ - @nuxt-customer-portal/core@0.8.4
11
+ - @nuxt-customer-portal/clients@0.8.4
12
+ - @nuxt-customer-portal/organizations@0.8.4
13
+ - @nuxt-customer-portal/ui@0.8.4
14
+
3
15
  ## 0.8.3
4
16
 
5
17
  ### Patch Changes
@@ -41,7 +41,7 @@ export default defineNuxtPlugin(() => {
41
41
  return register(empty)
42
42
  }
43
43
  try {
44
- register(await $fetch<InvoiceCapabilitiesDto>('/api/invoices/capabilities'))
44
+ register(await $fetch<InvoiceCapabilitiesDto, '/api/invoices/capabilities'>('/api/invoices/capabilities'))
45
45
  } catch {
46
46
  register(empty)
47
47
  }
@@ -51,7 +51,7 @@ export default defineNuxtPlugin(() => {
51
51
  if (import.meta.client) {
52
52
  window.addEventListener('invoices:capabilities-refresh', async () => {
53
53
  try {
54
- register(await $fetch<InvoiceCapabilitiesDto>('/api/invoices/capabilities'))
54
+ register(await $fetch<InvoiceCapabilitiesDto, '/api/invoices/capabilities'>('/api/invoices/capabilities'))
55
55
  } catch {
56
56
  register(empty)
57
57
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nuxt-customer-portal/invoices",
3
- "version": "0.8.3",
3
+ "version": "0.8.4",
4
4
  "license": "MIT",
5
5
  "homepage": "https://nuxt-customer-portal.com",
6
6
  "repository": {
@@ -44,10 +44,10 @@
44
44
  "pg": "^8.22.0",
45
45
  "resend": "^6.18.1",
46
46
  "zod": "^4.4.3",
47
- "@nuxt-customer-portal/core": "^0.8.3",
48
- "@nuxt-customer-portal/clients": "^0.8.3",
49
- "@nuxt-customer-portal/organizations": "^0.8.3",
50
- "@nuxt-customer-portal/ui": "^0.8.3"
47
+ "@nuxt-customer-portal/core": "^0.8.4",
48
+ "@nuxt-customer-portal/organizations": "^0.8.4",
49
+ "@nuxt-customer-portal/ui": "^0.8.4",
50
+ "@nuxt-customer-portal/clients": "^0.8.4"
51
51
  },
52
52
  "peerDependencies": {
53
53
  "nuxt": "^4.5.1",
@@ -1,6 +1,6 @@
1
1
  export default {
2
2
  id: 'invoices',
3
- version: '0.8.3',
3
+ version: '0.8.4',
4
4
  source: '@nuxt-customer-portal/invoices',
5
5
  clientModuleId: 'invoices',
6
6
  dependsOn: ['core', 'ui', 'organizations', 'clients'],