Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
@obelisk/ngx
Advanced tools
A client library Angular Module written in Typescript to interact with [@obelisk/client](https://www.npmjs.com/package/@obelisk/client).
A client library Angular Module written in Typescript to interact with @obelisk/client.
This library makes use of:
npm install @obelisk/client @obelisk/ngx rxjs --save
To include it in you main AppModule, do this:
import { APP_INITIALIZER } from '@angular/core';
import { ClientOptions } from '@obelisk/client';
import { ObeliskNgxModule, ObeliskService, OBELISK_DEPS, factory } from '@obelisk/ngx';
const options: ClientOptions = {
host: 'https://obelisk.ilabt.imec.be',
apiVersion: 'v1',
realm: 'idlab-iot',
clientId: 'my-client'
}
@NgModule({
declarations: [...],
imports: [
...,
ObeliskNgxModule.forRoot(options)
],
providers: [
{
provide: APP_INITIALIZER,
deps: OBELISK_DEPS,
useFactory: factory,
multi: true
}
...
],
bootstrap: [AppComponent]
})
export class AppModule { }
Now you can inject ObeliskService and get an already initialized client from it any time.
If you are logged in it will handle all the tokens in the headers for you.
If instead of an object, you feed ObeliskNgxModule.forRoot()
a string, then it will interpret it as a URL and fetch the configuration object asynchronously from that url first.
FAQs
Unknown package
The npm package @obelisk/ngx receives a total of 0 weekly downloads. As such, @obelisk/ngx popularity was classified as not popular.
We found that @obelisk/ngx demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.