@onehat/data 1.21.6 → 1.21.7

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@onehat/data",
3
- "version": "1.21.6",
3
+ "version": "1.21.7",
4
4
  "description": "JS data modeling package with adapters for many storage mediums.",
5
5
  "main": "src/index.js",
6
6
  "type": "module",
@@ -287,6 +287,17 @@ class AjaxRepository extends Repository {
287
287
  return this._baseParams.hasOwnProperty(name);
288
288
  }
289
289
 
290
+ /**
291
+ * Returns current value of base query param
292
+ * @param {string} name - Param name
293
+ */
294
+ getBaseParam(name) {
295
+ if (!this.hasBaseParam(name)) {
296
+ return null;
297
+ }
298
+ return this._baseParams[name];
299
+ }
300
+
290
301
  /**
291
302
  * Determines if query param exists
292
303
  * @param {string} name - Param name