@solana/rpc-transport
Advanced tools
Comparing version 2.0.0-experimental.274e073 to 2.0.0-experimental.2b0c16d
@@ -75,2 +75,5 @@ // ../build-scripts/env-shim.ts | ||
// ../fetch-impl/dist/index.browser.js | ||
var e = globalThis.fetch; | ||
// src/transports/http/http-transport-errors.ts | ||
@@ -138,5 +141,2 @@ var SolanaHttpError = class extends Error { | ||
// ../fetch-impl/dist/index.browser.js | ||
var e = globalThis.fetch; | ||
// src/transports/http/http-transport.ts | ||
@@ -143,0 +143,0 @@ function createHttpTransport({ httpAgentNodeOnly, headers, url }) { |
@@ -75,2 +75,5 @@ // ../build-scripts/env-shim.ts | ||
// ../fetch-impl/dist/index.browser.js | ||
var e = globalThis.fetch; | ||
// src/transports/http/http-transport-errors.ts | ||
@@ -138,5 +141,2 @@ var SolanaHttpError = class extends Error { | ||
// ../fetch-impl/dist/index.browser.js | ||
var e = globalThis.fetch; | ||
// src/transports/http/http-transport.ts | ||
@@ -143,0 +143,0 @@ function createHttpTransport({ httpAgentNodeOnly, headers, url }) { |
@@ -76,2 +76,3 @@ import t from 'node-fetch'; | ||
} | ||
var f = t; | ||
@@ -139,3 +140,2 @@ // src/transports/http/http-transport-errors.ts | ||
} | ||
var f = t; | ||
@@ -142,0 +142,0 @@ // src/transports/http/http-transport.ts |
export declare const SolanaJsonRpcErrorCode: { | ||
readonly JSON_RPC_INVALID_PARAMS: -32602; | ||
readonly JSON_RPC_SCAN_ERROR: -32012; | ||
@@ -3,0 +4,0 @@ readonly JSON_RPC_SERVER_ERROR_BLOCK_CLEANED_UP: -32001; |
/// <reference types="node" /> | ||
/// <reference types="node" /> | ||
import { AllowedHttpRequestHeaders } from './http-transport-headers'; | ||
import { IRpcTransport } from '../transport-types'; | ||
import type { Agent as NodeHttpAgent } from 'node:http'; | ||
import type { Agent as NodeHttpsAgent } from 'node:https'; | ||
import { IRpcTransport } from '../transport-types'; | ||
import { AllowedHttpRequestHeaders } from './http-transport-headers'; | ||
type Config = Readonly<{ | ||
@@ -8,0 +8,0 @@ headers?: AllowedHttpRequestHeaders; |
{ | ||
"name": "@solana/rpc-transport", | ||
"version": "2.0.0-experimental.274e073", | ||
"version": "2.0.0-experimental.2b0c16d", | ||
"description": "Network transports for accessing the Solana JSON RPC API", | ||
@@ -49,6 +49,7 @@ "exports": { | ||
"devDependencies": { | ||
"@solana/eslint-config-solana": "^1.0.0", | ||
"@solana/eslint-config-solana": "^1.0.1", | ||
"@swc/core": "^1.3.18", | ||
"@swc/jest": "^0.2.23", | ||
"@types/jest": "^29.5.0", | ||
"@types/node": "^16", | ||
"@typescript-eslint/eslint-plugin": "^5.57.1", | ||
@@ -67,3 +68,3 @@ "@typescript-eslint/parser": "^5.57.1", | ||
"postcss": "^8.4.12", | ||
"prettier": "^2.7.1", | ||
"prettier": "^2.8.8", | ||
"ts-node": "^10.9.1", | ||
@@ -86,5 +87,2 @@ "tsup": "6.7.0", | ||
}, | ||
"dependencies": { | ||
"node-fetch": "^3.3.1" | ||
}, | ||
"scripts": { | ||
@@ -91,0 +89,0 @@ "compile:js": "tsup --config build-scripts/tsup.config.package.ts", |
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
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
No README
QualityPackage does not have a README. This may indicate a failed publish or a low quality package.
Found 1 instance in 1 package
129511
0
34
1203
1
83
0
27
- Removednode-fetch@^3.3.1
- Removeddata-uri-to-buffer@4.0.1(transitive)
- Removedfetch-blob@3.2.0(transitive)
- Removedformdata-polyfill@4.0.10(transitive)
- Removednode-domexception@1.0.0(transitive)
- Removednode-fetch@3.3.2(transitive)
- Removedweb-streams-polyfill@3.3.3(transitive)