@agoric/portfolio-api 0.1.1-dev-d5eddaf.0.d5eddaf → 0.1.1-dev-f43bc52.0.f43bc52

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agoric/portfolio-api",
3
- "version": "0.1.1-dev-d5eddaf.0.d5eddaf",
3
+ "version": "0.1.1-dev-f43bc52.0.f43bc52",
4
4
  "description": "API for Portfolio management",
5
5
  "type": "module",
6
6
  "files": [
@@ -27,12 +27,12 @@
27
27
  "generate:ymax-machine": "npx tsx scripts/gen-ymax-machine.mts"
28
28
  },
29
29
  "dependencies": {
30
- "@agoric/orchestration": "0.1.1-dev-d5eddaf.0.d5eddaf",
30
+ "@agoric/orchestration": "0.1.1-dev-f43bc52.0.f43bc52",
31
31
  "@endo/common": "^1.2.13",
32
32
  "@endo/patterns": "^1.7.0"
33
33
  },
34
34
  "devDependencies": {
35
- "@agoric/internal": "0.3.3-dev-d5eddaf.0.d5eddaf",
35
+ "@agoric/internal": "0.3.3-dev-f43bc52.0.f43bc52",
36
36
  "@types/js-yaml": "^4",
37
37
  "ajv": "^6.12.6",
38
38
  "ava": "^5.3.0",
@@ -65,5 +65,5 @@
65
65
  "engines": {
66
66
  "node": "^20.9 || ^22.11"
67
67
  },
68
- "gitHead": "d5eddafd1d0d753e222640ce22eb00da23acca03"
68
+ "gitHead": "f43bc52c354835c10718eb6a0d15183572235d07"
69
69
  }
package/src/resolver.d.ts CHANGED
@@ -39,6 +39,10 @@ export type PublishedTx = {
39
39
  * - The destination account identifier for the transaction
40
40
  */
41
41
  destinationAddress?: `${string}:${string}:${string}` | undefined;
42
+ /**
43
+ * - The source LCA address initiating the transaction (for GMP transactions)
44
+ */
45
+ sourceAddress?: `${string}:${string}:${string}` | undefined;
42
46
  /**
43
47
  * - The expected smart wallet hex address to be created (for MAKE_ACCOUNT only, format: 0x...)
44
48
  */
@@ -1 +1 @@
1
- {"version":3,"file":"resolver.d.ts","sourceRoot":"","sources":["resolver.js"],"names":[],"mappings":";;;;;uBAqBU,CAAC,OAAO,QAAQ,EAAE,MAAM,OAAO,QAAQ,CAAC;;;;;;;;;;qBAaxC,QAAQ,CAAC,CAAC,OAAO,MAAM,EAAE,MAAM,OAAO,MAAM,CAAC,CAAC;;;;;;;;;;;;;;;;;UA1B1C,MAAM;;;;;;;;;;;;;;;;YAIN,QAAQ"}
1
+ {"version":3,"file":"resolver.d.ts","sourceRoot":"","sources":["resolver.js"],"names":[],"mappings":";;;;;uBAsBU,CAAC,OAAO,QAAQ,EAAE,MAAM,OAAO,QAAQ,CAAC;;;;;;;;;;qBAaxC,QAAQ,CAAC,CAAC,OAAO,MAAM,EAAE,MAAM,OAAO,MAAM,CAAC,CAAC;;;;;;;;;;;;;;;;;UA3B1C,MAAM;;;;;;;;;;;;;;;;;;;;YAKN,QAAQ"}
package/src/resolver.js CHANGED
@@ -9,6 +9,7 @@
9
9
  * @property {TxType} type - The type of transaction (CCTP_TO_EVM, GMP, CCTP_TO_AGORIC, or MAKE_ACCOUNT)
10
10
  * @property {bigint} [amount] - Optional transaction amount as a bigint
11
11
  * @property {AccountId} [destinationAddress] - The destination account identifier for the transaction
12
+ * @property {AccountId} [sourceAddress] - The source LCA address initiating the transaction (for GMP transactions)
12
13
  * @property {string} [expectedAddr] - The expected smart wallet hex address to be created (for MAKE_ACCOUNT only, format: 0x...)
13
14
  * @property {TxStatus} status - Current status of the transaction (pending, success, or failed)
14
15
  * @property {string} [rejectionReason] - Optional reason for failure (only present when status is 'failed')