Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ export default class Phase {
encrypt = async (
plaintext: string,
tag: string = ""
): Promise<PhaseCiphertext | undefined> => {
): Promise<PhaseCiphertext> => {
await _sodium.ready;
const sodium = _sodium;

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@phase.dev/phase-node",
"version": "0.2.1",
"version": "0.2.2",
"description": "Node.js Server SDK for Phase",
"main": "dist/index.js",
"types": "dist/index.d.ts",
Expand Down
9 changes: 1 addition & 8 deletions version.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1 @@
/*
DO NOT UPDATE THIS VALUE MANUALLY

This value is automatically updated by the `prebuild` script based on the package version.
Running the build script will automatically update this.
*/

export const LIB_VERSION = "0.2.1";
export const LIB_VERSION = "0.2.2";