@solana/rpc-transport
Advanced tools
Comparing version 2.0.0-experimental.7b00896 to 2.0.0-experimental.7d8a778
@@ -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 |
/// <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.7b00896", | ||
"version": "2.0.0-experimental.7d8a778", | ||
"description": "Network transports for accessing the Solana JSON RPC API", | ||
@@ -49,6 +49,6 @@ "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", | ||
"@swc/jest": "^0.2.26", | ||
"@types/jest": "^29.5.1", | ||
"@types/node": "^16", | ||
@@ -65,9 +65,9 @@ "@typescript-eslint/eslint-plugin": "^5.57.1", | ||
"jest-fetch-mock-fork": "^3.0.4", | ||
"jest-runner-eslint": "^2.0.0", | ||
"jest-runner-eslint": "^2.1.0", | ||
"jest-runner-prettier": "^1.0.0", | ||
"postcss": "^8.4.12", | ||
"prettier": "^2.7.1", | ||
"prettier": "^2.8.8", | ||
"ts-node": "^10.9.1", | ||
"tsup": "6.7.0", | ||
"typescript": "^5.0.3", | ||
"typescript": "^5.0.4", | ||
"version-from-git": "^1.1.1", | ||
@@ -74,0 +74,0 @@ "build-scripts": "0.0.0", |
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
129511
34