Skip to content

Commit

Permalink
file update~
Browse files Browse the repository at this point in the history
  • Loading branch information
Taromatibot committed Jan 2, 2024
1 parent 07ce9ac commit 8835039
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 33 deletions.
11 changes: 5 additions & 6 deletions dist/cn/jsstp.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,8 @@ declare class base_sstp_info_t<key_T=PropertyKey,value_T=any> extends info_objec
/**
* 获取字符串报文
* @returns {String} 字符串报文
* @ignore
*/
/*@__PURE__*/TextContent(): String;
/*@__PURE__*/get text_content(): String;
/**
* 获取用于`JSON.stringify`的对象
* @returns {Object} 用于`JSON.stringify`的对象
Expand Down Expand Up @@ -281,13 +280,13 @@ declare class list_info_t extends base_sstp_info_t<number,string> {
* @ignore
*/
/*@__PURE__*/constructor(list_text: String)
/*@__PURE__*/toString(): String
/**
* 获取字符串报文
* @returns {String} 字符串报文
* 获取值的字符串形式
* @returns {String} 值的字符串形式,类似于`${this.values}`
* @summary 这不是获取字符串报文的方法。如果需要获取字符串报文,请使用{@link list_info_t.text_content}
* @ignore
*/
/*@__PURE__*/TextContent(): String
/*@__PURE__*/toString(): String
/**
* 获取用于`JSON.stringify`的对象
* @returns {Object} 用于`JSON.stringify`的对象
Expand Down
17 changes: 5 additions & 12 deletions dist/en/jsstp.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,8 @@ declare class base_sstp_info_t<key_T=PropertyKey,value_T=any> extends info_objec
/**
* Getting a String Message
* @returns {String} String message.
* @ignore
*/
/*@__PURE__*/TextContent(): String;
/*@__PURE__*/get text_content(): String;
/**
* Get the object to use for `JSON.stringify`.
* @returns {Object} The object to use for `JSON.stringify`.
Expand Down Expand Up @@ -282,19 +281,13 @@ declare class list_info_t extends base_sstp_info_t<number,string> {
* @ignore
*/
/*@__PURE__*/constructor(list_text: String)
/*@__PURE__*/toString(): String
/**
* Gets the string message
* @returns {String} String message
* @ignore
*/
/*@__PURE__*/TextContent(): String
/**
* Gets the object for `JSON.stringify`
* @returns {Object} Object for `JSON.stringify`
* Get the string representation of the value
* @returns {String} The string representation of the value, similar to `${this.values}`
* @summary This is not a method to get the string message. If you need to get the string message, please use {@link list_info_t.text_content}
* @ignore
*/
/*@__PURE__*/toJSON(): Object
/*@__PURE__*/toString(): String
/**
* Gets the iterator
* @returns {Iterator<Array<String>>} Iterator
Expand Down
17 changes: 5 additions & 12 deletions dist/jp/jsstp.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,8 @@ declare class base_sstp_info_t<key_T=PropertyKey,value_T=any> extends info_objec
/**
* 文字列メッセージの取得
* @returns {String} 文字列メッセージ。
* @ignore
*/
/*@__PURE__*/TextContent(): String;
/*@__PURE__*/get text_content(): String;
/**
* `JSON.stringify` で使用するオブジェクトを取得する。
* @returns {Object} `JSON.stringify` で使用するオブジェクト。
Expand Down Expand Up @@ -282,19 +281,13 @@ declare class list_info_t extends base_sstp_info_t<number,string> {
* @ignore
*/
/*@__PURE__*/constructor(list_text: String)
/*@__PURE__*/toString(): String
/**
* 文字列メッセージの取得
* @returns {String} 文字列メッセージ
* 値の文字列形式を取得します
* @returns {String} 値の文字列形式、`${this.values}`と同様
* @summary これは文字列メッセージを取得するメソッドではありません。文字列メッセージを取得するには、{@link list_info_t.text_content}を使用してください
* @ignore
*/
/*@__PURE__*/TextContent(): String
/**
* `JSON.stringify`用オブジェクトの取得
* @returns {Object} `JSON.stringify` 用のオブジェクト。
* @ignore
*/
/*@__PURE__*/toJSON(): Object
/*@__PURE__*/toString(): String
/**
* イテレータ取得
* @returns {Iterator<Array<String>>} イテレータ
Expand Down
2 changes: 1 addition & 1 deletion dist/jsstp.cjs
Original file line number Diff line number Diff line change
@@ -1 +1 @@
eval(((t,s,r,n,o)=>{if(n=t=>(t<62?"":n(parseInt(t/62)))+(35<(t%=62)?String.fromCharCode(t+29):t.toString(36)),!"".replace(/^/,String)){for(;s--;)o[n(s)]=r[s]||n(s);r=[t=>o[t]],n=t=>"\\w+",s=1}for(;s--;)r[s]&&(t=t.replace(RegExp(`\\b${n(s)}\\b`,"g"),r[s]));return t})('9 t,s=x.1v,e="\\r\\n",r="",n="X-1w-1Z-",h="1x",k=(t,s)=>{9 e=t.20(s);6[t.18(0,e),t.18(e+s.I)]},o=(t,s)=>x(t)21 s,a=(t,s,e)=>(t[s]=e,1),u=(e,r,i)=>{6 j V(e,s({7:(n=r,(s,e)=>{9 r;22(!n.t?.(s,e))6(r=o(e,23)?n.i?.(s,e):n.h?.(s,e))!==t?r:n.k?n.k(s,e):o(r=s[e],1y)?r.1z(s):r}),19:a},i));9 n};z l J 1y{A(t){6 x.24(t,j.25.1a)}}9 c=t=>{26 t},f=t=>"27://1A:"+(t??28),g=29.2a?2b.2c:f(2d.2e.2f),p=/^\\w+:\\/\\/1A/.1b(g)?"W":"Y",d=t=>s({},t);z v{A(t){x.1v(5,t)}7 Z(){6 x.Z(5)}7 K(){6 x.K(5)}7 E(){6 x.E(5)}7 I(){6 5.Z.I}10(t){5.E.10(([s,e])=>{5[s]=t(e,s)??e})}7 1c(){6 s(b(),5)}1d(t){m s=[];6 5.E.L(([e,r])=>s.11(...o(r,v)?r.1d(t.1z(t,e)):[t(e,r)])),s}L(t){6 5.E.L(([s,e])=>t(e,s))}11(s){6 s.10(s=>s?5[s[0]]=s[1]:t),5}1B(t){6 5.E.1B(([s,e])=>t(e,s))}}9 b=t=>j v(t);z q J v{#t;#s;A(t,s,e){Q(s),5.#t=t,5.#s=e||[]}7 1C(){6 5.#s||[]}7 B(){6 5.#t}12(){6[5.#t,...5.#s,...5.E.L(([t,s])=>t+": "+s),r,r].1e(e)}1f(){6{B:5.#t,1C:5.#s,1D:5.1c}}7 2g(){6+5.#t.13(" ").1E(t=>(t=+t)==t)}}2h y(t){6(t=t.13(e)).I-=2,t}z C J q{A(s){m r,[i,...h]=y(s),o={},a=[];1g(m t 1F h){m[s,i]=k(t,": ");/^\\w[^\\s]*$/.1b(s)?o[r=s]=i:r?o[r]+=e+t:a.11(t)}6 Q(i,o,a),u(5,{i:(s,e)=>n+e 1h s&&!x.2i(C.1a).1G(e)?s.1H(e):t})}1H(t){6 5[n+t]}#e;7 2j(){6 5.#e??=b().11(5.L((s,e)=>e.1i(n)?[e.2k(16),s]:t))}7 2l(){6 5}}z M J q{A(t){9[t,,...r]=y(t);Q(t,r)}2m(){6 1==5.I?5[0]:2n(5.K)}12(){6[5.B,r,...5.K,r,r].1e(e)}1f(){6{B:5.B,2o:5.K}}[1I.1J](){6 5.K[1I.1J]()}}z N J q{A(t){9[t,,...r]=y(t);Q(t,{});1g(m t 1F r){m[s,e]=k(t,""),[r,i]=k(s,".");(5[r]||=b())[i]=e}}2p(t,s){6 5.1j.1E(e=>5[e][t]==s)}2q(t){6 5.1j.L(s=>5[s][t])}7 1j(){6 5.Z}7 R(){6!!5.I}12(){6[5.B,r,...5.1d((t,s,e)=>t+"."+s+""+e),r,r].1e(e)}1f(){6{B:5.B,2r:5.1c}}}z O J l{#r;#i;#n;#h;#k;A(t){Q((t,s=5.D)=>5.1K(t,s)),5.#r=t,5.D=t.D}1k 1K(t,s=5.D){6 5.#n?5.#h[s].1G(t):!!5.#i&&(5.#k[s][t]??=S 5.#r.14(t))}7 R(){6 5.#i}7 2s(){6 5.#n}2t(){6 5.1L(),5.1l()}1k 1l(){9 t=5.#r;6 5.#i=S t.14("1M"),5.#n=5.#i&&S t.14("1N"),5.#n&&(5.#h=S t.1O()),5}1L(){5.#i=5.#n=!1,5.#k={W:{},Y:{}}}}z F{#o;A(s,e){6 5.15={2u:g},5.G={2v:"2w-8"},5.T=e,5.1m=s,5.U={1x:1.4,2x:1.1,2y:1.1,1P:1.2,2z:1.1},5.D=p,5.1n=u(5,{i:(s,e)=>o(s.U[e],2A)?s.H(e):/^2B/.1b(e)?s.17[(t=>"k"==t[2]?t.18(3):t)(e)]:e.1i("2C")?s.1o[e].1p(M):e.1i("2D")?s.1o[e]:t})}7 1Q(){6 s(j F,{15:d(5.15),G:d(5.G),D:5.D,U:d(5.U),T:5.T,1q:5.1q})}1R(t){9 s=5.1Q;6 s.1q=t,s.G.2E=t.2F,s}1S(t){m s=b();6 5.1r().P(e=>{1g(9 r 1h e)s[r]=t?.(e[r]);6 s})}2G(t){6 5.1S(s=>t?.(5.1R(s)))}19 T(t){5.#o=t||f()+"/2H/2I/2J"}7 T(){6 5.#o}19 1m(t){5.G.1T=t||"1U-2K"}7 1m(){6 5.G.1T}1k 1V(t){6 2L!=(t=S 2M(5.#o,{2N:"2O",2P:5.15,1D:t})).1W&&c(t.1W),t.2Q()}1s(t,s){6 5.1V(j q(t,{...5.G,...s}).12())}1X(t,s,e=C){6 5.1s(t,s).P(t=>j e(t))}H(t,e=C,r=t=>t){m i=t+" 1w/"+5.U[t];6 s((...t)=>5.1X(i,r(...t),e),{2R:(...t)=>5.1s(i,r(...t)),1p:s=>5.H(t,s,r),1Y:s=>5.H(t,e,s)})}1t(t,e,r=5.H(h),i=t=>t){6 j V(r.1Y((...r)=>s({[t]:e},i(...r))),{7:(s,n)=>n 1h s?s[n]:5.1t(t,e+"."+n,r,i)})}1u(t,s,e=5.H(h)){6 5.1t(t,s,e,(...t)=>{m s=0,e={};6 t.10(t=>e["2S"+s++]=t),e})}7 17(){6 j V({},{7:(t,s)=>5.1u("2T",s)})}7 1o(){6 j V({},{7:(t,s)=>5.1u("2U",s,5.H("1P"))})}14(t,s=5.D){6 5.17.1M(t,s).P(({2V:t})=>1==t)}1O(){6 5.17.1N().P(({W:t,Y:s})=>({W:(t||r).13(","),Y:(s||r).13(",")}))}1r(){6 5.1n.2W.1p(N)()}R(){6 5.1r().P(t=>t.R,t=>!1)}2X(t){6 5.R().P(s=>s?t?.(5.1n):c())}2Y(){6 j O(5).1l()}}s(F.1a,{2Z:F,q:q,C:C,M:M,N:N,O:O});9 w=j F;s(30,{q:q,31:w,N:N,O:O,1U:w,F:F,M:M,C:C,32:!0})',189,"|||||this|return|get||var||||||||||new|_||let||||base_sstp_info_t|||||||Object||class|constructor|head|sstp_info_t|default_security_level|entries|jsstp_t|default_info|get_caller_of_method|length|extends|values|map|list_info_t|fmo_info_t|ghost_events_queryer_t|then|super|available|await|host|sstp_version_table|Proxy|local||external|keys|forEach|push|TextContent|split|has_event|RequestHeader||event|substring|set|prototype|test|trivial_clone|flat_map|join|toJSON|for|in|startsWith|uuids|async|init|sendername|proxy|command|with_type|ghost_info|get_fmo_infos|costom_text_send|get_caller_of_key|get_simple_caller_of_key|assign|SSTP|SEND|Function|bind|localhost|every|unknown_lines|body|find|of|includes|get_passthrough|Symbol|iterator|check_event|clear|Has_Event|Get_Supported_Events|get_supported_events|EXECUTE|clone|by_fmo_info|for_all_ghost_infos|Sender|jsstp|row_send|status|costom_send|bind_args_processor|PassThru|indexOf|instanceof|if|String|setPrototypeOf|target|throw|http|9801|globalThis|window|location|origin|process|env|PORT|status_code|function|getOwnPropertyNames|passthroughs|slice|raw|toString|to_string|data|get_uuid_by|get_list_of|fmo_infos|fast_query_available|reset|Origin|Charset|UTF|NOTIFY|COMMUNICATE|GIVE|Number|On|Get|Set|ReceiverGhostHWnd|hwnd|for_all_ghosts|api|sstp|v1|client|200|fetch|method|POST|headers|text|get_raw|Reference|Event|Command|Result|GetFMO|if_available|new_event_queryer|type|exports|default|__esModule".split("|"),0,{}))
eval(((t,s,r,n,o)=>{if(n=t=>(t<62?"":n(parseInt(t/62)))+(35<(t%=62)?String.fromCharCode(t+29):t.toString(36)),!"".replace(/^/,String)){for(;s--;)o[n(s)]=r[s]||n(s);r=[t=>o[t]],n=t=>"\\w+",s=1}for(;s--;)r[s]&&(t=t.replace(RegExp(`\\b${n(s)}\\b`,"g"),r[s]));return t})('9 t,s=x.1v,e="\\r\\n",r="",i="X-1w-1Z-",h="1x",k=(t,s)=>{9 e=t.20(s);6[t.18(0,e),t.18(e+s.P)]},o=(t,s)=>x(t)21 s,a=(t,s,e)=>(t[s]=e,1),u=(e,r,n)=>{6 j V(e,s({7:(i=r,(s,e)=>{9 r;22(!i.t?.(s,e))6(r=o(e,23)?i.i?.(s,e):i.h?.(s,e))!==t?r:i.k?i.k(s,e):o(r=s[e],1y)?r.1z(s):r}),19:a},n));9 i};z l I 1y{A(t){6 x.24(t,j.25.1a)}}9 c=t=>{26 t},f=t=>"27://1A:"+(t??28),g=29.2a?2b.2c:f(2d.2e.2f),p=/^\\w+:\\/\\/1A/.1b(g)?"W":"Y",d=t=>s({},t);z v{A(t){x.1v(5,t)}7 Z(){6 x.Z(5)}7 J(){6 x.J(5)}7 E(){6 x.E(5)}7 P(){6 5.Z.P}10(t){5.E.10(([s,e])=>{5[s]=t(e,s)??e})}7 1c(){6 s(b(),5)}1d(t){m s=[];6 5.E.K(([e,r])=>s.11(...o(r,v)?r.1d(t.1z(t,e)):[t(e,r)])),s}K(t){6 5.E.K(([s,e])=>t(e,s))}11(s){6 s.10(s=>s?5[s[0]]=s[1]:t),5}1B(t){6 5.E.1B(([s,e])=>t(e,s))}}9 b=t=>j v(t);z q I v{#t;#s;A(t,s,e){Q(s),5.#t=t,5.#s=e||[]}7 1C(){6 5.#s||[]}7 B(){6 5.#t}7 12(){6[5.#t,...5.#s,...5.E.K(([t,s])=>t+": "+s),r,r].1e(e)}1f(){6{B:5.#t,1C:5.#s,1D:5.1c}}7 2g(){6+5.#t.13(" ").1E(t=>(t=+t)==t)}}2h y(t){6(t=t.13(e)).P-=2,t}z C I q{A(s){m r,[n,...h]=y(s),o={},a=[];1g(m t 1F h){m[s,n]=k(t,": ");/^\\w[^\\s]*$/.1b(s)?o[r=s]=n:r?o[r]+=e+t:a.11(t)}6 Q(n,o,a),u(5,{i:(s,e)=>i+e 1h s&&!x.2i(C.1a).1G(e)?s.1H(e):t})}1H(t){6 5[i+t]}#e;7 2j(){6 5.#e??=b().11(5.K((s,e)=>e.1i(i)?[e.2k(16),s]:t))}7 2l(){6 5}}z L I q{A(t){9[t,,...r]=y(t);Q(t,r)}2m(){6 2n(5.J)}7 12(){6[5.B,r,...5.J,r,r].1e(e)}1f(){6{B:5.B,2o:5.J}}[1I.1J](){6 5.J[1I.1J]()}}z M I q{A(t){9[t,,...r]=y(t);Q(t,{});1g(m t 1F r){m[s,e]=k(t,""),[r,n]=k(s,".");(5[r]||=b())[n]=e}}2p(t,s){6 5.1j.1E(e=>5[e][t]==s)}2q(t){6 5.1j.K(s=>5[s][t])}7 1j(){6 5.Z}7 R(){6!!5.P}7 12(){6[5.B,r,...5.1d((t,s,e)=>t+"."+s+""+e),r,r].1e(e)}1f(){6{B:5.B,2r:5.1c}}}z N I l{#r;#n;#i;#h;#k;A(t){Q((t,s=5.D)=>5.1K(t,s)),5.#r=t,5.D=t.D}1k 1K(t,s=5.D){6 5.#i?5.#h[s].1G(t):!!5.#n&&(5.#k[s][t]??=S 5.#r.14(t))}7 R(){6 5.#n}7 2s(){6 5.#i}2t(){6 5.1L(),5.1l()}1k 1l(){9 t=5.#r;6 5.#n=S t.14("1M"),5.#i=5.#n&&S t.14("1N"),5.#i&&(5.#h=S t.1O()),5}1L(){5.#n=5.#i=!1,5.#k={W:{},Y:{}}}}z F{#o;A(s,e){6 5.15={2u:g},5.G={2v:"2w-8"},5.T=e,5.1m=s,5.U={1x:1.4,2x:1.1,2y:1.1,1P:1.2,2z:1.1},5.D=p,5.1n=u(5,{i:(s,e)=>o(s.U[e],2A)?s.H(e):/^2B/.1b(e)?s.17[(t=>"k"==t[2]?t.18(3):t)(e)]:e.1i("2C")?s.1o[e].1p(L):e.1i("2D")?s.1o[e]:t})}7 1Q(){6 s(j F,{15:d(5.15),G:d(5.G),D:5.D,U:d(5.U),T:5.T,1q:5.1q})}1R(t){9 s=5.1Q;6 s.1q=t,s.G.2E=t.2F,s}1S(t){m s=b();6 5.1r().O(e=>{1g(9 r 1h e)s[r]=t?.(e[r]);6 s})}2G(t){6 5.1S(s=>t?.(5.1R(s)))}19 T(t){5.#o=t||f()+"/2H/2I/2J"}7 T(){6 5.#o}19 1m(t){5.G.1T=t||"1U-2K"}7 1m(){6 5.G.1T}1k 1V(t){6 2L!=(t=S 2M(5.#o,{2N:"2O",2P:5.15,1D:t})).1W&&c(t.1W),t.2Q()}1s(t,s){6 5.1V(j q(t,{...5.G,...s}).12)}1X(t,s,e=C){6 5.1s(t,s).O(t=>j e(t))}H(t,e=C,r=t=>t){m n=t+" 1w/"+5.U[t];6 s((...t)=>5.1X(n,r(...t),e),{2R:(...t)=>5.1s(n,r(...t)),1p:s=>5.H(t,s,r),1Y:s=>5.H(t,e,s)})}1t(t,e,r=5.H(h),n=t=>t){6 j V(r.1Y((...r)=>s({[t]:e},n(...r))),{7:(s,i)=>i 1h s?s[i]:5.1t(t,e+"."+i,r,n)})}1u(t,s,e=5.H(h)){6 5.1t(t,s,e,(...t)=>{m s=0,e={};6 t.10(t=>e["2S"+s++]=t),e})}7 17(){6 j V({},{7:(t,s)=>5.1u("2T",s)})}7 1o(){6 j V({},{7:(t,s)=>5.1u("2U",s,5.H("1P"))})}14(t,s=5.D){6 5.17.1M(t,s).O(({2V:t})=>1==t)}1O(){6 5.17.1N().O(({W:t,Y:s})=>({W:(t||r).13(","),Y:(s||r).13(",")}))}1r(){6 5.1n.2W.1p(M)()}R(){6 5.1r().O(t=>t.R,t=>!1)}2X(t){6 5.R().O(s=>s?t?.(5.1n):c())}2Y(){6 j N(5).1l()}}s(F.1a,{2Z:F,q:q,C:C,L:L,M:M,N:N});9 w=j F;s(30,{q:q,31:w,M:M,N:N,1U:w,F:F,L:L,C:C,32:!0})',189,"|||||this|return|get||var||||||||||new|_||let||||base_sstp_info_t|||||||Object||class|constructor|head|sstp_info_t|default_security_level|entries|jsstp_t|default_info|get_caller_of_method|extends|values|map|list_info_t|fmo_info_t|ghost_events_queryer_t|then|length|super|available|await|host|sstp_version_table|Proxy|local||external|keys|forEach|push|text_content|split|has_event|RequestHeader||event|substring|set|prototype|test|trivial_clone|flat_map|join|toJSON|for|in|startsWith|uuids|async|init|sendername|proxy|command|with_type|ghost_info|get_fmo_infos|costom_text_send|get_caller_of_key|get_simple_caller_of_key|assign|SSTP|SEND|Function|bind|localhost|every|unknown_lines|body|find|of|includes|get_passthrough|Symbol|iterator|check_event|clear|Has_Event|Get_Supported_Events|get_supported_events|EXECUTE|clone|by_fmo_info|for_all_ghost_infos|Sender|jsstp|row_send|status|costom_send|bind_args_processor|PassThru|indexOf|instanceof|if|String|setPrototypeOf|target|throw|http|9801|globalThis|window|location|origin|process|env|PORT|status_code|function|getOwnPropertyNames|passthroughs|slice|raw|toString|to_string|data|get_uuid_by|get_list_of|fmo_infos|fast_query_available|reset|Origin|Charset|UTF|NOTIFY|COMMUNICATE|GIVE|Number|On|Get|Set|ReceiverGhostHWnd|hwnd|for_all_ghosts|api|sstp|v1|client|200|fetch|method|POST|headers|text|get_raw|Reference|Event|Command|Result|GetFMO|if_available|new_event_queryer|type|exports|default|__esModule".split("|"),0,{}))
Loading

0 comments on commit 8835039

Please sign in to comment.