@computesdk/sandbox0 1.0.13 → 1.0.15

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.
package/dist/index.js CHANGED
@@ -22910,7 +22910,7 @@ var _provider = (0, import_provider.defineProvider)({
22910
22910
  volume: {
22911
22911
  create: async (config, options) => {
22912
22912
  const client = createClient(config);
22913
- const volume = await client.volumes.create({});
22913
+ const volume = await client.volumes.create({ backend: "s0fs", accessMode: "RWO" });
22914
22914
  return { id: volume.id, native: volume };
22915
22915
  },
22916
22916
  get: async (config, id) => {
@@ -22929,7 +22929,7 @@ var _provider = (0, import_provider.defineProvider)({
22929
22929
  },
22930
22930
  delete: async (config, id) => {
22931
22931
  const client = createClient(config);
22932
- await client.volumes.delete(id, { force: true });
22932
+ await (0, import_provider.withVolumeSettle)(() => client.volumes.delete(id, { force: true }));
22933
22933
  }
22934
22934
  }
22935
22935
  }