Compare commits
8 Commits
@nhost/rea
...
@nhost/rea
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5cc9be00b6 | ||
|
|
28dae23a91 | ||
|
|
7819e20cf4 | ||
|
|
6be3758668 | ||
|
|
658c67faf4 | ||
|
|
1bcee357fe | ||
|
|
b729aa9290 | ||
|
|
9b840f7c4a |
5
.github/workflows/changesets.yaml
vendored
5
.github/workflows/changesets.yaml
vendored
@@ -30,6 +30,9 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
node-version: '17.8.0'
|
node-version: '17.8.0'
|
||||||
cache: 'pnpm'
|
cache: 'pnpm'
|
||||||
|
- name: Pick the right npm version
|
||||||
|
# * See: https://github.com/pnpm/pnpm/issues/4348
|
||||||
|
run: npm install --global npm@8.4
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: pnpm install
|
run: pnpm install
|
||||||
- name: Create PR or Publish release
|
- name: Create PR or Publish release
|
||||||
@@ -39,7 +42,7 @@ jobs:
|
|||||||
version: pnpm run ci:version
|
version: pnpm run ci:version
|
||||||
commit: 'chore: update versions'
|
commit: 'chore: update versions'
|
||||||
title: 'chore: update versions'
|
title: 'chore: update versions'
|
||||||
publish: pnpm run ci:publish
|
publish: pnpm run release
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
|
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
|
||||||
|
|||||||
@@ -45,10 +45,10 @@ title: Environment Variables
|
|||||||
| AUTH_SMS_TWILIO_FROM | | |
|
| AUTH_SMS_TWILIO_FROM | | |
|
||||||
| AUTH_EMAIL_SIGNIN_EMAIL_VERIFIED_REQUIRED | When enabled, any email-based authentication requires emails to be verified by a link sent to this email. | `true` |
|
| AUTH_EMAIL_SIGNIN_EMAIL_VERIFIED_REQUIRED | When enabled, any email-based authentication requires emails to be verified by a link sent to this email. | `true` |
|
||||||
| AUTH_ACCESS_CONTROL_ALLOWED_REDIRECT_URLS | | |
|
| AUTH_ACCESS_CONTROL_ALLOWED_REDIRECT_URLS | | |
|
||||||
| AUTH_MFA_ENABLED | Enables users to use Multi Factor Authentication | `false` |
|
| AUTH_MFA_ENABLED | Enables users to use Multi Factor Authentication. | `false` |
|
||||||
| AUTH_MFA_TOTP_ISSUER | The name of the One Time Password (OTP) issuer. Probably your app's name. | `hasura-auth` |
|
| AUTH_MFA_TOTP_ISSUER | The name of the One Time Password (OTP) issuer. Probably your app's name. | `hasura-auth` |
|
||||||
| AUTH_ACCESS_TOKEN_EXPIRES_IN | | `900`(15 minutes) |
|
| AUTH_ACCESS_TOKEN_EXPIRES_IN | Number of seconds before the access token (JWT) expires. | `900`(15 minutes) |
|
||||||
| AUTH_REFRESH_TOKEN_EXPIRES_IN | | `43200` (12 hours) |
|
| AUTH_REFRESH_TOKEN_EXPIRES_IN | Number of seconds before the refresh token expires. | `2592000` (30 days) |
|
||||||
| AUTH_EMAIL_TEMPLATE_FETCH_URL | | |
|
| AUTH_EMAIL_TEMPLATE_FETCH_URL | | |
|
||||||
| AUTH_JWT_CUSTOM_CLAIMS | | |
|
| AUTH_JWT_CUSTOM_CLAIMS | | |
|
||||||
|
|
||||||
|
|||||||
@@ -28,8 +28,10 @@
|
|||||||
"prettier:fix": "prettier --write .",
|
"prettier:fix": "prettier --write .",
|
||||||
"lint": "pnpm turbo run lint --stream",
|
"lint": "pnpm turbo run lint --stream",
|
||||||
"lint:fix": "pnpm turbo run lint:fix --stream",
|
"lint:fix": "pnpm turbo run lint:fix --stream",
|
||||||
|
"prerelease": "pnpm clean && pnpm install && pnpm build",
|
||||||
|
"release": "pnpm run prerelease && changeset publish",
|
||||||
|
"snapshot": "pnpm prerelease && changeset version --snapshot preview && pnpm install && changeset publish --tag preview",
|
||||||
"test": "pnpm turbo run test --scope='@nhost/*' --no-deps --include-dependencies",
|
"test": "pnpm turbo run test --scope='@nhost/*' --no-deps --include-dependencies",
|
||||||
"ci:publish": "pnpm run build && changeset tag && git push --follow-tags && pnpm -r publish && git status",
|
|
||||||
"changeset": "changeset",
|
"changeset": "changeset",
|
||||||
"wait": "wait-on http://localhost:1337/v1/auth/healthz -i 500 -t 120000"
|
"wait": "wait-on http://localhost:1337/v1/auth/healthz -i 500 -t 120000"
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
# @nhost/apollo
|
# @nhost/apollo
|
||||||
|
|
||||||
## 0.3.4
|
## 0.3.5
|
||||||
|
|
||||||
### Patch Changes
|
### Patch Changes
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@nhost/apollo",
|
"name": "@nhost/apollo",
|
||||||
"version": "0.3.4",
|
"version": "0.3.6",
|
||||||
"description": "Nhost Apollo Client library",
|
"description": "Nhost Apollo Client library",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
# @nhost/core
|
# @nhost/core
|
||||||
|
|
||||||
## 0.3.4
|
## 0.3.7
|
||||||
|
|
||||||
### Patch Changes
|
### Patch Changes
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@nhost/core",
|
"name": "@nhost/core",
|
||||||
"version": "0.3.4",
|
"version": "0.3.7",
|
||||||
"description": "Nhost core client library",
|
"description": "Nhost core client library",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
|
|||||||
@@ -1,6 +1,12 @@
|
|||||||
# @nhost/hasura-auth-js
|
# @nhost/hasura-auth-js
|
||||||
|
|
||||||
## 1.0.5
|
## 1.0.8
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- 6be3758: bug: Correct OAuth provider link.
|
||||||
|
|
||||||
|
## 1.0.7
|
||||||
|
|
||||||
### Patch Changes
|
### Patch Changes
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@nhost/hasura-auth-js",
|
"name": "@nhost/hasura-auth-js",
|
||||||
"version": "1.0.5",
|
"version": "1.0.8",
|
||||||
"description": "Hasura-auth client",
|
"description": "Hasura-auth client",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
|
|||||||
@@ -157,7 +157,7 @@ export class HasuraAuthClient {
|
|||||||
if ('provider' in params) {
|
if ('provider' in params) {
|
||||||
const { provider, options } = params
|
const { provider, options } = params
|
||||||
const providerUrl = encodeQueryParameters(
|
const providerUrl = encodeQueryParameters(
|
||||||
`${this.#client.backendUrl}/v1/auth/signin/provider/${provider}`,
|
`${this.#client.backendUrl}/signin/provider/${provider}`,
|
||||||
rewriteRedirectTo(this.#client.clientUrl, options)
|
rewriteRedirectTo(this.#client.clientUrl, options)
|
||||||
)
|
)
|
||||||
if (isBrowser()) {
|
if (isBrowser()) {
|
||||||
|
|||||||
@@ -1,6 +1,13 @@
|
|||||||
# @nhost/nextjs
|
# @nhost/nextjs
|
||||||
|
|
||||||
## 1.0.6
|
## 1.0.9
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- @nhost/nhost-js@1.0.8
|
||||||
|
- @nhost/react@0.4.7
|
||||||
|
|
||||||
|
## 1.0.8
|
||||||
|
|
||||||
### Patch Changes
|
### Patch Changes
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@nhost/nextjs",
|
"name": "@nhost/nextjs",
|
||||||
"version": "1.0.6",
|
"version": "1.0.9",
|
||||||
"description": "Nhost NextJS library",
|
"description": "Nhost NextJS library",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
|
|||||||
@@ -1,6 +1,13 @@
|
|||||||
# @nhost/nhost-js
|
# @nhost/nhost-js
|
||||||
|
|
||||||
## 1.0.5
|
## 1.0.8
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- Updated dependencies [6be3758]
|
||||||
|
- @nhost/hasura-auth-js@1.0.8
|
||||||
|
|
||||||
|
## 1.0.7
|
||||||
|
|
||||||
### Patch Changes
|
### Patch Changes
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@nhost/nhost-js",
|
"name": "@nhost/nhost-js",
|
||||||
"version": "1.0.5",
|
"version": "1.0.8",
|
||||||
"description": "Nhost JavaScript SDK",
|
"description": "Nhost JavaScript SDK",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
|
|||||||
@@ -1,6 +1,13 @@
|
|||||||
# @nhost/react-apollo
|
# @nhost/react-apollo
|
||||||
|
|
||||||
## 4.0.6
|
## 4.0.9
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- @nhost/react@0.4.7
|
||||||
|
- @nhost/apollo@0.3.6
|
||||||
|
|
||||||
|
## 4.0.8
|
||||||
|
|
||||||
### Patch Changes
|
### Patch Changes
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@nhost/react-apollo",
|
"name": "@nhost/react-apollo",
|
||||||
"version": "4.0.6",
|
"version": "4.0.9",
|
||||||
"description": "Nhost React Apollo client",
|
"description": "Nhost React Apollo client",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
|
|||||||
@@ -1,6 +1,12 @@
|
|||||||
# @nhost/react
|
# @nhost/react
|
||||||
|
|
||||||
## 0.4.4
|
## 0.4.7
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- @nhost/nhost-js@1.0.8
|
||||||
|
|
||||||
|
## 0.4.6
|
||||||
|
|
||||||
### Patch Changes
|
### Patch Changes
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@nhost/react",
|
"name": "@nhost/react",
|
||||||
"version": "0.4.4",
|
"version": "0.4.7",
|
||||||
"description": "Nhost React library",
|
"description": "Nhost React library",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
|
|||||||
Reference in New Issue
Block a user