@blaxel/core 0.2.30 → 0.2.31

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -52,7 +52,7 @@ class SandboxSessions {
52
52
  // If no valid session exists, create a new one
53
53
  if (allSessions.length > 0) {
54
54
  sessionData = allSessions[0];
55
- if (sessionData.expiresAt < threshold) {
55
+ if (new Date(sessionData.expiresAt) < threshold) {
56
56
  await this.delete(sessionData.name);
57
57
  sessionData = await this.create(options);
58
58
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blaxel/core",
3
- "version": "0.2.30",
3
+ "version": "0.2.31",
4
4
  "description": "Blaxel Core SDK for TypeScript",
5
5
  "license": "MIT",
6
6
  "author": "Blaxel, INC (https://blaxel.ai)",