Skip to content

Commit

Permalink
Update ts-lib/package.json; Include ts-lib build
Browse files Browse the repository at this point in the history
  • Loading branch information
Senryoku committed Oct 31, 2023
1 parent 5e3be7e commit 814e3d0
Show file tree
Hide file tree
Showing 15 changed files with 251 additions and 10 deletions.
1 change: 0 additions & 1 deletion ts-lib/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ pnpm-debug.log*
lerna-debug.log*

node_modules
dist
dist-ssr
*.local

Expand Down
Empty file added ts-lib/.npmignore
Empty file.
8 changes: 8 additions & 0 deletions ts-lib/dist/common.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
export declare function copyToWasmBuffer(str: string, exports: {
allocUint8: (size: number) => number;
memory: any;
}): {
ptr: number;
length: number;
};
export declare function Uint16ArraytoString(buf: Uint16Array): string;
2 changes: 2 additions & 0 deletions ts-lib/dist/smol-string-packed.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
export declare function compressPacked(str: string): string;
export declare function decompressPacked(compressedStr: string): string;
42 changes: 42 additions & 0 deletions ts-lib/dist/smol-string-packed.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions ts-lib/dist/smol-string-worker-packed.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
export declare function compress(data: string): Promise<unknown>;
export declare function decompress(data: string): Promise<unknown>;
37 changes: 37 additions & 0 deletions ts-lib/dist/smol-string-worker-packed.js

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions ts-lib/dist/smol-string-worker.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
export declare function compress(data: string): Promise<unknown>;
export declare function decompress(data: string): Promise<unknown>;
37 changes: 37 additions & 0 deletions ts-lib/dist/smol-string-worker.js

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions ts-lib/dist/smol-string.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
export declare function compress(str: string): string;
export declare function decompress(compressedStr: string): string;
Loading

0 comments on commit 814e3d0

Please sign in to comment.