@blockfrost/blockfrost-utils
Advanced tools
Comparing version 2.4.1-beta.2 to 2.4.1-beta.3
@@ -15,4 +15,8 @@ declare type BlockfrostNetwork = 'mainnet' | 'testnet' | 'preview' | 'preprod'; | ||
addressType: "byron" | "shelley" | undefined; | ||
paymentCred: string | undefined; | ||
prefix: SUPPORTED_PAYMENT_CRED_PREFIX | undefined; | ||
paymentCred: string; | ||
paymentCredPrefix: SUPPORTED_PAYMENT_CRED_PREFIX; | ||
} | { | ||
addressType: "byron" | "shelley" | undefined; | ||
paymentCred?: undefined; | ||
paymentCredPrefix?: undefined; | ||
}; | ||
@@ -19,0 +23,0 @@ export declare const scriptHashFromBech32Address: (input: string) => string | undefined; |
@@ -180,7 +180,14 @@ "use strict"; | ||
: undefined; | ||
return { | ||
addressType, | ||
paymentCred: paymentCred === null || paymentCred === void 0 ? void 0 : paymentCred.paymentCred, | ||
prefix: paymentCred === null || paymentCred === void 0 ? void 0 : paymentCred.prefix, | ||
}; | ||
if (paymentCred) { | ||
return { | ||
addressType, | ||
paymentCred: paymentCred.paymentCred, | ||
paymentCredPrefix: paymentCred.prefix, | ||
}; | ||
} | ||
else { | ||
return { | ||
addressType, | ||
}; | ||
} | ||
}; | ||
@@ -187,0 +194,0 @@ exports.getAddressTypeAndPaymentCred = getAddressTypeAndPaymentCred; |
{ | ||
"name": "@blockfrost/blockfrost-utils", | ||
"version": "2.4.1-beta.2", | ||
"version": "2.4.1-beta.3", | ||
"repository": "git@github.com:blockfrost/blockfrost-utils.git", | ||
@@ -5,0 +5,0 @@ "license": "Apache-2.0", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
63093
1146