@adaptic/utils 0.0.1006 → 0.0.1007
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/index.cjs +73 -73
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +73 -73
- package/dist/index.mjs.map +1 -1
- package/dist/types/index.d.ts +4 -4
- package/package.json +1 -1
package/dist/types/index.d.ts
CHANGED
|
@@ -58,7 +58,7 @@ export declare const adaptic: {
|
|
|
58
58
|
volatility: typeof volatilityNs;
|
|
59
59
|
backend: {
|
|
60
60
|
fetchAssetOverview: (symbol: string) => Promise<Types.AssetOverviewResponse>;
|
|
61
|
-
getApolloClient: () => Promise<import("@
|
|
61
|
+
getApolloClient: () => Promise<import("@apollo/client").ApolloClient<import("@apollo/client").NormalizedCacheObject>>;
|
|
62
62
|
configureAuth: (provider: backend.TokenProvider) => void;
|
|
63
63
|
isAuthConfigured: () => boolean;
|
|
64
64
|
disconnectClient: () => void;
|
|
@@ -380,7 +380,7 @@ export declare const adaptic: {
|
|
|
380
380
|
price: {
|
|
381
381
|
roundUp: typeof pu.roundStockPrice;
|
|
382
382
|
equityValues: typeof pu.getEquityValues;
|
|
383
|
-
totalFees: (trade: import("@adaptic/backend-legacy/
|
|
383
|
+
totalFees: (trade: import("@adaptic/backend-legacy/generated/typegraphql-prisma/models").Trade) => Promise<number>;
|
|
384
384
|
};
|
|
385
385
|
ta: {
|
|
386
386
|
calculateEMA: typeof ta.calculateEMA;
|
|
@@ -455,7 +455,7 @@ export declare const adptc: {
|
|
|
455
455
|
volatility: typeof volatilityNs;
|
|
456
456
|
backend: {
|
|
457
457
|
fetchAssetOverview: (symbol: string) => Promise<Types.AssetOverviewResponse>;
|
|
458
|
-
getApolloClient: () => Promise<import("@
|
|
458
|
+
getApolloClient: () => Promise<import("@apollo/client").ApolloClient<import("@apollo/client").NormalizedCacheObject>>;
|
|
459
459
|
configureAuth: (provider: backend.TokenProvider) => void;
|
|
460
460
|
isAuthConfigured: () => boolean;
|
|
461
461
|
disconnectClient: () => void;
|
|
@@ -777,7 +777,7 @@ export declare const adptc: {
|
|
|
777
777
|
price: {
|
|
778
778
|
roundUp: typeof pu.roundStockPrice;
|
|
779
779
|
equityValues: typeof pu.getEquityValues;
|
|
780
|
-
totalFees: (trade: import("@adaptic/backend-legacy/
|
|
780
|
+
totalFees: (trade: import("@adaptic/backend-legacy/generated/typegraphql-prisma/models").Trade) => Promise<number>;
|
|
781
781
|
};
|
|
782
782
|
ta: {
|
|
783
783
|
calculateEMA: typeof ta.calculateEMA;
|