Comparing version 0.6.2 to 0.6.3
@@ -207,2 +207,4 @@ "use strict"; | ||
if (error instanceof RpcResponse.InternalError) { | ||
if (!error.data) | ||
return error; | ||
const { code } = error.data; | ||
@@ -209,0 +211,0 @@ if (code === DisconnectedError.code) |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.version = void 0; | ||
exports.version = '0.6.2'; | ||
exports.version = '0.6.3'; | ||
//# sourceMappingURL=version.js.map |
@@ -253,2 +253,4 @@ import { EventEmitter } from 'eventemitter3'; | ||
if (error instanceof RpcResponse.InternalError) { | ||
if (!error.data) | ||
return error; | ||
const { code } = error.data; | ||
@@ -255,0 +257,0 @@ if (code === DisconnectedError.code) |
/** @internal */ | ||
export const version = '0.6.2'; | ||
export const version = '0.6.3'; | ||
//# sourceMappingURL=version.js.map |
/** @internal */ | ||
export declare const version = "0.6.2"; | ||
export declare const version = "0.6.3"; | ||
//# sourceMappingURL=version.d.ts.map |
# ox | ||
## 0.6.3 | ||
### Patch Changes | ||
- [`ddaed51`](https://github.com/wevm/ox/commit/ddaed51550308eceda3c9a080503cf1fdfac6ac0) Thanks [@jxom](https://github.com/jxom)! - Fixed parsing of Provider RPC errors. | ||
## 0.6.2 | ||
@@ -4,0 +10,0 @@ |
@@ -438,2 +438,4 @@ import { EventEmitter } from 'eventemitter3' | ||
if (error instanceof RpcResponse.InternalError) { | ||
if (!error.data) return error as never | ||
const { code } = error.data as RpcResponse.ErrorObject | ||
@@ -440,0 +442,0 @@ if (code === DisconnectedError.code) |
{ | ||
"name": "ox", | ||
"description": "Ethereum Standard Library", | ||
"version": "0.6.2", | ||
"version": "0.6.3", | ||
"main": "./_cjs/index.js", | ||
@@ -6,0 +6,0 @@ "module": "./_esm/index.js", |
/** @internal */ | ||
export const version = '0.6.2' | ||
export const version = '0.6.3' |
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
5084227
95583