@mysten/sui.js
Advanced tools
Comparing version 0.0.0-experimental-20240509135705 to 0.0.0-experimental-20240524224044
# @mysten/sui.js | ||
## 0.0.0-experimental-20240509135705 | ||
## 0.0.0-experimental-20240524224044 | ||
### Patch Changes | ||
- ebdfe7cf21: Add support for more JSON RPC error codes | ||
## 0.54.1 | ||
### Patch Changes | ||
- 99b112178c: Fix gql.tada dependency issue | ||
@@ -8,0 +14,0 @@ |
@@ -28,6 +28,17 @@ "use strict"; | ||
"-32700": "ParseError", | ||
"-32701": "OversizedRequest", | ||
"-32702": "OversizedResponse", | ||
"-32600": "InvalidRequest", | ||
"-32601": "MethodNotFound", | ||
"-32602": "InvalidParams", | ||
"-32603": "InternalError" | ||
"-32603": "InternalError", | ||
"-32604": "ServerBusy", | ||
"-32000": "CallExecutionFailed", | ||
"-32001": "UnknownError", | ||
"-32003": "SubscriptionClosed", | ||
"-32004": "SubscriptionClosedWithError", | ||
"-32005": "BatchesNotSupported", | ||
"-32006": "TooManySubscriptions", | ||
"-32050": "TransientError", | ||
"-32002": "TransactionExecutionClientError" | ||
}; | ||
@@ -34,0 +45,0 @@ class SuiHTTPTransportError extends Error { |
@@ -1,2 +0,2 @@ | ||
export declare const PACKAGE_VERSION = "0.0.0-experimental-20240509135705"; | ||
export declare const TARGETED_RPC_VERSION = "1.25.0"; | ||
export declare const PACKAGE_VERSION = "0.0.0-experimental-20240524224044"; | ||
export declare const TARGETED_RPC_VERSION = "1.27.0"; |
@@ -25,4 +25,4 @@ "use strict"; | ||
module.exports = __toCommonJS(version_exports); | ||
const PACKAGE_VERSION = "0.0.0-experimental-20240509135705"; | ||
const TARGETED_RPC_VERSION = "1.25.0"; | ||
const PACKAGE_VERSION = "0.0.0-experimental-20240524224044"; | ||
const TARGETED_RPC_VERSION = "1.27.0"; | ||
//# sourceMappingURL=version.js.map |
const CODE_TO_ERROR_TYPE = { | ||
"-32700": "ParseError", | ||
"-32701": "OversizedRequest", | ||
"-32702": "OversizedResponse", | ||
"-32600": "InvalidRequest", | ||
"-32601": "MethodNotFound", | ||
"-32602": "InvalidParams", | ||
"-32603": "InternalError" | ||
"-32603": "InternalError", | ||
"-32604": "ServerBusy", | ||
"-32000": "CallExecutionFailed", | ||
"-32001": "UnknownError", | ||
"-32003": "SubscriptionClosed", | ||
"-32004": "SubscriptionClosedWithError", | ||
"-32005": "BatchesNotSupported", | ||
"-32006": "TooManySubscriptions", | ||
"-32050": "TransientError", | ||
"-32002": "TransactionExecutionClientError" | ||
}; | ||
@@ -8,0 +19,0 @@ class SuiHTTPTransportError extends Error { |
@@ -1,2 +0,2 @@ | ||
export declare const PACKAGE_VERSION = "0.0.0-experimental-20240509135705"; | ||
export declare const TARGETED_RPC_VERSION = "1.25.0"; | ||
export declare const PACKAGE_VERSION = "0.0.0-experimental-20240524224044"; | ||
export declare const TARGETED_RPC_VERSION = "1.27.0"; |
@@ -1,3 +0,3 @@ | ||
const PACKAGE_VERSION = "0.0.0-experimental-20240509135705"; | ||
const TARGETED_RPC_VERSION = "1.25.0"; | ||
const PACKAGE_VERSION = "0.0.0-experimental-20240524224044"; | ||
const TARGETED_RPC_VERSION = "1.27.0"; | ||
export { | ||
@@ -4,0 +4,0 @@ PACKAGE_VERSION, |
@@ -6,3 +6,3 @@ { | ||
"homepage": "https://sdk.mystenlabs.com", | ||
"version": "0.0.0-experimental-20240509135705", | ||
"version": "0.0.0-experimental-20240524224044", | ||
"license": "Apache-2.0", | ||
@@ -9,0 +9,0 @@ "sideEffects": false, |
@@ -6,2 +6,4 @@ // Copyright (c) Mysten Labs, Inc. | ||
'-32700': 'ParseError', | ||
'-32701': 'OversizedRequest', | ||
'-32702': 'OversizedResponse', | ||
'-32600': 'InvalidRequest', | ||
@@ -11,2 +13,11 @@ '-32601': 'MethodNotFound', | ||
'-32603': 'InternalError', | ||
'-32604': 'ServerBusy', | ||
'-32000': 'CallExecutionFailed', | ||
'-32001': 'UnknownError', | ||
'-32003': 'SubscriptionClosed', | ||
'-32004': 'SubscriptionClosedWithError', | ||
'-32005': 'BatchesNotSupported', | ||
'-32006': 'TooManySubscriptions', | ||
'-32050': 'TransientError', | ||
'-32002': 'TransactionExecutionClientError', | ||
}; | ||
@@ -13,0 +24,0 @@ |
@@ -6,3 +6,3 @@ // Copyright (c) Mysten Labs, Inc. | ||
export const PACKAGE_VERSION = '0.0.0-experimental-20240509135705'; | ||
export const TARGETED_RPC_VERSION = '1.25.0'; | ||
export const PACKAGE_VERSION = '0.0.0-experimental-20240524224044'; | ||
export const TARGETED_RPC_VERSION = '1.27.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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
4409383
77829