@resconet/jsbridge 17.1.0-beta.4 → 17.1.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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/JSBridge.js +4 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@resconet/jsbridge",
3
- "version": "17.1.0-beta.4",
3
+ "version": "17.1.0",
4
4
  "main": "./src/JSBridge.js",
5
5
  "types": "./src/JSBridge.d.ts",
6
6
  "description": "Install npm JSBridge module",
package/src/JSBridge.js CHANGED
@@ -430,6 +430,7 @@
430
430
  Entity: function (name) {
431
431
  /// <summary>Represents a FetchXml query root entity.</summary>
432
432
  /// <param name="name" type="String">An entity logical name.</param>
433
+ /// <field name="allattributes" type="Boolean">Indicates whether to fetch all attributes instead of explicitly chosen set.</field>
433
434
  /// <field name="attributes" type="Array">An array of <see cref="MobileCRM.FetchXml.Attribute">MobileCRM.FetchXml.Attribute</see> objects.</field>
434
435
  /// <field name="filter" type="MobileCRM.FetchXml.Filter">A query filter.</field>
435
436
  /// <field name="linkentities" type="Array">An array of <see cref="MobileCRM.FetchXml.LinkEntity">MobileCRM.FetchXml.LinkEntity</see> objects.</field>
@@ -2630,6 +2631,9 @@
2630
2631
  entityParams.filter = MobileCRM.FetchXml.Filter._constructFilterParams(entity.filter);
2631
2632
  }
2632
2633
  entityParams.linkentities = _normalizeArray(entity.linkentities, MobileCRM.FetchXml.LinkEntity._constructLinkParams);
2634
+ if (entity.allattributes) {
2635
+ entityParams.allattributes = entity.allattributes;
2636
+ }
2633
2637
  return entityParams;
2634
2638
  } else {
2635
2639
  return undefined;