Skip to content

Commit

Permalink
Exported lower level record utilities
Browse files Browse the repository at this point in the history
  • Loading branch information
bvaughn committed Mar 8, 2023
1 parent c16198a commit d5040e2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/suspense/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
## 0.0.21
* Fix bug where `createCache` subscribers were not notified after `evict` or `evictAll`.
* Renamed `STATUS_NOT_STARTED` ("not-started") status to `STATUS_NOT_FOUND` ("not-found") for better semantics.
* Exposed/exported some of the lower-level record utilities for creating custom cache types.

## 0.0.20
* Fixed type definition for `createStreamingCache` `StreamingCacheLoadOptions` param.
Expand Down
2 changes: 2 additions & 0 deletions packages/suspense/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,11 @@ export * from "./hooks/useCacheMutation";
export * from "./hooks/useCacheStatus";
export * from "./hooks/useImperativeCacheValue";
export * from "./hooks/useStreamingValue";
export * from "./utils/assertRecordStatus";
export * from "./utils/createDeferred";
export * from "./utils/createInfallibleCache";
export * from "./utils/isPromiseLike";
export * from "./utils/isRecordStatus";
export * from "./utils/parallelize";

// TypeScript types
Expand Down

0 comments on commit d5040e2

Please sign in to comment.