Skip to content

Commit

Permalink
Version bump
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickroberts committed Oct 7, 2020
1 parent 7ee5941 commit 2b5d34b
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "suspense-service",
"version": "0.0.3-rc",
"version": "0.0.4-rc",
"description": "Suspense integration library for React",
"repository": "github:patrickroberts/suspense-service",
"main": "dst/cjs/suspense-service.js",
Expand Down
6 changes: 3 additions & 3 deletions src/Context/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export default interface Context<T> {

/**
* Creates a keyed Context allowing multiple nested Providers to be accessible in the same scope
* @param defaultValue - the value consumed if no Provider is in scope and the consumer `id` is
* @param defaultValue the value consumed if no Provider is in scope and the consumer `id` is
* `null`
*/
export function createContext<T>(defaultValue: T): Context<T> {
Expand All @@ -43,8 +43,8 @@ export function createContext<T>(defaultValue: T): Context<T> {

/**
* Consumes a value from a ContextProvider
* @param context - which Context to use
* @param id - which ContextProvider to use
* @param context which Context to use
* @param id which ContextProvider to use
*/
export function useContext<T>(
context: Context<T>,
Expand Down
6 changes: 3 additions & 3 deletions src/Service/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export default interface Service<TRequest, TResponse> {

/**
* Creates a Service Context for providing asynchronous data
* @param handler - a asynchronous function for fetching data
* @param handler a asynchronous function for fetching data
*/
export function createService<TRequest, TResponse>(
handler: Handler<TRequest, TResponse>,
Expand All @@ -41,8 +41,8 @@ export function createService<TRequest, TResponse>(

/**
* Synchronously consumes a response from a ServiceProvider
* @param service - which Service to use
* @param id - which ServiceProvider to use
* @param service which Service to use
* @param id which ServiceProvider to use
*/
export function useService<TResponse>(
service: Service<any, TResponse>,
Expand Down

0 comments on commit 2b5d34b

Please sign in to comment.