@rainlanguage/ui-components 0.0.1-alpha.110 → 0.0.1-alpha.111

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.ts CHANGED
@@ -67,8 +67,8 @@ export { default as InputRegistryUrl } from './components/input/InputRegistryUrl
67
67
  export type { AppStoresInterface } from './types/appStores.ts';
68
68
  export type { ConfigSource, OrderbookConfigSource, OrderbookCfgRef } from '@rainlanguage/orderbook';
69
69
  export { TransactionStatus, TransactionErrorMessage, type TransactionState, type ExtendedApprovalCalldata } from './stores/transactionStore';
70
- export type { DeploymentArgs, DepositOrWithdrawArgs, OrderRemoveArgs } from './types/transaction';
71
- export type { DepositOrWithdrawModalProps, OrderRemoveModalProps, QuoteDebugModalHandler, DebugTradeModalHandler, DeployModalProps, DisclaimerModalProps } from './types/modal';
70
+ export type { DeploymentArgs, VaultActionArgs, OrderRemoveArgs } from './types/transaction';
71
+ export type { VaultActionModalProps, OrderRemoveModalProps, QuoteDebugModalHandler, DebugTradeModalHandler, DeployModalProps, DisclaimerModalProps } from './types/modal';
72
72
  export type { ValidStrategyDetail, InvalidStrategyDetail } from './types/strategy';
73
73
  export type { ToastProps } from './types/toast';
74
74
  export { createResolvableQuery, createResolvableInfiniteQuery } from './__mocks__/queries';
@@ -1,8 +1,8 @@
1
1
  import type { SgOrder } from '@rainlanguage/orderbook';
2
- import type { DepositOrWithdrawArgs, OrderRemoveArgs, DeploymentArgs } from './transaction';
3
- export type DepositOrWithdrawModalProps = {
2
+ import type { VaultActionArgs, OrderRemoveArgs, DeploymentArgs } from './transaction';
3
+ export type VaultActionModalProps = {
4
4
  open: boolean;
5
- args: DepositOrWithdrawArgs;
5
+ args: VaultActionArgs;
6
6
  };
7
7
  export type OrderRemoveModalProps = {
8
8
  open: boolean;
@@ -9,10 +9,9 @@ export type DeploymentArgs = {
9
9
  subgraphUrl?: string;
10
10
  network: string;
11
11
  };
12
- export type DepositOrWithdrawArgs = {
12
+ export type VaultActionArgs = {
13
13
  vault: SgVault;
14
- onDepositOrWithdraw: () => void;
15
- action: 'deposit' | 'withdraw';
14
+ onSuccess: () => void;
16
15
  chainId: number;
17
16
  rpcUrl: string;
18
17
  subgraphUrl: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rainlanguage/ui-components",
3
- "version": "0.0.1-alpha.110",
3
+ "version": "0.0.1-alpha.111",
4
4
  "description": "A component library for building Svelte applications to be used with Raindex.",
5
5
  "license": "LicenseRef-DCL-1.0",
6
6
  "author": "Rain Open Source Software Ltd",
@@ -53,7 +53,7 @@
53
53
  "@fontsource/dm-sans": "5.1.0",
54
54
  "@imask/svelte": "7.6.1",
55
55
  "@observablehq/plot": "0.6.16",
56
- "@rainlanguage/orderbook": "0.0.1-alpha.110",
56
+ "@rainlanguage/orderbook": "0.0.1-alpha.111",
57
57
  "@reown/appkit": "1.6.4",
58
58
  "@reown/appkit-adapter-wagmi": "1.6.4",
59
59
  "@sentry/sveltekit": "7.120.0",