@unlink-xyz/sdk 0.3.0-canary.577 → 0.3.0-canary.595
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/README.md +11 -10
- package/dist/admin/index.d.ts +7 -7
- package/dist/admin/index.js +2 -2
- package/dist/advanced/index.d.ts +6 -6
- package/dist/advanced/index.js +3 -3
- package/dist/browser/index.d.ts +3 -3
- package/dist/browser/index.js +3 -3
- package/dist/{chunk-VWYQOXOL.js → chunk-G3VS7BCR.js} +1 -1
- package/dist/{chunk-EGGG2NHC.js → chunk-JHO4EXS4.js} +2 -2
- package/dist/{chunk-RS7NZTSS.js → chunk-KA5XC7F3.js} +7 -25
- package/dist/{chunk-4F4TGNXO.js → chunk-SS7HP2EC.js} +1 -1
- package/dist/client/index.d.ts +7 -7
- package/dist/client/index.js +3 -3
- package/dist/{client-core-CpPGn72-.d.ts → client-core-DO4ngTU3.d.ts} +1 -1
- package/dist/crypto/index.d.ts +1 -1
- package/dist/{environments-CfyD59YH.d.ts → environments-CK0DwgfR.d.ts} +12 -30
- package/dist/{errors-Bh08EOB1.d.ts → errors-CO3-YXD9.d.ts} +15 -9
- package/dist/{queries-BBgrTZ99.d.ts → queries-Cq58Z-29.d.ts} +1 -1
- package/dist/react/index.d.ts +5 -5
- package/dist/react/index.js +3 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -23,11 +23,12 @@ packages directly.
|
|
|
23
23
|
The SDK connects to hosted deployments by `environment` name. Each environment
|
|
24
24
|
maps to one chain and Engine URL.
|
|
25
25
|
|
|
26
|
-
- `base-sepolia
|
|
27
|
-
- `ethereum-sepolia
|
|
28
|
-
- `arc-testnet
|
|
29
|
-
- `monad-testnet
|
|
30
|
-
- `
|
|
26
|
+
- `base-sepolia` - Base Sepolia, available now
|
|
27
|
+
- `ethereum-sepolia` - Ethereum Sepolia, available now
|
|
28
|
+
- `arc-testnet` - Arc testnet, available now
|
|
29
|
+
- `monad-testnet` - Monad testnet, coming soon
|
|
30
|
+
- `monad` - Monad Mainnet, coming soon
|
|
31
|
+
- `base` - Base Mainnet, coming soon
|
|
31
32
|
|
|
32
33
|
Available hosted environments are exported as `ENVIRONMENTS`. Pass `engineUrl`
|
|
33
34
|
instead for local or custom deployments. New production environments will become
|
|
@@ -55,7 +56,7 @@ const { account: unlinkAccount } = await account.fromMetaMask({
|
|
|
55
56
|
});
|
|
56
57
|
|
|
57
58
|
const me = createUnlinkClient({
|
|
58
|
-
environment: "base-sepolia
|
|
59
|
+
environment: "base-sepolia",
|
|
59
60
|
account: unlinkAccount,
|
|
60
61
|
});
|
|
61
62
|
|
|
@@ -83,7 +84,7 @@ const { account: unlinkAccount } = await account.fromMetaMask({
|
|
|
83
84
|
});
|
|
84
85
|
|
|
85
86
|
const client = createUnlinkClient({
|
|
86
|
-
environment: "base-sepolia
|
|
87
|
+
environment: "base-sepolia",
|
|
87
88
|
account: unlinkAccount,
|
|
88
89
|
});
|
|
89
90
|
|
|
@@ -137,7 +138,7 @@ import {
|
|
|
137
138
|
} from "@unlink-xyz/sdk/admin";
|
|
138
139
|
|
|
139
140
|
const admin = createUnlinkAdmin({
|
|
140
|
-
environment: "base-sepolia
|
|
141
|
+
environment: "base-sepolia",
|
|
141
142
|
apiKey: process.env.UNLINK_API_KEY!,
|
|
142
143
|
});
|
|
143
144
|
|
|
@@ -164,7 +165,7 @@ import { createUnlinkAdmin } from "@unlink-xyz/sdk/admin";
|
|
|
164
165
|
import { account, createUnlinkClient } from "@unlink-xyz/sdk/client";
|
|
165
166
|
|
|
166
167
|
const admin = createUnlinkAdmin({
|
|
167
|
-
environment: "base-sepolia
|
|
168
|
+
environment: "base-sepolia",
|
|
168
169
|
apiKey: process.env.UNLINK_API_KEY!,
|
|
169
170
|
});
|
|
170
171
|
|
|
@@ -172,7 +173,7 @@ const unlinkAccount = account.fromMnemonic({ mnemonic });
|
|
|
172
173
|
const unlinkAddress = await unlinkAccount.getAddress();
|
|
173
174
|
|
|
174
175
|
const me = createUnlinkClient({
|
|
175
|
-
environment: "base-sepolia
|
|
176
|
+
environment: "base-sepolia",
|
|
176
177
|
account: unlinkAccount,
|
|
177
178
|
register: (payload) => admin.users.register(payload),
|
|
178
179
|
authorizationToken: {
|
package/dist/admin/index.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
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-
|
|
6
|
-
import { E as EnvironmentName } from '../environments-
|
|
7
|
-
export { a as ENVIRONMENTS } from '../environments-
|
|
2
|
+
import { R as RegistrationPayload, a as RegistrationPayloadWire, c as components, p as paths } from '../errors-CO3-YXD9.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-CO3-YXD9.js';
|
|
4
|
+
import { B as BalancesData, T as TransactionListData, I as IssueAuthorizationTokenParams, A as AuthorizationToken } from '../queries-Cq58Z-29.js';
|
|
5
|
+
export { i as issueAuthorizationToken } from '../queries-Cq58Z-29.js';
|
|
6
|
+
import { E as EnvironmentName } from '../environments-CK0DwgfR.js';
|
|
7
|
+
export { a as ENVIRONMENTS } from '../environments-CK0DwgfR.js';
|
|
8
8
|
|
|
9
9
|
type EnvironmentInfo = components["schemas"]["EnvironmentInfo"];
|
|
10
10
|
type TransactionStatus = components["schemas"]["TransactionStatus"];
|
|
@@ -13,7 +13,7 @@ type User = components["schemas"]["User"];
|
|
|
13
13
|
interface CreateUnlinkAdminOptions {
|
|
14
14
|
/**
|
|
15
15
|
* Named hosted Unlink environment, resolved to its Engine URL (e.g.
|
|
16
|
-
* `"base-sepolia
|
|
16
|
+
* `"base-sepolia"`). Provide either `environment` or `engineUrl`,
|
|
17
17
|
* not both. See `ENVIRONMENTS` for the known names.
|
|
18
18
|
*/
|
|
19
19
|
environment?: EnvironmentName | (string & {});
|
package/dist/admin/index.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createHttpClient,
|
|
3
3
|
issueAuthorizationToken
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-G3VS7BCR.js";
|
|
5
5
|
import {
|
|
6
6
|
ENVIRONMENTS,
|
|
7
7
|
getEnvironment,
|
|
8
8
|
getUserBalances,
|
|
9
9
|
getUserTransactions,
|
|
10
10
|
resolveEngineUrl
|
|
11
|
-
} from "../chunk-
|
|
11
|
+
} from "../chunk-KA5XC7F3.js";
|
|
12
12
|
import {
|
|
13
13
|
ApiError,
|
|
14
14
|
CapabilityError,
|
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-
|
|
5
|
-
export { a as ENVIRONMENTS, E as EnvironmentName, r as resolveEngineUrl } from '../environments-
|
|
6
|
-
import { Q as SignTypedDataFn, X as Permit2NonceManager, a as TransactionResult, H as TransferInstruction, Y as Permit2TypedData, Z as Permit2WitnessTypedData } from '../client-core-
|
|
7
|
-
export { _ as CreateExecutionAccountClientOptions, $ as DepositBackParams, a0 as DepositBackPreSignParams, a1 as ENTRY_POINT_V07_ADDRESS, h as Eip1193ProviderOptions, i as EthersProviderLike, j as EthersProviderOptions, k as EthersSignerLike, l as EvmProvider, m as EvmTransactionRequest, a2 as ExecuteCall, a3 as ExecuteNextAction, a4 as ExecuteRecoveryError, a5 as ExecuteRecoveryMetadata, a6 as ExecuteRecoveryStage, E as ExecuteResult, a7 as ExecuteSubmitPayload, n as ExecutionAccount, a8 as ExecutionAccountClient, a9 as ExecutionAccountDiscovery, aa as ExecutionAccountIndices, o as ExecutionAccountListResponse, ab as ExecutionAccountNumberish, ac as ExecutionAccountPathIndices, p as ExecutionAccountPolicy, q as ExecutionAccountReservation, ad as ExecutionAccountStatus, ae as ExecutionIntent, af as ExecutionIntentTypedData, ag as ExecutionReservation, s as ExecutionSession, t as ExecutionSessionStatus, ah as ExecutionStatus, ai as GetCodeFn, aj as PollExecuteStatusOptions, ak as PreSignedPermit2DepositBack, al as PrepareDepositBack, am as SignedExecutionIntent, z as SignerProviderOptions, an as TERMINAL_EXECUTE_STATUSES, ao as TERMINAL_TRANSACTION_STATUSES, B as TransactionHandle, T as TransactionHandleWaitOptions, V as ViemAccountProviderOptions, I as ViemLocalAccountLike, J as ViemProviderOptions, K as ViemPublicClientLike, M as ViemWalletClientLike, ap as buildExecutionIntentTypedData, aq as computeSoladyERC4337InitCodeHash, ar as computeSoladyExecutionAccountAddress, as as createExecutionAccountClient, at as encodeExecutionIntentUserOperationSignature, O as evm, au as executionAccountPath, av as fromWireExecutionIntent, aw as getExecuteNextAction, ax as getExecuteSession, ay as getExecutionAccount, az as getExecutionAccountByAddress, aA as hashExecutionIntent, aB as listExecutionAccounts, aC as ownerAddressToOwnSalt, aD as pollExecuteStatus, aE as prepareExecute, aF as reserveExecutionAccount, aG as resolveExecutionAccountPolicy, aH 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-
|
|
3
|
+
import { p as paths, S as SignSigningRequestFn } from '../errors-CO3-YXD9.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-CO3-YXD9.js';
|
|
5
|
+
export { a as ENVIRONMENTS, E as EnvironmentName, r as resolveEngineUrl } from '../environments-CK0DwgfR.js';
|
|
6
|
+
import { Q as SignTypedDataFn, X as Permit2NonceManager, a as TransactionResult, H as TransferInstruction, Y as Permit2TypedData, Z as Permit2WitnessTypedData } from '../client-core-DO4ngTU3.js';
|
|
7
|
+
export { _ as CreateExecutionAccountClientOptions, $ as DepositBackParams, a0 as DepositBackPreSignParams, a1 as ENTRY_POINT_V07_ADDRESS, h as Eip1193ProviderOptions, i as EthersProviderLike, j as EthersProviderOptions, k as EthersSignerLike, l as EvmProvider, m as EvmTransactionRequest, a2 as ExecuteCall, a3 as ExecuteNextAction, a4 as ExecuteRecoveryError, a5 as ExecuteRecoveryMetadata, a6 as ExecuteRecoveryStage, E as ExecuteResult, a7 as ExecuteSubmitPayload, n as ExecutionAccount, a8 as ExecutionAccountClient, a9 as ExecutionAccountDiscovery, aa as ExecutionAccountIndices, o as ExecutionAccountListResponse, ab as ExecutionAccountNumberish, ac as ExecutionAccountPathIndices, p as ExecutionAccountPolicy, q as ExecutionAccountReservation, ad as ExecutionAccountStatus, ae as ExecutionIntent, af as ExecutionIntentTypedData, ag as ExecutionReservation, s as ExecutionSession, t as ExecutionSessionStatus, ah as ExecutionStatus, ai as GetCodeFn, aj as PollExecuteStatusOptions, ak as PreSignedPermit2DepositBack, al as PrepareDepositBack, am as SignedExecutionIntent, z as SignerProviderOptions, an as TERMINAL_EXECUTE_STATUSES, ao as TERMINAL_TRANSACTION_STATUSES, B as TransactionHandle, T as TransactionHandleWaitOptions, V as ViemAccountProviderOptions, I as ViemLocalAccountLike, J as ViemProviderOptions, K as ViemPublicClientLike, M as ViemWalletClientLike, ap as buildExecutionIntentTypedData, aq as computeSoladyERC4337InitCodeHash, ar as computeSoladyExecutionAccountAddress, as as createExecutionAccountClient, at as encodeExecutionIntentUserOperationSignature, O as evm, au as executionAccountPath, av as fromWireExecutionIntent, aw as getExecuteNextAction, ax as getExecuteSession, ay as getExecutionAccount, az as getExecutionAccountByAddress, aA as hashExecutionIntent, aB as listExecutionAccounts, aC as ownerAddressToOwnSalt, aD as pollExecuteStatus, aE as prepareExecute, aF as reserveExecutionAccount, aG as resolveExecutionAccountPolicy, aH as submitExecute } from '../client-core-DO4ngTU3.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-Cq58Z-29.js';
|
|
9
9
|
import 'viem';
|
|
10
10
|
|
|
11
11
|
interface HttpClientOptions {
|
package/dist/advanced/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createHttpClient,
|
|
3
3
|
issueAuthorizationToken
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-G3VS7BCR.js";
|
|
5
5
|
import {
|
|
6
6
|
ENTRY_POINT_V07_ADDRESS,
|
|
7
7
|
ExecuteRecoveryError,
|
|
@@ -35,7 +35,7 @@ import {
|
|
|
35
35
|
submitExecute,
|
|
36
36
|
transfer,
|
|
37
37
|
withdraw
|
|
38
|
-
} from "../chunk-
|
|
38
|
+
} from "../chunk-SS7HP2EC.js";
|
|
39
39
|
import {
|
|
40
40
|
ENVIRONMENTS,
|
|
41
41
|
getEnvironment,
|
|
@@ -43,7 +43,7 @@ import {
|
|
|
43
43
|
getUserBalances,
|
|
44
44
|
getUserTransactions,
|
|
45
45
|
resolveEngineUrl
|
|
46
|
-
} from "../chunk-
|
|
46
|
+
} from "../chunk-KA5XC7F3.js";
|
|
47
47
|
import {
|
|
48
48
|
ApiError,
|
|
49
49
|
CapabilityError,
|
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
|
-
export { a as ENVIRONMENTS, E as EnvironmentName } from '../environments-
|
|
3
|
-
export { A as AccountMetaMaskOptions, d as AccountMetaMaskResult, e as ApprovalParams, C as CoreExecutePollOptions, f as CoreTxPollOptions, D as DepositParams, b as DepositWithApprovalParams, g as Eip1193Provider, h as Eip1193ProviderOptions, i as EthersProviderLike, j as EthersProviderOptions, k as EthersSignerLike, l as EvmProvider, m as EvmTransactionRequest, E as ExecuteResult, n as ExecutionAccount, o as ExecutionAccountListResponse, p as ExecutionAccountPolicy, q as ExecutionAccountReservation, r as ExecutionAccounts, s as ExecutionSession, t as ExecutionSessionStatus, F as Faucet, u as FaucetRequestPrivateTokensParams, v as FaucetRequestTestTokensParams, G as GetBalancesParams, w as GetExecutionAccountByAddressParams, x as GetTransactionsParams, L as ListExecutionAccountsParams, P as PollExecuteOptions, y as PollOptions, R as ReserveExecutionAccountParams, S as SessionExecuteParams, z as SignerProviderOptions, B as TransactionHandle, T as TransactionHandleWaitOptions, a as TransactionResult, H as TransferInstruction, c as TransferParams, U as UnlinkClient, V as ViemAccountProviderOptions, I as ViemLocalAccountLike, J as ViemProviderOptions, K as ViemPublicClientLike, M as ViemWalletClientLike, W as WithdrawParams, N as account, O 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-
|
|
2
|
+
export { a as ENVIRONMENTS, E as EnvironmentName } from '../environments-CK0DwgfR.js';
|
|
3
|
+
export { A as AccountMetaMaskOptions, d as AccountMetaMaskResult, e as ApprovalParams, C as CoreExecutePollOptions, f as CoreTxPollOptions, D as DepositParams, b as DepositWithApprovalParams, g as Eip1193Provider, h as Eip1193ProviderOptions, i as EthersProviderLike, j as EthersProviderOptions, k as EthersSignerLike, l as EvmProvider, m as EvmTransactionRequest, E as ExecuteResult, n as ExecutionAccount, o as ExecutionAccountListResponse, p as ExecutionAccountPolicy, q as ExecutionAccountReservation, r as ExecutionAccounts, s as ExecutionSession, t as ExecutionSessionStatus, F as Faucet, u as FaucetRequestPrivateTokensParams, v as FaucetRequestTestTokensParams, G as GetBalancesParams, w as GetExecutionAccountByAddressParams, x as GetTransactionsParams, L as ListExecutionAccountsParams, P as PollExecuteOptions, y as PollOptions, R as ReserveExecutionAccountParams, S as SessionExecuteParams, z as SignerProviderOptions, B as TransactionHandle, T as TransactionHandleWaitOptions, a as TransactionResult, H as TransferInstruction, c as TransferParams, U as UnlinkClient, V as ViemAccountProviderOptions, I as ViemLocalAccountLike, J as ViemProviderOptions, K as ViemPublicClientLike, M as ViemWalletClientLike, W as WithdrawParams, N as account, O as evm } from '../client-core-DO4ngTU3.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-CO3-YXD9.js';
|
|
5
5
|
import 'openapi-fetch';
|
|
6
6
|
import 'viem';
|
package/dist/browser/index.js
CHANGED
|
@@ -2,14 +2,14 @@ import {
|
|
|
2
2
|
DEFAULT_AUTHORIZATION_TOKEN_URL,
|
|
3
3
|
DEFAULT_REGISTER_URL,
|
|
4
4
|
createUnlinkClient
|
|
5
|
-
} from "../chunk-
|
|
5
|
+
} from "../chunk-JHO4EXS4.js";
|
|
6
6
|
import {
|
|
7
7
|
evm
|
|
8
|
-
} from "../chunk-
|
|
8
|
+
} from "../chunk-SS7HP2EC.js";
|
|
9
9
|
import {
|
|
10
10
|
ENVIRONMENTS,
|
|
11
11
|
account
|
|
12
|
-
} from "../chunk-
|
|
12
|
+
} from "../chunk-KA5XC7F3.js";
|
|
13
13
|
import {
|
|
14
14
|
ApiError,
|
|
15
15
|
CapabilityError,
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
UnlinkClientImpl
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-SS7HP2EC.js";
|
|
4
4
|
import {
|
|
5
5
|
createBodySafeFetch,
|
|
6
6
|
createRetryFetch,
|
|
7
7
|
getEnvironment,
|
|
8
8
|
resolveEngineUrl
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-KA5XC7F3.js";
|
|
10
10
|
import {
|
|
11
11
|
ApiError,
|
|
12
12
|
CapabilityError,
|
|
@@ -116,40 +116,22 @@ var account2 = {
|
|
|
116
116
|
|
|
117
117
|
// src/environments.ts
|
|
118
118
|
var ENVIRONMENTS = {
|
|
119
|
-
"base-sepolia
|
|
120
|
-
engineUrl: "https://base-sepolia-staging-api.unlink.xyz"
|
|
121
|
-
},
|
|
122
|
-
"base-sepolia-production": {
|
|
119
|
+
"base-sepolia": {
|
|
123
120
|
engineUrl: "https://base-sepolia-production-api.unlink.xyz"
|
|
124
121
|
},
|
|
125
|
-
"
|
|
126
|
-
engineUrl: "https://base-staging-api.unlink.xyz"
|
|
127
|
-
},
|
|
128
|
-
"monad-testnet-staging": {
|
|
129
|
-
engineUrl: "https://monad-testnet-staging-api.unlink.xyz"
|
|
130
|
-
},
|
|
131
|
-
"ethereum-sepolia-staging": {
|
|
132
|
-
engineUrl: "https://ethereum-sepolia-staging-api.unlink.xyz"
|
|
133
|
-
},
|
|
134
|
-
"monad-testnet-production": {
|
|
135
|
-
engineUrl: "https://monad-testnet-production-api.unlink.xyz"
|
|
136
|
-
},
|
|
137
|
-
"ethereum-sepolia-production": {
|
|
122
|
+
"ethereum-sepolia": {
|
|
138
123
|
engineUrl: "https://ethereum-sepolia-production-api.unlink.xyz"
|
|
139
124
|
},
|
|
140
|
-
"monad-
|
|
141
|
-
engineUrl: "https://monad-
|
|
125
|
+
"monad-testnet": {
|
|
126
|
+
engineUrl: "https://monad-testnet-production-api.unlink.xyz"
|
|
142
127
|
},
|
|
143
|
-
|
|
128
|
+
monad: {
|
|
144
129
|
engineUrl: "https://monad-production-api.unlink.xyz"
|
|
145
130
|
},
|
|
146
|
-
|
|
131
|
+
base: {
|
|
147
132
|
engineUrl: "https://base-production-api.unlink.xyz"
|
|
148
133
|
},
|
|
149
|
-
"arc-testnet
|
|
150
|
-
engineUrl: "https://arc-testnet-staging-api.unlink.xyz"
|
|
151
|
-
},
|
|
152
|
-
"arc-testnet-production": {
|
|
134
|
+
"arc-testnet": {
|
|
153
135
|
engineUrl: "https://arc-testnet-production-api.unlink.xyz"
|
|
154
136
|
}
|
|
155
137
|
};
|
package/dist/client/index.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { E as EnvironmentName } from '../environments-
|
|
2
|
-
export { a as ENVIRONMENTS } from '../environments-
|
|
3
|
-
import { l as EvmProvider, U as UnlinkClient } from '../client-core-
|
|
4
|
-
export { A as AccountMetaMaskOptions, d as AccountMetaMaskResult, e as ApprovalParams, C as CoreExecutePollOptions, f as CoreTxPollOptions, D as DepositParams, b as DepositWithApprovalParams, h as Eip1193ProviderOptions, i as EthersProviderLike, j as EthersProviderOptions, k as EthersSignerLike, m as EvmTransactionRequest, E as ExecuteResult, n as ExecutionAccount, o as ExecutionAccountListResponse, p as ExecutionAccountPolicy, q as ExecutionAccountReservation, r as ExecutionAccounts, s as ExecutionSession, t as ExecutionSessionStatus, F as Faucet, u as FaucetRequestPrivateTokensParams, v as FaucetRequestTestTokensParams, G as GetBalancesParams, w as GetExecutionAccountByAddressParams, x as GetTransactionsParams, L as ListExecutionAccountsParams, P as PollExecuteOptions, y as PollOptions, R as ReserveExecutionAccountParams, S as SessionExecuteParams, z as SignerProviderOptions, B as TransactionHandle, T as TransactionHandleWaitOptions, a as TransactionResult, H as TransferInstruction, c as TransferParams, V as ViemAccountProviderOptions, I as ViemLocalAccountLike, J as ViemProviderOptions, K as ViemPublicClientLike, M as ViemWalletClientLike, W as WithdrawParams, N as account, O 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-
|
|
1
|
+
import { E as EnvironmentName } from '../environments-CK0DwgfR.js';
|
|
2
|
+
export { a as ENVIRONMENTS } from '../environments-CK0DwgfR.js';
|
|
3
|
+
import { l as EvmProvider, U as UnlinkClient } from '../client-core-DO4ngTU3.js';
|
|
4
|
+
export { A as AccountMetaMaskOptions, d as AccountMetaMaskResult, e as ApprovalParams, C as CoreExecutePollOptions, f as CoreTxPollOptions, D as DepositParams, b as DepositWithApprovalParams, h as Eip1193ProviderOptions, i as EthersProviderLike, j as EthersProviderOptions, k as EthersSignerLike, m as EvmTransactionRequest, E as ExecuteResult, n as ExecutionAccount, o as ExecutionAccountListResponse, p as ExecutionAccountPolicy, q as ExecutionAccountReservation, r as ExecutionAccounts, s as ExecutionSession, t as ExecutionSessionStatus, F as Faucet, u as FaucetRequestPrivateTokensParams, v as FaucetRequestTestTokensParams, G as GetBalancesParams, w as GetExecutionAccountByAddressParams, x as GetTransactionsParams, L as ListExecutionAccountsParams, P as PollExecuteOptions, y as PollOptions, R as ReserveExecutionAccountParams, S as SessionExecuteParams, z as SignerProviderOptions, B as TransactionHandle, T as TransactionHandleWaitOptions, a as TransactionResult, H as TransferInstruction, c as TransferParams, V as ViemAccountProviderOptions, I as ViemLocalAccountLike, J as ViemProviderOptions, K as ViemPublicClientLike, M as ViemWalletClientLike, W as WithdrawParams, N as account, O as evm } from '../client-core-DO4ngTU3.js';
|
|
5
|
+
import { o as UnlinkLocalAccount, R as RegistrationPayload } from '../errors-CO3-YXD9.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-CO3-YXD9.js';
|
|
7
7
|
import 'openapi-fetch';
|
|
8
8
|
import 'viem';
|
|
9
9
|
|
|
@@ -30,7 +30,7 @@ type AuthorizationTokenSource = {
|
|
|
30
30
|
interface CreateUnlinkClientOptions {
|
|
31
31
|
/**
|
|
32
32
|
* Named hosted Unlink environment, resolved to its Engine URL (e.g.
|
|
33
|
-
* `"base-sepolia
|
|
33
|
+
* `"base-sepolia"`). Provide either `environment` or `engineUrl`,
|
|
34
34
|
* not both. See `ENVIRONMENTS` for the known names.
|
|
35
35
|
*/
|
|
36
36
|
environment?: EnvironmentName | (string & {});
|
package/dist/client/index.js
CHANGED
|
@@ -2,14 +2,14 @@ import {
|
|
|
2
2
|
DEFAULT_AUTHORIZATION_TOKEN_URL,
|
|
3
3
|
DEFAULT_REGISTER_URL,
|
|
4
4
|
createUnlinkClient
|
|
5
|
-
} from "../chunk-
|
|
5
|
+
} from "../chunk-JHO4EXS4.js";
|
|
6
6
|
import {
|
|
7
7
|
evm
|
|
8
|
-
} from "../chunk-
|
|
8
|
+
} from "../chunk-SS7HP2EC.js";
|
|
9
9
|
import {
|
|
10
10
|
ENVIRONMENTS,
|
|
11
11
|
account
|
|
12
|
-
} from "../chunk-
|
|
12
|
+
} from "../chunk-KA5XC7F3.js";
|
|
13
13
|
import {
|
|
14
14
|
ApiError,
|
|
15
15
|
CapabilityError,
|
|
@@ -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-CO3-YXD9.js';
|
|
3
3
|
import { Hex } from 'viem';
|
|
4
4
|
|
|
5
5
|
interface AccountMetaMaskOptions {
|
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-CO3-YXD9.js';
|
|
2
2
|
|
|
3
3
|
interface BuildDeriveSeedMessageOptions {
|
|
4
4
|
appId: string;
|
|
@@ -1,45 +1,27 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Hosted Unlink deployments, keyed by the
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
2
|
+
* Hosted Unlink deployments, keyed by the product-facing alias an integrator
|
|
3
|
+
* passes as `environment`; the value is the public Engine URL the SDK talks to.
|
|
4
|
+
* Local/custom deployments use the `engineUrl` escape hatch instead of an entry
|
|
5
|
+
* here. Engine may still report its backend deployment slug from
|
|
6
|
+
* `GET /info/environment`.
|
|
7
7
|
*/
|
|
8
8
|
declare const ENVIRONMENTS: {
|
|
9
|
-
readonly "base-sepolia
|
|
10
|
-
readonly engineUrl: "https://base-sepolia-staging-api.unlink.xyz";
|
|
11
|
-
};
|
|
12
|
-
readonly "base-sepolia-production": {
|
|
9
|
+
readonly "base-sepolia": {
|
|
13
10
|
readonly engineUrl: "https://base-sepolia-production-api.unlink.xyz";
|
|
14
11
|
};
|
|
15
|
-
readonly "
|
|
16
|
-
readonly engineUrl: "https://base-staging-api.unlink.xyz";
|
|
17
|
-
};
|
|
18
|
-
readonly "monad-testnet-staging": {
|
|
19
|
-
readonly engineUrl: "https://monad-testnet-staging-api.unlink.xyz";
|
|
20
|
-
};
|
|
21
|
-
readonly "ethereum-sepolia-staging": {
|
|
22
|
-
readonly engineUrl: "https://ethereum-sepolia-staging-api.unlink.xyz";
|
|
23
|
-
};
|
|
24
|
-
readonly "monad-testnet-production": {
|
|
25
|
-
readonly engineUrl: "https://monad-testnet-production-api.unlink.xyz";
|
|
26
|
-
};
|
|
27
|
-
readonly "ethereum-sepolia-production": {
|
|
12
|
+
readonly "ethereum-sepolia": {
|
|
28
13
|
readonly engineUrl: "https://ethereum-sepolia-production-api.unlink.xyz";
|
|
29
14
|
};
|
|
30
|
-
readonly "monad-
|
|
31
|
-
readonly engineUrl: "https://monad-
|
|
15
|
+
readonly "monad-testnet": {
|
|
16
|
+
readonly engineUrl: "https://monad-testnet-production-api.unlink.xyz";
|
|
32
17
|
};
|
|
33
|
-
readonly
|
|
18
|
+
readonly monad: {
|
|
34
19
|
readonly engineUrl: "https://monad-production-api.unlink.xyz";
|
|
35
20
|
};
|
|
36
|
-
readonly
|
|
21
|
+
readonly base: {
|
|
37
22
|
readonly engineUrl: "https://base-production-api.unlink.xyz";
|
|
38
23
|
};
|
|
39
|
-
readonly "arc-testnet
|
|
40
|
-
readonly engineUrl: "https://arc-testnet-staging-api.unlink.xyz";
|
|
41
|
-
};
|
|
42
|
-
readonly "arc-testnet-production": {
|
|
24
|
+
readonly "arc-testnet": {
|
|
43
25
|
readonly engineUrl: "https://arc-testnet-production-api.unlink.xyz";
|
|
44
26
|
};
|
|
45
27
|
};
|
|
@@ -633,7 +633,7 @@ interface components {
|
|
|
633
633
|
status: string;
|
|
634
634
|
};
|
|
635
635
|
EnvironmentInfo: {
|
|
636
|
-
/** @description Environment identifier (e.g. "base-sepolia
|
|
636
|
+
/** @description Environment identifier (e.g. "base-sepolia") */
|
|
637
637
|
name: string;
|
|
638
638
|
chain_id: number;
|
|
639
639
|
/** @description UnlinkPool contract address */
|
|
@@ -717,6 +717,12 @@ interface components {
|
|
|
717
717
|
/** Format: uuid */
|
|
718
718
|
id: string;
|
|
719
719
|
user_address: components["schemas"]["Bech32mAddress"];
|
|
720
|
+
/** @description Sender Unlink address when the transaction has an explicit sender participant */
|
|
721
|
+
sender_address?: components["schemas"]["Bech32mAddress"] | null;
|
|
722
|
+
/** @description Single recipient Unlink address when exactly one recipient participant exists */
|
|
723
|
+
recipient_address?: components["schemas"]["Bech32mAddress"] | null;
|
|
724
|
+
/** @description All recipient Unlink addresses for participant-aware transaction history */
|
|
725
|
+
recipient_addresses?: components["schemas"]["Bech32mAddress"][];
|
|
720
726
|
type: components["schemas"]["TransactionType"];
|
|
721
727
|
status: components["schemas"]["TransactionStatus"];
|
|
722
728
|
environment: string;
|
|
@@ -739,7 +745,7 @@ interface components {
|
|
|
739
745
|
token: components["schemas"]["EvmAddress"];
|
|
740
746
|
/** @description Token amount as string */
|
|
741
747
|
amount: string;
|
|
742
|
-
/** @description Target environment (e.g. "base-sepolia
|
|
748
|
+
/** @description Target environment (e.g. "base-sepolia") */
|
|
743
749
|
environment: string;
|
|
744
750
|
/** @description Depositor EOA address */
|
|
745
751
|
evm_address: components["schemas"]["EvmAddress"];
|
|
@@ -765,7 +771,7 @@ interface components {
|
|
|
765
771
|
token: components["schemas"]["EvmAddress"];
|
|
766
772
|
/** @description Token amount as string */
|
|
767
773
|
amount: string;
|
|
768
|
-
/** @description Target environment (e.g. "base-sepolia
|
|
774
|
+
/** @description Target environment (e.g. "base-sepolia") */
|
|
769
775
|
environment: string;
|
|
770
776
|
/** @description Depositor EOA address */
|
|
771
777
|
evm_address: components["schemas"]["EvmAddress"];
|
|
@@ -863,7 +869,7 @@ interface components {
|
|
|
863
869
|
token: components["schemas"]["EvmAddress"];
|
|
864
870
|
/** @description Token amount as string */
|
|
865
871
|
amount: string;
|
|
866
|
-
/** @description Target environment (e.g. "base-sepolia
|
|
872
|
+
/** @description Target environment (e.g. "base-sepolia") */
|
|
867
873
|
environment: string;
|
|
868
874
|
};
|
|
869
875
|
/** @enum {string} */
|
|
@@ -909,7 +915,7 @@ interface components {
|
|
|
909
915
|
ExecutionAccountReserveRequest: {
|
|
910
916
|
/** @description Sender Unlink address whose notes fund the ExecutionAccount */
|
|
911
917
|
unlink_address: components["schemas"]["Bech32mAddress"];
|
|
912
|
-
/** @description Target environment (e.g. "base-sepolia
|
|
918
|
+
/** @description Target environment (e.g. "base-sepolia") */
|
|
913
919
|
environment: string;
|
|
914
920
|
allocation_policy: components["schemas"]["ExecutionAccountAllocationPolicy"];
|
|
915
921
|
/**
|
|
@@ -1269,7 +1275,7 @@ interface components {
|
|
|
1269
1275
|
limit: number;
|
|
1270
1276
|
/** @description Opaque pagination cursor from a previous response */
|
|
1271
1277
|
cursor: string;
|
|
1272
|
-
/** @description Environment name (e.g. "base-sepolia
|
|
1278
|
+
/** @description Environment name (e.g. "base-sepolia") */
|
|
1273
1279
|
environmentQuery: string;
|
|
1274
1280
|
/** @description ERC-20 token address to filter by */
|
|
1275
1281
|
tokenQuery: string;
|
|
@@ -1531,7 +1537,7 @@ interface operations {
|
|
|
1531
1537
|
getUserTransactions: {
|
|
1532
1538
|
parameters: {
|
|
1533
1539
|
query?: {
|
|
1534
|
-
/** @description Environment name (e.g. "base-sepolia
|
|
1540
|
+
/** @description Environment name (e.g. "base-sepolia") */
|
|
1535
1541
|
environment?: components["parameters"]["environmentQuery"];
|
|
1536
1542
|
/** @description Filter by transaction status */
|
|
1537
1543
|
status?: components["parameters"]["statusQuery"];
|
|
@@ -1570,7 +1576,7 @@ interface operations {
|
|
|
1570
1576
|
listTransactions: {
|
|
1571
1577
|
parameters: {
|
|
1572
1578
|
query?: {
|
|
1573
|
-
/** @description Environment name (e.g. "base-sepolia
|
|
1579
|
+
/** @description Environment name (e.g. "base-sepolia") */
|
|
1574
1580
|
environment?: components["parameters"]["environmentQuery"];
|
|
1575
1581
|
/** @description Filter by transaction status */
|
|
1576
1582
|
status?: components["parameters"]["statusQuery"];
|
|
@@ -2093,7 +2099,7 @@ interface operations {
|
|
|
2093
2099
|
listExecutionAccounts: {
|
|
2094
2100
|
parameters: {
|
|
2095
2101
|
query?: {
|
|
2096
|
-
/** @description Environment name (e.g. "base-sepolia
|
|
2102
|
+
/** @description Environment name (e.g. "base-sepolia") */
|
|
2097
2103
|
environment?: components["parameters"]["environmentQuery"];
|
|
2098
2104
|
/**
|
|
2099
2105
|
* @description Filter to the single account at this address. Requires `environment`.
|
|
@@ -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-CO3-YXD9.js';
|
|
3
3
|
|
|
4
4
|
interface IssueAuthorizationTokenParams {
|
|
5
5
|
/** Canonical bech32m address belonging to the caller's admin/project. */
|
package/dist/react/index.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
2
|
import { CreateUnlinkClientOptions } from '../client/index.js';
|
|
3
3
|
export { AuthorizationTokenProviderWithContext, AuthorizationTokenRequestContext, AuthorizationTokenSource, DEFAULT_AUTHORIZATION_TOKEN_URL, DEFAULT_REGISTER_URL, createUnlinkClient } from '../client/index.js';
|
|
4
|
-
import { U as UnlinkClient, D as DepositParams, T as TransactionHandleWaitOptions, a as TransactionResult, b as DepositWithApprovalParams, c as TransferParams, W as WithdrawParams, S as SessionExecuteParams, E as ExecuteResult } from '../client-core-
|
|
5
|
-
export { A as AccountMetaMaskOptions, d as AccountMetaMaskResult, e as ApprovalParams, C as CoreExecutePollOptions, f as CoreTxPollOptions, g as Eip1193Provider, h as Eip1193ProviderOptions, i as EthersProviderLike, j as EthersProviderOptions, k as EthersSignerLike, l as EvmProvider, m as EvmTransactionRequest, n as ExecutionAccount, o as ExecutionAccountListResponse, p as ExecutionAccountPolicy, q as ExecutionAccountReservation, r as ExecutionAccounts, s as ExecutionSession, t as ExecutionSessionStatus, F as Faucet, u as FaucetRequestPrivateTokensParams, v as FaucetRequestTestTokensParams, G as GetBalancesParams, w as GetExecutionAccountByAddressParams, x as GetTransactionsParams, L as ListExecutionAccountsParams, P as PollExecuteOptions, y as PollOptions, R as ReserveExecutionAccountParams, z as SignerProviderOptions, B as TransactionHandle, H as TransferInstruction, V as ViemAccountProviderOptions, I as ViemLocalAccountLike, J as ViemProviderOptions, K as ViemPublicClientLike, M as ViemWalletClientLike, N as account, O as evm } from '../client-core-
|
|
6
|
-
import { c as components } from '../errors-
|
|
7
|
-
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-
|
|
8
|
-
export { a as ENVIRONMENTS, E as EnvironmentName } from '../environments-
|
|
4
|
+
import { U as UnlinkClient, D as DepositParams, T as TransactionHandleWaitOptions, a as TransactionResult, b as DepositWithApprovalParams, c as TransferParams, W as WithdrawParams, S as SessionExecuteParams, E as ExecuteResult } from '../client-core-DO4ngTU3.js';
|
|
5
|
+
export { A as AccountMetaMaskOptions, d as AccountMetaMaskResult, e as ApprovalParams, C as CoreExecutePollOptions, f as CoreTxPollOptions, g as Eip1193Provider, h as Eip1193ProviderOptions, i as EthersProviderLike, j as EthersProviderOptions, k as EthersSignerLike, l as EvmProvider, m as EvmTransactionRequest, n as ExecutionAccount, o as ExecutionAccountListResponse, p as ExecutionAccountPolicy, q as ExecutionAccountReservation, r as ExecutionAccounts, s as ExecutionSession, t as ExecutionSessionStatus, F as Faucet, u as FaucetRequestPrivateTokensParams, v as FaucetRequestTestTokensParams, G as GetBalancesParams, w as GetExecutionAccountByAddressParams, x as GetTransactionsParams, L as ListExecutionAccountsParams, P as PollExecuteOptions, y as PollOptions, R as ReserveExecutionAccountParams, z as SignerProviderOptions, B as TransactionHandle, H as TransferInstruction, V as ViemAccountProviderOptions, I as ViemLocalAccountLike, J as ViemProviderOptions, K as ViemPublicClientLike, M as ViemWalletClientLike, N as account, O as evm } from '../client-core-DO4ngTU3.js';
|
|
6
|
+
import { c as components } from '../errors-CO3-YXD9.js';
|
|
7
|
+
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-CO3-YXD9.js';
|
|
8
|
+
export { a as ENVIRONMENTS, E as EnvironmentName } from '../environments-CK0DwgfR.js';
|
|
9
9
|
import 'openapi-fetch';
|
|
10
10
|
import 'viem';
|
|
11
11
|
|
package/dist/react/index.js
CHANGED
|
@@ -2,14 +2,14 @@ import {
|
|
|
2
2
|
DEFAULT_AUTHORIZATION_TOKEN_URL,
|
|
3
3
|
DEFAULT_REGISTER_URL,
|
|
4
4
|
createUnlinkClient
|
|
5
|
-
} from "../chunk-
|
|
5
|
+
} from "../chunk-JHO4EXS4.js";
|
|
6
6
|
import {
|
|
7
7
|
evm
|
|
8
|
-
} from "../chunk-
|
|
8
|
+
} from "../chunk-SS7HP2EC.js";
|
|
9
9
|
import {
|
|
10
10
|
ENVIRONMENTS,
|
|
11
11
|
account
|
|
12
|
-
} from "../chunk-
|
|
12
|
+
} from "../chunk-KA5XC7F3.js";
|
|
13
13
|
import {
|
|
14
14
|
ApiError,
|
|
15
15
|
CapabilityError,
|