@mycelium-sdk/core 1.0.0-alpha.2 → 1.0.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/dist/index.d.cts +20 -0
- package/dist/index.d.ts +20 -0
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -572,7 +572,11 @@ interface ProxyBalance {
|
|
|
572
572
|
|
|
573
573
|
/**
|
|
574
574
|
* Options for creating a smart wallet
|
|
575
|
+
<<<<<<< HEAD
|
|
575
576
|
* Parameters for creating a new smart wallet with specified owners and signer
|
|
577
|
+
=======
|
|
578
|
+
* Parameters for creating a new smart wallet with specified owners and signer
|
|
579
|
+
>>>>>>> main
|
|
576
580
|
*/
|
|
577
581
|
type CreateSmartWalletOptions = {
|
|
578
582
|
owners: Array<Address | WebAuthnAccount>;
|
|
@@ -581,7 +585,11 @@ type CreateSmartWalletOptions = {
|
|
|
581
585
|
};
|
|
582
586
|
/**
|
|
583
587
|
* Options for creating a wallet with embedded signer
|
|
588
|
+
<<<<<<< HEAD
|
|
584
589
|
* Parameters for creating both embedded and smart wallets, with embedded wallet automatically added as signer
|
|
590
|
+
=======
|
|
591
|
+
* Parameters for creating both embedded and smart wallets, with embedded wallet automatically added as signer
|
|
592
|
+
>>>>>>> main
|
|
585
593
|
*/
|
|
586
594
|
type CreateAccountOptions = {
|
|
587
595
|
owners?: Array<Address | WebAuthnAccount>;
|
|
@@ -590,7 +598,11 @@ type CreateAccountOptions = {
|
|
|
590
598
|
};
|
|
591
599
|
/**
|
|
592
600
|
* Options for retrieving a smart wallet with provided signer
|
|
601
|
+
<<<<<<< HEAD
|
|
593
602
|
* Parameters for getting an existing smart wallet using a provided LocalAccount signer
|
|
603
|
+
=======
|
|
604
|
+
* Parameters for getting an existing smart wallet using a provided LocalAccount signer
|
|
605
|
+
>>>>>>> main
|
|
594
606
|
*/
|
|
595
607
|
type GetSmartWalletOptions = {
|
|
596
608
|
signer: LocalAccount;
|
|
@@ -601,14 +613,22 @@ type GetSmartWalletOptions = {
|
|
|
601
613
|
};
|
|
602
614
|
/**
|
|
603
615
|
* Options for retrieving an embedded wallet
|
|
616
|
+
<<<<<<< HEAD
|
|
604
617
|
* Parameters for getting an existing embedded wallet
|
|
618
|
+
=======
|
|
619
|
+
* Parameters for getting an existing embedded wallet
|
|
620
|
+
>>>>>>> main
|
|
605
621
|
*/
|
|
606
622
|
type GetEmbeddedWalletOptions = {
|
|
607
623
|
walletId: string;
|
|
608
624
|
};
|
|
609
625
|
/**
|
|
610
626
|
* Options for retrieving a smart wallet with embedded wallet signer
|
|
627
|
+
<<<<<<< HEAD
|
|
611
628
|
* Parameters for getting an existing smart wallet using an embedded wallet as signer.
|
|
629
|
+
=======
|
|
630
|
+
* Parameters for getting an existing smart wallet using an embedded wallet as signer.
|
|
631
|
+
>>>>>>> main
|
|
612
632
|
* If neither walletAddress nor deploymentOwners is provided, defaults to using the embedded wallet as single owner.
|
|
613
633
|
*/
|
|
614
634
|
type GetAccountOptions = Omit<GetSmartWalletOptions, 'signer'> & GetEmbeddedWalletOptions;
|
package/dist/index.d.ts
CHANGED
|
@@ -572,7 +572,11 @@ interface ProxyBalance {
|
|
|
572
572
|
|
|
573
573
|
/**
|
|
574
574
|
* Options for creating a smart wallet
|
|
575
|
+
<<<<<<< HEAD
|
|
575
576
|
* Parameters for creating a new smart wallet with specified owners and signer
|
|
577
|
+
=======
|
|
578
|
+
* Parameters for creating a new smart wallet with specified owners and signer
|
|
579
|
+
>>>>>>> main
|
|
576
580
|
*/
|
|
577
581
|
type CreateSmartWalletOptions = {
|
|
578
582
|
owners: Array<Address | WebAuthnAccount>;
|
|
@@ -581,7 +585,11 @@ type CreateSmartWalletOptions = {
|
|
|
581
585
|
};
|
|
582
586
|
/**
|
|
583
587
|
* Options for creating a wallet with embedded signer
|
|
588
|
+
<<<<<<< HEAD
|
|
584
589
|
* Parameters for creating both embedded and smart wallets, with embedded wallet automatically added as signer
|
|
590
|
+
=======
|
|
591
|
+
* Parameters for creating both embedded and smart wallets, with embedded wallet automatically added as signer
|
|
592
|
+
>>>>>>> main
|
|
585
593
|
*/
|
|
586
594
|
type CreateAccountOptions = {
|
|
587
595
|
owners?: Array<Address | WebAuthnAccount>;
|
|
@@ -590,7 +598,11 @@ type CreateAccountOptions = {
|
|
|
590
598
|
};
|
|
591
599
|
/**
|
|
592
600
|
* Options for retrieving a smart wallet with provided signer
|
|
601
|
+
<<<<<<< HEAD
|
|
593
602
|
* Parameters for getting an existing smart wallet using a provided LocalAccount signer
|
|
603
|
+
=======
|
|
604
|
+
* Parameters for getting an existing smart wallet using a provided LocalAccount signer
|
|
605
|
+
>>>>>>> main
|
|
594
606
|
*/
|
|
595
607
|
type GetSmartWalletOptions = {
|
|
596
608
|
signer: LocalAccount;
|
|
@@ -601,14 +613,22 @@ type GetSmartWalletOptions = {
|
|
|
601
613
|
};
|
|
602
614
|
/**
|
|
603
615
|
* Options for retrieving an embedded wallet
|
|
616
|
+
<<<<<<< HEAD
|
|
604
617
|
* Parameters for getting an existing embedded wallet
|
|
618
|
+
=======
|
|
619
|
+
* Parameters for getting an existing embedded wallet
|
|
620
|
+
>>>>>>> main
|
|
605
621
|
*/
|
|
606
622
|
type GetEmbeddedWalletOptions = {
|
|
607
623
|
walletId: string;
|
|
608
624
|
};
|
|
609
625
|
/**
|
|
610
626
|
* Options for retrieving a smart wallet with embedded wallet signer
|
|
627
|
+
<<<<<<< HEAD
|
|
611
628
|
* Parameters for getting an existing smart wallet using an embedded wallet as signer.
|
|
629
|
+
=======
|
|
630
|
+
* Parameters for getting an existing smart wallet using an embedded wallet as signer.
|
|
631
|
+
>>>>>>> main
|
|
612
632
|
* If neither walletAddress nor deploymentOwners is provided, defaults to using the embedded wallet as single owner.
|
|
613
633
|
*/
|
|
614
634
|
type GetAccountOptions = Omit<GetSmartWalletOptions, 'signer'> & GetEmbeddedWalletOptions;
|