@createlex/onetapforms-sdk 1.1.2 → 1.1.4
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 +2 -2
- package/dist/index.cjs +2400 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.esm.js +3 -33
- package/dist/index.esm.js.map +1 -1
- package/dist/onetapforms.js +34 -5
- package/dist/sdk.d.ts +44 -0
- package/dist/types.d.ts +2 -0
- package/package.json +11 -3
package/README.md
CHANGED
|
@@ -127,8 +127,9 @@ Creates a new OneTapForms instance.
|
|
|
127
127
|
|
|
128
128
|
**Parameters:**
|
|
129
129
|
- `config.clientId` (string, required): Your client ID
|
|
130
|
+
- `config.clientSecret` (string, optional): Your client secret (recommended for authenticated requests)
|
|
130
131
|
- `config.apiUrl` (string, optional): API URL (defaults to `https://api.createlex.com`)
|
|
131
|
-
- `config.apiKey` (string, optional): API key (defaults to `clientId`)
|
|
132
|
+
- `config.apiKey` (string, optional): API key for legacy auth (defaults to `clientId`)
|
|
132
133
|
- `config.debug` (boolean, optional): Enable debug logging (defaults to `false`)
|
|
133
134
|
|
|
134
135
|
### `request(options)`
|
|
@@ -261,4 +262,3 @@ MIT - Free to use, modify, and distribute
|
|
|
261
262
|
## Support
|
|
262
263
|
|
|
263
264
|
For issues and questions, please visit: https://github.com/createlex/onetapforms-sdk/issues
|
|
264
|
-
|