@loyal-labs/private-transactions 0.2.6 → 0.2.8

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.ts CHANGED
@@ -31,7 +31,7 @@
31
31
  * await client.undelegateDeposit({ user: signer.publicKey, tokenMint, payer: signer.publicKey, sessionToken: null, magicProgram: MAGIC_PROGRAM_ID, magicContext: MAGIC_CONTEXT_ID });
32
32
  */
33
33
  export { LoyalPrivateTransactionsClient, waitForAccountOwnerChange, } from "./src/LoyalPrivateTransactionsClient";
34
- export type { WalletSigner, WalletLike, RpcOptions, ClientConfig, DepositData, UsernameDepositData, InitializeDepositParams, ModifyBalanceParams, ModifyBalanceResult, CreatePermissionParams, CreateUsernamePermissionParams, DelegateDepositParams, DelegateUsernameDepositParams, UndelegateDepositParams, UndelegateUsernameDepositParams, TransferDepositParams, TransferToUsernameDepositParams, DelegationRecord, DelegationStatusResult, DelegationStatusResponse, } from "./src/types";
34
+ export type { WalletSigner, WalletLike, RpcOptions, ClientConfig, DepositData, UsernameDepositData, InitializeDepositParams, ModifyBalanceParams, ModifyBalanceResult, GetKaminoShieldedBalanceQuoteParams, GetKaminoCollateralSharesForLiquidityAmountParams, KaminoReserveSnapshot, KaminoTrackedBalanceCostBasis, KaminoPositionYieldInfo, KaminoShieldedBalanceQuote, CreatePermissionParams, CreateUsernamePermissionParams, DelegateDepositParams, DelegateUsernameDepositParams, UndelegateDepositParams, UndelegateUsernameDepositParams, TransferDepositParams, TransferToUsernameDepositParams, DelegationRecord, DelegationStatusResult, DelegationStatusResponse, } from "./src/types";
35
35
  export { isKeypair, isAnchorProvider, isWalletLike } from "./src/types";
36
36
  export { ER_VALIDATOR, ER_VALIDATOR_DEVNET, ER_VALIDATOR_MAINNET, getErValidatorForSolanaEnv, getErValidatorForRpcEndpoint, PROGRAM_ID, DELEGATION_PROGRAM_ID, PERMISSION_PROGRAM_ID, MAGIC_PROGRAM_ID, MAGIC_CONTEXT_ID, DEPOSIT_SEED, DEPOSIT_SEED_BYTES, USERNAME_DEPOSIT_SEED, USERNAME_DEPOSIT_SEED_BYTES, VAULT_SEED, VAULT_SEED_BYTES, PERMISSION_SEED, PERMISSION_SEED_BYTES, LAMPORTS_PER_SOL, solToLamports, lamportsToSol, } from "./src/constants";
37
37
  export { findDepositPda, findUsernameDepositPda, findVaultPda, findPermissionPda, findDelegationRecordPda, findDelegationMetadataPda, findBufferPda, } from "./src/pda";
@@ -53,6 +53,12 @@ export declare const IDL: {
53
53
  writable?: undefined;
54
54
  pda?: undefined;
55
55
  address?: undefined;
56
+ } | {
57
+ name: string;
58
+ writable: boolean;
59
+ relations?: undefined;
60
+ pda?: undefined;
61
+ address?: undefined;
56
62
  } | {
57
63
  name: string;
58
64
  writable: boolean;
@@ -235,10 +241,15 @@ export declare const IDL: {
235
241
  optional?: undefined;
236
242
  pda?: undefined;
237
243
  })[];
238
- args: {
244
+ args: ({
245
+ name: string;
246
+ type: {
247
+ array: (string | number)[];
248
+ };
249
+ } | {
239
250
  name: string;
240
251
  type: string;
241
- }[];
252
+ })[];
242
253
  } | {
243
254
  name: string;
244
255
  discriminator: number[];
@@ -279,7 +290,9 @@ export declare const IDL: {
279
290
  })[];
280
291
  args: {
281
292
  name: string;
282
- type: string;
293
+ type: {
294
+ array: (string | number)[];
295
+ };
283
296
  }[];
284
297
  docs?: undefined;
285
298
  } | {
@@ -429,6 +442,14 @@ export declare const IDL: {
429
442
  signer?: undefined;
430
443
  optional?: undefined;
431
444
  address?: undefined;
445
+ } | {
446
+ name: string;
447
+ writable: boolean;
448
+ relations?: undefined;
449
+ signer?: undefined;
450
+ optional?: undefined;
451
+ pda?: undefined;
452
+ address?: undefined;
432
453
  } | {
433
454
  name: string;
434
455
  address: string;
@@ -552,10 +573,15 @@ export declare const IDL: {
552
573
  signer?: undefined;
553
574
  pda?: undefined;
554
575
  })[];
555
- args: {
576
+ args: ({
577
+ name: string;
578
+ type: {
579
+ array: (string | number)[];
580
+ };
581
+ } | {
556
582
  name: string;
557
583
  type: string;
558
- }[];
584
+ })[];
559
585
  })[];
560
586
  accounts: {
561
587
  name: string;
@@ -568,29 +594,47 @@ export declare const IDL: {
568
594
  }[];
569
595
  types: ({
570
596
  name: string;
571
- docs: string[];
572
597
  type: {
573
598
  kind: string;
574
- fields: {
599
+ fields: ({
575
600
  name: string;
576
601
  type: string;
577
- }[];
602
+ } | {
603
+ name: string;
604
+ type: {
605
+ array: (string | number)[];
606
+ option?: undefined;
607
+ };
608
+ } | {
609
+ name: string;
610
+ type: {
611
+ option: string;
612
+ array?: undefined;
613
+ };
614
+ })[];
578
615
  };
616
+ docs?: undefined;
579
617
  } | {
580
618
  name: string;
619
+ docs: string[];
581
620
  type: {
582
621
  kind: string;
583
622
  fields: ({
623
+ name: string;
624
+ type: {
625
+ array: (string | number)[];
626
+ };
627
+ docs?: undefined;
628
+ } | {
584
629
  name: string;
585
630
  type: string;
631
+ docs?: undefined;
586
632
  } | {
587
633
  name: string;
588
- type: {
589
- option: string;
590
- };
634
+ docs: string[];
635
+ type: string;
591
636
  })[];
592
637
  };
593
- docs?: undefined;
594
638
  })[];
595
639
  };
596
640
  export type { TelegramPrivateTransfer } from "./src/idl/telegram_private_transfer.ts";