@localess/js-client 0.8.2-next.20250625-063005.0 → 0.8.2-next.20250625-092814.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.
package/dist/index.d.mts CHANGED
@@ -274,8 +274,11 @@ type EventToApp = {
274
274
  } | {
275
275
  type: 'enterSchema' | 'hoverSchema';
276
276
  id: string;
277
+ schema: string;
278
+ field?: string;
277
279
  };
278
280
  interface LocalessSync {
281
+ onChange: (callback: EventCallback) => void;
279
282
  on: (event: EventToAppType | EventToAppType[], callback: EventCallback) => void;
280
283
  }
281
284
  declare global {
@@ -284,4 +287,4 @@ declare global {
284
287
  }
285
288
  }
286
289
 
287
- export { type Content, type ContentAsset, type ContentData, type ContentDataField, type ContentDataSchema, type ContentFetchParams, type ContentLink, type ContentMetadata, type ContentReference, type ContentRichText, type EventCallback, type EventToApp, type Links, type LinksFetchParams, type LocalessClient, type LocalessClientOptions, type LocalessSync, type Translations, llEditable, llEditableField, loadLocalessSync, localessClient };
290
+ export { type Content, type ContentAsset, type ContentData, type ContentDataField, type ContentDataSchema, type ContentFetchParams, type ContentLink, type ContentMetadata, type ContentReference, type ContentRichText, type EventCallback, type EventToApp, type EventToAppType, type Links, type LinksFetchParams, type LocalessClient, type LocalessClientOptions, type LocalessSync, type Translations, llEditable, llEditableField, loadLocalessSync, localessClient };
package/dist/index.d.ts CHANGED
@@ -274,8 +274,11 @@ type EventToApp = {
274
274
  } | {
275
275
  type: 'enterSchema' | 'hoverSchema';
276
276
  id: string;
277
+ schema: string;
278
+ field?: string;
277
279
  };
278
280
  interface LocalessSync {
281
+ onChange: (callback: EventCallback) => void;
279
282
  on: (event: EventToAppType | EventToAppType[], callback: EventCallback) => void;
280
283
  }
281
284
  declare global {
@@ -284,4 +287,4 @@ declare global {
284
287
  }
285
288
  }
286
289
 
287
- export { type Content, type ContentAsset, type ContentData, type ContentDataField, type ContentDataSchema, type ContentFetchParams, type ContentLink, type ContentMetadata, type ContentReference, type ContentRichText, type EventCallback, type EventToApp, type Links, type LinksFetchParams, type LocalessClient, type LocalessClientOptions, type LocalessSync, type Translations, llEditable, llEditableField, loadLocalessSync, localessClient };
290
+ export { type Content, type ContentAsset, type ContentData, type ContentDataField, type ContentDataSchema, type ContentFetchParams, type ContentLink, type ContentMetadata, type ContentReference, type ContentRichText, type EventCallback, type EventToApp, type EventToAppType, type Links, type LinksFetchParams, type LocalessClient, type LocalessClientOptions, type LocalessSync, type Translations, llEditable, llEditableField, loadLocalessSync, localessClient };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@localess/js-client",
3
- "version": "0.8.2-next.20250625-063005.0",
3
+ "version": "0.8.2-next.20250625-092814.0",
4
4
  "description": "Universal JavaScript/TypeScript SDK for Localess's API.",
5
5
  "keywords": [
6
6
  "localess",