@agoric/portfolio-api 0.1.1-dev-531bb9d.0.531bb9d → 0.1.1-dev-2fd4b0c.0.2fd4b0c
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 +2 -2
- package/src/resolver.d.ts +1 -2
- package/src/resolver.d.ts.map +1 -1
- package/src/resolver.js +1 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agoric/portfolio-api",
|
|
3
|
-
"version": "0.1.1-dev-
|
|
3
|
+
"version": "0.1.1-dev-2fd4b0c.0.2fd4b0c",
|
|
4
4
|
"description": "API for Portfolio management",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"files": [
|
|
@@ -50,5 +50,5 @@
|
|
|
50
50
|
"engines": {
|
|
51
51
|
"node": "^20.9 || ^22.11"
|
|
52
52
|
},
|
|
53
|
-
"gitHead": "
|
|
53
|
+
"gitHead": "2fd4b0c68746de36efd1f30a617b3a6c1878def1"
|
|
54
54
|
}
|
package/src/resolver.d.ts
CHANGED
|
@@ -17,14 +17,13 @@ export namespace TxType {
|
|
|
17
17
|
let CCTP_TO_EVM: "CCTP_TO_EVM";
|
|
18
18
|
let GMP: "GMP";
|
|
19
19
|
let CCTP_TO_AGORIC: "CCTP_TO_AGORIC";
|
|
20
|
-
let CCTP_TO_NOBLE: "CCTP_TO_NOBLE";
|
|
21
20
|
}
|
|
22
21
|
/**
|
|
23
22
|
* Represents a published transaction with its type, optional amount, destination, and status.
|
|
24
23
|
*/
|
|
25
24
|
export type PublishedTx = {
|
|
26
25
|
/**
|
|
27
|
-
* - The type of transaction (CCTP_TO_EVM, GMP
|
|
26
|
+
* - The type of transaction (CCTP_TO_EVM, GMP or CCTP_TO_AGORIC)
|
|
28
27
|
*/
|
|
29
28
|
type: TxType;
|
|
30
29
|
/**
|
package/src/resolver.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resolver.d.ts","sourceRoot":"","sources":["resolver.js"],"names":[],"mappings":";;;;;uBAmBU,CAAC,OAAO,QAAQ,EAAE,MAAM,OAAO,QAAQ,CAAC;;;;;;;;;qBAYxC,CAAC,OAAO,MAAM,EAAE,MAAM,OAAO,MAAM,CAAC
|
|
1
|
+
{"version":3,"file":"resolver.d.ts","sourceRoot":"","sources":["resolver.js"],"names":[],"mappings":";;;;;uBAmBU,CAAC,OAAO,QAAQ,EAAE,MAAM,OAAO,QAAQ,CAAC;;;;;;;;;qBAYxC,CAAC,OAAO,MAAM,EAAE,MAAM,OAAO,MAAM,CAAC;;;;;;;;;;;;;UAvBhC,MAAM;;;;;;;;wBAEN,SAAS;;;;YACT,QAAQ;;+BAVM,uBAAuB"}
|
package/src/resolver.js
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* Represents a published transaction with its type, optional amount, destination, and status.
|
|
7
7
|
*
|
|
8
8
|
* @typedef {object} PublishedTx
|
|
9
|
-
* @property {TxType} type - The type of transaction (CCTP_TO_EVM, GMP
|
|
9
|
+
* @property {TxType} type - The type of transaction (CCTP_TO_EVM, GMP or CCTP_TO_AGORIC)
|
|
10
10
|
* @property {bigint} [amount] - Optional transaction amount as a bigint
|
|
11
11
|
* @property {AccountId} destinationAddress - The destination account identifier for the transaction
|
|
12
12
|
* @property {TxStatus} status - Current status of the transaction (pending, success, or failed)
|
|
@@ -35,7 +35,5 @@ export const TxType = /** @type {const} */ ({
|
|
|
35
35
|
CCTP_TO_EVM: 'CCTP_TO_EVM',
|
|
36
36
|
GMP: 'GMP',
|
|
37
37
|
CCTP_TO_AGORIC: 'CCTP_TO_AGORIC',
|
|
38
|
-
/** @deprecated - only supports 20 byte addresses */
|
|
39
|
-
CCTP_TO_NOBLE: 'CCTP_TO_NOBLE',
|
|
40
38
|
});
|
|
41
39
|
harden(TxType);
|