Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .idea/javascript-sdk.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion .idea/jsLibraryMappings.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
18.19.1
24.13.1
6 changes: 3 additions & 3 deletions CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ This is the Atomic Transact JavaScript SDK, a browser-based SDK that enables int

## Development Commands

- **Test**: `npm test` or `jest` - Runs Jest test suite
- **Test**: `npm test` - Runs Vitest test suite
- **Build TypeScript definitions**: `npx tsc` - Generates TypeScript declaration files from JavaScript source
- **Publish**: `npm run publish-it` - Compiles TypeScript definitions and publishes to npm

Expand All @@ -17,7 +17,7 @@ This is the Atomic Transact JavaScript SDK, a browser-based SDK that enables int
### Core Structure
- **index.js**: Main SDK implementation - single file containing the complete SDK
- **index.d.ts**: TypeScript definitions (auto-generated from index.js via JSDoc comments)
- **test/index.spec.js**: Jest test suite with snapshots
- **test/index.spec.js**: Vitest test suite with snapshots

### SDK Architecture
The SDK follows a simple pattern:
Expand All @@ -40,7 +40,7 @@ The SDK follows a simple pattern:

- Uses Prettier with specific config: no semicolons, single quotes, 2-space tabs, no trailing commas
- TypeScript definitions generated from JSDoc comments in JavaScript source
- Jest for testing with snapshot testing for DOM elements
- Vitest for testing with snapshot testing for DOM elements

## SDK Version Management

Expand Down
Loading