@revibase/core 0.4.3 → 0.4.4

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.cts CHANGED
@@ -3,7 +3,6 @@ import { ReadonlyUint8Array, Address, FixedSizeEncoder, FixedSizeDecoder, FixedS
3
3
  import { CompressedAccount, WithCursor, ParsedTokenAccount, TreeInfo, AccountProofInput, NewAddressProofInput, PackedTreeInfos, ValidityProofWithContext, Rpc } from '@lightprotocol/stateless.js';
4
4
  import { AuthenticationResponseJSON } from '@simplewebauthn/browser';
5
5
  import z from 'zod';
6
- import * as bn_js from 'bn.js';
7
6
  import { PublicKey } from '@solana/web3.js';
8
7
 
9
8
  declare const DOMAIN_CONFIG_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
@@ -4098,11 +4097,11 @@ interface CreateTransactionSyncArgs {
4098
4097
  declare function prepareTransactionSync({ payer, settings, settingsAddressTreeIndex, transactionMessageBytes, signers, additionalSigners, secp256r1VerifyInput, addressesByLookupTableAddress, cachedAccounts, compressed, simulateProof, }: CreateTransactionSyncArgs): Promise<TransactionDetails>;
4099
4098
 
4100
4099
  declare function getCompressedSettingsAddress(settings: Address, settingsAddressTreeIndex?: number): Promise<{
4101
- address: bn_js;
4100
+ address: BN;
4102
4101
  addressTree: PublicKey;
4103
4102
  }>;
4104
4103
  declare function getUserAccountAddress(member: Address | Secp256r1Key, userAddressTreeIndex?: number): Promise<{
4105
- address: bn_js;
4104
+ address: BN;
4106
4105
  addressTree: PublicKey;
4107
4106
  }>;
4108
4107
  declare function getDomainConfigAddress({ rpIdHash, rpId, }: {
package/dist/index.d.ts CHANGED
@@ -3,7 +3,6 @@ import { ReadonlyUint8Array, Address, FixedSizeEncoder, FixedSizeDecoder, FixedS
3
3
  import { CompressedAccount, WithCursor, ParsedTokenAccount, TreeInfo, AccountProofInput, NewAddressProofInput, PackedTreeInfos, ValidityProofWithContext, Rpc } from '@lightprotocol/stateless.js';
4
4
  import { AuthenticationResponseJSON } from '@simplewebauthn/browser';
5
5
  import z from 'zod';
6
- import * as bn_js from 'bn.js';
7
6
  import { PublicKey } from '@solana/web3.js';
8
7
 
9
8
  declare const DOMAIN_CONFIG_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
@@ -4098,11 +4097,11 @@ interface CreateTransactionSyncArgs {
4098
4097
  declare function prepareTransactionSync({ payer, settings, settingsAddressTreeIndex, transactionMessageBytes, signers, additionalSigners, secp256r1VerifyInput, addressesByLookupTableAddress, cachedAccounts, compressed, simulateProof, }: CreateTransactionSyncArgs): Promise<TransactionDetails>;
4099
4098
 
4100
4099
  declare function getCompressedSettingsAddress(settings: Address, settingsAddressTreeIndex?: number): Promise<{
4101
- address: bn_js;
4100
+ address: BN;
4102
4101
  addressTree: PublicKey;
4103
4102
  }>;
4104
4103
  declare function getUserAccountAddress(member: Address | Secp256r1Key, userAddressTreeIndex?: number): Promise<{
4105
- address: bn_js;
4104
+ address: BN;
4106
4105
  addressTree: PublicKey;
4107
4106
  }>;
4108
4107
  declare function getDomainConfigAddress({ rpIdHash, rpId, }: {