@payfurl/client 2.0.1 → 3.0.1

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.
Files changed (41) hide show
  1. package/README.md +28 -0
  2. package/dist/sdk/favicon.ico +0 -0
  3. package/dist/sdk/payfurl.es.js +6242 -0
  4. package/dist/sdk/payfurl.umd.js +1 -0
  5. package/dist/sdk/sdk/components/render.d.ts +7 -0
  6. package/dist/sdk/sdk/config.d.ts +7 -0
  7. package/dist/sdk/sdk/config.local.d.ts +7 -0
  8. package/dist/sdk/sdk/config.production.d.ts +7 -0
  9. package/dist/sdk/sdk/config.sandbox.d.ts +7 -0
  10. package/dist/sdk/sdk/formInvoker.d.ts +10 -0
  11. package/dist/sdk/sdk/httpInvoker.d.ts +7 -0
  12. package/dist/sdk/sdk/interfaces/Invoker.interface.d.ts +4 -0
  13. package/dist/sdk/sdk/interfaces/Payfurl.interface.d.ts +12 -0
  14. package/dist/sdk/sdk/interfaces/processors/CardProcessor.interface.d.ts +7 -0
  15. package/dist/sdk/sdk/interfaces/processors/PaypalProcessor.interface.d.ts +4 -0
  16. package/dist/sdk/sdk/interfaces/processors/ThreeDsProcessor.interface.d.ts +7 -0
  17. package/dist/sdk/sdk/main.d.ts +32 -0
  18. package/dist/sdk/sdk/processors/cardProcessor.d.ts +38 -0
  19. package/dist/sdk/sdk/processors/paypalProcessor.d.ts +16 -0
  20. package/dist/sdk/sdk/processors/threeDsProcessor.d.ts +28 -0
  21. package/dist/sdk/sdk/types/Callback.type.d.ts +6 -0
  22. package/dist/sdk/sdk/types/CardIFrameOptions.type.d.ts +10 -0
  23. package/dist/sdk/sdk/types/CardOptions.type.d.ts +5 -0
  24. package/dist/sdk/sdk/types/Config.type.d.ts +6 -0
  25. package/dist/sdk/sdk/types/DropInOptions.type.d.ts +14 -0
  26. package/dist/sdk/sdk/types/Logger.type.d.ts +1 -0
  27. package/dist/sdk/sdk/types/PaymentOptionsCall.type.d.ts +2 -0
  28. package/dist/sdk/sdk/types/PaypalApprove.type.d.ts +21 -0
  29. package/dist/sdk/sdk/types/PaypalOptions.type.d.ts +9 -0
  30. package/dist/sdk/sdk/types/PaypalOrder.type.d.ts +55 -0
  31. package/dist/sdk/sdk/types/ThreeDSData.type.d.ts +12 -0
  32. package/dist/sdk/sdk/utils/alerts.d.ts +2 -0
  33. package/dist/sdk/sdk/utils/spinner.d.ts +2 -0
  34. package/dist/sdk/style.css +1 -0
  35. package/dist/sdk/utils/currency.d.ts +6 -0
  36. package/dist/sdk/utils/screen.d.ts +1 -0
  37. package/dist/sdk/utils/validate.d.ts +10 -0
  38. package/package.json +34 -19
  39. package/payfurl.js +0 -1
  40. package/payfurl.umd.js +0 -1
  41. package/readme.md +0 -8
package/README.md ADDED
@@ -0,0 +1,28 @@
1
+ # payFURL client SDK
2
+
3
+ Welcome to the payFURL client SDK.
4
+
5
+ ## Usage
6
+
7
+ Read here:
8
+ https://docs.payfurl.com/client_sdk/
9
+
10
+ ## Test Environment
11
+
12
+ - create a file `src/sdk/config.local.ts` with the following content:
13
+ ```
14
+ export default {
15
+ baseUrl: "http://localhost:3001",
16
+ cssUrl: "http://localhost:3001/dist/sdk/",
17
+ url: "http://localhost:3001/dist/iframe/",
18
+ apiUrl: "https://localhost:5001",
19
+ };
20
+ ```
21
+ - run `npm install`
22
+ - run `npm run server`
23
+ - run `npm run build-iframe`
24
+ - run `npm run build-sdk`
25
+ - open `http://localhost:3001/sdk.html` in your favorite browser
26
+ - enjoy *
27
+
28
+ (* - optional)
Binary file