@nice-code/util 0.18.0 → 0.20.0
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/index.d.cts +4 -4
- package/build/index.d.mts +4 -4
- package/package.json +1 -1
package/build/index.d.cts
CHANGED
|
@@ -458,8 +458,8 @@ declare const convertEd25519JwkDataStringToObject: (inputDataString: `ed25519::j
|
|
|
458
458
|
format: ECryptoKeyFormat.jwk;
|
|
459
459
|
data: JsonWebKey;
|
|
460
460
|
};
|
|
461
|
-
declare const convertEd25519FormattedStringToObject: (inputDataString: `ed25519::
|
|
462
|
-
formattedString: `ed25519::
|
|
461
|
+
declare const convertEd25519FormattedStringToObject: (inputDataString: `ed25519::raw_base64::${string}` | `ed25519::jwk::${string}`) => {
|
|
462
|
+
formattedString: `ed25519::raw_base64::${string}` | `ed25519::jwk::${string}`;
|
|
463
463
|
type: ECryptoKeyAlgo.ed25519;
|
|
464
464
|
format: ECryptoKeyFormat;
|
|
465
465
|
data: string;
|
|
@@ -519,8 +519,8 @@ declare const importEd25519Key: {
|
|
|
519
519
|
readonly nonExtractable: (input: string) => Promise<CryptoKey>;
|
|
520
520
|
};
|
|
521
521
|
fromFormattedString: {
|
|
522
|
-
readonly extractable: (input: `ed25519::
|
|
523
|
-
readonly nonExtractable: (input: `ed25519::
|
|
522
|
+
readonly extractable: (input: `ed25519::raw_base64::${string}` | `ed25519::jwk::${string}`) => Promise<CryptoKey>;
|
|
523
|
+
readonly nonExtractable: (input: `ed25519::raw_base64::${string}` | `ed25519::jwk::${string}`) => Promise<CryptoKey>;
|
|
524
524
|
};
|
|
525
525
|
fromSerializedObject: {
|
|
526
526
|
readonly extractable: (input: TSerializedCryptoKeyData_Ed25519_Jwk_Transformed | TSerializedCryptoKeyData_Ed25519_Raw_Transformed) => Promise<CryptoKey>;
|
package/build/index.d.mts
CHANGED
|
@@ -458,8 +458,8 @@ declare const convertEd25519JwkDataStringToObject: (inputDataString: `ed25519::j
|
|
|
458
458
|
format: ECryptoKeyFormat.jwk;
|
|
459
459
|
data: JsonWebKey;
|
|
460
460
|
};
|
|
461
|
-
declare const convertEd25519FormattedStringToObject: (inputDataString: `ed25519::
|
|
462
|
-
formattedString: `ed25519::
|
|
461
|
+
declare const convertEd25519FormattedStringToObject: (inputDataString: `ed25519::raw_base64::${string}` | `ed25519::jwk::${string}`) => {
|
|
462
|
+
formattedString: `ed25519::raw_base64::${string}` | `ed25519::jwk::${string}`;
|
|
463
463
|
type: ECryptoKeyAlgo.ed25519;
|
|
464
464
|
format: ECryptoKeyFormat;
|
|
465
465
|
data: string;
|
|
@@ -519,8 +519,8 @@ declare const importEd25519Key: {
|
|
|
519
519
|
readonly nonExtractable: (input: string) => Promise<CryptoKey>;
|
|
520
520
|
};
|
|
521
521
|
fromFormattedString: {
|
|
522
|
-
readonly extractable: (input: `ed25519::
|
|
523
|
-
readonly nonExtractable: (input: `ed25519::
|
|
522
|
+
readonly extractable: (input: `ed25519::raw_base64::${string}` | `ed25519::jwk::${string}`) => Promise<CryptoKey>;
|
|
523
|
+
readonly nonExtractable: (input: `ed25519::raw_base64::${string}` | `ed25519::jwk::${string}`) => Promise<CryptoKey>;
|
|
524
524
|
};
|
|
525
525
|
fromSerializedObject: {
|
|
526
526
|
readonly extractable: (input: TSerializedCryptoKeyData_Ed25519_Jwk_Transformed | TSerializedCryptoKeyData_Ed25519_Raw_Transformed) => Promise<CryptoKey>;
|