@suspensive/react-await
Advanced tools
Comparing version 0.0.19 to 0.1.0
@@ -7,2 +7,5 @@ import * as react_jsx_runtime from 'react/jsx-runtime'; | ||
type Key = Tuple; | ||
/** | ||
* @experimental This is experimental feature. | ||
*/ | ||
type AwaitOptions<TData, TKey extends Key> = { | ||
@@ -50,2 +53,2 @@ key: TKey; | ||
export { Await, type AwaitProps, type Key, awaitClient, useAwait }; | ||
export { Await, type AwaitOptions, type AwaitProps, type Key, awaitClient, useAwait }; |
@@ -6,3 +6,4 @@ "use client" | ||
useAwait | ||
} from "./chunk-WVMIBFHO.js"; | ||
} from "./chunk-RXAZJWD4.js"; | ||
import "./chunk-HVDFXOFP.js"; | ||
export { | ||
@@ -9,0 +10,0 @@ Await, |
@@ -1,3 +0,4 @@ | ||
export { Await, AwaitProps, awaitClient, useAwait } from './Await.js'; | ||
export { Await, AwaitOptions, AwaitProps, awaitClient, useAwait } from './Await.js'; | ||
export { awaitOptions } from './awaitOptions.js'; | ||
import 'react/jsx-runtime'; | ||
import 'react'; |
@@ -6,8 +6,13 @@ "use client" | ||
useAwait | ||
} from "./chunk-WVMIBFHO.js"; | ||
} from "./chunk-RXAZJWD4.js"; | ||
import { | ||
awaitOptions | ||
} from "./chunk-GX4OQ2V5.js"; | ||
import "./chunk-HVDFXOFP.js"; | ||
export { | ||
Await, | ||
awaitClient, | ||
awaitOptions, | ||
useAwait | ||
}; | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "@suspensive/react-await", | ||
"version": "0.0.19", | ||
"version": "0.1.0", | ||
"description": "Useful interfaces for React Suspense", | ||
@@ -17,6 +17,3 @@ "keywords": [ | ||
"license": "MIT", | ||
"author": { | ||
"name": "Jonghyeon Ko", | ||
"email": "jonghyeon@toss.im" | ||
}, | ||
"author": "Jonghyeon Ko <jonghyeon@toss.im>", | ||
"sideEffects": false, | ||
@@ -45,3 +42,3 @@ "type": "module", | ||
"devDependencies": { | ||
"@types/react": "^18.3.2", | ||
"@types/react": "^18.3.3", | ||
"@types/react-dom": "^18.3.0", | ||
@@ -51,5 +48,5 @@ "react": "^18.3.1", | ||
"@suspensive/eslint-config": "0.0.0", | ||
"@suspensive/react": "2.0.5", | ||
"@suspensive/react": "2.6.0", | ||
"@suspensive/tsconfig": "0.0.0-development", | ||
"@suspensive/test-utils": "0.0.0", | ||
"@suspensive/tsconfig": "0.0.0-development", | ||
"@suspensive/tsup": "0.0.0" | ||
@@ -68,8 +65,8 @@ }, | ||
"ci:publint": "publint --strict", | ||
"ci:test": "vitest run --coverage --typecheck", | ||
"ci:test:watch": "vitest --ui --coverage --typecheck", | ||
"ci:type": "tsc --noEmit", | ||
"clean": "rimraf ./dist && rimraf ./coverage", | ||
"dev": "tsup --watch", | ||
"test": "vitest run --coverage --typecheck", | ||
"test:watch": "vitest --ui --coverage --typecheck" | ||
"dev": "tsup --watch" | ||
} | ||
} |
export { Await, useAwait, awaitClient } from './Await' | ||
export { awaitOptions } from './awaitOptions' | ||
export type { AwaitProps } from './Await' | ||
export type { AwaitProps, AwaitOptions } from './Await' |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
75799
42
1195