@wagmi/core 3.4.1 → 3.4.3
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/esm/actions/sendTransaction.js.map +1 -1
- package/dist/esm/actions/sendTransactionSync.js.map +1 -1
- package/dist/esm/exports/tempo.js +1 -2
- package/dist/esm/exports/tempo.js.map +1 -1
- package/dist/esm/tempo/Connectors.js +278 -570
- package/dist/esm/tempo/Connectors.js.map +1 -1
- package/dist/esm/tsconfig.build.tsbuildinfo +1 -1
- package/dist/esm/version.js +1 -1
- package/dist/types/actions/deployContract.d.ts +2 -2
- package/dist/types/actions/deployContract.d.ts.map +1 -1
- package/dist/types/actions/sendTransaction.d.ts +5 -3
- package/dist/types/actions/sendTransaction.d.ts.map +1 -1
- package/dist/types/actions/sendTransactionSync.d.ts +5 -3
- package/dist/types/actions/sendTransactionSync.d.ts.map +1 -1
- package/dist/types/exports/tempo.d.ts +1 -2
- package/dist/types/exports/tempo.d.ts.map +1 -1
- package/dist/types/tempo/Connectors.d.ts +58 -86
- package/dist/types/tempo/Connectors.d.ts.map +1 -1
- package/dist/types/version.d.ts +1 -1
- package/package.json +5 -1
- package/src/actions/deployContract.ts +3 -3
- package/src/actions/sendTransaction.ts +7 -5
- package/src/actions/sendTransactionSync.ts +7 -5
- package/src/exports/tempo.ts +2 -1
- package/src/tempo/Connectors.ts +406 -798
- package/src/version.ts +1 -1
- package/dist/esm/tempo/KeyManager.js +0 -154
- package/dist/esm/tempo/KeyManager.js.map +0 -1
- package/dist/types/tempo/KeyManager.d.ts +0 -71
- package/dist/types/tempo/KeyManager.d.ts.map +0 -1
- package/src/tempo/KeyManager.ts +0 -241
package/dist/esm/version.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const version = '3.4.
|
|
1
|
+
export const version = '3.4.3';
|
|
2
2
|
//# sourceMappingURL=version.js.map
|
|
@@ -4,10 +4,10 @@ import type { Config } from '../createConfig.js';
|
|
|
4
4
|
import type { BaseErrorType, ErrorType } from '../errors/base.js';
|
|
5
5
|
import type { SelectChains } from '../types/chain.js';
|
|
6
6
|
import type { ChainIdParameter, ConnectorParameter } from '../types/properties.js';
|
|
7
|
-
import type {
|
|
7
|
+
import type { UnionCompute, UnionLooseOmit } from '../types/utils.js';
|
|
8
8
|
import { type GetConnectorClientErrorType } from './getConnectorClient.js';
|
|
9
9
|
export type DeployContractParameters<abi extends Abi | readonly unknown[] = Abi, config extends Config = Config, chainId extends config['chains'][number]['id'] = config['chains'][number]['id'], allArgs = ContractConstructorArgs<abi>, chains extends readonly Chain[] = SelectChains<config, chainId>> = {
|
|
10
|
-
[key in keyof chains]:
|
|
10
|
+
[key in keyof chains]: UnionCompute<UnionLooseOmit<viem_DeployContractParameters<abi, chains[key], Account, chains[key], allArgs>, 'chain'> & ChainIdParameter<config, chainId> & ConnectorParameter>;
|
|
11
11
|
}[number];
|
|
12
12
|
export type DeployContractReturnType = viem_DeployContractReturnType;
|
|
13
13
|
export type DeployContractErrorType = GetConnectorClientErrorType | BaseErrorType | ErrorType | viem_DeployContractErrorType;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"deployContract.d.ts","sourceRoot":"","sources":["../../../src/actions/deployContract.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,OAAO,EAAE,KAAK,EAAU,uBAAuB,EAAE,MAAM,MAAM,CAAA;AAChF,OAAO,EACL,KAAK,uBAAuB,IAAI,4BAA4B,EAC5D,KAAK,wBAAwB,IAAI,6BAA6B,EAC9D,KAAK,wBAAwB,IAAI,6BAA6B,EAE/D,MAAM,cAAc,CAAA;AACrB,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAA;AAChD,OAAO,KAAK,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAA;AACjE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAA;AACrD,OAAO,KAAK,EACV,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Ac,CACZ,6BAA6B,CAC3B,GAAG,EACH,MAAM,CAAC,GAAG,CAAC,EACX,OAAO,EACP,MAAM,CAAC,GAAG,CAAC,EACX,OAAO,CACR,EACD,OAAO,CACR,GACC,gBAAgB,CAAC,MAAM,EAAE,OAAO,CAAC,GACjC,kBAAkB,CACrB;CACF,CAAC,MAAM,CAAC,CAAA;AAET,MAAM,MAAM,wBAAwB,GAAG,6BAA6B,CAAA;AAEpE,MAAM,MAAM,uBAAuB,GAE/B,2BAA2B,GAE3B,aAAa,GACb,SAAS,GAET,4BAA4B,CAAA;AAEhC,uDAAuD;AACvD,wBAAsB,cAAc,CAClC,MAAM,SAAS,MAAM,EACrB,KAAK,CAAC,GAAG,SAAS,GAAG,GAAG,SAAS,OAAO,EAAE,EAC1C,OAAO,SAAS,MAAM,CAAC,QAAQ,CAAC,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,EAE9C,MAAM,EAAE,MAAM,EACd,UAAU,EAAE,wBAAwB,CAAC,GAAG,EAAE,MAAM,EAAE,OAAO,CAAC,GACzD,OAAO,CAAC,wBAAwB,CAAC,CA4BnC"}
|
|
@@ -3,11 +3,12 @@ import type { Config } from '../createConfig.js';
|
|
|
3
3
|
import type { BaseErrorType, ErrorType } from '../errors/base.js';
|
|
4
4
|
import type { SelectChains } from '../types/chain.js';
|
|
5
5
|
import type { ChainIdParameter, ConnectorParameter } from '../types/properties.js';
|
|
6
|
-
import type {
|
|
6
|
+
import type { UnionCompute, UnionLooseOmit } from '../types/utils.js';
|
|
7
7
|
import { type GetConnectorClientErrorType } from './getConnectorClient.js';
|
|
8
8
|
export type SendTransactionParameters<config extends Config = Config, chainId extends config['chains'][number]['id'] = config['chains'][number]['id'], chains extends readonly Chain[] = SelectChains<config, chainId>> = {
|
|
9
|
-
[key in keyof chains]:
|
|
10
|
-
}[number]
|
|
9
|
+
[key in keyof chains]: UnionCompute<UnionLooseOmit<viem_SendTransactionParameters<chains[key], Account, chains[key]>, 'chain' | 'gas'> & ChainIdParameter<config, chainId> & SendTransactionOverrides>;
|
|
10
|
+
}[number];
|
|
11
|
+
type SendTransactionOverrides = ConnectorParameter & {
|
|
11
12
|
/** Gas provided for transaction execution. */
|
|
12
13
|
gas?: TransactionRequest['gas'] | null;
|
|
13
14
|
};
|
|
@@ -15,4 +16,5 @@ export type SendTransactionReturnType = viem_SendTransactionReturnType;
|
|
|
15
16
|
export type SendTransactionErrorType = GetConnectorClientErrorType | BaseErrorType | ErrorType | viem_SendTransactionErrorType;
|
|
16
17
|
/** https://wagmi.sh/core/api/actions/sendTransaction */
|
|
17
18
|
export declare function sendTransaction<config extends Config, chainId extends config['chains'][number]['id']>(config: config, parameters: SendTransactionParameters<config, chainId>): Promise<SendTransactionReturnType>;
|
|
19
|
+
export {};
|
|
18
20
|
//# sourceMappingURL=sendTransaction.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sendTransaction.d.ts","sourceRoot":"","sources":["../../../src/actions/sendTransaction.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,OAAO,EACP,KAAK,EAEL,kBAAkB,EAClB,wBAAwB,IAAI,6BAA6B,EACzD,yBAAyB,IAAI,8BAA8B,EAC3D,yBAAyB,IAAI,8BAA8B,EAC5D,MAAM,MAAM,CAAA;AAGb,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAA;AAChD,OAAO,KAAK,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAA;AACjE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAA;AACrD,OAAO,KAAK,EACV,gBAAgB,EAChB,kBAAkB,EACnB,MAAM,wBAAwB,CAAA;AAC/B,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"sendTransaction.d.ts","sourceRoot":"","sources":["../../../src/actions/sendTransaction.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,OAAO,EACP,KAAK,EAEL,kBAAkB,EAClB,wB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AA;AAEtE,MAAM,MAAM,wBAAwB,GAEhC,2BAA2B,GAE3B,aAAa,GACb,SAAS,GAET,6BAA6B,CAAA;AAEjC,wDAAwD;AACxD,wBAAsB,eAAe,CACnC,MAAM,SAAS,MAAM,EACrB,OAAO,SAAS,MAAM,CAAC,QAAQ,CAAC,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,EAE9C,MAAM,EAAE,MAAM,EACd,UAAU,EAAE,yBAAyB,CAAC,MAAM,EAAE,OAAO,CAAC,GACrD,OAAO,CAAC,yBAAyB,CAAC,CA6BpC"}
|
|
@@ -3,11 +3,12 @@ import type { Config } from '../createConfig.js';
|
|
|
3
3
|
import type { BaseErrorType, ErrorType } from '../errors/base.js';
|
|
4
4
|
import type { SelectChains } from '../types/chain.js';
|
|
5
5
|
import type { ChainIdParameter, ConnectorParameter } from '../types/properties.js';
|
|
6
|
-
import type {
|
|
6
|
+
import type { UnionCompute, UnionLooseOmit } from '../types/utils.js';
|
|
7
7
|
import { type GetConnectorClientErrorType } from './getConnectorClient.js';
|
|
8
8
|
export type SendTransactionSyncParameters<config extends Config = Config, chainId extends config['chains'][number]['id'] = config['chains'][number]['id'], chains extends readonly Chain[] = SelectChains<config, chainId>> = {
|
|
9
|
-
[key in keyof chains]:
|
|
10
|
-
}[number]
|
|
9
|
+
[key in keyof chains]: UnionCompute<UnionLooseOmit<viem_SendTransactionSyncParameters<chains[key], Account, chains[key]>, 'chain' | 'gas'> & ChainIdParameter<config, chainId> & SendTransactionSyncOverrides>;
|
|
10
|
+
}[number];
|
|
11
|
+
type SendTransactionSyncOverrides = ConnectorParameter & {
|
|
11
12
|
/** Gas provided for transaction execution. */
|
|
12
13
|
gas?: TransactionRequest['gas'] | null;
|
|
13
14
|
};
|
|
@@ -15,4 +16,5 @@ export type SendTransactionSyncReturnType = viem_SendTransactionSyncReturnType;
|
|
|
15
16
|
export type SendTransactionSyncErrorType = GetConnectorClientErrorType | BaseErrorType | ErrorType | viem_SendTransactionSyncErrorType;
|
|
16
17
|
/** https://wagmi.sh/core/api/actions/sendTransactionSync */
|
|
17
18
|
export declare function sendTransactionSync<config extends Config, chainId extends config['chains'][number]['id']>(config: config, parameters: SendTransactionSyncParameters<config, chainId>): Promise<SendTransactionSyncReturnType>;
|
|
19
|
+
export {};
|
|
18
20
|
//# sourceMappingURL=sendTransactionSync.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sendTransactionSync.d.ts","sourceRoot":"","sources":["../../../src/actions/sendTransactionSync.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,OAAO,EACP,KAAK,EAEL,kBAAkB,EAClB,4BAA4B,IAAI,iCAAiC,EACjE,6BAA6B,IAAI,kCAAkC,EACnE,6BAA6B,IAAI,kCAAkC,EACpE,MAAM,MAAM,CAAA;AAGb,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAA;AAChD,OAAO,KAAK,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAA;AACjE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAA;AACrD,OAAO,KAAK,EACV,gBAAgB,EAChB,kBAAkB,EACnB,MAAM,wBAAwB,CAAA;AAC/B,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"sendTransactionSync.d.ts","sourceRoot":"","sources":["../../../src/actions/sendTransactionSync.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,OAAO,EACP,KAAK,EAEL,kBAAkB,EAClB,4BAA4B,IAAI,iCAAiC,EACjE,6BAA6B,IAAI,kCAAkC,EACnE,6BAA6B,IAAI,kCAAkC,EACpE,MAAM,MAAM,CAAA;AAGb,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAA;AAChD,OAAO,KAAK,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAA;AACjE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAA;AACrD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AM,EAAE,OAAO,CAAC,GACzD,OAAO,CAAC,6BAA6B,CAAC,CAiCxC"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
/** biome-ignore-all lint/performance/noReExportAll: entrypoint */
|
|
2
2
|
export * as Actions from '../tempo/actions/index.js';
|
|
3
|
-
export { type Dangerous_Secp256k1Parameters, dangerous_secp256k1, type WebAuthnParameters, webAuthn, } from '../tempo/Connectors.js';
|
|
4
|
-
export * as KeyManager from '../tempo/KeyManager.js';
|
|
3
|
+
export { type Dangerous_Secp256k1Parameters, dangerous_secp256k1, type TempoWalletParameters, tempoWallet, type WebAuthnParameters, webAuthn, } from '../tempo/Connectors.js';
|
|
5
4
|
//# sourceMappingURL=tempo.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tempo.d.ts","sourceRoot":"","sources":["../../../src/exports/tempo.ts"],"names":[],"mappings":"AAIA,kEAAkE;AAElE,OAAO,KAAK,OAAO,MAAM,2BAA2B,CAAA;AACpD,OAAO,EACL,KAAK,6BAA6B,EAClC,mBAAmB,EACnB,KAAK,
|
|
1
|
+
{"version":3,"file":"tempo.d.ts","sourceRoot":"","sources":["../../../src/exports/tempo.ts"],"names":[],"mappings":"AAIA,kEAAkE;AAElE,OAAO,KAAK,OAAO,MAAM,2BAA2B,CAAA;AACpD,OAAO,EACL,KAAK,6BAA6B,EAClC,mBAAmB,EACnB,KAAK,qBAAqB,EAC1B,WAAW,EACX,KAAK,kBAAkB,EACvB,QAAQ,GACT,MAAM,wBAAwB,CAAA"}
|
|
@@ -1,76 +1,46 @@
|
|
|
1
|
-
import
|
|
2
|
-
import type
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
1
|
+
import type { Provider as AccountsProvider, Rpc as AccountsRpc, dangerous_secp256k1 as accountsDangerousSecp256k1, dialog as accountsDialog, webAuthn as accountsWebAuthn } from 'accounts';
|
|
2
|
+
import { type Address } from 'viem';
|
|
3
|
+
type AccountsModule = {
|
|
4
|
+
dialog: typeof accountsDialog;
|
|
5
|
+
Provider: typeof AccountsProvider;
|
|
6
|
+
dangerous_secp256k1: typeof accountsDangerousSecp256k1;
|
|
7
|
+
webAuthn: typeof accountsWebAuthn;
|
|
8
|
+
};
|
|
9
|
+
type AccountsDialogParameters = NonNullable<Parameters<typeof accountsDialog>[0]>;
|
|
10
|
+
type AccountsProviderParameters = NonNullable<Parameters<typeof AccountsProvider.create>[0]>;
|
|
11
|
+
type AccountsAdapter = NonNullable<AccountsProviderParameters['adapter']>;
|
|
12
|
+
type AccountsDangerousSecp256k1Parameters = NonNullable<Parameters<typeof accountsDangerousSecp256k1>[0]>;
|
|
13
|
+
type AccountsWebAuthnParameters = NonNullable<Parameters<typeof accountsWebAuthn>[0]>;
|
|
14
|
+
type Provider = Pick<ReturnType<typeof AccountsProvider.create>, 'getAccount' | 'getClient' | 'on' | 'removeListener' | 'request'>;
|
|
15
|
+
type AccountsConnectParameters = NonNullable<AccountsRpc.wallet_connect.Decoded['params']>[0];
|
|
16
|
+
type CapabilitiesRequest = AccountsConnectParameters['capabilities'];
|
|
17
|
+
type InternalAccount = AccountsRpc.wallet_connect.Encoded['returns']['accounts'][number];
|
|
18
|
+
/** @deprecated use `tempoWallet.Parameters` instead */
|
|
19
|
+
export type TempoWalletParameters = tempoWallet.Parameters;
|
|
20
|
+
/**
|
|
21
|
+
* Connector for the Tempo Wallet dialog.
|
|
22
|
+
*/
|
|
23
|
+
export declare function tempoWallet(parameters?: tempoWallet.Parameters): import("../connectors/createConnector.js").CreateConnectorFn<Provider, {
|
|
24
|
+
connect<withCapabilities extends boolean = false>(parameters?: setup.ConnectParameters<withCapabilities>): Promise<setup.ConnectReturnType<withCapabilities>>;
|
|
25
|
+
}, Record<string, unknown>>;
|
|
26
|
+
export declare namespace tempoWallet {
|
|
27
|
+
type Parameters = Omit<AccountsProviderParameters, 'adapter' | 'chains'> & AccountsDialogParameters;
|
|
28
|
+
type ConnectParameters<withCapabilities extends boolean = false> = setup.ConnectParameters<withCapabilities>;
|
|
29
|
+
type ConnectReturnType<withCapabilities extends boolean = false> = setup.ConnectReturnType<withCapabilities>;
|
|
30
|
+
}
|
|
8
31
|
/** @deprecated use `webAuthn.Parameters` instead */
|
|
9
32
|
export type WebAuthnParameters = webAuthn.Parameters;
|
|
10
33
|
/**
|
|
11
34
|
* Connector for a WebAuthn EOA.
|
|
12
35
|
*/
|
|
13
|
-
export declare function webAuthn(
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
request: import("viem").EIP1193RequestFn<import("viem").EIP1474Methods>;
|
|
17
|
-
}, "request">, {
|
|
18
|
-
connect<withCapabilities extends boolean = false>(parameters: {
|
|
19
|
-
chainId?: number | undefined;
|
|
20
|
-
capabilities?: (OneOf<{
|
|
21
|
-
label?: string | undefined;
|
|
22
|
-
type: "sign-up";
|
|
23
|
-
} | {
|
|
24
|
-
selectAccount?: boolean | undefined;
|
|
25
|
-
type: "sign-in";
|
|
26
|
-
} | {
|
|
27
|
-
type?: undefined;
|
|
28
|
-
}> & {
|
|
29
|
-
credential?: {
|
|
30
|
-
id: string;
|
|
31
|
-
publicKey: Hex.Hex;
|
|
32
|
-
} | undefined;
|
|
33
|
-
sign?: {
|
|
34
|
-
hash: Hex.Hex;
|
|
35
|
-
} | undefined;
|
|
36
|
-
}) | undefined;
|
|
37
|
-
isReconnecting?: boolean | undefined;
|
|
38
|
-
withCapabilities?: withCapabilities | boolean | undefined;
|
|
39
|
-
}): Promise<{
|
|
40
|
-
accounts: withCapabilities extends true ? readonly {
|
|
41
|
-
address: Address.Address;
|
|
42
|
-
capabilities: {
|
|
43
|
-
signature?: Hex.Hex | undefined;
|
|
44
|
-
};
|
|
45
|
-
}[] : readonly Address.Address[];
|
|
46
|
-
chainId: number;
|
|
47
|
-
}>;
|
|
48
|
-
}, {
|
|
49
|
-
[key: `pendingKeyAuthorization:${string}`]: KeyAuthorization.KeyAuthorization<boolean, bigint, number>;
|
|
50
|
-
'webAuthn.activeCredential': WebAuthnP256.P256Credential;
|
|
51
|
-
'webAuthn.lastActiveCredential': WebAuthnP256.P256Credential;
|
|
52
|
-
}>;
|
|
36
|
+
export declare function webAuthn(parameters?: webAuthn.Parameters): import("../connectors/createConnector.js").CreateConnectorFn<Provider, {
|
|
37
|
+
connect<withCapabilities extends boolean = false>(parameters?: setup.ConnectParameters<withCapabilities>): Promise<setup.ConnectReturnType<withCapabilities>>;
|
|
38
|
+
}, Record<string, unknown>>;
|
|
53
39
|
export declare namespace webAuthn {
|
|
54
40
|
var type: "webAuthn";
|
|
55
41
|
}
|
|
56
42
|
export declare namespace webAuthn {
|
|
57
|
-
type Parameters =
|
|
58
|
-
/** Options for WebAuthn registration. */
|
|
59
|
-
createOptions?: Pick<WebAuthnP256.createCredential.Parameters, 'createFn' | 'label' | 'rpId' | 'userId' | 'timeout'> | undefined;
|
|
60
|
-
/** Options for WebAuthn authentication. */
|
|
61
|
-
getOptions?: Pick<WebAuthnP256.getCredential.Parameters, 'getFn' | 'rpId'> | undefined;
|
|
62
|
-
/**
|
|
63
|
-
* Whether or not to grant an access key upon connection, and optionally, expiry + limits to assign to the key.
|
|
64
|
-
*/
|
|
65
|
-
grantAccessKey?: boolean | (Pick<KeyAuthorization.KeyAuthorization, 'expiry' | 'limits'> & {
|
|
66
|
-
/** Whether or not to throw an error and disconnect if the access key is not provisioned or is expired. */
|
|
67
|
-
strict?: boolean | undefined;
|
|
68
|
-
});
|
|
69
|
-
/** Public key manager. */
|
|
70
|
-
keyManager: KeyManager.KeyManager;
|
|
71
|
-
/** The RP ID to use for WebAuthn. */
|
|
72
|
-
rpId?: string | undefined;
|
|
73
|
-
};
|
|
43
|
+
type Parameters = AccountsWebAuthnParameters & Omit<AccountsProviderParameters, 'adapter' | 'chains'>;
|
|
74
44
|
}
|
|
75
45
|
/** @deprecated use `dangerous_secp256k1.Parameters` instead */
|
|
76
46
|
export type Dangerous_Secp256k1Parameters = dangerous_secp256k1.Parameters;
|
|
@@ -81,33 +51,35 @@ export type Dangerous_Secp256k1Parameters = dangerous_secp256k1.Parameters;
|
|
|
81
51
|
* This connector stores private keys in clear text, and are bound to the session
|
|
82
52
|
* length of the storage used.
|
|
83
53
|
*/
|
|
84
|
-
export declare function dangerous_secp256k1(
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
request: import("viem").EIP1193RequestFn<import("viem").EIP1474Methods>;
|
|
88
|
-
}, "request">, {
|
|
89
|
-
connect<withCapabilities extends boolean = false>(parameters: {
|
|
90
|
-
capabilities?: {
|
|
91
|
-
type?: "sign-up" | undefined;
|
|
92
|
-
} | undefined;
|
|
93
|
-
chainId?: number | undefined;
|
|
94
|
-
isReconnecting?: boolean | undefined;
|
|
95
|
-
withCapabilities?: withCapabilities | boolean | undefined;
|
|
96
|
-
}): Promise<{
|
|
97
|
-
accounts: readonly Address.Address[];
|
|
98
|
-
chainId: number;
|
|
99
|
-
}>;
|
|
100
|
-
}, {
|
|
101
|
-
[key: `secp256k1.${string}.privateKey`]: `0x${string}`;
|
|
102
|
-
'secp256k1.activeAddress': Address.Address;
|
|
103
|
-
'secp256k1.lastActiveAddress': Address.Address;
|
|
104
|
-
}>;
|
|
54
|
+
export declare function dangerous_secp256k1(parameters?: dangerous_secp256k1.Parameters): import("../connectors/createConnector.js").CreateConnectorFn<Provider, {
|
|
55
|
+
connect<withCapabilities extends boolean = false>(parameters?: setup.ConnectParameters<withCapabilities>): Promise<setup.ConnectReturnType<withCapabilities>>;
|
|
56
|
+
}, Record<string, unknown>>;
|
|
105
57
|
export declare namespace dangerous_secp256k1 {
|
|
106
58
|
var type: "dangerous_secp256k1";
|
|
107
59
|
}
|
|
108
60
|
export declare namespace dangerous_secp256k1 {
|
|
61
|
+
type Parameters = AccountsDangerousSecp256k1Parameters & Omit<AccountsProviderParameters, 'adapter' | 'chains'>;
|
|
62
|
+
}
|
|
63
|
+
export declare namespace setup {
|
|
109
64
|
type Parameters = {
|
|
110
|
-
|
|
65
|
+
createAdapter: (accounts: AccountsModule) => AccountsAdapter;
|
|
66
|
+
icon?: string | undefined;
|
|
67
|
+
id: string;
|
|
68
|
+
name: string;
|
|
69
|
+
providerParameters: Omit<AccountsProviderParameters, 'adapter' | 'chains'>;
|
|
70
|
+
rdns?: string | readonly string[] | undefined;
|
|
71
|
+
type: string;
|
|
72
|
+
};
|
|
73
|
+
type ConnectParameters<withCapabilities extends boolean = false> = {
|
|
74
|
+
capabilities?: CapabilitiesRequest | undefined;
|
|
75
|
+
chainId?: number | undefined;
|
|
76
|
+
isReconnecting?: boolean | undefined;
|
|
77
|
+
withCapabilities?: withCapabilities | boolean | undefined;
|
|
78
|
+
};
|
|
79
|
+
type ConnectReturnType<withCapabilities extends boolean = false> = {
|
|
80
|
+
accounts: withCapabilities extends true ? readonly InternalAccount[] : readonly Address[];
|
|
81
|
+
chainId: number;
|
|
111
82
|
};
|
|
112
83
|
}
|
|
84
|
+
export {};
|
|
113
85
|
//# sourceMappingURL=Connectors.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Connectors.d.ts","sourceRoot":"","sources":["../../../src/tempo/Connectors.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"Connectors.d.ts","sourceRoot":"","sources":["../../../src/tempo/Connectors.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,QAAQ,IAAI,gBAAgB,EAC5B,GAAG,IAAI,WAAW,EAClB,mBAAmB,IAAI,0BAA0B,EACjD,MAAM,IAAI,cAAc,EACxB,QAAQ,IAAI,gBAAgB,EAC7B,MAAM,UAAU,CAAA;AACjB,OAAO,EACL,KAAK,OAAO,EAOb,MAAM,MAAM,CAAA;AAMb,KAAK,cAAc,GAAG;IACpB,MAAM,EAAE,OAAO,cAAc,CAAA;IAC7B,QAAQ,EAAE,OAAO,gBAAgB,CAAA;IACjC,mBAAmB,EAAE,OAAO,0BAA0B,CAAA;IACtD,QAAQ,EAAE,OAAO,gBAAgB,CAAA;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AAG,oCAAoC,GAC3D,IAAI,CAAC,0BAA0B,EAAE,SAAS,GAAG,QAAQ,CAAC,CAAA;CACzD;AA8QD,MAAM,CAAC,OAAO,WAAW,KAAK,CAAC;IAC7B,KAAY,UAAU,GAAG;QACvB,aAAa,EAAE,CAAC,QAAQ,EAAE,cAAc,KAAK,eAAe,CAAA;QAC5D,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;QACzB,EAAE,EAAE,MAAM,CAAA;QACV,IAAI,EAAE,MAAM,CAAA;QACZ,kBAAkB,EAAE,IAAI,CAAC,0BAA0B,EAAE,SAAS,GAAG,QAAQ,CAAC,CAAA;QAC1E,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,MAAM,EAAE,GAAG,SAAS,CAAA;QAC7C,IAAI,EAAE,MAAM,CAAA;KACb,CAAA;IAED,KAAY,iBAAiB,CAAC,gBAAgB,SAAS,OAAO,GAAG,KAAK,IAAI;QACxE,YAAY,CAAC,EAAE,mBAAmB,GAAG,SAAS,CAAA;QAC9C,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;QAC5B,cAAc,CAAC,EAAE,OAAO,GAAG,SAAS,CAAA;QACpC,gBAAgB,CAAC,EAAE,gBAAgB,GAAG,OAAO,GAAG,SAAS,CAAA;KAC1D,CAAA;IAED,KAAY,iBAAiB,CAAC,gBAAgB,SAAS,OAAO,GAAG,KAAK,IAAI;QACxE,QAAQ,EAAE,gBAAgB,SAAS,IAAI,GACnC,SAAS,eAAe,EAAE,GAC1B,SAAS,OAAO,EAAE,CAAA;QACtB,OAAO,EAAE,MAAM,CAAA;KAChB,CAAA;CACF"}
|
package/dist/types/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const version = "3.4.
|
|
1
|
+
export declare const version = "3.4.3";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wagmi/core",
|
|
3
3
|
"description": "VanillaJS library for Ethereum",
|
|
4
|
-
"version": "3.4.
|
|
4
|
+
"version": "3.4.3",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
@@ -80,6 +80,7 @@
|
|
|
80
80
|
},
|
|
81
81
|
"peerDependencies": {
|
|
82
82
|
"@tanstack/query-core": ">=5.0.0",
|
|
83
|
+
"accounts": "0.6.7",
|
|
83
84
|
"ox": ">=0.11.1",
|
|
84
85
|
"typescript": ">=5.7.3",
|
|
85
86
|
"viem": "2.x"
|
|
@@ -88,6 +89,9 @@
|
|
|
88
89
|
"@tanstack/query-core": {
|
|
89
90
|
"optional": true
|
|
90
91
|
},
|
|
92
|
+
"accounts": {
|
|
93
|
+
"optional": true
|
|
94
|
+
},
|
|
91
95
|
"ox": {
|
|
92
96
|
"optional": true
|
|
93
97
|
},
|
|
@@ -12,7 +12,7 @@ import type {
|
|
|
12
12
|
ChainIdParameter,
|
|
13
13
|
ConnectorParameter,
|
|
14
14
|
} from '../types/properties.js'
|
|
15
|
-
import type {
|
|
15
|
+
import type { UnionCompute, UnionLooseOmit } from '../types/utils.js'
|
|
16
16
|
import { getAction } from '../utils/getAction.js'
|
|
17
17
|
import {
|
|
18
18
|
type GetConnectorClientErrorType,
|
|
@@ -28,8 +28,8 @@ export type DeployContractParameters<
|
|
|
28
28
|
allArgs = ContractConstructorArgs<abi>,
|
|
29
29
|
chains extends readonly Chain[] = SelectChains<config, chainId>,
|
|
30
30
|
> = {
|
|
31
|
-
[key in keyof chains]:
|
|
32
|
-
|
|
31
|
+
[key in keyof chains]: UnionCompute<
|
|
32
|
+
UnionLooseOmit<
|
|
33
33
|
viem_DeployContractParameters<
|
|
34
34
|
abi,
|
|
35
35
|
chains[key],
|
|
@@ -16,7 +16,7 @@ import type {
|
|
|
16
16
|
ChainIdParameter,
|
|
17
17
|
ConnectorParameter,
|
|
18
18
|
} from '../types/properties.js'
|
|
19
|
-
import type {
|
|
19
|
+
import type { UnionCompute, UnionLooseOmit } from '../types/utils.js'
|
|
20
20
|
import { getAction } from '../utils/getAction.js'
|
|
21
21
|
import {
|
|
22
22
|
type GetConnectorClientErrorType,
|
|
@@ -30,15 +30,17 @@ export type SendTransactionParameters<
|
|
|
30
30
|
///
|
|
31
31
|
chains extends readonly Chain[] = SelectChains<config, chainId>,
|
|
32
32
|
> = {
|
|
33
|
-
[key in keyof chains]:
|
|
34
|
-
|
|
33
|
+
[key in keyof chains]: UnionCompute<
|
|
34
|
+
UnionLooseOmit<
|
|
35
35
|
viem_SendTransactionParameters<chains[key], Account, chains[key]>,
|
|
36
36
|
'chain' | 'gas'
|
|
37
37
|
> &
|
|
38
38
|
ChainIdParameter<config, chainId> &
|
|
39
|
-
|
|
39
|
+
SendTransactionOverrides
|
|
40
40
|
>
|
|
41
|
-
}[number]
|
|
41
|
+
}[number]
|
|
42
|
+
|
|
43
|
+
type SendTransactionOverrides = ConnectorParameter & {
|
|
42
44
|
/** Gas provided for transaction execution. */
|
|
43
45
|
gas?: TransactionRequest['gas'] | null
|
|
44
46
|
}
|
|
@@ -16,7 +16,7 @@ import type {
|
|
|
16
16
|
ChainIdParameter,
|
|
17
17
|
ConnectorParameter,
|
|
18
18
|
} from '../types/properties.js'
|
|
19
|
-
import type {
|
|
19
|
+
import type { UnionCompute, UnionLooseOmit } from '../types/utils.js'
|
|
20
20
|
import { getAction } from '../utils/getAction.js'
|
|
21
21
|
import {
|
|
22
22
|
type GetConnectorClientErrorType,
|
|
@@ -30,15 +30,17 @@ export type SendTransactionSyncParameters<
|
|
|
30
30
|
///
|
|
31
31
|
chains extends readonly Chain[] = SelectChains<config, chainId>,
|
|
32
32
|
> = {
|
|
33
|
-
[key in keyof chains]:
|
|
34
|
-
|
|
33
|
+
[key in keyof chains]: UnionCompute<
|
|
34
|
+
UnionLooseOmit<
|
|
35
35
|
viem_SendTransactionSyncParameters<chains[key], Account, chains[key]>,
|
|
36
36
|
'chain' | 'gas'
|
|
37
37
|
> &
|
|
38
38
|
ChainIdParameter<config, chainId> &
|
|
39
|
-
|
|
39
|
+
SendTransactionSyncOverrides
|
|
40
40
|
>
|
|
41
|
-
}[number]
|
|
41
|
+
}[number]
|
|
42
|
+
|
|
43
|
+
type SendTransactionSyncOverrides = ConnectorParameter & {
|
|
42
44
|
/** Gas provided for transaction execution. */
|
|
43
45
|
gas?: TransactionRequest['gas'] | null
|
|
44
46
|
}
|
package/src/exports/tempo.ts
CHANGED
|
@@ -8,7 +8,8 @@ export * as Actions from '../tempo/actions/index.js'
|
|
|
8
8
|
export {
|
|
9
9
|
type Dangerous_Secp256k1Parameters,
|
|
10
10
|
dangerous_secp256k1,
|
|
11
|
+
type TempoWalletParameters,
|
|
12
|
+
tempoWallet,
|
|
11
13
|
type WebAuthnParameters,
|
|
12
14
|
webAuthn,
|
|
13
15
|
} from '../tempo/Connectors.js'
|
|
14
|
-
export * as KeyManager from '../tempo/KeyManager.js'
|