@coinbase/cdp-sdk 1.1.1 → 1.1.2

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.
@@ -191,14 +191,15 @@ class EvmClient {
191
191
  async getUserOperation(options) {
192
192
  const userOp = await openapi_client_1.CdpOpenApiClient.getUserOperation(options.smartAccount.address, options.userOpHash);
193
193
  return {
194
- network: userOp.network,
195
- userOpHash: userOp.userOpHash,
196
- status: userOp.status,
197
194
  calls: userOp.calls.map(call => ({
198
195
  to: call.to,
199
196
  value: BigInt(call.value),
200
197
  data: call.data,
201
198
  })),
199
+ network: userOp.network,
200
+ status: userOp.status,
201
+ transactionHash: userOp.transactionHash,
202
+ userOpHash: userOp.userOpHash,
202
203
  };
203
204
  }
204
205
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coinbase/cdp-sdk",
3
- "version": "1.1.1",
3
+ "version": "1.1.2",
4
4
  "description": "CDP SDK",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",