Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@chromia/react

Package Overview
Dependencies
Maintainers
8
Versions
50
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@chromia/react - npm Package Compare versions

Comparing version 0.2.0-beta.9 to 0.2.0-beta.10

dist/hooks/ft/account/use-ft-accounts.d.ts

7

CHANGELOG.md

@@ -26,2 +26,9 @@ All notable changes to this project will be documented in this file.

- add useGettransferDetails
- add useFtAccounts
- add useFtAccounts
- add useGetAuthDescriptors
- add useGetBalanceByAssetId
- add useGetBalances
- add useGetTransferHistory
- add useIsAuthDescriptorValid
### Dev

@@ -28,0 +35,0 @@ - Fix finding latest release type for first release

2

dist/hooks/ft/use-ft-immutable-query.d.ts
import type { SWRConfiguration, SWRResponse } from "swr";
import type { Account, Connection, Session } from "@chromia/ft4";
import type { GenericAsyncFunction, ExtractQueryKeys } from "./types";
export declare const useFtImmutableQuery: <QueryClient extends Connection | Account | Session, QueryName extends ExtractQueryKeys<QueryClient, "paginated">, QueryParams extends QueryClient[QueryName] extends GenericAsyncFunction ? Parameters<QueryClient[QueryName]> : never, QueryReturn extends QueryClient[QueryName] extends GenericAsyncFunction ? ReturnType<QueryClient[QueryName]> : never>(queryClient: QueryClient | undefined, brid: string, queryName: QueryName | null, queryParams?: QueryParams | undefined, options?: SWRConfiguration) => SWRResponse<Awaited<QueryReturn>>;
export declare const useFtImmutableQuery: <QueryClient extends Account | Connection | Session, QueryName extends ExtractQueryKeys<QueryClient, "paginated">, QueryParams extends QueryClient[QueryName] extends GenericAsyncFunction ? Parameters<QueryClient[QueryName]> : never, QueryReturn extends QueryClient[QueryName] extends GenericAsyncFunction ? ReturnType<QueryClient[QueryName]> : never>(queryClient: QueryClient | undefined, brid: string, queryName: QueryName | null, queryParams?: QueryParams | undefined, options?: SWRConfiguration) => SWRResponse<Awaited<QueryReturn>>;
//# sourceMappingURL=use-ft-immutable-query.d.ts.map
import type { SWRInfiniteConfiguration, SWRInfiniteResponse } from "swr/infinite";
import type { Account, Connection, Session } from "@chromia/ft4";
import type { ExtractQueryKeys, GenericAsyncFunction } from "./types";
export declare const useFtInfiniteQuery: <QueryClient extends Connection | Account | Session, QueryName extends ExtractQueryKeys<QueryClient, "nonPaginated">, QueryParams extends QueryClient[QueryName] extends GenericAsyncFunction ? Parameters<QueryClient[QueryName]> : never, QueryReturn extends QueryClient[QueryName] extends GenericAsyncFunction ? ReturnType<QueryClient[QueryName]> : never>(queryClient: QueryClient | undefined, brid: string, queryName: QueryName | null, queryParams?: QueryParams | undefined, options?: SWRInfiniteConfiguration) => SWRInfiniteResponse<Awaited<QueryReturn>>;
export declare const useFtInfiniteQuery: <QueryClient extends Account | Connection | Session, QueryName extends ExtractQueryKeys<QueryClient, "nonPaginated">, QueryParams extends QueryClient[QueryName] extends GenericAsyncFunction ? Parameters<QueryClient[QueryName]> : never, QueryReturn extends QueryClient[QueryName] extends GenericAsyncFunction ? ReturnType<QueryClient[QueryName]> : never>(queryClient: QueryClient | undefined, brid: string, queryName: QueryName | null, queryParams?: QueryParams | undefined, options?: SWRInfiniteConfiguration) => SWRInfiniteResponse<Awaited<QueryReturn>>;
//# sourceMappingURL=use-ft-infinite-query.d.ts.map
import type { SWRConfiguration, SWRResponse } from "swr";
import type { Account, Connection, Session } from "@chromia/ft4";
import type { GenericAsyncFunction, ExtractQueryKeys } from "./types";
export declare const useFtQuery: <QueryClient extends Connection | Account | Session, QueryName extends ExtractQueryKeys<QueryClient, "paginated">, QueryParams extends QueryClient[QueryName] extends GenericAsyncFunction ? Parameters<QueryClient[QueryName]> : never, QueryReturn extends QueryClient[QueryName] extends GenericAsyncFunction ? ReturnType<QueryClient[QueryName]> : never>(queryClient: QueryClient | undefined, brid: string, queryName: QueryName | null, queryParams?: QueryParams | undefined, options?: SWRConfiguration) => SWRResponse<Awaited<QueryReturn>>;
export declare const useFtQuery: <QueryClient extends Account | Connection | Session, QueryName extends ExtractQueryKeys<QueryClient, "paginated">, QueryParams extends QueryClient[QueryName] extends GenericAsyncFunction ? Parameters<QueryClient[QueryName]> : never, QueryReturn extends QueryClient[QueryName] extends GenericAsyncFunction ? ReturnType<QueryClient[QueryName]> : never>(queryClient: QueryClient | undefined, brid: string, queryName: QueryName | null, queryParams?: QueryParams | undefined, options?: SWRConfiguration) => SWRResponse<Awaited<QueryReturn>>;
//# sourceMappingURL=use-ft-query.d.ts.map
export * from "./filehub/use-file-hub-image";
export * from "./filehub/use-multiple-fh-images";
export * from "./ft/account/use-ft-accounts";
export * from "./ft/account/use-get-auth-descriptors";
export * from "./ft/account/use-get-balance-by-asset-id";
export * from "./ft/account/use-get-balances";
export * from "./ft/account/use-get-transfer-history";
export * from "./ft/account/use-is-auth-descriptor-valid";
export * from "./ft/connection/use-ft-connection";

@@ -4,0 +10,0 @@ export * from "./ft/connection/use-get-all-assets";

@@ -20,2 +20,8 @@ "use strict";

__exportStar(require("./filehub/use-multiple-fh-images"), exports);
__exportStar(require("./ft/account/use-ft-accounts"), exports);
__exportStar(require("./ft/account/use-get-auth-descriptors"), exports);
__exportStar(require("./ft/account/use-get-balance-by-asset-id"), exports);
__exportStar(require("./ft/account/use-get-balances"), exports);
__exportStar(require("./ft/account/use-get-transfer-history"), exports);
__exportStar(require("./ft/account/use-is-auth-descriptor-valid"), exports);
__exportStar(require("./ft/connection/use-ft-connection"), exports);

@@ -22,0 +28,0 @@ __exportStar(require("./ft/connection/use-get-all-assets"), exports);

import type { SWRConfiguration, SWRResponse } from "swr";
import type { Account, Connection, Session } from "@chromia/ft4";
import type { GenericAsyncFunction, ExtractQueryKeys } from "./types";
export declare const useFtImmutableQuery: <QueryClient extends Connection | Account | Session, QueryName extends ExtractQueryKeys<QueryClient, "paginated">, QueryParams extends QueryClient[QueryName] extends GenericAsyncFunction ? Parameters<QueryClient[QueryName]> : never, QueryReturn extends QueryClient[QueryName] extends GenericAsyncFunction ? ReturnType<QueryClient[QueryName]> : never>(queryClient: QueryClient | undefined, brid: string, queryName: QueryName | null, queryParams?: QueryParams | undefined, options?: SWRConfiguration) => SWRResponse<Awaited<QueryReturn>>;
export declare const useFtImmutableQuery: <QueryClient extends Account | Connection | Session, QueryName extends ExtractQueryKeys<QueryClient, "paginated">, QueryParams extends QueryClient[QueryName] extends GenericAsyncFunction ? Parameters<QueryClient[QueryName]> : never, QueryReturn extends QueryClient[QueryName] extends GenericAsyncFunction ? ReturnType<QueryClient[QueryName]> : never>(queryClient: QueryClient | undefined, brid: string, queryName: QueryName | null, queryParams?: QueryParams | undefined, options?: SWRConfiguration) => SWRResponse<Awaited<QueryReturn>>;
//# sourceMappingURL=use-ft-immutable-query.d.ts.map
import type { SWRInfiniteConfiguration, SWRInfiniteResponse } from "swr/infinite";
import type { Account, Connection, Session } from "@chromia/ft4";
import type { ExtractQueryKeys, GenericAsyncFunction } from "./types";
export declare const useFtInfiniteQuery: <QueryClient extends Connection | Account | Session, QueryName extends ExtractQueryKeys<QueryClient, "nonPaginated">, QueryParams extends QueryClient[QueryName] extends GenericAsyncFunction ? Parameters<QueryClient[QueryName]> : never, QueryReturn extends QueryClient[QueryName] extends GenericAsyncFunction ? ReturnType<QueryClient[QueryName]> : never>(queryClient: QueryClient | undefined, brid: string, queryName: QueryName | null, queryParams?: QueryParams | undefined, options?: SWRInfiniteConfiguration) => SWRInfiniteResponse<Awaited<QueryReturn>>;
export declare const useFtInfiniteQuery: <QueryClient extends Account | Connection | Session, QueryName extends ExtractQueryKeys<QueryClient, "nonPaginated">, QueryParams extends QueryClient[QueryName] extends GenericAsyncFunction ? Parameters<QueryClient[QueryName]> : never, QueryReturn extends QueryClient[QueryName] extends GenericAsyncFunction ? ReturnType<QueryClient[QueryName]> : never>(queryClient: QueryClient | undefined, brid: string, queryName: QueryName | null, queryParams?: QueryParams | undefined, options?: SWRInfiniteConfiguration) => SWRInfiniteResponse<Awaited<QueryReturn>>;
//# sourceMappingURL=use-ft-infinite-query.d.ts.map
import type { SWRConfiguration, SWRResponse } from "swr";
import type { Account, Connection, Session } from "@chromia/ft4";
import type { GenericAsyncFunction, ExtractQueryKeys } from "./types";
export declare const useFtQuery: <QueryClient extends Connection | Account | Session, QueryName extends ExtractQueryKeys<QueryClient, "paginated">, QueryParams extends QueryClient[QueryName] extends GenericAsyncFunction ? Parameters<QueryClient[QueryName]> : never, QueryReturn extends QueryClient[QueryName] extends GenericAsyncFunction ? ReturnType<QueryClient[QueryName]> : never>(queryClient: QueryClient | undefined, brid: string, queryName: QueryName | null, queryParams?: QueryParams | undefined, options?: SWRConfiguration) => SWRResponse<Awaited<QueryReturn>>;
export declare const useFtQuery: <QueryClient extends Account | Connection | Session, QueryName extends ExtractQueryKeys<QueryClient, "paginated">, QueryParams extends QueryClient[QueryName] extends GenericAsyncFunction ? Parameters<QueryClient[QueryName]> : never, QueryReturn extends QueryClient[QueryName] extends GenericAsyncFunction ? ReturnType<QueryClient[QueryName]> : never>(queryClient: QueryClient | undefined, brid: string, queryName: QueryName | null, queryParams?: QueryParams | undefined, options?: SWRConfiguration) => SWRResponse<Awaited<QueryReturn>>;
//# sourceMappingURL=use-ft-query.d.ts.map
export * from "./filehub/use-file-hub-image";
export * from "./filehub/use-multiple-fh-images";
export * from "./ft/account/use-ft-accounts";
export * from "./ft/account/use-get-auth-descriptors";
export * from "./ft/account/use-get-balance-by-asset-id";
export * from "./ft/account/use-get-balances";
export * from "./ft/account/use-get-transfer-history";
export * from "./ft/account/use-is-auth-descriptor-valid";
export * from "./ft/connection/use-ft-connection";

@@ -4,0 +10,0 @@ export * from "./ft/connection/use-get-all-assets";

export * from "./filehub/use-file-hub-image.js";
export * from "./filehub/use-multiple-fh-images.js";
export * from "./ft/account/use-ft-accounts.js";
export * from "./ft/account/use-get-auth-descriptors.js";
export * from "./ft/account/use-get-balance-by-asset-id.js";
export * from "./ft/account/use-get-balances.js";
export * from "./ft/account/use-get-transfer-history.js";
export * from "./ft/account/use-is-auth-descriptor-valid.js";
export * from "./ft/connection/use-ft-connection.js";

@@ -4,0 +10,0 @@ export * from "./ft/connection/use-get-all-assets.js";

{
"name": "@chromia/react",
"version": "0.2.0-beta.9",
"version": "0.2.0-beta.10",
"license": "Apache-2.0",

@@ -5,0 +5,0 @@ "scripts": {

export * from "./filehub/use-file-hub-image";
export * from "./filehub/use-multiple-fh-images";
export * from "./ft/account/use-ft-accounts";
export * from "./ft/account/use-get-auth-descriptors";
export * from "./ft/account/use-get-balance-by-asset-id";
export * from "./ft/account/use-get-balances";
export * from "./ft/account/use-get-transfer-history";
export * from "./ft/account/use-is-auth-descriptor-valid";
export * from "./ft/connection/use-ft-connection";

@@ -5,0 +12,0 @@ export * from "./ft/connection/use-get-all-assets";

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc