@unlink-xyz/sdk 0.3.0-canary.520 → 0.3.0-canary.528
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/admin/index.d.ts +4 -4
- package/dist/advanced/index.d.ts +5 -5
- package/dist/advanced/index.js +1 -1
- package/dist/browser/index.d.ts +2 -2
- package/dist/browser/index.js +2 -2
- package/dist/{chunk-W6HCVZ5A.js → chunk-2Z6R4B6S.js} +1 -1
- package/dist/{chunk-S4WYQDWG.js → chunk-AFJKBK7S.js} +8 -4
- package/dist/client/index.d.ts +4 -4
- package/dist/client/index.js +2 -2
- package/dist/{client-core-BWfc7DfB.d.ts → client-core-leKzUC4O.d.ts} +5 -1
- package/dist/crypto/index.d.ts +1 -1
- package/dist/{errors-DG4yuYVt.d.ts → errors-Bh08EOB1.d.ts} +4 -0
- package/dist/{queries-Sv1fEPc7.d.ts → queries-BBgrTZ99.d.ts} +1 -1
- package/package.json +1 -1
package/dist/admin/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Client } from 'openapi-fetch';
|
|
2
|
-
import { R as RegistrationPayload, a as RegistrationPayloadWire, c as components, p as paths } from '../errors-
|
|
3
|
-
export { A as AccountKeys, b as ApiError, C as CapabilityError, d as CapabilityErrorCode, e as CapabilityErrorOptions, T as TimeoutError, U as UnlinkError, V as ValidationError, f as assertRegistrationPayloadWire, g as fromRegistrationPayloadWire, t as toRegistrationPayload, h as toRegistrationPayloadWire } from '../errors-
|
|
4
|
-
import { B as BalancesData, T as TransactionListData, I as IssueAuthorizationTokenParams, A as AuthorizationToken } from '../queries-
|
|
5
|
-
export { i as issueAuthorizationToken } from '../queries-
|
|
2
|
+
import { R as RegistrationPayload, a as RegistrationPayloadWire, c as components, p as paths } from '../errors-Bh08EOB1.js';
|
|
3
|
+
export { A as AccountKeys, b as ApiError, C as CapabilityError, d as CapabilityErrorCode, e as CapabilityErrorOptions, T as TimeoutError, U as UnlinkError, V as ValidationError, f as assertRegistrationPayloadWire, g as fromRegistrationPayloadWire, t as toRegistrationPayload, h as toRegistrationPayloadWire } from '../errors-Bh08EOB1.js';
|
|
4
|
+
import { B as BalancesData, T as TransactionListData, I as IssueAuthorizationTokenParams, A as AuthorizationToken } from '../queries-BBgrTZ99.js';
|
|
5
|
+
export { i as issueAuthorizationToken } from '../queries-BBgrTZ99.js';
|
|
6
6
|
import { E as EnvironmentName } from '../environments-DF9ju13a.js';
|
|
7
7
|
export { a as ENVIRONMENTS } from '../environments-DF9ju13a.js';
|
|
8
8
|
|
package/dist/advanced/index.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import * as openapi_fetch from 'openapi-fetch';
|
|
2
2
|
import { Client } from 'openapi-fetch';
|
|
3
|
-
import { p as paths, S as SignSigningRequestFn } from '../errors-
|
|
4
|
-
export { A as AccountKeys, b as ApiError, C as CapabilityError, d as CapabilityErrorCode, e as CapabilityErrorOptions, R as RegistrationPayload, a as RegistrationPayloadWire, m as Signature, n as SigningRequest, T as TimeoutError, U as UnlinkError, V as ValidationError, f as assertRegistrationPayloadWire, u as assertValidSignature, g as fromRegistrationPayloadWire, v as signSigningRequest, t as toRegistrationPayload, h as toRegistrationPayloadWire, w as verifyMessageHash } from '../errors-
|
|
3
|
+
import { p as paths, S as SignSigningRequestFn } from '../errors-Bh08EOB1.js';
|
|
4
|
+
export { A as AccountKeys, b as ApiError, C as CapabilityError, d as CapabilityErrorCode, e as CapabilityErrorOptions, R as RegistrationPayload, a as RegistrationPayloadWire, m as Signature, n as SigningRequest, T as TimeoutError, U as UnlinkError, V as ValidationError, f as assertRegistrationPayloadWire, u as assertValidSignature, g as fromRegistrationPayloadWire, v as signSigningRequest, t as toRegistrationPayload, h as toRegistrationPayloadWire, w as verifyMessageHash } from '../errors-Bh08EOB1.js';
|
|
5
5
|
export { a as ENVIRONMENTS, E as EnvironmentName, r as resolveEngineUrl } from '../environments-DF9ju13a.js';
|
|
6
|
-
import { S as SignTypedDataFn, P as Permit2NonceManager, T as TransactionResult, a as TransferInstruction, b as Permit2TypedData, c as Permit2WitnessTypedData } from '../client-core-
|
|
7
|
-
export { C as CreateExecutionAccountClientOptions, D as DepositBackParams, d as DepositBackPreSignParams, E as ENTRY_POINT_V07_ADDRESS, e as Eip1193ProviderOptions, f as EthersProviderLike, g as EthersProviderOptions, h as EthersSignerLike, i as EvmProvider, j as EvmTransactionRequest, k as ExecuteCall, l as ExecuteNextAction, m as ExecuteRecoveryError, n as ExecuteRecoveryMetadata, o as ExecuteRecoveryStage, p as ExecuteResult, q as ExecuteSubmitPayload, r as ExecutionAccount, s as ExecutionAccountClient, t as ExecutionAccountDiscovery, u as ExecutionAccountIndices, v as ExecutionAccountListResponse, w as ExecutionAccountNumberish, x as ExecutionAccountPathIndices, y as ExecutionAccountPolicy, z as ExecutionAccountReservation, A as ExecutionAccountStatus, B as ExecutionIntent, F as ExecutionIntentTypedData, G as ExecutionReservation, H as ExecutionSession, I as ExecutionSessionStatus, J as ExecutionStatus, K as GetCodeFn, L as PollExecuteStatusOptions, M as PreSignedPermit2DepositBack, N as PrepareDepositBack, O as SignedExecutionIntent, Q as SignerProviderOptions, R as TERMINAL_EXECUTE_STATUSES, U as TERMINAL_TRANSACTION_STATUSES, V as TransactionHandle, W as TransactionHandleWaitOptions, X as ViemAccountProviderOptions, Y as ViemLocalAccountLike, Z as ViemProviderOptions, _ as ViemPublicClientLike, $ as ViemWalletClientLike, a0 as buildExecutionIntentTypedData, a1 as computeSoladyERC4337InitCodeHash, a2 as computeSoladyExecutionAccountAddress, a3 as createExecutionAccountClient, a4 as encodeExecutionIntentUserOperationSignature, a5 as evm, a6 as executionAccountPath, a7 as fromWireExecutionIntent, a8 as getExecuteNextAction, a9 as getExecuteSession, aa as getExecutionAccount, ab as getExecutionAccountByAddress, ac as hashExecutionIntent, ad as listExecutionAccounts, ae as ownerAddressToOwnSalt, af as pollExecuteStatus, ag as prepareExecute, ah as reserveExecutionAccount, ai as resolveExecutionAccountPolicy, aj as submitExecute } from '../client-core-
|
|
8
|
-
export { A as AuthorizationToken, a as Balance, B as BalancesData, E as EnvironmentInfo, I as IssueAuthorizationTokenParams, b as Transaction, T as TransactionListData, g as getEnvironment, c as getTransaction, d as getUserBalances, e as getUserTransactions, i as issueAuthorizationToken } from '../queries-
|
|
6
|
+
import { S as SignTypedDataFn, P as Permit2NonceManager, T as TransactionResult, a as TransferInstruction, b as Permit2TypedData, c as Permit2WitnessTypedData } from '../client-core-leKzUC4O.js';
|
|
7
|
+
export { C as CreateExecutionAccountClientOptions, D as DepositBackParams, d as DepositBackPreSignParams, E as ENTRY_POINT_V07_ADDRESS, e as Eip1193ProviderOptions, f as EthersProviderLike, g as EthersProviderOptions, h as EthersSignerLike, i as EvmProvider, j as EvmTransactionRequest, k as ExecuteCall, l as ExecuteNextAction, m as ExecuteRecoveryError, n as ExecuteRecoveryMetadata, o as ExecuteRecoveryStage, p as ExecuteResult, q as ExecuteSubmitPayload, r as ExecutionAccount, s as ExecutionAccountClient, t as ExecutionAccountDiscovery, u as ExecutionAccountIndices, v as ExecutionAccountListResponse, w as ExecutionAccountNumberish, x as ExecutionAccountPathIndices, y as ExecutionAccountPolicy, z as ExecutionAccountReservation, A as ExecutionAccountStatus, B as ExecutionIntent, F as ExecutionIntentTypedData, G as ExecutionReservation, H as ExecutionSession, I as ExecutionSessionStatus, J as ExecutionStatus, K as GetCodeFn, L as PollExecuteStatusOptions, M as PreSignedPermit2DepositBack, N as PrepareDepositBack, O as SignedExecutionIntent, Q as SignerProviderOptions, R as TERMINAL_EXECUTE_STATUSES, U as TERMINAL_TRANSACTION_STATUSES, V as TransactionHandle, W as TransactionHandleWaitOptions, X as ViemAccountProviderOptions, Y as ViemLocalAccountLike, Z as ViemProviderOptions, _ as ViemPublicClientLike, $ as ViemWalletClientLike, a0 as buildExecutionIntentTypedData, a1 as computeSoladyERC4337InitCodeHash, a2 as computeSoladyExecutionAccountAddress, a3 as createExecutionAccountClient, a4 as encodeExecutionIntentUserOperationSignature, a5 as evm, a6 as executionAccountPath, a7 as fromWireExecutionIntent, a8 as getExecuteNextAction, a9 as getExecuteSession, aa as getExecutionAccount, ab as getExecutionAccountByAddress, ac as hashExecutionIntent, ad as listExecutionAccounts, ae as ownerAddressToOwnSalt, af as pollExecuteStatus, ag as prepareExecute, ah as reserveExecutionAccount, ai as resolveExecutionAccountPolicy, aj as submitExecute } from '../client-core-leKzUC4O.js';
|
|
8
|
+
export { A as AuthorizationToken, a as Balance, B as BalancesData, E as EnvironmentInfo, I as IssueAuthorizationTokenParams, b as Transaction, T as TransactionListData, g as getEnvironment, c as getTransaction, d as getUserBalances, e as getUserTransactions, i as issueAuthorizationToken } from '../queries-BBgrTZ99.js';
|
|
9
9
|
import 'viem';
|
|
10
10
|
|
|
11
11
|
interface HttpClientOptions {
|
package/dist/advanced/index.js
CHANGED
package/dist/browser/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export { AuthorizationTokenProviderWithContext, AuthorizationTokenRequestContext, AuthorizationTokenSource, CreateUnlinkClientOptions, DEFAULT_AUTHORIZATION_TOKEN_URL, DEFAULT_REGISTER_URL, createUnlinkClient } from '../client/index.js';
|
|
2
2
|
export { a as ENVIRONMENTS, E as EnvironmentName } from '../environments-DF9ju13a.js';
|
|
3
|
-
export { al as AccountMetaMaskOptions, am as AccountMetaMaskResult, an as ApprovalParams, ao as CoreExecutePollOptions, ap as CoreTxPollOptions, aq as DepositParams, ar as DepositWithApprovalParams, aH as Eip1193Provider, e as Eip1193ProviderOptions, f as EthersProviderLike, g as EthersProviderOptions, h as EthersSignerLike, i as EvmProvider, j as EvmTransactionRequest, p as ExecuteResult, r as ExecutionAccount, v as ExecutionAccountListResponse, y as ExecutionAccountPolicy, z as ExecutionAccountReservation, as as ExecutionAccounts, H as ExecutionSession, I as ExecutionSessionStatus, at as Faucet, au as FaucetRequestPrivateTokensParams, av as FaucetRequestTestTokensParams, aw as GetBalancesParams, ax as GetExecutionAccountByAddressParams, ay as GetTransactionsParams, az as ListExecutionAccountsParams, aA as PollExecuteOptions, aB as PollOptions, aC as ReserveExecutionAccountParams, aD as SessionExecuteParams, Q as SignerProviderOptions, V as TransactionHandle, W as TransactionHandleWaitOptions, T as TransactionResult, a as TransferInstruction, aE as TransferParams, ak as UnlinkClient, X as ViemAccountProviderOptions, Y as ViemLocalAccountLike, Z as ViemProviderOptions, _ as ViemPublicClientLike, $ as ViemWalletClientLike, aF as WithdrawParams, aG as account, a5 as evm } from '../client-core-
|
|
4
|
-
export { i as AccountEthereumSignatureOptions, j as AccountExportPayload, A as AccountKeys, k as AccountMnemonicOptions, l as AccountSeedOptions, b as ApiError, C as CapabilityError, d as CapabilityErrorCode, e as CapabilityErrorOptions, R as RegistrationPayload, a as RegistrationPayloadWire, T as TimeoutError, U as UnlinkError, o as UnlinkLocalAccount, V as ValidationError } from '../errors-
|
|
3
|
+
export { al as AccountMetaMaskOptions, am as AccountMetaMaskResult, an as ApprovalParams, ao as CoreExecutePollOptions, ap as CoreTxPollOptions, aq as DepositParams, ar as DepositWithApprovalParams, aH as Eip1193Provider, e as Eip1193ProviderOptions, f as EthersProviderLike, g as EthersProviderOptions, h as EthersSignerLike, i as EvmProvider, j as EvmTransactionRequest, p as ExecuteResult, r as ExecutionAccount, v as ExecutionAccountListResponse, y as ExecutionAccountPolicy, z as ExecutionAccountReservation, as as ExecutionAccounts, H as ExecutionSession, I as ExecutionSessionStatus, at as Faucet, au as FaucetRequestPrivateTokensParams, av as FaucetRequestTestTokensParams, aw as GetBalancesParams, ax as GetExecutionAccountByAddressParams, ay as GetTransactionsParams, az as ListExecutionAccountsParams, aA as PollExecuteOptions, aB as PollOptions, aC as ReserveExecutionAccountParams, aD as SessionExecuteParams, Q as SignerProviderOptions, V as TransactionHandle, W as TransactionHandleWaitOptions, T as TransactionResult, a as TransferInstruction, aE as TransferParams, ak as UnlinkClient, X as ViemAccountProviderOptions, Y as ViemLocalAccountLike, Z as ViemProviderOptions, _ as ViemPublicClientLike, $ as ViemWalletClientLike, aF as WithdrawParams, aG as account, a5 as evm } from '../client-core-leKzUC4O.js';
|
|
4
|
+
export { i as AccountEthereumSignatureOptions, j as AccountExportPayload, A as AccountKeys, k as AccountMnemonicOptions, l as AccountSeedOptions, b as ApiError, C as CapabilityError, d as CapabilityErrorCode, e as CapabilityErrorOptions, R as RegistrationPayload, a as RegistrationPayloadWire, T as TimeoutError, U as UnlinkError, o as UnlinkLocalAccount, V as ValidationError } from '../errors-Bh08EOB1.js';
|
|
5
5
|
import 'openapi-fetch';
|
|
6
6
|
import 'viem';
|
package/dist/browser/index.js
CHANGED
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
DEFAULT_AUTHORIZATION_TOKEN_URL,
|
|
3
3
|
DEFAULT_REGISTER_URL,
|
|
4
4
|
createUnlinkClient
|
|
5
|
-
} from "../chunk-
|
|
5
|
+
} from "../chunk-2Z6R4B6S.js";
|
|
6
6
|
import {
|
|
7
7
|
evm
|
|
8
|
-
} from "../chunk-
|
|
8
|
+
} from "../chunk-AFJKBK7S.js";
|
|
9
9
|
import {
|
|
10
10
|
ENVIRONMENTS,
|
|
11
11
|
account
|
|
@@ -1877,7 +1877,8 @@ async function requestTestTokens(client, params) {
|
|
|
1877
1877
|
const { data, error } = await client.POST("/faucet/mint", {
|
|
1878
1878
|
body: {
|
|
1879
1879
|
evm_address: params.evmAddress,
|
|
1880
|
-
token: params.token
|
|
1880
|
+
token: params.token,
|
|
1881
|
+
amount: params.amount
|
|
1881
1882
|
}
|
|
1882
1883
|
});
|
|
1883
1884
|
if (error) throw new ApiError("requestTestTokens", error);
|
|
@@ -1887,7 +1888,8 @@ async function requestPrivateTokens(client, params) {
|
|
|
1887
1888
|
const { data, error } = await client.POST("/faucet/transfer", {
|
|
1888
1889
|
body: {
|
|
1889
1890
|
unlink_address: params.unlinkAddress,
|
|
1890
|
-
token: params.token
|
|
1891
|
+
token: params.token,
|
|
1892
|
+
amount: params.amount
|
|
1891
1893
|
}
|
|
1892
1894
|
});
|
|
1893
1895
|
if (error) throw new ApiError("requestPrivateTokens", error);
|
|
@@ -2025,7 +2027,8 @@ var ClientCore = class {
|
|
|
2025
2027
|
}
|
|
2026
2028
|
return requestTestTokens(this.client, {
|
|
2027
2029
|
token: params.token,
|
|
2028
|
-
evmAddress
|
|
2030
|
+
evmAddress,
|
|
2031
|
+
amount: params.amount
|
|
2029
2032
|
});
|
|
2030
2033
|
},
|
|
2031
2034
|
requestPrivateTokens: async (params) => {
|
|
@@ -2036,7 +2039,8 @@ var ClientCore = class {
|
|
|
2036
2039
|
}
|
|
2037
2040
|
return requestPrivateTokens(this.client, {
|
|
2038
2041
|
token: params.token,
|
|
2039
|
-
unlinkAddress
|
|
2042
|
+
unlinkAddress,
|
|
2043
|
+
amount: params.amount
|
|
2040
2044
|
});
|
|
2041
2045
|
}
|
|
2042
2046
|
};
|
package/dist/client/index.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { E as EnvironmentName } from '../environments-DF9ju13a.js';
|
|
2
2
|
export { a as ENVIRONMENTS } from '../environments-DF9ju13a.js';
|
|
3
|
-
import { i as EvmProvider, ak as UnlinkClient } from '../client-core-
|
|
4
|
-
export { al as AccountMetaMaskOptions, am as AccountMetaMaskResult, an as ApprovalParams, ao as CoreExecutePollOptions, ap as CoreTxPollOptions, aq as DepositParams, ar as DepositWithApprovalParams, e as Eip1193ProviderOptions, f as EthersProviderLike, g as EthersProviderOptions, h as EthersSignerLike, j as EvmTransactionRequest, p as ExecuteResult, r as ExecutionAccount, v as ExecutionAccountListResponse, y as ExecutionAccountPolicy, z as ExecutionAccountReservation, as as ExecutionAccounts, H as ExecutionSession, I as ExecutionSessionStatus, at as Faucet, au as FaucetRequestPrivateTokensParams, av as FaucetRequestTestTokensParams, aw as GetBalancesParams, ax as GetExecutionAccountByAddressParams, ay as GetTransactionsParams, az as ListExecutionAccountsParams, aA as PollExecuteOptions, aB as PollOptions, aC as ReserveExecutionAccountParams, aD as SessionExecuteParams, Q as SignerProviderOptions, V as TransactionHandle, W as TransactionHandleWaitOptions, T as TransactionResult, a as TransferInstruction, aE as TransferParams, X as ViemAccountProviderOptions, Y as ViemLocalAccountLike, Z as ViemProviderOptions, _ as ViemPublicClientLike, $ as ViemWalletClientLike, aF as WithdrawParams, aG as account, a5 as evm } from '../client-core-
|
|
5
|
-
import { o as UnlinkLocalAccount, R as RegistrationPayload } from '../errors-
|
|
6
|
-
export { i as AccountEthereumSignatureOptions, j as AccountExportPayload, A as AccountKeys, k as AccountMnemonicOptions, l as AccountSeedOptions, b as ApiError, C as CapabilityError, d as CapabilityErrorCode, e as CapabilityErrorOptions, a as RegistrationPayloadWire, T as TimeoutError, U as UnlinkError, V as ValidationError } from '../errors-
|
|
3
|
+
import { i as EvmProvider, ak as UnlinkClient } from '../client-core-leKzUC4O.js';
|
|
4
|
+
export { al as AccountMetaMaskOptions, am as AccountMetaMaskResult, an as ApprovalParams, ao as CoreExecutePollOptions, ap as CoreTxPollOptions, aq as DepositParams, ar as DepositWithApprovalParams, e as Eip1193ProviderOptions, f as EthersProviderLike, g as EthersProviderOptions, h as EthersSignerLike, j as EvmTransactionRequest, p as ExecuteResult, r as ExecutionAccount, v as ExecutionAccountListResponse, y as ExecutionAccountPolicy, z as ExecutionAccountReservation, as as ExecutionAccounts, H as ExecutionSession, I as ExecutionSessionStatus, at as Faucet, au as FaucetRequestPrivateTokensParams, av as FaucetRequestTestTokensParams, aw as GetBalancesParams, ax as GetExecutionAccountByAddressParams, ay as GetTransactionsParams, az as ListExecutionAccountsParams, aA as PollExecuteOptions, aB as PollOptions, aC as ReserveExecutionAccountParams, aD as SessionExecuteParams, Q as SignerProviderOptions, V as TransactionHandle, W as TransactionHandleWaitOptions, T as TransactionResult, a as TransferInstruction, aE as TransferParams, X as ViemAccountProviderOptions, Y as ViemLocalAccountLike, Z as ViemProviderOptions, _ as ViemPublicClientLike, $ as ViemWalletClientLike, aF as WithdrawParams, aG as account, a5 as evm } from '../client-core-leKzUC4O.js';
|
|
5
|
+
import { o as UnlinkLocalAccount, R as RegistrationPayload } from '../errors-Bh08EOB1.js';
|
|
6
|
+
export { i as AccountEthereumSignatureOptions, j as AccountExportPayload, A as AccountKeys, k as AccountMnemonicOptions, l as AccountSeedOptions, b as ApiError, C as CapabilityError, d as CapabilityErrorCode, e as CapabilityErrorOptions, a as RegistrationPayloadWire, T as TimeoutError, U as UnlinkError, V as ValidationError } from '../errors-Bh08EOB1.js';
|
|
7
7
|
import 'openapi-fetch';
|
|
8
8
|
import 'viem';
|
|
9
9
|
|
package/dist/client/index.js
CHANGED
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
DEFAULT_AUTHORIZATION_TOKEN_URL,
|
|
3
3
|
DEFAULT_REGISTER_URL,
|
|
4
4
|
createUnlinkClient
|
|
5
|
-
} from "../chunk-
|
|
5
|
+
} from "../chunk-2Z6R4B6S.js";
|
|
6
6
|
import {
|
|
7
7
|
evm
|
|
8
|
-
} from "../chunk-
|
|
8
|
+
} from "../chunk-AFJKBK7S.js";
|
|
9
9
|
import {
|
|
10
10
|
ENVIRONMENTS,
|
|
11
11
|
account
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Client } from 'openapi-fetch';
|
|
2
|
-
import { o as UnlinkLocalAccount, A as AccountKeys, l as AccountSeedOptions, k as AccountMnemonicOptions, i as AccountEthereumSignatureOptions, j as AccountExportPayload, q as UnlinkRegistrationProvider, R as RegistrationPayload, c as components, x as AccountProvider, p as paths, S as SignSigningRequestFn, m as Signature } from './errors-
|
|
2
|
+
import { o as UnlinkLocalAccount, A as AccountKeys, l as AccountSeedOptions, k as AccountMnemonicOptions, i as AccountEthereumSignatureOptions, j as AccountExportPayload, q as UnlinkRegistrationProvider, R as RegistrationPayload, c as components, x as AccountProvider, p as paths, S as SignSigningRequestFn, m as Signature } from './errors-Bh08EOB1.js';
|
|
3
3
|
import { Hex } from 'viem';
|
|
4
4
|
|
|
5
5
|
interface AccountMetaMaskOptions {
|
|
@@ -818,12 +818,16 @@ interface FaucetRequestTestTokensParams {
|
|
|
818
818
|
token: string;
|
|
819
819
|
/** Defaults to the connected EVM wallet address. Omitting requires an EVM provider. */
|
|
820
820
|
evmAddress?: string;
|
|
821
|
+
/** Amount in wei (decimal string). Omit to use the configured faucet amount. */
|
|
822
|
+
amount?: string;
|
|
821
823
|
}
|
|
822
824
|
/** Parameters for {@link Faucet.requestPrivateTokens}. */
|
|
823
825
|
interface FaucetRequestPrivateTokensParams {
|
|
824
826
|
token: string;
|
|
825
827
|
/** Defaults to the caller's own Unlink address (triggers auto-registration). */
|
|
826
828
|
unlinkAddress?: string;
|
|
829
|
+
/** Amount in wei (decimal string). Omit to use the configured faucet amount. */
|
|
830
|
+
amount?: string;
|
|
827
831
|
}
|
|
828
832
|
/** Testnet faucet helpers, available as `client.faucet.*`. */
|
|
829
833
|
interface Faucet {
|
package/dist/crypto/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { i as AccountEthereumSignatureOptions, j as AccountExportPayload, A as AccountKeys, k as AccountMnemonicOptions, l as AccountSeedOptions, b as ApiError, C as CapabilityError, R as RegistrationPayload, a as RegistrationPayloadWire, S as SignSigningRequestFn, m as Signature, n as SigningRequest, T as TimeoutError, U as UnlinkError, o as UnlinkLocalAccount, q as UnlinkRegistrationProvider, r as UnlinkSpendSigner, V as ValidationError, s as account, f as assertRegistrationPayloadWire, u as assertValidSignature, g as fromRegistrationPayloadWire, v as signSigningRequest, t as toRegistrationPayload, h as toRegistrationPayloadWire, w as verifyMessageHash } from '../errors-
|
|
1
|
+
export { i as AccountEthereumSignatureOptions, j as AccountExportPayload, A as AccountKeys, k as AccountMnemonicOptions, l as AccountSeedOptions, b as ApiError, C as CapabilityError, R as RegistrationPayload, a as RegistrationPayloadWire, S as SignSigningRequestFn, m as Signature, n as SigningRequest, T as TimeoutError, U as UnlinkError, o as UnlinkLocalAccount, q as UnlinkRegistrationProvider, r as UnlinkSpendSigner, V as ValidationError, s as account, f as assertRegistrationPayloadWire, u as assertValidSignature, g as fromRegistrationPayloadWire, v as signSigningRequest, t as toRegistrationPayload, h as toRegistrationPayloadWire, w as verifyMessageHash } from '../errors-Bh08EOB1.js';
|
|
2
2
|
|
|
3
3
|
interface BuildDeriveSeedMessageOptions {
|
|
4
4
|
appId: string;
|
|
@@ -1139,6 +1139,8 @@ interface components {
|
|
|
1139
1139
|
FaucetMintRequest: {
|
|
1140
1140
|
evm_address: components["schemas"]["EvmAddress"];
|
|
1141
1141
|
token: components["schemas"]["EvmAddress"];
|
|
1142
|
+
/** @description Amount in wei (decimal string). Optional; defaults to the configured faucet amount. Must be greater than 0 and ≤ the faucet max amount. */
|
|
1143
|
+
amount?: string;
|
|
1142
1144
|
};
|
|
1143
1145
|
FaucetMintResponse: {
|
|
1144
1146
|
/** @description On-chain transaction hash */
|
|
@@ -1147,6 +1149,8 @@ interface components {
|
|
|
1147
1149
|
FaucetTransferRequest: {
|
|
1148
1150
|
unlink_address: components["schemas"]["Bech32mAddress"];
|
|
1149
1151
|
token: components["schemas"]["EvmAddress"];
|
|
1152
|
+
/** @description Amount in wei (decimal string). Optional; defaults to the configured faucet amount. Must be greater than 0 and ≤ the faucet max amount. */
|
|
1153
|
+
amount?: string;
|
|
1150
1154
|
};
|
|
1151
1155
|
FaucetTransferResponse: {
|
|
1152
1156
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Client } from 'openapi-fetch';
|
|
2
|
-
import { p as paths, c as components } from './errors-
|
|
2
|
+
import { p as paths, c as components } from './errors-Bh08EOB1.js';
|
|
3
3
|
|
|
4
4
|
interface IssueAuthorizationTokenParams {
|
|
5
5
|
/** Canonical bech32m address belonging to the caller's admin/project. */
|