samlify 2.8.7 → 2.8.9

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.
@@ -100,7 +100,7 @@ declare function applyDefault(obj1: any, obj2: any): any;
100
100
  declare function getPublicKeyPemFromCertificate(x509Certificate: string): string;
101
101
  /**
102
102
  * @desc Read private key from pem-formatted string
103
- * @param {string | Buffer} keyString pem-formattted string
103
+ * @param {string | Buffer} keyString pem-formatted string
104
104
  * @param {string} protected passphrase of the key
105
105
  * @return {string} string in pem format
106
106
  * If passphrase is used to protect the .pem content (recommend)
@@ -114,6 +114,7 @@ declare function convertToString(input: any, isOutputString: any): any;
114
114
  * @desc Check if the input is an array with non-zero size
115
115
  */
116
116
  export declare function isNonEmptyArray(a: any): boolean;
117
+ export declare function castArrayOpt<T>(a?: T | T[]): T[];
117
118
  export declare function notEmpty<TValue>(value: TValue | null | undefined): value is TValue;
118
119
  declare const utility: {
119
120
  isString: typeof isString;