@secure-access-control/nestjs
Advanced tools
Comparing version 0.0.9 to 0.0.10
@@ -18,3 +18,3 @@ export declare enum HttpClient { | ||
}; | ||
export type CreateRequest = (baseURL: string, url: string, method: HttpMethod, requestFrom: HttpClient, token: string | null, data: JsonObject | null, timeout: number | null, onUploadProgress: any, onDownloadProgress: any) => AcmRequest; | ||
export type CreateRequest = (baseURL: string, url: string, method: HttpMethod, requestFrom: HttpClient, token?: string | null, data?: JsonObject | null, timeout?: number | null, onUploadProgress?: any, onDownloadProgress?: any) => AcmRequest; | ||
export type AcmRequest = { | ||
@@ -21,0 +21,0 @@ baseURL: string; |
export * from "./access-control-manager/acm.decorator"; | ||
export * as Client from "./client"; | ||
import AcmClient from "./access-control-manager/acm-client.guard"; | ||
@@ -3,0 +4,0 @@ export declare const AccessControlManager: typeof AcmClient; |
@@ -17,4 +17,5 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.AccessTokenManager = exports.AccessControlManager = void 0; | ||
exports.AccessTokenManager = exports.AccessControlManager = exports.Client = void 0; | ||
__exportStar(require("./access-control-manager/acm.decorator"), exports); | ||
exports.Client = require("./client"); | ||
const acm_client_guard_1 = require("./access-control-manager/acm-client.guard"); | ||
@@ -21,0 +22,0 @@ const atm_core_1 = require("./core/atm-core"); |
@@ -33,3 +33,3 @@ import * as sha256 from "sha256"; | ||
requestFrom: HttpClient; | ||
token?: string | null; | ||
token: string | null; | ||
data?: JsonObject | null; | ||
@@ -41,3 +41,3 @@ timeout?: number | null; | ||
export type CreateRequest = (baseURL: string, url: string, method: HttpMethod, requestFrom: HttpClient, token: string | null, data: JsonObject | null, timeout: number | null, onUploadProgress: any, onDownloadProgress: any) => AcmRequest; | ||
export type CreateRequest = (baseURL: string, url: string, method: HttpMethod, requestFrom: HttpClient, token?: string | null, data?: JsonObject | null, timeout?: number | null, onUploadProgress?: any, onDownloadProgress?: any) => AcmRequest; | ||
@@ -44,0 +44,0 @@ export type AcmRequest = { |
export * from "./access-control-manager/acm.decorator"; | ||
export * as Client from "./client"; | ||
@@ -3,0 +4,0 @@ import AcmClient from "./access-control-manager/acm-client.guard"; |
{ | ||
"name": "@secure-access-control/nestjs", | ||
"version": "0.0.9", | ||
"version": "0.0.10", | ||
"description": "", | ||
"author": "Sushin Pv", | ||
"license": "MIT", | ||
"type": "module", | ||
"main": "dist/index.js", | ||
@@ -25,5 +24,2 @@ "types": "dist/index.d.ts", | ||
}, | ||
"exports": { | ||
"./client": "./dist/client" | ||
}, | ||
"devDependencies": { | ||
@@ -30,0 +26,0 @@ "@nestjs/common": "^10.0.0", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
28805
705
No