@rabby-wallet/gnosis-sdk 1.4.6-0 → 1.4.6-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.
- package/dist/api.d.ts +1 -1
- package/dist/api.js +1 -1
- package/package.json +2 -2
- package/src/api.ts +1 -1
package/dist/api.d.ts
CHANGED
|
@@ -41,7 +41,7 @@ export interface SafeTransactionItem {
|
|
|
41
41
|
confirmations: ConfirmationItem[];
|
|
42
42
|
signatures: string | null;
|
|
43
43
|
}
|
|
44
|
-
export declare const GNOSIS_SUPPORT_CHAINS:
|
|
44
|
+
export declare const GNOSIS_SUPPORT_CHAINS: string[];
|
|
45
45
|
export declare const HOST_MAP: {
|
|
46
46
|
/**
|
|
47
47
|
* eth
|
package/dist/api.js
CHANGED
|
@@ -193,7 +193,7 @@ const networks = [
|
|
|
193
193
|
];
|
|
194
194
|
export const GNOSIS_SUPPORT_CHAINS = networks
|
|
195
195
|
.map((item) => item.enum)
|
|
196
|
-
.filter(Boolean)
|
|
196
|
+
.filter((e) => Boolean(e))
|
|
197
197
|
.concat(["BLAST"]);
|
|
198
198
|
const networkMap = networks.reduce((acc, { chainId, shortName }) => {
|
|
199
199
|
acc[chainId] = shortName;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rabby-wallet/gnosis-sdk",
|
|
3
|
-
"version": "1.4.6-
|
|
3
|
+
"version": "1.4.6-2",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"@ethersproject/solidity": "5.5.0",
|
|
17
17
|
"@safe-global/api-kit": "4.0.0",
|
|
18
18
|
"@safe-global/protocol-kit": "5.2.1",
|
|
19
|
-
"@safe-global/safe-deployments": "1.37.
|
|
19
|
+
"@safe-global/safe-deployments": "1.37.49",
|
|
20
20
|
"@safe-global/types-kit": "1.0.2",
|
|
21
21
|
"axios": "0.24.0",
|
|
22
22
|
"ethereumjs-util": "7.1.3",
|
package/src/api.ts
CHANGED
|
@@ -246,7 +246,7 @@ const networks: NetworkShortName[] = [
|
|
|
246
246
|
];
|
|
247
247
|
export const GNOSIS_SUPPORT_CHAINS = networks
|
|
248
248
|
.map((item) => item.enum)
|
|
249
|
-
.filter(Boolean)
|
|
249
|
+
.filter((e): e is string => Boolean(e))
|
|
250
250
|
.concat(["BLAST"]);
|
|
251
251
|
|
|
252
252
|
const networkMap = networks.reduce<Record<string, string>>(
|