Skip to content

Commit 21127ff

Browse files
committed
fix(codec): fix wasm descirbe for base64engine
1 parent 4ea6c5d commit 21127ff

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

dev-utility/src/core/codec.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ use universal_function_macro::universal_function;
2222

2323
#[derive(Debug, Serialize, Deserialize)]
2424
#[serde(rename_all = "snake_case")]
25+
#[cfg_attr(target_arch = "wasm32", derive(tsify::Tsify))]
26+
#[cfg_attr(target_arch = "wasm32", tsify(into_wasm_abi, from_wasm_abi))]
2527
pub enum Base64Engine {
2628
Standard,
2729
UrlSafe,

0 commit comments

Comments
 (0)