Skip to content

Commit

Permalink
chore: re-export IMomentoCache (#962)
Browse files Browse the repository at this point in the history
This type is needed to mock the library in third party unit tests.
  • Loading branch information
malandis authored Oct 6, 2023
1 parent 1c6a68b commit f4ce3f4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/client-sdk-nodejs/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ export * from '@gomomento/sdk-core/dist/src/messages/responses/vector';

import {
ICacheClient,
IMomentoCache,
SubscribeCallOptions,
CacheInfo,
CollectionTtl,
Expand Down Expand Up @@ -191,6 +192,7 @@ export {ExampleAsyncMiddleware} from './config/middleware/example-async-middlewa

export {
ICacheClient,
IMomentoCache,
CollectionTtl,
ItemType,
SortedSetOrder,
Expand Down
2 changes: 2 additions & 0 deletions packages/client-sdk-web/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ import * as GenerateDisposableToken from '@gomomento/sdk-core/dist/src/messages/

import {
ICacheClient,
IMomentoCache,
SubscribeCallOptions,
CacheInfo,
CollectionTtl,
Expand Down Expand Up @@ -145,6 +146,7 @@ export {

export {
ICacheClient,
IMomentoCache,
CollectionTtl,
ItemType,
SortedSetOrder,
Expand Down

0 comments on commit f4ce3f4

Please sign in to comment.