nitro-web 0.0.204 → 0.0.206
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "nitro-web",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.206",
|
|
4
4
|
"repository": "github:boycce/nitro-web",
|
|
5
5
|
"homepage": "https://boycce.github.io/nitro-web/",
|
|
6
6
|
"description": "Nitro is a battle-tested, modular base project to turbocharge your projects, styled using Tailwind 🚀",
|
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
},
|
|
63
63
|
"peerDependencies": {
|
|
64
64
|
"@stripe/stripe-js": "^1.34.0",
|
|
65
|
-
"monastery": "^3.5.
|
|
65
|
+
"monastery": "^3.5.13",
|
|
66
66
|
"stripe": "^9.16.0"
|
|
67
67
|
},
|
|
68
68
|
"_peers-are-packages-that-will-be-used-in-the-host-repo-too": "",
|
package/server/email/index.js
CHANGED
|
@@ -188,6 +188,7 @@ async function sendWithMailgun(settings, html) {
|
|
|
188
188
|
// Supports batch sending via recipientVariables, limit 1000 emails
|
|
189
189
|
// https://documentation.mailgun.com/en/latest/user_manual.html?highlight=batch%20sending#batch-sending
|
|
190
190
|
let processedhtml = await processTemplate(settings, html)
|
|
191
|
+
// console.log(settings)
|
|
191
192
|
if (settings.test) return processedhtml
|
|
192
193
|
|
|
193
194
|
return new Promise((resolve, reject) => {
|
package/server/models/company.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// @ts-nocheck
|
|
2
|
-
import { addressSchema, fullName } from 'nitro-web/util'
|
|
2
|
+
import { addressSchema, fullName, _toArray } from 'nitro-web/util'
|
|
3
3
|
|
|
4
4
|
export default {
|
|
5
5
|
|
|
@@ -29,6 +29,15 @@ export default {
|
|
|
29
29
|
findBL: ['invites.token'],
|
|
30
30
|
updateBL: ['status', 'users'],
|
|
31
31
|
|
|
32
|
+
// beforeValidate: [
|
|
33
|
+
// async function (data) {
|
|
34
|
+
// const rows = toArray(data)
|
|
35
|
+
// for (const data of rows) {
|
|
36
|
+
// // if (data.name) data.name = data.name.trim()
|
|
37
|
+
// }
|
|
38
|
+
// },
|
|
39
|
+
// ],
|
|
40
|
+
|
|
32
41
|
afterFind: [
|
|
33
42
|
async function (data) {
|
|
34
43
|
if (!data) return
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"company.d.ts","sourceRoot":"","sources":["../../../server/models/company.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"company.d.ts","sourceRoot":"","sources":["../../../server/models/company.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QAwDgB,sCAEX;QACc;;;;;;;;;;;;;;;;;;;;;;;YAyBd"}
|