wowsql-sdk 3.9.2 → 3.9.3
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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/README.md +3 -4
- data/lib/wowsql/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 733ca78817394f358256715fd17bc810bb62d575cd3bac9a8371f6cd080dee3e
|
|
4
|
+
data.tar.gz: f66dcf05b1d189946aec2a2d107572170e7d7aac62864176fa8675d59e01e9e9
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: cb99407286c0edf67ce68faf420c7d2535eca07fc7d597c41d5064afeac5e7a8fb7f42848ea797b979fb83b09686a8714a24bd99f6a6bc7adfc99d5f001684f1
|
|
7
|
+
data.tar.gz: 49c5a291fdacd15bccf7b17f0a4dfc7f639d32275605ec2e91a38e53e2df0b44e65290aedc6adcbf472b46ad83c603a8ffef71d70c551b3199b65ef9da9d1ca0
|
data/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,11 @@ All notable changes to the WowSQL Ruby SDK will be documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
+
## [3.9.3] - 2026-10-10
|
|
9
|
+
|
|
10
|
+
### Docs - CAPTCHA bring-your-own widget
|
|
11
|
+
- README: create a Cloudflare Turnstile widget for your app domain and paste site key + secret in Attack Protection. WoWSQL does not provide a shared widget. `GET /auth/v1/settings` returns your `captcha.site_key`.
|
|
12
|
+
|
|
8
13
|
## [3.9.2] - 2026-10-10
|
|
9
14
|
|
|
10
15
|
### Added - Optional Turnstile captcha
|
data/README.md
CHANGED
|
@@ -408,12 +408,11 @@ puts response.session.refresh_token
|
|
|
408
408
|
|
|
409
409
|
### CAPTCHA (Turnstile)
|
|
410
410
|
|
|
411
|
-
Optional. Only required when Attack Protection → Turnstile is enabled.
|
|
411
|
+
Optional. Only required when dashboard **Attack Protection → Turnstile** is enabled.
|
|
412
|
+
|
|
413
|
+
Create a Cloudflare Turnstile widget for **your** app domain at [dash.cloudflare.com/turnstile](https://dash.cloudflare.com/turnstile) and paste the **site key** and **secret** in Attack Protection. WoWSQL does not provide a shared widget — each project must use its own keys bound to that hostname. `GET /auth/v1/settings` returns your `captcha.site_key`. Render Turnstile with that key, then pass the token. Omit it when captcha is off — existing calls without `captcha_token` are unchanged.
|
|
412
414
|
|
|
413
415
|
```ruby
|
|
414
|
-
# 1. GET /auth/v1/settings → captcha.site_key
|
|
415
|
-
# 2. Render Cloudflare Turnstile with that site key
|
|
416
|
-
# 3. Pass the token:
|
|
417
416
|
auth.sign_up(email: "alice@example.com", password: "SecurePass123!", captcha_token: turnstile_token)
|
|
418
417
|
auth.sign_in(email: "alice@example.com", password: "SecurePass123!", captcha_token: turnstile_token)
|
|
419
418
|
auth.forgot_password(email: "alice@example.com", captcha_token: turnstile_token)
|
data/lib/wowsql/version.rb
CHANGED