@privy-io/api-types 0.13.0 → 0.15.0
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/CHANGELOG.md +49 -0
- package/api-promise.d.mts +1 -0
- package/api-promise.d.mts.map +1 -1
- package/api-promise.d.ts +1 -0
- package/api-promise.d.ts.map +1 -1
- package/api-promise.mjs +1 -0
- package/api-promise.mjs.map +1 -1
- package/client.d.mts +25 -19
- package/client.d.mts.map +1 -1
- package/client.d.ts +25 -19
- package/client.d.ts.map +1 -1
- package/client.js +8 -2
- package/client.js.map +1 -1
- package/client.mjs +8 -2
- package/client.mjs.map +1 -1
- package/core/api-promise.d.mts.map +1 -1
- package/core/api-promise.d.ts.map +1 -1
- package/core/api-promise.mjs.map +1 -1
- package/core/error.mjs.map +1 -1
- package/core/pagination.d.mts.map +1 -1
- package/core/pagination.d.ts.map +1 -1
- package/core/pagination.mjs.map +1 -1
- package/core/resource.d.mts.map +1 -1
- package/core/resource.d.ts.map +1 -1
- package/core/uploads.d.mts.map +1 -1
- package/core/uploads.d.ts.map +1 -1
- package/core/uploads.mjs.map +1 -1
- package/error.d.mts +1 -0
- package/error.d.mts.map +1 -1
- package/error.d.ts +1 -0
- package/error.d.ts.map +1 -1
- package/error.mjs +1 -0
- package/error.mjs.map +1 -1
- package/index.d.mts.map +1 -1
- package/index.d.ts.map +1 -1
- package/index.mjs.map +1 -1
- package/internal/detect-platform.mjs.map +1 -1
- package/internal/headers.mjs.map +1 -1
- package/internal/parse.d.mts.map +1 -1
- package/internal/parse.d.ts.map +1 -1
- package/internal/parse.mjs.map +1 -1
- package/internal/qs/formats.d.mts.map +1 -1
- package/internal/qs/formats.d.ts.map +1 -1
- package/internal/qs/index.d.mts +2 -2
- package/internal/qs/index.d.mts.map +1 -1
- package/internal/qs/index.d.ts +2 -2
- package/internal/qs/index.d.ts.map +1 -1
- package/internal/qs/index.mjs.map +1 -1
- package/internal/qs/stringify.d.mts.map +1 -1
- package/internal/qs/stringify.d.ts.map +1 -1
- package/internal/qs/stringify.mjs.map +1 -1
- package/internal/qs/utils.d.mts.map +1 -1
- package/internal/qs/utils.d.ts.map +1 -1
- package/internal/qs/utils.mjs.map +1 -1
- package/internal/request-options.d.mts.map +1 -1
- package/internal/request-options.d.ts.map +1 -1
- package/internal/shims.d.mts +6 -0
- package/internal/shims.d.mts.map +1 -1
- package/internal/shims.d.ts +6 -0
- package/internal/shims.d.ts.map +1 -1
- package/internal/to-file.d.mts.map +1 -1
- package/internal/to-file.d.ts.map +1 -1
- package/internal/to-file.mjs.map +1 -1
- package/internal/types.d.mts +4 -4
- package/internal/types.d.mts.map +1 -1
- package/internal/types.d.ts +4 -4
- package/internal/types.d.ts.map +1 -1
- package/internal/uploads.d.mts.map +1 -1
- package/internal/uploads.d.ts.map +1 -1
- package/internal/uploads.mjs.map +1 -1
- package/internal/utils/base64.mjs.map +1 -1
- package/internal/utils/log.d.mts.map +1 -1
- package/internal/utils/log.d.ts.map +1 -1
- package/internal/utils/log.mjs.map +1 -1
- package/internal/utils/path.mjs.map +1 -1
- package/internal/utils/query.mjs.map +1 -1
- package/internal/utils/values.mjs.map +1 -1
- package/internal/utils.d.mts.map +1 -1
- package/internal/utils.d.ts.map +1 -1
- package/internal/utils.mjs.map +1 -1
- package/package.json +1 -1
- package/pagination.d.mts +1 -0
- package/pagination.d.mts.map +1 -1
- package/pagination.d.ts +1 -0
- package/pagination.d.ts.map +1 -1
- package/pagination.mjs +1 -0
- package/pagination.mjs.map +1 -1
- package/resource.d.mts +1 -0
- package/resource.d.mts.map +1 -1
- package/resource.d.ts +1 -0
- package/resource.d.ts.map +1 -1
- package/resource.mjs +1 -0
- package/resource.mjs.map +1 -1
- package/resources/accounts.d.mts.map +1 -1
- package/resources/accounts.d.ts.map +1 -1
- package/resources/accounts.mjs.map +1 -1
- package/resources/aggregations.d.mts.map +1 -1
- package/resources/aggregations.d.ts.map +1 -1
- package/resources/aggregations.mjs.map +1 -1
- package/resources/analytics.d.mts +1 -1
- package/resources/analytics.d.mts.map +1 -1
- package/resources/analytics.d.ts +1 -1
- package/resources/analytics.d.ts.map +1 -1
- package/resources/analytics.mjs.map +1 -1
- package/resources/apps.d.mts +1 -17
- package/resources/apps.d.mts.map +1 -1
- package/resources/apps.d.ts +1 -17
- package/resources/apps.d.ts.map +1 -1
- package/resources/apps.mjs.map +1 -1
- package/resources/client-auth.d.mts +156 -213
- package/resources/client-auth.d.mts.map +1 -1
- package/resources/client-auth.d.ts +156 -213
- package/resources/client-auth.d.ts.map +1 -1
- package/resources/client-auth.js.map +1 -1
- package/resources/client-auth.mjs.map +1 -1
- package/resources/cross-app.d.mts.map +1 -1
- package/resources/cross-app.d.ts.map +1 -1
- package/resources/cross-app.mjs.map +1 -1
- package/resources/embedded-wallets.d.mts.map +1 -1
- package/resources/embedded-wallets.d.ts.map +1 -1
- package/resources/embedded-wallets.mjs.map +1 -1
- package/resources/fiat.d.mts.map +1 -1
- package/resources/fiat.d.ts.map +1 -1
- package/resources/fiat.mjs.map +1 -1
- package/resources/funding.d.mts.map +1 -1
- package/resources/funding.d.ts.map +1 -1
- package/resources/funding.mjs.map +1 -1
- package/resources/index.d.mts +11 -9
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +11 -9
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +5 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +2 -0
- package/resources/index.mjs.map +1 -1
- package/resources/intents.d.mts +63 -2
- package/resources/intents.d.mts.map +1 -1
- package/resources/intents.d.ts +63 -2
- package/resources/intents.d.ts.map +1 -1
- package/resources/intents.mjs.map +1 -1
- package/resources/key-quorums.d.mts.map +1 -1
- package/resources/key-quorums.d.ts.map +1 -1
- package/resources/key-quorums.mjs.map +1 -1
- package/resources/kraken-embed.d.mts +653 -1
- package/resources/kraken-embed.d.mts.map +1 -1
- package/resources/kraken-embed.d.ts +653 -1
- package/resources/kraken-embed.d.ts.map +1 -1
- package/resources/kraken-embed.mjs.map +1 -1
- package/resources/oauth.d.mts +77 -0
- package/resources/oauth.d.mts.map +1 -0
- package/resources/oauth.d.ts +77 -0
- package/resources/oauth.d.ts.map +1 -0
- package/resources/oauth.js +9 -0
- package/resources/oauth.js.map +1 -0
- package/resources/oauth.mjs +5 -0
- package/resources/oauth.mjs.map +1 -0
- package/resources/onramps.d.mts +456 -0
- package/resources/onramps.d.mts.map +1 -0
- package/resources/onramps.d.ts +456 -0
- package/resources/onramps.d.ts.map +1 -0
- package/resources/onramps.js +9 -0
- package/resources/onramps.js.map +1 -0
- package/resources/onramps.mjs +5 -0
- package/resources/onramps.mjs.map +1 -0
- package/resources/organizations.d.mts.map +1 -1
- package/resources/organizations.d.ts.map +1 -1
- package/resources/organizations.mjs.map +1 -1
- package/resources/policies.d.mts +29 -3
- package/resources/policies.d.mts.map +1 -1
- package/resources/policies.d.ts +29 -3
- package/resources/policies.d.ts.map +1 -1
- package/resources/policies.mjs.map +1 -1
- package/resources/shared.d.mts +26 -1
- package/resources/shared.d.mts.map +1 -1
- package/resources/shared.d.ts +26 -1
- package/resources/shared.d.ts.map +1 -1
- package/resources/shared.mjs.map +1 -1
- package/resources/swaps.d.mts +43 -5
- package/resources/swaps.d.mts.map +1 -1
- package/resources/swaps.d.ts +43 -5
- package/resources/swaps.d.ts.map +1 -1
- package/resources/swaps.mjs.map +1 -1
- package/resources/transactions.d.mts.map +1 -1
- package/resources/transactions.d.ts.map +1 -1
- package/resources/transactions.mjs.map +1 -1
- package/resources/users.d.mts +3 -0
- package/resources/users.d.mts.map +1 -1
- package/resources/users.d.ts +3 -0
- package/resources/users.d.ts.map +1 -1
- package/resources/users.mjs.map +1 -1
- package/resources/wallet-actions.d.mts +86 -1
- package/resources/wallet-actions.d.mts.map +1 -1
- package/resources/wallet-actions.d.ts +86 -1
- package/resources/wallet-actions.d.ts.map +1 -1
- package/resources/wallet-actions.js.map +1 -1
- package/resources/wallet-actions.mjs.map +1 -1
- package/resources/wallets/balance.d.mts.map +1 -1
- package/resources/wallets/balance.d.ts.map +1 -1
- package/resources/wallets/balance.mjs.map +1 -1
- package/resources/wallets/index.d.mts +1 -1
- package/resources/wallets/index.d.mts.map +1 -1
- package/resources/wallets/index.d.ts +1 -1
- package/resources/wallets/index.d.ts.map +1 -1
- package/resources/wallets/index.js.map +1 -1
- package/resources/wallets/index.mjs.map +1 -1
- package/resources/wallets/transactions.d.mts.map +1 -1
- package/resources/wallets/transactions.d.ts.map +1 -1
- package/resources/wallets/transactions.mjs.map +1 -1
- package/resources/wallets/wallets.d.mts +153 -4
- package/resources/wallets/wallets.d.mts.map +1 -1
- package/resources/wallets/wallets.d.ts +153 -4
- package/resources/wallets/wallets.d.ts.map +1 -1
- package/resources/wallets/wallets.js.map +1 -1
- package/resources/wallets/wallets.mjs.map +1 -1
- package/resources/wallets.d.mts.map +1 -1
- package/resources/wallets.d.ts.map +1 -1
- package/resources/wallets.mjs.map +1 -1
- package/resources/webhooks.d.mts +116 -2
- package/resources/webhooks.d.mts.map +1 -1
- package/resources/webhooks.d.ts +116 -2
- package/resources/webhooks.d.ts.map +1 -1
- package/resources/webhooks.mjs.map +1 -1
- package/resources/yield.d.mts.map +1 -1
- package/resources/yield.d.ts.map +1 -1
- package/resources/yield.mjs.map +1 -1
- package/resources.d.mts.map +1 -1
- package/resources.d.ts.map +1 -1
- package/resources.mjs.map +1 -1
- package/src/client.ts +313 -61
- package/src/resources/analytics.ts +1 -1
- package/src/resources/apps.ts +0 -24
- package/src/resources/client-auth.ts +193 -304
- package/src/resources/index.ts +148 -25
- package/src/resources/intents.ts +84 -1
- package/src/resources/kraken-embed.ts +1661 -0
- package/src/resources/oauth.ts +96 -0
- package/src/resources/onramps.ts +637 -0
- package/src/resources/policies.ts +40 -0
- package/src/resources/shared.ts +37 -0
- package/src/resources/swaps.ts +51 -5
- package/src/resources/users.ts +3 -0
- package/src/resources/wallet-actions.ts +104 -0
- package/src/resources/wallets/index.ts +9 -0
- package/src/resources/wallets/wallets.ts +191 -3
- package/src/resources/webhooks.ts +142 -0
- package/src/version.ts +1 -1
- package/uploads.d.mts +1 -0
- package/uploads.d.mts.map +1 -1
- package/uploads.d.ts +1 -0
- package/uploads.d.ts.map +1 -1
- package/uploads.mjs +1 -0
- package/uploads.mjs.map +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
|
@@ -407,7 +407,7 @@ export interface CustomTokenTransferSource {
|
|
|
407
407
|
/**
|
|
408
408
|
* Amount as a decimal string in the token's standard unit (e.g. "1.5" for 1.5
|
|
409
409
|
* USDC, "0.01" for 0.01 ETH). Not in the smallest on-chain unit (wei, lamports,
|
|
410
|
-
* etc.).
|
|
410
|
+
* etc.). Maximum 100 characters.
|
|
411
411
|
*/
|
|
412
412
|
amount: string;
|
|
413
413
|
|
|
@@ -425,6 +425,20 @@ export interface CustomTokenTransferSource {
|
|
|
425
425
|
chain: string;
|
|
426
426
|
}
|
|
427
427
|
|
|
428
|
+
/**
|
|
429
|
+
* Estimated fee paid to the developer.
|
|
430
|
+
*/
|
|
431
|
+
export interface DeveloperFee {
|
|
432
|
+
/**
|
|
433
|
+
* Amount in USD (in decimals).
|
|
434
|
+
*/
|
|
435
|
+
amount: string;
|
|
436
|
+
|
|
437
|
+
type: 'developer';
|
|
438
|
+
|
|
439
|
+
recipient?: string;
|
|
440
|
+
}
|
|
441
|
+
|
|
428
442
|
/**
|
|
429
443
|
* Executes the EVM `personal_sign` RPC (EIP-191) to sign a message.
|
|
430
444
|
*/
|
|
@@ -1063,11 +1077,52 @@ export type ExtendedChainType =
|
|
|
1063
1077
|
| 'starknet'
|
|
1064
1078
|
| 'spark';
|
|
1065
1079
|
|
|
1080
|
+
/**
|
|
1081
|
+
* Total fees assessed on a transfer, in BPS
|
|
1082
|
+
*/
|
|
1083
|
+
export interface FeeConfiguration {
|
|
1084
|
+
/**
|
|
1085
|
+
* Discriminator: total fee specified in BPS.
|
|
1086
|
+
*/
|
|
1087
|
+
type: 'total_fee_bps';
|
|
1088
|
+
|
|
1089
|
+
/**
|
|
1090
|
+
* Total fee in basis points (1 bps = 0.01%).
|
|
1091
|
+
*/
|
|
1092
|
+
value: number;
|
|
1093
|
+
}
|
|
1094
|
+
|
|
1095
|
+
/**
|
|
1096
|
+
* An individual fee assessed on a transfer.
|
|
1097
|
+
*/
|
|
1098
|
+
export type FeeLineItem = RelayerFee | PrivyFee | DeveloperFee;
|
|
1099
|
+
|
|
1066
1100
|
/**
|
|
1067
1101
|
* The wallet chain types that offer first class support.
|
|
1068
1102
|
*/
|
|
1069
1103
|
export type FirstClassChainType = 'ethereum' | 'solana';
|
|
1070
1104
|
|
|
1105
|
+
/**
|
|
1106
|
+
* Gas cost for a blockchain action. Includes both raw base-unit amount and a
|
|
1107
|
+
* human-readable decimal string, plus the gas token symbol.
|
|
1108
|
+
*/
|
|
1109
|
+
export interface Gas {
|
|
1110
|
+
/**
|
|
1111
|
+
* Gas cost in the gas token as a human-readable decimal string (e.g. "0.0001").
|
|
1112
|
+
*/
|
|
1113
|
+
amount: string;
|
|
1114
|
+
|
|
1115
|
+
/**
|
|
1116
|
+
* Gas cost in the gas token's base units (e.g. wei).
|
|
1117
|
+
*/
|
|
1118
|
+
base_amount: string;
|
|
1119
|
+
|
|
1120
|
+
/**
|
|
1121
|
+
* Gas token symbol (e.g. "ETH", "USDC").
|
|
1122
|
+
*/
|
|
1123
|
+
gas_asset: string;
|
|
1124
|
+
}
|
|
1125
|
+
|
|
1071
1126
|
/**
|
|
1072
1127
|
* Request body for looking up a wallet by its blockchain address.
|
|
1073
1128
|
*/
|
|
@@ -1211,7 +1266,7 @@ export interface NamedTokenTransferSource {
|
|
|
1211
1266
|
/**
|
|
1212
1267
|
* Amount as a decimal string in the token's standard unit (e.g. "1.5" for 1.5
|
|
1213
1268
|
* USDC, "0.01" for 0.01 ETH). Not in the smallest on-chain unit (wei, lamports,
|
|
1214
|
-
* etc.).
|
|
1269
|
+
* etc.). Maximum 100 characters.
|
|
1215
1270
|
*/
|
|
1216
1271
|
amount: string;
|
|
1217
1272
|
|
|
@@ -1350,6 +1405,20 @@ export interface PrivateKeySubmitInput {
|
|
|
1350
1405
|
hpke_config?: HpkeImportConfig;
|
|
1351
1406
|
}
|
|
1352
1407
|
|
|
1408
|
+
/**
|
|
1409
|
+
* Estimated fee paid to Privy.
|
|
1410
|
+
*/
|
|
1411
|
+
export interface PrivyFee {
|
|
1412
|
+
/**
|
|
1413
|
+
* Amount in USD (in decimals).
|
|
1414
|
+
*/
|
|
1415
|
+
amount: string;
|
|
1416
|
+
|
|
1417
|
+
type: 'privy';
|
|
1418
|
+
|
|
1419
|
+
recipient?: string;
|
|
1420
|
+
}
|
|
1421
|
+
|
|
1353
1422
|
/**
|
|
1354
1423
|
* A quantity value that can be either a hex string starting with '0x' or a
|
|
1355
1424
|
* non-negative integer.
|
|
@@ -1444,6 +1513,20 @@ export interface RawSignResponseData {
|
|
|
1444
1513
|
*/
|
|
1445
1514
|
export type RecipientPublicKey = string;
|
|
1446
1515
|
|
|
1516
|
+
/**
|
|
1517
|
+
* Estimated fee paid to the relayer.
|
|
1518
|
+
*/
|
|
1519
|
+
export interface RelayerFee {
|
|
1520
|
+
/**
|
|
1521
|
+
* Amount in USD (in decimals).
|
|
1522
|
+
*/
|
|
1523
|
+
amount: string;
|
|
1524
|
+
|
|
1525
|
+
type: 'relayer';
|
|
1526
|
+
|
|
1527
|
+
recipient?: string;
|
|
1528
|
+
}
|
|
1529
|
+
|
|
1447
1530
|
/**
|
|
1448
1531
|
* Input for exporting a wallet (private key or seed phrase) with HPKE encryption.
|
|
1449
1532
|
*/
|
|
@@ -2383,7 +2466,7 @@ export interface TokenOutput {
|
|
|
2383
2466
|
*/
|
|
2384
2467
|
export interface TokenTransferDestination {
|
|
2385
2468
|
/**
|
|
2386
|
-
* Recipient address (hex for EVM, base58 for Solana)
|
|
2469
|
+
* Recipient address (hex for EVM, base58 for Solana, base58check for Tron)
|
|
2387
2470
|
*/
|
|
2388
2471
|
address: string;
|
|
2389
2472
|
|
|
@@ -2406,6 +2489,21 @@ export interface TokenTransferDestination {
|
|
|
2406
2489
|
*/
|
|
2407
2490
|
export type TokenTransferSource = NamedTokenTransferSource | CustomTokenTransferSource;
|
|
2408
2491
|
|
|
2492
|
+
/**
|
|
2493
|
+
* Total fees assessed on a transfer, in BPS
|
|
2494
|
+
*/
|
|
2495
|
+
export interface TotalFeeConfigurationBps {
|
|
2496
|
+
/**
|
|
2497
|
+
* Discriminator: total fee specified in BPS.
|
|
2498
|
+
*/
|
|
2499
|
+
type: 'total_fee_bps';
|
|
2500
|
+
|
|
2501
|
+
/**
|
|
2502
|
+
* Total fee in basis points (1 bps = 0.01%).
|
|
2503
|
+
*/
|
|
2504
|
+
value: number;
|
|
2505
|
+
}
|
|
2506
|
+
|
|
2409
2507
|
/**
|
|
2410
2508
|
* Details of a wallet transaction, varying by transaction type.
|
|
2411
2509
|
*/
|
|
@@ -2417,6 +2515,82 @@ export type TransactionDetail = TransferSentTransactionDetail | TransferReceived
|
|
|
2417
2515
|
*/
|
|
2418
2516
|
export type TransactionTokenAddressInput = string;
|
|
2419
2517
|
|
|
2518
|
+
/**
|
|
2519
|
+
* Request body for requesting a quote for a cross-asset or cross-chain (DADC)
|
|
2520
|
+
* transfer.
|
|
2521
|
+
*/
|
|
2522
|
+
export interface TransferQuoteRequestBody {
|
|
2523
|
+
/**
|
|
2524
|
+
* The destination address for a token transfer. Optionally specify a different
|
|
2525
|
+
* asset or chain for cross-asset or cross-chain transfers.
|
|
2526
|
+
*/
|
|
2527
|
+
destination: TokenTransferDestination;
|
|
2528
|
+
|
|
2529
|
+
/**
|
|
2530
|
+
* The source asset, amount, and chain for a token transfer. Specify either `asset`
|
|
2531
|
+
* (named) or `asset_address` (custom), not both.
|
|
2532
|
+
*/
|
|
2533
|
+
source: TokenTransferSource;
|
|
2534
|
+
|
|
2535
|
+
/**
|
|
2536
|
+
* Whether the amount refers to the input token or output token.
|
|
2537
|
+
*/
|
|
2538
|
+
amount_type?: AmountType;
|
|
2539
|
+
|
|
2540
|
+
/**
|
|
2541
|
+
* Total fees assessed on a transfer, in BPS
|
|
2542
|
+
*/
|
|
2543
|
+
fee_configuration?: FeeConfiguration;
|
|
2544
|
+
|
|
2545
|
+
/**
|
|
2546
|
+
* Maximum allowed slippage in basis points (1 bps = 0.01%).
|
|
2547
|
+
*/
|
|
2548
|
+
slippage_bps?: number;
|
|
2549
|
+
}
|
|
2550
|
+
|
|
2551
|
+
/**
|
|
2552
|
+
* Response containing a quote for a cross-asset or cross-chain (DADC) transfer.
|
|
2553
|
+
*/
|
|
2554
|
+
export interface TransferQuoteResponse {
|
|
2555
|
+
/**
|
|
2556
|
+
* The destination address for a token transfer. Optionally specify a different
|
|
2557
|
+
* asset or chain for cross-asset or cross-chain transfers.
|
|
2558
|
+
*/
|
|
2559
|
+
destination: TokenTransferDestination;
|
|
2560
|
+
|
|
2561
|
+
/**
|
|
2562
|
+
* Estimated fees in USD
|
|
2563
|
+
*/
|
|
2564
|
+
estimated_fees: Array<FeeLineItem>;
|
|
2565
|
+
|
|
2566
|
+
/**
|
|
2567
|
+
* Estimated output amount in decimals
|
|
2568
|
+
*/
|
|
2569
|
+
estimated_output_amount: string;
|
|
2570
|
+
|
|
2571
|
+
/**
|
|
2572
|
+
* Quote expiry as unix timestamp (seconds)
|
|
2573
|
+
*/
|
|
2574
|
+
expires_at: number;
|
|
2575
|
+
|
|
2576
|
+
/**
|
|
2577
|
+
* The source asset, amount, and chain for a token transfer. Specify either `asset`
|
|
2578
|
+
* (named) or `asset_address` (custom), not both.
|
|
2579
|
+
*/
|
|
2580
|
+
source: TokenTransferSource;
|
|
2581
|
+
|
|
2582
|
+
/**
|
|
2583
|
+
* Whether the amount refers to the input token or output token.
|
|
2584
|
+
*/
|
|
2585
|
+
amount_type?: AmountType;
|
|
2586
|
+
|
|
2587
|
+
/**
|
|
2588
|
+
* Gas cost for a blockchain action. Includes both raw base-unit amount and a
|
|
2589
|
+
* human-readable decimal string, plus the gas token symbol.
|
|
2590
|
+
*/
|
|
2591
|
+
estimated_gas?: Gas;
|
|
2592
|
+
}
|
|
2593
|
+
|
|
2420
2594
|
/**
|
|
2421
2595
|
* Details for a received transfer transaction.
|
|
2422
2596
|
*/
|
|
@@ -2480,6 +2654,11 @@ export interface TransferRequestBody {
|
|
|
2480
2654
|
*/
|
|
2481
2655
|
amount_type?: AmountType;
|
|
2482
2656
|
|
|
2657
|
+
/**
|
|
2658
|
+
* Total fees assessed on a transfer, in BPS
|
|
2659
|
+
*/
|
|
2660
|
+
fee_configuration?: FeeConfiguration;
|
|
2661
|
+
|
|
2483
2662
|
/**
|
|
2484
2663
|
* Maximum allowed slippage in basis points (1 bps = 0.01%).
|
|
2485
2664
|
*/
|
|
@@ -4478,6 +4657,7 @@ export declare namespace Wallets {
|
|
|
4478
4657
|
type CustodialWalletCreateInput as CustodialWalletCreateInput,
|
|
4479
4658
|
type CustodialWalletProvider as CustodialWalletProvider,
|
|
4480
4659
|
type CustomTokenTransferSource as CustomTokenTransferSource,
|
|
4660
|
+
type DeveloperFee as DeveloperFee,
|
|
4481
4661
|
type EthereumPersonalSignRpcInput as EthereumPersonalSignRpcInput,
|
|
4482
4662
|
type EthereumPersonalSignRpcInputParams as EthereumPersonalSignRpcInputParams,
|
|
4483
4663
|
type EthereumPersonalSignRpcResponse as EthereumPersonalSignRpcResponse,
|
|
@@ -4521,7 +4701,10 @@ export declare namespace Wallets {
|
|
|
4521
4701
|
type ExportSeedPhraseRpcResponse as ExportSeedPhraseRpcResponse,
|
|
4522
4702
|
type ExportType as ExportType,
|
|
4523
4703
|
type ExtendedChainType as ExtendedChainType,
|
|
4704
|
+
type FeeConfiguration as FeeConfiguration,
|
|
4705
|
+
type FeeLineItem as FeeLineItem,
|
|
4524
4706
|
type FirstClassChainType as FirstClassChainType,
|
|
4707
|
+
type Gas as Gas,
|
|
4525
4708
|
type GetByWalletAddressRequestBody as GetByWalletAddressRequestBody,
|
|
4526
4709
|
type HDInitInput as HDInitInput,
|
|
4527
4710
|
type HDPath as HDPath,
|
|
@@ -4537,6 +4720,7 @@ export declare namespace Wallets {
|
|
|
4537
4720
|
type PrivateKeyExportResponse as PrivateKeyExportResponse,
|
|
4538
4721
|
type PrivateKeyInitInput as PrivateKeyInitInput,
|
|
4539
4722
|
type PrivateKeySubmitInput as PrivateKeySubmitInput,
|
|
4723
|
+
type PrivyFee as PrivyFee,
|
|
4540
4724
|
type Quantity as Quantity,
|
|
4541
4725
|
type RawSignBytesEncoding as RawSignBytesEncoding,
|
|
4542
4726
|
type RawSignBytesHashFunction as RawSignBytesHashFunction,
|
|
@@ -4547,6 +4731,7 @@ export declare namespace Wallets {
|
|
|
4547
4731
|
type RawSignResponse as RawSignResponse,
|
|
4548
4732
|
type RawSignResponseData as RawSignResponseData,
|
|
4549
4733
|
type RecipientPublicKey as RecipientPublicKey,
|
|
4734
|
+
type RelayerFee as RelayerFee,
|
|
4550
4735
|
type SeedPhraseExportInput as SeedPhraseExportInput,
|
|
4551
4736
|
type SeedPhraseExportResponse as SeedPhraseExportResponse,
|
|
4552
4737
|
type SigningAlgorithm as SigningAlgorithm,
|
|
@@ -4616,8 +4801,11 @@ export declare namespace Wallets {
|
|
|
4616
4801
|
type TokenOutput as TokenOutput,
|
|
4617
4802
|
type TokenTransferDestination as TokenTransferDestination,
|
|
4618
4803
|
type TokenTransferSource as TokenTransferSource,
|
|
4804
|
+
type TotalFeeConfigurationBps as TotalFeeConfigurationBps,
|
|
4619
4805
|
type TransactionDetail as TransactionDetail,
|
|
4620
4806
|
type TransactionTokenAddressInput as TransactionTokenAddressInput,
|
|
4807
|
+
type TransferQuoteRequestBody as TransferQuoteRequestBody,
|
|
4808
|
+
type TransferQuoteResponse as TransferQuoteResponse,
|
|
4621
4809
|
type TransferReceivedTransactionDetail as TransferReceivedTransactionDetail,
|
|
4622
4810
|
type TransferRequestBody as TransferRequestBody,
|
|
4623
4811
|
type TransferSentTransactionDetail as TransferSentTransactionDetail,
|
|
@@ -482,6 +482,143 @@ export interface IntentFailedWebhookPayload {
|
|
|
482
482
|
created_by_id?: string;
|
|
483
483
|
}
|
|
484
484
|
|
|
485
|
+
/**
|
|
486
|
+
* Payload for the intent.rejected webhook event.
|
|
487
|
+
*/
|
|
488
|
+
export interface IntentRejectedWebhookPayload {
|
|
489
|
+
/**
|
|
490
|
+
* Unix timestamp when the intent was created.
|
|
491
|
+
*/
|
|
492
|
+
created_at: number;
|
|
493
|
+
|
|
494
|
+
/**
|
|
495
|
+
* Unix timestamp when the intent expires.
|
|
496
|
+
*/
|
|
497
|
+
expires_at: number;
|
|
498
|
+
|
|
499
|
+
/**
|
|
500
|
+
* The unique ID of the intent.
|
|
501
|
+
*/
|
|
502
|
+
intent_id: string;
|
|
503
|
+
|
|
504
|
+
/**
|
|
505
|
+
* Type of intent.
|
|
506
|
+
*/
|
|
507
|
+
intent_type: IntentsAPI.IntentType;
|
|
508
|
+
|
|
509
|
+
/**
|
|
510
|
+
* Unix timestamp when the intent was rejected.
|
|
511
|
+
*/
|
|
512
|
+
rejected_at: number;
|
|
513
|
+
|
|
514
|
+
/**
|
|
515
|
+
* The current status of the intent.
|
|
516
|
+
*/
|
|
517
|
+
status: string;
|
|
518
|
+
|
|
519
|
+
/**
|
|
520
|
+
* The type of webhook event.
|
|
521
|
+
*/
|
|
522
|
+
type: 'intent.rejected';
|
|
523
|
+
|
|
524
|
+
/**
|
|
525
|
+
* Display name of the user who created the intent.
|
|
526
|
+
*/
|
|
527
|
+
created_by_display_name?: string;
|
|
528
|
+
|
|
529
|
+
/**
|
|
530
|
+
* The ID of the user who created the intent.
|
|
531
|
+
*/
|
|
532
|
+
created_by_id?: string;
|
|
533
|
+
}
|
|
534
|
+
|
|
535
|
+
/**
|
|
536
|
+
* Payload for the kraken_embed.custom_order.cancelled webhook event.
|
|
537
|
+
*/
|
|
538
|
+
export interface KrakenEmbedCustomOrderCancelledWebhookPayload {
|
|
539
|
+
/**
|
|
540
|
+
* ISO 8601 timestamp of when the custom order was cancelled.
|
|
541
|
+
*/
|
|
542
|
+
cancelled_at: string;
|
|
543
|
+
|
|
544
|
+
/**
|
|
545
|
+
* The ID of the cancelled custom order.
|
|
546
|
+
*/
|
|
547
|
+
custom_order_id: string;
|
|
548
|
+
|
|
549
|
+
/**
|
|
550
|
+
* A human-readable description of why the custom order was cancelled. Intended for
|
|
551
|
+
* display and logging purposes only.
|
|
552
|
+
*/
|
|
553
|
+
reason: string;
|
|
554
|
+
|
|
555
|
+
/**
|
|
556
|
+
* The type of webhook event.
|
|
557
|
+
*/
|
|
558
|
+
type: 'kraken_embed.custom_order.cancelled';
|
|
559
|
+
|
|
560
|
+
/**
|
|
561
|
+
* The ID of the user.
|
|
562
|
+
*/
|
|
563
|
+
user_id: string;
|
|
564
|
+
}
|
|
565
|
+
|
|
566
|
+
/**
|
|
567
|
+
* Payload for the kraken_embed.custom_order.executed webhook event.
|
|
568
|
+
*/
|
|
569
|
+
export interface KrakenEmbedCustomOrderExecutedWebhookPayload {
|
|
570
|
+
/**
|
|
571
|
+
* The ID of the executed custom order.
|
|
572
|
+
*/
|
|
573
|
+
custom_order_id: string;
|
|
574
|
+
|
|
575
|
+
/**
|
|
576
|
+
* ISO 8601 timestamp of when the custom order was executed.
|
|
577
|
+
*/
|
|
578
|
+
executed_at: string;
|
|
579
|
+
|
|
580
|
+
/**
|
|
581
|
+
* The type of webhook event.
|
|
582
|
+
*/
|
|
583
|
+
type: 'kraken_embed.custom_order.executed';
|
|
584
|
+
|
|
585
|
+
/**
|
|
586
|
+
* The ID of the user.
|
|
587
|
+
*/
|
|
588
|
+
user_id: string;
|
|
589
|
+
}
|
|
590
|
+
|
|
591
|
+
/**
|
|
592
|
+
* Payload for the kraken_embed.custom_order.execution_failed webhook event.
|
|
593
|
+
*/
|
|
594
|
+
export interface KrakenEmbedCustomOrderExecutionFailedWebhookPayload {
|
|
595
|
+
/**
|
|
596
|
+
* The ID of the custom order that failed to execute.
|
|
597
|
+
*/
|
|
598
|
+
custom_order_id: string;
|
|
599
|
+
|
|
600
|
+
/**
|
|
601
|
+
* ISO 8601 timestamp of when the custom order execution failed.
|
|
602
|
+
*/
|
|
603
|
+
failed_at: string;
|
|
604
|
+
|
|
605
|
+
/**
|
|
606
|
+
* A human-readable description of why the custom order execution failed. Intended
|
|
607
|
+
* for display and logging purposes only.
|
|
608
|
+
*/
|
|
609
|
+
reason: string;
|
|
610
|
+
|
|
611
|
+
/**
|
|
612
|
+
* The type of webhook event.
|
|
613
|
+
*/
|
|
614
|
+
type: 'kraken_embed.custom_order.execution_failed';
|
|
615
|
+
|
|
616
|
+
/**
|
|
617
|
+
* The ID of the user.
|
|
618
|
+
*/
|
|
619
|
+
user_id: string;
|
|
620
|
+
}
|
|
621
|
+
|
|
485
622
|
/**
|
|
486
623
|
* Payload for the kraken_embed.quote.cancelled webhook event.
|
|
487
624
|
*/
|
|
@@ -2642,6 +2779,7 @@ export type WebhookPayload =
|
|
|
2642
2779
|
| UserOperationCompletedWebhookPayload
|
|
2643
2780
|
| IntentCreatedWebhookPayload
|
|
2644
2781
|
| IntentAuthorizedWebhookPayload
|
|
2782
|
+
| IntentRejectedWebhookPayload
|
|
2645
2783
|
| IntentExecutedWebhookPayload
|
|
2646
2784
|
| IntentFailedWebhookPayload
|
|
2647
2785
|
| WalletActionSwapCreatedWebhookPayload
|
|
@@ -2755,6 +2893,10 @@ export declare namespace Webhooks {
|
|
|
2755
2893
|
type IntentCreatedWebhookPayload as IntentCreatedWebhookPayload,
|
|
2756
2894
|
type IntentExecutedWebhookPayload as IntentExecutedWebhookPayload,
|
|
2757
2895
|
type IntentFailedWebhookPayload as IntentFailedWebhookPayload,
|
|
2896
|
+
type IntentRejectedWebhookPayload as IntentRejectedWebhookPayload,
|
|
2897
|
+
type KrakenEmbedCustomOrderCancelledWebhookPayload as KrakenEmbedCustomOrderCancelledWebhookPayload,
|
|
2898
|
+
type KrakenEmbedCustomOrderExecutedWebhookPayload as KrakenEmbedCustomOrderExecutedWebhookPayload,
|
|
2899
|
+
type KrakenEmbedCustomOrderExecutionFailedWebhookPayload as KrakenEmbedCustomOrderExecutionFailedWebhookPayload,
|
|
2758
2900
|
type KrakenEmbedQuoteCancelledWebhookPayload as KrakenEmbedQuoteCancelledWebhookPayload,
|
|
2759
2901
|
type KrakenEmbedQuoteExecutedWebhookPayload as KrakenEmbedQuoteExecutedWebhookPayload,
|
|
2760
2902
|
type KrakenEmbedQuoteExecutionFailedWebhookPayload as KrakenEmbedQuoteExecutionFailedWebhookPayload,
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '0.
|
|
1
|
+
export const VERSION = '0.15.0'; // x-release-please-version
|
package/uploads.d.mts
CHANGED
package/uploads.d.mts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"uploads.d.mts","sourceRoot":"","sources":["src/uploads.ts"],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"uploads.d.mts","sourceRoot":"","sources":["src/uploads.ts"],"names":[],"mappings":"AAAA,qDAAqD;AACrD,mCAA+B"}
|
package/uploads.d.ts
CHANGED
package/uploads.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"uploads.d.ts","sourceRoot":"","sources":["src/uploads.ts"],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"uploads.d.ts","sourceRoot":"","sources":["src/uploads.ts"],"names":[],"mappings":"AAAA,qDAAqD;AACrD,kCAA+B"}
|
package/uploads.mjs
CHANGED
package/uploads.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"uploads.mjs","sourceRoot":"","sources":["src/uploads.ts"],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"uploads.mjs","sourceRoot":"","sources":["src/uploads.ts"],"names":[],"mappings":"AAAA,qDAAqD;AACrD,mCAA+B"}
|
package/version.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "0.
|
|
1
|
+
export declare const VERSION = "0.15.0";
|
|
2
2
|
//# sourceMappingURL=version.d.mts.map
|
package/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "0.
|
|
1
|
+
export declare const VERSION = "0.15.0";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/version.js
CHANGED
package/version.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const VERSION = '0.
|
|
1
|
+
export const VERSION = '0.15.0'; // x-release-please-version
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|