diff --git a/dist/esm/index.evm.js b/dist/esm/index.evm.js index ade0bb9..26d3d86 100644 --- a/dist/esm/index.evm.js +++ b/dist/esm/index.evm.js @@ -239,6 +239,8 @@ const setProviderEndpoints$1 = async (blockchain, endpoints, detectFastest = tru 'Accept': 'application/json', 'Content-Type': 'application/json' }, + referrer: "", + referrerPolicy: "no-referrer", body: JSON.stringify({ method: 'net_version', id: 1, jsonrpc: '2.0' }) }); if(!response.ok) { return resolve(999) } diff --git a/dist/esm/index.js b/dist/esm/index.js index a462a9d..00b4492 100644 --- a/dist/esm/index.js +++ b/dist/esm/index.js @@ -187,6 +187,8 @@ const setProviderEndpoints$2 = async (blockchain, endpoints, detectFastest = tru 'Accept': 'application/json', 'Content-Type': 'application/json' }, + referrer: "", + referrerPolicy: "no-referrer", body: JSON.stringify({ method: 'net_version', id: 1, jsonrpc: '2.0' }) }); if(!response.ok) { return resolve(999) } @@ -395,6 +397,8 @@ const setProviderEndpoints$1 = async (blockchain, endpoints, detectFastest = tru 'Accept': 'application/json', 'Content-Type': 'application/json' }, + referrer: "", + referrerPolicy: "no-referrer", body: JSON.stringify({ method: 'getIdentity', id: 1, jsonrpc: '2.0' }) }); if(!response.ok) { return resolve(999) } diff --git a/dist/esm/index.solana.js b/dist/esm/index.solana.js index 8569d2b..57849fc 100644 --- a/dist/esm/index.solana.js +++ b/dist/esm/index.solana.js @@ -177,6 +177,8 @@ const setProviderEndpoints$1 = async (blockchain, endpoints, detectFastest = tru 'Accept': 'application/json', 'Content-Type': 'application/json' }, + referrer: "", + referrerPolicy: "no-referrer", body: JSON.stringify({ method: 'getIdentity', id: 1, jsonrpc: '2.0' }) }); if(!response.ok) { return resolve(999) } diff --git a/dist/umd/index.evm.js b/dist/umd/index.evm.js index 3e90116..aabab2c 100644 --- a/dist/umd/index.evm.js +++ b/dist/umd/index.evm.js @@ -246,6 +246,8 @@ 'Accept': 'application/json', 'Content-Type': 'application/json' }, + referrer: "", + referrerPolicy: "no-referrer", body: JSON.stringify({ method: 'net_version', id: 1, jsonrpc: '2.0' }) }); if(!response.ok) { return resolve(999) } diff --git a/dist/umd/index.js b/dist/umd/index.js index 1aff7c8..b1d3fa1 100644 --- a/dist/umd/index.js +++ b/dist/umd/index.js @@ -193,6 +193,8 @@ 'Accept': 'application/json', 'Content-Type': 'application/json' }, + referrer: "", + referrerPolicy: "no-referrer", body: JSON.stringify({ method: 'net_version', id: 1, jsonrpc: '2.0' }) }); if(!response.ok) { return resolve(999) } @@ -401,6 +403,8 @@ 'Accept': 'application/json', 'Content-Type': 'application/json' }, + referrer: "", + referrerPolicy: "no-referrer", body: JSON.stringify({ method: 'getIdentity', id: 1, jsonrpc: '2.0' }) }); if(!response.ok) { return resolve(999) } diff --git a/dist/umd/index.solana.js b/dist/umd/index.solana.js index e80d0f8..b9da6b6 100644 --- a/dist/umd/index.solana.js +++ b/dist/umd/index.solana.js @@ -183,6 +183,8 @@ 'Accept': 'application/json', 'Content-Type': 'application/json' }, + referrer: "", + referrerPolicy: "no-referrer", body: JSON.stringify({ method: 'getIdentity', id: 1, jsonrpc: '2.0' }) }); if(!response.ok) { return resolve(999) } diff --git a/package.evm.json b/package.evm.json index fec7f45..4a9384a 100644 --- a/package.evm.json +++ b/package.evm.json @@ -1,7 +1,7 @@ { "name": "@depay/web3-client-evm", "moduleName": "Web3Client", - "version": "10.18.4", + "version": "10.18.5", "description": "A web3 client to fetch blockchain data just like you are used to with HTTP clients.", "main": "dist/umd/index.evm.js", "module": "dist/esm/index.evm.js", diff --git a/package.json b/package.json index 244e62d..9107b29 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@depay/web3-client", "moduleName": "Web3Client", - "version": "10.18.4", + "version": "10.18.5", "description": "A web3 client to fetch blockchain data just like you are used to with HTTP clients.", "main": "dist/umd/index.js", "module": "dist/esm/index.js", diff --git a/package.solana.json b/package.solana.json index 5366c8d..acba446 100644 --- a/package.solana.json +++ b/package.solana.json @@ -1,7 +1,7 @@ { "name": "@depay/web3-client-solana", "moduleName": "Web3Client", - "version": "10.18.4", + "version": "10.18.5", "description": "A web3 client to fetch blockchain data just like you are used to with HTTP clients.", "main": "dist/umd/index.solana.js", "module": "dist/esm/index.solana.js", diff --git a/src/platforms/evm/provider.js b/src/platforms/evm/provider.js index 4dc3922..a448c2b 100644 --- a/src/platforms/evm/provider.js +++ b/src/platforms/evm/provider.js @@ -53,6 +53,8 @@ const setProviderEndpoints = async (blockchain, endpoints, detectFastest = true) 'Accept': 'application/json', 'Content-Type': 'application/json' }, + referrer: "", + referrerPolicy: "no-referrer", body: JSON.stringify({ method: 'net_version', id: 1, jsonrpc: '2.0' }) }) if(!response.ok) { return resolve(999) } diff --git a/src/platforms/solana/provider.js b/src/platforms/solana/provider.js index 0ab822e..d134647 100644 --- a/src/platforms/solana/provider.js +++ b/src/platforms/solana/provider.js @@ -53,6 +53,8 @@ const setProviderEndpoints = async (blockchain, endpoints, detectFastest = true) 'Accept': 'application/json', 'Content-Type': 'application/json' }, + referrer: "", + referrerPolicy: "no-referrer", body: JSON.stringify({ method: 'getIdentity', id: 1, jsonrpc: '2.0' }) }) if(!response.ok) { return resolve(999) }