@privy-io/api-types 0.11.0 → 0.12.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 +19 -0
- package/client.d.mts +4 -4
- package/client.d.mts.map +1 -1
- package/client.d.ts +4 -4
- package/client.d.ts.map +1 -1
- package/client.js.map +1 -1
- package/client.mjs +1 -1
- package/client.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.js +2 -0
- package/internal/utils/log.js.map +1 -1
- package/internal/utils/log.mjs +2 -0
- package/internal/utils/log.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/apps.d.mts +5 -0
- package/resources/apps.d.mts.map +1 -1
- package/resources/apps.d.ts +5 -0
- package/resources/apps.d.ts.map +1 -1
- package/resources/cross-app.d.mts +5 -0
- package/resources/cross-app.d.mts.map +1 -1
- package/resources/cross-app.d.ts +5 -0
- package/resources/cross-app.d.ts.map +1 -1
- package/resources/embedded-wallets.d.mts +1 -1
- package/resources/embedded-wallets.d.mts.map +1 -1
- package/resources/embedded-wallets.d.ts +1 -1
- package/resources/embedded-wallets.d.ts.map +1 -1
- package/resources/index.d.mts +2 -2
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +2 -2
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +1 -1
- package/resources/index.mjs.map +1 -1
- package/resources/policies.d.mts +1 -1
- package/resources/policies.d.mts.map +1 -1
- package/resources/policies.d.ts +1 -1
- package/resources/policies.d.ts.map +1 -1
- package/resources/swaps.d.mts +54 -26
- package/resources/swaps.d.mts.map +1 -1
- package/resources/swaps.d.ts +54 -26
- package/resources/swaps.d.ts.map +1 -1
- package/resources/wallet-actions.d.mts +22 -3
- package/resources/wallet-actions.d.mts.map +1 -1
- package/resources/wallet-actions.d.ts +22 -3
- package/resources/wallet-actions.d.ts.map +1 -1
- package/resources/wallets/transactions.d.mts +6 -2
- package/resources/wallets/transactions.d.mts.map +1 -1
- package/resources/wallets/transactions.d.ts +6 -2
- package/resources/wallets/transactions.d.ts.map +1 -1
- package/resources/wallets/wallets.d.mts +54 -27
- package/resources/wallets/wallets.d.mts.map +1 -1
- package/resources/wallets/wallets.d.ts +54 -27
- 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/src/client.ts +16 -1
- package/src/internal/utils/log.ts +2 -0
- package/src/resources/apps.ts +6 -0
- package/src/resources/cross-app.ts +6 -0
- package/src/resources/embedded-wallets.ts +2 -1
- package/src/resources/index.ts +11 -1
- package/src/resources/policies.ts +0 -2
- package/src/resources/swaps.ts +59 -25
- package/src/resources/wallet-actions.ts +38 -2
- package/src/resources/wallets/transactions.ts +6 -2
- package/src/resources/wallets/wallets.ts +54 -27
- 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
|
@@ -522,7 +522,8 @@ export interface EthereumSecp256k1SignRpcInput {
|
|
|
522
522
|
*/
|
|
523
523
|
export interface EthereumSecp256k1SignRpcInputParams {
|
|
524
524
|
/**
|
|
525
|
-
* A hex-encoded string prefixed with '0x'
|
|
525
|
+
* A hex-encoded string prefixed with '0x', capped at 100002 characters (50,000
|
|
526
|
+
* bytes).
|
|
526
527
|
*/
|
|
527
528
|
hash: Hex;
|
|
528
529
|
}
|
|
@@ -546,7 +547,8 @@ export interface EthereumSecp256k1SignRpcResponseData {
|
|
|
546
547
|
encoding: 'hex';
|
|
547
548
|
|
|
548
549
|
/**
|
|
549
|
-
* A hex-encoded string prefixed with '0x'
|
|
550
|
+
* A hex-encoded string prefixed with '0x', capped at 100002 characters (50,000
|
|
551
|
+
* bytes).
|
|
550
552
|
*/
|
|
551
553
|
signature: Hex;
|
|
552
554
|
}
|
|
@@ -558,7 +560,8 @@ export interface EthereumSendCallsCall {
|
|
|
558
560
|
to: string;
|
|
559
561
|
|
|
560
562
|
/**
|
|
561
|
-
* A hex-encoded string prefixed with '0x'
|
|
563
|
+
* A hex-encoded string prefixed with '0x', capped at 100002 characters (50,000
|
|
564
|
+
* bytes).
|
|
562
565
|
*/
|
|
563
566
|
data?: Hex;
|
|
564
567
|
|
|
@@ -591,7 +594,8 @@ export interface EthereumSendCallsRpcInput {
|
|
|
591
594
|
chain_type?: 'ethereum';
|
|
592
595
|
|
|
593
596
|
/**
|
|
594
|
-
* A hex-encoded string prefixed with '0x'
|
|
597
|
+
* A hex-encoded string prefixed with '0x', capped at 100002 characters (50,000
|
|
598
|
+
* bytes).
|
|
595
599
|
*/
|
|
596
600
|
experimental_data_suffix?: Hex;
|
|
597
601
|
|
|
@@ -652,7 +656,8 @@ export interface EthereumSendTransactionRpcInput {
|
|
|
652
656
|
chain_type?: 'ethereum';
|
|
653
657
|
|
|
654
658
|
/**
|
|
655
|
-
* A hex-encoded string prefixed with '0x'
|
|
659
|
+
* A hex-encoded string prefixed with '0x', capped at 100002 characters (50,000
|
|
660
|
+
* bytes).
|
|
656
661
|
*/
|
|
657
662
|
experimental_data_suffix?: Hex;
|
|
658
663
|
|
|
@@ -730,12 +735,14 @@ export interface EthereumSign7702Authorization {
|
|
|
730
735
|
nonce: Quantity;
|
|
731
736
|
|
|
732
737
|
/**
|
|
733
|
-
* A hex-encoded string prefixed with '0x'
|
|
738
|
+
* A hex-encoded string prefixed with '0x', capped at 100002 characters (50,000
|
|
739
|
+
* bytes).
|
|
734
740
|
*/
|
|
735
741
|
r: Hex;
|
|
736
742
|
|
|
737
743
|
/**
|
|
738
|
-
* A hex-encoded string prefixed with '0x'
|
|
744
|
+
* A hex-encoded string prefixed with '0x', capped at 100002 characters (50,000
|
|
745
|
+
* bytes).
|
|
739
746
|
*/
|
|
740
747
|
s: Hex;
|
|
741
748
|
|
|
@@ -1191,7 +1198,8 @@ export interface HpkeImportConfig {
|
|
|
1191
1198
|
}
|
|
1192
1199
|
|
|
1193
1200
|
/**
|
|
1194
|
-
* A hex-encoded string prefixed with '0x'
|
|
1201
|
+
* A hex-encoded string prefixed with '0x', capped at 100002 characters (50,000
|
|
1202
|
+
* bytes).
|
|
1195
1203
|
*/
|
|
1196
1204
|
export type Hex = string;
|
|
1197
1205
|
|
|
@@ -1383,7 +1391,8 @@ export interface RawSignBytesParams {
|
|
|
1383
1391
|
*/
|
|
1384
1392
|
export interface RawSignHashParams {
|
|
1385
1393
|
/**
|
|
1386
|
-
* A hex-encoded string prefixed with '0x'
|
|
1394
|
+
* A hex-encoded string prefixed with '0x', capped at 100002 characters (50,000
|
|
1395
|
+
* bytes).
|
|
1387
1396
|
*/
|
|
1388
1397
|
hash: Hex;
|
|
1389
1398
|
}
|
|
@@ -1423,7 +1432,8 @@ export interface RawSignResponseData {
|
|
|
1423
1432
|
encoding: 'hex';
|
|
1424
1433
|
|
|
1425
1434
|
/**
|
|
1426
|
-
* A hex-encoded string prefixed with '0x'
|
|
1435
|
+
* A hex-encoded string prefixed with '0x', capped at 100002 characters (50,000
|
|
1436
|
+
* bytes).
|
|
1427
1437
|
*/
|
|
1428
1438
|
signature: Hex;
|
|
1429
1439
|
}
|
|
@@ -2298,7 +2308,8 @@ export interface TempoAaAuthorization {
|
|
|
2298
2308
|
nonce: Quantity;
|
|
2299
2309
|
|
|
2300
2310
|
/**
|
|
2301
|
-
* A hex-encoded string prefixed with '0x'
|
|
2311
|
+
* A hex-encoded string prefixed with '0x', capped at 100002 characters (50,000
|
|
2312
|
+
* bytes).
|
|
2302
2313
|
*/
|
|
2303
2314
|
signature: Hex;
|
|
2304
2315
|
}
|
|
@@ -2310,7 +2321,8 @@ export interface TempoCall {
|
|
|
2310
2321
|
to: string;
|
|
2311
2322
|
|
|
2312
2323
|
/**
|
|
2313
|
-
* A hex-encoded string prefixed with '0x'
|
|
2324
|
+
* A hex-encoded string prefixed with '0x', capped at 100002 characters (50,000
|
|
2325
|
+
* bytes).
|
|
2314
2326
|
*/
|
|
2315
2327
|
data?: Hex;
|
|
2316
2328
|
|
|
@@ -2326,12 +2338,14 @@ export interface TempoCall {
|
|
|
2326
2338
|
*/
|
|
2327
2339
|
export interface TempoFeePayerSignature {
|
|
2328
2340
|
/**
|
|
2329
|
-
* A hex-encoded string prefixed with '0x'
|
|
2341
|
+
* A hex-encoded string prefixed with '0x', capped at 100002 characters (50,000
|
|
2342
|
+
* bytes).
|
|
2330
2343
|
*/
|
|
2331
2344
|
r: Hex;
|
|
2332
2345
|
|
|
2333
2346
|
/**
|
|
2334
|
-
* A hex-encoded string prefixed with '0x'
|
|
2347
|
+
* A hex-encoded string prefixed with '0x', capped at 100002 characters (50,000
|
|
2348
|
+
* bytes).
|
|
2335
2349
|
*/
|
|
2336
2350
|
s: Hex;
|
|
2337
2351
|
|
|
@@ -2549,7 +2563,8 @@ export interface UnsignedStandardEthereumTransaction {
|
|
|
2549
2563
|
chain_id?: Quantity;
|
|
2550
2564
|
|
|
2551
2565
|
/**
|
|
2552
|
-
* A hex-encoded string prefixed with '0x'
|
|
2566
|
+
* A hex-encoded string prefixed with '0x', capped at 100002 characters (50,000
|
|
2567
|
+
* bytes).
|
|
2553
2568
|
*/
|
|
2554
2569
|
data?: Hex;
|
|
2555
2570
|
|
|
@@ -2679,56 +2694,66 @@ export namespace UnsignedTempoTransaction {
|
|
|
2679
2694
|
*/
|
|
2680
2695
|
export interface UserOperationInput {
|
|
2681
2696
|
/**
|
|
2682
|
-
* A hex-encoded string prefixed with '0x'
|
|
2697
|
+
* A hex-encoded string prefixed with '0x', capped at 100002 characters (50,000
|
|
2698
|
+
* bytes).
|
|
2683
2699
|
*/
|
|
2684
2700
|
call_data: Hex;
|
|
2685
2701
|
|
|
2686
2702
|
/**
|
|
2687
|
-
* A hex-encoded string prefixed with '0x'
|
|
2703
|
+
* A hex-encoded string prefixed with '0x', capped at 100002 characters (50,000
|
|
2704
|
+
* bytes).
|
|
2688
2705
|
*/
|
|
2689
2706
|
call_gas_limit: Hex;
|
|
2690
2707
|
|
|
2691
2708
|
/**
|
|
2692
|
-
* A hex-encoded string prefixed with '0x'
|
|
2709
|
+
* A hex-encoded string prefixed with '0x', capped at 100002 characters (50,000
|
|
2710
|
+
* bytes).
|
|
2693
2711
|
*/
|
|
2694
2712
|
max_fee_per_gas: Hex;
|
|
2695
2713
|
|
|
2696
2714
|
/**
|
|
2697
|
-
* A hex-encoded string prefixed with '0x'
|
|
2715
|
+
* A hex-encoded string prefixed with '0x', capped at 100002 characters (50,000
|
|
2716
|
+
* bytes).
|
|
2698
2717
|
*/
|
|
2699
2718
|
max_priority_fee_per_gas: Hex;
|
|
2700
2719
|
|
|
2701
2720
|
/**
|
|
2702
|
-
* A hex-encoded string prefixed with '0x'
|
|
2721
|
+
* A hex-encoded string prefixed with '0x', capped at 100002 characters (50,000
|
|
2722
|
+
* bytes).
|
|
2703
2723
|
*/
|
|
2704
2724
|
nonce: Hex;
|
|
2705
2725
|
|
|
2706
2726
|
/**
|
|
2707
|
-
* A hex-encoded string prefixed with '0x'
|
|
2727
|
+
* A hex-encoded string prefixed with '0x', capped at 100002 characters (50,000
|
|
2728
|
+
* bytes).
|
|
2708
2729
|
*/
|
|
2709
2730
|
pre_verification_gas: Hex;
|
|
2710
2731
|
|
|
2711
2732
|
sender: string;
|
|
2712
2733
|
|
|
2713
2734
|
/**
|
|
2714
|
-
* A hex-encoded string prefixed with '0x'
|
|
2735
|
+
* A hex-encoded string prefixed with '0x', capped at 100002 characters (50,000
|
|
2736
|
+
* bytes).
|
|
2715
2737
|
*/
|
|
2716
2738
|
verification_gas_limit: Hex;
|
|
2717
2739
|
|
|
2718
2740
|
paymaster?: string;
|
|
2719
2741
|
|
|
2720
2742
|
/**
|
|
2721
|
-
* A hex-encoded string prefixed with '0x'
|
|
2743
|
+
* A hex-encoded string prefixed with '0x', capped at 100002 characters (50,000
|
|
2744
|
+
* bytes).
|
|
2722
2745
|
*/
|
|
2723
2746
|
paymaster_data?: Hex;
|
|
2724
2747
|
|
|
2725
2748
|
/**
|
|
2726
|
-
* A hex-encoded string prefixed with '0x'
|
|
2749
|
+
* A hex-encoded string prefixed with '0x', capped at 100002 characters (50,000
|
|
2750
|
+
* bytes).
|
|
2727
2751
|
*/
|
|
2728
2752
|
paymaster_post_op_gas_limit?: Hex;
|
|
2729
2753
|
|
|
2730
2754
|
/**
|
|
2731
|
-
* A hex-encoded string prefixed with '0x'
|
|
2755
|
+
* A hex-encoded string prefixed with '0x', capped at 100002 characters (50,000
|
|
2756
|
+
* bytes).
|
|
2732
2757
|
*/
|
|
2733
2758
|
paymaster_verification_gas_limit?: Hex;
|
|
2734
2759
|
}
|
|
@@ -3571,7 +3596,8 @@ export declare namespace WalletRpcParams {
|
|
|
3571
3596
|
chain_type?: 'ethereum';
|
|
3572
3597
|
|
|
3573
3598
|
/**
|
|
3574
|
-
* Body param: A hex-encoded string prefixed with '0x'
|
|
3599
|
+
* Body param: A hex-encoded string prefixed with '0x', capped at 100002 characters
|
|
3600
|
+
* (50,000 bytes).
|
|
3575
3601
|
*/
|
|
3576
3602
|
experimental_data_suffix?: Hex;
|
|
3577
3603
|
|
|
@@ -3861,7 +3887,8 @@ export declare namespace WalletRpcParams {
|
|
|
3861
3887
|
chain_type?: 'ethereum';
|
|
3862
3888
|
|
|
3863
3889
|
/**
|
|
3864
|
-
* Body param: A hex-encoded string prefixed with '0x'
|
|
3890
|
+
* Body param: A hex-encoded string prefixed with '0x', capped at 100002 characters
|
|
3891
|
+
* (50,000 bytes).
|
|
3865
3892
|
*/
|
|
3866
3893
|
experimental_data_suffix?: Hex;
|
|
3867
3894
|
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '0.
|
|
1
|
+
export const VERSION = '0.12.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.12.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.12.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.12.0'; // x-release-please-version
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|