@localess/js-client 0.8.3 → 0.8.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.
package/dist/index.d.mts CHANGED
@@ -268,14 +268,6 @@ declare function llEditable(content: ContentDataSchema): {
268
268
  'data-ll-id': string;
269
269
  'data-ll-schema': string;
270
270
  };
271
- /**
272
- * Adds Localess editable field attribute to a specific field.
273
- * @param fieldName
274
- * @returns An object containing data-ll-field attribute.
275
- */
276
- declare function localessEditableField(fieldName: string): {
277
- 'data-ll-field': string;
278
- };
279
271
  /**
280
272
  * Adds Localess editable field attribute to a specific field.
281
273
  * @param fieldName
@@ -320,4 +312,4 @@ declare global {
320
312
  }
321
313
  }
322
314
 
323
- 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, isBrowser, isIframe, isServer, llEditable, llEditableField, loadLocalessSync, localessClient, localessEditable, localessEditableField };
315
+ 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, isBrowser, isIframe, isServer, llEditable, llEditableField, loadLocalessSync, localessClient, localessEditable };
package/dist/index.d.ts CHANGED
@@ -268,14 +268,6 @@ declare function llEditable(content: ContentDataSchema): {
268
268
  'data-ll-id': string;
269
269
  'data-ll-schema': string;
270
270
  };
271
- /**
272
- * Adds Localess editable field attribute to a specific field.
273
- * @param fieldName
274
- * @returns An object containing data-ll-field attribute.
275
- */
276
- declare function localessEditableField(fieldName: string): {
277
- 'data-ll-field': string;
278
- };
279
271
  /**
280
272
  * Adds Localess editable field attribute to a specific field.
281
273
  * @param fieldName
@@ -320,4 +312,4 @@ declare global {
320
312
  }
321
313
  }
322
314
 
323
- 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, isBrowser, isIframe, isServer, llEditable, llEditableField, loadLocalessSync, localessClient, localessEditable, localessEditableField };
315
+ 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, isBrowser, isIframe, isServer, llEditable, llEditableField, loadLocalessSync, localessClient, localessEditable };
package/dist/index.js CHANGED
@@ -27,8 +27,7 @@ __export(index_exports, {
27
27
  llEditableField: () => llEditableField,
28
28
  loadLocalessSync: () => loadLocalessSync,
29
29
  localessClient: () => localessClient,
30
- localessEditable: () => localessEditable,
31
- localessEditableField: () => localessEditableField
30
+ localessEditable: () => localessEditable
32
31
  });
33
32
  module.exports = __toCommonJS(index_exports);
34
33
 
@@ -220,11 +219,6 @@ function llEditable(content) {
220
219
  "data-ll-schema": content._schema || content.schema
221
220
  };
222
221
  }
223
- function localessEditableField(fieldName) {
224
- return {
225
- "data-ll-field": fieldName
226
- };
227
- }
228
222
  function llEditableField(fieldName) {
229
223
  return {
230
224
  "data-ll-field": fieldName
@@ -258,6 +252,5 @@ function loadLocalessSync(origin, force = false) {
258
252
  llEditableField,
259
253
  loadLocalessSync,
260
254
  localessClient,
261
- localessEditable,
262
- localessEditableField
255
+ localessEditable
263
256
  });
package/dist/index.mjs CHANGED
@@ -186,11 +186,6 @@ function llEditable(content) {
186
186
  "data-ll-schema": content._schema || content.schema
187
187
  };
188
188
  }
189
- function localessEditableField(fieldName) {
190
- return {
191
- "data-ll-field": fieldName
192
- };
193
- }
194
189
  function llEditableField(fieldName) {
195
190
  return {
196
191
  "data-ll-field": fieldName
@@ -223,6 +218,5 @@ export {
223
218
  llEditableField,
224
219
  loadLocalessSync,
225
220
  localessClient,
226
- localessEditable,
227
- localessEditableField
221
+ localessEditable
228
222
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@localess/js-client",
3
- "version": "0.8.3",
3
+ "version": "0.8.4",
4
4
  "description": "Universal JavaScript/TypeScript SDK for Localess's API.",
5
5
  "keywords": [
6
6
  "localess",