@streamflow/distributor 8.0.2-alpha.p287.a3616ff → 8.1.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/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
package/dist/cjs/index.cjs
CHANGED
|
@@ -61,6 +61,7 @@ __export(solana_exports, {
|
|
|
61
61
|
getDistributorPda: () => getDistributorPda,
|
|
62
62
|
getEventAuthorityPda: () => getEventAuthorityPda,
|
|
63
63
|
getTestOraclePda: () => getTestOraclePda,
|
|
64
|
+
isCompressedClaimStatus: () => isCompressedClaimStatus,
|
|
64
65
|
newClaim: () => newClaim,
|
|
65
66
|
newDistributor: () => newDistributor,
|
|
66
67
|
setAdmin: () => setAdmin,
|
|
@@ -2864,6 +2865,9 @@ function getEventAuthorityPda(programId) {
|
|
|
2864
2865
|
const seeds = [buffer.Buffer.from("__event_authority")];
|
|
2865
2866
|
return web3_js.PublicKey.findProgramAddressSync(seeds, programId)[0];
|
|
2866
2867
|
}
|
|
2868
|
+
var isCompressedClaimStatus = (status) => {
|
|
2869
|
+
return !!status && "state" in status;
|
|
2870
|
+
};
|
|
2867
2871
|
async function wrappedSignAndExecuteTransaction(...args) {
|
|
2868
2872
|
try {
|
|
2869
2873
|
return await solana.signAndExecuteTransaction(...args);
|