1.0.8 • Published 4 years ago

originstamp-client-angular v1.0.8

Weekly downloads
2
License
MIT
Repository
github
Last release
4 years ago

OriginStamp TypeScript Angular Client

Build Status

npm.io

A TypeScript Angular implementation of the OriginStamp API. For endpoint documentation see OriginStamp Documentation.

Ensure to have TypeScript installed before and the peer dependencies.

Integrate OriginStamp

In your Angular project:

import { ApiModule } from 'originstamp-client-angular';

@NgModule({
    imports: [ ApiModule ],
    declarations: [ AppComponent ],
    providers: [],
    bootstrap: [ AppComponent ]
})
export class AppModule {}

In your component:

import { TimestampService } from 'originstamp-client-angular';

export class AppComponent {
	 constructor(private timestampService: TimestampService) { }
}

Available APIs: SchedulerService, TimestampService, ProofService, WebhookService

For more information about the models please refer to the Java client.

Note: The ApiModule is restricted to being instantiated once app wide. This is to ensure that all services are treated as singletons.

Angular Ivy & AOT

If your project uses the Angular Ivy compiler in combination with AOT (Ahead-Of-Time), disable AOT in the angular.json file by setting "aot": false in the build options to avoid compilation and build issues.

1.0.8

4 years ago

1.0.7

4 years ago

1.0.6

4 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

5 years ago

1.0.1

5 years ago