@tangle-network/agent-provider-tangle 3.6.9 → 3.6.10

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.
@@ -306,10 +306,12 @@ export function createTangleProvider(options) {
306
306
  if (!box || boundedIdentifier(box.id, "Tangle environment id") !== id)
307
307
  return null;
308
308
  if (options.requireNativeSessionCapture) {
309
- requireNativeCaptureProof(box);
310
309
  // Native capture admits only the backend the live container reports, so a
311
- // suspended sandbox must run again before anything can reconnect to it.
310
+ // suspended sandbox must run again before anything can reconnect to it. A stopped
311
+ // sandbox has no container and so no capture proof; the proof is required of the
312
+ // container the resume produced.
312
313
  await resumeForReconnect(box, options.client, readyTimeoutMs, operation?.signal);
314
+ requireNativeCaptureProof(box);
313
315
  }
314
316
  let backendType;
315
317
  let backendReadError;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tangle-network/agent-provider-tangle",
3
- "version": "3.6.9",
3
+ "version": "3.6.10",
4
4
  "description": "AgentEnvironmentProvider adapter for Tangle sandboxes",
5
5
  "type": "module",
6
6
  "license": "MIT",