Skip to content

Commit 7b27921

Browse files
authored
fix(sdks): bump sdk versions (#2142)
1 parent 4e9cab3 commit 7b27921

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

packages/python-sdk/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "simstudio-sdk"
7-
version = "0.1.0"
7+
version = "0.1.1"
88
authors = [
99
{name = "Sim", email = "[email protected]"},
1010
]

packages/python-sdk/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
setup(
77
name="simstudio-sdk",
8-
version="0.1.0",
8+
version="0.1.1",
99
author="Sim",
1010
author_email="[email protected]",
1111
description="Sim SDK - Execute workflows programmatically",

packages/ts-sdk/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
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",

packages/ts-sdk/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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')

0 commit comments

Comments
 (0)