@rhinestone/sdk 0.0.0-dev-20260331130650 → 0.0.0-dev-20260402051012

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.
@@ -208,12 +208,11 @@ const ownerSigners = {
208
208
  const result = await (0, utils_1.getTargetExecutionSignature)(config, intentOp, chains_1.base, ownerSigners);
209
209
  (0, vitest_1.expect)(result).toBeUndefined();
210
210
  });
211
- (0, vitest_1.test)('no INTENT_EXECUTOR ops (SAME_CHAIN only) returns undefined', async () => {
212
- // PERMIT2 settlement also uses SAME_CHAIN layer — both are covered by this case
211
+ (0, vitest_1.test)('SAME_CHAIN + verifyExecutions: true returns emissary sig', async () => {
213
212
  const intentOp = makeIntentOp('SAME_CHAIN');
214
213
  const signers = makeSessionSigners(sessionWithActions);
215
214
  const result = await (0, utils_1.getTargetExecutionSignature)(config, intentOp, chains_1.base, signers);
216
- (0, vitest_1.expect)(result).toBeUndefined();
215
+ (0, vitest_1.expect)(result).toBe(MOCK_EMISSARY);
217
216
  });
218
217
  (0, vitest_1.test)('INTENT_EXECUTOR + verifyExecutions: false (no actions) returns undefined', async () => {
219
218
  const intentOp = makeIntentOp('INTENT_EXECUTOR');
@@ -323,12 +322,12 @@ const ownerSigners = {
323
322
  (0, vitest_1.expect)(destinationSignature).toBe(MOCK_EIP1271);
324
323
  (0, vitest_1.expect)(targetExecutionSignature).toBeUndefined();
325
324
  });
326
- (0, vitest_1.test)('SAME_CHAIN + verifyExecutions: true — EMISSARY destination, undefined target', async () => {
325
+ (0, vitest_1.test)('SAME_CHAIN + verifyExecutions: true — EMISSARY for both destination and target', async () => {
327
326
  const intentOp = makeIntentOp('SAME_CHAIN');
328
327
  const signers = makeSessionSigners(sessionWithActions);
329
328
  const { destinationSignature } = await (0, utils_1.signIntent)(config, intentOp, chains_1.base, signers);
330
329
  const targetExecutionSignature = await (0, utils_1.getTargetExecutionSignature)(config, intentOp, chains_1.base, signers);
331
330
  (0, vitest_1.expect)(destinationSignature).toBe(MOCK_EMISSARY);
332
- (0, vitest_1.expect)(targetExecutionSignature).toBeUndefined();
331
+ (0, vitest_1.expect)(targetExecutionSignature).toBe(MOCK_EMISSARY);
333
332
  });
334
333
  });
@@ -137,7 +137,7 @@ async function getTargetExecutionSignature(config, intentOp, targetChain, signer
137
137
  return undefined;
138
138
  }
139
139
  const settlementLayers = intentOp.elements.map((e) => e.mandate.qualifier.settlementContext.settlementLayer);
140
- const hasIntentExecutorOps = settlementLayers.some((l) => l === 'INTENT_EXECUTOR');
140
+ const hasIntentExecutorOps = settlementLayers.some((l) => l === 'INTENT_EXECUTOR' || l === 'SAME_CHAIN');
141
141
  if (!hasIntentExecutorOps) {
142
142
  return undefined;
143
143
  }
@@ -1,5 +1,5 @@
1
1
  declare const PROD_ORCHESTRATOR_URL = "https://v1.orchestrator.rhinestone.dev";
2
2
  declare const RHINESTONE_SPOKE_POOL_ADDRESS = "0x000000000060f6e853447881951574cdd0663530";
3
- declare const SDK_VERSION = "0.0.0-dev-20260331130650";
3
+ declare const SDK_VERSION = "0.0.0-dev-20260402051012";
4
4
  export { PROD_ORCHESTRATOR_URL, RHINESTONE_SPOKE_POOL_ADDRESS, SDK_VERSION };
5
5
  //# sourceMappingURL=consts.d.ts.map
@@ -5,5 +5,5 @@ const PROD_ORCHESTRATOR_URL = 'https://v1.orchestrator.rhinestone.dev';
5
5
  exports.PROD_ORCHESTRATOR_URL = PROD_ORCHESTRATOR_URL;
6
6
  const RHINESTONE_SPOKE_POOL_ADDRESS = '0x000000000060f6e853447881951574cdd0663530';
7
7
  exports.RHINESTONE_SPOKE_POOL_ADDRESS = RHINESTONE_SPOKE_POOL_ADDRESS;
8
- const SDK_VERSION = '0.0.0-dev-20260331130650';
8
+ const SDK_VERSION = '0.0.0-dev-20260402051012';
9
9
  exports.SDK_VERSION = SDK_VERSION;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rhinestone/sdk",
3
- "version": "0.0.0-dev-20260331130650",
3
+ "version": "0.0.0-dev-20260402051012",
4
4
  "description": "End-to-end chain abstraction and modularity toolkit",
5
5
  "author": {
6
6
  "name": "Rhinestone",