@oxyhq/core 1.6.2 → 1.6.4

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.
@@ -1,6 +1,6 @@
1
1
  import { OxyAuthenticationError, OxyAuthenticationTimeoutError } from './OxyServices.errors.js';
2
2
  // Import mixin composition helper
3
- import { composeOxyServices } from './mixins.js';
3
+ import { composeOxyServices } from './mixins/index.js';
4
4
  /**
5
5
  * OxyServices - Unified client library for interacting with the Oxy API
6
6
  *
@@ -1,14 +1,14 @@
1
- import enUS from './locales/en-US.json.js';
2
- import esES from './locales/es-ES.json.js';
3
- import caES from './locales/ca-ES.json.js';
4
- import frFR from './locales/fr-FR.json.js';
5
- import deDE from './locales/de-DE.json.js';
6
- import itIT from './locales/it-IT.json.js';
7
- import ptPT from './locales/pt-PT.json.js';
8
- import jaJP from './locales/ja-JP.json.js';
9
- import koKR from './locales/ko-KR.json.js';
10
- import zhCN from './locales/zh-CN.json.js';
11
- import arSA from './locales/ar-SA.json.js';
1
+ import enUS from './locales/en-US.json';
2
+ import esES from './locales/es-ES.json';
3
+ import caES from './locales/ca-ES.json';
4
+ import frFR from './locales/fr-FR.json';
5
+ import deDE from './locales/de-DE.json';
6
+ import itIT from './locales/it-IT.json';
7
+ import ptPT from './locales/pt-PT.json';
8
+ import jaJP from './locales/ja-JP.json';
9
+ import koKR from './locales/ko-KR.json';
10
+ import zhCN from './locales/zh-CN.json';
11
+ import arSA from './locales/ar-SA.json';
12
12
  const DICTS = {
13
13
  'en': enUS,
14
14
  'en-US': enUS,
package/dist/esm/index.js CHANGED
@@ -22,7 +22,7 @@ export { OXY_CLOUD_URL, oxyClient } from './OxyServices.js';
22
22
  export { AuthManager, createAuthManager } from './AuthManager.js';
23
23
  export { CrossDomainAuth, createCrossDomainAuth } from './CrossDomainAuth.js';
24
24
  // --- Crypto / Identity ---
25
- export { KeyManager, SignatureService, RecoveryPhraseService } from './crypto.js';
25
+ export { KeyManager, SignatureService, RecoveryPhraseService } from './crypto/index.js';
26
26
  // --- Models & Types ---
27
27
  export * from './models/interfaces.js';
28
28
  export * from './models/session.js';
@@ -39,7 +39,7 @@ export { HttpStatus, getErrorStatus, getErrorMessage, isAlreadyRegisteredError,
39
39
  export { DEFAULT_CIRCUIT_BREAKER_CONFIG, createCircuitBreakerState, calculateBackoffInterval, recordFailure, recordSuccess, shouldAllowRequest, delay, withRetry, } from './shared/utils/networkUtils.js';
40
40
  export { isDev, debugLog, debugWarn, debugError, createDebugLogger, } from './shared/utils/debugUtils.js';
41
41
  // --- i18n ---
42
- export { translate } from './i18n.js';
42
+ export { translate } from './i18n/index.js';
43
43
  // --- Auth Helpers ---
44
44
  export { SessionSyncRequiredError, AuthenticationFailedError, ensureValidToken, isAuthenticationError, withAuthErrorHandling, authenticatedApiCall, } from './utils/authHelpers.js';
45
45
  // --- Session Utilities ---
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oxyhq/core",
3
- "version": "1.6.2",
3
+ "version": "1.6.4",
4
4
  "description": "OxyHQ SDK Foundation — API client, authentication, cryptographic identity, and shared utilities",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",