Skip to content

Commit 447f398

Browse files
committed
Revert "Merge branch 'TheSpyder:main' into feat.buffer.1"
This reverts commit de1c6b8, reversing changes made to 4ac6926.
1 parent 89f97d9 commit 447f398

File tree

2 files changed

+0
-13
lines changed

2 files changed

+0
-13
lines changed

src/Crypto.res

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,6 @@ KeyObject = {
3131
include Impl
3232
}
3333

34-
type binaryToTextEncoding =
35-
| @as("base64") Base64
36-
| @as("base64url") Base64url
37-
| @as("hex") Hex
38-
| @as("binary") Binary
39-
4034
module PivateKey = {
4135
include KeyObject.Impl
4236
type kind = [KeyObject.privateKey]
@@ -66,9 +60,6 @@ module Hash = {
6660
@send external copy: t => t = "copy"
6761
@send external digest: t => Buffer.t = "digest"
6862
@send external update: (t, Buffer.t) => unit = "update"
69-
@send external updateString: (t, string) => t = "update"
70-
@send external updateStringWithEncoding: (t, string, NodeJs.StringEncoding.t) => t = "update"
71-
@send external digestWithEncoding: (t, binaryToTextEncoding) => string = "digest"
7263
}
7364
include Impl
7465
}

src/Http.res

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -87,10 +87,6 @@ type headersObject = {
8787
warning: option<string>,
8888
@as("www-authenticate")
8989
wwwAuthenticate: option<string>,
90-
@as("sec-websocket-key")
91-
secWebSocketKey: option<string>,
92-
@as("sec-websocket-version")
93-
secWebSocketVersion: option<string>,
9490
}
9591

9692
module IncomingMessage = {

0 commit comments

Comments
 (0)