Skip to content

Commit

Permalink
fix: slow types
Browse files Browse the repository at this point in the history
  • Loading branch information
load1n9 committed Sep 30, 2024
1 parent 531fc70 commit 7248029
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions Cargo.lock

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

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[workspace]
package.version = "0.4.1"
package.version = "0.4.2"
members = ["crates/*"]
resolver = "2"

Expand Down
2 changes: 1 addition & 1 deletion deno.jsonc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@denosaurs/netsaur",
"version": "0.4.1",
"version": "0.4.2",
"exports": {
".": "./mod.ts",
"./web": "./web.ts",
Expand Down
2 changes: 1 addition & 1 deletion packages/core/src/backends/cpu/mod.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const options: FetchOptions = {
name: "netsaur",
url: new URL(import.meta.url).protocol !== "file:"
? new URL(
"https://github.com/denosaurs/netsaur/releases/download/0.4.1/",
"https://github.com/denosaurs/netsaur/releases/download/0.4.2/",
import.meta.url,
)
: "./target/release/",
Expand Down
2 changes: 1 addition & 1 deletion packages/core/src/backends/gpu/mod.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const options: FetchOptions = {
name: "netsaur_gpu",
url: new URL(import.meta.url).protocol !== "file:"
? new URL(
"https://github.com/denosaurs/netsaur/releases/download/0.4.1/",
"https://github.com/denosaurs/netsaur/releases/download/0.4.2/",
import.meta.url,
)
: "./target/release/",
Expand Down
2 changes: 1 addition & 1 deletion packages/core/src/backends/wasm/mod.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export class WASMInstance {
await instantiate({
url: new URL(import.meta.url).protocol !== "file:"
? new URL(
"https://github.com/denosaurs/netsaur/releases/download/0.4.1/netsaur_bg.wasm",
"https://github.com/denosaurs/netsaur/releases/download/0.4.2/netsaur_bg.wasm",
import.meta.url,
)
: undefined,
Expand Down
2 changes: 1 addition & 1 deletion packages/tokenizers/mod.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export async function init(): Promise<void> {
await instantiate({
url: new URL(import.meta.url).protocol !== "file:"
? new URL(
"https://github.com/denosaurs/netsaur/releases/download/0.4.1/netsaur_tokenizers_bg.wasm",
"https://github.com/denosaurs/netsaur/releases/download/0.4.2/netsaur_tokenizers_bg.wasm",
import.meta.url,
)
: undefined,
Expand Down

0 comments on commit 7248029

Please sign in to comment.