diff --git a/.changeset/remove-session-userop-check.md b/.changeset/remove-session-userop-check.md new file mode 100644 index 0000000..756c712 --- /dev/null +++ b/.changeset/remove-session-userop-check.md @@ -0,0 +1,5 @@ +--- +"@rhinestone/sdk": patch +--- + +Remove experimental_session check from sendAsUserOp condition diff --git a/src/execution/index.ts b/src/execution/index.ts index d00c898..c44303a 100644 --- a/src/execution/index.ts +++ b/src/execution/index.ts @@ -159,9 +159,7 @@ async function sendTransactionInternal( options.initialTokenRequests, ) - const sendAsUserOp = - options.signers?.type === 'guardians' || - options.signers?.type === 'experimental_session' + const sendAsUserOp = options.signers?.type === 'guardians' if (sendAsUserOp) { throw new SignerNotSupportedError() } else {