()
| 141 | // Run examples |
| 142 | if (require.main === module) { |
| 143 | async function runExamples() { |
| 144 | console.log('🚀 Running Sim SDK Examples\n') |
| 145 | |
| 146 | try { |
| 147 | await basicExample() |
| 148 | console.log('\n✅ Basic example completed') |
| 149 | |
| 150 | await withInputExample() |
| 151 | console.log('\n✅ Input example completed') |
| 152 | |
| 153 | await statusExample() |
| 154 | console.log('\n✅ Status example completed') |
| 155 | |
| 156 | await streamingExample() |
| 157 | console.log('\n✅ Streaming example completed') |
| 158 | } catch (error) { |
| 159 | console.error('Error running examples:', error) |
| 160 | } |
| 161 | } |
| 162 | |
| 163 | runExamples() |
| 164 | } |
no test coverage detected