Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: react bump #144

Merged
merged 11 commits into from
Sep 17, 2024
2,047 changes: 1,040 additions & 1,007 deletions .pnp.cjs

Large diffs are not rendered by default.

5 changes: 2 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,15 @@
"packages/**/*"
],
"resolutions": {
"@emotion/react": "11.9.3",
"eslint": "8.18.0"
"@emotion/react": "11.9.3"
},
"dependencies": {
"@emotion/react": "11.9.3",
"csstype": "3.1.2"
},
"devDependencies": {
"@atls/code-runtime": "1.1.0",
"@types/node": "17.0.12",
"@types/node": "22.1.0",
"@types/testing-library__jest-dom": "5.14.2",
"typescript": "5.4.2"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/api-auth-user/package.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{

Check failure on line 1 in packages/api-auth-user/package.json

View workflow job for this annotation

GitHub Actions / Release

Error release workspace @atls/react-api-auth-user

Exit code 1
Raw output
➤ YN0000: ┌ Library Build
::group::Library Build
➤ YN0000: │ .yarn/__virtual__/@atls-react-user-virtual-079e1c95a4/1/packages/user/src/with-u
➤ YN0000: │ ser-loading.component.tsx:5:34
➤ YN0000: │ 
➤ YN0000: │ TS7031: Binding element 'children' implicitly has an 'any' type.
➤ YN0000: │ 
➤ YN0000: │   3 | import { Context }    from './user.context'
➤ YN0000: │   4 |
➤ YN0000: │ > 5 | export const WithUserLoading = ({ children }) => {
➤ YN0000: │     |                                  ^
➤ YN0000: │   6 |   const user = useContext(Context)
➤ YN0000: │   7 |
➤ YN0000: │   8 |   if (typeof user !== 'undefined') {
➤ YN0000: │ 
➤ YN0000: │ 
➤ YN0000: │ .yarn/__virtual__/@atls-react-user-virtual-079e1c95a4/1/packages/user/src/with-u
➤ YN0000: │ ser.component.ts:5:27
➤ YN0000: │ 
➤ YN0000: │ TS7031: Binding element 'children' implicitly has an 'any' type.
➤ YN0000: │ 
➤ YN0000: │   3 | import { Context }    from './user.context'
➤ YN0000: │   4 |
➤ YN0000: │ > 5 | export const WithUser = ({ children }) => {
➤ YN0000: │     |                           ^
➤ YN0000: │   6 |   const user = useContext(Context)
➤ YN0000: │   7 |
➤ YN0000: │   8 |   if (!user) {
➤ YN0000: │ 
➤ YN0000: │ 
➤ YN0000: │ .yarn/__virtual__/@atls-react-user-virtual-079e1c95a4/1/packages/user/src/withou
➤ YN0000: │ t-user.component.ts:5:30
➤ YN0000: │ 
➤ YN0000: │ TS7031: Binding element 'children' implicitly has an 'any' type.
➤ YN0000: │ 
➤ YN0000: │   3 | import { Context }    from './user.context'
➤ YN0000: │   4 |
➤ YN0000: │ > 5 | export const WithoutUser = ({ children }) => {
➤ YN0000: │     |                              ^
➤ YN0000: │   6 |   const user = useContext(Context)
➤ YN0000: │   7 |
➤ YN0000: │   8 |   if (user) {
➤ YN0000: │ 
➤ YN0000: │ 
➤ YN0000: │ packages/api-auth-user/src/api-auth-user.provider.tsx:7:28
➤ YN0000: │ 
➤ YN0000: │ TS7006: Parameter 'url' implicitly has an 'any' type.
➤ YN0000: │ 
➤ YN0000: │    5 | import { UserProvider } from '@atls/react-user'
➤ YN0000: │    6 |
➤ YN0000: │ >  7 | const fetchSession = async (url) => {
➤ YN0000: │      |                            ^
➤ YN0000: │    8 |   const response = await fetch(url)
➤ YN0000: │    9 |   const text = await response.text()
➤ YN0000: │   10 |
➤ YN0000: │ 
➤ YN0000: │ 
➤ YN0000: │ packages/api-auth-user/src/api-auth-user.provider.tsx:14:65
➤ YN0000: │ 
➤ YN0000: │ TS7031: Binding element 'children' implicitly has an 'any' type.
➤ YN0000: │ 
➤ YN0000: │   12 | }
➤ YN0000: │   13 |
➤ YN0000: │ > 14 | export const ApiAuthUserProvider = ({ url = '/api/auth/session', children
➤ YN0000: │  }) => {
➤ YN0000: │      |                                                                 ^
➤ YN0000: │   15 |   const [session, setSession] = useState(null)
➤ YN0000: │   16 |
➤ YN0000: │   17 |   useEffect(() => {
➤ YN0000: │ 
➤ YN0000: │ 
::endgroup::
➤ YN0000: .yarn/__virtual__/@atls-react-user-virtual-079e1c95a4/1/packages/user/src/with-u
➤ YN0000: ser-loading.component.tsx:5:34
➤ YN0000: 
➤ YN0000: TS7031: Binding element 'children' implicitly has an 'any' type.
➤ YN0000: 
➤ YN0000:   3 | import { Context }    from './user.context'
➤ YN0000:   4 |
➤ YN0000: > 5 | export const WithUserLoading = ({ children }) => {
➤ YN0000:     |                                  ^
➤ YN0000:   6 |   const user = useContext(Context)
➤ YN0000:   7 |
➤ YN0000:   8 |   if (typeof user !== 'undefined') {
➤ YN0000: 
➤ YN0000: 
➤ YN0000: .yarn/__virtual__/@atls-react-user-virtual-079e1c95a4/1/packages/user/src/with-u
➤ YN0000: ser.component.ts:5:27
➤ YN0000: 
➤ YN0000: TS7031: Binding element 'children' implicitly has an 'any' type.
➤ YN0000: 
➤ YN0000:   3 | import { Context }    from './user.context'
➤ YN0000:   4 |
➤ YN0000: > 5 | export const WithUser = ({ children }) => {
➤ YN0000:     |                           ^
➤ YN0000:   6 |   const user = useContext(Context)
➤ YN0000:   7 |
➤ YN0000:   8 |   if (!user) {
➤ YN0000: 
➤ YN0000: 
➤ YN0000: .yarn/__virtual__/@atls-react-user-virtual-079e1c95a4/1/packages/user/src/withou
➤ YN0000: t-user.component.ts:5:30
➤ YN0000: 
➤ YN0000: TS7031: Binding element 'children' implicitly has an 'any' type.
➤ YN0000: 
➤ YN0000:   3 | import { Context }    from './user.context'
➤ YN0000:   4 |
➤ YN0000: > 5 | export const WithoutUser = ({ children }) => {
➤ YN0000:     |                              ^
➤ YN0000:   6 |   const user = useContext(Context)
➤ YN0000:   7 |
➤ YN0000:   8 |   if (user) {
➤ YN0000: 
➤ YN0000: 
➤ YN0000: packages/api-auth-user/src/api-auth-user.provider.tsx:7:28
➤ YN0000: 
➤ YN0000: TS7006: Parameter 'url' implicitly has an 'any' type.
➤ YN0000: 
➤ YN0000:    5 | import { UserProvider } from '@atls/react-user'
➤ YN0000:    6 |
➤ YN0000: >  7 | const fetchSession = async (url) => {
➤ YN0000:      |                            ^
➤ YN0000:    8 |   const response = await fetch(url)
➤ YN0000:    9 |   const text = await response.text()
➤ YN0000:   10 |
➤ YN0000: 
➤ YN0000: 
➤ YN0000: packages/api-auth-user/src/api-auth-user.provider.tsx:14:65
➤ YN0000: 
➤ YN0000: TS7031: Binding element 'children' implicitly has an 'any' type.
➤ YN0000: 
➤ YN0000:   12 | }
➤ YN0000:   13 |
➤ YN0000: > 14 | export const ApiAuthUserProvider = ({ url = '/api/auth/session', children
➤ YN0000:  }) => {
➤ YN0000:      |                                                                 ^
➤ YN0000:   15 |   const [session, setSession] = useState(null)
➤ YN0000:   16 |
➤ YN0000:   17 |   useEffect(() => {
➤ YN0000: 
➤ YN0000: 
➤ YN0000: └ Completed in 4s 430ms
➤ YN0000: Failed with errors in 4s 433ms
"name": "@atls/react-api-auth-user",
"version": "0.0.4",
"license": "BSD 3-Clause",
Expand All @@ -13,7 +13,7 @@
},
"devDependencies": {
"@atls/react-user": "workspace:0.1.44",
"@types/react": "18.2.20",
"@types/react": "18.3.6",
"react": "^18.2.0"
},
"peerDependencies": {
Expand Down
3 changes: 2 additions & 1 deletion packages/app-links/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,10 @@
"@testing-library/jest-dom": "^5.16.1",
"@testing-library/react": "^12.1.2",
"@testing-library/react-hooks": "^7.0.2",
"@types/react": "18.2.20",
"@types/react": "18.3.6",
"@types/react-dom": "18.2.7",
"@types/testing-library__jest-dom": "^5.14.2",
"@types/tldjs": "2.3.4",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/identity-links/package.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{

Check failure on line 1 in packages/identity-links/package.json

View workflow job for this annotation

GitHub Actions / Release

Error release workspace @atls/react-identity-links

Exit code 1
Raw output
➤ YN0000: ┌ Library Build
::group::Library Build
➤ YN0000: │ packages/identity-links/src/identity-link.component.test.tsx:15:30
➤ YN0000: │ 
➤ YN0000: │ TS7006: Parameter 'newLocation' implicitly has an 'any' type.
➤ YN0000: │ 
➤ YN0000: │   13 |   const originalLocation = window.location
➤ YN0000: │   14 |
➤ YN0000: │ > 15 |   const mockWindowLocation = (newLocation) => {
➤ YN0000: │      |                              ^
➤ YN0000: │   16 |     // @ts-ignore
➤ YN0000: │   17 |     delete window.location
➤ YN0000: │   18 |     window.location = newLocation
➤ YN0000: │ 
➤ YN0000: │ 
➤ YN0000: │ packages/identity-links/src/use-identity-url.hook.ts:2:36
➤ YN0000: │ 
➤ YN0000: │ TS701: Could not find a declaration file for module 'tldjs'.
➤ YN0000: │      '/home/runner/work/reactjs/reactjs/.yarn/unplugged/tldjs-npm-2.3.1-25e51f3b
➤ YN0000: │      87/node_modules/tldjs/index.js' implicitly has an 'any' type.
➤ YN0000: │        Try `npm i --save-dev @types/tldjs` if it exists or add a new declaration
➤ YN0000: │       (.d.ts) file containing `declare module 'tldjs';`
➤ YN0000: │ 
➤ YN0000: │   1 | import { useState }            from 'react'
➤ YN0000: │ > 2 | import { getDomain }           from 'tldjs'
➤ YN0000: │     |                                    ^
➤ YN0000: │   3 |
➤ YN0000: │   4 | import { UseIdentityUrlProps } from './identity-url.interfaces'
➤ YN0000: │   5 | import { useBrowserEffect }    from './use-browser-effect.hook'
➤ YN0000: │ 
➤ YN0000: │ 
::endgroup::
➤ YN0000: packages/identity-links/src/identity-link.component.test.tsx:15:30
➤ YN0000: 
➤ YN0000: TS7006: Parameter 'newLocation' implicitly has an 'any' type.
➤ YN0000: 
➤ YN0000:   13 |   const originalLocation = window.location
➤ YN0000:   14 |
➤ YN0000: > 15 |   const mockWindowLocation = (newLocation) => {
➤ YN0000:      |                              ^
➤ YN0000:   16 |     // @ts-ignore
➤ YN0000:   17 |     delete window.location
➤ YN0000:   18 |     window.location = newLocation
➤ YN0000: 
➤ YN0000: 
➤ YN0000: packages/identity-links/src/use-identity-url.hook.ts:2:36
➤ YN0000: 
➤ YN0000: TS701: Could not find a declaration file for module 'tldjs'.
➤ YN0000:      '/home/runner/work/reactjs/reactjs/.yarn/unplugged/tldjs-npm-2.3.1-25e51f3b
➤ YN0000:      87/node_modules/tldjs/index.js' implicitly has an 'any' type.
➤ YN0000:        Try `npm i --save-dev @types/tldjs` if it exists or add a new declaration
➤ YN0000:       (.d.ts) file containing `declare module 'tldjs';`
➤ YN0000: 
➤ YN0000:   1 | import { useState }            from 'react'
➤ YN0000: > 2 | import { getDomain }           from 'tldjs'
➤ YN0000:     |                                    ^
➤ YN0000:   3 |
➤ YN0000:   4 | import { UseIdentityUrlProps } from './identity-url.interfaces'
➤ YN0000:   5 | import { useBrowserEffect }    from './use-browser-effect.hook'
➤ YN0000: 
➤ YN0000: 
➤ YN0000: └ Completed in 4s 599ms
➤ YN0000: Failed with errors in 4s 602ms
"name": "@atls/react-identity-links",
"version": "0.0.3",
"license": "MIT",
Expand All @@ -18,7 +18,7 @@
"@testing-library/jest-dom": "^5.16.2",
"@testing-library/react": "^12.1.3",
"@testing-library/react-hooks": "^7.0.2",
"@types/react": "18.2.20",
"@types/react": "18.3.6",
"@types/react-dom": "^18.2.7",
"@types/testing-library__jest-dom": "^5.14.1",
"react": "^18.2.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/identity-user-provider/package.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{

Check failure on line 1 in packages/identity-user-provider/package.json

View workflow job for this annotation

GitHub Actions / Release

Error release workspace @atls/react-identity-user-provider

Exit code 1
Raw output
➤ YN0000: ┌ Library Build
::group::Library Build
➤ YN0000: │ .yarn/__virtual__/@atls-react-user-virtual-b2c8ef14f6/1/packages/user/src/with-u
➤ YN0000: │ ser-loading.component.tsx:5:34
➤ YN0000: │ 
➤ YN0000: │ TS7031: Binding element 'children' implicitly has an 'any' type.
➤ YN0000: │ 
➤ YN0000: │   3 | import { Context }    from './user.context'
➤ YN0000: │   4 |
➤ YN0000: │ > 5 | export const WithUserLoading = ({ children }) => {
➤ YN0000: │     |                                  ^
➤ YN0000: │   6 |   const user = useContext(Context)
➤ YN0000: │   7 |
➤ YN0000: │   8 |   if (typeof user !== 'undefined') {
➤ YN0000: │ 
➤ YN0000: │ 
➤ YN0000: │ .yarn/__virtual__/@atls-react-user-virtual-b2c8ef14f6/1/packages/user/src/with-u
➤ YN0000: │ ser.component.ts:5:27
➤ YN0000: │ 
➤ YN0000: │ TS7031: Binding element 'children' implicitly has an 'any' type.
➤ YN0000: │ 
➤ YN0000: │   3 | import { Context }    from './user.context'
➤ YN0000: │   4 |
➤ YN0000: │ > 5 | export const WithUser = ({ children }) => {
➤ YN0000: │     |                           ^
➤ YN0000: │   6 |   const user = useContext(Context)
➤ YN0000: │   7 |
➤ YN0000: │   8 |   if (!user) {
➤ YN0000: │ 
➤ YN0000: │ 
➤ YN0000: │ .yarn/__virtual__/@atls-react-user-virtual-b2c8ef14f6/1/packages/user/src/withou
➤ YN0000: │ t-user.component.ts:5:30
➤ YN0000: │ 
➤ YN0000: │ TS7031: Binding element 'children' implicitly has an 'any' type.
➤ YN0000: │ 
➤ YN0000: │   3 | import { Context }    from './user.context'
➤ YN0000: │   4 |
➤ YN0000: │ > 5 | export const WithoutUser = ({ children }) => {
➤ YN0000: │     |                              ^
➤ YN0000: │   6 |   const user = useContext(Context)
➤ YN0000: │   7 |
➤ YN0000: │   8 |   if (user) {
➤ YN0000: │ 
➤ YN0000: │ 
➤ YN0000: │ packages/identity-user-provider/src/identity-browser.user-provider.tsx:2:33
➤ YN0000: │ 
➤ YN0000: │ TS701: Could not find a declaration file for module 'tldjs'.
➤ YN0000: │      '/home/runner/work/reactjs/reactjs/.yarn/unplugged/tldjs-npm-2.3.1-25e51f3b
➤ YN0000: │      87/node_modules/tldjs/index.js' implicitly has an 'any' type.
➤ YN0000: │        Try `npm i --save-dev @types/tldjs` if it exists or add a new declaration
➤ YN0000: │       (.d.ts) file containing `declare module 'tldjs';`
➤ YN0000: │ 
➤ YN0000: │   1 | import { useState }         from 'react'
➤ YN0000: │ > 2 | import { getDomain }        from 'tldjs'
➤ YN0000: │     |                                 ^
➤ YN0000: │   3 | import React                from 'react'
➤ YN0000: │   4 |
➤ YN0000: │   5 | import { UserProvider }     from '@atls/react-user'
➤ YN0000: │ 
➤ YN0000: │ 
➤ YN0000: │ packages/identity-user-provider/src/identity-browser.user-provider.tsx:34:35
➤ YN0000: │ 
➤ YN0000: │ TS7006: Parameter 'url' implicitly has an 'any' type.
➤ YN0000: │ 
➤ YN0000: │   32 | }
➤ YN0000: │   33 |
➤ YN0000: │ > 34 | export const fetchSession = async (url) => {
➤ YN0000: │      |                                   ^
➤ YN0000: │   35 |   const response = await fetch(url, {
➤ YN0000: │   36 |     credentials: 'include',
➤ YN0000: │   37 |   })
➤ YN0000: │ 
➤ YN0000: │ 
➤ YN0000: │ packages/identity-user-provider/src/identity-browser.user-provider.tsx:52:84
➤ YN0000: │ 
➤ YN0000: │ TS7031: Binding element 'children' implicitly has an 'any' type.
➤ YN0000: │ 
➤ YN0000: │   50 | }
➤ YN0000: │   51 |
➤ YN0000: │ > 52 | export const IdentityBrowserUserProvider = ({ basePath =
➤ YN0000: │ locationExtractedBasePath, children }) => {
➤ YN0000: │      |
➤ YN0000: │           ^
➤ YN0000: │   53 |   const [session, setSession] = useState(undefined)
➤ YN0000: │   54 |
➤ YN0000: │   55 |   useBrowserEffect(() => {
➤ YN0000: │ 
➤ YN0000: │ 
::endgroup::
➤ YN0000: .yarn/__virtual__/@atls-react-user-virtual-b2c8ef14f6/1/packages/user/src/with-u
➤ YN0000: ser-loading.component.tsx:5:34
➤ YN0000: 
➤ YN0000: TS7031: Binding element 'children' implicitly has an 'any' type.
➤ YN0000: 
➤ YN0000:   3 | import { Context }    from './user.context'
➤ YN0000:   4 |
➤ YN0000: > 5 | export const WithUserLoading = ({ children }) => {
➤ YN0000:     |                                  ^
➤ YN0000:   6 |   const user = useContext(Context)
➤ YN0000:   7 |
➤ YN0000:   8 |   if (typeof user !== 'undefined') {
➤ YN0000: 
➤ YN0000: 
➤ YN0000: .yarn/__virtual__/@atls-react-user-virtual-b2c8ef14f6/1/packages/user/src/with-u
➤ YN0000: ser.component.ts:5:27
➤ YN0000: 
➤ YN0000: TS7031: Binding element 'children' implicitly has an 'any' type.
➤ YN0000: 
➤ YN0000:   3 | import { Context }    from './user.context'
➤ YN0000:   4 |
➤ YN0000: > 5 | export const WithUser = ({ children }) => {
➤ YN0000:     |                           ^
➤ YN0000:   6 |   const user = useContext(Context)
➤ YN0000:   7 |
➤ YN0000:   8 |   if (!user) {
➤ YN0000: 
➤ YN0000: 
➤ YN0000: .yarn/__virtual__/@atls-react-user-virtual-b2c8ef14f6/1/packages/user/src/withou
➤ YN0000: t-user.component.ts:5:30
➤ YN0000: 
➤ YN0000: TS7031: Binding element 'children' implicitly has an 'any' type.
➤ YN0000: 
➤ YN0000:   3 | import { Context }    from './user.context'
➤ YN0000:   4 |
➤ YN0000: > 5 | export const WithoutUser = ({ children }) => {
➤ YN0000:     |                              ^
➤ YN0000:   6 |   const user = useContext(Context)
➤ YN0000:   7 |
➤ YN0000:   8 |   if (user) {
➤ YN0000: 
➤ YN0000: 
➤ YN0000: packages/identity-user-provider/src/identity-browser.user-provider.tsx:2:33
➤ YN0000: 
➤ YN0000: TS701: Could not find a declaration file for module 'tldjs'.
➤ YN0000:      '/home/runner/work/reactjs/reactjs/.yarn/unplugged/tldjs-npm-2.3.1-25e51f3b
➤ YN0000:      87/node_modules/tldjs/index.js' implicitly has an 'any' type.
➤ YN0000:        Try `npm i --save-dev @types/tldjs` if it exists or add a new declaration
➤ YN0000:       (.d.ts) file containing `declare module 'tldjs';`
➤ YN0000: 
➤ YN0000:   1 | import { useState }         from 'react'
➤ YN0000: > 2 | import { getDomain }        from 'tldjs'
➤ YN0000:     |                                 ^
➤ YN0000:   3 | import React                from 'react'
➤ YN0000:   4 |
➤ YN0000:   5 | import { UserProvider }     from '@atls/react-user'
➤ YN0000: 
➤ YN0000: 
➤ YN0000: packages/identity-user-provider/src/identity-browser.user-provider.tsx:34:35
➤ YN0000: 
➤ YN0000: TS7006: Parameter 'url' implicitly has an 'any' type.
➤ YN0000: 
➤ YN0000:   32 | }
➤ YN0000:   33 |
➤ YN0000: > 34 | export const fetchSession = async (url) => {
➤ YN0000:      |                                   ^
➤ YN0000:   35 |   const response = await fetch(url, {
➤ YN0000:   36 |     credentials: 'include',
➤ YN0000:   37 |   })
➤ YN0000: 
➤ YN0000: 
➤ YN0000: packages/identity-user-provider/src/identity-browser.user-provider.tsx:52:84
➤ YN0000: 
➤ YN0000: TS7031: Binding element 'children' implicitly has an 'any' type.
➤ YN0000: 
➤ YN0000:   50 | }
➤ YN0000:   51 |
➤ YN0000: > 52 | export const IdentityBrowserUserProvider = ({ basePath =
➤ YN0000: locationExtractedBasePath, children }) => {
➤ YN0000:      |
➤ YN0000:           ^
➤ YN0000:   53 |   const [session, setSession] = useState(undefined)
➤ YN0000:   54 |
➤ YN0000:   55 |   useBrowserEffect(() => {
➤ YN0000: 
➤ YN0000: 
➤ YN0000: └ Completed in 4s 483ms
➤ YN0000: Failed with errors in 4s 488ms
"name": "@atls/react-identity-user-provider",
"version": "0.0.2",
"license": "BSD-3-Clause",
Expand All @@ -16,7 +16,7 @@
},
"devDependencies": {
"@atls/react-user": "workspace:0.1.44",
"@types/react": "18.2.20",
"@types/react": "18.3.6",
"react": "18.2.0"
},
"peerDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/kratos-browser-flows/package.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{

Check failure on line 1 in packages/kratos-browser-flows/package.json

View workflow job for this annotation

GitHub Actions / Release

Error release workspace @atls/react-kratos-browser-flows

Exit code 1
Raw output
➤ YN0000: ┌ Library Build
::group::Library Build
➤ YN0000: │ packages/kratos-browser-flows/src/flows/abstract.flow.ts:30:13
➤ YN0000: │ 
➤ YN0000: │ TS7006: Parameter 'loading' implicitly has an 'any' type.
➤ YN0000: │ 
➤ YN0000: │   28 |   }
➤ YN0000: │   29 |
➤ YN0000: │ > 30 |   setLoading(loading) {
➤ YN0000: │      |             ^
➤ YN0000: │   31 |     this.#loading = loading
➤ YN0000: │   32 |   }
➤ YN0000: │   33 |
➤ YN0000: │ 
➤ YN0000: │ 
➤ YN0000: │ packages/kratos-browser-flows/src/flows/abstract.flow.ts:38:11
➤ YN0000: │ 
➤ YN0000: │ TS7006: Parameter 'state' implicitly has an 'any' type.
➤ YN0000: │ 
➤ YN0000: │   36 |   }
➤ YN0000: │   37 |
➤ YN0000: │ > 38 |   setState(state) {
➤ YN0000: │      |           ^
➤ YN0000: │   39 |     this.#state = state
➤ YN0000: │   40 |   }
➤ YN0000: │   41 |
➤ YN0000: │ 
➤ YN0000: │ 
➤ YN0000: │ packages/kratos-browser-flows/src/flows/abstract.flow.ts:54:10
➤ YN0000: │ 
➤ YN0000: │ TS7006: Parameter 'name' implicitly has an 'any' type.
➤ YN0000: │ 
➤ YN0000: │   52 |   }
➤ YN0000: │   53 |
➤ YN0000: │ > 54 |   getNode(name) {
➤ YN0000: │      |          ^
➤ YN0000: │   55 |     return this.#state?.ui?.nodes?.find(
➤ YN0000: │   56 |       (node) => (node.attributes as UiNodeInputAttributes).name === name
➤ YN0000: │   57 |     )
➤ YN0000: │ 
➤ YN0000: │ 
➤ YN0000: │ packages/kratos-browser-flows/src/flows/abstract.flow.ts:60:11
➤ YN0000: │ 
➤ YN0000: │ TS7006: Parameter 'name' implicitly has an 'any' type.
➤ YN0000: │ 
➤ YN0000: │   58 |   }
➤ YN0000: │   59 |
➤ YN0000: │ > 60 |   getNodes(name) {
➤ YN0000: │      |           ^
➤ YN0000: │   61 |     return (
➤ YN0000: │   62 |       this.#state?.ui?.nodes?.filter(
➤ YN0000: │   63 |         (node) => (node.attributes as UiNodeInputAttributes).name ===
➤ YN0000: │ name
➤ YN0000: │ 
➤ YN0000: │ 
➤ YN0000: │ packages/kratos-browser-flows/src/flows/abstract.flow.ts:68:16
➤ YN0000: │ 
➤ YN0000: │ TS7006: Parameter 'group' implicitly has an 'any' type.
➤ YN0000: │ 
➤ YN0000: │   66 |   }
➤ YN0000: │   67 |
➤ YN0000: │ > 68 |   getNodesGroup(group) {
➤ YN0000: │      |                ^
➤ YN0000: │   69 |     return this.#state?.ui?.nodes?.filter((node) => node.group === group)
➤ YN0000: │  || []
➤ YN0000: │   70 |   }
➤ YN0000: │   71 |
➤ YN0000: │ 
➤ YN0000: │ 
➤ YN0000: │ packages/kratos-browser-flows/src/flows/abstract.flow.ts:72:11
➤ YN0000: │ 
➤ YN0000: │ TS7006: Parameter 'name' implicitly has an 'any' type.
➤ YN0000: │ 
➤ YN0000: │   70 |   }
➤ YN0000: │   71 |
➤ YN0000: │ > 72 |   getValue(name): string | any {
➤ YN0000: │      |           ^
➤ YN0000: │   73 |     return this.#values[name]
➤ YN0000: │   74 |   }
➤ YN0000: │   75 |
➤ YN0000: │ 
➤ YN0000: │ 
➤ YN0000: │ packages/kratos-browser-flows/src/flows/abstract.flow.ts:73:11
➤ YN0000: │ 
➤ YN0000: │ TS705: Element implicitly has an 'any' type because expression of type 'any'
➤ YN0000: │      can't be used to index type 'SubmitSelfServiceFlowBody'.
➤ YN0000: │ 
➤ YN0000: │   71 |
➤ YN0000: │   72 |   getValue(name): string | any {
➤ YN0000: │ > 73 |     return this.#values[name]
➤ YN0000: │      |           ^
➤ YN0000: │   74 |   }
➤ YN0000: │   75 |
➤ YN0000: │   76 |   getValues() {
➤ YN0000: │ 
➤ YN0000: │ 
➤ YN0000: │ packages/kratos-browser-flows/src/flows/abstract.flow.ts:81:4
➤ YN0000: │ 
➤ YN0000: │ TS705: Element implicitly has an 'any' type because expression of type 'string'
➤ YN0000: │      can't be used to index type 'SubmitSelfServiceFlowBody'.
➤ YN0000: │        No index signature with a parameter of type 'string' was found on type
➤ YN0000: │      'SubmitSelfServiceFlowBody'.
➤ YN0000: │ 
➤ YN0000: │   79 |
➤ YN0000: │   80 |   setValue(name: string, value: string) {
➤ YN0000: │ > 81 |     this.#values[name] = value
➤ YN0000: │      |    ^
➤ YN0000: │   82 |   }
➤ YN0000: │   83 |
➤ YN0000: │   84 |   protected setValues(state: State) {
➤ YN0000: │ 
➤ YN0000: │ 
➤ YN0000: │ packages/kratos-browser-flows/src/flows/abstract.flow.ts:86:11
➤ YN0000: │ 
➤ YN0000: │ TS705: Element implicitly has an 'any' type because expression of type 'string'
➤ YN0000: │      can't be used to index type 'SubmitSelfServiceFlowBody'.
➤ YN0000: │        No index signature with a parameter of type 'string' was found on type
➤ YN0000: │      'SubmitSelfServiceFlowBody'.
➤ YN0000: │ 
➤ YN0000: │   84 |   protected setValues(state: State) {
➤ YN0000: │   85 |     state?.ui?.nodes?.forEach(({ attributes }) => {
➤ YN0000: │ > 86 |       if (!this.#values[(attributes as UiNodeInputAttributes).name]) {
➤ YN0000: │      |           ^
➤ YN0000: │   87 |         this.#values[(attributes as UiNodeInputAttributes).name] =
➤ YN0000: │   88 |           (attributes as UiNodeInputAttributes).value || ''
➤ YN0000: │   89 |       }
➤ YN0000: │ 
➤ YN0000: │ 
➤ YN0000: │ packages/kratos-browser-flows/src/flows/abstract.flow.ts:87:8
➤ YN0000: │ 
➤ YN0000: │ TS705: Element implicitly has an 'any' type because expression of type 'string'
➤ YN0000: │      can't be used to index type 'SubmitSelfServiceFlowBody'.
➤ YN0000: │        No index signature with a parameter of type 'string' was found on type
➤ YN0000: │      'SubmitSelfServiceFlowBody'.
➤ YN0000: │ 
➤ YN0000: │   85 |     state?.ui?.nodes?.forEach(({ attributes }) => {
➤ YN0000: │   86 |       if (!this.#values[(attributes as UiNodeInputAttributes).name]) {
➤ YN0000: │ > 87 |         this.#values[(attributes as UiNodeInputAttributes).name] =
➤ YN0000: │      |        ^
➤ YN0000: │   88 |           (attributes as UiNodeInputAttributes).value || ''
➤ YN0000: │   89 |       }
➤ YN0000: │   90 |     })
➤ YN0000: │ 
➤ YN0000: │ 
➤ YN0000: │ packages/kratos-browser-flows/src/flows/abstract.flow.ts:97:11
➤ YN0000: │ 
➤ YN0000: │ TS701: 'load', which lacks return-type annotation, implicitly has an 'any'
➤ YN0000: │      return type.
➤ YN0000: │ 
➤ YN0000: │    95 |   }
➤ YN0000: │    96 |
➤ YN0000: │ >  97 |   abstract load()
➤ YN0000: │       |           ^
➤ YN0000: │    98 |
➤ YN0000: │    99 |   abstract submit(method?: string)
➤ YN0000: │   100 | }
➤ YN0000: │ 
➤ YN0000: │ 
➤ YN0000: │ packages/kratos-browser-flows/src/flows/abstract.flow.ts:99:11
➤ YN0000: │ 
➤ YN0000: │ TS701: 'submit', which lacks return-type annotation, implicitly has an 'any'
➤ YN0000: │      return type.
➤ YN0000: │ 
➤ YN0000: │    97 |   abstract load()
➤ YN0000: │    98 |
➤ YN0000: │ >  99 |   abstract submit(method?: string)
➤ YN0000: │       |           ^
➤ YN0000: │   100 | }
➤ YN0000: │   101 |
➤ YN0000: │ 
➤ YN0000: │ 
➤ YN0000: │ packages/kratos-browser-flows/src/flows/flow.interfaces.ts
➤ YN0000: │ 
➤ YN0000: │ TS701: 'setLoading', which lacks return-type annotation, implicitly has an 'any'
➤ YN0000: │       return type.
➤ YN0000: │ 
➤ YN0000: │ 
➤ YN0000: │ packages/kratos-browser-flows/src/flows/flow.interfaces.ts
➤ YN0000: │ 
➤ YN0000: │ TS701: 'isLoading', which lacks return-type annotation, implicitly has an 'any'
➤ YN0000: │      return type.
➤ YN0000: │ 
➤ YN0000: │ 
➤ YN0000: │ packages/kratos-browser-flows/src/flows/flow.interfaces.ts
➤ YN0000: │ 
➤ YN0000: │ TS701: 'setState', which lacks return-type annotation, implicitly has an 'any'
➤ YN0000: │      return type.
➤ YN0000: │ 
➤ YN0000: │ 
➤ YN0000: │ packages/kratos-browser-flows/src/flows/flow.interfaces.ts
➤ YN0000: │ 
➤ YN0000: │ TS701: 'hasState', which lacks return-type annotation, implicitly has an 'any'
➤ YN0000: │      return type.
➤ YN0000: │ 
➤ YN0000: │ 
➤ YN0000: │ packages/kratos-browser-flows/src/flows/flow.interfaces.ts
➤ YN0000: │ 
➤ YN0000: │ TS7006: Parameter 'name' implicitly has an 'any' type.
➤ YN0000: │ 
➤ YN0000: │ 
➤ YN0000: │ packages/kratos-browser-flows/src/flows/flow.interfaces.ts
➤ YN0000: │ 
➤ YN0000: │ TS701: 'setValue', which lacks return-type annotation, implicitly has an 'any'
➤ YN0000: │      return type.
➤ YN0000: │ 
➤ YN0000: │ 
➤ YN0000: │ packages/kratos-browser-flows/src/providers/kraots-logout-flow.provider.tsx:5:41
➤ YN0000: │ 
➤ YN0000: │ TS7006: Parameter 'props' implicitly has an 'any' type.
➤ YN0000: │ 
➤ YN0000: │   3 | import { KratosFlowProvider } from './kratos-flow.provider'
➤ YN0000: │   4 |
➤ YN0000: │ > 5 | export const KratosLogoutFlowProvider = (props) => <KratosFlowProvider
➤ YN0000: │ {...props} name='logout' />
➤ YN0000: │     |                                         ^
➤ YN0000: │   6 |
➤ YN0000: │ 
➤ YN0000: │ 
➤ YN0000: │ packages/kratos-browser-flows/src/providers/kratos-errors-flow.provider.tsx:5:41
➤ YN0000: │ 
➤ YN0000: │ TS7006: Parameter 'props' implicitly has an 'any' type.
➤ YN0000: │ 
➤ YN0000: │   3 | import { KratosFlowProvider } from './kratos-flow.provider'
➤ YN0000: │   4 |
➤ YN0000: │ > 5 | export const KratosErrorsFlowProvider = (props) => <KratosFlowProvider
➤ YN0000: │ {...props} name='errors' />
➤ YN0000: │     |                                         ^
➤ YN0000: │   6 |
➤ YN0000: │ 
➤ YN0000: │ 
➤ YN0000: │ packages/kratos-browser-flows/src/providers/kratos-login-flow.provider.tsx:5:40
➤ YN0000: │ 
➤ YN0000: │ TS7006: Parameter 'props' implicitly has an 'any' type.
➤ YN0000: │ 
➤ YN0000: │   3 | import { KratosFlowProvider } from './kratos-flow.provider'
➤ YN0000: │   4 |
➤ YN0000: │ > 5 | export const KratosLoginFlowProvider = (props) => <KratosFlowProvider
➤ YN0000: │ {...props} name='login' />
➤ YN0000: │     |                                        ^
➤ YN0000: │   6 |
➤ YN0000: │ 
➤ YN0000: │ 
➤ YN0000: │ packages/kratos-browser-flows/src/providers/kratos-recovery-flow.provider.tsx:5:
➤ YN0000: │ 43
➤ YN0000: │ 
➤ YN0000: │ TS7006: Parameter 'props' implicitly has an 'any' type.
➤ YN0000: │ 
➤ YN0000: │   3 | import { KratosFlowProvider } from './kratos-flow.provider'
➤ YN0000: │   4 |
➤ YN0000: │ > 5 | export const KratosRecoveryFlowProvider = (props) => (
➤ YN0000: │     |                                           ^
➤ YN0000: │   6 |   <KratosFlowProvider {...props} name='recovery' />
➤ YN0000: │   7 | )
➤ YN0000: │   8 |
➤ YN0000: │ 
➤ YN0000: │ 
➤ YN0000: │ packages/kratos-browser-flows/src/providers/kratos-registration-flow.provider.ts
➤ YN0000: │ x:5:47
➤ YN0000: │ 
➤ YN0000: │ TS7006: Parameter 'props' implicitly has an 'any' type.
➤ YN0000: │ 
➤ YN0000: │   3 | import { KratosFlowProvider } from './kratos-flow.provider'
➤ YN0000: │   4 |
➤ YN0000: │ > 5 | export const KratosRegistrationFlowProvider = (props) => (
➤ YN0000: │     |                                               ^
➤ YN0000: │   6 |   <KratosFlowProvider {...props} name='registration' />
➤ YN0000: │   7 | )
➤ YN0000: │   8 |
➤ YN0000: │ 
➤ YN0000: │ 
➤ YN0000: │ packages/kratos-browser-flows/src/providers/kratos-settings-flow.provider.tsx:5:
➤ YN0000: │ 43
➤ YN0000: │ 
➤ YN0000: │ TS7006: Parameter 'props' implicitly has an 'any' type.
➤ YN0000: │ 
➤ YN0000: │   3 | import { KratosFlowProvider } from './kratos-flow.provider'
➤ YN0000: │   4 |
➤ YN0000: │ > 5 | export const KratosSettingsFlowProvider = (props) => (
➤ YN0000: │     |                                           ^
➤ YN0000: │   6 |   <KratosFlowProvider {...props} name='settings' />
➤ YN0000: │   7 | )
➤ YN0000: │   8 |
➤ YN0000: │ 
➤ YN0000: │ 
➤ YN0000: │ packages/kratos-browser-flows/src/providers/kratos-verification-flow.provider.ts
➤ YN0000: │ x:5:47
➤ YN0000: │ 
➤ YN0000: │ TS7006: Parameter 'props' implicitly has an 'any' type.
➤ YN0000: │ 
➤ YN0000: │   3 | import { KratosFlowProvider } from './kratos-flow.provider'
➤ YN0000: │   4 |
➤ YN0000: │ > 5 | export const KratosVerificationFlowProvider = (props) => (
➤ YN0000: │     |                                               ^
➤ YN0000: │   6 |   <KratosFlowProvider {...props} name='verification' />
➤ YN0000: │   7 | )
➤ YN0000: │   8 |
➤ YN0000: │ 
➤ YN0000: │ 
➤ YN0000: │ packages/kratos-browser-flows/src/providers/use-flow.hook.ts:20:22
➤ YN0000: │ 
➤ YN0000: │ TS7006: Parameter 'flowState' implicitly has an 'any' type.
➤ YN0000: │ 
➤ YN0000: │   18 |     flow.load()
➤ YN0000: │   19 |
➤ YN0000: │ > 20 |     const callback = (flowState) => {
➤ YN0000: │      |                      ^
➤ YN0000: │   21 |       setState(flowState)
➤ YN0000: │   22 |     }
➤ YN0000: │   23 |
➤ YN0000: │ 
➤ YN0000: │ 
➤ YN0000: │ packages/kratos-browser-flows/src/ui/flow-form.component.tsx:6:27
➤ YN0000: │ 
➤ YN0000: │ TS7031: Binding element 'children' implicitly has an 'any' type.
➤ YN0000: │ 
➤ YN0000: │   4 | import { useFlow } from '../providers'
➤ YN0000: │   5 |
➤ YN0000: │ > 6 | export const FlowForm = ({ children, ...props }) => {
➤ YN0000: │     |                           ^
➤ YN0000: │   7 |   const flow = useFlow()
➤ YN0000: │   8 |
➤ YN0000: │   9 |   // eslint-disable-next-line
➤ YN0000: │ 
➤ YN0000: │ 
➤ YN0000: │ packages/kratos-browser-flows/src/ui/flow-submit.component.tsx:7:29
➤ YN0000: │ 
➤ YN0000: │ TS7031: Binding element 'method' implicitly has an 'any' type.
➤ YN0000: │ 
➤ YN0000: │    5 | import { useFlow }        from '../providers'
➤ YN0000: │    6 |
➤ YN0000: │ >  7 | export const FlowSubmit = ({ method, children }) => {
➤ YN0000: │      |                             ^
➤ YN0000: │    8 |   const flow = useFlow()
➤ YN0000: │    9 |
➤ YN0000: │   10 |   if (typeof children === 'function') {
➤ YN0000: │ 
➤ YN0000: │ 
➤ YN0000: │ packages/kratos-browser-flows/src/ui/flow-submit.component.tsx:7:37
➤ YN0000: │ 
➤ YN0000: │ TS7031: Binding element 'children' implicitly has an 'any' type.
➤ YN0000: │ 
➤ YN0000: │    5 | import { useFlow }        from '../providers'
➤ YN0000: │    6 |
➤ YN0000: │ >  7 | export const FlowSubmit = ({ method, children }) => {
➤ YN0000: │      |                                     ^
➤ YN0000: │    8 |   const flow = useFlow()
➤ YN0000: │    9 |
➤ YN0000: │   10 |   if (typeof children === 'function') {
➤ YN0000: │ 
➤ YN0000: │ 
➤ YN0000: │ packages/kratos-browser-flows/src/ui/flow-submit.component.tsx:11:21
➤ YN0000: │ 
➤ YN0000: │ TS7006: Parameter 'mtd' implicitly has an 'any' type.
➤ YN0000: │ 
➤ YN0000: │    9 |
➤ YN0000: │   10 |   if (typeof children === 'function') {
➤ YN0000: │ > 11 |     return children((mtd) => flow.submit(mtd))
➤ YN0000: │      |                     ^
➤ YN0000: │   12 |   }
➤ YN0000: │   13 |
➤ YN0000: │   14 |   if (isValidElement(children)) {
➤ YN0000: │ 
➤ YN0000: │ 
::endgroup::
➤ YN0000: packages/kratos-browser-flows/src/flows/abstract.flow.ts:30:13
➤ YN0000: 
➤ YN0000: TS7006: Parameter 'loading' implicitly has an 'any' type.
➤ YN0000: 
➤ YN0000:   28 |   }
➤ YN0000:   29 |
➤ YN0000: > 30 |   setLoading(loading) {
➤ YN0000:      |             ^
➤ YN0000:   31 |     this.#loading = loading
➤ YN0000:   32 |   }
➤ YN0000:   33 |
➤ YN0000: 
➤ YN0000: 
➤ YN0000: packages/kratos-browser-flows/src/flows/abstract.flow.ts:38:11
➤ YN0000: 
➤ YN0000: TS7006: Parameter 'state' implicitly has an 'any' type.
➤ YN0000: 
➤ YN0000:   36 |   }
➤ YN0000:   37 |
➤ YN0000: > 38 |   setState(state) {
➤ YN0000:      |           ^
➤ YN0000:   39 |     this.#state = state
➤ YN0000:   40 |   }
➤ YN0000:   41 |
➤ YN0000: 
➤ YN0000: 
➤ YN0000: packages/kratos-browser-flows/src/flows/abstract.flow.ts:54:10
➤ YN0000: 
➤ YN0000: TS7006: Parameter 'name' implicitly has an 'any' type.
➤ YN0000: 
➤ YN0000:   52 |   }
➤ YN0000:   53 |
➤ YN0000: > 54 |   getNode(name) {
➤ YN0000:      |          ^
➤ YN0000:   55 |     return this.#state?.ui?.nodes?.find(
➤ YN0000:   56 |       (node) => (node.attributes as UiNodeInputAttributes).name === name
➤ YN0000:   57 |     )
➤ YN0000: 
➤ YN0000: 
➤ YN0000: packages/kratos-browser-flows/src/flows/abstract.flow.ts:60:11
➤ YN0000: 
➤ YN0000: TS7006: Parameter 'name' implicitly has an 'any' type.
➤ YN0000: 
➤ YN0000:   58 |   }
➤ YN0000:   59 |
➤ YN0000: > 60 |   getNodes(name) {
➤ YN0000:      |           ^
➤ YN0000:   61 |     return (
➤ YN0000:   62 |       this.#state?.ui?.nodes?.filter(
➤ YN0000:   63 |         (node) => (node.attributes as UiNodeInputAttributes).name ===
➤ YN0000: name
➤ YN0000: 
➤ YN0000: 
➤ YN0000: packages/kratos-browser-flows/src/flows/abstract.flow.ts:68:16
➤ YN0000: 
➤ YN0000: TS7006: Parameter 'group' implicitly has an 'any' type.
➤ YN0000: 
➤ YN0000:   66 |   }
➤ YN0000:   67 |
➤ YN0000: > 68 |   getNodesGroup(group) {
➤ YN0000:      |                ^
➤ YN0000:   69 |     return this.#state?.ui?.nodes?.filter((node) => node.group === group)
➤ YN0000:  || []
➤ YN0000:   70 |   }
➤ YN0000:   71 |
➤ YN0000: 
➤ YN0000: 
➤ YN0000: packages/kratos-browser-flows/src/flows/abstract.flow.ts:72:11
➤ YN0000: 
➤ YN0000: TS7006: Parameter 'name' implicitly has an 'any' type.
➤ YN0000: 
➤ YN0000:   70 |   }
➤ YN0000:   71 |
➤ YN0000: > 72 |   getValue(name): string | any {
➤ YN0000:      |           ^
➤ YN0000:   73 |     return this.#values[name]
➤ YN0000:   74 |   }
➤ YN0000:   75 |
➤ YN0000: 
➤ YN0000: 
➤ YN0000: packages/kratos-browser-flows/src/flows/abstract.flow.ts:73:11
➤ YN0000: 
➤ YN0000: TS705: Element implicitly has an 'any' type because expression of type 'any'
➤ YN0000:      can't be used to index type 'SubmitSelfServiceFlowBody'.
➤ YN0000: 
➤ YN0000:   71 |
➤ YN0000:   72 |   getValue(name): string | any {
➤ YN0000: > 73 |     return this.#values[name]
➤ YN0000:      |           ^
➤ YN0000:   74 |   }
➤ YN0000:   75 |
➤ YN0000:   76 |   getValues() {
➤ YN0000: 
➤ YN0000: 
➤ YN0000: packages/kratos-browser-flows/src/flows/abstract.flow.ts:81:4
➤ YN0000: 
➤ YN0000: TS705: Element implicitly has an 'any' type because expression of type 'string'
➤ YN0000:      can't be used to index type 'SubmitSelfServiceFlowBody'.
➤ YN0000:        No index signature with a parameter of type 'string' was found on type
➤ YN0000:      'SubmitSelfServiceFlowBody'.
➤ YN0000: 
➤ YN0000:   79 |
➤ YN0000:   80 |   setValue(name: string, value: string) {
➤ YN0000: > 81 |     this.#values[name] = value
➤ YN0000:      |    ^
➤ YN0000:   82 |   }
➤ YN0000:   83 |
➤ YN0000:   84 |   protected setValues(state: State) {
➤ YN0000: 
➤ YN0000: 
➤ YN0000: packages/kratos-browser-flows/src/flows/abstract.flow.ts:86:11
➤ YN0000: 
➤ YN0000: TS705: Element implicitly has an 'any' type because expression of type 'string'
➤ YN0000:      can't be used to index type 'SubmitSelfServiceFlowBody'.
➤ YN0000:        No index signature with a parameter of type 'string' was found on type
➤ YN0000:      'SubmitSelfServiceFlowBody'.
➤ YN0000: 
➤ YN0000:   84 |   protected setValues(state: State) {
➤ YN0000:   85 |     state?.ui?.nodes?.forEach(({ attributes }) => {
➤ YN0000: > 86 |       if (!this.#values[(attributes as UiNodeInputAttributes).name]) {
➤ YN0000:      |           ^
➤ YN0000:   87 |         this.#values[(attributes as UiNodeInputAttributes).name] =
➤ YN0000:   88 |           (attributes as UiNodeInputAttributes).value || ''
➤ YN0000:   89 |       }
➤ YN0000: 
➤ YN0000: 
➤ YN0000: packages/kratos-browser-flows/src/flows/abstract.flow.ts:87:8
➤ YN0000: 
➤ YN0000: TS705: Element implicitly has an 'any' type because expression of type 'string'
➤ YN0000:      can't be used to index type 'SubmitSelfServiceFlowBody'.
➤ YN0000:        No index signature with a parameter of type 'string' was found on type
➤ YN0000:      'SubmitSelfServiceFlowBody'.
➤ YN0000: 
➤ YN0000:   85 |     state?.ui?.nodes?.forEach(({ attributes }) => {
➤ YN0000:   86 |       if (!this.#values[(attributes as UiNodeInputAttributes).name]) {
➤ YN0000: > 87 |         this.#values[(attributes as UiNodeInputAttributes).name] =
➤ YN0000:      |        ^
➤ YN0000:   88 |           (attributes as UiNodeInputAttributes).value || ''
➤ YN0000:   89 |       }
➤ YN0000:   90 |     })
➤ YN0000: 
➤ YN0000: 
➤ YN0000: packages/kratos-browser-flows/src/flows/abstract.flow.ts:97:11
➤ YN0000: 
➤ YN0000: TS701: 'load', which lacks return-type annotation, implicitly has an 'any'
➤ YN0000:      return type.
➤ YN0000: 
➤ YN0000:    95 |   }
➤ YN0000:    96 |
➤ YN0000: >  97 |   abstract load()
➤ YN0000:       |           ^
➤ YN0000:    98 |
➤ YN0000:    99 |   abstract submit(method?: string)
➤ YN0000:   100 | }
➤ YN0000: 
➤ YN0000: 
➤ YN0000: packages/kratos-browser-flows/src/flows/abstract.flow.ts:99:11
➤ YN0000: 
➤ YN0000: TS701: 'submit', which lacks return-type annotation, implicitly has an 'any'
➤ YN0000:      return type.
➤ YN0000: 
➤ YN0000:    97 |   abstract load()
➤ YN0000:    98 |
➤ YN0000: >  99 |   abstract submit(method?: string)
➤ YN0000:       |           ^
➤ YN0000:   100 | }
➤ YN0000:   101 |
➤ YN0000: 
➤ YN0000: 
➤ YN0000: packages/kratos-browser-flows/src/flows/flow.interfaces.ts
➤ YN0000: 
➤ YN0000: TS701: 'setLoading', which lacks return-type annotation, implicitly has an 'any'
➤ YN0000:       return type.
➤ YN0000: 
➤ YN0000: 
➤ YN0000: packages/kratos-browser-flows/src/flows/flow.interfaces.ts
➤ YN0000: 
➤ YN0000: TS701: 'isLoading', which lacks return-type annotation, implicitly has an 'any'
➤ YN0000:      return type.
➤ YN0000: 
➤ YN0000: 
➤ YN0000: packages/kratos-browser-flows/src/flows/flow.interfaces.ts
➤ YN0000: 
➤ YN0000: TS701: 'setState', which lacks return-type annotation, implicitly has an 'any'
➤ YN0000:      return type.
➤ YN0000: 
➤ YN0000: 
➤ YN0000: packages/kratos-browser-flows/src/flows/flow.interfaces.ts
➤ YN0000: 
➤ YN0000: TS701: 'hasState', which lacks return-type annotation, implicitly has an 'any'
➤ YN0000:      return type.
➤ YN0000: 
➤ YN0000: 
➤ YN0000: packages/kratos-browser-flows/src/flows/flow.interfaces.ts
➤ YN0000: 
➤ YN0000: TS7006: Parameter 'name' implicitly has an 'any' type.
➤ YN0000: 
➤ YN0000: 
➤ YN0000: packages/kratos-browser-flows/src/flows/flow.interfaces.ts
➤ YN0000: 
➤ YN0000: TS701: 'setValue', which lacks return-type annotation, implicitly has an 'any'
➤ YN0000:      return type.
➤ YN0000: 
➤ YN0000: 
➤ YN0000: packages/kratos-browser-flows/src/providers/kraots-logout-flow.provider.tsx:5:41
➤ YN0000: 
➤ YN0000: TS7006: Parameter 'props' implicitly has an 'any' type.
➤ YN0000: 
➤ YN0000:   3 | import { KratosFlowProvider } from './kratos-flow.provider'
➤ YN0000:   4 |
➤ YN0000: > 5 | export const KratosLogoutFlowProvider = (props) => <KratosFlowProvider
➤ YN0000: {...props} name='logout' />
➤ YN0000:     |                                         ^
➤ YN0000:   6 |
➤ YN0000: 
➤ YN0000: 
➤ YN0000: packages/kratos-browser-flows/src/providers/kratos-errors-flow.provider.tsx:5:41
➤ YN0000: 
➤ YN0000: TS7006: Parameter 'props' implicitly has an 'any' type.
➤ YN0000: 
➤ YN0000:   3 | import { KratosFlowProvider } from './kratos-flow.provider'
➤ YN0000:   4 |
➤ YN0000: > 5 | export const KratosErrorsFlowProvider = (props) => <KratosFlowProvider
➤ YN0000: {...props} name='errors' />
➤ YN0000:     |                                         ^
➤ YN0000:   6 |
➤ YN0000: 
➤ YN0000: 
➤ YN0000: packages/kratos-browser-flows/src/providers/kratos-login-flow.provider.tsx:5:40
➤ YN0000: 
➤ YN0000: TS7006: Parameter 'props' implicitly has an 'any' type.
➤ YN0000: 
➤ YN0000:   3 | import { KratosFlowProvider } from './kratos-flow.provider'
➤ YN0000:   4 |
➤ YN0000: > 5 | export const KratosLoginFlowProvider = (props) => <KratosFlowProvider
➤ YN0000: {...props} name='login' />
➤ YN0000:     |                                        ^
➤ YN0000:   6 |
➤ YN0000: 
➤ YN0000: 
➤ YN0000: packages/kratos-browser-flows/src/providers/kratos-recovery-flow.provider.tsx:5:
➤ YN0000: 43
➤ YN0000: 
➤ YN0000: TS7006: Parameter 'props' implicitly has an 'any' type.
➤ YN0000: 
➤ YN0000:   3 | import { KratosFlowProvider } from './kratos-flow.provider'
➤ YN0000:   4 |
➤ YN0000: > 5 | export const KratosRecoveryFlowProvider = (props) => (
➤ YN0000:     |                                           ^
➤ YN0000:   6 |   <KratosFlowProvider {...props} name='recovery' />
➤ YN0000:   7 | )
➤ YN0000:   8 |
➤ YN0000: 
➤ YN0000: 
➤ YN0000: packages/kratos-browser-flows/src/providers/kratos-registration-flow.provider.ts
➤ YN0000: x:5:47
➤ YN0000: 
➤ YN0000: TS7006: Parameter 'props' implicitly has an 'any' type.
➤ YN0000: 
➤ YN0000:   3 | import { KratosFlowProvider } from './kratos-flow.provider'
➤ YN0000:   4 |
➤ YN0000: > 5 | export const KratosRegistrationFlowProvider = (props) => (
➤ YN0000:     |                                               ^
➤ YN0000:   6 |   <KratosFlowProvider {...props} name='registration' />
➤ YN0000:   7 | )
➤ YN0000:   8 |
➤ YN0000: 
➤ YN0000: 
➤ YN0000: packages/kratos-browser-flows/src/providers/kratos-settings-flow.provider.tsx:5:
➤ YN0000: 43
➤ YN0000: 
➤ YN0000: TS7006: Parameter 'props' implicitly has an 'any' type.
➤ YN0000: 
➤ YN0000:   3 | import { KratosFlowProvider } from './kratos-flow.provider'
➤ YN0000:   4 |
➤ YN0000: > 5 | export const KratosSettingsFlowProvider = (props) => (
➤ YN0000:     |                                           ^
➤ YN0000:   6 |   <KratosFlowProvider {...props} name='settings' />
➤ YN0000:   7 | )
➤ YN0000:   8 |
➤ YN0000: 
➤ YN0000: 
➤ YN0000: packages/kratos-browser-flows/src/providers/kratos-verification-flow.provider.ts
➤ YN0000: x:5:47
➤ YN0000: 
➤ YN0000: TS7006: Parameter 'props' implicitly has an 'any' type.
➤ YN0000: 
➤ YN0000:   3 | import { KratosFlowProvider } from './kratos-flow.provider'
➤ YN0000:   4 |
➤ YN0000: > 5 | export const KratosVerificationFlowProvider = (props) => (
➤ YN0000:     |                                               ^
➤ YN0000:   6 |   <KratosFlowProvider {...props} name='verification' />
➤ YN0000:   7 | )
➤ YN0000:   8 |
➤ YN0000: 
➤ YN0000: 
➤ YN0000: packages/kratos-browser-flows/src/providers/use-flow.hook.ts:20:22
➤ YN0000: 
➤ YN0000: TS7006: Parameter 'flowState' implicitly has an 'any' type.
➤ YN0000: 
➤ YN0000:   18 |     flow.load()
➤ YN0000:   19 |
➤ YN0000: > 20 |     const callback = (flowState) => {
➤ YN0000:      |                      ^
➤ YN0000:   21 |       setState(flowState)
➤ YN0000:   22 |     }
➤ YN0000:   23 |
➤ YN0000: 
➤ YN0000: 
➤ YN0000: packages/kratos-browser-flows/src/ui/flow-form.component.tsx:6:27
➤ YN0000: 
➤ YN0000: TS7031: Binding element 'children' implicitly has an 'any' type.
➤ YN0000: 
➤ YN0000:   4 | import { useFlow } from '../providers'
➤ YN0000:   5 |
➤ YN0000: > 6 | export const FlowForm = ({ children, ...props }) => {
➤ YN0000:     |                           ^
➤ YN0000:   7 |   const flow = useFlow()
➤ YN0000:   8 |
➤ YN0000:   9 |   // eslint-disable-next-line
➤ YN0000: 
➤ YN0000: 
➤ YN0000: packages/kratos-browser-flows/src/ui/flow-submit.component.tsx:7:29
➤ YN0000: 
➤ YN0000: TS7031: Binding element 'method' implicitly has an 'any' type.
➤ YN0000: 
➤ YN0000:    5 | import { useFlow }        from '../providers'
➤ YN0000:    6 |
➤ YN0000: >  7 | export const FlowSubmit = ({ method, children }) => {
➤ YN0000:      |                             ^
➤ YN0000:    8 |   const flow = useFlow()
➤ YN0000:    9 |
➤ YN0000:   10 |   if (typeof children === 'function') {
➤ YN0000: 
➤ YN0000: 
➤ YN0000: packages/kratos-browser-flows/src/ui/flow-submit.component.tsx:7:37
➤ YN0000: 
➤ YN0000: TS7031: Binding element 'children' implicitly has an 'any' type.
➤ YN0000: 
➤ YN0000:    5 | import { useFlow }        from '../providers'
➤ YN0000:    6 |
➤ YN0000: >  7 | export const FlowSubmit = ({ method, children }) => {
➤ YN0000:      |                                     ^
➤ YN0000:    8 |   const flow = useFlow()
➤ YN0000:    9 |
➤ YN0000:   10 |   if (typeof children === 'function') {
➤ YN0000: 
➤ YN0000: 
➤ YN0000: packages/kratos-browser-flows/src/ui/flow-submit.component.tsx:11:21
➤ YN0000: 
➤ YN0000: TS7006: Parameter 'mtd' implicitly has an 'any' type.
➤ YN0000: 
➤ YN0000:    9 |
➤ YN0000:   10 |   if (typeof children === 'function') {
➤ YN0000: > 11 |     return children((mtd) => flow.submit(mtd))
➤ YN0000:      |                     ^
➤ YN0000:   12 |   }
➤ YN0000:   13 |
➤ YN0000:   14 |   if (isValidElement(children)) {
➤ YN0000: 
➤ YN0000: 
➤ YN0000: └ Completed in 4s 854ms
➤ YN0000: Failed with errors in 4s 860ms
"name": "@atls/react-kratos-browser-flows",
"version": "0.0.2",
"license": "BSD-3-Clause",
Expand All @@ -19,7 +19,7 @@
"@testing-library/jest-dom": "^5.16.2",
"@testing-library/react": "^12.1.3",
"@types/events": "^3.0.0",
"@types/react": "18.2.20",
"@types/react": "18.3.6",
"@types/react-dom": "18.2.7",
"@types/testing-library__jest-dom": "^5.14.1",
"axios": "^0.21.4",
Expand Down
2 changes: 1 addition & 1 deletion packages/payment-widget/package.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{

Check failure on line 1 in packages/payment-widget/package.json

View workflow job for this annotation

GitHub Actions / Release

Error release workspace @atls/tinkoff-payment-widget

Exit code 1
Raw output
➤ YN0000: ┌ Library Build
::group::Library Build
➤ YN0000: │ ../.yarn/berry/cache/@emotion-utils-npm-1.4.0-27483e6c35-10.zip/node_modules/@em
➤ YN0000: │ otion/utils/dist/declarations/src/types.d.ts
➤ YN0000: │ 
➤ YN0000: │ TS230: Cannot find module '@emotion/sheet' or its corresponding type
➤ YN0000: │      declarations.
➤ YN0000: │ 
➤ YN0000: │ 
➤ YN0000: │ .yarn/__virtual__/@atls-ui-parts-text-virtual-be182730bc/2/.yarn/berry/cache/@at
➤ YN0000: │ ls-ui-parts-text-npm-0.0.11-70c6e86690-10.zip/node_modules/@atls-ui-parts/text/d
➤ YN0000: │ ist/currency.component.d.ts
➤ YN0000: │ 
➤ YN0000: │ TS701: Could not find a declaration file for module 'styled-system'.
➤ YN0000: │      '/home/runner/work/reactjs/.yarn/berry/cache/styled-system-npm-5.1.5-64d59c
➤ YN0000: │      22e4-10.zip/node_modules/styled-system/dist/index.js' implicitly has an
➤ YN0000: │      'any' type.
➤ YN0000: │        If the 'styled-system' package actually exposes this module, consider
➤ YN0000: │      sending a pull request to amend 'https://github.com/DefinitelyTyped/Definit
➤ YN0000: │      elyTyped/tree/master/types/styled-system'
➤ YN0000: │ 
➤ YN0000: │ 
➤ YN0000: │ .yarn/__virtual__/@atls-ui-parts-text-virtual-be182730bc/2/.yarn/berry/cache/@at
➤ YN0000: │ ls-ui-parts-text-npm-0.0.11-70c6e86690-10.zip/node_modules/@atls-ui-parts/text/d
➤ YN0000: │ ist/currency.component.d.ts
➤ YN0000: │ 
➤ YN0000: │ TS701: Could not find a declaration file for module 'styled-system'.
➤ YN0000: │      '/home/runner/work/reactjs/.yarn/berry/cache/styled-system-npm-5.1.5-64d59c
➤ YN0000: │      22e4-10.zip/node_modules/styled-system/dist/index.js' implicitly has an
➤ YN0000: │      'any' type.
➤ YN0000: │        If the 'styled-system' package actually exposes this module, consider
➤ YN0000: │      sending a pull request to amend 'https://github.com/DefinitelyTyped/Definit
➤ YN0000: │      elyTyped/tree/master/types/styled-system'
➤ YN0000: │ 
➤ YN0000: │ 
➤ YN0000: │ .yarn/__virtual__/@atls-ui-parts-text-virtual-be182730bc/2/.yarn/berry/cache/@at
➤ YN0000: │ ls-ui-parts-text-npm-0.0.11-70c6e86690-10.zip/node_modules/@atls-ui-parts/text/d
➤ YN0000: │ ist/currency.component.d.ts
➤ YN0000: │ 
➤ YN0000: │ TS701: Could not find a declaration file for module 'styled-system'.
➤ YN0000: │      '/home/runner/work/reactjs/.yarn/berry/cache/styled-system-npm-5.1.5-64d59c
➤ YN0000: │      22e4-10.zip/node_modules/styled-system/dist/index.js' implicitly has an
➤ YN0000: │      'any' type.
➤ YN0000: │        If the 'styled-system' package actually exposes this module, consider
➤ YN0000: │      sending a pull request to amend 'https://github.com/DefinitelyTyped/Definit
➤ YN0000: │      elyTyped/tree/master/types/styled-system'
➤ YN0000: │ 
➤ YN0000: │ 
➤ YN0000: │ .yarn/__virtual__/@atls-ui-parts-text-virtual-be182730bc/2/.yarn/berry/cache/@at
➤ YN0000: │ ls-ui-parts-text-npm-0.0.11-70c6e86690-10.zip/node_modules/@atls-ui-parts/text/d
➤ YN0000: │ ist/currency.component.d.ts
➤ YN0000: │ 
➤ YN0000: │ TS701: Could not find a declaration file for module 'styled-system'.
➤ YN0000: │      '/home/runner/work/reactjs/.yarn/berry/cache/styled-system-npm-5.1.5-64d59c
➤ YN0000: │      22e4-10.zip/node_modules/styled-system/dist/index.js' implicitly has an
➤ YN0000: │      'any' type.
➤ YN0000: │        If the 'styled-system' package actually exposes this module, consider
➤ YN0000: │      sending a pull request to amend 'https://github.com/DefinitelyTyped/Definit
➤ YN0000: │      elyTyped/tree/master/types/styled-system'
➤ YN0000: │ 
➤ YN0000: │ 
➤ YN0000: │ .yarn/__virtual__/@atls-ui-parts-text-virtual-be182730bc/2/.yarn/berry/cache/@at
➤ YN0000: │ ls-ui-parts-text-npm-0.0.11-70c6e86690-10.zip/node_modules/@atls-ui-parts/text/d
➤ YN0000: │ ist/space.interfaces.d.ts
➤ YN0000: │ 
➤ YN0000: │ TS701: Could not find a declaration file for module 'styled-system'.
➤ YN0000: │      '/home/runner/work/reactjs/.yarn/berry/cache/styled-system-npm-5.1.5-64d59c
➤ YN0000: │      22e4-10.zip/node_modules/styled-system/dist/index.js' implicitly has an
➤ YN0000: │      'any' type.
➤ YN0000: │        If the 'styled-system' package actually exposes this module, consider
➤ YN0000: │      sending a pull request to amend 'https://github.com/DefinitelyTyped/Definit
➤ YN0000: │      elyTyped/tree/master/types/styled-system'
➤ YN0000: │ 
➤ YN0000: │ 
➤ YN0000: │ .yarn/__virtual__/@atls-ui-parts-text-virtual-be182730bc/2/.yarn/berry/cache/@at
➤ YN0000: │ ls-ui-parts-text-npm-0.0.11-70c6e86690-10.zip/node_modules/@atls-ui-parts/text/d
➤ YN0000: │ ist/text.component.d.ts
➤ YN0000: │ 
➤ YN0000: │ TS701: Could not find a declaration file for module 'styled-system'.
➤ YN0000: │      '/home/runner/work/reactjs/.yarn/berry/cache/styled-system-npm-5.1.5-64d59c
➤ YN0000: │      22e4-10.zip/node_modules/styled-system/dist/index.js' implicitly has an
➤ YN0000: │      'any' type.
➤ YN0000: │        If the 'styled-system' package actually exposes this module, consider
➤ YN0000: │      sending a pull request to amend 'https://github.com/DefinitelyTyped/Definit
➤ YN0000: │      elyTyped/tree/master/types/styled-system'
➤ YN0000: │ 
➤ YN0000: │ 
➤ YN0000: │ .yarn/__virtual__/@atls-ui-parts-text-virtual-be182730bc/2/.yarn/berry/cache/@at
➤ YN0000: │ ls-ui-parts-text-npm-0.0.11-70c6e86690-10.zip/node_modules/@atls-ui-parts/text/d
➤ YN0000: │ ist/text.component.d.ts
➤ YN0000: │ 
➤ YN0000: │ TS701: Could not find a declaration file for module 'styled-system'.
➤ YN0000: │      '/home/runner/work/reactjs/.yarn/berry/cache/styled-system-npm-5.1.5-64d59c
➤ YN0000: │      22e4-10.zip/node_modules/styled-system/dist/index.js' implicitly has an
➤ YN0000: │      'any' type.
➤ YN0000: │        If the 'styled-system' package actually exposes this module, consider
➤ YN0000: │      sending a pull request to amend 'https://github.com/DefinitelyTyped/Definit
➤ YN0000: │      elyTyped/tree/master/types/styled-system'
➤ YN0000: │ 
➤ YN0000: │ 
➤ YN0000: │ .yarn/__virtual__/@atls-ui-parts-text-virtual-be182730bc/2/.yarn/berry/cache/@at
➤ YN0000: │ ls-ui-parts-text-npm-0.0.11-70c6e86690-10.zip/node_modules/@atls-ui-parts/text/d
➤ YN0000: │ ist/text.component.d.ts
➤ YN0000: │ 
➤ YN0000: │ TS701: Could not find a declaration file for module 'styled-system'.
➤ YN0000: │      '/home/runner/work/reactjs/.yarn/berry/cache/styled-system-npm-5.1.5-64d59c
➤ YN0000: │      22e4-10.zip/node_modules/styled-system/dist/index.js' implicitly has an
➤ YN0000: │      'any' type.
➤ YN0000: │        If the 'styled-system' package actually exposes this module, consider
➤ YN0000: │      sending a pull request to amend 'https://github.com/DefinitelyTyped/Definit
➤ YN0000: │      elyTyped/tree/master/types/styled-system'
➤ YN0000: │ 
➤ YN0000: │ 
➤ YN0000: │ .yarn/__virtual__/@atls-ui-parts-text-virtual-be182730bc/2/.yarn/berry/cache/@at
➤ YN0000: │ ls-ui-parts-text-npm-0.0.11-70c6e86690-10.zip/node_modules/@atls-ui-parts/text/d
➤ YN0000: │ ist/text.component.d.ts
➤ YN0000: │ 
➤ YN0000: │ TS701: Could not find a declaration file for module 'styled-system'.
➤ YN0000: │      '/home/runner/work/reactjs/.yarn/berry/cache/styled-system-npm-5.1.5-64d59c
➤ YN0000: │      22e4-10.zip/node_modules/styled-system/dist/index.js' implicitly has an
➤ YN0000: │      'any' type.
➤ YN0000: │        If the 'styled-system' package actually exposes this module, consider
➤ YN0000: │      sending a pull request to amend 'https://github.com/DefinitelyTyped/Definit
➤ YN0000: │      elyTyped/tree/master/types/styled-system'
➤ YN0000: │ 
➤ YN0000: │ 
➤ YN0000: │ .yarn/__virtual__/@atls-ui-parts-text-virtual-be182730bc/2/.yarn/berry/cache/@at
➤ YN0000: │ ls-ui-parts-text-npm-0.0.11-70c6e86690-10.zip/node_modules/@atls-ui-parts/text/d
➤ YN0000: │ ist/text.interfaces.d.ts
➤ YN0000: │ 
➤ YN0000: │ TS701: Could not find a declaration file for module 'styled-system'.
➤ YN0000: │      '/home/runner/work/reactjs/.yarn/berry/cache/styled-system-npm-5.1.5-64d59c
➤ YN0000: │      22e4-10.zip/node_modules/styled-system/dist/index.js' implicitly has an
➤ YN0000: │      'any' type.
➤ YN0000: │        If the 'styled-system' package actually exposes this module, consider
➤ YN0000: │      sending a pull request to amend 'https://github.com/DefinitelyTyped/Definit
➤ YN0000: │      elyTyped/tree/master/types/styled-system'
➤ YN0000: │ 
➤ YN0000: │ 
➤ YN0000: │ .yarn/__virtual__/@atls-ui-parts-text-virtual-be182730bc/2/.yarn/berry/cache/@at
➤ YN0000: │ ls-ui-parts-text-npm-0.0.11-70c6e86690-10.zip/node_modules/@atls-ui-parts/text/d
➤ YN0000: │ ist/text.interfaces.d.ts
➤ YN0000: │ 
➤ YN0000: │ TS701: Could not find a declaration file for module 'styled-system'.
➤ YN0000: │      '/home/runner/work/reactjs/.yarn/berry/cache/styled-system-npm-5.1.5-64d59c
➤ YN0000: │      22e4-10.zip/node_modules/styled-system/dist/index.js' implicitly has an
➤ YN0000: │      'any' type.
➤ YN0000: │        If the 'styled-system' package actually exposes this module, consider
➤ YN0000: │      sending a pull request to amend 'https://github.com/DefinitelyTyped/Definit
➤ YN0000: │      elyTyped/tree/master/types/styled-system'
➤ YN0000: │ 
➤ YN0000: │ 
➤ YN0000: │ .yarn/__virtual__/@atls-ui-parts-text-virtual-be182730bc/2/.yarn/berry/cache/@at
➤ YN0000: │ ls-ui-parts-text-npm-0.0.11-70c6e86690-10.zip/node_modules/@atls-ui-parts/text/d
➤ YN0000: │ ist/text.interfaces.d.ts
➤ YN0000: │ 
➤ YN0000: │ TS701: Could not find a declaration file for module 'styled-system'.
➤ YN0000: │      '/home/runner/work/reactjs/.yarn/berry/cache/styled-system-npm-5.1.5-64d59c
➤ YN0000: │      22e4-10.zip/node_modules/styled-system/dist/index.js' implicitly has an
➤ YN0000: │      'any' type.
➤ YN0000: │        If the 'styled-system' package actually exposes this module, consider
➤ YN0000: │      sending a pull request to amend 'https://github.com/DefinitelyTyped/Definit
➤ YN0000: │      elyTyped/tree/master/types/styled-system'
➤ YN0000: │ 
➤ YN0000: │ 
➤ YN0000: │ .yarn/__virtual__/@atls-ui-parts-text-virtual-be182730bc/2/.yarn/berry/cache/@at
➤ YN0000: │ ls-ui-parts-text-npm-0.0.11-70c6e86690-10.zip/node_modules/@atls-ui-parts/text/d
➤ YN0000: │ ist/text.interfaces.d.ts
➤ YN0000: │ 
➤ YN0000: │ TS701: Could not find a declaration file for module 'styled-system'.
➤ YN0000: │      '/home/runner/work/reactjs/.yarn/berry/cache/styled-system-npm-5.1.5-64d59c
➤ YN0000: │      22e4-10.zip/node_modules/styled-system/dist/index.js' implicitly has an
➤ YN0000: │      'any' type.
➤ YN0000: │        If the 'styled-system' package actually exposes this module, consider
➤ YN0000: │      sending a pull request to amend 'https://github.com/DefinitelyTyped/Definit
➤ YN0000: │      elyTyped/tree/master/types/styled-system'
➤ YN0000: │ 
➤ YN0000: │ 
➤ YN0000: │ packages/payment-widget/src/hooks/use-fields-render.hook.tsx:29:59
➤ YN0000: │ 
➤ YN0000: │ TS2339: Property 'placeholder' does not exist on type 'Field | NameField'.
➤ YN0000: │         Property 'placeholder' does not exist on type 'NameField'.
➤ YN0000: │ 
➤ YN0000: │   27 |     <ThemeProvider>
➤ YN0000: │   28 |       {fields.map((field, index, currentFields) => {
➤ YN0000: │ > 29 |         const translatePlaceholder = translate(intl, field.placeholder,
➤ YN0000: │ field.placeholder)
➤ YN0000: │      |                                                           ^
➤ YN0000: │   30 |         const translateError = translate(intl, errors[field.name],
➤ YN0000: │ errors[field.name])
➤ YN0000: │   31 |         const isNotLastField = index !== currentFields.length - 1
➤ YN0000: │   32 |
➤ YN0000: │ 
➤ YN0000: │ 
➤ YN0000: │ packages/payment-widget/src/hooks/use-fields-render.hook.tsx:29:78
➤ YN0000: │ 
➤ YN0000: │ TS2339: Property 'placeholder' does not exist on type 'Field | NameField'.
➤ YN0000: │         Property 'placeholder' does not exist on type 'NameField'.
➤ YN0000: │ 
➤ YN0000: │   27 |     <ThemeProvider>
➤ YN0000: │   28 |       {fields.map((field, index, currentFields) => {
➤ YN0000: │ > 29 |         const translatePlaceholder = translate(intl, field.placeholder,
➤ YN0000: │ field.placeholder)
➤ YN0000: │      |
➤ YN0000: │     ^
➤ YN0000: │   30 |         const translateError = translate(intl, errors[field.name],
➤ YN0000: │ errors[field.name])
➤ YN0000: │   31 |         const isNotLastField = index !== currentFields.length - 1
➤ YN0000: │   32 |
➤ YN0000: │ 
➤ YN0000: │ 
➤ YN0000: │ packages/payment-widget/src/hooks/use-fields-render.hook.tsx:36:26
➤ YN0000: │ 
➤ YN0000: │ TS2339: Property 'type' does not exist on type 'Field | NameField'.
➤ YN0000: │         Property 'type' does not exist on type 'NameField'.
➤ YN0000: │ 
➤ YN0000: │   34 |           <React.Fragment key={field.name}>
➤ YN0000: │   35 |             <MemoizedInput
➤ YN0000: │ > 36 |               type={field.type ?? 'text'}
➤ YN0000: │      |                          ^
➤ YN0000: │   37 |               name={field.name}
➤ YN0000: │   38 |               placeholder={translatePlaceholder}
➤ YN0000: │   39 |               required={field.required ?? false}
➤ YN0000: │ 
➤ YN0000: │ 
➤ YN0000: │ packages/payment-widget/src/hooks/use-fields-render.hook.tsx:39:30
➤ YN0000: │ 
➤ YN0000: │ TS2339: Property 'required' does not exist on type 'Field | NameField'.
➤ YN0000: │         Property 'required' does not exist on type 'NameField'.
➤ YN0000: │ 
➤ YN0000: │   37 |               name={field.name}
➤ YN0000: │   38 |               placeholder={translatePlaceholder}
➤ YN0000: │ > 39 |               required={field.required ?? false}
➤ YN0000: │      |                              ^
➤ YN0000: │   40 |               value={fieldsState[field.name]}
➤ YN0000: │   41 |               errorText={translateError}
➤ YN0000: │   42 |               onChangeNative={handleChange}
➤ YN0000: │ 
➤ YN0000: │ 
::endgroup::
➤ YN0000: ../.yarn/berry/cache/@emotion-utils-npm-1.4.0-27483e6c35-10.zip/node_modules/@em
➤ YN0000: otion/utils/dist/declarations/src/types.d.ts
➤ YN0000: 
➤ YN0000: TS230: Cannot find module '@emotion/sheet' or its corresponding type
➤ YN0000:      declarations.
➤ YN0000: 
➤ YN0000: 
➤ YN0000: .yarn/__virtual__/@atls-ui-parts-text-virtual-be182730bc/2/.yarn/berry/cache/@at
➤ YN0000: ls-ui-parts-text-npm-0.0.11-70c6e86690-10.zip/node_modules/@atls-ui-parts/text/d
➤ YN0000: ist/currency.component.d.ts
➤ YN0000: 
➤ YN0000: TS701: Could not find a declaration file for module 'styled-system'.
➤ YN0000:      '/home/runner/work/reactjs/.yarn/berry/cache/styled-system-npm-5.1.5-64d59c
➤ YN0000:      22e4-10.zip/node_modules/styled-system/dist/index.js' implicitly has an
➤ YN0000:      'any' type.
➤ YN0000:        If the 'styled-system' package actually exposes this module, consider
➤ YN0000:      sending a pull request to amend 'https://github.com/DefinitelyTyped/Definit
➤ YN0000:      elyTyped/tree/master/types/styled-system'
➤ YN0000: 
➤ YN0000: 
➤ YN0000: .yarn/__virtual__/@atls-ui-parts-text-virtual-be182730bc/2/.yarn/berry/cache/@at
➤ YN0000: ls-ui-parts-text-npm-0.0.11-70c6e86690-10.zip/node_modules/@atls-ui-parts/text/d
➤ YN0000: ist/currency.component.d.ts
➤ YN0000: 
➤ YN0000: TS701: Could not find a declaration file for module 'styled-system'.
➤ YN0000:      '/home/runner/work/reactjs/.yarn/berry/cache/styled-system-npm-5.1.5-64d59c
➤ YN0000:      22e4-10.zip/node_modules/styled-system/dist/index.js' implicitly has an
➤ YN0000:      'any' type.
➤ YN0000:        If the 'styled-system' package actually exposes this module, consider
➤ YN0000:      sending a pull request to amend 'https://github.com/DefinitelyTyped/Definit
➤ YN0000:      elyTyped/tree/master/types/styled-system'
➤ YN0000: 
➤ YN0000: 
➤ YN0000: .yarn/__virtual__/@atls-ui-parts-text-virtual-be182730bc/2/.yarn/berry/cache/@at
➤ YN0000: ls-ui-parts-text-npm-0.0.11-70c6e86690-10.zip/node_modules/@atls-ui-parts/text/d
➤ YN0000: ist/currency.component.d.ts
➤ YN0000: 
➤ YN0000: TS701: Could not find a declaration file for module 'styled-system'.
➤ YN0000:      '/home/runner/work/reactjs/.yarn/berry/cache/styled-system-npm-5.1.5-64d59c
➤ YN0000:      22e4-10.zip/node_modules/styled-system/dist/index.js' implicitly has an
➤ YN0000:      'any' type.
➤ YN0000:        If the 'styled-system' package actually exposes this module, consider
➤ YN0000:      sending a pull request to amend 'https://github.com/DefinitelyTyped/Definit
➤ YN0000:      elyTyped/tree/master/types/styled-system'
➤ YN0000: 
➤ YN0000: 
➤ YN0000: .yarn/__virtual__/@atls-ui-parts-text-virtual-be182730bc/2/.yarn/berry/cache/@at
➤ YN0000: ls-ui-parts-text-npm-0.0.11-70c6e86690-10.zip/node_modules/@atls-ui-parts/text/d
➤ YN0000: ist/currency.component.d.ts
➤ YN0000: 
➤ YN0000: TS701: Could not find a declaration file for module 'styled-system'.
➤ YN0000:      '/home/runner/work/reactjs/.yarn/berry/cache/styled-system-npm-5.1.5-64d59c
➤ YN0000:      22e4-10.zip/node_modules/styled-system/dist/index.js' implicitly has an
➤ YN0000:      'any' type.
➤ YN0000:        If the 'styled-system' package actually exposes this module, consider
➤ YN0000:      sending a pull request to amend 'https://github.com/DefinitelyTyped/Definit
➤ YN0000:      elyTyped/tree/master/types/styled-system'
➤ YN0000: 
➤ YN0000: 
➤ YN0000: .yarn/__virtual__/@atls-ui-parts-text-virtual-be182730bc/2/.yarn/berry/cache/@at
➤ YN0000: ls-ui-parts-text-npm-0.0.11-70c6e86690-10.zip/node_modules/@atls-ui-parts/text/d
➤ YN0000: ist/space.interfaces.d.ts
➤ YN0000: 
➤ YN0000: TS701: Could not find a declaration file for module 'styled-system'.
➤ YN0000:      '/home/runner/work/reactjs/.yarn/berry/cache/styled-system-npm-5.1.5-64d59c
➤ YN0000:      22e4-10.zip/node_modules/styled-system/dist/index.js' implicitly has an
➤ YN0000:      'any' type.
➤ YN0000:        If the 'styled-system' package actually exposes this module, consider
➤ YN0000:      sending a pull request to amend 'https://github.com/DefinitelyTyped/Definit
➤ YN0000:      elyTyped/tree/master/types/styled-system'
➤ YN0000: 
➤ YN0000: 
➤ YN0000: .yarn/__virtual__/@atls-ui-parts-text-virtual-be182730bc/2/.yarn/berry/cache/@at
➤ YN0000: ls-ui-parts-text-npm-0.0.11-70c6e86690-10.zip/node_modules/@atls-ui-parts/text/d
➤ YN0000: ist/text.component.d.ts
➤ YN0000: 
➤ YN0000: TS701: Could not find a declaration file for module 'styled-system'.
➤ YN0000:      '/home/runner/work/reactjs/.yarn/berry/cache/styled-system-npm-5.1.5-64d59c
➤ YN0000:      22e4-10.zip/node_modules/styled-system/dist/index.js' implicitly has an
➤ YN0000:      'any' type.
➤ YN0000:        If the 'styled-system' package actually exposes this module, consider
➤ YN0000:      sending a pull request to amend 'https://github.com/DefinitelyTyped/Definit
➤ YN0000:      elyTyped/tree/master/types/styled-system'
➤ YN0000: 
➤ YN0000: 
➤ YN0000: .yarn/__virtual__/@atls-ui-parts-text-virtual-be182730bc/2/.yarn/berry/cache/@at
➤ YN0000: ls-ui-parts-text-npm-0.0.11-70c6e86690-10.zip/node_modules/@atls-ui-parts/text/d
➤ YN0000: ist/text.component.d.ts
➤ YN0000: 
➤ YN0000: TS701: Could not find a declaration file for module 'styled-system'.
➤ YN0000:      '/home/runner/work/reactjs/.yarn/berry/cache/styled-system-npm-5.1.5-64d59c
➤ YN0000:      22e4-10.zip/node_modules/styled-system/dist/index.js' implicitly has an
➤ YN0000:      'any' type.
➤ YN0000:        If the 'styled-system' package actually exposes this module, consider
➤ YN0000:      sending a pull request to amend 'https://github.com/DefinitelyTyped/Definit
➤ YN0000:      elyTyped/tree/master/types/styled-system'
➤ YN0000: 
➤ YN0000: 
➤ YN0000: .yarn/__virtual__/@atls-ui-parts-text-virtual-be182730bc/2/.yarn/berry/cache/@at
➤ YN0000: ls-ui-parts-text-npm-0.0.11-70c6e86690-10.zip/node_modules/@atls-ui-parts/text/d
➤ YN0000: ist/text.component.d.ts
➤ YN0000: 
➤ YN0000: TS701: Could not find a declaration file for module 'styled-system'.
➤ YN0000:      '/home/runner/work/reactjs/.yarn/berry/cache/styled-system-npm-5.1.5-64d59c
➤ YN0000:      22e4-10.zip/node_modules/styled-system/dist/index.js' implicitly has an
➤ YN0000:      'any' type.
➤ YN0000:        If the 'styled-system' package actually exposes this module, consider
➤ YN0000:      sending a pull request to amend 'https://github.com/DefinitelyTyped/Definit
➤ YN0000:      elyTyped/tree/master/types/styled-system'
➤ YN0000: 
➤ YN0000: 
➤ YN0000: .yarn/__virtual__/@atls-ui-parts-text-virtual-be182730bc/2/.yarn/berry/cache/@at
➤ YN0000: ls-ui-parts-text-npm-0.0.11-70c6e86690-10.zip/node_modules/@atls-ui-parts/text/d
➤ YN0000: ist/text.component.d.ts
➤ YN0000: 
➤ YN0000: TS701: Could not find a declaration file for module 'styled-system'.
➤ YN0000:      '/home/runner/work/reactjs/.yarn/berry/cache/styled-system-npm-5.1.5-64d59c
➤ YN0000:      22e4-10.zip/node_modules/styled-system/dist/index.js' implicitly has an
➤ YN0000:      'any' type.
➤ YN0000:        If the 'styled-system' package actually exposes this module, consider
➤ YN0000:      sending a pull request to amend 'https://github.com/DefinitelyTyped/Definit
➤ YN0000:      elyTyped/tree/master/types/styled-system'
➤ YN0000: 
➤ YN0000: 
➤ YN0000: .yarn/__virtual__/@atls-ui-parts-text-virtual-be182730bc/2/.yarn/berry/cache/@at
➤ YN0000: ls-ui-parts-text-npm-0.0.11-70c6e86690-10.zip/node_modules/@atls-ui-parts/text/d
➤ YN0000: ist/text.interfaces.d.ts
➤ YN0000: 
➤ YN0000: TS701: Could not find a declaration file for module 'styled-system'.
➤ YN0000:      '/home/runner/work/reactjs/.yarn/berry/cache/styled-system-npm-5.1.5-64d59c
➤ YN0000:      22e4-10.zip/node_modules/styled-system/dist/index.js' implicitly has an
➤ YN0000:      'any' type.
➤ YN0000:        If the 'styled-system' package actually exposes this module, consider
➤ YN0000:      sending a pull request to amend 'https://github.com/DefinitelyTyped/Definit
➤ YN0000:      elyTyped/tree/master/types/styled-system'
➤ YN0000: 
➤ YN0000: 
➤ YN0000: .yarn/__virtual__/@atls-ui-parts-text-virtual-be182730bc/2/.yarn/berry/cache/@at
➤ YN0000: ls-ui-parts-text-npm-0.0.11-70c6e86690-10.zip/node_modules/@atls-ui-parts/text/d
➤ YN0000: ist/text.interfaces.d.ts
➤ YN0000: 
➤ YN0000: TS701: Could not find a declaration file for module 'styled-system'.
➤ YN0000:      '/home/runner/work/reactjs/.yarn/berry/cache/styled-system-npm-5.1.5-64d59c
➤ YN0000:      22e4-10.zip/node_modules/styled-system/dist/index.js' implicitly has an
➤ YN0000:      'any' type.
➤ YN0000:        If the 'styled-system' package actually exposes this module, consider
➤ YN0000:      sending a pull request to amend 'https://github.com/DefinitelyTyped/Definit
➤ YN0000:      elyTyped/tree/master/types/styled-system'
➤ YN0000: 
➤ YN0000: 
➤ YN0000: .yarn/__virtual__/@atls-ui-parts-text-virtual-be182730bc/2/.yarn/berry/cache/@at
➤ YN0000: ls-ui-parts-text-npm-0.0.11-70c6e86690-10.zip/node_modules/@atls-ui-parts/text/d
➤ YN0000: ist/text.interfaces.d.ts
➤ YN0000: 
➤ YN0000: TS701: Could not find a declaration file for module 'styled-system'.
➤ YN0000:      '/home/runner/work/reactjs/.yarn/berry/cache/styled-system-npm-5.1.5-64d59c
➤ YN0000:      22e4-10.zip/node_modules/styled-system/dist/index.js' implicitly has an
➤ YN0000:      'any' type.
➤ YN0000:        If the 'styled-system' package actually exposes this module, consider
➤ YN0000:      sending a pull request to amend 'https://github.com/DefinitelyTyped/Definit
➤ YN0000:      elyTyped/tree/master/types/styled-system'
➤ YN0000: 
➤ YN0000: 
➤ YN0000: .yarn/__virtual__/@atls-ui-parts-text-virtual-be182730bc/2/.yarn/berry/cache/@at
➤ YN0000: ls-ui-parts-text-npm-0.0.11-70c6e86690-10.zip/node_modules/@atls-ui-parts/text/d
➤ YN0000: ist/text.interfaces.d.ts
➤ YN0000: 
➤ YN0000: TS701: Could not find a declaration file for module 'styled-system'.
➤ YN0000:      '/home/runner/work/reactjs/.yarn/berry/cache/styled-system-npm-5.1.5-64d59c
➤ YN0000:      22e4-10.zip/node_modules/styled-system/dist/index.js' implicitly has an
➤ YN0000:      'any' type.
➤ YN0000:        If the 'styled-system' package actually exposes this module, consider
➤ YN0000:      sending a pull request to amend 'https://github.com/DefinitelyTyped/Definit
➤ YN0000:      elyTyped/tree/master/types/styled-system'
➤ YN0000: 
➤ YN0000: 
➤ YN0000: packages/payment-widget/src/hooks/use-fields-render.hook.tsx:29:59
➤ YN0000: 
➤ YN0000: TS2339: Property 'placeholder' does not exist on type 'Field | NameField'.
➤ YN0000:         Property 'placeholder' does not exist on type 'NameField'.
➤ YN0000: 
➤ YN0000:   27 |     <ThemeProvider>
➤ YN0000:   28 |       {fields.map((field, index, currentFields) => {
➤ YN0000: > 29 |         const translatePlaceholder = translate(intl, field.placeholder,
➤ YN0000: field.placeholder)
➤ YN0000:      |                                                           ^
➤ YN0000:   30 |         const translateError = translate(intl, errors[field.name],
➤ YN0000: errors[field.name])
➤ YN0000:   31 |         const isNotLastField = index !== currentFields.length - 1
➤ YN0000:   32 |
➤ YN0000: 
➤ YN0000: 
➤ YN0000: packages/payment-widget/src/hooks/use-fields-render.hook.tsx:29:78
➤ YN0000: 
➤ YN0000: TS2339: Property 'placeholder' does not exist on type 'Field | NameField'.
➤ YN0000:         Property 'placeholder' does not exist on type 'NameField'.
➤ YN0000: 
➤ YN0000:   27 |     <ThemeProvider>
➤ YN0000:   28 |       {fields.map((field, index, currentFields) => {
➤ YN0000: > 29 |         const translatePlaceholder = translate(intl, field.placeholder,
➤ YN0000: field.placeholder)
➤ YN0000:      |
➤ YN0000:     ^
➤ YN0000:   30 |         const translateError = translate(intl, errors[field.name],
➤ YN0000: errors[field.name])
➤ YN0000:   31 |         const isNotLastField = index !== currentFields.length - 1
➤ YN0000:   32 |
➤ YN0000: 
➤ YN0000: 
➤ YN0000: packages/payment-widget/src/hooks/use-fields-render.hook.tsx:36:26
➤ YN0000: 
➤ YN0000: TS2339: Property 'type' does not exist on type 'Field | NameField'.
➤ YN0000:         Property 'type' does not exist on type 'NameField'.
➤ YN0000: 
➤ YN0000:   34 |           <React.Fragment key={field.name}>
➤ YN0000:   35 |             <MemoizedInput
➤ YN0000: > 36 |               type={field.type ?? 'text'}
➤ YN0000:      |                          ^
➤ YN0000:   37 |               name={field.name}
➤ YN0000:   38 |               placeholder={translatePlaceholder}
➤ YN0000:   39 |               required={field.required ?? false}
➤ YN0000: 
➤ YN0000: 
➤ YN0000: packages/payment-widget/src/hooks/use-fields-render.hook.tsx:39:30
➤ YN0000: 
➤ YN0000: TS2339: Property 'required' does not exist on type 'Field | NameField'.
➤ YN0000:         Property 'required' does not exist on type 'NameField'.
➤ YN0000: 
➤ YN0000:   37 |               name={field.name}
➤ YN0000:   38 |               placeholder={translatePlaceholder}
➤ YN0000: > 39 |               required={field.required ?? false}
➤ YN0000:      |                              ^
➤ YN0000:   40 |               value={fieldsState[field.name]}
➤ YN0000:   41 |               errorText={translateError}
➤ YN0000:   42 |               onChangeNative={handleChange}
➤ YN0000: 
➤ YN0000: 
➤ YN0000: └ Completed in 5s 860ms
➤ YN0000: Failed with errors in 5s 865ms
"name": "@atls/tinkoff-payment-widget",
"version": "0.0.3",
"license": "BSD-3-Clause",
Expand Down Expand Up @@ -27,7 +27,7 @@
"@emotion/react": "11.9.3",
"@emotion/styled": "11.9.3",
"@testing-library/react": "14.1.0",
"@types/react": "18.2.20",
"@types/react": "18.3.6",
"@types/react-dom": "18",
"@types/styled-system": "5.1.16",
"csstype": "3.1.2",
Expand Down
11 changes: 6 additions & 5 deletions packages/upload/package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
{
"name": "@atls/react-upload",
"version": "0.0.3",
"version": "0.1.0",
"license": "BSD-3-Clause",
"main": "src/index.ts",
"type": "module",
"files": [
"dist"
],
Expand All @@ -16,13 +17,13 @@
"graphql-request": "^4.0.0"
},
"devDependencies": {
"@types/react": "18.2.20",
"graphql": "^16.3.0",
"react": "18.2.0"
"@types/react": "18.3.6",
"graphql": "16.9.0",
"react": "^18.2.0"
Nelfimov marked this conversation as resolved.
Show resolved Hide resolved
},
"peerDependencies": {
"graphql": "^16.3.0",
"react": "^17.0.1"
"react": "^18.2.0"
},
"publishConfig": {
"access": "public",
Expand Down
2 changes: 1 addition & 1 deletion packages/upload/src/index.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export * from './use-upload.hook'
export * from './use-upload.hook.js'
4 changes: 2 additions & 2 deletions packages/upload/src/use-upload.hook.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { GraphQLClient } from 'graphql-request'
import { gql } from 'graphql-request'
import { useMemo } from 'react'

import { useGatewayUrl } from './use-gateway-url.hook'
import { useGatewayUrl } from './use-gateway-url.hook.js'

const uploadMutation = gql`
mutation CreateUpload($input: CreateUploadInput!) {
Expand Down Expand Up @@ -42,12 +42,12 @@ export interface UseUploadProps {
export const useUpload = ({ bucket, endpoint: defaultEndpoint }: UseUploadProps) => {
const endpoint = useGatewayUrl(defaultEndpoint)

// eslint-disable-next-line consistent-return
const client = useMemo(() => {
if (endpoint)
return new GraphQLClient(endpoint, {
credentials: 'include',
})
return null
}, [endpoint]) as GraphQLClient

return async (file: File) => {
Expand Down
2 changes: 1 addition & 1 deletion packages/user/package.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{

Check failure on line 1 in packages/user/package.json

View workflow job for this annotation

GitHub Actions / Release

Error release workspace @atls/react-user

Exit code 1
Raw output
➤ YN0000: ┌ Library Build
::group::Library Build
➤ YN0000: │ packages/user/src/with-user-loading.component.tsx:5:34
➤ YN0000: │ 
➤ YN0000: │ TS7031: Binding element 'children' implicitly has an 'any' type.
➤ YN0000: │ 
➤ YN0000: │   3 | import { Context }    from './user.context'
➤ YN0000: │   4 |
➤ YN0000: │ > 5 | export const WithUserLoading = ({ children }) => {
➤ YN0000: │     |                                  ^
➤ YN0000: │   6 |   const user = useContext(Context)
➤ YN0000: │   7 |
➤ YN0000: │   8 |   if (typeof user !== 'undefined') {
➤ YN0000: │ 
➤ YN0000: │ 
➤ YN0000: │ packages/user/src/with-user.component.ts:5:27
➤ YN0000: │ 
➤ YN0000: │ TS7031: Binding element 'children' implicitly has an 'any' type.
➤ YN0000: │ 
➤ YN0000: │   3 | import { Context }    from './user.context'
➤ YN0000: │   4 |
➤ YN0000: │ > 5 | export const WithUser = ({ children }) => {
➤ YN0000: │     |                           ^
➤ YN0000: │   6 |   const user = useContext(Context)
➤ YN0000: │   7 |
➤ YN0000: │   8 |   if (!user) {
➤ YN0000: │ 
➤ YN0000: │ 
➤ YN0000: │ packages/user/src/without-user.component.ts:5:30
➤ YN0000: │ 
➤ YN0000: │ TS7031: Binding element 'children' implicitly has an 'any' type.
➤ YN0000: │ 
➤ YN0000: │   3 | import { Context }    from './user.context'
➤ YN0000: │   4 |
➤ YN0000: │ > 5 | export const WithoutUser = ({ children }) => {
➤ YN0000: │     |                              ^
➤ YN0000: │   6 |   const user = useContext(Context)
➤ YN0000: │   7 |
➤ YN0000: │   8 |   if (user) {
➤ YN0000: │ 
➤ YN0000: │ 
➤ YN0000: │ packages/user/src/withouth-user.component.ts:5:30
➤ YN0000: │ 
➤ YN0000: │ TS7031: Binding element 'children' implicitly has an 'any' type.
➤ YN0000: │ 
➤ YN0000: │   3 | import { Context }    from './user.context'
➤ YN0000: │   4 |
➤ YN0000: │ > 5 | export const WithoutUser = ({ children }) => {
➤ YN0000: │     |                              ^
➤ YN0000: │   6 |   const user = useContext(Context)
➤ YN0000: │   7 |
➤ YN0000: │   8 |   if (user) {
➤ YN0000: │ 
➤ YN0000: │ 
::endgroup::
➤ YN0000: packages/user/src/with-user-loading.component.tsx:5:34
➤ YN0000: 
➤ YN0000: TS7031: Binding element 'children' implicitly has an 'any' type.
➤ YN0000: 
➤ YN0000:   3 | import { Context }    from './user.context'
➤ YN0000:   4 |
➤ YN0000: > 5 | export const WithUserLoading = ({ children }) => {
➤ YN0000:     |                                  ^
➤ YN0000:   6 |   const user = useContext(Context)
➤ YN0000:   7 |
➤ YN0000:   8 |   if (typeof user !== 'undefined') {
➤ YN0000: 
➤ YN0000: 
➤ YN0000: packages/user/src/with-user.component.ts:5:27
➤ YN0000: 
➤ YN0000: TS7031: Binding element 'children' implicitly has an 'any' type.
➤ YN0000: 
➤ YN0000:   3 | import { Context }    from './user.context'
➤ YN0000:   4 |
➤ YN0000: > 5 | export const WithUser = ({ children }) => {
➤ YN0000:     |                           ^
➤ YN0000:   6 |   const user = useContext(Context)
➤ YN0000:   7 |
➤ YN0000:   8 |   if (!user) {
➤ YN0000: 
➤ YN0000: 
➤ YN0000: packages/user/src/without-user.component.ts:5:30
➤ YN0000: 
➤ YN0000: TS7031: Binding element 'children' implicitly has an 'any' type.
➤ YN0000: 
➤ YN0000:   3 | import { Context }    from './user.context'
➤ YN0000:   4 |
➤ YN0000: > 5 | export const WithoutUser = ({ children }) => {
➤ YN0000:     |                              ^
➤ YN0000:   6 |   const user = useContext(Context)
➤ YN0000:   7 |
➤ YN0000:   8 |   if (user) {
➤ YN0000: 
➤ YN0000: 
➤ YN0000: packages/user/src/withouth-user.component.ts:5:30
➤ YN0000: 
➤ YN0000: TS7031: Binding element 'children' implicitly has an 'any' type.
➤ YN0000: 
➤ YN0000:   3 | import { Context }    from './user.context'
➤ YN0000:   4 |
➤ YN0000: > 5 | export const WithoutUser = ({ children }) => {
➤ YN0000:     |                              ^
➤ YN0000:   6 |   const user = useContext(Context)
➤ YN0000:   7 |
➤ YN0000:   8 |   if (user) {
➤ YN0000: 
➤ YN0000: 
➤ YN0000: └ Completed in 4s 415ms
➤ YN0000: Failed with errors in 4s 420ms
"name": "@atls/react-user",
"version": "0.1.44",
"license": "BSD 3-Clause",
Expand All @@ -12,7 +12,7 @@
"postpack": "rm -rf dist"
},
"devDependencies": {
"@types/react": "18.2.20",
"@types/react": "18.3.6",
"react": "18.2.0"
},
"peerDependencies": {
Expand Down
Loading
Loading