diff --git a/dist/esm/index.js b/dist/esm/index.js index 65a0f0e..22c8d1d 100644 --- a/dist/esm/index.js +++ b/dist/esm/index.js @@ -2,7 +2,7 @@ var _global$1 = (typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {}); -if(_global$1.XMLHttpRequest == undefined) { _global$1.XMLHttpRequest = Object } +if(_global$1.XMLHttpRequest == undefined) { _global$1.XMLHttpRequest = class XMLHttpRequest { open() {} } } if(_global$1.location == undefined) { _global$1.location = {} } var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {}; diff --git a/dist/umd/index.js b/dist/umd/index.js index b480ca2..7e9a00e 100644 --- a/dist/umd/index.js +++ b/dist/umd/index.js @@ -2,7 +2,7 @@ var _global$1 = (typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {}); -if(_global$1.XMLHttpRequest == undefined) { _global$1.XMLHttpRequest = Object } +if(_global$1.XMLHttpRequest == undefined) { _global$1.XMLHttpRequest = class XMLHttpRequest { open() {} } } if(_global$1.location == undefined) { _global$1.location = {} } (function (global, factory) { diff --git a/package.json b/package.json index 9f480d4..94c1e1f 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@depay/solana-web3.js", "moduleName": "SolanaWeb3js", - "version": "1.19.2", + "version": "1.19.3", "description": "Solana Web3.js browser pre-built usable in rollup bundles.", "main": "dist/umd/index.js", "module": "dist/esm/index.js", diff --git a/rollup.config.js b/rollup.config.js index 6fc9533..9c556cd 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -19,7 +19,7 @@ export default { var _global$1 = (typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {}); -if(_global$1.XMLHttpRequest == undefined) { _global$1.XMLHttpRequest = Object } +if(_global$1.XMLHttpRequest == undefined) { _global$1.XMLHttpRequest = class XMLHttpRequest { open() {} } } if(_global$1.location == undefined) { _global$1.location = {} } ` }, @@ -32,7 +32,7 @@ if(_global$1.location == undefined) { _global$1.location = {} } var _global$1 = (typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {}); -if(_global$1.XMLHttpRequest == undefined) { _global$1.XMLHttpRequest = Object } +if(_global$1.XMLHttpRequest == undefined) { _global$1.XMLHttpRequest = class XMLHttpRequest { open() {} } } if(_global$1.location == undefined) { _global$1.location = {} } ` },