@bytexbyte/nxtlinq-ai-agent-sdk 1.4.4 → 1.4.6

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.js CHANGED
@@ -16,6 +16,7 @@ export { AI_MODEL_MAP, ALL_AVAILABLE_MODELS, DEFAULT_AI_MODELS } from './compone
16
16
  export { connectWallet, disconnectWallet, validateToken } from './core/utils/walletUtils';
17
17
  export { createAITMetadata, generateAITId, prepareAITCreation } from './core/utils/aitUtils';
18
18
  export { createNotification, getNotificationIcon } from './core/utils/notificationUtils';
19
+ export { containsUrls, convertUrlsToLinks, convertUrlsToHtml } from './core/utils/urlUtils';
19
20
  // API client
20
21
  export { createNxtlinqApi } from './api/nxtlinq-api';
21
22
  export { default as useLocalStorage } from './core/lib/useLocalStorage';
@@ -0,0 +1,2 @@
1
+ import '@testing-library/jest-dom';
2
+ //# sourceMappingURL=setupTests.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"setupTests.d.ts","sourceRoot":"","sources":["../src/setupTests.ts"],"names":[],"mappings":"AACA,OAAO,2BAA2B,CAAC"}
@@ -0,0 +1,16 @@
1
+ // Test setup file for Jest
2
+ import '@testing-library/jest-dom';
3
+ // Mock window.open for URL tests
4
+ Object.defineProperty(window, 'open', {
5
+ writable: true,
6
+ value: jest.fn(),
7
+ });
8
+ // Mock console methods to avoid noise in tests
9
+ global.console = {
10
+ ...console,
11
+ log: jest.fn(),
12
+ debug: jest.fn(),
13
+ info: jest.fn(),
14
+ warn: jest.fn(),
15
+ error: jest.fn(),
16
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bytexbyte/nxtlinq-ai-agent-sdk",
3
- "version": "1.4.4",
3
+ "version": "1.4.6",
4
4
  "description": "Nxtlinq AI Agent SDK - Proprietary Software with enhanced async operation handling",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",