File tree Expand file tree Collapse file tree 3 files changed +5
-8
lines changed
bitwarden-wasm-internal/src Expand file tree Collapse file tree 3 files changed +5
-8
lines changed Original file line number Diff line number Diff line change @@ -67,7 +67,7 @@ struct WasmIpcArgs {
67
67
async_trait : bool ,
68
68
}
69
69
70
- pub ( crate ) fn bitwarden_wasm_ipc_channel_internal (
70
+ pub ( crate ) fn extern_wasm_channel_internal (
71
71
attr : TokenStream ,
72
72
item : TokenStream ,
73
73
) -> Result < TokenStream , Error > {
Original file line number Diff line number Diff line change 1
1
#![ doc = include_str ! ( "../README.md" ) ]
2
2
3
- mod wasm_ipc ;
3
+ mod extern_wasm_channel ;
4
4
5
5
#[ proc_macro_attribute]
6
- pub fn bitwarden_wasm_ipc_channel (
6
+ pub fn extern_wasm_channel (
7
7
args : proc_macro:: TokenStream ,
8
8
item : proc_macro:: TokenStream ,
9
9
) -> proc_macro:: TokenStream {
10
- match wasm_ipc :: bitwarden_wasm_ipc_channel_internal ( args, item) {
10
+ match extern_wasm_channel :: extern_wasm_channel_internal ( args, item) {
11
11
Ok ( v) => v,
12
12
Err ( e) => proc_macro:: TokenStream :: from ( e. to_compile_error ( ) ) ,
13
13
}
Original file line number Diff line number Diff line change @@ -84,10 +84,7 @@ export interface CipherStore {
84
84
}
85
85
"# ;
86
86
87
- #[ bitwarden_ffi_macros:: bitwarden_wasm_ipc_channel(
88
- trait_impl = "DataStore<Cipher>" ,
89
- async_trait = true
90
- ) ]
87
+ #[ bitwarden_ffi_macros:: extern_wasm_channel( trait_impl = "DataStore<Cipher>" , async_trait = true ) ]
91
88
#[ wasm_bindgen]
92
89
extern "C" {
93
90
#[ wasm_bindgen( js_name = CipherStore , typescript_type = "CipherStore" ) ]
You can’t perform that action at this time.
0 commit comments