Skip to content

Commit

Permalink
Release v0.10.1
Browse files Browse the repository at this point in the history
Expose public UndoRedo type
  • Loading branch information
acurrieclark committed Sep 20, 2023
1 parent fbb9d1f commit a450840
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@onsetsoftware/automerge-store",
"version": "0.10.0",
"version": "0.10.1",
"type": "module",
"scripts": {
"dev": "vite",
Expand Down
2 changes: 1 addition & 1 deletion src/automerge-store.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ const isPatches = (arg: UndoRedoAction): arg is Patch[] => {
return Array.isArray(arg);
};

type UndoRedo = {
export type UndoRedo = {
undo: UndoRedoAction;
redo: UndoRedoAction;
};
Expand Down
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export { AutomergeStore } from "./automerge-store";
export { AutomergeRepoStore } from "./automerge-repo-store";

export type { AutomergeStoreOptions } from "./automerge-store";
export type { AutomergeStoreOptions, UndoRedo } from "./automerge-store";

0 comments on commit a450840

Please sign in to comment.