File tree Expand file tree Collapse file tree 4 files changed +4
-4
lines changed
Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44
55[project ]
66name = " simstudio-sdk"
7- version = " 0.1.0 "
7+ version = " 0.1.1 "
88authors = [
99 {name = " Sim" , email = " support@sim.ai" },
1010]
Original file line number Diff line number Diff line change 55
66setup (
77 name = "simstudio-sdk" ,
8- version = "0.1.0 " ,
8+ version = "0.1.1 " ,
99 author = "Sim" ,
1010 author_email = "support@sim.ai" ,
1111 description = "Sim SDK - Execute workflows programmatically" ,
Original file line number Diff line number Diff line change 11{
22 "name" : " simstudio-ts-sdk" ,
3- "version" : " 0.1.0 " ,
3+ "version" : " 0.1.1 " ,
44 "description" : " Sim SDK - Execute workflows programmatically" ,
55 "type" : " module" ,
66 "main" : " dist/index.js" ,
Original file line number Diff line number Diff line change @@ -129,7 +129,7 @@ export class SimStudioClient {
129129 value : any ,
130130 visited : WeakSet < object > = new WeakSet ( )
131131 ) : Promise < any > {
132- if ( value instanceof File ) {
132+ if ( typeof File !== 'undefined' && value instanceof File ) {
133133 const arrayBuffer = await value . arrayBuffer ( )
134134 const buffer = Buffer . from ( arrayBuffer )
135135 const base64 = buffer . toString ( 'base64' )
You can’t perform that action at this time.
0 commit comments