@frigear-nu/payments 0.2.0 → 0.2.1

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.2.0",
4
+ "version": "0.2.1",
5
5
  "builder": {
6
6
  "@nuxt/module-builder": "1.0.3",
7
7
  "unbuild": "unknown"
@@ -1,6 +1,6 @@
1
1
  <script setup>
2
2
  import { paymentsApi } from "../../utils";
3
- import { computed, useFormat, useLazyFetch, useModuleT } from "#imports";
3
+ import { computed, errorMessage, tableUi, useFormat, useLazyFetch, useModuleT } from "#imports";
4
4
  defineOptions({ name: "UsersAdminPayments" });
5
5
  const props = defineProps({
6
6
  user: { type: Object, required: true }
@@ -1,6 +1,6 @@
1
1
  <script setup>
2
2
  import { paymentsApi } from "../../utils";
3
- import { computed, useFormat, useLazyFetch, useModuleT } from "#imports";
3
+ import { computed, statusColor, useFormat, useLazyFetch, useModuleT } from "#imports";
4
4
  defineOptions({ name: "UsersAdminLastPayment" });
5
5
  const props = defineProps({
6
6
  user: { type: Object, required: true }
@@ -1,6 +1,6 @@
1
1
  <script setup>
2
2
  import { paymentsApi } from "../../utils";
3
- import { useFormat, useLazyFetch, useLocaleLink, useModuleT, useRuntimeConfig } from "#imports";
3
+ import { statusColor, useFormat, useLazyFetch, useLocaleLink, useModuleT, useRuntimeConfig } from "#imports";
4
4
  defineOptions({ name: "PaymentsRecentTransactions" });
5
5
  const props = defineProps({
6
6
  tabId: { type: String, required: false, default: "payments" }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@frigear-nu/payments",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
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.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",
38
+ "@frigear-nu/auth": "^0.2.2",
39
+ "@frigear-nu/mcp": "^0.2.1",
40
+ "@frigear-nu/module-kit": "^1.2.1",
41
+ "@frigear-nu/stripe": "^0.2.1",
42
+ "@frigear-nu/ui": "^0.2.1",
43
+ "@frigear-nu/users": "^1.2.2",
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.2.0",
54
+ "@frigear-nu/widget": "^0.2.1",
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.2.0",
67
+ "@frigear-nu/widget": "^0.2.1",
68
68
  "@nuxt/devtools": "^3.4.2",
69
69
  "@nuxt/eslint-config": "^1.17.0",
70
70
  "@nuxt/module-builder": "^1.0.3",
@@ -81,7 +81,7 @@
81
81
  "vue-tsc": "^3.3.11"
82
82
  },
83
83
  "scripts": {
84
- "postinstall": "nuxt-module-build build --stub && nuxt prepare",
84
+ "dev:stub": "nuxt-module-build build --stub && nuxt prepare",
85
85
  "build": "nuxt-module-build build",
86
86
  "dev": "npm run dev:prepare && nuxt dev playground",
87
87
  "dev:build": "nuxt build playground",