Skip to content

Commit

Permalink
Disable typechecking for realzies (#79)
Browse files Browse the repository at this point in the history
* Disable typechecking for realzies

* Bump patch version
  • Loading branch information
macmv authored Sep 11, 2023
1 parent 9fd921a commit 09be7c4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions fauna/v10/client.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,13 @@ function getV10Client({ secret, endpoint, scheme, port, domain }) {
if (endpoint == null && scheme == null && port == null && domain == null) {
return new Client({
secret,
typecheck: false,
});
} else if (endpoint != null) {
return new Client({
endpoint: new URL(endpoint),
secret,
typecheck: false,
});
} else {
scheme = scheme ?? "https";
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@fauna-labs/serverless-fauna",
"version": "0.4.2",
"version": "0.4.3",
"description": "A plugin to define resources in your Fauna database directly within your Serverless Framework applications.",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit 09be7c4

Please sign in to comment.