@imtbl/sdk 0.13.2-alpha → 0.14.0-alpha
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/blockchain_data.js +1 -1
- package/dist/browser/checkout.js +2 -2
- package/dist/checkout_sdk.js +24 -56
- package/dist/checkout_widgets.js +1 -1
- package/dist/{erc721_hybrid_permissioned_mintable.d.ts → erc721.d.ts} +29 -8
- package/dist/{erc721_hybrid_permissioned_mintable.js → erc721.js} +190 -119
- package/dist/{erc721_permissioned_mintable.d.ts → erc721_mint_by_id.d.ts} +23 -2
- package/dist/{erc721_permissioned_mintable.js → erc721_mint_by_id.js} +168 -18
- package/dist/immutablex_client.js +1 -1
- package/dist/index.browser.js +14 -14
- package/dist/index.browser.js.map +1 -1
- package/dist/index.cjs +392 -203
- package/dist/index.d.ts +59 -17
- package/dist/index.js +392 -203
- package/dist/passport.js +2 -2
- package/package.json +9 -9
package/dist/index.d.ts
CHANGED
|
@@ -29591,6 +29591,14 @@ declare namespace ERC721Hybrid {
|
|
|
29591
29591
|
to: string;
|
|
29592
29592
|
quantity: BigNumber;
|
|
29593
29593
|
};
|
|
29594
|
+
type IDBurnStruct = {
|
|
29595
|
+
owner: PromiseOrValue<string>;
|
|
29596
|
+
tokenIds: PromiseOrValue<BigNumberish>[];
|
|
29597
|
+
};
|
|
29598
|
+
type IDBurnStructOutput = [string, BigNumber[]] & {
|
|
29599
|
+
owner: string;
|
|
29600
|
+
tokenIds: BigNumber[];
|
|
29601
|
+
};
|
|
29594
29602
|
type TransferRequestStruct = {
|
|
29595
29603
|
from: PromiseOrValue<string>;
|
|
29596
29604
|
tos: PromiseOrValue<string>[];
|
|
@@ -29606,7 +29614,8 @@ declare namespace ERC721Hybrid {
|
|
|
29606
29614
|
type Mint = ERC721Hybrid.MintStruct;
|
|
29607
29615
|
type IDMint$1 = ERC721Hybrid.IDMintStruct;
|
|
29608
29616
|
type TransferRequest$1 = ERC721Hybrid.TransferRequestStruct;
|
|
29609
|
-
|
|
29617
|
+
type IDBurn$1 = ERC721Hybrid.IDBurnStruct;
|
|
29618
|
+
declare class ERC721 {
|
|
29610
29619
|
private readonly contract;
|
|
29611
29620
|
constructor(contractAddress: string);
|
|
29612
29621
|
/**
|
|
@@ -29709,6 +29718,18 @@ declare class ERC721HybridPermissionedMintable {
|
|
|
29709
29718
|
populateBurnBatch(tokenIds: PromiseOrValue<BigNumberish>[], overrides?: Overrides & {
|
|
29710
29719
|
from?: PromiseOrValue<string>;
|
|
29711
29720
|
}): Promise<PopulatedTransaction>;
|
|
29721
|
+
/**
|
|
29722
|
+
* @returns a populated transaction for the safe burn contract function
|
|
29723
|
+
*/
|
|
29724
|
+
populateSafeBurn(owner: PromiseOrValue<string>, tokenId: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
|
|
29725
|
+
from?: PromiseOrValue<string>;
|
|
29726
|
+
}): Promise<PopulatedTransaction>;
|
|
29727
|
+
/**
|
|
29728
|
+
* @returns a populated transaction for the safe burn batch contract function
|
|
29729
|
+
*/
|
|
29730
|
+
populateSafeBurnBatch(burns: IDBurn$1[], overrides?: Overrides & {
|
|
29731
|
+
from?: PromiseOrValue<string>;
|
|
29732
|
+
}): Promise<PopulatedTransaction>;
|
|
29712
29733
|
/**
|
|
29713
29734
|
* @returns a populated transaction for the grantMinterRole contract function
|
|
29714
29735
|
*/
|
|
@@ -29724,13 +29745,13 @@ declare class ERC721HybridPermissionedMintable {
|
|
|
29724
29745
|
/**
|
|
29725
29746
|
* @returns a populated transaction for the mint by ID contract function
|
|
29726
29747
|
*/
|
|
29727
|
-
|
|
29748
|
+
populateMint(to: PromiseOrValue<string>, tokenId: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
|
|
29728
29749
|
from?: PromiseOrValue<string>;
|
|
29729
29750
|
}): Promise<PopulatedTransaction>;
|
|
29730
29751
|
/**
|
|
29731
29752
|
* @returns a populated transaction for the safe mint by ID contract function
|
|
29732
29753
|
*/
|
|
29733
|
-
|
|
29754
|
+
populateSafeMint(to: PromiseOrValue<string>, tokenId: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
|
|
29734
29755
|
from?: PromiseOrValue<string>;
|
|
29735
29756
|
}): Promise<PopulatedTransaction>;
|
|
29736
29757
|
/**
|
|
@@ -29748,25 +29769,25 @@ declare class ERC721HybridPermissionedMintable {
|
|
|
29748
29769
|
/**
|
|
29749
29770
|
* @returns a populated transaction for the batch mint by quantity contract function
|
|
29750
29771
|
*/
|
|
29751
|
-
|
|
29772
|
+
populateMintBatchByQuantity(mints: Mint[], overrides?: Overrides & {
|
|
29752
29773
|
from?: PromiseOrValue<string>;
|
|
29753
29774
|
}): Promise<PopulatedTransaction>;
|
|
29754
29775
|
/**
|
|
29755
29776
|
* @returns a populated transaction for the batch safe mint by quantity contract function
|
|
29756
29777
|
*/
|
|
29757
|
-
|
|
29778
|
+
populateSafeMintBatchByQuantity(mints: Mint[], overrides?: Overrides & {
|
|
29758
29779
|
from?: PromiseOrValue<string>;
|
|
29759
29780
|
}): Promise<PopulatedTransaction>;
|
|
29760
29781
|
/**
|
|
29761
29782
|
* @returns a populated transaction for the batch mint by ID to multiple recipients contract function
|
|
29762
29783
|
*/
|
|
29763
|
-
|
|
29784
|
+
populateMintBatch(mints: IDMint$1[], overrides?: Overrides & {
|
|
29764
29785
|
from?: PromiseOrValue<string>;
|
|
29765
29786
|
}): Promise<PopulatedTransaction>;
|
|
29766
29787
|
/**
|
|
29767
29788
|
* @returns a populated transaction for the batch safe mint by ID to multiple recipients contract function
|
|
29768
29789
|
*/
|
|
29769
|
-
|
|
29790
|
+
populateSafeMintBatch(mints: IDMint$1[], overrides?: Overrides & {
|
|
29770
29791
|
from?: PromiseOrValue<string>;
|
|
29771
29792
|
}): Promise<PopulatedTransaction>;
|
|
29772
29793
|
/**
|
|
@@ -29849,15 +29870,23 @@ declare class ERC721HybridPermissionedMintable {
|
|
|
29849
29870
|
}): Promise<PopulatedTransaction>;
|
|
29850
29871
|
}
|
|
29851
29872
|
|
|
29852
|
-
type
|
|
29853
|
-
declare const
|
|
29854
|
-
declare namespace
|
|
29873
|
+
type erc721_d_ERC721 = ERC721;
|
|
29874
|
+
declare const erc721_d_ERC721: typeof ERC721;
|
|
29875
|
+
declare namespace erc721_d {
|
|
29855
29876
|
export {
|
|
29856
|
-
|
|
29877
|
+
erc721_d_ERC721 as ERC721,
|
|
29857
29878
|
};
|
|
29858
29879
|
}
|
|
29859
29880
|
|
|
29860
29881
|
declare namespace ImmutableERC721Base {
|
|
29882
|
+
type IDBurnStruct = {
|
|
29883
|
+
owner: PromiseOrValue<string>;
|
|
29884
|
+
tokenIds: PromiseOrValue<BigNumberish>[];
|
|
29885
|
+
};
|
|
29886
|
+
type IDBurnStructOutput = [string, BigNumber[]] & {
|
|
29887
|
+
owner: string;
|
|
29888
|
+
tokenIds: BigNumber[];
|
|
29889
|
+
};
|
|
29861
29890
|
type IDMintStruct = {
|
|
29862
29891
|
to: PromiseOrValue<string>;
|
|
29863
29892
|
tokenIds: PromiseOrValue<BigNumberish>[];
|
|
@@ -29880,7 +29909,8 @@ declare namespace ImmutableERC721Base {
|
|
|
29880
29909
|
|
|
29881
29910
|
type IDMint = ImmutableERC721Base.IDMintStruct;
|
|
29882
29911
|
type TransferRequest = ImmutableERC721Base.TransferRequestStruct;
|
|
29883
|
-
|
|
29912
|
+
type IDBurn = ImmutableERC721Base.IDBurnStruct;
|
|
29913
|
+
declare class ERC721MintByID {
|
|
29884
29914
|
private readonly contract;
|
|
29885
29915
|
constructor(contractAddress: string);
|
|
29886
29916
|
/**
|
|
@@ -30007,6 +30037,18 @@ declare class ERC721PermissionedMintable {
|
|
|
30007
30037
|
populateSafeMintBatch(mints: IDMint[], overrides?: Overrides & {
|
|
30008
30038
|
from?: PromiseOrValue<string>;
|
|
30009
30039
|
}): Promise<PopulatedTransaction>;
|
|
30040
|
+
/**
|
|
30041
|
+
* @returns a populated transaction for the safe burn contract function
|
|
30042
|
+
*/
|
|
30043
|
+
populateSafeBurn(owner: PromiseOrValue<string>, tokenId: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
|
|
30044
|
+
from?: PromiseOrValue<string>;
|
|
30045
|
+
}): Promise<PopulatedTransaction>;
|
|
30046
|
+
/**
|
|
30047
|
+
* @returns a populated transaction for the safe burn batch contract function
|
|
30048
|
+
*/
|
|
30049
|
+
populateSafeBurnBatch(burns: IDBurn[], overrides?: Overrides & {
|
|
30050
|
+
from?: PromiseOrValue<string>;
|
|
30051
|
+
}): Promise<PopulatedTransaction>;
|
|
30010
30052
|
/**
|
|
30011
30053
|
* @returns a populated transaction for the renounceRole contract function
|
|
30012
30054
|
*/
|
|
@@ -30087,12 +30129,12 @@ declare class ERC721PermissionedMintable {
|
|
|
30087
30129
|
}): Promise<PopulatedTransaction>;
|
|
30088
30130
|
}
|
|
30089
30131
|
|
|
30090
|
-
type
|
|
30091
|
-
declare const
|
|
30092
|
-
declare namespace
|
|
30132
|
+
type erc721_mint_by_id_d_ERC721MintByID = ERC721MintByID;
|
|
30133
|
+
declare const erc721_mint_by_id_d_ERC721MintByID: typeof ERC721MintByID;
|
|
30134
|
+
declare namespace erc721_mint_by_id_d {
|
|
30093
30135
|
export {
|
|
30094
|
-
|
|
30136
|
+
erc721_mint_by_id_d_ERC721MintByID as ERC721MintByID,
|
|
30095
30137
|
};
|
|
30096
30138
|
}
|
|
30097
30139
|
|
|
30098
|
-
export { blockchain_data_d as blockchainData, checkout_sdk_d as checkoutSdk, checkout_widgets_d as checkoutWidgets, config_d as config, erc20_d as erc20,
|
|
30140
|
+
export { blockchain_data_d as blockchainData, checkout_sdk_d as checkoutSdk, checkout_widgets_d as checkoutWidgets, config_d as config, erc20_d as erc20, erc721_d as erc721, erc721_mint_by_id_d as erc721MintById, immutablex_client_d as immutablexClient, orderbook_d as orderbook, passport_d as passport, provider_d as provider };
|