@onehat/data 1.22.10 → 1.22.11

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.22.10",
3
+ "version": "1.22.11",
4
4
  "description": "JS data modeling package with adapters for many storage mediums.",
5
5
  "main": "src/index.js",
6
6
  "type": "module",
@@ -319,6 +319,14 @@ class AjaxRepository extends Repository {
319
319
  return this._baseParams[name];
320
320
  }
321
321
 
322
+ /**
323
+ * Returns current value of base query params
324
+ * @param {object} params - Params to set. Key is parameter name, value is parameter value
325
+ */
326
+ getBaseParams() {
327
+ return this._baseParams;
328
+ }
329
+
322
330
  /**
323
331
  * Determines if query param exists
324
332
  * @param {string} name - Param name