@dereekb/model 13.15.0 → 13.17.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.
package/index.cjs.js CHANGED
@@ -1434,22 +1434,22 @@ function _ts_generator$3(thisArg, body) {
1434
1434
  ];
1435
1435
  case 1:
1436
1436
  model = _state.sent();
1437
- if (!(model != null)) return [
1437
+ if (!(model == null)) return [
1438
1438
  3,
1439
- 3
1439
+ 2
1440
1440
  ];
1441
+ result = noAccessContextGrantedModelRoles(context);
1441
1442
  return [
1442
- 4,
1443
- this.roleMapForModelContext(model, context)
1443
+ 3,
1444
+ 4
1444
1445
  ];
1445
1446
  case 2:
1446
- result = _state.sent();
1447
1447
  return [
1448
- 3,
1449
- 4
1448
+ 4,
1449
+ this.roleMapForModelContext(model, context)
1450
1450
  ];
1451
1451
  case 3:
1452
- result = noAccessContextGrantedModelRoles(context);
1452
+ result = _state.sent();
1453
1453
  _state.label = 4;
1454
1454
  case 4:
1455
1455
  return [
package/index.esm.js CHANGED
@@ -1432,22 +1432,22 @@ function _ts_generator$3(thisArg, body) {
1432
1432
  ];
1433
1433
  case 1:
1434
1434
  model = _state.sent();
1435
- if (!(model != null)) return [
1435
+ if (!(model == null)) return [
1436
1436
  3,
1437
- 3
1437
+ 2
1438
1438
  ];
1439
+ result = noAccessContextGrantedModelRoles(context);
1439
1440
  return [
1440
- 4,
1441
- this.roleMapForModelContext(model, context)
1441
+ 3,
1442
+ 4
1442
1443
  ];
1443
1444
  case 2:
1444
- result = _state.sent();
1445
1445
  return [
1446
- 3,
1447
- 4
1446
+ 4,
1447
+ this.roleMapForModelContext(model, context)
1448
1448
  ];
1449
1449
  case 3:
1450
- result = noAccessContextGrantedModelRoles(context);
1450
+ result = _state.sent();
1451
1451
  _state.label = 4;
1452
1452
  case 4:
1453
1453
  return [
package/package.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "@dereekb/model",
3
- "version": "13.15.0",
3
+ "version": "13.17.0",
4
4
  "sideEffects": false,
5
5
  "peerDependencies": {
6
- "@dereekb/util": "13.15.0",
6
+ "@dereekb/util": "13.17.0",
7
7
  "arktype": "^2.2.0",
8
8
  "make-error": "^1.3.6"
9
9
  },