@miden-npm/angular 0.0.37 → 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.d.ts CHANGED
@@ -322,6 +322,10 @@ interface ISuccessObject {
322
322
  paymentDate: string | null;
323
323
  paymentId: string;
324
324
  paymentStatus: string;
325
+ message?: string;
326
+ }
327
+ interface IErrorObject {
328
+ errorMessage: string;
325
329
  }
326
330
 
327
331
  interface IPagination {
@@ -560,4 +564,4 @@ declare function cardType(cardNumber: string): string;
560
564
  declare function detect(cardNumber: string): CardSchemes;
561
565
 
562
566
  export { BZP_CONFIG, BZP_CORRELATION_ID, BackComponent, ButtonComponent, CardComponent, CardSchemes, CheckoutService, CopyComponent, CurrencyAmountComponent, EncryptService, HintComponent, IconArrowSwapComponent, IconBuzapayIconComponent, IconCheckCircleComponent, IconChevronDownComponent, IconChevronLeftComponent, IconChevronUpComponent, IconCopySuccessComponent, IconLoaderComponent, IconUsdcComponent, IconUsdtComponent, ImageComponent, InputComponent, InputErrorComponent, LabelInfoComponent, MidenPGAngular, RadioGroupComponent, ResourceService, SelectComponent, SuccessComponent, apiBaseUrl, cardType, checkObjectTruthy, currencySign, detect, formatAmount, getBaseUrl, getQueryParams, getValidationErrorMessage, provideMidenPG, restrictToNumericKeys, truncateString, urlValidator };
563
- export type { BzpConfig, BzpEnvironment, IApiResponse, IAuthorizeCardPaymentPayload, IBillingDetails, ICardDetails, ICheckoutApiResponse, ICountry, IGeneratePaymentAccountPayload, IGenerateStableCoinAddress, IGenerateStableCoinAddressResponse, IPagination, IPaymentAccountResponse, IPaymentObject, IPaymentReferenceDetail, ISelectOption, IState, ISuccessObject, ThreeDsHtml };
567
+ export type { BzpConfig, BzpEnvironment, IApiResponse, IAuthorizeCardPaymentPayload, IBillingDetails, ICardDetails, ICheckoutApiResponse, ICountry, IErrorObject, IGeneratePaymentAccountPayload, IGenerateStableCoinAddress, IGenerateStableCoinAddressResponse, IPagination, IPaymentAccountResponse, IPaymentObject, IPaymentReferenceDetail, ISelectOption, IState, ISuccessObject, ThreeDsHtml };
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "registry": "https://registry.npmjs.org",
5
5
  "access": "public"
6
6
  },
7
- "version": "0.0.37",
7
+ "version": "1.0.0",
8
8
  "main": "./fesm2022/miden-npm-angular.mjs",
9
9
  "module": "fesm2022/miden-npm-angular.mjs",
10
10
  "types": "./index.d.ts",