@mondaydotcomorg/monday-authorization 1.2.4 → 1.2.5

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.
@@ -1,5 +1,5 @@
1
1
  import { NextFunction } from "express";
2
- import { Action, BaseRequest, BaseResponse, ContextGetter, Resource, ResourceGetter } from "lib/types/general";
2
+ import { Action, BaseRequest, BaseResponse, ContextGetter, Resource, ResourceGetter } from "../types/general";
3
3
  export type TestPermittedAction = {
4
4
  accountId: number;
5
5
  userId: number;
@@ -10,8 +10,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
10
10
  };
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
12
  exports.getTestAuthorizationMiddleware = exports.clearTestPermittedActions = exports.addTestPermittedAction = void 0;
13
- const authorization_middleware_1 = require("lib/authorization-middleware");
14
- const authorization_internal_service_1 = require("lib/authorization-internal-service");
13
+ const authorization_middleware_1 = require("../authorization-middleware");
14
+ const authorization_internal_service_1 = require("../authorization-internal-service");
15
15
  let testPermittedActions = [];
16
16
  const addTestPermittedAction = (accountId, userId, resources, action) => {
17
17
  testPermittedActions.push({ accountId, userId, resources, action });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mondaydotcomorg/monday-authorization",
3
- "version": "1.2.4",
3
+ "version": "1.2.5",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "license": "BSD-3-Clause",
@@ -32,5 +32,5 @@
32
32
  "files": [
33
33
  "dist/"
34
34
  ],
35
- "gitHead": "47bf6aa370ecde3f62e92667fab5767b5e8047b8"
35
+ "gitHead": "c244e400fe97b5535aab3bb061679ea398c2d9df"
36
36
  }