@frigear-nu/payments 0.1.3 → 0.2.0

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/module.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@frigear-nu/payments",
3
3
  "configKey": "payments",
4
- "version": "0.1.3",
4
+ "version": "0.2.0",
5
5
  "builder": {
6
6
  "@nuxt/module-builder": "1.0.3",
7
7
  "unbuild": "unknown"
@@ -1,4 +1,5 @@
1
1
  import { paymentsApi } from "../../utils/index.js";
2
+ import { $fetch, computed, navigateTo, useCachedFetch, useUserSession, watch } from "#imports";
2
3
  export function usePayments() {
3
4
  const { loggedIn } = useUserSession();
4
5
  const fetched = useCachedFetch(paymentsApi.me.list, {
@@ -1,5 +1,6 @@
1
1
  <script setup>
2
2
  import { paymentsApi } from "../../utils";
3
+ import { computed, useFormat, useLazyFetch, useModuleT } from "#imports";
3
4
  defineOptions({ name: "UsersAdminPayments" });
4
5
  const props = defineProps({
5
6
  user: { type: Object, required: true }
@@ -1,5 +1,6 @@
1
1
  <script setup>
2
2
  import { paymentsApi } from "../../utils";
3
+ import { computed, useFormat, useLazyFetch, useModuleT } from "#imports";
3
4
  defineOptions({ name: "UsersAdminLastPayment" });
4
5
  const props = defineProps({
5
6
  user: { type: Object, required: true }
@@ -1,5 +1,6 @@
1
1
  <script setup>
2
2
  import { paymentsApi } from "../../utils";
3
+ import { useFormat, useLazyFetch, useLocaleLink, useModuleT, useRuntimeConfig } from "#imports";
3
4
  defineOptions({ name: "PaymentsRecentTransactions" });
4
5
  const props = defineProps({
5
6
  tabId: { type: String, required: false, default: "payments" }
@@ -1,5 +1,6 @@
1
1
  <script setup>
2
2
  import { paymentsApi } from "../../utils";
3
+ import { computed, useFormat, useLazyFetch, useModuleT } from "#imports";
3
4
  defineOptions({ name: "PaymentsRevenueStat" });
4
5
  const t = useModuleT("payments.admin");
5
6
  const format = useFormat();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@frigear-nu/payments",
3
- "version": "0.1.3",
3
+ "version": "0.2.0",
4
4
  "description": "One-time payments (Stripe Checkout, refunds and payment lifecycle hooks) for the frigear ecosystem, built on @frigear-nu/stripe.",
5
5
  "homepage": "https://docs.frigear.dev/modules/payments",
6
6
  "repository": {
@@ -35,12 +35,12 @@
35
35
  "playground"
36
36
  ],
37
37
  "dependencies": {
38
- "@frigear-nu/auth": "0.1.4",
39
- "@frigear-nu/mcp": "0.1.3",
40
- "@frigear-nu/module-kit": "1.1.3",
41
- "@frigear-nu/stripe": "0.1.3",
42
- "@frigear-nu/ui": "0.1.3",
43
- "@frigear-nu/users": "1.1.4",
38
+ "@frigear-nu/auth": "0.2.0",
39
+ "@frigear-nu/mcp": "0.2.0",
40
+ "@frigear-nu/module-kit": "1.2.0",
41
+ "@frigear-nu/stripe": "0.2.0",
42
+ "@frigear-nu/ui": "0.2.0",
43
+ "@frigear-nu/users": "1.2.0",
44
44
  "@libsql/client": "^0.18.0",
45
45
  "@nuxt/kit": "^4.6.1",
46
46
  "drizzle-kit": "^0.31.11",
@@ -51,7 +51,7 @@
51
51
  "zod": "^4.6.5"
52
52
  },
53
53
  "peerDependencies": {
54
- "@frigear-nu/widget": "0.1.3",
54
+ "@frigear-nu/widget": "0.2.0",
55
55
  "@nuxt/ui": "^4.12.0",
56
56
  "@nuxthub/core": "^0.10.8"
57
57
  },
@@ -64,7 +64,7 @@
64
64
  }
65
65
  },
66
66
  "devDependencies": {
67
- "@frigear-nu/widget": "0.1.3",
67
+ "@frigear-nu/widget": "0.2.0",
68
68
  "@nuxt/devtools": "^3.4.2",
69
69
  "@nuxt/eslint-config": "^1.17.0",
70
70
  "@nuxt/module-builder": "^1.0.3",