@xyo-network/coingecko-crypto-market-plugin 4.1.0 → 4.2.0
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/neutral/index.d.ts +6 -34
- package/package.json +12 -13
package/dist/neutral/index.d.ts
CHANGED
|
@@ -1,34 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
type CoingeckoCryptoMarketWitnessConfigSchema = 'network.xyo.crypto.market.coingecko.witness.config';
|
|
9
|
-
declare const CoingeckoCryptoMarketWitnessConfigSchema: CoingeckoCryptoMarketWitnessConfigSchema;
|
|
10
|
-
|
|
11
|
-
type CoingeckoCryptoMarketWitnessConfig = WitnessConfig<{
|
|
12
|
-
coins?: CryptoAsset[];
|
|
13
|
-
currencies?: CryptoAsset[];
|
|
14
|
-
schema: CoingeckoCryptoMarketWitnessConfigSchema;
|
|
15
|
-
}>;
|
|
16
|
-
|
|
17
|
-
declare const coingeckoCoinToAssetMap: Record<string, AssetSymbol>;
|
|
18
|
-
|
|
19
|
-
declare const defaultCoins: CryptoAsset[];
|
|
20
|
-
declare const defaultCurrencies: CryptoAsset[];
|
|
21
|
-
|
|
22
|
-
declare const pricesFromCoingecko: (coins: CryptoAsset[], currencies: CryptoAsset[]) => Promise<Partial<Record<string, Partial<Record<string, number> | undefined>>>>;
|
|
23
|
-
|
|
24
|
-
type CoingeckoCryptoMarketWitnessParams = WitnessParams<AnyConfigSchema<CoingeckoCryptoMarketWitnessConfig>>;
|
|
25
|
-
declare class CoingeckoCryptoMarketWitness<TParams extends CoingeckoCryptoMarketWitnessParams = CoingeckoCryptoMarketWitnessParams> extends AbstractWitness<TParams> {
|
|
26
|
-
static readonly configSchemas: Schema[];
|
|
27
|
-
static readonly defaultConfigSchema: Schema;
|
|
28
|
-
protected observeHandler(): Promise<Payload[]>;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
declare const CoingeckoCryptoMarketPlugin: () => _xyo_network_payloadset_plugin.PayloadSetWitnessPlugin<CoingeckoCryptoMarketWitness<CoingeckoCryptoMarketWitnessParams>>;
|
|
32
|
-
|
|
33
|
-
export { CoingeckoCryptoMarketPlugin, CoingeckoCryptoMarketWitness, CoingeckoCryptoMarketWitnessConfigSchema, coingeckoCoinToAssetMap, CoingeckoCryptoMarketPlugin as default, defaultCoins, defaultCurrencies, pricesFromCoingecko };
|
|
34
|
-
export type { CoingeckoCryptoMarketWitnessConfig, CoingeckoCryptoMarketWitnessParams };
|
|
1
|
+
export * from './Config.ts';
|
|
2
|
+
export * from './lib/index.ts';
|
|
3
|
+
export { CoingeckoCryptoMarketPlugin, CoingeckoCryptoMarketPlugin as default } from './Plugin.ts';
|
|
4
|
+
export * from './Schema.ts';
|
|
5
|
+
export * from './Witness.ts';
|
|
6
|
+
//# sourceMappingURL=index.d.ts.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xyo-network/coingecko-crypto-market-plugin",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.2.0",
|
|
4
4
|
"description": "Typescript/Javascript Plugins for XYO Platform",
|
|
5
5
|
"homepage": "https://xyo.network",
|
|
6
6
|
"bugs": {
|
|
@@ -29,20 +29,19 @@
|
|
|
29
29
|
"module": "dist/neutral/index.mjs",
|
|
30
30
|
"types": "dist/neutral/index.d.ts",
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@xylabs/axios": "^4.
|
|
33
|
-
"@xyo-network/abstract-witness": "^4.
|
|
34
|
-
"@xyo-network/coingecko-crypto-market-payload-plugin": "^4.
|
|
35
|
-
"@xyo-network/module-model": "^4.
|
|
36
|
-
"@xyo-network/payload-model": "^4.
|
|
37
|
-
"@xyo-network/payloadset-plugin": "^4.
|
|
38
|
-
"@xyo-network/witness-model": "^4.
|
|
32
|
+
"@xylabs/axios": "^4.15.1",
|
|
33
|
+
"@xyo-network/abstract-witness": "^4.3.0",
|
|
34
|
+
"@xyo-network/coingecko-crypto-market-payload-plugin": "^4.2.0",
|
|
35
|
+
"@xyo-network/module-model": "^4.3.0",
|
|
36
|
+
"@xyo-network/payload-model": "^4.3.0",
|
|
37
|
+
"@xyo-network/payloadset-plugin": "^4.3.0",
|
|
38
|
+
"@xyo-network/witness-model": "^4.3.0"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
|
-
"@xylabs/ts-scripts-yarn3": "^7.0.
|
|
42
|
-
"@xylabs/tsconfig": "^7.0.
|
|
43
|
-
"@xylabs/vitest-extended": "^4.
|
|
44
|
-
"@xyo-network/payload-wrapper": "^4.
|
|
45
|
-
"knip": "^5.61.3",
|
|
41
|
+
"@xylabs/ts-scripts-yarn3": "^7.0.1",
|
|
42
|
+
"@xylabs/tsconfig": "^7.0.1",
|
|
43
|
+
"@xylabs/vitest-extended": "^4.15.1",
|
|
44
|
+
"@xyo-network/payload-wrapper": "^4.3.0",
|
|
46
45
|
"typescript": "^5.8.3",
|
|
47
46
|
"vitest": "^3.2.4"
|
|
48
47
|
},
|