Skip to content

feat(CDPSDK-2435): add SignEndUserEvmHashRule to TypeScript SDK#633

Open
sammccord wants to merge 2 commits intomainfrom
sammccord/cdpsdk-2435-cdp-sdk-add-signenduserevmhash-rule-support-to-typescript
Open

feat(CDPSDK-2435): add SignEndUserEvmHashRule to TypeScript SDK#633
sammccord wants to merge 2 commits intomainfrom
sammccord/cdpsdk-2435-cdp-sdk-add-signenduserevmhash-rule-support-to-typescript

Conversation

@sammccord
Copy link
Copy Markdown
Contributor

Description

Add SignEndUserEvmHashRuleSchema to the TypeScript SDK policy schema for end-user EVM hash signing policy support.

  • Added SignEndUserEvmHashRuleSchema to evmSchema.ts with action (ActionEnum) and operation (z.literal('signEndUserEvmHash')) — no criteria field, matching SignEvmHashRuleSchema pattern
  • Exported SignEndUserEvmHashRule type
  • Added SignEndUserEvmHashRuleSchema to the RuleSchema discriminated union in types.ts

Tests

Schema-only change with no runtime behavior change. All existing tests pass (546/546).

Checklist

  • Updated the typescript README if relevant
  • Updated the python README if relevant
  • Added a changelog entry
  • Added e2e tests if introducing new functionality

🤖 Generated with Claude Code

@linear
Copy link
Copy Markdown

linear bot commented Apr 1, 2026

@cb-heimdall
Copy link
Copy Markdown

cb-heimdall commented Apr 1, 2026

🟡 Heimdall Review Status

Requirement Status More Info
Reviews 🟡 0/1
Denominator calculation
Show calculation
1 if user is bot 0
1 if user is external 0
2 if repo is sensitive 0
From .codeflow.yml 1
Additional review requirements
Show calculation
Max 0
0
From CODEOWNERS 0
Global minimum 0
Max 1
1
1 if commit is unverified 0
Sum 1

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 1, 2026

⚠️ Generated Client Files Have Been Modified

This pull request contains manual changes to generated client files. These files are automatically generated from the OpenAPI specification and should not be edited directly.

Please check the workflow logs for details on which files were modified.

To fix this issue:

  1. Revert any manual changes to files in:
    • typescript/src/openapi-client/generated/
    • python/cdp/openapi_client/
    • go/openapi/
    • java/src/main/java/com/coinbase/cdp/openapi/
  2. If you need to change the generated code, update the OpenAPI spec (openapi.yaml) instead
  3. Run the generation commands locally to update the generated files

This comment will be automatically removed once the issue is resolved.

@sammccord sammccord force-pushed the sammccord/cdpsdk-2435-cdp-sdk-add-signenduserevmhash-rule-support-to-typescript branch from 04083bb to 1fa6aab Compare April 2, 2026 01:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants