Comparing version 0.0.0-canary-20250113212306 to 0.0.0-canary-20250114002811
@@ -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.0.0-canary-20250113212306'; | ||
exports.version = '0.0.0-canary-20250114002811'; | ||
//# 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.0.0-canary-20250113212306'; | ||
export const version = '0.0.0-canary-20250114002811'; | ||
//# sourceMappingURL=version.js.map |
/** @internal */ | ||
export declare const version = "0.0.0-canary-20250113212306"; | ||
export declare const version = "0.0.0-canary-20250114002811"; | ||
//# sourceMappingURL=version.d.ts.map |
# ox | ||
## 0.0.0-canary-20250113212306 | ||
## 0.0.0-canary-20250114002811 | ||
### 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 | ||
### Patch Changes | ||
- [`e541cec`](https://github.com/wevm/ox/commit/e541ceca3c00f0d0b2fbd239696476934dc13ea3) Thanks [@jxom](https://github.com/jxom)! - Modified fallback RPC Errors to `RpcResponse.InternalError`. | ||
@@ -8,0 +14,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.0.0-canary-20250113212306", | ||
"version": "0.0.0-canary-20250114002811", | ||
"main": "./_cjs/index.js", | ||
@@ -6,0 +6,0 @@ "module": "./_esm/index.js", |
/** @internal */ | ||
export const version = '0.0.0-canary-20250113212306' | ||
export const version = '0.0.0-canary-20250114002811' |
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
5084365
95583