@privy-io/api-types 0.21.0 → 0.23.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 +41 -0
- package/client.d.mts +12 -12
- package/client.d.mts.map +1 -1
- package/client.d.ts +12 -12
- package/client.d.ts.map +1 -1
- package/client.js.map +1 -1
- package/client.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/accounts.d.mts +0 -8
- package/resources/accounts.d.mts.map +1 -1
- package/resources/accounts.d.ts +0 -8
- package/resources/accounts.d.ts.map +1 -1
- package/resources/cards.d.mts +26 -9
- package/resources/cards.d.mts.map +1 -1
- package/resources/cards.d.ts +26 -9
- package/resources/cards.d.ts.map +1 -1
- package/resources/fiat.d.mts +525 -61
- package/resources/fiat.d.mts.map +1 -1
- package/resources/fiat.d.ts +525 -61
- package/resources/fiat.d.ts.map +1 -1
- package/resources/index.d.mts +6 -6
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +6 -6
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs.map +1 -1
- package/resources/shared.d.mts +23 -1
- package/resources/shared.d.mts.map +1 -1
- package/resources/shared.d.ts +23 -1
- package/resources/shared.d.ts.map +1 -1
- package/resources/swaps.d.mts +2 -1
- package/resources/swaps.d.mts.map +1 -1
- package/resources/swaps.d.ts +2 -1
- package/resources/swaps.d.ts.map +1 -1
- package/resources/wallet-automations.d.mts +100 -6
- package/resources/wallet-automations.d.mts.map +1 -1
- package/resources/wallet-automations.d.ts +100 -6
- package/resources/wallet-automations.d.ts.map +1 -1
- package/resources/wallet-automations.js.map +1 -1
- package/resources/wallet-automations.mjs.map +1 -1
- package/resources/wallets/actions.d.mts +44 -4
- package/resources/wallets/actions.d.mts.map +1 -1
- package/resources/wallets/actions.d.ts +44 -4
- package/resources/wallets/actions.d.ts.map +1 -1
- package/resources/wallets/balance.d.mts +1 -1
- package/resources/wallets/balance.d.mts.map +1 -1
- package/resources/wallets/balance.d.ts +1 -1
- package/resources/wallets/balance.d.ts.map +1 -1
- package/resources/wallets/index.d.mts +2 -2
- package/resources/wallets/index.d.mts.map +1 -1
- package/resources/wallets/index.d.ts +2 -2
- 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/wallets.d.mts +367 -13
- package/resources/wallets/wallets.d.mts.map +1 -1
- package/resources/wallets/wallets.d.ts +367 -13
- 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/webhooks.d.mts +22 -15
- package/resources/webhooks.d.mts.map +1 -1
- package/resources/webhooks.d.ts +22 -15
- package/resources/webhooks.d.ts.map +1 -1
- package/src/client.ts +108 -6
- package/src/resources/accounts.ts +0 -10
- package/src/resources/cards.ts +29 -8
- package/src/resources/fiat.ts +637 -63
- package/src/resources/index.ts +54 -3
- package/src/resources/shared.ts +32 -0
- package/src/resources/swaps.ts +2 -1
- package/src/resources/wallet-automations.ts +120 -6
- package/src/resources/wallets/actions.ts +53 -3
- package/src/resources/wallets/balance.ts +9 -0
- package/src/resources/wallets/index.ts +26 -0
- package/src/resources/wallets/wallets.ts +469 -8
- package/src/resources/webhooks.ts +27 -16
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
|
@@ -1306,10 +1306,10 @@ export interface TransactionStillPendingWebhookPayload {
|
|
|
1306
1306
|
}
|
|
1307
1307
|
|
|
1308
1308
|
/**
|
|
1309
|
-
* Payload for the usage.
|
|
1310
|
-
*
|
|
1309
|
+
* Payload for the usage.gas_sponsorship.recorded webhook event (sponsored network
|
|
1310
|
+
* gas).
|
|
1311
1311
|
*/
|
|
1312
|
-
export interface
|
|
1312
|
+
export interface UsageGasSponsorshipRecordedWebhookPayload {
|
|
1313
1313
|
amount_usd: string;
|
|
1314
1314
|
|
|
1315
1315
|
/**
|
|
@@ -1330,14 +1330,19 @@ export interface UsageCrossChainFeeRecordedWebhookPayload {
|
|
|
1330
1330
|
/**
|
|
1331
1331
|
* The type of webhook event.
|
|
1332
1332
|
*/
|
|
1333
|
-
type: 'usage.
|
|
1333
|
+
type: 'usage.gas_sponsorship.recorded';
|
|
1334
1334
|
}
|
|
1335
1335
|
|
|
1336
1336
|
/**
|
|
1337
|
-
*
|
|
1338
|
-
* gas).
|
|
1337
|
+
* The type of operation that incurred a usage charge.
|
|
1339
1338
|
*/
|
|
1340
|
-
export
|
|
1339
|
+
export type UsageSourceType = 'wallet-action-transfer' | 'wallet-action-swap' | 'rpc';
|
|
1340
|
+
|
|
1341
|
+
/**
|
|
1342
|
+
* Payload for the usage.swap_provider_fee.recorded webhook event (swap provider
|
|
1343
|
+
* fee on a cross-chain transfer or swap).
|
|
1344
|
+
*/
|
|
1345
|
+
export interface UsageSwapProviderFeeRecordedWebhookPayload {
|
|
1341
1346
|
amount_usd: string;
|
|
1342
1347
|
|
|
1343
1348
|
/**
|
|
@@ -1358,14 +1363,9 @@ export interface UsageGasSponsorshipRecordedWebhookPayload {
|
|
|
1358
1363
|
/**
|
|
1359
1364
|
* The type of webhook event.
|
|
1360
1365
|
*/
|
|
1361
|
-
type: 'usage.
|
|
1366
|
+
type: 'usage.swap_provider_fee.recorded';
|
|
1362
1367
|
}
|
|
1363
1368
|
|
|
1364
|
-
/**
|
|
1365
|
-
* The type of operation that incurred a usage charge.
|
|
1366
|
-
*/
|
|
1367
|
-
export type UsageSourceType = 'wallet-action-transfer' | 'wallet-action-swap' | 'rpc';
|
|
1368
|
-
|
|
1369
1369
|
/**
|
|
1370
1370
|
* Payload for the user.authenticated webhook event.
|
|
1371
1371
|
*/
|
|
@@ -4048,7 +4048,17 @@ export type WalletFundsAsset =
|
|
|
4048
4048
|
| WalletFundsErc20Asset
|
|
4049
4049
|
| WalletFundsSplAsset
|
|
4050
4050
|
| WalletFundsSacAsset
|
|
4051
|
-
| WalletFundsTrc20Asset
|
|
4051
|
+
| WalletFundsTrc20Asset
|
|
4052
|
+
| WalletFundsBtknAsset;
|
|
4053
|
+
|
|
4054
|
+
/**
|
|
4055
|
+
* A token issued on Spark, identified by its BTKN identifier.
|
|
4056
|
+
*/
|
|
4057
|
+
export interface WalletFundsBtknAsset {
|
|
4058
|
+
identifier: string;
|
|
4059
|
+
|
|
4060
|
+
type: 'btkn';
|
|
4061
|
+
}
|
|
4052
4062
|
|
|
4053
4063
|
/**
|
|
4054
4064
|
* An ERC-20 token asset.
|
|
@@ -4220,7 +4230,7 @@ export type WebhookPayload =
|
|
|
4220
4230
|
| YieldClaimConfirmedWebhookPayload
|
|
4221
4231
|
| UserOperationCompletedWebhookPayload
|
|
4222
4232
|
| UsageGasSponsorshipRecordedWebhookPayload
|
|
4223
|
-
|
|
|
4233
|
+
| UsageSwapProviderFeeRecordedWebhookPayload
|
|
4224
4234
|
| IntentCreatedWebhookPayload
|
|
4225
4235
|
| IntentAuthorizedWebhookPayload
|
|
4226
4236
|
| IntentRejectedWebhookPayload
|
|
@@ -4379,9 +4389,9 @@ export declare namespace Webhooks {
|
|
|
4379
4389
|
type TransactionProviderErrorWebhookPayload as TransactionProviderErrorWebhookPayload,
|
|
4380
4390
|
type TransactionReplacedWebhookPayload as TransactionReplacedWebhookPayload,
|
|
4381
4391
|
type TransactionStillPendingWebhookPayload as TransactionStillPendingWebhookPayload,
|
|
4382
|
-
type UsageCrossChainFeeRecordedWebhookPayload as UsageCrossChainFeeRecordedWebhookPayload,
|
|
4383
4392
|
type UsageGasSponsorshipRecordedWebhookPayload as UsageGasSponsorshipRecordedWebhookPayload,
|
|
4384
4393
|
type UsageSourceType as UsageSourceType,
|
|
4394
|
+
type UsageSwapProviderFeeRecordedWebhookPayload as UsageSwapProviderFeeRecordedWebhookPayload,
|
|
4385
4395
|
type UserAuthenticatedWebhookPayload as UserAuthenticatedWebhookPayload,
|
|
4386
4396
|
type UserCreatedWebhookPayload as UserCreatedWebhookPayload,
|
|
4387
4397
|
type UserDeletedWebhookPayload as UserDeletedWebhookPayload,
|
|
@@ -4426,6 +4436,7 @@ export declare namespace Webhooks {
|
|
|
4426
4436
|
type WalletArchivedWebhookPayload as WalletArchivedWebhookPayload,
|
|
4427
4437
|
type WalletAutomationSubmittedWebhookPayload as WalletAutomationSubmittedWebhookPayload,
|
|
4428
4438
|
type WalletFundsAsset as WalletFundsAsset,
|
|
4439
|
+
type WalletFundsBtknAsset as WalletFundsBtknAsset,
|
|
4429
4440
|
type WalletFundsErc20Asset as WalletFundsErc20Asset,
|
|
4430
4441
|
type WalletFundsNativeTokenAsset as WalletFundsNativeTokenAsset,
|
|
4431
4442
|
type WalletFundsSacAsset as WalletFundsSacAsset,
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '0.
|
|
1
|
+
export const VERSION = '0.23.0'; // x-release-please-version
|
package/version.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "0.
|
|
1
|
+
export declare const VERSION = "0.23.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.23.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.23.0'; // x-release-please-version
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|