@tsonic/nodejs 0.4.3 → 0.4.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/__build/scripts/generate.sh +3 -1
- package/{nodejs → index}/bindings.json +698 -722
- package/{nodejs → index}/internal/index.d.ts +0 -1
- package/{nodejs → index}/internal/metadata.json +0 -16
- package/index.d.ts +148 -0
- package/nodejs.Http/bindings.json +96 -96
- package/nodejs.Http/internal/index.d.ts +6 -6
- package/nodejs.Http/internal/metadata.json +6 -6
- package/nodejs.Http.d.ts +1 -1
- package/package.json +3 -3
- package/nodejs.d.ts +0 -148
- /package/{nodejs.js → index.js} +0 -0
|
@@ -1872,7 +1872,6 @@ export interface TLSSocket$instance extends Socket {
|
|
|
1872
1872
|
renegotiate(options: unknown, callback: Action<Exception>): boolean;
|
|
1873
1873
|
setKeyCert(context: unknown): void;
|
|
1874
1874
|
setMaxSendFragment(size: int): boolean;
|
|
1875
|
-
startReading(): void;
|
|
1876
1875
|
write(data: byte[], callback?: Action<Exception>): boolean;
|
|
1877
1876
|
write(data: string, encoding?: string, callback?: Action<Exception>): boolean;
|
|
1878
1877
|
write(data: byte[], callback?: Action<Exception>): boolean;
|
|
@@ -13310,22 +13310,6 @@
|
|
|
13310
13310
|
"parameterCount": 3,
|
|
13311
13311
|
"isExtensionMethod": false
|
|
13312
13312
|
},
|
|
13313
|
-
{
|
|
13314
|
-
"stableId": "nodejs:nodejs.TLSSocket::StartReading():System.Void",
|
|
13315
|
-
"clrName": "StartReading",
|
|
13316
|
-
"tsEmitName": "startReading",
|
|
13317
|
-
"normalizedSignature": "StartReading|():System.Void|static=false",
|
|
13318
|
-
"provenance": "Original",
|
|
13319
|
-
"emitScope": "ClassSurface",
|
|
13320
|
-
"isStatic": false,
|
|
13321
|
-
"isAbstract": false,
|
|
13322
|
-
"isVirtual": false,
|
|
13323
|
-
"isOverride": false,
|
|
13324
|
-
"isSealed": false,
|
|
13325
|
-
"arity": 0,
|
|
13326
|
-
"parameterCount": 0,
|
|
13327
|
-
"isExtensionMethod": false
|
|
13328
|
-
},
|
|
13329
13313
|
{
|
|
13330
13314
|
"stableId": "nodejs:nodejs.TLSSocket::write(System.Byte[],System.Action_1):System.Boolean",
|
|
13331
13315
|
"clrName": "write",
|
package/index.d.ts
ADDED
|
@@ -0,0 +1,148 @@
|
|
|
1
|
+
// Generated by tsbindgen - Architecture
|
|
2
|
+
// Namespace: nodejs
|
|
3
|
+
// Facade - Public API Surface
|
|
4
|
+
|
|
5
|
+
// Import internal declarations
|
|
6
|
+
import * as Internal from './index/internal/index.js';
|
|
7
|
+
|
|
8
|
+
// Cross-namespace type imports for constraints
|
|
9
|
+
import type { Dictionary, IAsyncEnumerable, ICollection, IDictionary, IEnumerable as IEnumerable__System_Collections_Generic, IEnumerator, KeyValuePair } from '@tsonic/dotnet/System.Collections.Generic.js';
|
|
10
|
+
import type { IEnumerable } from '@tsonic/dotnet/System.Collections.js';
|
|
11
|
+
import type { Action, AsyncCallback, Boolean as ClrBoolean, Byte, DateTime, Delegate, Double, Exception, Func, IAsyncResult, ICloneable, IDisposable, Int16, Int32, Int64, IntPtr, MulticastDelegate, Nullable, Object as ClrObject, SByte, Single, String as ClrString, UInt16, UInt32, UInt64, ValueTuple, Void } from '@tsonic/dotnet/System.js';
|
|
12
|
+
import type { ISerializable } from '@tsonic/dotnet/System.Runtime.Serialization.js';
|
|
13
|
+
import type { SslProtocols } from '@tsonic/dotnet/System.Security.Authentication.js';
|
|
14
|
+
import type { X509Certificate2, X509Certificate2Collection } from '@tsonic/dotnet/System.Security.Cryptography.X509Certificates.js';
|
|
15
|
+
import type { Regex } from '@tsonic/dotnet/System.Text.RegularExpressions.js';
|
|
16
|
+
import type { Task } from '@tsonic/dotnet/System.Threading.Tasks.js';
|
|
17
|
+
|
|
18
|
+
// Public API exports (curated - no internal $instance/$views leakage)
|
|
19
|
+
export { assert$instance as assert } from './index/internal/index.js';
|
|
20
|
+
export { AssertionError as AssertionError } from './index/internal/index.js';
|
|
21
|
+
export { Buffer as Buffer } from './index/internal/index.js';
|
|
22
|
+
export { ChildProcess as ChildProcess } from './index/internal/index.js';
|
|
23
|
+
export { ExecOptions as ExecOptions } from './index/internal/index.js';
|
|
24
|
+
export { child_process$instance as child_process } from './index/internal/index.js';
|
|
25
|
+
export { SpawnSyncReturns_1 as SpawnSyncReturns } from './index/internal/index.js';
|
|
26
|
+
export { console$instance as console } from './index/internal/index.js';
|
|
27
|
+
export { Certificate$instance as Certificate } from './index/internal/index.js';
|
|
28
|
+
export { X509CertificateExtensions$instance as X509CertificateExtensions } from './index/internal/index.js';
|
|
29
|
+
export { X509CertificateInfo as X509CertificateInfo } from './index/internal/index.js';
|
|
30
|
+
export { Cipher as Cipher } from './index/internal/index.js';
|
|
31
|
+
export { crypto$instance as crypto } from './index/internal/index.js';
|
|
32
|
+
export { Decipher as Decipher } from './index/internal/index.js';
|
|
33
|
+
export { DiffieHellman as DiffieHellman } from './index/internal/index.js';
|
|
34
|
+
export { DSAPublicKeyObject as DSAPublicKeyObject } from './index/internal/index.js';
|
|
35
|
+
export { DSAPrivateKeyObject as DSAPrivateKeyObject } from './index/internal/index.js';
|
|
36
|
+
export { ECDH as ECDH } from './index/internal/index.js';
|
|
37
|
+
export { EdDSAPublicKeyObject as EdDSAPublicKeyObject } from './index/internal/index.js';
|
|
38
|
+
export { EdDSAPrivateKeyObject as EdDSAPrivateKeyObject } from './index/internal/index.js';
|
|
39
|
+
export { Hash as Hash } from './index/internal/index.js';
|
|
40
|
+
export { Hmac as Hmac } from './index/internal/index.js';
|
|
41
|
+
export { KeyObject as KeyObject } from './index/internal/index.js';
|
|
42
|
+
export { SecretKeyObject as SecretKeyObject } from './index/internal/index.js';
|
|
43
|
+
export { PublicKeyObject as PublicKeyObject } from './index/internal/index.js';
|
|
44
|
+
export { PrivateKeyObject as PrivateKeyObject } from './index/internal/index.js';
|
|
45
|
+
export { Sign as Sign } from './index/internal/index.js';
|
|
46
|
+
export { Verify as Verify } from './index/internal/index.js';
|
|
47
|
+
export { dgram$instance as dgram } from './index/internal/index.js';
|
|
48
|
+
export { RemoteInfo as RemoteInfo } from './index/internal/index.js';
|
|
49
|
+
export { DgramSocket as DgramSocket } from './index/internal/index.js';
|
|
50
|
+
export { SocketOptions as SocketOptions } from './index/internal/index.js';
|
|
51
|
+
export { BindOptions as BindOptions } from './index/internal/index.js';
|
|
52
|
+
export { dns$instance as dns } from './index/internal/index.js';
|
|
53
|
+
export { LookupOptions as LookupOptions } from './index/internal/index.js';
|
|
54
|
+
export { LookupAddress as LookupAddress } from './index/internal/index.js';
|
|
55
|
+
export { ResolveOptions as ResolveOptions } from './index/internal/index.js';
|
|
56
|
+
export { ResolverOptions as ResolverOptions } from './index/internal/index.js';
|
|
57
|
+
export { RecordWithTtl as RecordWithTtl } from './index/internal/index.js';
|
|
58
|
+
export { AnyRecord as AnyRecord } from './index/internal/index.js';
|
|
59
|
+
export { AnyARecord as AnyARecord } from './index/internal/index.js';
|
|
60
|
+
export { AnyAaaaRecord as AnyAaaaRecord } from './index/internal/index.js';
|
|
61
|
+
export { CaaRecord as CaaRecord } from './index/internal/index.js';
|
|
62
|
+
export { AnyCaaRecord as AnyCaaRecord } from './index/internal/index.js';
|
|
63
|
+
export { MxRecord as MxRecord } from './index/internal/index.js';
|
|
64
|
+
export { AnyMxRecord as AnyMxRecord } from './index/internal/index.js';
|
|
65
|
+
export { NaptrRecord as NaptrRecord } from './index/internal/index.js';
|
|
66
|
+
export { AnyNaptrRecord as AnyNaptrRecord } from './index/internal/index.js';
|
|
67
|
+
export { SoaRecord as SoaRecord } from './index/internal/index.js';
|
|
68
|
+
export { AnySoaRecord as AnySoaRecord } from './index/internal/index.js';
|
|
69
|
+
export { SrvRecord as SrvRecord } from './index/internal/index.js';
|
|
70
|
+
export { AnySrvRecord as AnySrvRecord } from './index/internal/index.js';
|
|
71
|
+
export { TlsaRecord as TlsaRecord } from './index/internal/index.js';
|
|
72
|
+
export { AnyTlsaRecord as AnyTlsaRecord } from './index/internal/index.js';
|
|
73
|
+
export { AnyTxtRecord as AnyTxtRecord } from './index/internal/index.js';
|
|
74
|
+
export { AnyNsRecord as AnyNsRecord } from './index/internal/index.js';
|
|
75
|
+
export { AnyPtrRecord as AnyPtrRecord } from './index/internal/index.js';
|
|
76
|
+
export { AnyCnameRecord as AnyCnameRecord } from './index/internal/index.js';
|
|
77
|
+
export { Resolver as Resolver } from './index/internal/index.js';
|
|
78
|
+
export { EventEmitter as EventEmitter } from './index/internal/index.js';
|
|
79
|
+
export { fs$instance as fs } from './index/internal/index.js';
|
|
80
|
+
export { Stats as Stats } from './index/internal/index.js';
|
|
81
|
+
export { BlockList as BlockList } from './index/internal/index.js';
|
|
82
|
+
export { SocketAddressInitOptions as SocketAddressInitOptions } from './index/internal/index.js';
|
|
83
|
+
export { SocketAddress as SocketAddress } from './index/internal/index.js';
|
|
84
|
+
export { net$instance as net } from './index/internal/index.js';
|
|
85
|
+
export { AddressInfo as AddressInfo } from './index/internal/index.js';
|
|
86
|
+
export { SocketConstructorOpts as SocketConstructorOpts } from './index/internal/index.js';
|
|
87
|
+
export { TcpSocketConnectOpts as TcpSocketConnectOpts } from './index/internal/index.js';
|
|
88
|
+
export { IpcSocketConnectOpts as IpcSocketConnectOpts } from './index/internal/index.js';
|
|
89
|
+
export { ListenOptions as ListenOptions } from './index/internal/index.js';
|
|
90
|
+
export { ServerOpts as ServerOpts } from './index/internal/index.js';
|
|
91
|
+
export { Server as Server } from './index/internal/index.js';
|
|
92
|
+
export { Socket as Socket } from './index/internal/index.js';
|
|
93
|
+
export { os$instance as os } from './index/internal/index.js';
|
|
94
|
+
export { CpuInfo as CpuInfo } from './index/internal/index.js';
|
|
95
|
+
export { CpuTimes as CpuTimes } from './index/internal/index.js';
|
|
96
|
+
export { UserInfo as UserInfo } from './index/internal/index.js';
|
|
97
|
+
export { path$instance as path } from './index/internal/index.js';
|
|
98
|
+
export { ParsedPath as ParsedPath } from './index/internal/index.js';
|
|
99
|
+
export { PathModule as PathModule } from './index/internal/index.js';
|
|
100
|
+
export { performance$instance as performance } from './index/internal/index.js';
|
|
101
|
+
export { MarkOptions as MarkOptions } from './index/internal/index.js';
|
|
102
|
+
export { MeasureOptions as MeasureOptions } from './index/internal/index.js';
|
|
103
|
+
export { PerformanceEntry as PerformanceEntry } from './index/internal/index.js';
|
|
104
|
+
export { PerformanceMark as PerformanceMark } from './index/internal/index.js';
|
|
105
|
+
export { PerformanceMeasure as PerformanceMeasure } from './index/internal/index.js';
|
|
106
|
+
export { PerformanceObserver as PerformanceObserver } from './index/internal/index.js';
|
|
107
|
+
export { PerformanceObserverOptions as PerformanceObserverOptions } from './index/internal/index.js';
|
|
108
|
+
export { PerformanceObserverEntryList as PerformanceObserverEntryList } from './index/internal/index.js';
|
|
109
|
+
export { process$instance as process } from './index/internal/index.js';
|
|
110
|
+
export { ProcessEnv as ProcessEnv } from './index/internal/index.js';
|
|
111
|
+
export { ProcessVersions as ProcessVersions } from './index/internal/index.js';
|
|
112
|
+
export { querystring$instance as querystring } from './index/internal/index.js';
|
|
113
|
+
export { Interface as Interface } from './index/internal/index.js';
|
|
114
|
+
export { InterfaceOptions as InterfaceOptions } from './index/internal/index.js';
|
|
115
|
+
export { CursorPosition as CursorPosition } from './index/internal/index.js';
|
|
116
|
+
export { readline$instance as readline } from './index/internal/index.js';
|
|
117
|
+
export { Duplex as Duplex } from './index/internal/index.js';
|
|
118
|
+
export { PassThrough as PassThrough } from './index/internal/index.js';
|
|
119
|
+
export { Readable as Readable } from './index/internal/index.js';
|
|
120
|
+
export { Stream as Stream } from './index/internal/index.js';
|
|
121
|
+
export { Transform as Transform } from './index/internal/index.js';
|
|
122
|
+
export { stream$instance as stream } from './index/internal/index.js';
|
|
123
|
+
export { Writable as Writable } from './index/internal/index.js';
|
|
124
|
+
export { StringDecoder as StringDecoder } from './index/internal/index.js';
|
|
125
|
+
export { Immediate as Immediate } from './index/internal/index.js';
|
|
126
|
+
export { Timeout as Timeout } from './index/internal/index.js';
|
|
127
|
+
export { timers$instance as timers } from './index/internal/index.js';
|
|
128
|
+
export { TLSCertificateInfo as TLSCertificateInfo } from './index/internal/index.js';
|
|
129
|
+
export { PeerCertificate as PeerCertificate } from './index/internal/index.js';
|
|
130
|
+
export { DetailedPeerCertificate as DetailedPeerCertificate } from './index/internal/index.js';
|
|
131
|
+
export { CipherNameAndProtocol as CipherNameAndProtocol } from './index/internal/index.js';
|
|
132
|
+
export { EphemeralKeyInfo as EphemeralKeyInfo } from './index/internal/index.js';
|
|
133
|
+
export { SecureContextOptions as SecureContextOptions } from './index/internal/index.js';
|
|
134
|
+
export { CommonConnectionOptions as CommonConnectionOptions } from './index/internal/index.js';
|
|
135
|
+
export { TLSSocketOptions as TLSSocketOptions } from './index/internal/index.js';
|
|
136
|
+
export { ConnectionOptions as ConnectionOptions } from './index/internal/index.js';
|
|
137
|
+
export { TlsOptions as TlsOptions } from './index/internal/index.js';
|
|
138
|
+
export { SecureContext as SecureContext } from './index/internal/index.js';
|
|
139
|
+
export { TLSServer as TLSServer } from './index/internal/index.js';
|
|
140
|
+
export { tls$instance as tls } from './index/internal/index.js';
|
|
141
|
+
export { TLSSocket as TLSSocket } from './index/internal/index.js';
|
|
142
|
+
export { URL as URL } from './index/internal/index.js';
|
|
143
|
+
export { URLSearchParams as URLSearchParams } from './index/internal/index.js';
|
|
144
|
+
export type DebugLogFunction = Internal.DebugLogFunction;
|
|
145
|
+
export { util$instance as util } from './index/internal/index.js';
|
|
146
|
+
export { BrotliOptions as BrotliOptions } from './index/internal/index.js';
|
|
147
|
+
export { zlib$instance as zlib } from './index/internal/index.js';
|
|
148
|
+
export { ZlibOptions as ZlibOptions } from './index/internal/index.js';
|