@forlabs/api-bridge
Advanced tools
Comparing version 0.0.13 to 1.0.0
/** | ||
* Generated bundle index. Do not edit. | ||
*/ | ||
/// <amd-module name="@forlabs/api-bridge" /> | ||
export * from './public-api'; |
@@ -0,2 +1,7 @@ | ||
import * as i0 from "@angular/core"; | ||
import * as i1 from "@angular/common"; | ||
export declare class ApiBridgeModule { | ||
static ɵfac: i0.ɵɵFactoryDeclaration<ApiBridgeModule, never>; | ||
static ɵmod: i0.ɵɵNgModuleDeclaration<ApiBridgeModule, never, [typeof i1.CommonModule], never>; | ||
static ɵinj: i0.ɵɵInjectorDeclaration<ApiBridgeModule>; | ||
} |
@@ -0,1 +1,2 @@ | ||
import * as i0 from "@angular/core"; | ||
export declare class TokenService { | ||
@@ -10,2 +11,4 @@ protected userToken: string | null; | ||
removeUserTokens(): void; | ||
static ɵfac: i0.ɵɵFactoryDeclaration<TokenService, never>; | ||
static ɵprov: i0.ɵɵInjectableDeclaration<TokenService>; | ||
} |
import { Subject } from 'rxjs'; | ||
import * as i0 from "@angular/core"; | ||
export declare class ErrorEventsService { | ||
message$: Subject<unknown>; | ||
static ɵfac: i0.ɵɵFactoryDeclaration<ErrorEventsService, never>; | ||
static ɵprov: i0.ɵɵInjectableDeclaration<ErrorEventsService>; | ||
} |
@@ -8,2 +8,3 @@ import { HttpErrorResponse, HttpEvent, HttpHandler, HttpInterceptor, HttpRequest } from '@angular/common/http'; | ||
import { HeadersService } from './headers.service'; | ||
import * as i0 from "@angular/core"; | ||
export declare class ErrorInterceptor implements HttpInterceptor { | ||
@@ -29,2 +30,4 @@ protected injector: Injector; | ||
protected isExpiredTokenError(error: HttpErrorResponse): boolean; | ||
static ɵfac: i0.ɵɵFactoryDeclaration<ErrorInterceptor, never>; | ||
static ɵprov: i0.ɵɵInjectableDeclaration<ErrorInterceptor>; | ||
} |
import { HttpEvent, HttpHandler, HttpInterceptor, HttpRequest } from '@angular/common/http'; | ||
import { Observable } from 'rxjs'; | ||
import { HeadersService } from './headers.service'; | ||
import * as i0 from "@angular/core"; | ||
export declare class HeadersInterceptor implements HttpInterceptor { | ||
@@ -8,2 +9,4 @@ protected headersService: HeadersService; | ||
intercept(request: HttpRequest<any>, next: HttpHandler): Observable<HttpEvent<any>>; | ||
static ɵfac: i0.ɵɵFactoryDeclaration<HeadersInterceptor, never>; | ||
static ɵprov: i0.ɵɵInjectableDeclaration<HeadersInterceptor>; | ||
} |
import { HttpRequest } from '@angular/common/http'; | ||
import { TokenService } from '../current-user/token.service'; | ||
import * as i0 from "@angular/core"; | ||
export declare class HeadersService { | ||
@@ -7,2 +8,4 @@ protected tokenService: TokenService; | ||
clonedRequestsWithProperHeaders<T>(request: HttpRequest<T>): HttpRequest<T>; | ||
static ɵfac: i0.ɵɵFactoryDeclaration<HeadersService, never>; | ||
static ɵprov: i0.ɵɵInjectableDeclaration<HeadersService>; | ||
} |
{ | ||
"name": "@forlabs/api-bridge", | ||
"version": "0.0.13", | ||
"version": "1.0.0", | ||
"license": "MIT", | ||
"peerDependencies": { | ||
"@angular/common": ">12", | ||
"@angular/core": ">12", | ||
"@angular/common": ">13", | ||
"@angular/core": ">13", | ||
"@decahedron/entity": "^2.9.0", | ||
@@ -12,13 +12,25 @@ "pluralize": "^8.0.0", | ||
}, | ||
"main": "bundles/forlabs-api-bridge.umd.js", | ||
"module": "fesm2015/forlabs-api-bridge.js", | ||
"es2015": "fesm2015/forlabs-api-bridge.js", | ||
"esm2015": "esm2015/forlabs-api-bridge.js", | ||
"fesm2015": "fesm2015/forlabs-api-bridge.js", | ||
"module": "fesm2015/forlabs-api-bridge.mjs", | ||
"es2020": "fesm2020/forlabs-api-bridge.mjs", | ||
"esm2020": "esm2020/forlabs-api-bridge.mjs", | ||
"fesm2020": "fesm2020/forlabs-api-bridge.mjs", | ||
"fesm2015": "fesm2015/forlabs-api-bridge.mjs", | ||
"typings": "forlabs-api-bridge.d.ts", | ||
"metadata": "forlabs-api-bridge.metadata.json", | ||
"exports": { | ||
"./package.json": { | ||
"default": "./package.json" | ||
}, | ||
".": { | ||
"types": "./forlabs-api-bridge.d.ts", | ||
"esm2020": "./esm2020/forlabs-api-bridge.mjs", | ||
"es2020": "./fesm2020/forlabs-api-bridge.mjs", | ||
"es2015": "./fesm2015/forlabs-api-bridge.mjs", | ||
"node": "./fesm2015/forlabs-api-bridge.mjs", | ||
"default": "./fesm2020/forlabs-api-bridge.mjs" | ||
} | ||
}, | ||
"sideEffects": false, | ||
"dependencies": { | ||
"tslib": "^2.1.0" | ||
"tslib": "^2.3.0" | ||
} | ||
} |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
1
373470
36
2742
1
Updatedtslib@^2.3.0