@streamflow/distributor 8.0.2-alpha.p287.a3616ff → 8.0.2
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/dist/cjs/index.cjs +4 -0
- package/dist/cjs/index.cjs.map +1 -1
- package/dist/cjs/solana/index.cjs +4 -0
- package/dist/cjs/solana/index.cjs.map +1 -1
- package/dist/cjs/solana/index.d.cts +8 -4
- package/dist/esm/index.js +4 -0
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/solana/index.d.ts +8 -4
- package/dist/esm/solana/index.js +4 -1
- package/dist/esm/solana/index.js.map +1 -1
- package/package.json +4 -4
|
@@ -2837,6 +2837,9 @@ function getEventAuthorityPda(programId) {
|
|
|
2837
2837
|
const seeds = [buffer.Buffer.from("__event_authority")];
|
|
2838
2838
|
return web3_js.PublicKey.findProgramAddressSync(seeds, programId)[0];
|
|
2839
2839
|
}
|
|
2840
|
+
var isCompressedClaimStatus = (status) => {
|
|
2841
|
+
return !!status && "state" in status;
|
|
2842
|
+
};
|
|
2840
2843
|
async function wrappedSignAndExecuteTransaction(...args) {
|
|
2841
2844
|
try {
|
|
2842
2845
|
return await solana.signAndExecuteTransaction(...args);
|
|
@@ -4416,6 +4419,7 @@ exports.getClaimantStatusPda = getClaimantStatusPda;
|
|
|
4416
4419
|
exports.getDistributorPda = getDistributorPda;
|
|
4417
4420
|
exports.getEventAuthorityPda = getEventAuthorityPda;
|
|
4418
4421
|
exports.getTestOraclePda = getTestOraclePda;
|
|
4422
|
+
exports.isCompressedClaimStatus = isCompressedClaimStatus;
|
|
4419
4423
|
exports.newClaim = newClaim;
|
|
4420
4424
|
exports.newDistributor = newDistributor;
|
|
4421
4425
|
exports.setAdmin = setAdmin;
|