@agglayer/sdk 1.0.0-beta.27 → 1.0.0-beta.28
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/index.d.mts +5 -1
- package/dist/index.d.ts +5 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -59,6 +59,10 @@ interface TokenInfo {
|
|
|
59
59
|
interface TokenReference {
|
|
60
60
|
readonly address: string;
|
|
61
61
|
readonly chainId: number;
|
|
62
|
+
readonly name: string;
|
|
63
|
+
readonly symbol: string;
|
|
64
|
+
readonly decimals: number;
|
|
65
|
+
readonly logoURI?: string;
|
|
62
66
|
}
|
|
63
67
|
|
|
64
68
|
/**
|
|
@@ -131,11 +135,11 @@ interface RoutePreferences {
|
|
|
131
135
|
interface FeeCost {
|
|
132
136
|
readonly name: string;
|
|
133
137
|
readonly description?: string;
|
|
134
|
-
readonly token: TokenInfo;
|
|
135
138
|
readonly amount: string;
|
|
136
139
|
readonly amountUSD?: string;
|
|
137
140
|
readonly percentage?: string;
|
|
138
141
|
readonly included: boolean;
|
|
142
|
+
readonly token: TokenReference;
|
|
139
143
|
}
|
|
140
144
|
interface GasCost {
|
|
141
145
|
readonly type: 'SEND' | 'APPROVAL' | 'EXECUTION';
|
package/dist/index.d.ts
CHANGED
|
@@ -59,6 +59,10 @@ interface TokenInfo {
|
|
|
59
59
|
interface TokenReference {
|
|
60
60
|
readonly address: string;
|
|
61
61
|
readonly chainId: number;
|
|
62
|
+
readonly name: string;
|
|
63
|
+
readonly symbol: string;
|
|
64
|
+
readonly decimals: number;
|
|
65
|
+
readonly logoURI?: string;
|
|
62
66
|
}
|
|
63
67
|
|
|
64
68
|
/**
|
|
@@ -131,11 +135,11 @@ interface RoutePreferences {
|
|
|
131
135
|
interface FeeCost {
|
|
132
136
|
readonly name: string;
|
|
133
137
|
readonly description?: string;
|
|
134
|
-
readonly token: TokenInfo;
|
|
135
138
|
readonly amount: string;
|
|
136
139
|
readonly amountUSD?: string;
|
|
137
140
|
readonly percentage?: string;
|
|
138
141
|
readonly included: boolean;
|
|
142
|
+
readonly token: TokenReference;
|
|
139
143
|
}
|
|
140
144
|
interface GasCost {
|
|
141
145
|
readonly type: 'SEND' | 'APPROVAL' | 'EXECUTION';
|