Ошибка импорта библиотеки

При импорте библиотеки получаю ошибку, как я могу ее решить? Error: export 'P2p' (imported as 'P2p') was not found in 'qiwi-sdk' (module has no exports)

import { P2p } from "qiwi-sdk";
import { Component, OnInit } from '@angular/core';
import { environment } from 'src/environments/environment';

@Component({
  selector: 'app-qiwi',
  templateUrl: './qiwi.component.html',
  styleUrls: ['./qiwi.component.scss']
})
export class QiwiComponent implements OnInit {

  constructor() { }

  p2pConfig = environment.qiwi
  sKey = this.p2pConfig.QIWI_SECRET_KEY
  pKey = this.p2pConfig.QIWI_PUBLIC_KEY
  qToken = this.p2pConfig.QIWI_TOKEN



  async pay() {
    const p2p = new P2p({
    secretKey: this.sKey,
    publicKey: this.pKey
   });
console.log(p2p);

 }

ngOnInit() { } }

Библиотеку которую использую: ссылка


Ответы (0 шт):