@0xmonaco/types 0.5.0 → 0.5.1

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.
@@ -17,13 +17,13 @@ export interface SDKConfig {
17
17
  /** Wallet client for signing operations */
18
18
  walletClient: WalletClient;
19
19
  /**
20
- * Network to use - can be a preset ("local", "testnet", "mainnet", "staging") or a custom API URL.
20
+ * Network to use - can be a preset ("local", "development", "staging", "mainnet") or a custom API URL.
21
21
  *
22
22
  * Preset networks map to default API URLs:
23
23
  * - "local": http://localhost:8080
24
- * - "testnet": https://staging.apimonaco.xyz
24
+ * - "development": https://develop.apimonaco.xyz
25
25
  * - "staging": https://staging.apimonaco.xyz
26
- * - "mainnet": https://api.monaco.xyz (tentative, subject to change)
26
+ * - "mainnet": https://api.monaco.xyz
27
27
  *
28
28
  * For custom API URLs, pass the full URL as a string (e.g., "https://my-custom-monaco-api.com").
29
29
  * Note: Custom API URLs always use the testnet chain (Sei testnet). Only the "mainnet" preset uses the mainnet chain.
@@ -6,17 +6,18 @@
6
6
  /**
7
7
  * Supported network types for the Monaco SDK.
8
8
  *
9
- * Can be one of the preset networks ("mainnet", "testnet", "local") which map to default API URLs,
9
+ * Can be one of the preset networks ("mainnet", "development", "staging", "local") which map to default API URLs,
10
10
  * or a custom API URL string that will be used directly.
11
11
  *
12
12
  * Preset API URLs:
13
13
  * - "local": http://localhost:8080
14
- * - "testnet": https://dev.api-monaco.xyz
15
- * - "mainnet": https://api-monaco.xyz
14
+ * - "development": https://develop.apimonaco.xyz
15
+ * - "staging": https://staging.apimonaco.xyz
16
+ * - "mainnet": https://api.monaco.xyz
16
17
  *
17
18
  * Custom API URL example: "https://my-custom-api.com"
18
19
  */
19
- export type Network = "mainnet" | "testnet" | "local" | string;
20
+ export type Network = "mainnet" | "development" | "staging" | "local" | string;
20
21
  /**
21
22
  * Network endpoint configuration for the Monaco SDK.
22
23
  *
@@ -1 +1 @@
1
- {"version":3,"file":"network.d.ts","sourceRoot":"","sources":["../../src/sdk/network.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH;;;;;;;;;;;;GAYG;AACH,MAAM,MAAM,OAAO,GAAG,SAAS,GAAG,SAAS,GAAG,OAAO,GAAG,MAAM,CAAC;AAE/D;;;;;GAKG;AACH,MAAM,WAAW,gBAAgB;IAC/B,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;CAChB"}
1
+ {"version":3,"file":"network.d.ts","sourceRoot":"","sources":["../../src/sdk/network.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH;;;;;;;;;;;;;GAaG;AACH,MAAM,MAAM,OAAO,GAAG,SAAS,GAAG,aAAa,GAAG,SAAS,GAAG,OAAO,GAAG,MAAM,CAAC;AAE/E;;;;;GAKG;AACH,MAAM,WAAW,gBAAgB;IAC/B,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;CAChB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@0xmonaco/types",
3
- "version": "0.5.0",
3
+ "version": "0.5.1",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",
@@ -11,7 +11,7 @@
11
11
  "dependencies": {
12
12
  "viem": "^2.31.7",
13
13
  "zod": "^4.1.12",
14
- "@0xmonaco/contracts": "0.5.0"
14
+ "@0xmonaco/contracts": "0.5.1"
15
15
  },
16
16
  "devDependencies": {
17
17
  "typescript": "5.9.2"