UNPKG

@secrethub/ngx-stripe

Version:

The core package for ngx-stripe, for using stripe.js in your application

20 lines (19 loc) 697 B
import { InjectionToken } from '@angular/core'; import { SupportedVersions } from './SupportedVersions'; import { StripeConfigOptions } from 'stripejs'; /** * The public key that should be used for connecting to Stripe */ export declare const STRIPE_PUBLIC_KEY: InjectionToken<string>; /** * Extra configuration options that can be used to further configure Stripe */ export declare const STRIPE_OPTIONS: InjectionToken<StripeConfigOptions>; /** * The version of stripe that should be used */ export declare const STRIPE_VERSION: InjectionToken<SupportedVersions>; /** * The location of the stripe javascript file */ export declare const STRIPE_SCRIPT_LOCATION = "https://js.stripe.com/";