formtress-js 0.1.4 → 0.1.5

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
@@ -2,7 +2,7 @@
2
2
 
3
3
  [![npm version](https://badge.fury.io/js/formtress-js.svg)](https://badge.fury.io/js/formtress-js)
4
4
 
5
- `formtress.js` is a tiny library that that submits your forms using javascript, and handles loading states, validation, and error messages. It has different packages for different platforms.
5
+ `formtress.js` is a tiny library that that submits your forms using javascript, and handles loading states, validation, and error messages.
6
6
 
7
7
  ## Features
8
8
 
@@ -10,7 +10,7 @@
10
10
  - **Easy to use**: Just add a few attributes to your form and you're good to go.
11
11
  - **Built-in validation**: Automatically validates your forms based on the forms you created in Formtress.
12
12
  - **Error handling**: Automatically handles errors and displays them to the user.
13
- - **Platform specific**: Works with Webflow, with more platforms coming soon.
13
+ - **Platform specific**: Built to work with Webflow's forms.
14
14
 
15
15
  ## Installation
16
16
 
@@ -19,7 +19,7 @@
19
19
  For Webflow, you can add the script to your project by adding the following code to your Webflow project settings before the closing `</body>` tag (change `latest` to the version you want to use):
20
20
 
21
21
  ```html
22
- <script src="https://cdn.jsdelivr.net/npm/formtress-js@latest/dist/webflow.js"></script>
22
+ <script src="https://cdn.jsdelivr.net/npm/formtress-js@latest/dist/umd/index.js"></script>
23
23
  ```
24
24
  > Note: While using @latest is convenient, it's recommended to pin to a specific version in production for stability. Check the version badge above for the current release.
25
25
 
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "private": false,
5
5
  "license": "MIT",
6
6
  "main": "dist/index.umd.js",
7
- "version": "0.1.4",
7
+ "version": "0.1.5",
8
8
  "type": "module",
9
9
  "homepage": "https://formtress.com",
10
10
  "author": "Christos Soulaki",
package/vite.config.ts CHANGED
@@ -1,6 +1,6 @@
1
- import { globSync } from 'glob'
2
- import path from 'node:path'
3
- import { fileURLToPath } from 'node:url'
1
+ // import { globSync } from 'glob'
2
+ // import path from 'node:path'
3
+ // import { fileURLToPath } from 'node:url'
4
4
  import { defineConfig } from "vite"
5
5
 
6
6
  export default defineConfig({