Skip to content

Commit

Permalink
Expose getDefaultPusher
Browse files Browse the repository at this point in the history
Current workaround is:

function getDefaultPusher() {
	const r = new Replicache({ name: "foo", licenseKey: "bar" })
	return r.pusher
}
  • Loading branch information
masylum authored and aboodman committed Dec 19, 2024
1 parent 68e1c2e commit 3fefbba
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/replicache/src/mod.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ export type {
} from './error-responses.js';
export {filterAsyncIterable} from './filter-async-iterable.js';
export {getDefaultPuller} from './get-default-puller.js';
export {getDefaultPusher} from './get-default-pusher.js';
export type {HTTPRequestInfo} from './http-request-info.js';
export type {IndexDefinition, IndexDefinitions} from './index-defs.js';
export type {IterableUnion} from './iterable-union.js';
Expand Down

0 comments on commit 3fefbba

Please sign in to comment.