@sonarwatch/portfolio-plugins 0.5.12 → 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 CHANGED
@@ -2,6 +2,10 @@
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
+
5
9
  ## [0.5.12](https://github.com/sonarwatch/portfolio/compare/plugins-0.5.11...plugins-0.5.12) (2023-08-02)
6
10
 
7
11
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sonarwatch/portfolio-plugins",
3
- "version": "0.5.12",
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.12"
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: import("../../../dist/packages/core/src").Platform[];
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("../../../dist/packages/core/src").AddressSystemType, Fetcher[]>;
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":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,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,GAAG,MAAM,CAAC,MAAM,CAAC,YAAY,CAAC,CAAC;AAExC,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"}
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"}
@@ -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.walletTokensPlatform = exports.walletNftsPlatform = exports.aavePlatform = exports.marinadePlatform = void 0;
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://beta.sonar.watch/img/platforms/marinade.png',
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://beta.sonar.watch/img/platforms/aave.png',
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://beta.sonar.watch/img/platforms/marginfi.png',
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://beta.sonar.watch/img/platforms/tensor.png',
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://beta.sonar.watch/img/platforms/thala.png',
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://beta.sonar.watch/img/platforms/raydium.png',
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://beta.sonar.watch/img/platforms/solend.png',
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://beta.sonar.watch/img/platforms/orca.png',
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://beta.sonar.watch/img/platforms/meteora.png',
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://beta.sonar.watch/img/platforms/drift.png',
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://beta.sonar.watch/img/platforms/mango.png',
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://beta.sonar.watch/img/platforms/cetus.png',
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://beta.sonar.watch/img/platforms/turbos.png',
77
+ image: 'https://alpha.sonar.watch/img/platforms/turbos.png',
78
78
  };
79
79
  //# sourceMappingURL=platforms.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"platforms.js","sourceRoot":"","sources":["../../../../packages/plugins/src/platforms.ts"],"names":[],"mappings":";;;AAEa,QAAA,gBAAgB,GAAa;IACxC,EAAE,EAAE,UAAU;IACd,IAAI,EAAE,UAAU;IAChB,KAAK,EAAE,qDAAqD;CAC7D,CAAC;AACW,QAAA,YAAY,GAAa;IACpC,EAAE,EAAE,MAAM;IACV,IAAI,EAAE,MAAM;IACZ,KAAK,EAAE,iDAAiD;CACzD,CAAC;AACW,QAAA,kBAAkB,GAAa;IAC1C,EAAE,EAAE,aAAa;IACjB,IAAI,EAAE,MAAM;IACZ,KAAK,EAAE,wDAAwD;CAChE,CAAC;AACW,QAAA,oBAAoB,GAAa;IAC5C,EAAE,EAAE,eAAe;IACnB,IAAI,EAAE,QAAQ;IACd,KAAK,EAAE,0DAA0D;CAClE,CAAC;AACW,QAAA,gBAAgB,GAAa;IACxC,EAAE,EAAE,UAAU;IACd,IAAI,EAAE,UAAU;IAChB,KAAK,EAAE,qDAAqD;CAC7D,CAAC;AACW,QAAA,cAAc,GAAa;IACtC,EAAE,EAAE,QAAQ;IACZ,IAAI,EAAE,QAAQ;IACd,KAAK,EAAE,mDAAmD;CAC3D,CAAC;AACW,QAAA,aAAa,GAAa;IACrC,EAAE,EAAE,OAAO;IACX,IAAI,EAAE,OAAO;IACb,KAAK,EAAE,kDAAkD;CAC1D,CAAC;AACW,QAAA,eAAe,GAAa;IACvC,EAAE,EAAE,SAAS;IACb,IAAI,EAAE,SAAS;IACf,KAAK,EAAE,oDAAoD;CAC5D,CAAC;AACW,QAAA,cAAc,GAAa;IACtC,EAAE,EAAE,QAAQ;IACZ,IAAI,EAAE,QAAQ;IACd,KAAK,EAAE,mDAAmD;CAC3D,CAAC;AACW,QAAA,YAAY,GAAa;IACpC,EAAE,EAAE,MAAM;IACV,IAAI,EAAE,MAAM;IACZ,KAAK,EAAE,iDAAiD;CACzD,CAAC;AACW,QAAA,eAAe,GAAa;IACvC,EAAE,EAAE,SAAS;IACb,IAAI,EAAE,SAAS;IACf,KAAK,EAAE,oDAAoD;CAC5D,CAAC;AACW,QAAA,aAAa,GAAa;IACrC,EAAE,EAAE,OAAO;IACX,IAAI,EAAE,OAAO;IACb,KAAK,EAAE,kDAAkD;CAC1D,CAAC;AACW,QAAA,aAAa,GAAa;IACrC,EAAE,EAAE,OAAO;IACX,IAAI,EAAE,OAAO;IACb,KAAK,EAAE,kDAAkD;CAC1D,CAAC;AACW,QAAA,aAAa,GAAa;IACrC,EAAE,EAAE,OAAO;IACX,IAAI,EAAE,OAAO;IACb,KAAK,EAAE,kDAAkD;CAC1D,CAAC;AACW,QAAA,cAAc,GAAa;IACtC,EAAE,EAAE,QAAQ;IACZ,IAAI,EAAE,QAAQ;IACd,KAAK,EAAE,mDAAmD;CAC3D,CAAC"}
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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