@0xmonaco/core 1.0.31 → 1.0.32

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -421,7 +421,7 @@ function getSuggestionForConfigField(field) {
421
421
  case "seirpcurl":
422
422
  return "Use 'https://evm-rpc-testnet.sei-apis.com' for testnet or 'https://evm-rpc.sei-apis.com' for mainnet.";
423
423
  case "wsurl":
424
- return "Use 'wss://development.apimonaco.xyz/ws' for testnet or 'wss://api.monaco.xyz/ws' for mainnet.";
424
+ return "Use 'wss://ws-develop.apimonaco.xyz/ws' for testnet or 'wss://ws.apimonaco.xyz/ws' for mainnet.";
425
425
  case "network":
426
426
  return "Valid networks are: 'mainnet', 'development', 'staging', 'local'.";
427
427
  default:
@@ -27,7 +27,9 @@ const DEFAULT_WS_URLS = {
27
27
  // keep working during the migration window.
28
28
  development: "wss://ws-develop.apimonaco.xyz/ws",
29
29
  staging: "wss://ws-staging.apimonaco.xyz/ws",
30
- mainnet: "wss://api.monaco.xyz/ws",
30
+ // wss://api.monaco.xyz/ws never resolved (the monaco.xyz zone has no NS
31
+ // delegation), so this is not a behavior change for any working client.
32
+ mainnet: "wss://ws.apimonaco.xyz/ws",
31
33
  };
32
34
  /**
33
35
  * Resolve the API URL based on network
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@0xmonaco/core",
3
- "version": "1.0.31",
3
+ "version": "1.0.32",
4
4
  "type": "module",
5
5
  "repository": {
6
6
  "type": "git",
@@ -23,8 +23,8 @@
23
23
  "viem": "^2.45.2"
24
24
  },
25
25
  "dependencies": {
26
- "@0xmonaco/contracts": "1.0.31",
27
- "@0xmonaco/types": "1.0.31",
26
+ "@0xmonaco/contracts": "1.0.32",
27
+ "@0xmonaco/types": "1.0.32",
28
28
  "@noble/curves": "^1.9.1",
29
29
  "@noble/hashes": "^1.8.0",
30
30
  "http-status-codes": "^2.3.0"