@vleap/warps-adapter-fastset 0.1.0-alpha.34 → 0.1.0-alpha.36
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.js +3 -4
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +6 -5
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -1906,7 +1906,7 @@ var WarpFastsetResults = class {
|
|
|
1906
1906
|
actionIndex,
|
|
1907
1907
|
inputs,
|
|
1908
1908
|
this.serializer.coreSerializer,
|
|
1909
|
-
this.config
|
|
1909
|
+
this.config
|
|
1910
1910
|
)
|
|
1911
1911
|
};
|
|
1912
1912
|
}
|
|
@@ -2951,14 +2951,13 @@ var NativeTokenSet = {
|
|
|
2951
2951
|
decimals: 0,
|
|
2952
2952
|
logoUrl: "https://vleap.ai/images/tokens/set.svg"
|
|
2953
2953
|
};
|
|
2954
|
-
function createFastsetAdapter(chainName,
|
|
2954
|
+
function createFastsetAdapter(chainName, chainInfos) {
|
|
2955
2955
|
return (config, fallback) => {
|
|
2956
2956
|
const chainInfo = chainInfos[config.env];
|
|
2957
2957
|
if (!chainInfo) throw new Error(`FastsetAdapter: chain info not found for chain ${chainName}`);
|
|
2958
2958
|
if (!fallback) throw new Error("Fastset adapter requires a fallback adapter");
|
|
2959
2959
|
return {
|
|
2960
2960
|
chainInfo,
|
|
2961
|
-
prefix: chainPrefix,
|
|
2962
2961
|
builder: () => fallback.builder(),
|
|
2963
2962
|
executor: new WarpFastsetExecutor(config, chainInfo),
|
|
2964
2963
|
results: new WarpFastsetResults(config, chainInfo),
|
|
@@ -2972,7 +2971,7 @@ function createFastsetAdapter(chainName, chainPrefix, chainInfos) {
|
|
|
2972
2971
|
};
|
|
2973
2972
|
};
|
|
2974
2973
|
}
|
|
2975
|
-
var getFastsetAdapter = createFastsetAdapter(import_warps6.WarpChainName.Fastset,
|
|
2974
|
+
var getFastsetAdapter = createFastsetAdapter(import_warps6.WarpChainName.Fastset, {
|
|
2976
2975
|
mainnet: {
|
|
2977
2976
|
name: import_warps6.WarpChainName.Fastset,
|
|
2978
2977
|
displayName: "FastSet",
|