@@ -45,24 +45,6 @@ use wasm_bindgen::prelude::*;
4545// res.json({ groupId, peerId, token });
4646// });
4747// ```
48- //
49- // If any of the following methods are present, you should NOT use them:
50- //
51- // free
52- //
53- // __destroy_into_raw
54- //
55- // __wbg_getTime_* - internal method do not use
56- //
57- // __wbg_new0_* - internal method do not use
58- //
59- // __wbg_new_* - internal method do not use
60- //
61- // __wbg_set_wasm - internal method do not use
62- //
63- // __wbindgen_init_externref_table - internal method do not use
64- //
65- // __wbindgen_throw - internal method do not use
6648
6749#[ derive( Error , Debug ) ]
6850pub struct AppError {
@@ -107,10 +89,6 @@ impl From<anyhow::Error> for AppError {
10789/// read by PulseBeam's signaling servers.
10890///
10991/// To learn about claims see JWT RFC {@link https://datatracker.ietf.org/doc/html/rfc7519}
110- ///
111- /// `free()` - internal method do not use
112- ///
113- /// `__destroy_into_raw()` - internal method do not use
11492#[ wasm_bindgen]
11593#[ derive( Debug , PartialEq , Serialize , Deserialize , Default , Clone ) ]
11694pub struct PeerClaims {
@@ -169,10 +147,6 @@ impl PeerClaims {
169147/// allowed to talk with other non-developers. If you put all non-developers in
170148/// group called 'nonDev', you could set `PeerPolicy("nonDev", "*")` on
171149/// those peers to configure this behavior.
172- ///
173- /// `free()` - internal method do not use
174- ///
175- /// `__destroy_into_raw()` - internal method do not use
176150#[ wasm_bindgen]
177151#[ derive( Debug , PartialEq , Serialize , Deserialize , Clone ) ]
178152pub struct PeerPolicy {
@@ -224,10 +198,6 @@ impl PeerPolicy {
224198/// You are required to set `PeerPolicy` as network rules on `PeerClaims`
225199/// in order for resultant token to be valid.
226200///
227- /// `free()` - internal method do not use
228- ///
229- /// `__destroy_into_raw()` - internal method do not use
230- ///
231201/// # Examples
232202///
233203/// ```ts
0 commit comments