@agoric/orchestration 0.1.1-dev-3dacdc3.0.3dacdc3 → 0.1.1-dev-2db363c.0.2db363c
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 +16 -16
- package/src/utils/address.d.ts +1 -1
- package/src/utils/address.d.ts.map +1 -1
- package/src/utils/address.js +2 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agoric/orchestration",
|
|
3
|
-
"version": "0.1.1-dev-
|
|
3
|
+
"version": "0.1.1-dev-2db363c.0.2db363c",
|
|
4
4
|
"description": "Chain abstraction for Agoric's orchestration clients",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "index.js",
|
|
@@ -35,19 +35,19 @@
|
|
|
35
35
|
},
|
|
36
36
|
"homepage": "https://github.com/Agoric/agoric-sdk#readme",
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@agoric/async-flow": "0.1.1-dev-
|
|
39
|
-
"@agoric/cosmic-proto": "0.4.1-dev-
|
|
40
|
-
"@agoric/ertp": "0.16.3-dev-
|
|
41
|
-
"@agoric/internal": "0.3.3-dev-
|
|
42
|
-
"@agoric/network": "0.1.1-dev-
|
|
43
|
-
"@agoric/notifier": "0.6.3-dev-
|
|
44
|
-
"@agoric/store": "0.9.3-dev-
|
|
45
|
-
"@agoric/time": "0.3.3-dev-
|
|
46
|
-
"@agoric/vat-data": "0.5.3-dev-
|
|
47
|
-
"@agoric/vats": "0.15.2-dev-
|
|
48
|
-
"@agoric/vow": "0.1.1-dev-
|
|
49
|
-
"@agoric/zoe": "0.26.3-dev-
|
|
50
|
-
"@agoric/zone": "0.2.3-dev-
|
|
38
|
+
"@agoric/async-flow": "0.1.1-dev-2db363c.0.2db363c",
|
|
39
|
+
"@agoric/cosmic-proto": "0.4.1-dev-2db363c.0.2db363c",
|
|
40
|
+
"@agoric/ertp": "0.16.3-dev-2db363c.0.2db363c",
|
|
41
|
+
"@agoric/internal": "0.3.3-dev-2db363c.0.2db363c",
|
|
42
|
+
"@agoric/network": "0.1.1-dev-2db363c.0.2db363c",
|
|
43
|
+
"@agoric/notifier": "0.6.3-dev-2db363c.0.2db363c",
|
|
44
|
+
"@agoric/store": "0.9.3-dev-2db363c.0.2db363c",
|
|
45
|
+
"@agoric/time": "0.3.3-dev-2db363c.0.2db363c",
|
|
46
|
+
"@agoric/vat-data": "0.5.3-dev-2db363c.0.2db363c",
|
|
47
|
+
"@agoric/vats": "0.15.2-dev-2db363c.0.2db363c",
|
|
48
|
+
"@agoric/vow": "0.1.1-dev-2db363c.0.2db363c",
|
|
49
|
+
"@agoric/zoe": "0.26.3-dev-2db363c.0.2db363c",
|
|
50
|
+
"@agoric/zone": "0.2.3-dev-2db363c.0.2db363c",
|
|
51
51
|
"@cosmjs/encoding": "^0.36.0",
|
|
52
52
|
"@endo/base64": "^1.0.12",
|
|
53
53
|
"@endo/errors": "^1.2.13",
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
"bs58": "^6.0.0"
|
|
62
62
|
},
|
|
63
63
|
"devDependencies": {
|
|
64
|
-
"@agoric/swingset-liveslots": "0.10.3-dev-
|
|
64
|
+
"@agoric/swingset-liveslots": "0.10.3-dev-2db363c.0.2db363c",
|
|
65
65
|
"@chain-registry/client": "^1.53.194",
|
|
66
66
|
"@cosmjs/amino": "^0.36.0",
|
|
67
67
|
"@cosmjs/proto-signing": "^0.36.0",
|
|
@@ -105,5 +105,5 @@
|
|
|
105
105
|
"typeCoverage": {
|
|
106
106
|
"atLeast": 97.65
|
|
107
107
|
},
|
|
108
|
-
"gitHead": "
|
|
108
|
+
"gitHead": "2db363cfdc60b99cc644823e99bced301cf748b5"
|
|
109
109
|
}
|
package/src/utils/address.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ export const DEFAULT_ICQ_VERSION: "icq-1";
|
|
|
3
3
|
export function makeICQChannelAddress(controllerConnectionId: IBCConnectionID, version?: string): RemoteIbcAddress;
|
|
4
4
|
export function findAddressField(remoteAddressString: RemoteIbcAddress): CosmosChainAddress["value"] | undefined;
|
|
5
5
|
export function getBech32Prefix(address: Bech32Address | string): string;
|
|
6
|
-
export function sameEvmAddress(a: EvmAddress, b: EvmAddress): boolean;
|
|
6
|
+
export function sameEvmAddress(a: EvmAddress, b: EvmAddress | undefined): boolean;
|
|
7
7
|
export function coerceAccountId(idArg: AccountIdArg): AccountId;
|
|
8
8
|
export function parseAccountIdArg(idArg: AccountIdArg): Caip10Record;
|
|
9
9
|
export function parseAccountId(accountId: AccountId): Caip10Record;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"address.d.ts","sourceRoot":"","sources":["address.js"],"names":[],"mappings":"AA6BO,wDALI,eAAe,0BACf,eAAe,6CACf,qBAAqB,GACnB,gBAAgB,CA4B5B;AAGD,kCAAmC,OAAO,CAAC;AAOpC,8DAJI,eAAe,YACf,MAAM,GACJ,gBAAgB,CAa5B;AAaM,sDAJI,gBAAgB,GAEd,kBAAkB,CAAC,OAAO,CAAC,GAAG,SAAS,CAYnD;AAaM,yCAHI,aAAa,GAAG,MAAM,GACpB,MAAM,CAQlB;AASM,kCAJI,UAAU,KACV,UAAU,
|
|
1
|
+
{"version":3,"file":"address.d.ts","sourceRoot":"","sources":["address.js"],"names":[],"mappings":"AA6BO,wDALI,eAAe,0BACf,eAAe,6CACf,qBAAqB,GACnB,gBAAgB,CA4B5B;AAGD,kCAAmC,OAAO,CAAC;AAOpC,8DAJI,eAAe,YACf,MAAM,GACJ,gBAAgB,CAa5B;AAaM,sDAJI,gBAAgB,GAEd,kBAAkB,CAAC,OAAO,CAAC,GAAG,SAAS,CAYnD;AAaM,yCAHI,aAAa,GAAG,MAAM,GACpB,MAAM,CAQlB;AASM,kCAJI,UAAU,KACV,UAAU,GAAG,SAAS,GACpB,OAAO,CAEwD;AAYrE,uCAJI,YAAY,GAEV,SAAS,CAQrB;AAUM,yCAJI,YAAY,GAEV,YAAY,CAaxB;AASM,0CAHI,SAAS,GACP,YAAY,CAaxB;AAUM,6CAJI,YAAY,GAEV,WAAW,CAKvB;AASM,yCAJI,MAAM,GACJ,OAAO,CAkBnB;AAUM,6CAHI,MAAM,GACJ,QAAQ,OAAO,IAAI,aAAa,CAM5C;AAUM,uDAFI,MAAM,+BAOhB;AAWM,8CAJI,SAAS,GACP,UAAU,CAatB;;;;;;;;;;;;;;;;;;;;;qCA3QiC,cAAc;sCAIb,iCAAiC;wCAFH,aAAa;mCAAb,aAAa;2CADtC,MAAM;kCAEU,yBAAyB;+BAAzB,yBAAyB;kCAAzB,yBAAyB;iCADhB,aAAa"}
|
package/src/utils/address.js
CHANGED
|
@@ -122,10 +122,10 @@ export const getBech32Prefix = address => {
|
|
|
122
122
|
* Compare two EVM addresses for equality, case-insensitive.
|
|
123
123
|
*
|
|
124
124
|
* @param {EvmAddress} a
|
|
125
|
-
* @param {EvmAddress} b
|
|
125
|
+
* @param {EvmAddress | undefined} b
|
|
126
126
|
* @returns {boolean}
|
|
127
127
|
*/
|
|
128
|
-
export const sameEvmAddress = (a, b) => a.toLowerCase() === b
|
|
128
|
+
export const sameEvmAddress = (a, b) => a.toLowerCase() === b?.toLowerCase();
|
|
129
129
|
harden(sameEvmAddress);
|
|
130
130
|
|
|
131
131
|
/**
|