@rango-dev/widget-embedded 0.41.2-next.10 → 0.41.2-next.12
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/components/Quote/Quote.styles.d.ts +2 -2
- package/dist/components/Slippage/Slippage.d.ts.map +1 -1
- package/dist/constants/swapSettings.d.ts +2 -2
- package/dist/constants/swapSettings.d.ts.map +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +4 -4
- package/dist/store/slices/settings.d.ts.map +1 -1
- package/dist/utils/settings.d.ts +4 -0
- package/dist/utils/settings.d.ts.map +1 -1
- package/dist/utils/swap.d.ts +2 -1
- package/dist/utils/swap.d.ts.map +1 -1
- package/dist/widget-embedded.build.json +1 -1
- package/package.json +2 -2
- package/src/components/Slippage/Slippage.tsx +52 -21
- package/src/components/SwapDetails/SwapDetails.tsx +1 -1
- package/src/constants/swapSettings.ts +2 -2
- package/src/store/slices/settings.ts +0 -2
- package/src/utils/settings.ts +28 -0
- package/src/utils/swap.ts +15 -2
|
@@ -1733,7 +1733,7 @@ export declare const Trigger: import("@stitches/react/types/styled-component").S
|
|
|
1733
1733
|
transitions: {};
|
|
1734
1734
|
}, import("@stitches/react/types/config").DefaultThemeMap, {}>>;
|
|
1735
1735
|
export declare const ImageContainer: import("@stitches/react/types/styled-component").StyledComponent<"div", {
|
|
1736
|
-
state?: "
|
|
1736
|
+
state?: "error" | "warning" | undefined;
|
|
1737
1737
|
}, {
|
|
1738
1738
|
xs: string;
|
|
1739
1739
|
sm: string;
|
|
@@ -3178,7 +3178,7 @@ export declare const ContainerInfoOutput: import("@stitches/react/types/styled-c
|
|
|
3178
3178
|
transitions: {};
|
|
3179
3179
|
}, import("@stitches/react/types/config").DefaultThemeMap, {}>>;
|
|
3180
3180
|
export declare const MoreStep: import("@stitches/react/types/styled-component").StyledComponent<"div", {
|
|
3181
|
-
state?: "
|
|
3181
|
+
state?: "error" | "warning" | undefined;
|
|
3182
3182
|
}, {
|
|
3183
3183
|
xs: string;
|
|
3184
3184
|
sm: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Slippage.d.ts","sourceRoot":"","sources":["../../../src/components/Slippage/Slippage.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Slippage.d.ts","sourceRoot":"","sources":["../../../src/components/Slippage/Slippage.tsx"],"names":[],"mappings":"AAUA,OAAO,KAAK,MAAM,OAAO,CAAC;AAe1B,wBAAgB,QAAQ,sBAqGvB"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export declare const SLIPPAGES: number[];
|
|
2
2
|
export declare const DEFAULT_SLIPPAGE = 1;
|
|
3
3
|
export declare const HIGH_SLIPPAGE = 5;
|
|
4
|
-
export declare const MAX_SLIPPAGE =
|
|
5
|
-
export declare const
|
|
4
|
+
export declare const MAX_SLIPPAGE = 30;
|
|
5
|
+
export declare const MIN_SLIPPAGE = 0;
|
|
6
6
|
//# sourceMappingURL=swapSettings.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"swapSettings.d.ts","sourceRoot":"","sources":["../../src/constants/swapSettings.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,SAAS,UAAsB,CAAC;AAE7C,eAAO,MAAM,gBAAgB,IAAI,CAAC;AAElC,eAAO,MAAM,aAAa,IAAI,CAAC;AAE/B,eAAO,MAAM,YAAY,
|
|
1
|
+
{"version":3,"file":"swapSettings.d.ts","sourceRoot":"","sources":["../../src/constants/swapSettings.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,SAAS,UAAsB,CAAC;AAE7C,eAAO,MAAM,gBAAgB,IAAI,CAAC;AAElC,eAAO,MAAM,aAAa,IAAI,CAAC;AAE/B,eAAO,MAAM,YAAY,KAAK,CAAC;AAE/B,eAAO,MAAM,YAAY,IAAI,CAAC"}
|