![Create React App Officially Deprecated Amid React 19 Compatibility Issues](https://cdn.sanity.io/images/cgdhsj6q/production/04fa08cf844d798abc0e1a6391c129363cc7e2ab-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Create React App Officially Deprecated Amid React 19 Compatibility Issues
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
@aurigma/ng-rendering-service-client
Advanced tools
Angular API Client for Rendering service of Customer's Canvas web-to-print system.
This module is an Angular API client for Rendering service which is a part of Customer's Canvas web-to-print system. It is supposed that you are familiar with its services and understand how to use its APIs. To learn more about Customer's Canvas and its services, refer the Getting Started section of its documentation.
The API client is automatically generated with NSwag tool. If for any reasons this API client does not work well for you, feel free to generate it yourself using Swagger document published at Customer's Canvas API Gateway.
To be able to use this package, you need to meet the following requirements:
For other platforms, see the Backend services article in Customer's Canvas documentation.
Install it as a regular npm package:
npm install @aurigma/ng-rendering-service-client
Receive an access token through your backend as explained in the documentation and deliver it to your app.
Setup module parameters in the app.module.ts:
import {RenderingServiceModule} from '@aurigma/ng-rendering-service-client';
// ...
// Generally you can use "https://api.customerscanvashub.com" as an api url.
// But this url may be different for on-premises version of Customer's Canvas
const baseApiUrl = "https://api.customerscanvashub.com";
// A token should be received from your backend
const accessToken = "...";
@NgModule({
declarations: [
AppComponent
],
imports: [
BrowserModule,
HttpClientModule,
RenderingServiceModule.forRoot(accessToken, baseApiUrl, null)
],
providers: [],
bootstrap: [AppComponent]
})
export class AppModule { }
Now you can inject this module in your services. For example, imagine that you want to use it in a app.component.ts. For simplicity, we will just request a service version information. However, you can use other clients in a similar manner.
It may look as follows:
import { Component } from '@angular/core';
import { BuildInfoApiClient } from '@aurigma/ng-rendering-service-client';
@Component({
selector: 'app-root',
templateUrl: './app.component.html',
styleUrls: ['./app.component.scss']
})
export class AppComponent {
constructor(private buildInfo: BuildInfoApiClient) {
this.buildInfo.getInfo().subscribe(info => console.log(info));
}
}
To find out what other clients are available in this module, refer Rendering Service API Reference.
NOTE: The class name for each client is formed as ClientNameApiClient, e.g.
BuildInfo
->BuildInfoApiClient
, etc.
FAQs
Angular API Client for Rendering service of Customer's Canvas web-to-print system.
The npm package @aurigma/ng-rendering-service-client receives a total of 0 weekly downloads. As such, @aurigma/ng-rendering-service-client popularity was classified as not popular.
We found that @aurigma/ng-rendering-service-client demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers 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
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.