@henrylabs-interview/payment-processor 0.1.10 → 0.1.11

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/dist/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { Checkout } from './resources/checkout';
2
2
  import { Webhooks } from './resources/webhooks';
3
- export declare class PaymentProcessorSDK {
3
+ export declare class PaymentProcessor {
4
4
  checkout: Checkout;
5
5
  webhooks: Webhooks;
6
6
  private VALID_API_KEYS;
@@ -8,7 +8,7 @@ export declare class PaymentProcessorSDK {
8
8
  apiKey: string;
9
9
  });
10
10
  }
11
- export declare class EmbeddedCheckoutUI {
11
+ export declare class EmbeddedCheckout {
12
12
  private checkoutId;
13
13
  constructor(config: {
14
14
  checkoutId: string;
package/dist/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { Checkout } from './resources/checkout';
2
2
  import { renderEmbeddedCheckout } from './resources/embedded';
3
3
  import { Webhooks } from './resources/webhooks';
4
- export class PaymentProcessorSDK {
4
+ export class PaymentProcessor {
5
5
  checkout;
6
6
  webhooks;
7
7
  VALID_API_KEYS = ['824c951e-dfac-4342-8e03', '3f67e17a-880a-463b-a667', '78254d40-623a-48c5-b83f'];
@@ -16,7 +16,7 @@ export class PaymentProcessorSDK {
16
16
  this.webhooks = new Webhooks();
17
17
  }
18
18
  }
19
- export class EmbeddedCheckoutUI {
19
+ export class EmbeddedCheckout {
20
20
  checkoutId;
21
21
  constructor(config) {
22
22
  if (!config.checkoutId) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@henrylabs-interview/payment-processor",
3
- "version": "0.1.10",
3
+ "version": "0.1.11",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",