@argent/x-shared 1.30.0 → 1.31.0

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.
@@ -0,0 +1,6 @@
1
+ import { SimulateAndReview } from './schema';
2
+
3
+ export declare function getErrorMessageAndLabelFromSimulation(simulateAndReview?: SimulateAndReview): {
4
+ message: string | undefined;
5
+ label: string | undefined;
6
+ } | undefined;
@@ -0,0 +1,3 @@
1
+ import { SimulationError } from './schema';
2
+
3
+ export declare function getMessageFromSimulationError(simulationError: SimulationError): string;
@@ -1 +1,3 @@
1
+ export * from './getErrorMessageAndLabelFromSimulation';
2
+ export * from './getMessageFromSimulationError';
1
3
  export * from './schema';
@@ -25178,6 +25178,5 @@ type TransactionSimulation = z.infer<typeof transactionSimulationSchema>;
25178
25178
  type TransactionSimulationError = z.infer<typeof transactionSimulationErrorSchema>;
25179
25179
  export declare function isNotTransactionSimulationError(transaction: TransactionReviewTransaction): transaction is TransactionSimulation;
25180
25180
  export declare function isTransactionSimulationError(transaction: TransactionReviewTransaction): transaction is TransactionSimulationError;
25181
- export declare function getMessageFromSimulationError(simulationError: SimulationError): string;
25182
25181
  export type Warning = z.infer<typeof warningSchema>;
25183
25182
  export {};