@owney/sdk 0.7.21-beta.3 → 0.7.21-beta.4

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.cjs CHANGED
@@ -5027,10 +5027,9 @@ var OwneySDK = class {
5027
5027
  * Serializing costs no real wall-clock: the user can only approve one prompt
5028
5028
  * at a time anyway.
5029
5029
  *
5030
- * Every agent is attempted even if an earlier one fails, so one declined
5031
- * signature can't deny the remaining agents their turn. Once all agents have
5032
- * had a chance, a partial failure identifies the agents that still need a
5033
- * retry; if none activated, the original provider error is preserved.
5030
+ * Stop at the first failure so a canceled sign-in does not open another
5031
+ * agent's wallet prompt. Report any earlier successes for diagnostics; the
5032
+ * app discards the session when the complete sign-in does not succeed.
5034
5033
  */
5035
5034
  async activateAgentsInTurn(agents, state, chainId, asset) {
5036
5035
  let firstError = null;
@@ -5058,6 +5057,7 @@ var OwneySDK = class {
5058
5057
  } else {
5059
5058
  console.error(`activateAgent(${agent.id}) failed:`, error);
5060
5059
  }
5060
+ break;
5061
5061
  }
5062
5062
  }
5063
5063
  if (firstError === null) return;
package/dist/index.d.cts CHANGED
@@ -601,10 +601,9 @@ declare class OwneySDK {
601
601
  * Serializing costs no real wall-clock: the user can only approve one prompt
602
602
  * at a time anyway.
603
603
  *
604
- * Every agent is attempted even if an earlier one fails, so one declined
605
- * signature can't deny the remaining agents their turn. Once all agents have
606
- * had a chance, a partial failure identifies the agents that still need a
607
- * retry; if none activated, the original provider error is preserved.
604
+ * Stop at the first failure so a canceled sign-in does not open another
605
+ * agent's wallet prompt. Report any earlier successes for diagnostics; the
606
+ * app discards the session when the complete sign-in does not succeed.
608
607
  */
609
608
  private activateAgentsInTurn;
610
609
  /**
package/dist/index.d.ts CHANGED
@@ -601,10 +601,9 @@ declare class OwneySDK {
601
601
  * Serializing costs no real wall-clock: the user can only approve one prompt
602
602
  * at a time anyway.
603
603
  *
604
- * Every agent is attempted even if an earlier one fails, so one declined
605
- * signature can't deny the remaining agents their turn. Once all agents have
606
- * had a chance, a partial failure identifies the agents that still need a
607
- * retry; if none activated, the original provider error is preserved.
604
+ * Stop at the first failure so a canceled sign-in does not open another
605
+ * agent's wallet prompt. Report any earlier successes for diagnostics; the
606
+ * app discards the session when the complete sign-in does not succeed.
608
607
  */
609
608
  private activateAgentsInTurn;
610
609
  /**
package/dist/index.js CHANGED
@@ -5010,10 +5010,9 @@ var OwneySDK = class {
5010
5010
  * Serializing costs no real wall-clock: the user can only approve one prompt
5011
5011
  * at a time anyway.
5012
5012
  *
5013
- * Every agent is attempted even if an earlier one fails, so one declined
5014
- * signature can't deny the remaining agents their turn. Once all agents have
5015
- * had a chance, a partial failure identifies the agents that still need a
5016
- * retry; if none activated, the original provider error is preserved.
5013
+ * Stop at the first failure so a canceled sign-in does not open another
5014
+ * agent's wallet prompt. Report any earlier successes for diagnostics; the
5015
+ * app discards the session when the complete sign-in does not succeed.
5017
5016
  */
5018
5017
  async activateAgentsInTurn(agents, state, chainId, asset) {
5019
5018
  let firstError = null;
@@ -5041,6 +5040,7 @@ var OwneySDK = class {
5041
5040
  } else {
5042
5041
  console.error(`activateAgent(${agent.id}) failed:`, error);
5043
5042
  }
5043
+ break;
5044
5044
  }
5045
5045
  }
5046
5046
  if (firstError === null) return;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@owney/sdk",
3
- "version": "0.7.21-beta.3",
3
+ "version": "0.7.21-beta.4",
4
4
  "type": "module",
5
5
  "main": "dist/index.cjs",
6
6
  "module": "dist/index.js",