@stakekit/widget 0.0.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.
- package/dist/package/bundle/assets/fees.png +0 -0
- package/dist/package/bundle/assets/powered-by.png +0 -0
- package/dist/package/bundle/assets/what-is-deposit.png +0 -0
- package/dist/package/bundle/assets/what-is-lending.png +0 -0
- package/dist/package/bundle/assets/what-is-liquid-staking.png +0 -0
- package/dist/package/bundle/assets/what-is-staking.png +0 -0
- package/dist/package/bundle/index.bundle.css +2 -0
- package/dist/package/bundle/index.bundle.css.map +7 -0
- package/dist/package/bundle/index.bundle.js +1119 -0
- package/dist/package/bundle/index.bundle.js.map +7 -0
- package/dist/package/chunk-USBWYVY2.js +1953 -0
- package/dist/package/chunk-USBWYVY2.js.map +7 -0
- package/dist/package/index.package.css +3746 -0
- package/dist/package/index.package.css.map +7 -0
- package/dist/package/index.package.js +22541 -0
- package/dist/package/index.package.js.map +7 -0
- package/dist/package/polyfills.js +2 -0
- package/dist/package/polyfills.js.map +7 -0
- package/dist/package/types/src/App.d.ts +15 -0
- package/dist/package/types/src/components/atoms/box/index.d.ts +133 -0
- package/dist/package/types/src/components/atoms/button/button.d.ts +8 -0
- package/dist/package/types/src/components/atoms/button/index.d.ts +1 -0
- package/dist/package/types/src/components/atoms/button/styles.css.d.ts +48 -0
- package/dist/package/types/src/components/atoms/divider/index.d.ts +4 -0
- package/dist/package/types/src/components/atoms/highlight/index.d.ts +6 -0
- package/dist/package/types/src/components/atoms/icons/arrows-left-right.d.ts +1 -0
- package/dist/package/types/src/components/atoms/icons/caret-down.d.ts +1 -0
- package/dist/package/types/src/components/atoms/icons/caret-left.d.ts +1 -0
- package/dist/package/types/src/components/atoms/icons/check-circle.d.ts +4 -0
- package/dist/package/types/src/components/atoms/icons/check-disabled.d.ts +1 -0
- package/dist/package/types/src/components/atoms/icons/check-steps.d.ts +3 -0
- package/dist/package/types/src/components/atoms/icons/check.d.ts +4 -0
- package/dist/package/types/src/components/atoms/icons/circle-notch.d.ts +1 -0
- package/dist/package/types/src/components/atoms/icons/clock-clock-wise.d.ts +1 -0
- package/dist/package/types/src/components/atoms/icons/gift.d.ts +1 -0
- package/dist/package/types/src/components/atoms/icons/help.d.ts +1 -0
- package/dist/package/types/src/components/atoms/icons/index.d.ts +11 -0
- package/dist/package/types/src/components/atoms/icons/search.d.ts +1 -0
- package/dist/package/types/src/components/atoms/icons/x-icon.d.ts +4 -0
- package/dist/package/types/src/components/atoms/image/index.d.ts +6 -0
- package/dist/package/types/src/components/atoms/number-input/index.d.ts +8 -0
- package/dist/package/types/src/components/atoms/number-input/styles.css.d.ts +3 -0
- package/dist/package/types/src/components/atoms/number-input/use-auto-resize-text.d.ts +6 -0
- package/dist/package/types/src/components/atoms/select-modal/index.d.ts +17 -0
- package/dist/package/types/src/components/atoms/select-modal/styles.css.d.ts +7 -0
- package/dist/package/types/src/components/atoms/spinner/index.d.ts +5 -0
- package/dist/package/types/src/components/atoms/spinner/style.css.d.ts +8 -0
- package/dist/package/types/src/components/atoms/token-icon/index.d.ts +8 -0
- package/dist/package/types/src/components/atoms/token-icon/style.css.d.ts +1 -0
- package/dist/package/types/src/components/atoms/typography/heading.d.ts +279 -0
- package/dist/package/types/src/components/atoms/typography/index.d.ts +2 -0
- package/dist/package/types/src/components/atoms/typography/styles.css.d.ts +76 -0
- package/dist/package/types/src/components/atoms/typography/text.d.ts +8 -0
- package/dist/package/types/src/components/index.d.ts +10 -0
- package/dist/package/types/src/components/molecules/header/header.d.ts +1 -0
- package/dist/package/types/src/components/molecules/header/index.d.ts +1 -0
- package/dist/package/types/src/components/molecules/header/styles.css.d.ts +3 -0
- package/dist/package/types/src/components/molecules/help-modal/index.d.ts +7 -0
- package/dist/package/types/src/components/molecules/help-modal/style.css.d.ts +2 -0
- package/dist/package/types/src/components/molecules/reward-token-details/index.d.ts +4 -0
- package/dist/package/types/src/components/molecules/reward-token-details/style.css.d.ts +1 -0
- package/dist/package/types/src/config/index.d.ts +16 -0
- package/dist/package/types/src/domain/index.d.ts +36 -0
- package/dist/package/types/src/domain/types/index.d.ts +4 -0
- package/dist/package/types/src/domain/types/price.d.ts +6 -0
- package/dist/package/types/src/domain/types/tokens.d.ts +2 -0
- package/dist/package/types/src/domain/types/wallet.d.ts +25 -0
- package/dist/package/types/src/domain/types/yields.d.ts +7 -0
- package/dist/package/types/src/hooks/api/use-account-balance.d.ts +5 -0
- package/dist/package/types/src/hooks/api/use-filtered-opportunities.d.ts +3 -0
- package/dist/package/types/src/hooks/api/use-network-gas.d.ts +4 -0
- package/dist/package/types/src/hooks/api/use-opportunities.d.ts +2 -0
- package/dist/package/types/src/hooks/api/use-prices.d.ts +4 -0
- package/dist/package/types/src/hooks/api/use-selected-stake-price.d.ts +6 -0
- package/dist/package/types/src/hooks/api/use-stake-enter-and-txs-construct.d.ts +8 -0
- package/dist/package/types/src/hooks/index.d.ts +6 -0
- package/dist/package/types/src/hooks/use-color-scheme.d.ts +1 -0
- package/dist/package/types/src/hooks/use-debounce.d.ts +1 -0
- package/dist/package/types/src/hooks/use-location-transition-animation/index.d.ts +5 -0
- package/dist/package/types/src/hooks/use-location-transition-animation/style.css.d.ts +2 -0
- package/dist/package/types/src/hooks/use-logout.d.ts +1 -0
- package/dist/package/types/src/hooks/use-previous.d.ts +1 -0
- package/dist/package/types/src/hooks/use-reset-app.d.ts +1 -0
- package/dist/package/types/src/hooks/use-root-element.d.ts +1 -0
- package/dist/package/types/src/hooks/use-saved-ref.d.ts +2 -0
- package/dist/package/types/src/hooks/use-shared-mutation.d.ts +2 -0
- package/dist/package/types/src/hooks/use-sk-wallet.d.ts +2 -0
- package/dist/package/types/src/hooks/use-toggle-theme.d.ts +1 -0
- package/dist/package/types/src/hooks/use-webview-connect-machine.d.ts +72 -0
- package/dist/package/types/src/index.bundle.d.ts +2 -0
- package/dist/package/types/src/index.package.d.ts +3 -0
- package/dist/package/types/src/main.d.ts +1 -0
- package/dist/package/types/src/pages/complete/index.d.ts +1 -0
- package/dist/package/types/src/pages/complete/use-complete.d.ts +13 -0
- package/dist/package/types/src/pages/components/index.d.ts +2 -0
- package/dist/package/types/src/pages/components/layout/index.d.ts +6 -0
- package/dist/package/types/src/pages/components/layout/style.css.d.ts +1 -0
- package/dist/package/types/src/pages/components/page-container.d.ts +2 -0
- package/dist/package/types/src/pages/details/components/footer.d.ts +5 -0
- package/dist/package/types/src/pages/details/components/select-opportunity.d.ts +12 -0
- package/dist/package/types/src/pages/details/components/select-validator.d.ts +7 -0
- package/dist/package/types/src/pages/details/components/styles.css.d.ts +4 -0
- package/dist/package/types/src/pages/details/index.d.ts +1 -0
- package/dist/package/types/src/pages/details/style.css.d.ts +6 -0
- package/dist/package/types/src/pages/details/types.d.ts +9 -0
- package/dist/package/types/src/pages/details/use-details.d.ts +46 -0
- package/dist/package/types/src/pages/index.d.ts +5 -0
- package/dist/package/types/src/pages/positions/index.d.ts +1 -0
- package/dist/package/types/src/pages/positions/styles.css.d.ts +4 -0
- package/dist/package/types/src/pages/positions/use-positions.d.ts +17 -0
- package/dist/package/types/src/pages/review/index.d.ts +1 -0
- package/dist/package/types/src/pages/review/style.css.d.ts +2 -0
- package/dist/package/types/src/pages/review/use-review.d.ts +16 -0
- package/dist/package/types/src/pages/steps/errors.d.ts +18 -0
- package/dist/package/types/src/pages/steps/index.d.ts +1 -0
- package/dist/package/types/src/pages/steps/styles.css.d.ts +5 -0
- package/dist/package/types/src/pages/steps/types.d.ts +14 -0
- package/dist/package/types/src/pages/steps/use-steps-machine.d.ts +344 -0
- package/dist/package/types/src/pages/steps/use-steps.d.ts +17 -0
- package/dist/package/types/src/polyfills.d.ts +1 -0
- package/dist/package/types/src/providers/cosmos/config.d.ts +303 -0
- package/dist/package/types/src/providers/cosmos/provider.d.ts +2 -0
- package/dist/package/types/src/providers/cosmos/wallet-connect/chain-wallet.d.ts +5 -0
- package/dist/package/types/src/providers/cosmos/wallet-connect/client.d.ts +3 -0
- package/dist/package/types/src/providers/cosmos/wallet-connect/index.d.ts +3 -0
- package/dist/package/types/src/providers/cosmos/wallet-connect/main-wallet.d.ts +5 -0
- package/dist/package/types/src/providers/cosmos/wallet-connect/registry.d.ts +2 -0
- package/dist/package/types/src/providers/ethereum/config.d.ts +6 -0
- package/dist/package/types/src/providers/ethereum/provider.d.ts +2 -0
- package/dist/package/types/src/providers/index.d.ts +2 -0
- package/dist/package/types/src/providers/rainbow-kit.d.ts +5 -0
- package/dist/package/types/src/providers/settings.d.ts +10 -0
- package/dist/package/types/src/providers/theme-wrapper.d.ts +8 -0
- package/dist/package/types/src/providers/wagmi/index.d.ts +7 -0
- package/dist/package/types/src/services/query-client.d.ts +2 -0
- package/dist/package/types/src/state/app-state.d.ts +7 -0
- package/dist/package/types/src/state/derived-app-state.d.ts +18 -0
- package/dist/package/types/src/state/index.d.ts +2 -0
- package/dist/package/types/src/state/types.d.ts +34 -0
- package/dist/package/types/src/style.css.d.ts +1 -0
- package/dist/package/types/src/styles/index.d.ts +1 -0
- package/dist/package/types/src/styles/theme/atoms.css.d.ts +124 -0
- package/dist/package/types/src/styles/theme/contract.css.d.ts +668 -0
- package/dist/package/types/src/styles/theme/global.css.d.ts +1 -0
- package/dist/package/types/src/styles/theme/index.d.ts +2 -0
- package/dist/package/types/src/styles/theme/properties.d.ts +472 -0
- package/dist/package/types/src/styles/tokens/breakpoints.d.ts +7 -0
- package/dist/package/types/src/styles/tokens/colors.d.ts +52 -0
- package/dist/package/types/src/styles/tokens/fonts.d.ts +6 -0
- package/dist/package/types/src/styles/tokens/radii.d.ts +17 -0
- package/dist/package/types/src/styles/tokens/space.d.ts +31 -0
- package/dist/package/types/src/styles/tokens/typography.d.ts +77 -0
- package/dist/package/types/src/styles/tokens/z-indices.d.ts +13 -0
- package/dist/package/types/src/translation/index.d.ts +103 -0
- package/dist/package/types/src/types/index.d.ts +1 -0
- package/dist/package/types/src/types/utils.d.ts +5 -0
- package/dist/package/types/src/types/window.d.ts +10 -0
- package/dist/package/types/src/utils/index.d.ts +5 -0
- package/dist/package/types/src/utils/mappers.d.ts +9 -0
- package/package.json +119 -0
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
import { Breakpoint } from "./breakpoints";
|
|
2
|
+
export declare const letterSpacingsContract: {
|
|
3
|
+
tighter: string;
|
|
4
|
+
tight: string;
|
|
5
|
+
normal: string;
|
|
6
|
+
wide: string;
|
|
7
|
+
wider: string;
|
|
8
|
+
widest: string;
|
|
9
|
+
};
|
|
10
|
+
export declare const letterSpacings: typeof letterSpacingsContract;
|
|
11
|
+
export type LetterSpacings = keyof typeof letterSpacings;
|
|
12
|
+
export declare const lineHeightsContract: {
|
|
13
|
+
none: string;
|
|
14
|
+
shorter: string;
|
|
15
|
+
short: string;
|
|
16
|
+
base: string;
|
|
17
|
+
tall: string;
|
|
18
|
+
taller: string;
|
|
19
|
+
xs: string;
|
|
20
|
+
sm: string;
|
|
21
|
+
md: string;
|
|
22
|
+
lg: string;
|
|
23
|
+
xl: string;
|
|
24
|
+
"2xl": string;
|
|
25
|
+
"3xl": string;
|
|
26
|
+
"4xl": string;
|
|
27
|
+
"5xl": string;
|
|
28
|
+
"6xl": string;
|
|
29
|
+
};
|
|
30
|
+
export declare const lineHeights: typeof lineHeightsContract;
|
|
31
|
+
export type LineHeights = keyof typeof lineHeights;
|
|
32
|
+
export declare const fontWeightsContract: {
|
|
33
|
+
normal: string;
|
|
34
|
+
medium: string;
|
|
35
|
+
semibold: string;
|
|
36
|
+
bold: string;
|
|
37
|
+
extrabold: string;
|
|
38
|
+
modalHeading: string;
|
|
39
|
+
tokenSelect: string;
|
|
40
|
+
primaryButton: string;
|
|
41
|
+
secondaryButton: string;
|
|
42
|
+
};
|
|
43
|
+
export declare const fontWeights: typeof fontWeightsContract;
|
|
44
|
+
export type FontWeights = keyof typeof fontWeights;
|
|
45
|
+
export declare const fontSizesContract: {
|
|
46
|
+
xs: string;
|
|
47
|
+
sm: string;
|
|
48
|
+
md: string;
|
|
49
|
+
lg: string;
|
|
50
|
+
lgx: string;
|
|
51
|
+
xl: string;
|
|
52
|
+
"2xl": string;
|
|
53
|
+
"3xl": string;
|
|
54
|
+
"4xl": string;
|
|
55
|
+
"5xl": string;
|
|
56
|
+
"6xl": string;
|
|
57
|
+
};
|
|
58
|
+
export declare const fontSizes: typeof fontSizesContract;
|
|
59
|
+
export type FontSizes = keyof typeof fontSizes;
|
|
60
|
+
export type Heading = "h1" | "h2" | "h3" | "h4";
|
|
61
|
+
export declare const headingsContract: {
|
|
62
|
+
[H in Heading]: {
|
|
63
|
+
[K in Breakpoint]: {
|
|
64
|
+
fontSize: string;
|
|
65
|
+
};
|
|
66
|
+
};
|
|
67
|
+
};
|
|
68
|
+
export declare const headings: typeof headingsContract;
|
|
69
|
+
export type Text = "standard" | "small" | "xsmall";
|
|
70
|
+
export declare const textsContract: {
|
|
71
|
+
[H in Text]: {
|
|
72
|
+
[K in Breakpoint]: {
|
|
73
|
+
fontSize: string;
|
|
74
|
+
};
|
|
75
|
+
};
|
|
76
|
+
};
|
|
77
|
+
export declare const texts: typeof textsContract;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export declare const zIndicesContract: {
|
|
2
|
+
hide: string;
|
|
3
|
+
auto: string;
|
|
4
|
+
base: string;
|
|
5
|
+
docked: string;
|
|
6
|
+
dropdown: string;
|
|
7
|
+
sticky: string;
|
|
8
|
+
banner: string;
|
|
9
|
+
overlay: string;
|
|
10
|
+
modal: string;
|
|
11
|
+
skipLink: string;
|
|
12
|
+
};
|
|
13
|
+
export declare const zIndices: typeof zIndicesContract;
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
export declare const localResources: {
|
|
2
|
+
readonly en: {
|
|
3
|
+
readonly translation: {
|
|
4
|
+
shared: {
|
|
5
|
+
stake_kit: string;
|
|
6
|
+
max: string;
|
|
7
|
+
available: string;
|
|
8
|
+
yearly: string;
|
|
9
|
+
monthly: string;
|
|
10
|
+
review: string;
|
|
11
|
+
receive: string;
|
|
12
|
+
fees: string;
|
|
13
|
+
none: string;
|
|
14
|
+
confirm: string;
|
|
15
|
+
cancel: string;
|
|
16
|
+
ok: string;
|
|
17
|
+
something_went_wrong: string;
|
|
18
|
+
retry: string;
|
|
19
|
+
unsupported_network: string;
|
|
20
|
+
};
|
|
21
|
+
init: {
|
|
22
|
+
get_started: string;
|
|
23
|
+
connect_wallet: string;
|
|
24
|
+
};
|
|
25
|
+
yield_types: {
|
|
26
|
+
liquid_stake: string;
|
|
27
|
+
stake: string;
|
|
28
|
+
deposit: string;
|
|
29
|
+
};
|
|
30
|
+
details: {
|
|
31
|
+
estimated_reward: string;
|
|
32
|
+
staked_via: string;
|
|
33
|
+
liquid_stake_description: string;
|
|
34
|
+
lent_description: string;
|
|
35
|
+
deposit_description: string;
|
|
36
|
+
yearn_description: string;
|
|
37
|
+
info_2: string;
|
|
38
|
+
info_3: string;
|
|
39
|
+
opportunity_search_title: string;
|
|
40
|
+
validator_search_title: string;
|
|
41
|
+
reward_token: string;
|
|
42
|
+
};
|
|
43
|
+
review: {
|
|
44
|
+
estimated_reward: string;
|
|
45
|
+
estimated_gas_fee: string;
|
|
46
|
+
wallet_fee: string;
|
|
47
|
+
terms_of_use: string;
|
|
48
|
+
amount_and_earn: string;
|
|
49
|
+
};
|
|
50
|
+
steps: {
|
|
51
|
+
title: string;
|
|
52
|
+
sign_transaction: string;
|
|
53
|
+
sign_transaction_desc: string;
|
|
54
|
+
transaction_status: string;
|
|
55
|
+
transaction_status_desc: string;
|
|
56
|
+
finalize_stake: string;
|
|
57
|
+
send_to_finalize_stake: string;
|
|
58
|
+
approve: string;
|
|
59
|
+
approve_desc: string;
|
|
60
|
+
submitted: string;
|
|
61
|
+
pending: string;
|
|
62
|
+
completed: string;
|
|
63
|
+
failed: string;
|
|
64
|
+
};
|
|
65
|
+
complete: {
|
|
66
|
+
successfully_staked: string;
|
|
67
|
+
view_transaction: string;
|
|
68
|
+
via: string;
|
|
69
|
+
};
|
|
70
|
+
help_modals: {
|
|
71
|
+
main: {
|
|
72
|
+
title: string;
|
|
73
|
+
description: string;
|
|
74
|
+
};
|
|
75
|
+
staking: {
|
|
76
|
+
title: string;
|
|
77
|
+
description: string;
|
|
78
|
+
};
|
|
79
|
+
liquid_staking: {
|
|
80
|
+
title: string;
|
|
81
|
+
description: string;
|
|
82
|
+
};
|
|
83
|
+
deposit: {
|
|
84
|
+
title: string;
|
|
85
|
+
description: string;
|
|
86
|
+
};
|
|
87
|
+
lending: {
|
|
88
|
+
title: string;
|
|
89
|
+
description: string;
|
|
90
|
+
};
|
|
91
|
+
fees: {
|
|
92
|
+
title: string;
|
|
93
|
+
description: string;
|
|
94
|
+
};
|
|
95
|
+
};
|
|
96
|
+
positions: {
|
|
97
|
+
title: string;
|
|
98
|
+
via: string;
|
|
99
|
+
};
|
|
100
|
+
};
|
|
101
|
+
};
|
|
102
|
+
};
|
|
103
|
+
export type SupportedLocales = keyof typeof localResources;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./utils";
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import BigNumber from "bignumber.js";
|
|
2
|
+
export declare const formatTokenBalance: (amount: BigNumber, decimals: number) => string;
|
|
3
|
+
export declare const apyToPercentage: (apy: number) => string;
|
|
4
|
+
export declare const getBackgroundColor: (stringInput: string) => string;
|
|
5
|
+
export declare const isRNWebViewContext: () => boolean;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Networks, Token } from "@stakekit/types";
|
|
2
|
+
import { Price, Prices } from "../domain/types";
|
|
3
|
+
import { PriceResponseDto, TokenDto, Networks as NetworksDto } from "@stakekit/api-hooks";
|
|
4
|
+
export declare const priceDtoToPrice: (priceDto: PriceResponseDto[string]) => Price;
|
|
5
|
+
export declare const priceResponseDtoToPrices: (priceResponseDto: PriceResponseDto) => Prices;
|
|
6
|
+
export declare const networksToNetworksDto: (networks: Networks) => NetworksDto;
|
|
7
|
+
export declare const networksDtoToNetworks: (networks: NetworksDto) => Networks;
|
|
8
|
+
export declare const tokenDtoToToken: (tokenDto: TokenDto) => Token;
|
|
9
|
+
export declare const tokenToTokenDto: (token: Token) => TokenDto;
|
package/package.json
ADDED
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@stakekit/widget",
|
|
3
|
+
"version": "0.0.1",
|
|
4
|
+
"type": "module",
|
|
5
|
+
"main": "./dist/package/index.package.js",
|
|
6
|
+
"types": "./dist/package/types/src/index.package.d.ts",
|
|
7
|
+
"exports": {
|
|
8
|
+
".": {
|
|
9
|
+
"import": "./dist/package/index.package.js",
|
|
10
|
+
"types": "./dist/package/types/src/index.package.d.ts"
|
|
11
|
+
},
|
|
12
|
+
"./bundle": {
|
|
13
|
+
"import": "./dist/package/bundle/index.bundle.js",
|
|
14
|
+
"types": "./dist/package/types/src/index.bundle.d.ts"
|
|
15
|
+
},
|
|
16
|
+
"./package/css": {
|
|
17
|
+
"import": "./dist/package/index.package.css"
|
|
18
|
+
},
|
|
19
|
+
"./bundle/css": {
|
|
20
|
+
"import": "./dist/package/bundle/index.bundle.css"
|
|
21
|
+
}
|
|
22
|
+
},
|
|
23
|
+
"files": [
|
|
24
|
+
"dist",
|
|
25
|
+
"package.json",
|
|
26
|
+
"README.md",
|
|
27
|
+
"!**/.*"
|
|
28
|
+
],
|
|
29
|
+
"keywords": [
|
|
30
|
+
"stakekit",
|
|
31
|
+
"widget"
|
|
32
|
+
],
|
|
33
|
+
"author": "Petar Todorovic <petar@omni.app> (https://github.com)",
|
|
34
|
+
"license": "MIT",
|
|
35
|
+
"publishConfig": {
|
|
36
|
+
"access": "public",
|
|
37
|
+
"registry": "https://registry.npmjs.org/"
|
|
38
|
+
},
|
|
39
|
+
"scripts": {
|
|
40
|
+
"dev": "vite",
|
|
41
|
+
"build": "yarn lint && yarn clean && yarn build:package && yarn build:website",
|
|
42
|
+
"build:website": "NODE_OPTIONS=--max-old-space-size=8192 vite build",
|
|
43
|
+
"build:package": "tsx build.ts && yarn build:types",
|
|
44
|
+
"build:types": "tsc --emitDeclarationOnly --declaration --project tsconfig.json && rm -rf dist/package/types/tests",
|
|
45
|
+
"clean": "rm -rf dist",
|
|
46
|
+
"preview": "vite preview",
|
|
47
|
+
"lint": "tsc && eslint src",
|
|
48
|
+
"test_skip_for_now": "vitest --mode test",
|
|
49
|
+
"test": "exit 0",
|
|
50
|
+
"format": "prettier --write ./src"
|
|
51
|
+
},
|
|
52
|
+
"peerDependencies": {
|
|
53
|
+
"react": "^18.0",
|
|
54
|
+
"react-dom": "^18.0",
|
|
55
|
+
"viem": "^1.1.8",
|
|
56
|
+
"wagmi": "^1.3.3"
|
|
57
|
+
},
|
|
58
|
+
"dependencies": {
|
|
59
|
+
"@cassiozen/usestatemachine": "^1.0.1",
|
|
60
|
+
"@cosmjs/encoding": "^0.31.0",
|
|
61
|
+
"@cosmos-kit/core": "^1.7.0",
|
|
62
|
+
"@cosmos-kit/keplr": "^0.33.40",
|
|
63
|
+
"@cosmos-kit/leap": "^0.15.10",
|
|
64
|
+
"@cosmos-kit/react-lite": "^1.5.1",
|
|
65
|
+
"@radix-ui/react-alert-dialog": "^1.0.4",
|
|
66
|
+
"@rainbow-me/rainbowkit": "^1.0.4",
|
|
67
|
+
"@stakekit/api-hooks": "^0.0.20",
|
|
68
|
+
"@stakekit/types": "*",
|
|
69
|
+
"@tanstack/react-query": "^4.29.19",
|
|
70
|
+
"@vanilla-extract/css": "^1.11.1",
|
|
71
|
+
"@vanilla-extract/dynamic": "^2.0.3",
|
|
72
|
+
"@vanilla-extract/recipes": "^0.4.0",
|
|
73
|
+
"@vanilla-extract/sprinkles": "^1.6.0",
|
|
74
|
+
"bignumber.js": "^9.1.1",
|
|
75
|
+
"chain-registry": "^1.15.0",
|
|
76
|
+
"classnames": "^2.3.2",
|
|
77
|
+
"cosmjs-types": "^0.8.0",
|
|
78
|
+
"eip1193-provider": "^1.0.1",
|
|
79
|
+
"i18next": "^23.2.3",
|
|
80
|
+
"i18next-browser-languagedetector": "^7.1.0",
|
|
81
|
+
"lodash.merge": "^4.6.2",
|
|
82
|
+
"purify-ts": "^2.0.1",
|
|
83
|
+
"react-i18next": "^13.0.1",
|
|
84
|
+
"react-router-dom": "^6.14.0",
|
|
85
|
+
"react-virtuoso": "^4.3.11"
|
|
86
|
+
},
|
|
87
|
+
"devDependencies": {
|
|
88
|
+
"@testing-library/jest-dom": "^5.16.5",
|
|
89
|
+
"@testing-library/react": "^14.0.0",
|
|
90
|
+
"@testing-library/user-event": "^14.4.3",
|
|
91
|
+
"@types/lodash.merge": "^4.6.7",
|
|
92
|
+
"@types/prettier": "^2.7.3",
|
|
93
|
+
"@types/react": "^18.2.14",
|
|
94
|
+
"@types/react-dom": "^18.2.6",
|
|
95
|
+
"@types/testing-library__jest-dom": "^5.14.6",
|
|
96
|
+
"@vanilla-extract/esbuild-plugin": "^2.2.2",
|
|
97
|
+
"@vanilla-extract/vite-plugin": "^3.8.2",
|
|
98
|
+
"@vitejs/plugin-react-swc": "^3.3.2",
|
|
99
|
+
"autoprefixer": "^10.4.14",
|
|
100
|
+
"dotenv": "^16.3.1",
|
|
101
|
+
"esbuild": "^0.18.10",
|
|
102
|
+
"eslint": "^8.43.0",
|
|
103
|
+
"eslint-config-prettier": "^8.8.0",
|
|
104
|
+
"eslint-config-react-app": "^7.0.1",
|
|
105
|
+
"jsdom": "^22.1.0",
|
|
106
|
+
"msw": "^1.2.2",
|
|
107
|
+
"postcss": "^8.4.24",
|
|
108
|
+
"prettier": "^2.8.8",
|
|
109
|
+
"react": "^18.2.0",
|
|
110
|
+
"react-dom": "^18.2.0",
|
|
111
|
+
"stream-browserify": "^3.0.0",
|
|
112
|
+
"tsx": "^3.12.7",
|
|
113
|
+
"typescript": "^5.1.3",
|
|
114
|
+
"viem": "^1.1.8",
|
|
115
|
+
"vite": "^4.3.9",
|
|
116
|
+
"vitest": "^0.32.2",
|
|
117
|
+
"wagmi": "^1.3.3"
|
|
118
|
+
}
|
|
119
|
+
}
|