@aztec/wallet-sdk 0.0.1-commit.b33fc05d0 → 0.0.1-commit.b64cb54f6

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.
@@ -255,7 +255,7 @@ import { buildMergedSimulationResult, extractOptimizablePublicStaticCalls, simul
255
255
  const feeOptions = await this.completeFeeOptions(opts.from, executionPayload.feePayer, opts.fee?.gasSettings);
256
256
  const txRequest = await this.createTxExecutionRequestFromPayloadAndFee(executionPayload, opts.from, feeOptions);
257
257
  const provenTx = await this.pxe.proveTx(txRequest, this.scopesFrom(opts.from, opts.additionalScopes));
258
- const offchainOutput = extractOffchainOutput(provenTx.getOffchainEffects(), provenTx.publicInputs.expirationTimestamp);
258
+ const offchainOutput = extractOffchainOutput(provenTx.getOffchainEffects(), provenTx.publicInputs.constants.anchorBlockHeader.globalVariables.timestamp);
259
259
  const tx = await provenTx.toTx();
260
260
  const txHash = tx.getTxHash();
261
261
  if (await this.aztecNode.getTxEffect(txHash)) {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aztec/wallet-sdk",
3
3
  "homepage": "https://github.com/AztecProtocol/aztec-packages/tree/master/yarn-project/wallet-sdk",
4
- "version": "0.0.1-commit.b33fc05d0",
4
+ "version": "0.0.1-commit.b64cb54f6",
5
5
  "type": "module",
6
6
  "exports": {
7
7
  "./base-wallet": "./dest/base-wallet/index.js",
@@ -71,15 +71,15 @@
71
71
  ]
72
72
  },
73
73
  "dependencies": {
74
- "@aztec/aztec.js": "0.0.1-commit.b33fc05d0",
75
- "@aztec/constants": "0.0.1-commit.b33fc05d0",
76
- "@aztec/entrypoints": "0.0.1-commit.b33fc05d0",
77
- "@aztec/foundation": "0.0.1-commit.b33fc05d0",
78
- "@aztec/pxe": "0.0.1-commit.b33fc05d0",
79
- "@aztec/stdlib": "0.0.1-commit.b33fc05d0"
74
+ "@aztec/aztec.js": "0.0.1-commit.b64cb54f6",
75
+ "@aztec/constants": "0.0.1-commit.b64cb54f6",
76
+ "@aztec/entrypoints": "0.0.1-commit.b64cb54f6",
77
+ "@aztec/foundation": "0.0.1-commit.b64cb54f6",
78
+ "@aztec/pxe": "0.0.1-commit.b64cb54f6",
79
+ "@aztec/stdlib": "0.0.1-commit.b64cb54f6"
80
80
  },
81
81
  "devDependencies": {
82
- "@aztec/noir-contracts.js": "0.0.1-commit.b33fc05d0",
82
+ "@aztec/noir-contracts.js": "0.0.1-commit.b64cb54f6",
83
83
  "@jest/globals": "^30.0.0",
84
84
  "@types/jest": "^30.0.0",
85
85
  "@types/node": "^22.15.17",
@@ -390,7 +390,7 @@ export abstract class BaseWallet implements Wallet {
390
390
  const provenTx = await this.pxe.proveTx(txRequest, this.scopesFrom(opts.from, opts.additionalScopes));
391
391
  const offchainOutput = extractOffchainOutput(
392
392
  provenTx.getOffchainEffects(),
393
- provenTx.publicInputs.expirationTimestamp,
393
+ provenTx.publicInputs.constants.anchorBlockHeader.globalVariables.timestamp,
394
394
  );
395
395
  const tx = await provenTx.toTx();
396
396
  const txHash = tx.getTxHash();