This package has been deprecated

    Author message:

    This package is not maintained anymore. See https://www.npmjs.com/package/originstamp-client-fetch.

    originstamp-client-angular
    TypeScript icon, indicating that this package has built-in type declarations

    1.0.8 • Public • Published

    OriginStamp TypeScript Angular Client

    Build Status

    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.

    Install

    npm i originstamp-client-angular

    DownloadsWeekly Downloads

    0

    Version

    1.0.8

    License

    MIT

    Unpacked Size

    118 kB

    Total Files

    117

    Last publish

    Collaborators

    • danmuf