@swype-org/react-sdk 0.1.18 → 0.1.19

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/index.d.cts CHANGED
@@ -359,7 +359,8 @@ interface UseAuthorizationExecutorOptions {
359
359
  * - OPEN_PROVIDER — connect the user's wallet
360
360
  * - SELECT_SOURCE — pause for user chain+token selection
361
361
  * - SWITCH_CHAIN — switch the wallet to the required chain
362
- * - CREATE_SMART_ACCOUNT — server-side smart account deployment
362
+ * - CREATE_SMART_ACCOUNT — server-side smart account creation (legacy)
363
+ * - DEPLOY_SMART_ACCOUNT — server-side on-chain deployment via no-op UserOp
363
364
  * - APPROVE_PERMIT2 — ERC-20 approve(permit2, maxUint256) from EOA
364
365
  * - SIGN_PERMIT2 — EIP-712 Permit2 allowance signature from EOA
365
366
  *
package/dist/index.d.ts CHANGED
@@ -359,7 +359,8 @@ interface UseAuthorizationExecutorOptions {
359
359
  * - OPEN_PROVIDER — connect the user's wallet
360
360
  * - SELECT_SOURCE — pause for user chain+token selection
361
361
  * - SWITCH_CHAIN — switch the wallet to the required chain
362
- * - CREATE_SMART_ACCOUNT — server-side smart account deployment
362
+ * - CREATE_SMART_ACCOUNT — server-side smart account creation (legacy)
363
+ * - DEPLOY_SMART_ACCOUNT — server-side on-chain deployment via no-op UserOp
363
364
  * - APPROVE_PERMIT2 — ERC-20 approve(permit2, maxUint256) from EOA
364
365
  * - SIGN_PERMIT2 — EIP-712 Permit2 allowance signature from EOA
365
366
  *
package/dist/index.js CHANGED
@@ -1084,6 +1084,8 @@ function useAuthorizationExecutor(options) {
1084
1084
  return executeSwitchChain(action, wagmiConfig2, switchChainAsync);
1085
1085
  case "APPROVE_PERMIT2":
1086
1086
  return executeApprovePermit2(action, wagmiConfig2);
1087
+ case "DEPLOY_SMART_ACCOUNT":
1088
+ return actionSuccess(action, "Smart account deployment acknowledged.");
1087
1089
  case "SIGN_PERMIT2":
1088
1090
  return executeSignPermit2(action, wagmiConfig2, apiBaseUrl ?? "", sessionIdRef.current);
1089
1091
  default: