bt-core-app 2.0.55 → 2.0.57

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.
@@ -5689,10 +5689,10 @@ var fl = function() {
5689
5689
  }
5690
5690
  return n.firstBy = n, n;
5691
5691
  }();
5692
- function toe(e, t, a) {
5693
- let n = a ?? [];
5694
- for (var l in t)
5695
- e.hasOwnProperty(l) && !n.some((r) => r == l) && (e[l] = t[l]);
5692
+ function toe(e, t, a, n) {
5693
+ let l = a ?? [];
5694
+ for (var r in t)
5695
+ (n == "all-obj2-props" || e.hasOwnProperty(r)) && !l.some((i) => i == r) && (e[r] = t[r]);
5696
5696
  return e;
5697
5697
  }
5698
5698
  function aoe(e, t, a) {
package/dist/index.d.ts CHANGED
@@ -1470,7 +1470,7 @@ declare interface PredictOptions {
1470
1470
  }
1471
1471
 
1472
1472
  /**Pulls only props that obj2 contains and applies to obj1 */
1473
- export declare function pullPropsFrom(obj1: any, obj2: any, propsToIgnore?: string[]): any;
1473
+ export declare function pullPropsFrom(obj1: any, obj2: any, propsToIgnore?: string[], strat?: 'only-obj1-props' | 'all-obj2-props'): any;
1474
1474
 
1475
1475
  export declare interface QueryParams extends Record<string, any> {
1476
1476
  filterBy?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bt-core-app",
3
- "version": "2.0.55",
3
+ "version": "2.0.57",
4
4
  "description": "Core app tools for some basic features like navigation, authentication, server apis, and cosmetics",
5
5
  "homepage": "https://github.com/BlitzItTech/bt-core",
6
6
  "bugs": {