mirror of
https://github.com/simstudioai/sim.git
synced 2026-01-06 21:54:01 -05:00
fix(sdks): bump sdk versions (#2142)
This commit is contained in:
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
||||
|
||||
[project]
|
||||
name = "simstudio-sdk"
|
||||
version = "0.1.0"
|
||||
version = "0.1.1"
|
||||
authors = [
|
||||
{name = "Sim", email = "support@sim.ai"},
|
||||
]
|
||||
|
||||
@@ -5,7 +5,7 @@ with open("README.md", "r", encoding="utf-8") as fh:
|
||||
|
||||
setup(
|
||||
name="simstudio-sdk",
|
||||
version="0.1.0",
|
||||
version="0.1.1",
|
||||
author="Sim",
|
||||
author_email="support@sim.ai",
|
||||
description="Sim SDK - Execute workflows programmatically",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "simstudio-ts-sdk",
|
||||
"version": "0.1.0",
|
||||
"version": "0.1.1",
|
||||
"description": "Sim SDK - Execute workflows programmatically",
|
||||
"type": "module",
|
||||
"main": "dist/index.js",
|
||||
|
||||
@@ -129,7 +129,7 @@ export class SimStudioClient {
|
||||
value: any,
|
||||
visited: WeakSet<object> = new WeakSet()
|
||||
): Promise<any> {
|
||||
if (value instanceof File) {
|
||||
if (typeof File !== 'undefined' && value instanceof File) {
|
||||
const arrayBuffer = await value.arrayBuffer()
|
||||
const buffer = Buffer.from(arrayBuffer)
|
||||
const base64 = buffer.toString('base64')
|
||||
|
||||
Reference in New Issue
Block a user