ps-toolkit-ui 1.6.7 → 1.6.10

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.
@@ -6,7 +6,7 @@ export declare class HelperClass {
6
6
  static shebaValid(str: any): boolean;
7
7
  static postalCodeValid(c: any): boolean;
8
8
  static random(length: any, upper?: boolean, lower?: boolean, num?: boolean): string;
9
- static setCookie(name: any, value: any, days: any): void;
9
+ static setCookie(name: any, value: any, hours?: number): void;
10
10
  static getCookie(name: any, def?: any): string;
11
11
  static eraseCookie(name: any): void;
12
12
  static getDateDif(l: any, dt: string): string;
@@ -9,7 +9,7 @@ export declare class LoginClass {
9
9
  sendCodeUrl: string;
10
10
  loginUrl: string;
11
11
  rules: string;
12
- setCookie(r: any): void;
12
+ setCookie(r: any, hours?: number): void;
13
13
  }
14
14
  export declare class LoginStepClass {
15
15
  constructor(form: FormClass);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ps-toolkit-ui",
3
- "version": "1.6.7",
3
+ "version": "1.6.10",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^10.1.6",
6
6
  "@angular/core": "^10.1.6"