Comparing version 0.1.4 to 0.1.5
{ | ||
"name": "remult", | ||
"version": "0.1.4", | ||
"version": "0.1.5", | ||
"description": "remult core lib", | ||
@@ -5,0 +5,0 @@ "homepage": "https://remult.github.io/", |
@@ -75,4 +75,4 @@ import { DataProvider } from "./data-interfaces"; | ||
export declare class Allow { | ||
everyone: () => boolean; | ||
authenticated: (context: Context) => boolean; | ||
static everyone: () => boolean; | ||
static authenticated: (context: Context) => boolean; | ||
} | ||
@@ -79,0 +79,0 @@ export interface IterateToArrayOptions { |
@@ -366,5 +366,5 @@ "use strict"; | ||
function Allow() { | ||
this.everyone = function () { return true; }; | ||
this.authenticated = function (context) { return context.authenticated(); }; | ||
} | ||
Allow.everyone = function () { return true; }; | ||
Allow.authenticated = function (context) { return context.authenticated(); }; | ||
return Allow; | ||
@@ -371,0 +371,0 @@ }()); |
Sorry, the diff of this file is not supported yet
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
549827