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.
- package/build/src/api.js +1 -1
- package/build/src/binding-post.js.map +1 -1
- package/build/src/binding-redirect.js +1 -1
- package/build/src/binding-redirect.js.map +1 -1
- package/build/src/binding-simplesign.js +1 -1
- package/build/src/entity-idp.js +2 -2
- package/build/src/extractor.js +6 -1
- package/build/src/extractor.js.map +1 -1
- package/build/src/flow.js +2 -2
- package/build/src/flow.js.map +1 -1
- package/build/src/libsaml.js +8 -9
- package/build/src/libsaml.js.map +1 -1
- package/build/src/metadata-idp.js +34 -8
- package/build/src/metadata-idp.js.map +1 -1
- package/build/src/metadata-sp.js +36 -10
- package/build/src/metadata-sp.js.map +1 -1
- package/build/src/metadata.js +1 -1
- package/build/src/utility.js +8 -2
- package/build/src/utility.js.map +1 -1
- package/package.json +1 -1
- package/src/api.ts +2 -2
- package/src/binding-post.ts +2 -3
- package/src/binding-redirect.ts +1 -1
- package/src/binding-simplesign.ts +5 -5
- package/src/entity-idp.ts +2 -2
- package/src/extractor.ts +6 -1
- package/src/flow.ts +8 -9
- package/src/libsaml.ts +8 -9
- package/src/metadata-idp.ts +5 -9
- package/src/metadata-sp.ts +7 -11
- package/src/metadata.ts +2 -2
- package/src/types.ts +8 -8
- package/src/utility.ts +13 -8
- package/types/src/entity-idp.d.ts +2 -2
- package/types/src/libsaml.d.ts +3 -4
- package/types/src/metadata-sp.d.ts +1 -1
- package/types/src/metadata.d.ts +1 -1
- package/types/src/types.d.ts +8 -8
- package/types/src/utility.d.ts +2 -1
package/types/src/utility.d.ts
CHANGED
|
@@ -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-
|
|
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;
|