@chipi-stack/types 14.14.0 → 14.15.1
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/index.d.mts +59 -6
- package/dist/index.d.ts +59 -6
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -87,9 +87,15 @@ type WalletType = "CHIPI" | "READY" | "SHHH" | (string & {});
|
|
|
87
87
|
type ShhhSignerKind = "STARK" | "ED25519" | "SECP256K1" | "EIP191_SECP256K1" | "EIP712_SECP256K1" | "P256" | "WEBAUTHN_P256" | "JWT_ES256" | "JWT_ES256_APPLE_SUB" | "BLS12_381";
|
|
88
88
|
/**
|
|
89
89
|
* Authentication method used for wallet encryption.
|
|
90
|
-
* - "passkey": passkey only
|
|
91
|
-
*
|
|
92
|
-
*
|
|
90
|
+
* - "passkey": passkey only. On the web the wrap key is the WebAuthn PRF
|
|
91
|
+
* output, derived on the device; the passkey's platform sync (iCloud
|
|
92
|
+
* Keychain, Google Password Manager) is the recovery path. The recommended
|
|
93
|
+
* choice for self-custodial web apps. On Expo the key is a random key kept
|
|
94
|
+
* in this device's secure storage only, so pair it with a PIN backup there.
|
|
95
|
+
* - "pin": PIN only (legacy). A short PIN can be brute-forced offline against
|
|
96
|
+
* the stored ciphertext.
|
|
97
|
+
* - "passkey+pin": passkey primary + PIN backup. The backup is only as strong
|
|
98
|
+
* as the PIN (same offline brute-force exposure as "pin").
|
|
93
99
|
*/
|
|
94
100
|
type AuthMethod = "passkey" | "pin" | "passkey+pin";
|
|
95
101
|
interface WalletData {
|
|
@@ -114,6 +120,12 @@ interface DeploymentData {
|
|
|
114
120
|
calldata: string[];
|
|
115
121
|
}
|
|
116
122
|
interface CreateWalletParams {
|
|
123
|
+
/**
|
|
124
|
+
* Key that encrypts the private key. A PIN, or a passkey-derived key.
|
|
125
|
+
* With `useCreateWallet` and `usePasskey: true` it is optional: omit it for a
|
|
126
|
+
* passkey-only wallet, or pass a PIN to keep it as a backup.
|
|
127
|
+
* Required on the server SDK.
|
|
128
|
+
*/
|
|
117
129
|
encryptKey?: string;
|
|
118
130
|
externalUserId: string;
|
|
119
131
|
userId?: string;
|
|
@@ -155,10 +167,18 @@ interface CreateWalletParams {
|
|
|
155
167
|
* itself.
|
|
156
168
|
*/
|
|
157
169
|
ownerPubkeyFelts?: string[];
|
|
170
|
+
/**
|
|
171
|
+
* Browser/Expo hooks only (`useCreateWallet`): create a passkey and use the
|
|
172
|
+
* key it yields as `encryptKey`. The server SDK does not create passkeys.
|
|
173
|
+
*/
|
|
158
174
|
usePasskey?: boolean;
|
|
159
|
-
/**
|
|
175
|
+
/**
|
|
176
|
+
* Optional PIN for a backup copy of the private key (dual-key wrapping).
|
|
177
|
+
* `useCreateWallet` fills it from `encryptKey` when `usePasskey: true` and a
|
|
178
|
+
* PIN is given; omit both for a passkey-only wallet.
|
|
179
|
+
*/
|
|
160
180
|
encryptKeyBackup?: string;
|
|
161
|
-
/** Auth method: "passkey+pin"
|
|
181
|
+
/** Auth method: "passkey" (passkey only), "passkey+pin" (dual-key) or "pin" (PIN only) */
|
|
162
182
|
authMethod?: AuthMethod;
|
|
163
183
|
/** WebAuthn credential ID stored in backend for recovery */
|
|
164
184
|
credentialId?: string;
|
|
@@ -1149,6 +1169,7 @@ interface X402PaymentConfig {
|
|
|
1149
1169
|
* `@chipi-stack/backend`. Every call is billed to the organization's credits
|
|
1150
1170
|
* and needs a secret key (`sk_`), so these are server-side only.
|
|
1151
1171
|
*/
|
|
1172
|
+
|
|
1152
1173
|
/** Actions `/v1/ai/think` may decide. */
|
|
1153
1174
|
type ThinkAction = "swap" | "supply" | "withdraw" | "hold";
|
|
1154
1175
|
/**
|
|
@@ -1219,6 +1240,38 @@ interface ThinkResponse {
|
|
|
1219
1240
|
latencyMs: number;
|
|
1220
1241
|
/** `true` only for `sk_dev_` keys: canned response, no model was called. */
|
|
1221
1242
|
sandbox?: boolean;
|
|
1243
|
+
/** Present when the call was paid over x402 instead of credits (`cost.charged` is 0). */
|
|
1244
|
+
x402Payment?: ThinkX402Payment;
|
|
1245
|
+
}
|
|
1246
|
+
/** The x402 payment that paid a think call. */
|
|
1247
|
+
interface ThinkX402Payment {
|
|
1248
|
+
/** Hash of the USDC transfer that paid the call. */
|
|
1249
|
+
transactionHash: string;
|
|
1250
|
+
payer: string;
|
|
1251
|
+
/** USDC base units (6 decimals). */
|
|
1252
|
+
amount: string;
|
|
1253
|
+
asset: string;
|
|
1254
|
+
}
|
|
1255
|
+
/**
|
|
1256
|
+
* Pay a think call over x402 with a session key when the API asks for it
|
|
1257
|
+
* (402 with a `session-transfer` offer, e.g. when credits are short).
|
|
1258
|
+
*/
|
|
1259
|
+
interface ThinkSessionPayment extends Omit<ExecuteWithSessionParams, "calls"> {
|
|
1260
|
+
/**
|
|
1261
|
+
* The most one call may cost, in USDC base units (6 decimals). A higher
|
|
1262
|
+
* price is refused before anything is paid. Also cap USDC in the session's
|
|
1263
|
+
* spending policy: this is a client-side guard, the policy is the on-chain one.
|
|
1264
|
+
*/
|
|
1265
|
+
maxAmount: bigint | string;
|
|
1266
|
+
}
|
|
1267
|
+
interface ThinkOptions {
|
|
1268
|
+
/** Pay with this session key when the API answers 402 with an x402 offer. */
|
|
1269
|
+
payWithSession?: ThinkSessionPayment;
|
|
1270
|
+
/**
|
|
1271
|
+
* A ready `X-PAYMENT` header value, to retry a call with a payment that was
|
|
1272
|
+
* made but not served (the hash is in `error.details.x402PaymentHash`).
|
|
1273
|
+
*/
|
|
1274
|
+
xPayment?: string;
|
|
1222
1275
|
}
|
|
1223
1276
|
interface AiChatMessage {
|
|
1224
1277
|
role: "system" | "user" | "assistant";
|
|
@@ -1421,4 +1474,4 @@ interface PlanSnapshot {
|
|
|
1421
1474
|
planPaymentProvider: PlanPaymentProvider | null;
|
|
1422
1475
|
}
|
|
1423
1476
|
|
|
1424
|
-
export { type AddSessionKeyParams, type AiChatMessage, type AiChatParams, type AiChatResponse, type AiCost, type AiExecuteCall, type AiExecuteParams, type AiExecuteResponse, type AiModel, type AiModelsResponse, type AiPrices, type AiPricesParams, type AiSignals, type AiSignalsParams, type AiSwapQuote, type AiTokenPrice, type AiTokenSignals, type AiUsage, type ApiError, type ApiKey, type ApiResponse, type ApproveHookInput, type ApproveParams, type AsyncReturnType, type AuthContext, type AuthMethod, type CallAnyContractParams, Chain, ChainToken, type ChipiBrowserSDKConfig, type ChipiSDKConfig, type ChipiServerSDKConfig, type Country, type CreateCustodialWalletParams, type CreateSessionKeyParams, type CreateSkuPurchaseBody, type CreateSkuPurchaseParams, type CreateUserParams, type CreateWalletParams, type CreateWalletResponse, Currency, type DeepPartial, type DeploymentData, type ErrorWithCode, type ExecuteSponsoredTransactionParams, type ExecuteSponsoredTransactionResponse, type ExecuteTransactionParams, type ExecuteWalletUpgradeParams, type ExecuteWalletUpgradeResponse, type ExecuteWithSessionParams, type GetMerchantWalletParams, type GetSessionDataParams, type GetSkuListQuery, type GetSpendingPolicyParams, type GetTokenBalanceParams, type GetTokenBalanceResponse, type GetTransactionListQuery, type GetTransactionParams, type GetTransactionStatusParams, type GetTransactionsParams, type GetUserParams, type GetWalletParams, type GetWalletResponse, type JwtPayload, type MaybePromise, type MigrateWalletToPasskeyParams, type NonEmptyArray, type NonceStore, OnChainTxStatus, type Optional, type PaginatedResponse, type PaginationQuery, type PasskeyMetadata, type PaymasterAccount, type PaymasterAdapter, type PaymentPayload, type PaymentRequirement, type Plan, type PlanPaymentProvider, type PlanSnapshot, type PrepareTypedDataParams, type PrepareTypedDataResponse, type PrepareWalletCreationParams, type PrepareWalletCreationResponse, type PrepareWalletUpgradeParams, type PrepareWalletUpgradeResponse, type Prettify, type RecordSendTransactionParams, type RemoveSpendingPolicyParams, type RequireAtLeastOne, type RevokeSessionKeyParams, STARKNET_CONTRACTS, type SessionConfig, type SessionDataResponse, type SessionKeyData, type SessionSpendingPolicy, type SessionWalletData, type SetSpendingPolicyParams, type SettleResponse, type SetupSessionParams, type ShhhPaymentExtension, type ShhhSignerKind, type SignTypedDataParams, type SignTypedDataResult, type Sku, type SkuCategory, type SkuProvider, type SpendingPolicyConfig, type SpendingPolicyData, type StakeVesuUsdcHookInputParams, type StakeVesuUsdcParams, type SyncOnChainTransfersParams, type SyncOnChainTransfersResponse, type ThinkAction, type ThinkDecision, type ThinkParams, type ThinkRawDecision, type ThinkResponse, type ThinkRiskParams, type Transaction, type TransactionStatusResponse, type TransferHookInput, type TransferParams, type TxStatus, type TxType, type UpdateWalletEncryptionParams, type UpdateWalletEncryptionResponse, type User, type ValueOrFunction, type VerifyResponse, type WalletData, type WalletType, type WithdrawVesuUsdcHookInputParams, type WithdrawVesuUsdcParams, type X402ClientConfig, type X402FacilitatorConfig, type X402PaymentConfig, type alphaUrl };
|
|
1477
|
+
export { type AddSessionKeyParams, type AiChatMessage, type AiChatParams, type AiChatResponse, type AiCost, type AiExecuteCall, type AiExecuteParams, type AiExecuteResponse, type AiModel, type AiModelsResponse, type AiPrices, type AiPricesParams, type AiSignals, type AiSignalsParams, type AiSwapQuote, type AiTokenPrice, type AiTokenSignals, type AiUsage, type ApiError, type ApiKey, type ApiResponse, type ApproveHookInput, type ApproveParams, type AsyncReturnType, type AuthContext, type AuthMethod, type CallAnyContractParams, Chain, ChainToken, type ChipiBrowserSDKConfig, type ChipiSDKConfig, type ChipiServerSDKConfig, type Country, type CreateCustodialWalletParams, type CreateSessionKeyParams, type CreateSkuPurchaseBody, type CreateSkuPurchaseParams, type CreateUserParams, type CreateWalletParams, type CreateWalletResponse, Currency, type DeepPartial, type DeploymentData, type ErrorWithCode, type ExecuteSponsoredTransactionParams, type ExecuteSponsoredTransactionResponse, type ExecuteTransactionParams, type ExecuteWalletUpgradeParams, type ExecuteWalletUpgradeResponse, type ExecuteWithSessionParams, type GetMerchantWalletParams, type GetSessionDataParams, type GetSkuListQuery, type GetSpendingPolicyParams, type GetTokenBalanceParams, type GetTokenBalanceResponse, type GetTransactionListQuery, type GetTransactionParams, type GetTransactionStatusParams, type GetTransactionsParams, type GetUserParams, type GetWalletParams, type GetWalletResponse, type JwtPayload, type MaybePromise, type MigrateWalletToPasskeyParams, type NonEmptyArray, type NonceStore, OnChainTxStatus, type Optional, type PaginatedResponse, type PaginationQuery, type PasskeyMetadata, type PaymasterAccount, type PaymasterAdapter, type PaymentPayload, type PaymentRequirement, type Plan, type PlanPaymentProvider, type PlanSnapshot, type PrepareTypedDataParams, type PrepareTypedDataResponse, type PrepareWalletCreationParams, type PrepareWalletCreationResponse, type PrepareWalletUpgradeParams, type PrepareWalletUpgradeResponse, type Prettify, type RecordSendTransactionParams, type RemoveSpendingPolicyParams, type RequireAtLeastOne, type RevokeSessionKeyParams, STARKNET_CONTRACTS, type SessionConfig, type SessionDataResponse, type SessionKeyData, type SessionSpendingPolicy, type SessionWalletData, type SetSpendingPolicyParams, type SettleResponse, type SetupSessionParams, type ShhhPaymentExtension, type ShhhSignerKind, type SignTypedDataParams, type SignTypedDataResult, type Sku, type SkuCategory, type SkuProvider, type SpendingPolicyConfig, type SpendingPolicyData, type StakeVesuUsdcHookInputParams, type StakeVesuUsdcParams, type SyncOnChainTransfersParams, type SyncOnChainTransfersResponse, type ThinkAction, type ThinkDecision, type ThinkOptions, type ThinkParams, type ThinkRawDecision, type ThinkResponse, type ThinkRiskParams, type ThinkSessionPayment, type ThinkX402Payment, type Transaction, type TransactionStatusResponse, type TransferHookInput, type TransferParams, type TxStatus, type TxType, type UpdateWalletEncryptionParams, type UpdateWalletEncryptionResponse, type User, type ValueOrFunction, type VerifyResponse, type WalletData, type WalletType, type WithdrawVesuUsdcHookInputParams, type WithdrawVesuUsdcParams, type X402ClientConfig, type X402FacilitatorConfig, type X402PaymentConfig, type alphaUrl };
|
package/dist/index.d.ts
CHANGED
|
@@ -87,9 +87,15 @@ type WalletType = "CHIPI" | "READY" | "SHHH" | (string & {});
|
|
|
87
87
|
type ShhhSignerKind = "STARK" | "ED25519" | "SECP256K1" | "EIP191_SECP256K1" | "EIP712_SECP256K1" | "P256" | "WEBAUTHN_P256" | "JWT_ES256" | "JWT_ES256_APPLE_SUB" | "BLS12_381";
|
|
88
88
|
/**
|
|
89
89
|
* Authentication method used for wallet encryption.
|
|
90
|
-
* - "passkey": passkey only
|
|
91
|
-
*
|
|
92
|
-
*
|
|
90
|
+
* - "passkey": passkey only. On the web the wrap key is the WebAuthn PRF
|
|
91
|
+
* output, derived on the device; the passkey's platform sync (iCloud
|
|
92
|
+
* Keychain, Google Password Manager) is the recovery path. The recommended
|
|
93
|
+
* choice for self-custodial web apps. On Expo the key is a random key kept
|
|
94
|
+
* in this device's secure storage only, so pair it with a PIN backup there.
|
|
95
|
+
* - "pin": PIN only (legacy). A short PIN can be brute-forced offline against
|
|
96
|
+
* the stored ciphertext.
|
|
97
|
+
* - "passkey+pin": passkey primary + PIN backup. The backup is only as strong
|
|
98
|
+
* as the PIN (same offline brute-force exposure as "pin").
|
|
93
99
|
*/
|
|
94
100
|
type AuthMethod = "passkey" | "pin" | "passkey+pin";
|
|
95
101
|
interface WalletData {
|
|
@@ -114,6 +120,12 @@ interface DeploymentData {
|
|
|
114
120
|
calldata: string[];
|
|
115
121
|
}
|
|
116
122
|
interface CreateWalletParams {
|
|
123
|
+
/**
|
|
124
|
+
* Key that encrypts the private key. A PIN, or a passkey-derived key.
|
|
125
|
+
* With `useCreateWallet` and `usePasskey: true` it is optional: omit it for a
|
|
126
|
+
* passkey-only wallet, or pass a PIN to keep it as a backup.
|
|
127
|
+
* Required on the server SDK.
|
|
128
|
+
*/
|
|
117
129
|
encryptKey?: string;
|
|
118
130
|
externalUserId: string;
|
|
119
131
|
userId?: string;
|
|
@@ -155,10 +167,18 @@ interface CreateWalletParams {
|
|
|
155
167
|
* itself.
|
|
156
168
|
*/
|
|
157
169
|
ownerPubkeyFelts?: string[];
|
|
170
|
+
/**
|
|
171
|
+
* Browser/Expo hooks only (`useCreateWallet`): create a passkey and use the
|
|
172
|
+
* key it yields as `encryptKey`. The server SDK does not create passkeys.
|
|
173
|
+
*/
|
|
158
174
|
usePasskey?: boolean;
|
|
159
|
-
/**
|
|
175
|
+
/**
|
|
176
|
+
* Optional PIN for a backup copy of the private key (dual-key wrapping).
|
|
177
|
+
* `useCreateWallet` fills it from `encryptKey` when `usePasskey: true` and a
|
|
178
|
+
* PIN is given; omit both for a passkey-only wallet.
|
|
179
|
+
*/
|
|
160
180
|
encryptKeyBackup?: string;
|
|
161
|
-
/** Auth method: "passkey+pin"
|
|
181
|
+
/** Auth method: "passkey" (passkey only), "passkey+pin" (dual-key) or "pin" (PIN only) */
|
|
162
182
|
authMethod?: AuthMethod;
|
|
163
183
|
/** WebAuthn credential ID stored in backend for recovery */
|
|
164
184
|
credentialId?: string;
|
|
@@ -1149,6 +1169,7 @@ interface X402PaymentConfig {
|
|
|
1149
1169
|
* `@chipi-stack/backend`. Every call is billed to the organization's credits
|
|
1150
1170
|
* and needs a secret key (`sk_`), so these are server-side only.
|
|
1151
1171
|
*/
|
|
1172
|
+
|
|
1152
1173
|
/** Actions `/v1/ai/think` may decide. */
|
|
1153
1174
|
type ThinkAction = "swap" | "supply" | "withdraw" | "hold";
|
|
1154
1175
|
/**
|
|
@@ -1219,6 +1240,38 @@ interface ThinkResponse {
|
|
|
1219
1240
|
latencyMs: number;
|
|
1220
1241
|
/** `true` only for `sk_dev_` keys: canned response, no model was called. */
|
|
1221
1242
|
sandbox?: boolean;
|
|
1243
|
+
/** Present when the call was paid over x402 instead of credits (`cost.charged` is 0). */
|
|
1244
|
+
x402Payment?: ThinkX402Payment;
|
|
1245
|
+
}
|
|
1246
|
+
/** The x402 payment that paid a think call. */
|
|
1247
|
+
interface ThinkX402Payment {
|
|
1248
|
+
/** Hash of the USDC transfer that paid the call. */
|
|
1249
|
+
transactionHash: string;
|
|
1250
|
+
payer: string;
|
|
1251
|
+
/** USDC base units (6 decimals). */
|
|
1252
|
+
amount: string;
|
|
1253
|
+
asset: string;
|
|
1254
|
+
}
|
|
1255
|
+
/**
|
|
1256
|
+
* Pay a think call over x402 with a session key when the API asks for it
|
|
1257
|
+
* (402 with a `session-transfer` offer, e.g. when credits are short).
|
|
1258
|
+
*/
|
|
1259
|
+
interface ThinkSessionPayment extends Omit<ExecuteWithSessionParams, "calls"> {
|
|
1260
|
+
/**
|
|
1261
|
+
* The most one call may cost, in USDC base units (6 decimals). A higher
|
|
1262
|
+
* price is refused before anything is paid. Also cap USDC in the session's
|
|
1263
|
+
* spending policy: this is a client-side guard, the policy is the on-chain one.
|
|
1264
|
+
*/
|
|
1265
|
+
maxAmount: bigint | string;
|
|
1266
|
+
}
|
|
1267
|
+
interface ThinkOptions {
|
|
1268
|
+
/** Pay with this session key when the API answers 402 with an x402 offer. */
|
|
1269
|
+
payWithSession?: ThinkSessionPayment;
|
|
1270
|
+
/**
|
|
1271
|
+
* A ready `X-PAYMENT` header value, to retry a call with a payment that was
|
|
1272
|
+
* made but not served (the hash is in `error.details.x402PaymentHash`).
|
|
1273
|
+
*/
|
|
1274
|
+
xPayment?: string;
|
|
1222
1275
|
}
|
|
1223
1276
|
interface AiChatMessage {
|
|
1224
1277
|
role: "system" | "user" | "assistant";
|
|
@@ -1421,4 +1474,4 @@ interface PlanSnapshot {
|
|
|
1421
1474
|
planPaymentProvider: PlanPaymentProvider | null;
|
|
1422
1475
|
}
|
|
1423
1476
|
|
|
1424
|
-
export { type AddSessionKeyParams, type AiChatMessage, type AiChatParams, type AiChatResponse, type AiCost, type AiExecuteCall, type AiExecuteParams, type AiExecuteResponse, type AiModel, type AiModelsResponse, type AiPrices, type AiPricesParams, type AiSignals, type AiSignalsParams, type AiSwapQuote, type AiTokenPrice, type AiTokenSignals, type AiUsage, type ApiError, type ApiKey, type ApiResponse, type ApproveHookInput, type ApproveParams, type AsyncReturnType, type AuthContext, type AuthMethod, type CallAnyContractParams, Chain, ChainToken, type ChipiBrowserSDKConfig, type ChipiSDKConfig, type ChipiServerSDKConfig, type Country, type CreateCustodialWalletParams, type CreateSessionKeyParams, type CreateSkuPurchaseBody, type CreateSkuPurchaseParams, type CreateUserParams, type CreateWalletParams, type CreateWalletResponse, Currency, type DeepPartial, type DeploymentData, type ErrorWithCode, type ExecuteSponsoredTransactionParams, type ExecuteSponsoredTransactionResponse, type ExecuteTransactionParams, type ExecuteWalletUpgradeParams, type ExecuteWalletUpgradeResponse, type ExecuteWithSessionParams, type GetMerchantWalletParams, type GetSessionDataParams, type GetSkuListQuery, type GetSpendingPolicyParams, type GetTokenBalanceParams, type GetTokenBalanceResponse, type GetTransactionListQuery, type GetTransactionParams, type GetTransactionStatusParams, type GetTransactionsParams, type GetUserParams, type GetWalletParams, type GetWalletResponse, type JwtPayload, type MaybePromise, type MigrateWalletToPasskeyParams, type NonEmptyArray, type NonceStore, OnChainTxStatus, type Optional, type PaginatedResponse, type PaginationQuery, type PasskeyMetadata, type PaymasterAccount, type PaymasterAdapter, type PaymentPayload, type PaymentRequirement, type Plan, type PlanPaymentProvider, type PlanSnapshot, type PrepareTypedDataParams, type PrepareTypedDataResponse, type PrepareWalletCreationParams, type PrepareWalletCreationResponse, type PrepareWalletUpgradeParams, type PrepareWalletUpgradeResponse, type Prettify, type RecordSendTransactionParams, type RemoveSpendingPolicyParams, type RequireAtLeastOne, type RevokeSessionKeyParams, STARKNET_CONTRACTS, type SessionConfig, type SessionDataResponse, type SessionKeyData, type SessionSpendingPolicy, type SessionWalletData, type SetSpendingPolicyParams, type SettleResponse, type SetupSessionParams, type ShhhPaymentExtension, type ShhhSignerKind, type SignTypedDataParams, type SignTypedDataResult, type Sku, type SkuCategory, type SkuProvider, type SpendingPolicyConfig, type SpendingPolicyData, type StakeVesuUsdcHookInputParams, type StakeVesuUsdcParams, type SyncOnChainTransfersParams, type SyncOnChainTransfersResponse, type ThinkAction, type ThinkDecision, type ThinkParams, type ThinkRawDecision, type ThinkResponse, type ThinkRiskParams, type Transaction, type TransactionStatusResponse, type TransferHookInput, type TransferParams, type TxStatus, type TxType, type UpdateWalletEncryptionParams, type UpdateWalletEncryptionResponse, type User, type ValueOrFunction, type VerifyResponse, type WalletData, type WalletType, type WithdrawVesuUsdcHookInputParams, type WithdrawVesuUsdcParams, type X402ClientConfig, type X402FacilitatorConfig, type X402PaymentConfig, type alphaUrl };
|
|
1477
|
+
export { type AddSessionKeyParams, type AiChatMessage, type AiChatParams, type AiChatResponse, type AiCost, type AiExecuteCall, type AiExecuteParams, type AiExecuteResponse, type AiModel, type AiModelsResponse, type AiPrices, type AiPricesParams, type AiSignals, type AiSignalsParams, type AiSwapQuote, type AiTokenPrice, type AiTokenSignals, type AiUsage, type ApiError, type ApiKey, type ApiResponse, type ApproveHookInput, type ApproveParams, type AsyncReturnType, type AuthContext, type AuthMethod, type CallAnyContractParams, Chain, ChainToken, type ChipiBrowserSDKConfig, type ChipiSDKConfig, type ChipiServerSDKConfig, type Country, type CreateCustodialWalletParams, type CreateSessionKeyParams, type CreateSkuPurchaseBody, type CreateSkuPurchaseParams, type CreateUserParams, type CreateWalletParams, type CreateWalletResponse, Currency, type DeepPartial, type DeploymentData, type ErrorWithCode, type ExecuteSponsoredTransactionParams, type ExecuteSponsoredTransactionResponse, type ExecuteTransactionParams, type ExecuteWalletUpgradeParams, type ExecuteWalletUpgradeResponse, type ExecuteWithSessionParams, type GetMerchantWalletParams, type GetSessionDataParams, type GetSkuListQuery, type GetSpendingPolicyParams, type GetTokenBalanceParams, type GetTokenBalanceResponse, type GetTransactionListQuery, type GetTransactionParams, type GetTransactionStatusParams, type GetTransactionsParams, type GetUserParams, type GetWalletParams, type GetWalletResponse, type JwtPayload, type MaybePromise, type MigrateWalletToPasskeyParams, type NonEmptyArray, type NonceStore, OnChainTxStatus, type Optional, type PaginatedResponse, type PaginationQuery, type PasskeyMetadata, type PaymasterAccount, type PaymasterAdapter, type PaymentPayload, type PaymentRequirement, type Plan, type PlanPaymentProvider, type PlanSnapshot, type PrepareTypedDataParams, type PrepareTypedDataResponse, type PrepareWalletCreationParams, type PrepareWalletCreationResponse, type PrepareWalletUpgradeParams, type PrepareWalletUpgradeResponse, type Prettify, type RecordSendTransactionParams, type RemoveSpendingPolicyParams, type RequireAtLeastOne, type RevokeSessionKeyParams, STARKNET_CONTRACTS, type SessionConfig, type SessionDataResponse, type SessionKeyData, type SessionSpendingPolicy, type SessionWalletData, type SetSpendingPolicyParams, type SettleResponse, type SetupSessionParams, type ShhhPaymentExtension, type ShhhSignerKind, type SignTypedDataParams, type SignTypedDataResult, type Sku, type SkuCategory, type SkuProvider, type SpendingPolicyConfig, type SpendingPolicyData, type StakeVesuUsdcHookInputParams, type StakeVesuUsdcParams, type SyncOnChainTransfersParams, type SyncOnChainTransfersResponse, type ThinkAction, type ThinkDecision, type ThinkOptions, type ThinkParams, type ThinkRawDecision, type ThinkResponse, type ThinkRiskParams, type ThinkSessionPayment, type ThinkX402Payment, type Transaction, type TransactionStatusResponse, type TransferHookInput, type TransferParams, type TxStatus, type TxType, type UpdateWalletEncryptionParams, type UpdateWalletEncryptionResponse, type User, type ValueOrFunction, type VerifyResponse, type WalletData, type WalletType, type WithdrawVesuUsdcHookInputParams, type WithdrawVesuUsdcParams, type X402ClientConfig, type X402FacilitatorConfig, type X402PaymentConfig, type alphaUrl };
|