Compare commits
14 Commits
@nhost/rea
...
@nhost/rea
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ce1ea16981 | ||
|
|
7048eaf0bb | ||
|
|
9c382a3773 | ||
|
|
7f07c75dc4 | ||
|
|
ebad09364e | ||
|
|
cbec4dbab6 | ||
|
|
bcf2751625 | ||
|
|
f7ddafdf05 | ||
|
|
f86b707d34 | ||
|
|
d281665424 | ||
|
|
24659b2979 | ||
|
|
ef8c8f9cd4 | ||
|
|
bc526e70ef | ||
|
|
c1c7ceb319 |
@@ -59,7 +59,6 @@ module.exports = {
|
||||
allowArrowFunction: true,
|
||||
allowAnonymousFunction: true
|
||||
}
|
||||
],
|
||||
'import/extensions': ['error', { js: 'always' }]
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
const base = require('./.eslint.base.js')
|
||||
const base = require('./.eslint.base')
|
||||
module.exports = {
|
||||
...base,
|
||||
extends: ['react-app', 'plugin:react/recommended', 'plugin:react-hooks/recommended'],
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
const base = require('./.eslint.base.js')
|
||||
const base = require('./.eslint.base')
|
||||
module.exports = {
|
||||
...base,
|
||||
extends: ['plugin:import/recommended', 'plugin:import/typescript'],
|
||||
|
||||
@@ -13,23 +13,6 @@ const entry = fs.existsSync(tsEntry) ? tsEntry : tsEntry.replace('.ts', '.tsx')
|
||||
|
||||
const deps = [...Object.keys(Object.assign({}, pkg.peerDependencies, pkg.dependencies))]
|
||||
|
||||
function createModuleJsAndMapAfterBuild() {
|
||||
return {
|
||||
closeBundle() {
|
||||
if (
|
||||
fs.existsSync(path.join(PWD, 'dist/index.esm.js')) &&
|
||||
fs.existsSync(path.join(PWD, 'dist/index.esm.js.map'))
|
||||
) {
|
||||
fs.copyFileSync(path.join(PWD, 'dist/index.esm.js'), path.join(PWD, 'dist/index.esm.mjs'))
|
||||
fs.copyFileSync(
|
||||
path.join(PWD, 'dist/index.esm.js.map'),
|
||||
path.join(PWD, 'dist/index.esm.mjs.map')
|
||||
)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
export default defineConfig({
|
||||
plugins: [
|
||||
tsconfigPaths(),
|
||||
@@ -42,8 +25,7 @@ export default defineConfig({
|
||||
})
|
||||
fs.rmdirSync(path.join(PWD, 'dist/src'))
|
||||
}
|
||||
}),
|
||||
createModuleJsAndMapAfterBuild()
|
||||
})
|
||||
],
|
||||
test: {
|
||||
globals: true,
|
||||
@@ -68,10 +50,11 @@ export default defineConfig({
|
||||
globals: {
|
||||
graphql: 'graphql',
|
||||
'@apollo/client': '@apollo/client',
|
||||
'@apollo/client/core/index.js': '@apollo/client/core',
|
||||
'@apollo/client/link/context/index.js': '@apollo/client/link/context',
|
||||
'@apollo/client/link/subscriptions/index.js': '@apollo/client/link/subscriptions',
|
||||
'@apollo/client/utilities/index.js': '@apollo/client/utilities',
|
||||
'@apollo/client/core': '@apollo/client/core',
|
||||
'@apollo/client/link/context': '@apollo/client/link/context',
|
||||
'@apollo/client/react': '@apollo/client/react',
|
||||
'@apollo/client/link/subscriptions': '@apollo/client/link/subscriptions',
|
||||
'@apollo/client/utilities': '@apollo/client/utilities',
|
||||
'graphql-ws': 'graphql-ws',
|
||||
xstate: 'xstate',
|
||||
axios: 'axios',
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { defineConfig } from 'vite'
|
||||
|
||||
import viteLibConfig from './vite.lib.config.js'
|
||||
import viteLibConfig from './vite.lib.config'
|
||||
|
||||
export default defineConfig({
|
||||
...viteLibConfig,
|
||||
|
||||
@@ -3,7 +3,7 @@ import path from 'path'
|
||||
import { defineConfig } from 'vite'
|
||||
import tsconfigPaths from 'vite-tsconfig-paths'
|
||||
|
||||
import baseLibConfig from './vite.lib.config.js'
|
||||
import baseLibConfig from './vite.lib.config'
|
||||
|
||||
const PWD = process.env.PWD
|
||||
const pkg = require(path.join(PWD, 'package.json'))
|
||||
|
||||
@@ -2,7 +2,7 @@ import { defineConfig } from 'vite'
|
||||
|
||||
import react from '@vitejs/plugin-react'
|
||||
|
||||
import baseLibConfig from './vite.lib.config.js'
|
||||
import baseLibConfig from './vite.lib.config'
|
||||
|
||||
export default defineConfig({
|
||||
...baseLibConfig,
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { defineConfig } from 'vite'
|
||||
|
||||
import viteReactConfig from './vite.react.config.js'
|
||||
import viteReactConfig from './vite.react.config'
|
||||
|
||||
export default defineConfig({
|
||||
...viteReactConfig,
|
||||
|
||||
@@ -5,7 +5,7 @@ import tsconfigPaths from 'vite-tsconfig-paths'
|
||||
|
||||
import react from '@vitejs/plugin-react'
|
||||
|
||||
import baseLibConfig from './vite.lib.config.js'
|
||||
import baseLibConfig from './vite.lib.config'
|
||||
|
||||
const PWD = process.env.PWD
|
||||
const pkg = require(path.join(PWD, 'package.json'))
|
||||
|
||||
@@ -2,7 +2,7 @@ import { defineConfig } from 'vite'
|
||||
|
||||
import vue from '@vitejs/plugin-vue'
|
||||
|
||||
import baseLibConfig from './vite.lib.config.js'
|
||||
import baseLibConfig from './vite.lib.config'
|
||||
|
||||
export default defineConfig({
|
||||
...baseLibConfig,
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { defineConfig } from 'vite'
|
||||
|
||||
import viteVueConfig from './vite.vue.config.js'
|
||||
import viteVueConfig from './vite.vue.config'
|
||||
|
||||
export default defineConfig({
|
||||
...viteVueConfig,
|
||||
|
||||
@@ -5,7 +5,7 @@ import tsconfigPaths from 'vite-tsconfig-paths'
|
||||
|
||||
import vue from '@vitejs/plugin-vue'
|
||||
|
||||
import baseLibConfig from './vite.lib.config.js'
|
||||
import baseLibConfig from './vite.lib.config'
|
||||
|
||||
const PWD = process.env.PWD
|
||||
const pkg = require(path.join(PWD, 'package.json'))
|
||||
|
||||
@@ -673,7 +673,8 @@ export function UserProvider({ children = null }) {
|
||||
const id = useUserId()
|
||||
// highlight-start
|
||||
const { loading, error, data } = useQuery(GET_USER_QUERY, {
|
||||
variables: { id }
|
||||
variables: { id },
|
||||
skip: !id
|
||||
})
|
||||
const user = data?.user
|
||||
// highlight-end
|
||||
|
||||
@@ -1090,7 +1090,8 @@ export function UserProvider({ children = null }) {
|
||||
const { userMetadata } = useAuth()
|
||||
|
||||
const { loading, error, data } = useQuery(GET_USER_QUERY, {
|
||||
variables: { id: userMetadata?.id }
|
||||
variables: { id: userMetadata?.id },
|
||||
skip: !userMetadata?.id
|
||||
})
|
||||
const user = data?.user
|
||||
|
||||
|
||||
@@ -5,7 +5,6 @@ module.exports = {
|
||||
'plugin:@next/next/recommended'
|
||||
],
|
||||
rules: {
|
||||
'react/react-in-jsx-scope': 'off',
|
||||
'import/extensions': 'off'
|
||||
'react/react-in-jsx-scope': 'off'
|
||||
}
|
||||
}
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
<script lang="ts">
|
||||
import { computed, defineComponent } from 'vue'
|
||||
|
||||
import { gql } from '@apollo/client/core/index.js'
|
||||
import { gql } from '@apollo/client/core'
|
||||
import { useAuthenticated } from '@nhost/vue'
|
||||
import { useQuery } from '@vue/apollo-composable'
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<script setup lang="ts">
|
||||
import { gql } from '@apollo/client/core/index.js'
|
||||
import { gql } from '@apollo/client/core'
|
||||
import { useNhostClient, useUserId } from '@nhost/vue'
|
||||
import { useMutation, useSubscription } from '@vue/apollo-composable'
|
||||
import { computed, ref } from 'vue'
|
||||
|
||||
@@ -1,5 +1,13 @@
|
||||
# @nhost/apollo
|
||||
|
||||
## 0.5.12
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- ebad0936: reverted ESM related changes
|
||||
- Updated dependencies [ebad0936]
|
||||
- @nhost/nhost-js@1.2.3
|
||||
|
||||
## 0.5.11
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@nhost/apollo",
|
||||
"version": "0.5.11",
|
||||
"version": "0.5.12",
|
||||
"description": "Nhost Apollo Client library",
|
||||
"license": "MIT",
|
||||
"keywords": [
|
||||
@@ -22,7 +22,7 @@
|
||||
"url": "https://github.com/nhost/nhost.git"
|
||||
},
|
||||
"main": "dist/index.cjs.js",
|
||||
"module": "dist/index.esm.mjs",
|
||||
"module": "dist/index.esm.js",
|
||||
"types": "dist/index.d.ts",
|
||||
"source": "src/index.ts",
|
||||
"files": [
|
||||
@@ -32,11 +32,8 @@
|
||||
],
|
||||
"exports": {
|
||||
".": {
|
||||
"node": {
|
||||
"import": "./dist/index.esm.mjs",
|
||||
"require": "./dist/index.cjs.js"
|
||||
},
|
||||
"default": "./dist/index.esm.js"
|
||||
"import": "./dist/index.esm.js",
|
||||
"require": "./dist/index.cjs.js"
|
||||
}
|
||||
},
|
||||
"publishConfig": {
|
||||
|
||||
@@ -7,10 +7,10 @@ import {
|
||||
RequestHandler,
|
||||
split,
|
||||
WatchQueryFetchPolicy
|
||||
} from '@apollo/client/core/index.js'
|
||||
import { setContext } from '@apollo/client/link/context/index.js'
|
||||
import { GraphQLWsLink } from '@apollo/client/link/subscriptions/index.js'
|
||||
import { getMainDefinition } from '@apollo/client/utilities/index.js'
|
||||
} from '@apollo/client/core'
|
||||
import { setContext } from '@apollo/client/link/context'
|
||||
import { GraphQLWsLink } from '@apollo/client/link/subscriptions'
|
||||
import { getMainDefinition } from '@apollo/client/utilities'
|
||||
import { NhostClient } from '@nhost/nhost-js'
|
||||
|
||||
import { createRestartableClient } from './ws'
|
||||
|
||||
@@ -1,5 +1,11 @@
|
||||
# @nhost/core
|
||||
|
||||
## 0.6.4
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- ebad0936: reverted ESM related changes
|
||||
|
||||
## 0.6.3
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@nhost/core",
|
||||
"version": "0.6.3",
|
||||
"version": "0.6.4",
|
||||
"description": "Nhost core client library",
|
||||
"license": "MIT",
|
||||
"keywords": [
|
||||
@@ -21,7 +21,7 @@
|
||||
"url": "https://github.com/nhost/nhost.git"
|
||||
},
|
||||
"main": "dist/index.cjs.js",
|
||||
"module": "dist/index.esm.mjs",
|
||||
"module": "dist/index.esm.js",
|
||||
"types": "dist/index.d.ts",
|
||||
"source": "src/index.ts",
|
||||
"files": [
|
||||
@@ -31,11 +31,8 @@
|
||||
],
|
||||
"exports": {
|
||||
".": {
|
||||
"node": {
|
||||
"import": "./dist/index.esm.mjs",
|
||||
"require": "./dist/index.cjs.js"
|
||||
},
|
||||
"default": "./dist/index.esm.js"
|
||||
"import": "./dist/index.esm.js",
|
||||
"require": "./dist/index.cjs.js"
|
||||
}
|
||||
},
|
||||
"publishConfig": {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import faker from '@faker-js/faker'
|
||||
import { interpret } from 'xstate'
|
||||
import { waitFor } from 'xstate/lib/waitFor.js'
|
||||
import { waitFor } from 'xstate/lib/waitFor'
|
||||
import { AuthClient } from '../src/client'
|
||||
import { INVALID_EMAIL_ERROR } from '../src/errors'
|
||||
import { createAuthMachine, createChangeEmailMachine } from '../src/machines'
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import faker from '@faker-js/faker'
|
||||
import { interpret } from 'xstate'
|
||||
import { waitFor } from 'xstate/lib/waitFor.js'
|
||||
import { waitFor } from 'xstate/lib/waitFor'
|
||||
import { AuthClient } from '../src/client'
|
||||
import { INVALID_PASSWORD_ERROR } from '../src/errors'
|
||||
import { createAuthMachine, createChangePasswordMachine } from '../src/machines'
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import faker from '@faker-js/faker'
|
||||
import { afterAll, afterEach, beforeAll, expect, test } from 'vitest'
|
||||
import { interpret } from 'xstate'
|
||||
import { waitFor } from 'xstate/lib/waitFor.js'
|
||||
import { waitFor } from 'xstate/lib/waitFor'
|
||||
import { AuthClient } from '../src/client'
|
||||
import { INVALID_MFA_CODE_ERROR, INVALID_MFA_TYPE_ERROR } from '../src/errors'
|
||||
import { createAuthMachine, createEnableMfaMachine } from '../src/machines'
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import faker from '@faker-js/faker'
|
||||
import { afterAll, afterEach, beforeAll, expect, test } from 'vitest'
|
||||
import { interpret } from 'xstate'
|
||||
import { waitFor } from 'xstate/lib/waitFor.js'
|
||||
import { waitFor } from 'xstate/lib/waitFor'
|
||||
import { createAuthMachine } from '../src/machines'
|
||||
import { Typegen0 } from '../src/machines/index.typegen'
|
||||
import { BASE_URL } from './helpers/config'
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import faker from '@faker-js/faker'
|
||||
import { interpret } from 'xstate'
|
||||
import { waitFor } from 'xstate/lib/waitFor.js'
|
||||
import { waitFor } from 'xstate/lib/waitFor'
|
||||
import { INVALID_EMAIL_ERROR, INVALID_PASSWORD_ERROR } from '../src/errors'
|
||||
import { createAuthMachine } from '../src/machines'
|
||||
import { Typegen0 } from '../src/machines/index.typegen'
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import faker from '@faker-js/faker'
|
||||
import { interpret } from 'xstate'
|
||||
import { waitFor } from 'xstate/lib/waitFor.js'
|
||||
import { waitFor } from 'xstate/lib/waitFor'
|
||||
import { INVALID_EMAIL_ERROR } from '../src/errors'
|
||||
import { createAuthMachine } from '../src/machines'
|
||||
import { Typegen0 } from '../src/machines/index.typegen'
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import faker from '@faker-js/faker'
|
||||
import { interpret } from 'xstate'
|
||||
import { waitFor } from 'xstate/lib/waitFor.js'
|
||||
import { waitFor } from 'xstate/lib/waitFor'
|
||||
import { INVALID_PHONE_NUMBER_ERROR } from '../src/errors'
|
||||
import { createAuthMachine } from '../src/machines'
|
||||
import { Typegen0 } from '../src/machines/index.typegen'
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import faker from '@faker-js/faker'
|
||||
import { afterAll, afterEach, beforeAll, beforeEach, describe, test, vi } from 'vitest'
|
||||
import { BaseActionObject, interpret, Interpreter, ResolveTypegenMeta, ServiceMap } from 'xstate'
|
||||
import { waitFor } from 'xstate/lib/waitFor.js'
|
||||
import { waitFor } from 'xstate/lib/waitFor'
|
||||
import {
|
||||
NHOST_JWT_EXPIRES_AT_KEY,
|
||||
NHOST_REFRESH_TOKEN_KEY,
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import faker from '@faker-js/faker'
|
||||
import { interpret } from 'xstate'
|
||||
import { waitFor } from 'xstate/lib/waitFor.js'
|
||||
import { waitFor } from 'xstate/lib/waitFor'
|
||||
import { AuthClient } from '../src/client'
|
||||
import { INVALID_EMAIL_ERROR } from '../src/errors'
|
||||
import { createResetPasswordMachine } from '../src/machines'
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import faker from '@faker-js/faker'
|
||||
import { interpret } from 'xstate'
|
||||
import { waitFor } from 'xstate/lib/waitFor.js'
|
||||
import { waitFor } from 'xstate/lib/waitFor'
|
||||
import { AuthClient } from '../src/client'
|
||||
import { INVALID_EMAIL_ERROR } from '../src/errors'
|
||||
import { createSendVerificationEmailMachine } from '../src/machines'
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import faker from '@faker-js/faker'
|
||||
import { interpret } from 'xstate'
|
||||
import { waitFor } from 'xstate/lib/waitFor.js'
|
||||
import { waitFor } from 'xstate/lib/waitFor'
|
||||
import { NHOST_REFRESH_TOKEN_KEY } from '../src/constants'
|
||||
import { createAuthMachine } from '../src/machines'
|
||||
import { Typegen0 } from '../src/machines/index.typegen'
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import faker from '@faker-js/faker'
|
||||
import { interpret } from 'xstate'
|
||||
import { waitFor } from 'xstate/lib/waitFor.js'
|
||||
import { waitFor } from 'xstate/lib/waitFor'
|
||||
import { INVALID_EMAIL_ERROR, INVALID_PASSWORD_ERROR } from '../src/errors'
|
||||
import { createAuthMachine } from '../src/machines'
|
||||
import { Typegen0 } from '../src/machines/index.typegen'
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import faker from '@faker-js/faker'
|
||||
import { interpret } from 'xstate'
|
||||
import { waitFor } from 'xstate/lib/waitFor.js'
|
||||
import { waitFor } from 'xstate/lib/waitFor'
|
||||
import { INVALID_PHONE_NUMBER_ERROR } from '../src/errors'
|
||||
import { createAuthMachine } from '../src/machines'
|
||||
import { Typegen0 } from '../src/machines/index.typegen'
|
||||
|
||||
@@ -1,5 +1,11 @@
|
||||
# @nhost/docgen
|
||||
|
||||
## 0.1.2
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- ebad0936: reverted ESM related changes
|
||||
|
||||
## 0.1.1
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
"name": "@nhost/docgen",
|
||||
"description": "Documentation generator for classes and functions",
|
||||
"private": true,
|
||||
"version": "0.1.1",
|
||||
"version": "0.1.2",
|
||||
"license": "MIT",
|
||||
"main": "dist/index.cjs.js",
|
||||
"types": "dist/index.d.ts",
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
#!/usr/bin/env node
|
||||
// eslint-disable-next-line import/extensions
|
||||
import { snapshot } from 'valtio/vanilla'
|
||||
|
||||
import { getModuleContentMap } from './helpers'
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
// eslint-disable-next-line import/extensions
|
||||
import { proxyWithComputed } from 'valtio/utils'
|
||||
|
||||
export type AppState = {
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
import { format } from 'prettier'
|
||||
// eslint-disable-next-line import/extensions
|
||||
import { snapshot } from 'valtio/vanilla'
|
||||
|
||||
import {
|
||||
|
||||
@@ -1,5 +1,13 @@
|
||||
# @nhost/hasura-auth-js
|
||||
|
||||
## 1.1.13
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- ebad0936: reverted ESM related changes
|
||||
- Updated dependencies [ebad0936]
|
||||
- @nhost/core@0.6.4
|
||||
|
||||
## 1.1.12
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@nhost/hasura-auth-js",
|
||||
"version": "1.1.12",
|
||||
"version": "1.1.13",
|
||||
"description": "Hasura-auth client",
|
||||
"license": "MIT",
|
||||
"keywords": [
|
||||
@@ -20,7 +20,7 @@
|
||||
"url": "https://github.com/nhost/nhost.git"
|
||||
},
|
||||
"main": "dist/index.cjs.js",
|
||||
"module": "dist/index.esm.mjs",
|
||||
"module": "dist/index.esm.js",
|
||||
"types": "dist/index.d.ts",
|
||||
"source": "src/index.ts",
|
||||
"files": [
|
||||
@@ -30,11 +30,8 @@
|
||||
],
|
||||
"exports": {
|
||||
".": {
|
||||
"node": {
|
||||
"import": "./dist/index.esm.mjs",
|
||||
"require": "./dist/index.cjs.js"
|
||||
},
|
||||
"default": "./dist/index.esm.js"
|
||||
"import": "./dist/index.esm.js",
|
||||
"require": "./dist/index.cjs.js"
|
||||
}
|
||||
},
|
||||
"publishConfig": {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { defineConfig } from 'vite'
|
||||
|
||||
import baseConfig from '../../config/vite.lib.config.js'
|
||||
import baseConfig from '../../config/vite.lib.config'
|
||||
|
||||
export default defineConfig({
|
||||
...baseConfig,
|
||||
|
||||
@@ -1,5 +1,11 @@
|
||||
# @nhost/hasura-storage-js
|
||||
|
||||
## 0.3.3
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- ebad0936: reverted ESM related changes
|
||||
|
||||
## 0.3.2
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@nhost/hasura-storage-js",
|
||||
"version": "0.3.2",
|
||||
"version": "0.3.3",
|
||||
"description": "Hasura-storage client",
|
||||
"license": "MIT",
|
||||
"keywords": [
|
||||
@@ -18,7 +18,7 @@
|
||||
"url": "https://github.com/nhost/hasura-storage-js.git"
|
||||
},
|
||||
"main": "dist/index.cjs.js",
|
||||
"module": "dist/index.esm.mjs",
|
||||
"module": "dist/index.esm.js",
|
||||
"types": "dist/index.d.ts",
|
||||
"source": "src/index.ts",
|
||||
"files": [
|
||||
@@ -28,11 +28,8 @@
|
||||
],
|
||||
"exports": {
|
||||
".": {
|
||||
"node": {
|
||||
"import": "./dist/index.esm.mjs",
|
||||
"require": "./dist/index.cjs.js"
|
||||
},
|
||||
"default": "./dist/index.esm.js"
|
||||
"import": "./dist/index.esm.js",
|
||||
"require": "./dist/index.cjs.js"
|
||||
}
|
||||
},
|
||||
"publishConfig": {
|
||||
|
||||
@@ -1,5 +1,15 @@
|
||||
# @nhost/nextjs
|
||||
|
||||
## 1.2.12
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- ebad0936: reverted ESM related changes
|
||||
- Updated dependencies [ebad0936]
|
||||
- @nhost/core@0.6.4
|
||||
- @nhost/nhost-js@1.2.3
|
||||
- @nhost/react@0.7.12
|
||||
|
||||
## 1.2.11
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@nhost/nextjs",
|
||||
"version": "1.2.11",
|
||||
"version": "1.2.12",
|
||||
"description": "Nhost NextJS library",
|
||||
"license": "MIT",
|
||||
"keywords": [
|
||||
@@ -24,7 +24,7 @@
|
||||
"url": "https://github.com/nhost/nhost.git"
|
||||
},
|
||||
"main": "dist/index.cjs.js",
|
||||
"module": "dist/index.esm.mjs",
|
||||
"module": "dist/index.esm.js",
|
||||
"types": "dist/index.d.ts",
|
||||
"source": "src/index.ts",
|
||||
"files": [
|
||||
@@ -34,11 +34,8 @@
|
||||
],
|
||||
"exports": {
|
||||
".": {
|
||||
"node": {
|
||||
"import": "./dist/index.esm.mjs",
|
||||
"require": "./dist/index.cjs.js"
|
||||
},
|
||||
"default": "./dist/index.esm.js"
|
||||
"import": "./dist/index.esm.js",
|
||||
"require": "./dist/index.cjs.js"
|
||||
}
|
||||
},
|
||||
"publishConfig": {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import Cookies from 'cookies'
|
||||
import { GetServerSidePropsContext } from 'next'
|
||||
import { StateFrom } from 'xstate'
|
||||
import { waitFor } from 'xstate/lib/waitFor.js'
|
||||
import { waitFor } from 'xstate/lib/waitFor'
|
||||
|
||||
import { AuthMachine, NHOST_REFRESH_TOKEN_KEY } from '@nhost/core'
|
||||
import { NhostClient } from '@nhost/nhost-js'
|
||||
|
||||
@@ -1,5 +1,14 @@
|
||||
# @nhost/nhost-js
|
||||
|
||||
## 1.2.3
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- ebad0936: reverted ESM related changes
|
||||
- Updated dependencies [ebad0936]
|
||||
- @nhost/hasura-auth-js@1.1.13
|
||||
- @nhost/hasura-storage-js@0.3.3
|
||||
|
||||
## 1.2.2
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@nhost/nhost-js",
|
||||
"version": "1.2.2",
|
||||
"version": "1.2.3",
|
||||
"description": "Nhost JavaScript SDK",
|
||||
"license": "MIT",
|
||||
"keywords": [
|
||||
@@ -21,7 +21,7 @@
|
||||
"url": "git+https://github.com/nhost/nhost.git"
|
||||
},
|
||||
"main": "dist/index.cjs.js",
|
||||
"module": "dist/index.esm.mjs",
|
||||
"module": "dist/index.esm.js",
|
||||
"types": "dist/index.d.ts",
|
||||
"source": "src/index.ts",
|
||||
"files": [
|
||||
@@ -31,11 +31,8 @@
|
||||
],
|
||||
"exports": {
|
||||
".": {
|
||||
"node": {
|
||||
"import": "./dist/index.esm.mjs",
|
||||
"require": "./dist/index.cjs.js"
|
||||
},
|
||||
"default": "./dist/index.esm.js"
|
||||
"import": "./dist/index.esm.js",
|
||||
"require": "./dist/index.cjs.js"
|
||||
}
|
||||
},
|
||||
"publishConfig": {
|
||||
|
||||
@@ -1,5 +1,20 @@
|
||||
# @nhost/react-apollo
|
||||
|
||||
## 4.2.14
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- ebad0936: reverted ESM related changes
|
||||
- Updated dependencies [ebad0936]
|
||||
- @nhost/apollo@0.5.12
|
||||
- @nhost/react@0.7.12
|
||||
|
||||
## 4.2.13
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- ef8c8f9c: fixed imports in `@nhost/react-apollo`
|
||||
|
||||
## 4.2.12
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@nhost/react-apollo",
|
||||
"version": "4.2.12",
|
||||
"version": "4.2.14",
|
||||
"description": "Nhost React Apollo client",
|
||||
"license": "MIT",
|
||||
"keywords": [
|
||||
@@ -23,7 +23,7 @@
|
||||
"url": "git+https://github.com/nhost/nhost.git"
|
||||
},
|
||||
"main": "dist/index.cjs.js",
|
||||
"module": "dist/index.esm.mjs",
|
||||
"module": "dist/index.esm.js",
|
||||
"types": "dist/index.d.ts",
|
||||
"source": "src/index.ts",
|
||||
"files": [
|
||||
@@ -33,11 +33,8 @@
|
||||
],
|
||||
"exports": {
|
||||
".": {
|
||||
"node": {
|
||||
"import": "./dist/index.esm.mjs",
|
||||
"require": "./dist/index.cjs.js"
|
||||
},
|
||||
"default": "./dist/index.esm.js"
|
||||
"import": "./dist/index.esm.js",
|
||||
"require": "./dist/index.cjs.js"
|
||||
}
|
||||
},
|
||||
"publishConfig": {
|
||||
|
||||
@@ -1,5 +1,14 @@
|
||||
# @nhost/react-auth
|
||||
|
||||
## 3.0.10
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- ebad0936: reverted ESM related changes
|
||||
- Updated dependencies [ebad0936]
|
||||
- @nhost/hasura-auth-js@1.1.13
|
||||
- @nhost/react@0.7.12
|
||||
|
||||
## 3.0.9
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@nhost/react-auth",
|
||||
"version": "3.0.9",
|
||||
"version": "3.0.10",
|
||||
"description": "Nhost React client",
|
||||
"license": "MIT",
|
||||
"keywords": [
|
||||
@@ -22,9 +22,9 @@
|
||||
"url": "git+https://github.com/nhost/nhost.git"
|
||||
},
|
||||
"main": "dist/index.cjs.js",
|
||||
"module": "dist/index.esm.mjs",
|
||||
"module": "dist/index.esm.js",
|
||||
"types": "dist/index.d.ts",
|
||||
"source": "src/index.tsx",
|
||||
"source": "src/index.ts",
|
||||
"files": [
|
||||
"dist",
|
||||
"umd",
|
||||
@@ -32,11 +32,8 @@
|
||||
],
|
||||
"exports": {
|
||||
".": {
|
||||
"node": {
|
||||
"import": "./dist/index.esm.mjs",
|
||||
"require": "./dist/index.cjs.js"
|
||||
},
|
||||
"default": "./dist/index.esm.js"
|
||||
"import": "./dist/index.esm.js",
|
||||
"require": "./dist/index.cjs.js"
|
||||
}
|
||||
},
|
||||
"publishConfig": {
|
||||
|
||||
@@ -1,5 +1,14 @@
|
||||
# @nhost/react
|
||||
|
||||
## 0.7.12
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- ebad0936: reverted ESM related changes
|
||||
- Updated dependencies [ebad0936]
|
||||
- @nhost/core@0.6.4
|
||||
- @nhost/nhost-js@1.2.3
|
||||
|
||||
## 0.7.11
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@nhost/react",
|
||||
"version": "0.7.11",
|
||||
"version": "0.7.12",
|
||||
"description": "Nhost React library",
|
||||
"license": "MIT",
|
||||
"keywords": [
|
||||
@@ -22,7 +22,7 @@
|
||||
"url": "https://github.com/nhost/nhost.git"
|
||||
},
|
||||
"main": "dist/index.cjs.js",
|
||||
"module": "dist/index.esm.mjs",
|
||||
"module": "dist/index.esm.js",
|
||||
"types": "dist/index.d.ts",
|
||||
"source": "src/index.ts",
|
||||
"files": [
|
||||
@@ -32,11 +32,8 @@
|
||||
],
|
||||
"exports": {
|
||||
".": {
|
||||
"node": {
|
||||
"import": "./dist/index.esm.mjs",
|
||||
"require": "./dist/index.cjs.js"
|
||||
},
|
||||
"default": "./dist/index.esm.js"
|
||||
"import": "./dist/index.esm.js",
|
||||
"require": "./dist/index.cjs.js"
|
||||
}
|
||||
},
|
||||
"publishConfig": {
|
||||
|
||||
@@ -1,5 +1,14 @@
|
||||
# @nhost/vue
|
||||
|
||||
## 0.1.5
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- ebad0936: reverted ESM related changes
|
||||
- Updated dependencies [ebad0936]
|
||||
- @nhost/core@0.6.4
|
||||
- @nhost/nhost-js@1.2.3
|
||||
|
||||
## 0.1.4
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@nhost/vue",
|
||||
"version": "0.1.4",
|
||||
"version": "0.1.5",
|
||||
"description": "Nhost Vue library",
|
||||
"license": "MIT",
|
||||
"keywords": [
|
||||
@@ -22,7 +22,7 @@
|
||||
"url": "https://github.com/nhost/nhost.git"
|
||||
},
|
||||
"main": "dist/index.cjs.js",
|
||||
"module": "dist/index.esm.mjs",
|
||||
"module": "dist/index.esm.js",
|
||||
"types": "dist/index.d.ts",
|
||||
"source": "src/index.ts",
|
||||
"files": [
|
||||
@@ -32,11 +32,8 @@
|
||||
],
|
||||
"exports": {
|
||||
".": {
|
||||
"node": {
|
||||
"import": "./dist/index.esm.mjs",
|
||||
"require": "./dist/index.cjs.js"
|
||||
},
|
||||
"default": "./dist/index.esm.js"
|
||||
"import": "./dist/index.esm.js",
|
||||
"require": "./dist/index.cjs.js"
|
||||
}
|
||||
},
|
||||
"publishConfig": {
|
||||
|
||||
Reference in New Issue
Block a user