Skip to content
Draft
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
1 change: 0 additions & 1 deletion .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,6 @@ jobs:
test -f rivetkit-typescript/packages/rivetkit-wasm/pkg/rivetkit_wasm.js
test -f rivetkit-typescript/packages/rivetkit-wasm/pkg/rivetkit_wasm.d.ts
test -f rivetkit-typescript/packages/rivetkit-wasm/pkg/rivetkit_wasm_bg.wasm

- name: Place native binaries in platform packages
run: |
NATIVE_DIR=rivetkit-typescript/packages/rivetkit-napi
Expand Down
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,9 @@
"@codemirror/autocomplete": "6.18.7",
"@codemirror/commands": "6.8.1",
"@codemirror/lint": "6.8.5"
},
"patchedDependencies": {
"wasm-pack@0.14.0": "patches/wasm-pack@0.14.0.patch"
}
}
}
13 changes: 13 additions & 0 deletions patches/wasm-pack@0.14.0.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
diff --git a/binary.js b/binary.js
index 7f0472a1f80325d4b75860f0ec9f784779a90c01..f9d1fae49b5bb6dd6baa1a8e268c8aa930fe299a 100644
--- a/binary.js
+++ b/binary.js
@@ -31,7 +31,7 @@ const getPlatform = () => {
const getBinary = () => {
const platform = getPlatform();
const version = require("./package.json").version;
- const author = "drager";
+ const author = "wasm-bindgen";
const name = "wasm-pack";
const url = `https://github.com/${author}/${name}/releases/download/v${version}/${name}-v${version}-${platform}.tar.gz`;
return new Binary(platform === windows ? "wasm-pack.exe" : "wasm-pack", url, {
9 changes: 7 additions & 2 deletions pnpm-lock.yaml

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

Loading