Skip to content
This repository has been archived by the owner on Jul 5, 2024. It is now read-only.

Commit

Permalink
fix: serializer -> serialize (#4)
Browse files Browse the repository at this point in the history
  • Loading branch information
KATT authored Sep 30, 2023
1 parent 0834fa3 commit 93a45a5
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 7 deletions.
12 changes: 7 additions & 5 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,18 @@


# [0.3.0](https://github.com/KATT/tupleson/compare/0.2.0...0.3.0) (2023-09-30)


### Features

* add readme ([#3](https://github.com/KATT/tupleson/issues/3)) ([b4e5ed6](https://github.com/KATT/tupleson/commit/b4e5ed679df7b56f901da0b937d2ba44d60ae356))
- add readme ([#3](https://github.com/KATT/tupleson/issues/3)) ([b4e5ed6](https://github.com/KATT/tupleson/commit/b4e5ed679df7b56f901da0b937d2ba44d60ae356))

# 0.2.0 (2023-09-30)

### Features

- add `createTupleson` fn and more ([#2](https://github.com/KATT/tupleson/issues/2)) ([72910ae](https://github.com/KATT/tupleson/commit/72910ae35c55581b860207e8e45ac098f5bef6ad))

# 0.1.0 (2023-09-30)

### Features

- initial version ([#1](https://github.com/KATT/tupleson/issues/1)) ([ccce25b](https://github.com/KATT/tupleson/commit/ccce25b6a039cf2e5c1a774c1ab022f0946ca8d5))
- initialized repo ✨ ([c9e92a4](https://github.com/KATT/tupleson/commit/c9e92a42c97a8bc1ee3a9214f65626425c8598e3))
- initialized repo ✨ ([c9e92a4](https://github.com/KATT/tupleson/commit/c9e92a42c97a8bc1ee3a9214f65626425c8598e3))
2 changes: 1 addition & 1 deletion src/tson.ts
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,6 @@ function mapOrReturn(
export const createTupleson = (opts: TsonOptions) => ({
deserialize: tsonDeserializer(opts),
parse: tsonParser(opts),
serializer: tsonSerializer(opts),
serialize: tsonSerializer(opts),
stringify: tsonStringifier(opts),
});
2 changes: 1 addition & 1 deletion src/types.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ test("types", () => {
}

{
const serialized = t.serializer(expected);
const serialized = t.serialize(expected);
// ^?
const deserialized = t.deserialize(serialized);
// ^?
Expand Down

0 comments on commit 93a45a5

Please sign in to comment.