@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.
@@ -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("@adaptic/backend-legacy").ApolloClientType<import("@adaptic/backend-legacy").NormalizedCacheObject>>;
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/dist/generated/typegraphql-prisma/models").Trade) => Promise<number>;
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("@adaptic/backend-legacy").ApolloClientType<import("@adaptic/backend-legacy").NormalizedCacheObject>>;
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/dist/generated/typegraphql-prisma/models").Trade) => Promise<number>;
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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adaptic/utils",
3
- "version": "0.0.1006",
3
+ "version": "0.0.1007",
4
4
  "author": "Adaptic.ai",
5
5
  "description": "Utility functions used in Adaptic app and Lambda functions",
6
6
  "always-build-npm": true,