@orbs-network/spot-react 0.0.78 → 0.0.79

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.
@@ -51,7 +51,7 @@ export declare const getMaxChunksError: (chunks: number, maxChunks: number, modu
51
51
  export declare const getConfig: (_dex: Partners, chainId?: number) => SpotConfig;
52
52
  export declare const getPartners: () => PartnerPayloadItem[];
53
53
  export declare const getMinChunkSizeUsd: (minChunkSizeUsd: number) => number;
54
- export declare const getErrors: ({ marketPrice, typedInputAmount, srcUsd1Token, marketPriceLoading, triggerPriceError, limitPriceError, tradesError, fillDelayError, durationError, balanceError, minChunkSizeError }: {
54
+ export declare const getErrors: ({ marketPrice, typedInputAmount, srcUsd1Token, marketPriceLoading, triggerPriceError, limitPriceError, tradesError, fillDelayError, durationError, balanceError, minTradeSizeError }: {
55
55
  marketPrice?: string;
56
56
  typedInputAmount?: string;
57
57
  srcUsd1Token?: string;
@@ -62,6 +62,6 @@ export declare const getErrors: ({ marketPrice, typedInputAmount, srcUsd1Token,
62
62
  fillDelayError?: InputError;
63
63
  durationError?: InputError;
64
64
  balanceError?: InputError;
65
- minChunkSizeError?: InputError;
65
+ minTradeSizeError?: InputError;
66
66
  }) => InputError | undefined;
67
67
  //# sourceMappingURL=lib.d.ts.map
@@ -293,7 +293,7 @@ export declare enum InputErrors {
293
293
  EMPTY_TRIGGER_PRICE = 12,
294
294
  INSUFFICIENT_BALANCE = 13,
295
295
  MAX_ORDER_SIZE = 14,
296
- MIN_CHUNK_SIZE_ERROR = 15
296
+ MIN_TRADE_SIZE_ERROR = 15
297
297
  }
298
298
  export type PartnerPayloadItem = {
299
299
  chainId: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@orbs-network/spot-react",
3
- "version": "0.0.78",
3
+ "version": "0.0.79",
4
4
  "description": "Spot React Components - React components for Spot SDK",
5
5
  "type": "module",
6
6
  "main": "./dist/spot-react.umd.cjs",
@@ -40,7 +40,7 @@
40
40
  "react-virtuoso": "^4.17.0",
41
41
  "viem": "^2.43.3",
42
42
  "zustand": "^5.0.9",
43
- "@orbs-network/spot-ui": "0.0.32"
43
+ "@orbs-network/spot-ui": "0.0.33"
44
44
  },
45
45
  "devDependencies": {
46
46
  "@types/react": "^19.0.2",