Skip to content

Commit

Permalink
Merge pull request #13 from FriendlyCaptcha/update-frc-sdk-header
Browse files Browse the repository at this point in the history
Update `frc-sdk` header
  • Loading branch information
gzuidhof authored Oct 21, 2024
2 parents cb88455 + d802b8c commit fe0f1b3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions example/templates/demo.html
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@
}
</style>

<script type="module" src="https://cdn.jsdelivr.net/npm/@friendlycaptcha/sdk@0.1.7/site.min.js" async defer></script>
<script nomodule src="https://cdn.jsdelivr.net/npm/@friendlycaptcha/sdk@0.1.7/site.compat.min.js" async
<script type="module" src="https://cdn.jsdelivr.net/npm/@friendlycaptcha/sdk@0.1.8/site.min.js" async defer></script>
<script nomodule src="https://cdn.jsdelivr.net/npm/@friendlycaptcha/sdk@0.1.8/site.compat.min.js" async
defer></script>

<!-- You can change the data-api-endpoint via this tag. More info here https://developer.friendlycaptcha.com/docs/sdk/configuration -->
Expand Down
2 changes: 1 addition & 1 deletion friendly_captcha_client/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ def verify_captcha_response(
"Content-Type": "application/json",
"Accept": "application/json",
"X-Api-Key": self.api_key,
"X-Frc-Sdk": f"friendly-captcha-python-sdk@{self._get_current_version()}",
"Frc-Sdk": f"friendly-captcha-python@{self._get_current_version()}",
},
timeout=timeout,
)
Expand Down

0 comments on commit fe0f1b3

Please sign in to comment.