@sonarwatch/portfolio-plugins 0.5.11 → 0.5.13
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/CHANGELOG.md +8 -0
- package/package.json +2 -2
- package/src/index.d.ts +3 -2
- package/src/index.js.map +1 -1
- package/src/platforms.d.ts +2 -2
- package/src/platforms.js +24 -24
- package/src/platforms.js.map +1 -1
- package/src/plugins/tokens/fetchers/solana.js.map +1 -1
package/CHANGELOG.md
CHANGED
@@ -2,6 +2,14 @@
|
|
2
2
|
|
3
3
|
This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).
|
4
4
|
|
5
|
+
## [0.5.13](https://github.com/sonarwatch/portfolio/compare/plugins-0.5.12...plugins-0.5.13) (2023-08-02)
|
6
|
+
|
7
|
+
|
8
|
+
|
9
|
+
## [0.5.12](https://github.com/sonarwatch/portfolio/compare/plugins-0.5.11...plugins-0.5.12) (2023-08-02)
|
10
|
+
|
11
|
+
|
12
|
+
|
5
13
|
## [0.5.11](https://github.com/sonarwatch/portfolio/compare/plugins-0.5.10...plugins-0.5.11) (2023-08-02)
|
6
14
|
|
7
15
|
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@sonarwatch/portfolio-plugins",
|
3
|
-
"version": "0.5.
|
3
|
+
"version": "0.5.13",
|
4
4
|
"type": "commonjs",
|
5
5
|
"generators": "./generators.json",
|
6
6
|
"dependencies": {
|
@@ -21,7 +21,7 @@
|
|
21
21
|
"viem": "^1.2.9"
|
22
22
|
},
|
23
23
|
"peerDependencies": {
|
24
|
-
"@sonarwatch/portfolio-core": "0.5.
|
24
|
+
"@sonarwatch/portfolio-core": "0.5.13"
|
25
25
|
},
|
26
26
|
"main": "./src/index.js",
|
27
27
|
"types": "./src/index.d.ts"
|
package/src/index.d.ts
CHANGED
@@ -1,10 +1,11 @@
|
|
1
|
+
import { Platform } from '@sonarwatch/portfolio-core';
|
1
2
|
import { Fetcher } from './Fetcher';
|
2
3
|
import { Job } from './Job';
|
3
4
|
export * from './Cache';
|
4
5
|
export * from './Fetcher';
|
5
6
|
export * from './Job';
|
6
7
|
export * from './platforms';
|
7
|
-
export declare const platforms:
|
8
|
+
export declare const platforms: Platform[];
|
8
9
|
export declare const jobs: Job[];
|
9
10
|
export declare const fetchers: Fetcher[];
|
10
|
-
export declare const fetchersByAddressSystem: Record<import("
|
11
|
+
export declare const fetchersByAddressSystem: Record<import("@sonarwatch/portfolio-core").AddressSystemType, Fetcher[]>;
|
package/src/index.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../packages/plugins/src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../packages/plugins/src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGA,0DAA4C;AAC5C,6CAG0B;AAC1B,iDAAkE;AAClE,iDAG4B;AAC5B,6CAG0B;AAC1B,+CAG2B;AAC3B,yCAA4E;AAC5E,+CAAwD;AACxD,2CAA+E;AAC/E,6CAG0B;AAC1B,2CAA+E;AAC/E,6CAA8D;AAC9D,uCAAyE;AACzE,2CAA+E;AAC/E,2CAA+E;AAC/E,wFAAqF;AAErF,0CAAwB;AACxB,4CAA0B;AAC1B,wCAAsB;AAEtB,8CAA4B;AACf,QAAA,SAAS,GAAe,MAAM,CAAC,MAAM,CAAC,YAAY,CAAC,CAAC;AAEpD,QAAA,IAAI,GAAU;IACzB,GAAG,aAAU;IACb,GAAG,YAAS;IACZ,GAAG,UAAO;IACV,GAAG,eAAY;IACf,GAAG,cAAW;IACd,GAAG,aAAU;IACb,GAAG,cAAW;IACd,GAAG,WAAQ;IACX,GAAG,YAAS;IACZ,GAAG,YAAS;IACZ,GAAG,YAAS;IACZ,GAAG,aAAU;CACd,CAAC;AAEW,QAAA,QAAQ,GAAc;IACjC,GAAG,iBAAc;IACjB,GAAG,cAAW;IACd,GAAG,iBAAc;IACjB,GAAG,mBAAgB;IACnB,GAAG,mBAAgB;IACnB,GAAG,iBAAc;IACjB,GAAG,gBAAa;IAChB,GAAG,kBAAe;IAClB,GAAG,eAAY;IACf,GAAG,gBAAa;IAChB,GAAG,gBAAa;IAChB,GAAG,gBAAa;IAChB,GAAG,iBAAc;CAClB,CAAC;AAEW,QAAA,uBAAuB,GAAG,IAAA,uDAA0B,EAAC,gBAAQ,CAAC,CAAC"}
|
package/src/platforms.d.ts
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
import { Platform } from '@sonarwatch/portfolio-core';
|
2
|
+
export declare const walletTokensPlatform: Platform;
|
3
|
+
export declare const walletNftsPlatform: Platform;
|
2
4
|
export declare const marinadePlatform: Platform;
|
3
5
|
export declare const aavePlatform: Platform;
|
4
|
-
export declare const walletNftsPlatform: Platform;
|
5
|
-
export declare const walletTokensPlatform: Platform;
|
6
6
|
export declare const marginfiPlatform: Platform;
|
7
7
|
export declare const tensorPlatform: Platform;
|
8
8
|
export declare const thalaPlatform: Platform;
|
package/src/platforms.js
CHANGED
@@ -1,79 +1,79 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.turbosPlatform = exports.cetusPlatform = exports.mangoPlatform = exports.driftPlatform = exports.meteoraPlatform = exports.orcaPlatform = exports.solendPlatform = exports.raydiumPlatform = exports.thalaPlatform = exports.tensorPlatform = exports.marginfiPlatform = exports.
|
3
|
+
exports.turbosPlatform = exports.cetusPlatform = exports.mangoPlatform = exports.driftPlatform = exports.meteoraPlatform = exports.orcaPlatform = exports.solendPlatform = exports.raydiumPlatform = exports.thalaPlatform = exports.tensorPlatform = exports.marginfiPlatform = exports.aavePlatform = exports.marinadePlatform = exports.walletNftsPlatform = exports.walletTokensPlatform = void 0;
|
4
|
+
exports.walletTokensPlatform = {
|
5
|
+
id: 'wallet-tokens',
|
6
|
+
name: 'Tokens',
|
7
|
+
image: 'https://alpha.sonar.watch/img/platforms/wallet-tokens.png',
|
8
|
+
};
|
9
|
+
exports.walletNftsPlatform = {
|
10
|
+
id: 'wallet-nfts',
|
11
|
+
name: 'NFTs',
|
12
|
+
image: 'https://alpha.sonar.watch/img/platforms/wallet-nfts.png',
|
13
|
+
};
|
4
14
|
exports.marinadePlatform = {
|
5
15
|
id: 'marinade',
|
6
16
|
name: 'Marinade',
|
7
|
-
image: 'https://
|
17
|
+
image: 'https://alpha.sonar.watch/img/platforms/marinade.png',
|
8
18
|
};
|
9
19
|
exports.aavePlatform = {
|
10
20
|
id: 'aave',
|
11
21
|
name: 'AAVE',
|
12
|
-
image: 'https://
|
13
|
-
};
|
14
|
-
exports.walletNftsPlatform = {
|
15
|
-
id: 'wallet-nfts',
|
16
|
-
name: 'NFTs',
|
17
|
-
image: 'https://beta.sonar.watch/img/platforms/wallet-nfts.png',
|
18
|
-
};
|
19
|
-
exports.walletTokensPlatform = {
|
20
|
-
id: 'wallet-tokens',
|
21
|
-
name: 'Tokens',
|
22
|
-
image: 'https://beta.sonar.watch/img/platforms/wallet-tokens.png',
|
22
|
+
image: 'https://alpha.sonar.watch/img/platforms/aave.png',
|
23
23
|
};
|
24
24
|
exports.marginfiPlatform = {
|
25
25
|
id: 'marginfi',
|
26
26
|
name: 'Marginfi',
|
27
|
-
image: 'https://
|
27
|
+
image: 'https://alpha.sonar.watch/img/platforms/marginfi.png',
|
28
28
|
};
|
29
29
|
exports.tensorPlatform = {
|
30
30
|
id: 'tensor',
|
31
31
|
name: 'Tensor',
|
32
|
-
image: 'https://
|
32
|
+
image: 'https://alpha.sonar.watch/img/platforms/tensor.png',
|
33
33
|
};
|
34
34
|
exports.thalaPlatform = {
|
35
35
|
id: 'thala',
|
36
36
|
name: 'Thala',
|
37
|
-
image: 'https://
|
37
|
+
image: 'https://alpha.sonar.watch/img/platforms/thala.png',
|
38
38
|
};
|
39
39
|
exports.raydiumPlatform = {
|
40
40
|
id: 'raydium',
|
41
41
|
name: 'Raydium',
|
42
|
-
image: 'https://
|
42
|
+
image: 'https://alpha.sonar.watch/img/platforms/raydium.png',
|
43
43
|
};
|
44
44
|
exports.solendPlatform = {
|
45
45
|
id: 'solend',
|
46
46
|
name: 'Solend',
|
47
|
-
image: 'https://
|
47
|
+
image: 'https://alpha.sonar.watch/img/platforms/solend.png',
|
48
48
|
};
|
49
49
|
exports.orcaPlatform = {
|
50
50
|
id: 'orca',
|
51
51
|
name: 'Orca',
|
52
|
-
image: 'https://
|
52
|
+
image: 'https://alpha.sonar.watch/img/platforms/orca.png',
|
53
53
|
};
|
54
54
|
exports.meteoraPlatform = {
|
55
55
|
id: 'meteora',
|
56
56
|
name: 'Meteora',
|
57
|
-
image: 'https://
|
57
|
+
image: 'https://alpha.sonar.watch/img/platforms/meteora.png',
|
58
58
|
};
|
59
59
|
exports.driftPlatform = {
|
60
60
|
id: 'drift',
|
61
61
|
name: 'Drift',
|
62
|
-
image: 'https://
|
62
|
+
image: 'https://alpha.sonar.watch/img/platforms/drift.png',
|
63
63
|
};
|
64
64
|
exports.mangoPlatform = {
|
65
65
|
id: 'mango',
|
66
66
|
name: 'Mango',
|
67
|
-
image: 'https://
|
67
|
+
image: 'https://alpha.sonar.watch/img/platforms/mango.png',
|
68
68
|
};
|
69
69
|
exports.cetusPlatform = {
|
70
70
|
id: 'cetus',
|
71
71
|
name: 'Cetus',
|
72
|
-
image: 'https://
|
72
|
+
image: 'https://alpha.sonar.watch/img/platforms/cetus.png',
|
73
73
|
};
|
74
74
|
exports.turbosPlatform = {
|
75
75
|
id: 'turbos',
|
76
76
|
name: 'Turbos',
|
77
|
-
image: 'https://
|
77
|
+
image: 'https://alpha.sonar.watch/img/platforms/turbos.png',
|
78
78
|
};
|
79
79
|
//# sourceMappingURL=platforms.js.map
|
package/src/platforms.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"platforms.js","sourceRoot":"","sources":["../../../../packages/plugins/src/platforms.ts"],"names":[],"mappings":";;;AAEa,QAAA,
|
1
|
+
{"version":3,"file":"platforms.js","sourceRoot":"","sources":["../../../../packages/plugins/src/platforms.ts"],"names":[],"mappings":";;;AAEa,QAAA,oBAAoB,GAAa;IAC5C,EAAE,EAAE,eAAe;IACnB,IAAI,EAAE,QAAQ;IACd,KAAK,EAAE,2DAA2D;CACnE,CAAC;AACW,QAAA,kBAAkB,GAAa;IAC1C,EAAE,EAAE,aAAa;IACjB,IAAI,EAAE,MAAM;IACZ,KAAK,EAAE,yDAAyD;CACjE,CAAC;AACW,QAAA,gBAAgB,GAAa;IACxC,EAAE,EAAE,UAAU;IACd,IAAI,EAAE,UAAU;IAChB,KAAK,EAAE,sDAAsD;CAC9D,CAAC;AACW,QAAA,YAAY,GAAa;IACpC,EAAE,EAAE,MAAM;IACV,IAAI,EAAE,MAAM;IACZ,KAAK,EAAE,kDAAkD;CAC1D,CAAC;AACW,QAAA,gBAAgB,GAAa;IACxC,EAAE,EAAE,UAAU;IACd,IAAI,EAAE,UAAU;IAChB,KAAK,EAAE,sDAAsD;CAC9D,CAAC;AACW,QAAA,cAAc,GAAa;IACtC,EAAE,EAAE,QAAQ;IACZ,IAAI,EAAE,QAAQ;IACd,KAAK,EAAE,oDAAoD;CAC5D,CAAC;AACW,QAAA,aAAa,GAAa;IACrC,EAAE,EAAE,OAAO;IACX,IAAI,EAAE,OAAO;IACb,KAAK,EAAE,mDAAmD;CAC3D,CAAC;AACW,QAAA,eAAe,GAAa;IACvC,EAAE,EAAE,SAAS;IACb,IAAI,EAAE,SAAS;IACf,KAAK,EAAE,qDAAqD;CAC7D,CAAC;AACW,QAAA,cAAc,GAAa;IACtC,EAAE,EAAE,QAAQ;IACZ,IAAI,EAAE,QAAQ;IACd,KAAK,EAAE,oDAAoD;CAC5D,CAAC;AACW,QAAA,YAAY,GAAa;IACpC,EAAE,EAAE,MAAM;IACV,IAAI,EAAE,MAAM;IACZ,KAAK,EAAE,kDAAkD;CAC1D,CAAC;AACW,QAAA,eAAe,GAAa;IACvC,EAAE,EAAE,SAAS;IACb,IAAI,EAAE,SAAS;IACf,KAAK,EAAE,qDAAqD;CAC7D,CAAC;AACW,QAAA,aAAa,GAAa;IACrC,EAAE,EAAE,OAAO;IACX,IAAI,EAAE,OAAO;IACb,KAAK,EAAE,mDAAmD;CAC3D,CAAC;AACW,QAAA,aAAa,GAAa;IACrC,EAAE,EAAE,OAAO;IACX,IAAI,EAAE,OAAO;IACb,KAAK,EAAE,mDAAmD;CAC3D,CAAC;AACW,QAAA,aAAa,GAAa;IACrC,EAAE,EAAE,OAAO;IACX,IAAI,EAAE,OAAO;IACb,KAAK,EAAE,mDAAmD;CAC3D,CAAC;AACW,QAAA,cAAc,GAAa;IACtC,EAAE,EAAE,QAAQ;IACZ,IAAI,EAAE,QAAQ;IACd,KAAK,EAAE,oDAAoD;CAC5D,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"solana.js","sourceRoot":"","sources":["../../../../../../../packages/plugins/src/plugins/tokens/fetchers/solana.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,+DASoC;AACpC,6CAA4C;AAG5C,kDAA0D;AAC1D,oDAAyD;AACzD,kDAAgE;
|
1
|
+
{"version":3,"file":"solana.js","sourceRoot":"","sources":["../../../../../../../packages/plugins/src/plugins/tokens/fetchers/solana.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,+DASoC;AACpC,6CAA4C;AAG5C,kDAA0D;AAC1D,oDAAyD;AACzD,kDAAgE;AAChE,0GAAkF;AAClF,wGAAgF;AAEhF,MAAM,QAAQ,GAAoB,CAAO,KAAa,EAAE,KAAY,EAAE,EAAE;IACtE,MAAM,MAAM,GAAG,IAAA,yBAAe,GAAE,CAAC;IACjC,MAAM,WAAW,GAAG,IAAI,mBAAS,CAAC,KAAK,CAAC,CAAC;IAEzC,MAAM,aAAa,GAAG,MAAM,IAAA,gCAAuB,EAAC,MAAM,EAAE,WA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