@marketrix.ai/widget 3.8.445 → 3.8.447

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@marketrix.ai/widget",
3
- "version": "3.8.445",
3
+ "version": "3.8.447",
4
4
  "type": "module",
5
5
  "sideEffects": false,
6
6
  "main": "./dist/widget.mjs",
@@ -66,7 +66,6 @@
66
66
  "eslint": "^10.8.0",
67
67
  "eslint-config-prettier": "^10.1.8",
68
68
  "eslint-plugin-import-x": "^4.17.1",
69
- "eslint-plugin-prettier": "^5.5.6",
70
69
  "eslint-plugin-simple-import-sort": "^14.0.0",
71
70
  "eslint-plugin-unused-imports": "^4.4.1",
72
71
  "jsdom": "^30.0.1",
@@ -1,10 +0,0 @@
1
- import { type ApplicationData, type WidgetData } from '../sdk';
2
- import type { MarketrixConfig } from '../types';
3
- export interface WidgetValidationResult {
4
- isValid: boolean;
5
- error?: string;
6
- widget?: WidgetData;
7
- application?: ApplicationData;
8
- }
9
- /** mtxId + mtxKey are mandatory: an application id is a guessable integer, so keyless mode authenticated nothing while granting full agent access under the workspace. */
10
- export declare function validateConfig(config: MarketrixConfig): Promise<WidgetValidationResult>;
@@ -1,6 +0,0 @@
1
- import type { MarketrixConfig } from '../types';
2
- export declare function extractErrorMessage(error: unknown, fallback?: string): string;
3
- export declare function handleApiError(error: unknown, context?: string, config?: Partial<MarketrixConfig>): {
4
- isValid: false;
5
- error: string;
6
- };