@frigear-nu/payments 0.2.0 → 0.2.2
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/README.md
CHANGED
|
@@ -33,7 +33,7 @@ const { payment, url } = await createPayment({
|
|
|
33
33
|
nitroApp.hooks.hook('payments:paid', ({ payment }) => { /* ... */ })
|
|
34
34
|
```
|
|
35
35
|
|
|
36
|
-
Full documentation: `apps/docs/content/
|
|
36
|
+
Full documentation: `apps/docs/content/5.modules/13.payments.md`.
|
|
37
37
|
|
|
38
38
|
## Development
|
|
39
39
|
|
package/dist/module.json
CHANGED
|
@@ -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.
|
|
3
|
+
"version": "0.2.2",
|
|
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.
|
|
39
|
-
"@frigear-nu/mcp": "0.2.
|
|
40
|
-
"@frigear-nu/module-kit": "1.2
|
|
41
|
-
"@frigear-nu/stripe": "0.2.
|
|
42
|
-
"@frigear-nu/ui": "0.2.
|
|
43
|
-
"@frigear-nu/users": "1.2.
|
|
38
|
+
"@frigear-nu/auth": "^0.2.3",
|
|
39
|
+
"@frigear-nu/mcp": "^0.2.2",
|
|
40
|
+
"@frigear-nu/module-kit": "^1.3.2",
|
|
41
|
+
"@frigear-nu/stripe": "^0.2.2",
|
|
42
|
+
"@frigear-nu/ui": "^0.2.2",
|
|
43
|
+
"@frigear-nu/users": "^1.2.3",
|
|
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.
|
|
54
|
+
"@frigear-nu/widget": "^0.2.2",
|
|
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.
|
|
67
|
+
"@frigear-nu/widget": "^0.2.2",
|
|
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
|
-
"
|
|
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",
|