@agoric/portfolio-api 0.1.1-dev-6fe0466.0.6fe0466 → 0.1.1-dev-ead84d3.0.ead84d3

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-6fe0466.0.6fe0466",
3
+ "version": "0.1.1-dev-ead84d3.0.ead84d3",
4
4
  "description": "API for Portfolio management",
5
5
  "type": "module",
6
6
  "files": [
@@ -27,11 +27,11 @@
27
27
  "generate:ymax-machine": "npx tsx scripts/gen-ymax-machine.mts"
28
28
  },
29
29
  "dependencies": {
30
- "@agoric/orchestration": "0.1.1-dev-6fe0466.0.6fe0466",
30
+ "@agoric/orchestration": "0.1.1-dev-ead84d3.0.ead84d3",
31
31
  "@endo/common": "^1.2.13"
32
32
  },
33
33
  "devDependencies": {
34
- "@agoric/internal": "0.3.3-dev-6fe0466.0.6fe0466",
34
+ "@agoric/internal": "0.3.3-dev-ead84d3.0.ead84d3",
35
35
  "@types/js-yaml": "^4",
36
36
  "ajv": "^6.12.6",
37
37
  "ava": "^5.3.0",
@@ -64,5 +64,5 @@
64
64
  "engines": {
65
65
  "node": "^20.9 || ^22.11"
66
66
  },
67
- "gitHead": "6fe0466cc3004cb835c4f176016d2a2c3d1c2a41"
67
+ "gitHead": "ead84d32c7c6c65251829fdd5a005aee2ff46cd6"
68
68
  }
package/src/resolver.d.ts CHANGED
@@ -43,6 +43,10 @@ export type PublishedTx = {
43
43
  * - Current status of the transaction (pending, success, or failed)
44
44
  */
45
45
  status: TxStatus;
46
+ /**
47
+ * - Optional reason for failure (only present when status is 'failed')
48
+ */
49
+ rejectionReason?: string | undefined;
46
50
  };
47
51
  import type { AccountId } from '@agoric/orchestration';
48
52
  //# sourceMappingURL=resolver.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"resolver.d.ts","sourceRoot":"","sources":["resolver.js"],"names":[],"mappings":";;;;;uBAoBU,CAAC,OAAO,QAAQ,EAAE,MAAM,OAAO,QAAQ,CAAC;;;;;;;;;qBAYxC,CAAC,OAAO,MAAM,EAAE,MAAM,OAAO,MAAM,CAAC;;;;;;;;;;;;;;UAxBhC,MAAM;;;;;;;;wBAEN,SAAS;;;;;;;;YAET,QAAQ;;+BAXM,uBAAuB"}
1
+ {"version":3,"file":"resolver.d.ts","sourceRoot":"","sources":["resolver.js"],"names":[],"mappings":";;;;;uBAqBU,CAAC,OAAO,QAAQ,EAAE,MAAM,OAAO,QAAQ,CAAC;;;;;;;;;qBAYxC,CAAC,OAAO,MAAM,EAAE,MAAM,OAAO,MAAM,CAAC;;;;;;;;;;;;;;UAzBhC,MAAM;;;;;;;;wBAEN,SAAS;;;;;;;;YAET,QAAQ;;;;;;+BAXM,uBAAuB"}
package/src/resolver.js CHANGED
@@ -11,6 +11,7 @@
11
11
  * @property {AccountId} destinationAddress - The destination account identifier for the transaction (CCTP/GMP destination, or MAKE_ACCOUNT factory address in CAIP format)
12
12
  * @property {string} [expectedAddr] - The expected smart wallet hex address to be created (for MAKE_ACCOUNT only, format: 0x...)
13
13
  * @property {TxStatus} status - Current status of the transaction (pending, success, or failed)
14
+ * @property {string} [rejectionReason] - Optional reason for failure (only present when status is 'failed')
14
15
  */
15
16
 
16
17
  /**