@bootpay/client-js 5.2.0-beta.17 → 5.2.0-beta.19

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.
@@ -0,0 +1,16 @@
1
+ import { default as CryptoJS } from 'crypto-js';
2
+
3
+ export declare class BootpaySessionStoreManager {
4
+ sessionStorage: any;
5
+ constructor();
6
+ get privateKey(): CryptoJS.lib.WordArray;
7
+ encrypt(data?: {}): string;
8
+ decrypt: (data: string) => any | string;
9
+ get(key: string): any;
10
+ set(key: string, value: any): void;
11
+ getDecrypt(key: string): any;
12
+ getItem(key: string, subKey: string, defaultValue?: any): any;
13
+ setEncrypt(key: string, value: any): void;
14
+ setItem(key: string, subKey: string, value: any): void;
15
+ }
16
+ export declare const BootpaySessionStorage: BootpaySessionStoreManager;
@@ -4,7 +4,7 @@ import { BootpayStoreManager } from './bootpay-store';
4
4
 
5
5
  export declare class WidgetStoreManager extends BootpayStoreManager {
6
6
  el: string | undefined;
7
- data: RequestBootpayWidgetModel;
7
+ data: any;
8
8
  termsPassed: boolean;
9
9
  widgetExtra: ExtraModel | undefined;
10
10
  widgetType: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bootpay/client-js",
3
- "version": "5.2.0-beta.17",
3
+ "version": "5.2.0-beta.19",
4
4
  "main": "dist/index.mjs",
5
5
  "exports": {
6
6
  ".": {