Skip to content

Commit

Permalink
v1.9.0: updated to shuttle 3.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
linkielink committed Jul 12, 2023
1 parent 6bf8240 commit 6426b39
Show file tree
Hide file tree
Showing 29 changed files with 1,830 additions and 997 deletions.
2 changes: 1 addition & 1 deletion dist/components/AutoConnectHandler.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { WalletConnection } from "@delphi-labs/shuttle";
import { WalletConnection } from "@delphi-labs/shuttle-react";
import { ChainInfoID } from "src/enums";
interface Props {
setConnected: () => void;
Expand Down
2 changes: 1 addition & 1 deletion dist/components/AutoConnectHandler.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/components/ConnectedHandler.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { WalletConnection } from "@delphi-labs/shuttle";
import { WalletConnection } from "@delphi-labs/shuttle-react";
import { ChainInfoID } from "src/enums";
interface Props {
setConnectedWallet: (recentWallet: WalletConnection | undefined) => void;
Expand Down
2 changes: 1 addition & 1 deletion dist/components/ConnectedHandler.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

51 changes: 2 additions & 49 deletions dist/components/WalletManagerContext.d.ts
Original file line number Diff line number Diff line change
@@ -1,59 +1,12 @@
/// <reference types="react" />
import { CosmWasmClient } from "@cosmjs/cosmwasm-stargate";
import { MsgExecuteContract } from "@delphi-labs/shuttle";
import { MsgExecuteContract, useShuttle } from "@delphi-labs/shuttle-react";
import { ChainInfoID } from "../enums";
import { BalancesResponse, IWalletManagerContext } from "../types";
declare const fetchBalances: (address: string, chainId: ChainInfoID) => Promise<BalancesResponse | undefined>;
declare const WalletManagerContext: import("react").Context<IWalletManagerContext | null>;
declare const useWalletManager: () => IWalletManagerContext;
declare const useWallet: () => {
providers: import("@delphi-labs/shuttle").WalletProvider[];
mobileProviders: import("@delphi-labs/shuttle").MobileWalletProvider[];
mobileConnect: (options: {
mobileProviderId: string;
chainId: string;
callback?: ((walletConnection: import("@delphi-labs/shuttle").WalletConnection) => void) | undefined;
}) => Promise<import("@delphi-labs/shuttle").MobileConnectResponse>;
connect: (options: {
providerId: string;
chainId: string;
}) => Promise<import("@delphi-labs/shuttle").WalletConnection>;
wallets: import("@delphi-labs/shuttle").WalletConnection[];
getWallets: (filters?: {
providerId?: string | undefined;
chainId?: string | undefined;
} | undefined) => import("@delphi-labs/shuttle").WalletConnection[];
recentWallet: import("@delphi-labs/shuttle").WalletConnection | null;
disconnect: (filters?: {
providerId?: string | undefined;
chainId?: string | undefined;
} | undefined) => void;
disconnectWallet: (wallet: import("@delphi-labs/shuttle").WalletConnection) => void;
simulate: (options: {
messages: import("@delphi-labs/shuttle").TransactionMsg<any>[];
wallet?: import("@delphi-labs/shuttle").WalletConnection | null | undefined;
}) => Promise<import("@delphi-labs/shuttle").SimulateResult>;
broadcast: (options: {
messages: import("@delphi-labs/shuttle").TransactionMsg<any>[];
wallet?: import("@delphi-labs/shuttle").WalletConnection | null | undefined;
feeAmount?: string | null | undefined;
gasLimit?: string | null | undefined;
memo?: string | null | undefined;
mobile?: boolean | undefined;
overrides?: {
rpc?: string | undefined;
rest?: string | undefined;
} | undefined;
}) => Promise<import("@delphi-labs/shuttle").BroadcastResult>;
sign: (options: {
messages: import("@delphi-labs/shuttle").TransactionMsg<any>[];
feeAmount?: string | null | undefined;
gasLimit?: string | null | undefined;
memo?: string | null | undefined;
wallet?: import("@delphi-labs/shuttle").WalletConnection | null | undefined;
mobile?: boolean | undefined;
}) => Promise<import("@delphi-labs/shuttle").SigningResult>;
};
declare const useWallet: typeof useShuttle;
declare const getClient: (rpc: string) => Promise<CosmWasmClient>;
export { fetchBalances, getClient, MsgExecuteContract, useWallet, useWalletManager, WalletManagerContext, };
//# sourceMappingURL=WalletManagerContext.d.ts.map
2 changes: 1 addition & 1 deletion dist/components/WalletManagerContext.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/components/ui/SelectWalletModal.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/index.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/types.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { CosmWasmClient } from "@cosmjs/cosmwasm-stargate";
import { Bech32Config, BIP44, BroadcastResult, SigningResult, SimulateResult, TransactionMsg, WalletConnection } from "@delphi-labs/shuttle";
import { Bech32Config, BIP44, BroadcastResult, SigningResult, SimulateResult, TransactionMsg, WalletConnection } from "@delphi-labs/shuttle-react";
import { AppCurrency, Currency } from "@keplr-wallet/types";
import { AxiosRequestConfig } from "axios";
import { ReactNode } from "react";
Expand Down
2 changes: 1 addition & 1 deletion dist/types.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/utils/chainInfo.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { BIP44, Network } from "@delphi-labs/shuttle";
import { BIP44, Network } from "@delphi-labs/shuttle-react";
import { ChainInfoID } from "../enums";
import { ChainInfoOptions } from "../types";
export interface SimplifiedChainInfo extends Network {
Expand Down
2 changes: 1 addition & 1 deletion dist/utils/chainInfo.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 6426b39

Please sign in to comment.