Skip to content

Commit

Permalink
fix: docs.
Browse files Browse the repository at this point in the history
  • Loading branch information
b4rtaz committed Jan 29, 2024
1 parent 938f3cc commit 68a632d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions demos/supabase-auth/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,15 @@ on users for select
using ( (auth.jwt() ->> 'id')::bigint = id);
```

<img width="2294" alt="Screenshot 2023-11-26 at 12 23 04" src="https://github.com/MoralisWeb3/Moralis-JS-SDK/assets/11097108/994b0697-01cf-4e27-8f56-b9c50ea4b255">
<img width="2294" alt="Screenshot 2023-11-26 at 12 23 04" src="https://github.com/MoralisWeb3/Moralis-JS-SDK/assets/11097108/994b0697-01cf-4e27-8f56-b9c50ea4b255" />

If you view your database, you can double-check that the query was executed correctly. You should see a table called `users` with the following columns and `1 active RLS policy` at the top.

<img width="2276" alt="Screenshot 2023-11-26 at 12 23 48" src="https://github.com/MoralisWeb3/Moralis-JS-SDK/assets/11097108/cee7e888-4901-4ca0-ae61-dfd8418cb7f5">
<img width="2276" alt="Screenshot 2023-11-26 at 12 23 48" src="https://github.com/MoralisWeb3/Moralis-JS-SDK/assets/11097108/cee7e888-4901-4ca0-ae61-dfd8418cb7f5" />

You should see this if you click on that `1 active RLS policy`. This ensures that only authenticated users can view their data.

<img width="2560" alt="Screenshot 2023-11-26 at 12 24 57" src="https://github.com/MoralisWeb3/Moralis-JS-SDK/assets/11097108/f19956fc-54b0-493b-b7fb-79a0aa3f0b77">
<img width="2560" alt="Screenshot 2023-11-26 at 12 24 57" src="https://github.com/MoralisWeb3/Moralis-JS-SDK/assets/11097108/f19956fc-54b0-493b-b7fb-79a0aa3f0b77" />



Expand Down
6 changes: 3 additions & 3 deletions documentation/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3857,9 +3857,9 @@ __metadata:
linkType: hard

"caniuse-lite@npm:^1.0.0, caniuse-lite@npm:^1.0.30001400, caniuse-lite@npm:^1.0.30001426":
version: 1.0.30001434
resolution: "caniuse-lite@npm:1.0.30001434"
checksum: 7c9d2641e8e8f3ddf9af14c4ce47266a9d8fd1fc0243626049ff1b2eca4bf02938ff440813cc3feae3fa8d851ec8d1b9718044340c8d09bb4372d92d4f6b519c
version: 1.0.30001581
resolution: "caniuse-lite@npm:1.0.30001581"
checksum: ca4e2cd9d0acf5e3c71fa2e7cd65561e4532d32b640145f634c333792074bb63de1239b35abfb6b6d372f97caf26f8d97faac7ba51ef190717ad2d3ae9c0d7a2
languageName: node
linkType: hard

Expand Down

1 comment on commit 68a632d

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Test coverage

Title Lines Statements Branches Functions
api-utils Coverage: 20%
20.6% (61/296) 20.48% (17/83) 19.04% (12/63)
auth Coverage: 89%
92.45% (98/106) 83.33% (20/24) 86.66% (26/30)
evm-api Coverage: 91%
91.83% (90/98) 66.66% (6/9) 87.5% (56/64)
common-aptos-utils Coverage: 4%
4.56% (151/3306) 4.49% (25/556) 5.53% (45/813)
common-evm-utils Coverage: 64%
65.4% (1654/2529) 25% (186/744) 44.26% (421/951)
sol-api Coverage: 97%
97.56% (40/41) 66.66% (6/9) 93.75% (15/16)
common-sol-utils Coverage: 64%
65.42% (229/350) 41.86% (18/43) 50.89% (57/112)
common-streams-utils Coverage: 90%
90.73% (1204/1327) 73.63% (363/493) 82.07% (444/541)
streams Coverage: 91%
90.54% (603/666) 72.34% (68/94) 90.97% (131/144)

Please sign in to comment.