@shogun-sdk/swap 0.0.2-test.29 → 0.0.2-test.30

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.
package/dist/core.cjs CHANGED
@@ -61,7 +61,8 @@ var SOLANA_CHAIN_ID = import_intents_sdk.ChainID.Solana;
61
61
  var CURRENT_SUPPORTED = [
62
62
  import_intents_sdk.ChainID.Solana,
63
63
  import_intents_sdk.ChainID.BSC,
64
- import_intents_sdk.ChainID.Base
64
+ import_intents_sdk.ChainID.Base,
65
+ import_intents_sdk.ChainID.MONAD
65
66
  ];
66
67
  var ChainId = Object.entries(import_intents_sdk.ChainID).reduce(
67
68
  (acc, [key, value]) => {
@@ -126,6 +127,15 @@ var SupportedChainsInternal = [
126
127
  symbol: "SOL",
127
128
  decimals: 9,
128
129
  tokenAddress: NATIVE_TOKEN.SOL
130
+ },
131
+ {
132
+ id: import_intents_sdk.ChainID.MONAD,
133
+ name: "Monad",
134
+ isEVM: true,
135
+ wrapped: "0x3bd359C1119dA7Da1D913D1C4D2B7c461115433A",
136
+ symbol: "MON",
137
+ decimals: 18,
138
+ tokenAddress: NATIVE_TOKEN.ETH
129
139
  }
130
140
  ];
131
141
  var SupportedChains = SupportedChainsInternal.filter(
package/dist/core.d.cts CHANGED
@@ -1,4 +1,4 @@
1
- export { B as BalanceRequestParams, e as BalanceResponse, C as ChainId, O as OrderExecutionType, j as SupportedChain, g as SupportedChains, b as SwapQuoteParams, c as SwapQuoteResponse, a as SwapSDK, S as SwapSDKConfig, h as TokenBalance, f as buildQuoteParams, i as isEvmChain } from './index-6Wt_Nfub.cjs';
1
+ export { B as BalanceRequestParams, e as BalanceResponse, C as ChainId, O as OrderExecutionType, j as SupportedChain, g as SupportedChains, b as SwapQuoteParams, c as SwapQuoteResponse, a as SwapSDK, S as SwapSDKConfig, h as TokenBalance, f as buildQuoteParams, i as isEvmChain } from './index-CtZ-hgYk.cjs';
2
2
  import '@shogun-sdk/intents-sdk';
3
3
  import './wallet-B9bKceyN.cjs';
4
4
  import '@solana/web3.js';
package/dist/core.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- export { B as BalanceRequestParams, e as BalanceResponse, C as ChainId, O as OrderExecutionType, j as SupportedChain, g as SupportedChains, b as SwapQuoteParams, c as SwapQuoteResponse, a as SwapSDK, S as SwapSDKConfig, h as TokenBalance, f as buildQuoteParams, i as isEvmChain } from './index-DdO3mOAE.js';
1
+ export { B as BalanceRequestParams, e as BalanceResponse, C as ChainId, O as OrderExecutionType, j as SupportedChain, g as SupportedChains, b as SwapQuoteParams, c as SwapQuoteResponse, a as SwapSDK, S as SwapSDKConfig, h as TokenBalance, f as buildQuoteParams, i as isEvmChain } from './index-CXY6BUx9.js';
2
2
  import '@shogun-sdk/intents-sdk';
3
3
  import './wallet-B9bKceyN.js';
4
4
  import '@solana/web3.js';
package/dist/core.js CHANGED
@@ -32,7 +32,8 @@ var SOLANA_CHAIN_ID = BaseChainID.Solana;
32
32
  var CURRENT_SUPPORTED = [
33
33
  BaseChainID.Solana,
34
34
  BaseChainID.BSC,
35
- BaseChainID.Base
35
+ BaseChainID.Base,
36
+ BaseChainID.MONAD
36
37
  ];
37
38
  var ChainId = Object.entries(BaseChainID).reduce(
38
39
  (acc, [key, value]) => {
@@ -97,6 +98,15 @@ var SupportedChainsInternal = [
97
98
  symbol: "SOL",
98
99
  decimals: 9,
99
100
  tokenAddress: NATIVE_TOKEN.SOL
101
+ },
102
+ {
103
+ id: BaseChainID.MONAD,
104
+ name: "Monad",
105
+ isEVM: true,
106
+ wrapped: "0x3bd359C1119dA7Da1D913D1C4D2B7c461115433A",
107
+ symbol: "MON",
108
+ decimals: 18,
109
+ tokenAddress: NATIVE_TOKEN.ETH
100
110
  }
101
111
  ];
102
112
  var SupportedChains = SupportedChainsInternal.filter(
@@ -368,7 +368,7 @@ declare enum OrderExecutionType {
368
368
  * Public filtered enum — exposes only currently supported chains.
369
369
  *
370
370
  */
371
- declare const ChainId: Partial<Record<"Arbitrum" | "Optimism" | "Base" | "Hyperliquid" | "BSC" | "Solana" | "Sui", number>>;
371
+ declare const ChainId: Partial<Record<"Arbitrum" | "Optimism" | "Base" | "Hyperliquid" | "BSC" | "Solana" | "Sui" | "MONAD", number>>;
372
372
  /**
373
373
  * Public chains — only currently supported ones.
374
374
  */
@@ -368,7 +368,7 @@ declare enum OrderExecutionType {
368
368
  * Public filtered enum — exposes only currently supported chains.
369
369
  *
370
370
  */
371
- declare const ChainId: Partial<Record<"Arbitrum" | "Optimism" | "Base" | "Hyperliquid" | "BSC" | "Solana" | "Sui", number>>;
371
+ declare const ChainId: Partial<Record<"Arbitrum" | "Optimism" | "Base" | "Hyperliquid" | "BSC" | "Solana" | "Sui" | "MONAD", number>>;
372
372
  /**
373
373
  * Public chains — only currently supported ones.
374
374
  */
package/dist/index.cjs CHANGED
@@ -61,7 +61,8 @@ var SOLANA_CHAIN_ID = import_intents_sdk.ChainID.Solana;
61
61
  var CURRENT_SUPPORTED = [
62
62
  import_intents_sdk.ChainID.Solana,
63
63
  import_intents_sdk.ChainID.BSC,
64
- import_intents_sdk.ChainID.Base
64
+ import_intents_sdk.ChainID.Base,
65
+ import_intents_sdk.ChainID.MONAD
65
66
  ];
66
67
  var ChainId = Object.entries(import_intents_sdk.ChainID).reduce(
67
68
  (acc, [key, value]) => {
@@ -126,6 +127,15 @@ var SupportedChainsInternal = [
126
127
  symbol: "SOL",
127
128
  decimals: 9,
128
129
  tokenAddress: NATIVE_TOKEN.SOL
130
+ },
131
+ {
132
+ id: import_intents_sdk.ChainID.MONAD,
133
+ name: "Monad",
134
+ isEVM: true,
135
+ wrapped: "0x3bd359C1119dA7Da1D913D1C4D2B7c461115433A",
136
+ symbol: "MON",
137
+ decimals: 18,
138
+ tokenAddress: NATIVE_TOKEN.ETH
129
139
  }
130
140
  ];
131
141
  var SupportedChains = SupportedChainsInternal.filter(
package/dist/index.d.cts CHANGED
@@ -1,4 +1,4 @@
1
- export { B as BalanceRequestParams, e as BalanceResponse, C as ChainId, O as OrderExecutionType, j as SupportedChain, g as SupportedChains, b as SwapQuoteParams, c as SwapQuoteResponse, a as SwapSDK, S as SwapSDKConfig, h as TokenBalance, f as buildQuoteParams, i as isEvmChain } from './index-6Wt_Nfub.cjs';
1
+ export { B as BalanceRequestParams, e as BalanceResponse, C as ChainId, O as OrderExecutionType, j as SupportedChain, g as SupportedChains, b as SwapQuoteParams, c as SwapQuoteResponse, a as SwapSDK, S as SwapSDKConfig, h as TokenBalance, f as buildQuoteParams, i as isEvmChain } from './index-CtZ-hgYk.cjs';
2
2
  import '@shogun-sdk/intents-sdk';
3
3
  import './wallet-B9bKceyN.cjs';
4
4
  import '@solana/web3.js';
package/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- export { B as BalanceRequestParams, e as BalanceResponse, C as ChainId, O as OrderExecutionType, j as SupportedChain, g as SupportedChains, b as SwapQuoteParams, c as SwapQuoteResponse, a as SwapSDK, S as SwapSDKConfig, h as TokenBalance, f as buildQuoteParams, i as isEvmChain } from './index-DdO3mOAE.js';
1
+ export { B as BalanceRequestParams, e as BalanceResponse, C as ChainId, O as OrderExecutionType, j as SupportedChain, g as SupportedChains, b as SwapQuoteParams, c as SwapQuoteResponse, a as SwapSDK, S as SwapSDKConfig, h as TokenBalance, f as buildQuoteParams, i as isEvmChain } from './index-CXY6BUx9.js';
2
2
  import '@shogun-sdk/intents-sdk';
3
3
  import './wallet-B9bKceyN.js';
4
4
  import '@solana/web3.js';
package/dist/index.js CHANGED
@@ -32,7 +32,8 @@ var SOLANA_CHAIN_ID = BaseChainID.Solana;
32
32
  var CURRENT_SUPPORTED = [
33
33
  BaseChainID.Solana,
34
34
  BaseChainID.BSC,
35
- BaseChainID.Base
35
+ BaseChainID.Base,
36
+ BaseChainID.MONAD
36
37
  ];
37
38
  var ChainId = Object.entries(BaseChainID).reduce(
38
39
  (acc, [key, value]) => {
@@ -97,6 +98,15 @@ var SupportedChainsInternal = [
97
98
  symbol: "SOL",
98
99
  decimals: 9,
99
100
  tokenAddress: NATIVE_TOKEN.SOL
101
+ },
102
+ {
103
+ id: BaseChainID.MONAD,
104
+ name: "Monad",
105
+ isEVM: true,
106
+ wrapped: "0x3bd359C1119dA7Da1D913D1C4D2B7c461115433A",
107
+ symbol: "MON",
108
+ decimals: 18,
109
+ tokenAddress: NATIVE_TOKEN.ETH
100
110
  }
101
111
  ];
102
112
  var SupportedChains = SupportedChainsInternal.filter(
package/dist/react.cjs CHANGED
@@ -82,7 +82,8 @@ var SOLANA_CHAIN_ID = import_intents_sdk.ChainID.Solana;
82
82
  var CURRENT_SUPPORTED = [
83
83
  import_intents_sdk.ChainID.Solana,
84
84
  import_intents_sdk.ChainID.BSC,
85
- import_intents_sdk.ChainID.Base
85
+ import_intents_sdk.ChainID.Base,
86
+ import_intents_sdk.ChainID.MONAD
86
87
  ];
87
88
  var ChainId = Object.entries(import_intents_sdk.ChainID).reduce(
88
89
  (acc, [key, value]) => {
@@ -147,6 +148,15 @@ var SupportedChainsInternal = [
147
148
  symbol: "SOL",
148
149
  decimals: 9,
149
150
  tokenAddress: NATIVE_TOKEN.SOL
151
+ },
152
+ {
153
+ id: import_intents_sdk.ChainID.MONAD,
154
+ name: "Monad",
155
+ isEVM: true,
156
+ wrapped: "0x3bd359C1119dA7Da1D913D1C4D2B7c461115433A",
157
+ symbol: "MON",
158
+ decimals: 18,
159
+ tokenAddress: NATIVE_TOKEN.ETH
150
160
  }
151
161
  ];
152
162
  var SupportedChains = SupportedChainsInternal.filter(
package/dist/react.d.cts CHANGED
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
- import { S as SwapSDKConfig, a as SwapSDK, b as SwapQuoteParams, c as SwapQuoteResponse, E as ExecuteOrderParams, d as Stage, P as PlaceOrderResult, T as TokenInfo, B as BalanceRequestParams, e as BalanceResponse } from './index-6Wt_Nfub.cjs';
3
- export { C as ChainId, O as OrderExecutionType, j as SupportedChain, g as SupportedChains, h as TokenBalance, f as buildQuoteParams, i as isEvmChain } from './index-6Wt_Nfub.cjs';
2
+ import { S as SwapSDKConfig, a as SwapSDK, b as SwapQuoteParams, c as SwapQuoteResponse, E as ExecuteOrderParams, d as Stage, P as PlaceOrderResult, T as TokenInfo, B as BalanceRequestParams, e as BalanceResponse } from './index-CtZ-hgYk.cjs';
3
+ export { C as ChainId, O as OrderExecutionType, j as SupportedChain, g as SupportedChains, h as TokenBalance, f as buildQuoteParams, i as isEvmChain } from './index-CtZ-hgYk.cjs';
4
4
  import { WalletClient } from 'viem';
5
5
  import { A as AdaptedWallet } from './wallet-B9bKceyN.cjs';
6
6
  import { ApiUserOrders, ApiCrossChainOrder, ApiSingleChainOrder } from '@shogun-sdk/intents-sdk';
package/dist/react.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
- import { S as SwapSDKConfig, a as SwapSDK, b as SwapQuoteParams, c as SwapQuoteResponse, E as ExecuteOrderParams, d as Stage, P as PlaceOrderResult, T as TokenInfo, B as BalanceRequestParams, e as BalanceResponse } from './index-DdO3mOAE.js';
3
- export { C as ChainId, O as OrderExecutionType, j as SupportedChain, g as SupportedChains, h as TokenBalance, f as buildQuoteParams, i as isEvmChain } from './index-DdO3mOAE.js';
2
+ import { S as SwapSDKConfig, a as SwapSDK, b as SwapQuoteParams, c as SwapQuoteResponse, E as ExecuteOrderParams, d as Stage, P as PlaceOrderResult, T as TokenInfo, B as BalanceRequestParams, e as BalanceResponse } from './index-CXY6BUx9.js';
3
+ export { C as ChainId, O as OrderExecutionType, j as SupportedChain, g as SupportedChains, h as TokenBalance, f as buildQuoteParams, i as isEvmChain } from './index-CXY6BUx9.js';
4
4
  import { WalletClient } from 'viem';
5
5
  import { A as AdaptedWallet } from './wallet-B9bKceyN.js';
6
6
  import { ApiUserOrders, ApiCrossChainOrder, ApiSingleChainOrder } from '@shogun-sdk/intents-sdk';
package/dist/react.js CHANGED
@@ -35,7 +35,8 @@ var SOLANA_CHAIN_ID = BaseChainID.Solana;
35
35
  var CURRENT_SUPPORTED = [
36
36
  BaseChainID.Solana,
37
37
  BaseChainID.BSC,
38
- BaseChainID.Base
38
+ BaseChainID.Base,
39
+ BaseChainID.MONAD
39
40
  ];
40
41
  var ChainId = Object.entries(BaseChainID).reduce(
41
42
  (acc, [key, value]) => {
@@ -100,6 +101,15 @@ var SupportedChainsInternal = [
100
101
  symbol: "SOL",
101
102
  decimals: 9,
102
103
  tokenAddress: NATIVE_TOKEN.SOL
104
+ },
105
+ {
106
+ id: BaseChainID.MONAD,
107
+ name: "Monad",
108
+ isEVM: true,
109
+ wrapped: "0x3bd359C1119dA7Da1D913D1C4D2B7c461115433A",
110
+ symbol: "MON",
111
+ decimals: 18,
112
+ tokenAddress: NATIVE_TOKEN.ETH
103
113
  }
104
114
  ];
105
115
  var SupportedChains = SupportedChainsInternal.filter(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shogun-sdk/swap",
3
- "version": "0.0.2-test.29",
3
+ "version": "0.0.2-test.30",
4
4
  "type": "module",
5
5
  "description": "Shogun Network Swap utilities and helpers",
6
6
  "author": "Shogun Network",
@@ -45,7 +45,7 @@
45
45
  "sideEffects": false,
46
46
  "dependencies": {
47
47
  "@solana/web3.js": "^1.98.4",
48
- "@shogun-sdk/intents-sdk": "1.2.6-test.11"
48
+ "@shogun-sdk/intents-sdk": "1.2.6-test.12"
49
49
  },
50
50
  "devDependencies": {
51
51
  "@ethersproject/abstract-signer": "^5.7.0",