@solana/rpc-transport-http
Advanced tools
Comparing version 2.0.0-canary-20241006033709 to 2.0.0-canary-20241006045741
@@ -7,3 +7,10 @@ export type AllowedHttpRequestHeaders = Readonly<{ | ||
type DisallowedHeaders = 'Accept' | 'Content-Length' | 'Content-Type' | 'Solana-Client'; | ||
type ForbiddenHeaders = 'Accept-Charset' | 'Accept-Encoding' | 'Access-Control-Request-Headers' | 'Access-Control-Request-Method' | 'Connection' | 'Content-Length' | 'Cookie' | 'Date' | 'DNT' | 'Expect' | 'Host' | 'Keep-Alive' | 'Origin' | 'Permissions-Policy' | 'Referer' | 'TE' | 'Trailer' | 'Transfer-Encoding' | 'Upgrade' | 'Via' | `Proxy-${string}` | `Sec-${string}`; | ||
type ForbiddenHeaders = 'Accept-Charset' | ||
/** | ||
* Though technically forbidden in non-Node environments, we don't have a way to target | ||
* TypeScript types depending on which platform you are authoring for. `Accept-Encoding` is | ||
* therefore omitted from the forbidden headers type, but is still a runtime error in dev mode | ||
* when supplied in a non-Node context. | ||
*/ | ||
| 'Access-Control-Request-Headers' | 'Access-Control-Request-Method' | 'Connection' | 'Content-Length' | 'Cookie' | 'Date' | 'DNT' | 'Expect' | 'Host' | 'Keep-Alive' | 'Origin' | 'Permissions-Policy' | 'Referer' | 'TE' | 'Trailer' | 'Transfer-Encoding' | 'Upgrade' | 'Via' | `Proxy-${string}` | `Sec-${string}`; | ||
export declare function assertIsAllowedHttpRequestHeaders(headers: Record<string, string>): asserts headers is AllowedHttpRequestHeaders; | ||
@@ -10,0 +17,0 @@ /** |
{ | ||
"name": "@solana/rpc-transport-http", | ||
"version": "2.0.0-canary-20241006033709", | ||
"version": "2.0.0-canary-20241006045741", | ||
"description": "An RPC transport that uses HTTP requests", | ||
@@ -58,4 +58,4 @@ "exports": { | ||
"undici-types": "^6.19.8", | ||
"@solana/errors": "2.0.0-canary-20241006033709", | ||
"@solana/rpc-spec": "2.0.0-canary-20241006033709" | ||
"@solana/rpc-spec": "2.0.0-canary-20241006045741", | ||
"@solana/errors": "2.0.0-canary-20241006045741" | ||
}, | ||
@@ -62,0 +62,0 @@ "peerDependencies": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Unstable ownership
Supply chain riskA new collaborator has begun publishing package versions. Package stability and security risk may be elevated.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
171921
1337
1
+ Added@solana/errors@2.0.0-canary-20241006045741(transitive)
+ Added@solana/rpc-spec@2.0.0-canary-20241006045741(transitive)
+ Added@solana/rpc-spec-types@2.0.0-canary-20241006045741(transitive)
- Removed@solana/errors@2.0.0-canary-20241006033709(transitive)
- Removed@solana/rpc-spec@2.0.0-canary-20241006033709(transitive)
- Removed@solana/rpc-spec-types@2.0.0-canary-20241006033709(transitive)