@bootpay/client-js 5.1.0 → 5.1.1-beta.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.
@@ -1,6 +1,6 @@
1
1
  declare const _default: {
2
2
  "name": "@bootpay/client-js",
3
- "version": "5.1.0",
3
+ "version": "5.1.1-beta.1",
4
4
  "main": "dist/index.es.js",
5
5
  "types": "dist/src/index.d.ts",
6
6
  "styles": "dist/index.css",
@@ -0,0 +1,7 @@
1
+ declare global {
2
+ interface Window {
3
+ BootpayStore: BootpayStoreInterface;
4
+ }
5
+ }
6
+ declare const BootpayStore: BootpayStoreInterface;
7
+ export default BootpayStore;
@@ -1,10 +1,10 @@
1
1
  import Bootpay, { BootpayInterface } from './bootpay';
2
2
  import BootpaySDK from './bootpay-sdk';
3
3
  import BootpayEnvironment from "./bootpay-environment";
4
- import BootpayEx from './bootpay-ex';
4
+ import BootpayStore from './bootpay-store';
5
5
  import BootpayWidget, { BootpayWidgetInterface } from './bootpay-widget';
6
6
  import BootpayWallet from './bootpay-wallet';
7
- export { Bootpay, BootpaySDK, BootpayEnvironment, BootpayWidget, BootpayEx, BootpayWallet };
7
+ export { Bootpay, BootpaySDK, BootpayEnvironment, BootpayWidget, BootpayStore, BootpayWallet };
8
8
  export default Bootpay;
9
9
  import { UserTokenTemplateManager } from './lib/template/user-token';
10
10
  import { BiometricDataModel, RequestPaymentWalletModel } from './models/bootpay-sdk-interface';
@@ -30,7 +30,7 @@ declare global {
30
30
  Bootpay: BootpayInterface;
31
31
  BootpayWidget: BootpayWidgetInterface;
32
32
  BootpaySDK: BootpaySdkInterface;
33
- BootpayEx: BootpayExInterface;
33
+ BootpayStore: BootpayStoreInterface;
34
34
  CustomEvent: any;
35
35
  }
36
36
  }
@@ -1,8 +1,8 @@
1
1
  import { BootpayManager } from '../support/bootpay-manager';
2
- export declare class BootpayExWindowManager extends BootpayManager {
2
+ export declare class BootpayStoreWindowManager extends BootpayManager {
3
3
  constructor();
4
4
  initialize(): void;
5
5
  render(el: string, data: RequestExModel): void;
6
6
  hideAlert(eventName?: string): void;
7
7
  }
8
- export declare const BootpayExWindow: BootpayExWindowManager;
8
+ export declare const BootpayStoreWindow: BootpayStoreWindowManager;
@@ -1,4 +1,4 @@
1
- export declare const ExWindowRouter: {
1
+ export declare const StoreWindowRouter: {
2
2
  parameterPrefix: string;
3
3
  updateParameters({ parameters, replace }: {
4
4
  parameters: any;
@@ -1,4 +1,4 @@
1
- export declare const ExWindowEvent: {
1
+ export declare const StoreWindowEvent: {
2
2
  resize: (data: ExResizeData) => void;
3
3
  showAlert({ message, title, options }: {
4
4
  message: any;
@@ -0,0 +1,6 @@
1
+ import { BootpayWindowEvent } from '../../support/event';
2
+ declare class BootpayStoreEventManager extends BootpayWindowEvent {
3
+ constructor();
4
+ }
5
+ export declare const BootpayStoreWindowEvent: BootpayStoreEventManager;
6
+ export {};
@@ -1,11 +1,12 @@
1
1
  import { TemplateManager } from '../../support/template-manager';
2
- declare class TemplateExManager extends TemplateManager {
2
+ import { ExStoreManager } from '../../support/ex-store';
3
+ declare class TemplateStoreManager extends TemplateManager {
3
4
  $template: string;
4
5
  $iFrameId: string;
5
6
  $iFrameContainerId: string;
6
7
  $exOverlayId: string;
7
8
  $exOverlayContainerId: string;
8
- $exStore: ExStoreModel;
9
+ $exStore: ExStoreManager;
9
10
  constructor();
10
11
  render(): void;
11
12
  templateRender(): void;
@@ -29,5 +30,5 @@ declare class TemplateExManager extends TemplateManager {
29
30
  }): string;
30
31
  shopUrl(): string;
31
32
  }
32
- export declare const TemplateEx: TemplateExManager;
33
+ export declare const TemplateStore: TemplateStoreManager;
33
34
  export {};
@@ -7,6 +7,6 @@ export declare class ExStoreManager extends BootpayStoreManager {
7
7
  setExData(el: string, data: RequestExModel): void;
8
8
  encryptParameters(): string;
9
9
  encryptKey(): string;
10
- currentBootpayExtraParameters(): string;
10
+ currentBootpayStoretraParameters(): string;
11
11
  }
12
12
  export declare const ExStore: ExStoreManager;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bootpay/client-js",
3
- "version": "5.1.0",
3
+ "version": "5.1.1-beta.1",
4
4
  "main": "dist/index.es.js",
5
5
  "types": "dist/src/index.d.ts",
6
6
  "styles": "dist/index.css",
@@ -1,7 +0,0 @@
1
- declare global {
2
- interface Window {
3
- BootpayEx: BootpayExInterface;
4
- }
5
- }
6
- declare const BootpayEx: BootpayExInterface;
7
- export default BootpayEx;
@@ -1,6 +0,0 @@
1
- import { BootpayWindowEvent } from '../../support/event';
2
- declare class BootpayExEventManager extends BootpayWindowEvent {
3
- constructor();
4
- }
5
- export declare const BootpayExWindowEvent: BootpayExEventManager;
6
- export {};