@based/functions
Advanced tools
Comparing version 2.2.2 to 2.2.3
@@ -16,1 +16,2 @@ import { BasedFunctionClient } from './client'; | ||
export type AuthorizeConnection = (based: BasedFunctionClient, req: HttpRequest, ip: string) => Promise<boolean>; | ||
//# sourceMappingURL=auth.d.ts.map |
@@ -6,1 +6,2 @@ import { ChannelMessageFunction } from './functions'; | ||
} | ||
//# sourceMappingURL=channel.d.ts.map |
@@ -18,1 +18,2 @@ import { AuthState } from './auth'; | ||
} | ||
//# sourceMappingURL=client.d.ts.map |
@@ -36,2 +36,3 @@ import { AuthState } from './auth'; | ||
res: HttpResponse; | ||
url: string; | ||
origin: string; | ||
@@ -97,4 +98,5 @@ req: HttpRequest; | ||
export declare const isWsContext: (ctx: Context<Session>) => ctx is Context<WebSocketSession>; | ||
export declare const isClientContext: (ctx: Context<Session>) => ctx is Context<HttpSession | WebSocketSession>; | ||
export declare const isClientContext: (ctx: Context<Session>) => ctx is Context<WebSocketSession | HttpSession>; | ||
export declare const isHttpSession: (session: Session | undefined) => session is HttpSession; | ||
export declare const isWsSession: (session: Session | undefined) => session is WebSocketSession; | ||
//# sourceMappingURL=context.d.ts.map |
@@ -181,1 +181,2 @@ import { Context, HttpSession } from './context'; | ||
export {}; | ||
//# sourceMappingURL=functions.d.ts.map |
@@ -36,1 +36,2 @@ export type CountryCode = 'AF' | 'AL' | 'DZ' | 'AS' | 'AD' | 'AO' | 'AI' | 'AQ' | 'AG' | 'AR' | 'AM' | 'AW' | 'AU' | 'AT' | 'AZ' | 'BS' | 'BH' | 'BD' | 'BB' | 'BY' | 'BE' | 'BZ' | 'BJ' | 'BM' | 'BT' | 'BO' | 'BQ' | 'BA' | 'BW' | 'BV' | 'BR' | 'IO' | 'BN' | 'BG' | 'BF' | 'BI' | 'KH' | 'CM' | 'CA' | 'CV' | 'KY' | 'CF' | 'TD' | 'CL' | 'CN' | 'CX' | 'CC' | 'CO' | 'KM' | 'CG' | 'CD' | 'CK' | 'CR' | 'HR' | 'CU' | 'CW' | 'CY' | 'CZ' | 'CI' | 'DK' | 'DJ' | 'DM' | 'DO' | 'EC' | 'EG' | 'SV' | 'GQ' | 'ER' | 'EE' | 'ET' | 'FK' | 'FO' | 'FJ' | 'FI' | 'FR' | 'GF' | 'PF' | 'TF' | 'GA' | 'GM' | 'GE' | 'DE' | 'GH' | 'GI' | 'GR' | 'GL' | 'GD' | 'GP' | 'GU' | 'GT' | 'GG' | 'GN' | 'GW' | 'GY' | 'HT' | 'HM' | 'VA' | 'HN' | 'HK' | 'HU' | 'IS' | 'IN' | 'ID' | 'IR' | 'IQ' | 'IE' | 'IM' | 'IL' | 'IT' | 'JM' | 'JP' | 'JE' | 'JO' | 'KZ' | 'KE' | 'KI' | 'KP' | 'KR' | 'KW' | 'KG' | 'LA' | 'LV' | 'LB' | 'LS' | 'LR' | 'LY' | 'LI' | 'LT' | 'LU' | 'MO' | 'MK' | 'MG' | 'MW' | 'MY' | 'MV' | 'ML' | 'MT' | 'MH' | 'MQ' | 'MR' | 'MU' | 'YT' | 'MX' | 'FM' | 'MD' | 'MC' | 'MN' | 'ME' | 'MS' | 'MA' | 'MZ' | 'MM' | 'NA' | 'NR' | 'NP' | 'NL' | 'NC' | 'NZ' | 'NI' | 'NE' | 'NG' | 'NU' | 'NF' | 'MP' | 'NO' | 'OM' | 'PK' | 'PW' | 'PS' | 'PA' | 'PG' | 'PY' | 'PE' | 'PH' | 'PN' | 'PL' | 'PT' | 'PR' | 'QA' | 'RO' | 'RU' | 'RW' | 'RE' | 'BL' | 'SH' | 'KN' | 'LC' | 'MF' | 'PM' | 'VC' | 'WS' | 'SM' | 'ST' | 'SA' | 'SN' | 'RS' | 'SC' | 'SL' | 'SG' | 'SX' | 'SK' | 'SI' | 'SB' | 'SO' | 'ZA' | 'GS' | 'SS' | 'ES' | 'LK' | 'SD' | 'SR' | 'SJ' | 'SZ' | 'SE' | 'CH' | 'SY' | 'TW' | 'TJ' | 'TZ' | 'TH' | 'TL' | 'TG' | 'TK' | 'TO' | 'TT' | 'TN' | 'TR' | 'TM' | 'TC' | 'TV' | 'UG' | 'UA' | 'AE' | 'GB' | 'US' | 'UM' | 'UY' | 'UZ' | 'VU' | 'VE' | 'VN' | 'VG' | 'VI' | 'WF' | 'EH' | 'YE' | 'ZM' | 'ZW' | 'AX'; | ||
export {}; | ||
//# sourceMappingURL=geo.d.ts.map |
@@ -9,1 +9,2 @@ export * from './context'; | ||
export * from './geo'; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -7,1 +7,2 @@ import { ObservableUpdateFunction, ObserveErrorListener } from './functions'; | ||
} | ||
//# sourceMappingURL=query.d.ts.map |
@@ -40,1 +40,2 @@ /// <reference types="node" /> | ||
export declare const isStreamFunctionOpts: (opts: StreamFunctionContents | StreamFunctionStream) => opts is StreamFunctionStream; | ||
//# sourceMappingURL=stream.d.ts.map |
{ | ||
"name": "@based/functions", | ||
"version": "2.2.2", | ||
"version": "2.2.3", | ||
"license": "MIT", | ||
@@ -14,3 +14,3 @@ "main": "dist/index.js", | ||
"utility-types": "^3.10.0", | ||
"@saulx/utils": "^3.2.2" | ||
"@saulx/utils": "^3.5.0" | ||
}, | ||
@@ -17,0 +17,0 @@ "devDependencies": { |
@@ -40,2 +40,3 @@ import { AuthState } from './auth' | ||
res: HttpResponse | ||
url: string | ||
origin: string | ||
@@ -42,0 +43,0 @@ req: HttpRequest |
@@ -5,3 +5,4 @@ { | ||
"rootDir": "src", | ||
"outDir": "dist" | ||
"outDir": "dist", | ||
"declarationMap": true | ||
}, | ||
@@ -8,0 +9,0 @@ "include": ["src/**/*", "src/**/*.json"], |
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
111496
50
2365
Updated@saulx/utils@^3.5.0