@imtbl/sdk 1.7.3-alpha.1 → 1.7.3-alpha.2

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.
Files changed (37) hide show
  1. package/dist/blockchain_data.d.ts +288 -449
  2. package/dist/blockchain_data.js +2 -149
  3. package/dist/browser/checkout/BridgeWidget-85db50d2.js +1 -0
  4. package/dist/browser/checkout/OnRampWidget-58400404.js +1 -0
  5. package/dist/browser/checkout/SaleWidget-549f0f75.js +2 -0
  6. package/dist/browser/checkout/SpendingCapHero-24fed6d2.js +1 -0
  7. package/dist/browser/checkout/SwapWidget-9eecba27.js +1 -0
  8. package/dist/browser/checkout/TopUpView-26964a9e.js +1 -0
  9. package/dist/browser/checkout/WalletWidget-7e6fed9c.js +1 -0
  10. package/dist/browser/checkout/auto-track-da38e5a8.js +1 -0
  11. package/dist/browser/checkout/balance-310539bb.js +1 -0
  12. package/dist/browser/checkout/index-392bc434.js +1 -0
  13. package/dist/browser/checkout/index-3d847e0c.js +1 -0
  14. package/dist/browser/checkout/index-4e77760b.js +773 -0
  15. package/dist/browser/checkout/index-8184ffea.js +1 -0
  16. package/dist/browser/checkout/index-919a5df1.js +1 -0
  17. package/dist/browser/checkout/index-e6159023.js +1 -0
  18. package/dist/browser/checkout/index-eb42cd09.js +106 -0
  19. package/dist/browser/checkout/index.umd-c2e32802.js +1 -0
  20. package/dist/browser/checkout/is-plan-event-enabled-80f76ce6.js +1 -0
  21. package/dist/browser/checkout/retry-355e44f2.js +1 -0
  22. package/dist/browser/checkout/sdk.js +4 -4
  23. package/dist/browser/checkout/useTransakEvents-c6a83ea5.js +2 -0
  24. package/dist/browser/checkout/widgets-esm.js +1 -0
  25. package/dist/browser/checkout/widgets.js +50 -51
  26. package/dist/checkout.d.ts +3 -1
  27. package/dist/checkout.js +65 -179
  28. package/dist/config.js +1 -1
  29. package/dist/index.browser.js +7 -7
  30. package/dist/index.browser.js.map +1 -1
  31. package/dist/index.cjs +200 -290
  32. package/dist/index.d.ts +291 -450
  33. package/dist/index.js +200 -290
  34. package/dist/orderbook.js +1 -1
  35. package/dist/passport.js +136 -239
  36. package/dist/x.js +2 -2
  37. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -11817,24 +11817,6 @@ interface CollectionMetadata$1 {
11817
11817
  'base_uri': string | null;
11818
11818
  }
11819
11819
 
11820
- /**
11821
- * Immutable zkEVM API
11822
- * Immutable Multi Rollup API
11823
- *
11824
- * The version of the OpenAPI document: 1.0.0
11825
- * Contact: support@immutable.com
11826
- *
11827
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11828
- * https://openapi-generator.tech
11829
- * Do not edit the class manually.
11830
- */
11831
- /**
11832
- * @type NFTMetadataAttributeValue
11833
- * The metadata trait value
11834
- * @export
11835
- */
11836
- type NFTMetadataAttributeValue$1 = boolean | number | string;
11837
-
11838
11820
  /**
11839
11821
  * Immutable zkEVM API
11840
11822
  * Immutable Multi Rollup API
@@ -11848,23 +11830,17 @@ type NFTMetadataAttributeValue$1 = boolean | number | string;
11848
11830
  */
11849
11831
 
11850
11832
  /**
11851
- *
11833
+ * Single activity
11852
11834
  * @export
11853
- * @interface NFTMetadataAttribute
11835
+ * @interface GetActivityResult
11854
11836
  */
11855
- interface NFTMetadataAttribute$1 {
11856
- /**
11857
- * The metadata trait type
11858
- * @type {string}
11859
- * @memberof NFTMetadataAttribute
11860
- */
11861
- 'trait_type': string;
11837
+ interface GetActivityResult$1 {
11862
11838
  /**
11863
11839
  *
11864
- * @type {NFTMetadataAttributeValue}
11865
- * @memberof NFTMetadataAttribute
11840
+ * @type {Activity}
11841
+ * @memberof GetActivityResult
11866
11842
  */
11867
- 'value': NFTMetadataAttributeValue$1;
11843
+ 'result': Activity$1;
11868
11844
  }
11869
11845
 
11870
11846
  /**
@@ -11880,53 +11856,17 @@ interface NFTMetadataAttribute$1 {
11880
11856
  */
11881
11857
 
11882
11858
  /**
11883
- *
11859
+ * Single Collection
11884
11860
  * @export
11885
- * @interface NFTMetadataRequest
11861
+ * @interface GetCollectionResult
11886
11862
  */
11887
- interface NFTMetadataRequest$1 {
11888
- /**
11889
- * The name of the NFT
11890
- * @type {string}
11891
- * @memberof NFTMetadataRequest
11892
- */
11893
- 'name'?: string | null;
11894
- /**
11895
- * The description of the NFT
11896
- * @type {string}
11897
- * @memberof NFTMetadataRequest
11898
- */
11899
- 'description'?: string | null;
11900
- /**
11901
- * The image url of the NFT
11902
- * @type {string}
11903
- * @memberof NFTMetadataRequest
11904
- */
11905
- 'image'?: string | null;
11906
- /**
11907
- * The external link of the NFT
11908
- * @type {string}
11909
- * @memberof NFTMetadataRequest
11910
- */
11911
- 'external_url'?: string | null;
11912
- /**
11913
- * The animation url of the NFT
11914
- * @type {string}
11915
- * @memberof NFTMetadataRequest
11916
- */
11917
- 'animation_url'?: string | null;
11918
- /**
11919
- * The youtube link of the NFT
11920
- * @type {string}
11921
- * @memberof NFTMetadataRequest
11922
- */
11923
- 'youtube_url'?: string | null;
11863
+ interface GetCollectionResult$1 {
11924
11864
  /**
11925
- * List of Metadata attributes
11926
- * @type {Array<NFTMetadataAttribute>}
11927
- * @memberof NFTMetadataRequest
11865
+ *
11866
+ * @type {Collection}
11867
+ * @memberof GetCollectionResult
11928
11868
  */
11929
- 'attributes'?: Array<NFTMetadataAttribute$1> | null;
11869
+ 'result': Collection$2;
11930
11870
  }
11931
11871
 
11932
11872
  /**
@@ -11940,20 +11880,12 @@ interface NFTMetadataRequest$1 {
11940
11880
  * https://openapi-generator.tech
11941
11881
  * Do not edit the class manually.
11942
11882
  */
11943
-
11944
11883
  /**
11945
- * Single activity
11884
+ * @type NFTMetadataAttributeValue
11885
+ * The metadata trait value
11946
11886
  * @export
11947
- * @interface GetActivityResult
11948
11887
  */
11949
- interface GetActivityResult$1 {
11950
- /**
11951
- *
11952
- * @type {Activity}
11953
- * @memberof GetActivityResult
11954
- */
11955
- 'result': Activity$1;
11956
- }
11888
+ type NFTMetadataAttributeValue$1 = boolean | number | string;
11957
11889
 
11958
11890
  /**
11959
11891
  * Immutable zkEVM API
@@ -11968,17 +11900,23 @@ interface GetActivityResult$1 {
11968
11900
  */
11969
11901
 
11970
11902
  /**
11971
- * Single Collection
11903
+ *
11972
11904
  * @export
11973
- * @interface GetCollectionResult
11905
+ * @interface NFTMetadataAttribute
11974
11906
  */
11975
- interface GetCollectionResult$1 {
11907
+ interface NFTMetadataAttribute$1 {
11908
+ /**
11909
+ * The metadata trait type
11910
+ * @type {string}
11911
+ * @memberof NFTMetadataAttribute
11912
+ */
11913
+ 'trait_type': string;
11976
11914
  /**
11977
11915
  *
11978
- * @type {Collection}
11979
- * @memberof GetCollectionResult
11916
+ * @type {NFTMetadataAttributeValue}
11917
+ * @memberof NFTMetadataAttribute
11980
11918
  */
11981
- 'result': Collection$2;
11919
+ 'value': NFTMetadataAttributeValue$1;
11982
11920
  }
11983
11921
 
11984
11922
  /**
@@ -12677,6 +12615,68 @@ interface MetadataRefreshRateLimitResult$1 {
12677
12615
  'retry_after': string;
12678
12616
  }
12679
12617
 
12618
+ /**
12619
+ * Immutable zkEVM API
12620
+ * Immutable Multi Rollup API
12621
+ *
12622
+ * The version of the OpenAPI document: 1.0.0
12623
+ * Contact: support@immutable.com
12624
+ *
12625
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12626
+ * https://openapi-generator.tech
12627
+ * Do not edit the class manually.
12628
+ */
12629
+
12630
+ /**
12631
+ *
12632
+ * @export
12633
+ * @interface NFTMetadataRequest
12634
+ */
12635
+ interface NFTMetadataRequest$1 {
12636
+ /**
12637
+ * The name of the NFT
12638
+ * @type {string}
12639
+ * @memberof NFTMetadataRequest
12640
+ */
12641
+ 'name'?: string | null;
12642
+ /**
12643
+ * The description of the NFT
12644
+ * @type {string}
12645
+ * @memberof NFTMetadataRequest
12646
+ */
12647
+ 'description'?: string | null;
12648
+ /**
12649
+ * The image url of the NFT
12650
+ * @type {string}
12651
+ * @memberof NFTMetadataRequest
12652
+ */
12653
+ 'image'?: string | null;
12654
+ /**
12655
+ * The external link of the NFT
12656
+ * @type {string}
12657
+ * @memberof NFTMetadataRequest
12658
+ */
12659
+ 'external_url'?: string | null;
12660
+ /**
12661
+ * The animation url of the NFT
12662
+ * @type {string}
12663
+ * @memberof NFTMetadataRequest
12664
+ */
12665
+ 'animation_url'?: string | null;
12666
+ /**
12667
+ * The youtube link of the NFT
12668
+ * @type {string}
12669
+ * @memberof NFTMetadataRequest
12670
+ */
12671
+ 'youtube_url'?: string | null;
12672
+ /**
12673
+ * List of Metadata attributes
12674
+ * @type {Array<NFTMetadataAttribute>}
12675
+ * @memberof NFTMetadataRequest
12676
+ */
12677
+ 'attributes'?: Array<NFTMetadataAttribute$1> | null;
12678
+ }
12679
+
12680
12680
  /**
12681
12681
  * Immutable zkEVM API
12682
12682
  * Immutable Multi Rollup API
@@ -14938,11 +14938,43 @@ interface CollectionMetadata {
14938
14938
  * Do not edit the class manually.
14939
14939
  */
14940
14940
  /**
14941
- * @type NFTMetadataAttributeValue
14942
- * The metadata trait value
14941
+ *
14943
14942
  * @export
14943
+ * @interface ERC1155Item
14944
14944
  */
14945
- type NFTMetadataAttributeValue = boolean | number | string;
14945
+ interface ERC1155Item$1 {
14946
+ /**
14947
+ * Token type user is offering, which in this case is ERC1155
14948
+ * @type {string}
14949
+ * @memberof ERC1155Item
14950
+ */
14951
+ 'type': ERC1155ItemTypeEnum;
14952
+ /**
14953
+ * Address of ERC1155 token
14954
+ * @type {string}
14955
+ * @memberof ERC1155Item
14956
+ */
14957
+ 'contract_address': string;
14958
+ /**
14959
+ * ID of ERC1155 token
14960
+ * @type {string}
14961
+ * @memberof ERC1155Item
14962
+ */
14963
+ 'token_id': string;
14964
+ /**
14965
+ * A string representing the price at which the user is willing to sell the token. This value is provided in the smallest unit of the token (e.g., wei for Ethereum).
14966
+ * @type {string}
14967
+ * @memberof ERC1155Item
14968
+ */
14969
+ 'amount': string;
14970
+ }
14971
+ /**
14972
+ * @export
14973
+ * @enum {string}
14974
+ */
14975
+ declare enum ERC1155ItemTypeEnum {
14976
+ Erc1155 = "ERC1155"
14977
+ }
14946
14978
 
14947
14979
  /**
14948
14980
  * Immutable zkEVM API
@@ -14955,25 +14987,37 @@ type NFTMetadataAttributeValue = boolean | number | string;
14955
14987
  * https://openapi-generator.tech
14956
14988
  * Do not edit the class manually.
14957
14989
  */
14958
-
14959
14990
  /**
14960
14991
  *
14961
14992
  * @export
14962
- * @interface NFTMetadataAttribute
14993
+ * @interface ERC20Item
14963
14994
  */
14964
- interface NFTMetadataAttribute {
14995
+ interface ERC20Item$2 {
14965
14996
  /**
14966
- * The metadata trait type
14997
+ * Token type user is offering, which in this case is ERC20
14967
14998
  * @type {string}
14968
- * @memberof NFTMetadataAttribute
14999
+ * @memberof ERC20Item
14969
15000
  */
14970
- 'trait_type': string;
15001
+ 'type': ERC20ItemTypeEnum;
14971
15002
  /**
14972
- *
14973
- * @type {NFTMetadataAttributeValue}
14974
- * @memberof NFTMetadataAttribute
15003
+ * Address of ERC20 token
15004
+ * @type {string}
15005
+ * @memberof ERC20Item
14975
15006
  */
14976
- 'value': NFTMetadataAttributeValue;
15007
+ 'contract_address': string;
15008
+ /**
15009
+ * A string representing the price at which the user is willing to sell the token. This value is provided in the smallest unit of the token (e.g., wei for Ethereum).
15010
+ * @type {string}
15011
+ * @memberof ERC20Item
15012
+ */
15013
+ 'amount': string;
15014
+ }
15015
+ /**
15016
+ * @export
15017
+ * @enum {string}
15018
+ */
15019
+ declare enum ERC20ItemTypeEnum {
15020
+ Erc20 = "ERC20"
14977
15021
  }
14978
15022
 
14979
15023
  /**
@@ -14987,93 +15031,37 @@ interface NFTMetadataAttribute {
14987
15031
  * https://openapi-generator.tech
14988
15032
  * Do not edit the class manually.
14989
15033
  */
14990
-
14991
15034
  /**
14992
15035
  *
14993
15036
  * @export
14994
- * @interface NFTMetadataRequest
15037
+ * @interface ERC721Item
14995
15038
  */
14996
- interface NFTMetadataRequest {
15039
+ interface ERC721Item$2 {
14997
15040
  /**
14998
- * The name of the NFT
14999
- * @type {string}
15000
- * @memberof NFTMetadataRequest
15001
- */
15002
- 'name'?: string | null;
15003
- /**
15004
- * The description of the NFT
15005
- * @type {string}
15006
- * @memberof NFTMetadataRequest
15007
- */
15008
- 'description'?: string | null;
15009
- /**
15010
- * The image url of the NFT
15011
- * @type {string}
15012
- * @memberof NFTMetadataRequest
15013
- */
15014
- 'image'?: string | null;
15015
- /**
15016
- * The external link of the NFT
15041
+ * Token type user is offering, which in this case is ERC721
15017
15042
  * @type {string}
15018
- * @memberof NFTMetadataRequest
15043
+ * @memberof ERC721Item
15019
15044
  */
15020
- 'external_url'?: string | null;
15045
+ 'type': ERC721ItemTypeEnum;
15021
15046
  /**
15022
- * The animation url of the NFT
15047
+ * Address of ERC721 token
15023
15048
  * @type {string}
15024
- * @memberof NFTMetadataRequest
15049
+ * @memberof ERC721Item
15025
15050
  */
15026
- 'animation_url'?: string | null;
15051
+ 'contract_address': string;
15027
15052
  /**
15028
- * The youtube link of the NFT
15053
+ * ID of ERC721 token
15029
15054
  * @type {string}
15030
- * @memberof NFTMetadataRequest
15031
- */
15032
- 'youtube_url'?: string | null;
15033
- /**
15034
- * List of Metadata attributes
15035
- * @type {Array<NFTMetadataAttribute>}
15036
- * @memberof NFTMetadataRequest
15055
+ * @memberof ERC721Item
15037
15056
  */
15038
- 'attributes'?: Array<NFTMetadataAttribute> | null;
15057
+ 'token_id': string;
15039
15058
  }
15040
-
15041
- /**
15042
- * Immutable zkEVM API
15043
- * Immutable Multi Rollup API
15044
- *
15045
- * The version of the OpenAPI document: 1.0.0
15046
- * Contact: support@immutable.com
15047
- *
15048
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
15049
- * https://openapi-generator.tech
15050
- * Do not edit the class manually.
15051
- */
15052
-
15053
15059
  /**
15054
- *
15055
- * @export
15056
- * @interface MintAsset
15057
- */
15058
- interface MintAsset {
15059
- /**
15060
- * The ID of this asset in the system that originates the mint request
15061
- * @type {string}
15062
- * @memberof MintAsset
15063
- */
15064
- 'reference_id': string;
15065
- /**
15066
- * The address of the receiver
15067
- * @type {string}
15068
- * @memberof MintAsset
15069
- */
15070
- 'owner_address': string;
15071
- /**
15072
- *
15073
- * @type {NFTMetadataRequest}
15074
- * @memberof MintAsset
15075
- */
15076
- 'metadata'?: NFTMetadataRequest;
15060
+ * @export
15061
+ * @enum {string}
15062
+ */
15063
+ declare enum ERC721ItemTypeEnum {
15064
+ Erc721 = "ERC721"
15077
15065
  }
15078
15066
 
15079
15067
  /**
@@ -15089,17 +15077,17 @@ interface MintAsset {
15089
15077
  */
15090
15078
 
15091
15079
  /**
15092
- *
15080
+ * Single activity
15093
15081
  * @export
15094
- * @interface CreateMintRequestRequest
15082
+ * @interface GetActivityResult
15095
15083
  */
15096
- interface CreateMintRequestRequest {
15084
+ interface GetActivityResult {
15097
15085
  /**
15098
- * List of nft to be minted
15099
- * @type {Array<MintAsset>}
15100
- * @memberof CreateMintRequestRequest
15086
+ *
15087
+ * @type {Activity}
15088
+ * @memberof GetActivityResult
15101
15089
  */
15102
- 'assets': Array<MintAsset>;
15090
+ 'result': Activity;
15103
15091
  }
15104
15092
 
15105
15093
  /**
@@ -15113,36 +15101,19 @@ interface CreateMintRequestRequest {
15113
15101
  * https://openapi-generator.tech
15114
15102
  * Do not edit the class manually.
15115
15103
  */
15104
+
15116
15105
  /**
15117
- *
15106
+ * Single Collection
15118
15107
  * @export
15119
- * @interface CreateMintRequestResult
15108
+ * @interface GetCollectionResult
15120
15109
  */
15121
- interface CreateMintRequestResult {
15122
- /**
15123
- *
15124
- * @type {string}
15125
- * @memberof CreateMintRequestResult
15126
- */
15127
- 'imx_mint_requests_limit': string;
15128
- /**
15129
- *
15130
- * @type {string}
15131
- * @memberof CreateMintRequestResult
15132
- */
15133
- 'imx_mint_requests_limit_reset': string;
15134
- /**
15135
- *
15136
- * @type {string}
15137
- * @memberof CreateMintRequestResult
15138
- */
15139
- 'imx_remaining_mint_requests': string;
15110
+ interface GetCollectionResult {
15140
15111
  /**
15141
15112
  *
15142
- * @type {string}
15143
- * @memberof CreateMintRequestResult
15113
+ * @type {Collection}
15114
+ * @memberof GetCollectionResult
15144
15115
  */
15145
- 'imx_mint_requests_retry_after': string;
15116
+ 'result': Collection$1;
15146
15117
  }
15147
15118
 
15148
15119
  /**
@@ -15157,43 +15128,11 @@ interface CreateMintRequestResult {
15157
15128
  * Do not edit the class manually.
15158
15129
  */
15159
15130
  /**
15160
- *
15131
+ * @type NFTMetadataAttributeValue
15132
+ * The metadata trait value
15161
15133
  * @export
15162
- * @interface ERC1155Item
15163
15134
  */
15164
- interface ERC1155Item$1 {
15165
- /**
15166
- * Token type user is offering, which in this case is ERC1155
15167
- * @type {string}
15168
- * @memberof ERC1155Item
15169
- */
15170
- 'type': ERC1155ItemTypeEnum;
15171
- /**
15172
- * Address of ERC1155 token
15173
- * @type {string}
15174
- * @memberof ERC1155Item
15175
- */
15176
- 'contract_address': string;
15177
- /**
15178
- * ID of ERC1155 token
15179
- * @type {string}
15180
- * @memberof ERC1155Item
15181
- */
15182
- 'token_id': string;
15183
- /**
15184
- * A string representing the price at which the user is willing to sell the token. This value is provided in the smallest unit of the token (e.g., wei for Ethereum).
15185
- * @type {string}
15186
- * @memberof ERC1155Item
15187
- */
15188
- 'amount': string;
15189
- }
15190
- /**
15191
- * @export
15192
- * @enum {string}
15193
- */
15194
- declare enum ERC1155ItemTypeEnum {
15195
- Erc1155 = "ERC1155"
15196
- }
15135
+ type NFTMetadataAttributeValue = boolean | number | string;
15197
15136
 
15198
15137
  /**
15199
15138
  * Immutable zkEVM API
@@ -15206,133 +15145,25 @@ declare enum ERC1155ItemTypeEnum {
15206
15145
  * https://openapi-generator.tech
15207
15146
  * Do not edit the class manually.
15208
15147
  */
15209
- /**
15210
- *
15211
- * @export
15212
- * @interface ERC20Item
15213
- */
15214
- interface ERC20Item$2 {
15215
- /**
15216
- * Token type user is offering, which in this case is ERC20
15217
- * @type {string}
15218
- * @memberof ERC20Item
15219
- */
15220
- 'type': ERC20ItemTypeEnum;
15221
- /**
15222
- * Address of ERC20 token
15223
- * @type {string}
15224
- * @memberof ERC20Item
15225
- */
15226
- 'contract_address': string;
15227
- /**
15228
- * A string representing the price at which the user is willing to sell the token. This value is provided in the smallest unit of the token (e.g., wei for Ethereum).
15229
- * @type {string}
15230
- * @memberof ERC20Item
15231
- */
15232
- 'amount': string;
15233
- }
15234
- /**
15235
- * @export
15236
- * @enum {string}
15237
- */
15238
- declare enum ERC20ItemTypeEnum {
15239
- Erc20 = "ERC20"
15240
- }
15241
15148
 
15242
- /**
15243
- * Immutable zkEVM API
15244
- * Immutable Multi Rollup API
15245
- *
15246
- * The version of the OpenAPI document: 1.0.0
15247
- * Contact: support@immutable.com
15248
- *
15249
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
15250
- * https://openapi-generator.tech
15251
- * Do not edit the class manually.
15252
- */
15253
15149
  /**
15254
15150
  *
15255
15151
  * @export
15256
- * @interface ERC721Item
15152
+ * @interface NFTMetadataAttribute
15257
15153
  */
15258
- interface ERC721Item$2 {
15259
- /**
15260
- * Token type user is offering, which in this case is ERC721
15261
- * @type {string}
15262
- * @memberof ERC721Item
15263
- */
15264
- 'type': ERC721ItemTypeEnum;
15265
- /**
15266
- * Address of ERC721 token
15267
- * @type {string}
15268
- * @memberof ERC721Item
15269
- */
15270
- 'contract_address': string;
15154
+ interface NFTMetadataAttribute {
15271
15155
  /**
15272
- * ID of ERC721 token
15156
+ * The metadata trait type
15273
15157
  * @type {string}
15274
- * @memberof ERC721Item
15275
- */
15276
- 'token_id': string;
15277
- }
15278
- /**
15279
- * @export
15280
- * @enum {string}
15281
- */
15282
- declare enum ERC721ItemTypeEnum {
15283
- Erc721 = "ERC721"
15284
- }
15285
-
15286
- /**
15287
- * Immutable zkEVM API
15288
- * Immutable Multi Rollup API
15289
- *
15290
- * The version of the OpenAPI document: 1.0.0
15291
- * Contact: support@immutable.com
15292
- *
15293
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
15294
- * https://openapi-generator.tech
15295
- * Do not edit the class manually.
15296
- */
15297
-
15298
- /**
15299
- * Single activity
15300
- * @export
15301
- * @interface GetActivityResult
15302
- */
15303
- interface GetActivityResult {
15304
- /**
15305
- *
15306
- * @type {Activity}
15307
- * @memberof GetActivityResult
15158
+ * @memberof NFTMetadataAttribute
15308
15159
  */
15309
- 'result': Activity;
15310
- }
15311
-
15312
- /**
15313
- * Immutable zkEVM API
15314
- * Immutable Multi Rollup API
15315
- *
15316
- * The version of the OpenAPI document: 1.0.0
15317
- * Contact: support@immutable.com
15318
- *
15319
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
15320
- * https://openapi-generator.tech
15321
- * Do not edit the class manually.
15322
- */
15323
-
15324
- /**
15325
- * Single Collection
15326
- * @export
15327
- * @interface GetCollectionResult
15328
- */
15329
- interface GetCollectionResult {
15160
+ 'trait_type': string;
15330
15161
  /**
15331
15162
  *
15332
- * @type {Collection}
15333
- * @memberof GetCollectionResult
15163
+ * @type {NFTMetadataAttributeValue}
15164
+ * @memberof NFTMetadataAttribute
15334
15165
  */
15335
- 'result': Collection$1;
15166
+ 'value': NFTMetadataAttributeValue;
15336
15167
  }
15337
15168
 
15338
15169
  /**
@@ -16124,38 +15955,6 @@ interface ListMetadataResult {
16124
15955
  'page': Page$2;
16125
15956
  }
16126
15957
 
16127
- /**
16128
- * Immutable zkEVM API
16129
- * Immutable Multi Rollup API
16130
- *
16131
- * The version of the OpenAPI document: 1.0.0
16132
- * Contact: support@immutable.com
16133
- *
16134
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
16135
- * https://openapi-generator.tech
16136
- * Do not edit the class manually.
16137
- */
16138
-
16139
- /**
16140
- * List mint requests
16141
- * @export
16142
- * @interface ListMintRequestsResult
16143
- */
16144
- interface ListMintRequestsResult {
16145
- /**
16146
- * List of mint requests
16147
- * @type {Array<GetMintRequestResult>}
16148
- * @memberof ListMintRequestsResult
16149
- */
16150
- 'result': Array<GetMintRequestResult>;
16151
- /**
16152
- *
16153
- * @type {Page}
16154
- * @memberof ListMintRequestsResult
16155
- */
16156
- 'page': Page$2;
16157
- }
16158
-
16159
15958
  /**
16160
15959
  * Immutable zkEVM API
16161
15960
  * Immutable Multi Rollup API
@@ -16499,6 +16298,106 @@ interface MetadataRefreshRateLimitResult {
16499
16298
  'retry_after': string;
16500
16299
  }
16501
16300
 
16301
+ /**
16302
+ * Immutable zkEVM API
16303
+ * Immutable Multi Rollup API
16304
+ *
16305
+ * The version of the OpenAPI document: 1.0.0
16306
+ * Contact: support@immutable.com
16307
+ *
16308
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
16309
+ * https://openapi-generator.tech
16310
+ * Do not edit the class manually.
16311
+ */
16312
+
16313
+ /**
16314
+ *
16315
+ * @export
16316
+ * @interface NFTMetadataRequest
16317
+ */
16318
+ interface NFTMetadataRequest {
16319
+ /**
16320
+ * The name of the NFT
16321
+ * @type {string}
16322
+ * @memberof NFTMetadataRequest
16323
+ */
16324
+ 'name'?: string | null;
16325
+ /**
16326
+ * The description of the NFT
16327
+ * @type {string}
16328
+ * @memberof NFTMetadataRequest
16329
+ */
16330
+ 'description'?: string | null;
16331
+ /**
16332
+ * The image url of the NFT
16333
+ * @type {string}
16334
+ * @memberof NFTMetadataRequest
16335
+ */
16336
+ 'image'?: string | null;
16337
+ /**
16338
+ * The external link of the NFT
16339
+ * @type {string}
16340
+ * @memberof NFTMetadataRequest
16341
+ */
16342
+ 'external_url'?: string | null;
16343
+ /**
16344
+ * The animation url of the NFT
16345
+ * @type {string}
16346
+ * @memberof NFTMetadataRequest
16347
+ */
16348
+ 'animation_url'?: string | null;
16349
+ /**
16350
+ * The youtube link of the NFT
16351
+ * @type {string}
16352
+ * @memberof NFTMetadataRequest
16353
+ */
16354
+ 'youtube_url'?: string | null;
16355
+ /**
16356
+ * List of Metadata attributes
16357
+ * @type {Array<NFTMetadataAttribute>}
16358
+ * @memberof NFTMetadataRequest
16359
+ */
16360
+ 'attributes'?: Array<NFTMetadataAttribute> | null;
16361
+ }
16362
+
16363
+ /**
16364
+ * Immutable zkEVM API
16365
+ * Immutable Multi Rollup API
16366
+ *
16367
+ * The version of the OpenAPI document: 1.0.0
16368
+ * Contact: support@immutable.com
16369
+ *
16370
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
16371
+ * https://openapi-generator.tech
16372
+ * Do not edit the class manually.
16373
+ */
16374
+
16375
+ /**
16376
+ *
16377
+ * @export
16378
+ * @interface MintAsset
16379
+ */
16380
+ interface MintAsset {
16381
+ /**
16382
+ * The ID of this asset in the system that originates the mint request
16383
+ * @type {string}
16384
+ * @memberof MintAsset
16385
+ */
16386
+ 'reference_id': string;
16387
+ /**
16388
+ * The address of the receiver
16389
+ * @type {string}
16390
+ * @memberof MintAsset
16391
+ */
16392
+ 'owner_address': string;
16393
+ /**
16394
+ *
16395
+ * @type {NFTMetadataRequest}
16396
+ * @memberof MintAsset
16397
+ */
16398
+ 'metadata'?: NFTMetadataRequest;
16399
+ }
16400
+
16502
16401
  /**
16503
16402
  * Immutable zkEVM API
16504
16403
  * Immutable Multi Rollup API
@@ -17292,56 +17191,6 @@ interface ListOwnersByContractAddressRequestParams {
17292
17191
  * Do not edit the class manually.
17293
17192
  */
17294
17193
 
17295
- /**
17296
- * Request parameters for createMintRequest operation in NftsApi.
17297
- * @export
17298
- * @interface CreateMintRequestRequest
17299
- */
17300
- interface CreateMintRequestRequestParams {
17301
- /**
17302
- * The address of contract
17303
- * @type {string}
17304
- * @memberof CreateMintRequest
17305
- */
17306
- readonly contractAddress: string;
17307
- /**
17308
- * The name of chain
17309
- * @type {string}
17310
- * @memberof CreateMintRequest
17311
- */
17312
- readonly chainName: string;
17313
- /**
17314
- * the request body
17315
- * @type {CreateMintRequestRequest}
17316
- * @memberof CreateMintRequest
17317
- */
17318
- readonly createMintRequestRequest: CreateMintRequestRequest;
17319
- }
17320
- /**
17321
- * Request parameters for getMintRequest operation in NftsApi.
17322
- * @export
17323
- * @interface GetMintRequestRequest
17324
- */
17325
- interface GetMintRequestRequestParams {
17326
- /**
17327
- * The address of contract
17328
- * @type {string}
17329
- * @memberof GetMintRequest
17330
- */
17331
- readonly contractAddress: string;
17332
- /**
17333
- * The name of chain
17334
- * @type {string}
17335
- * @memberof GetMintRequest
17336
- */
17337
- readonly chainName: string;
17338
- /**
17339
- * The ID of the mint request
17340
- * @type {string}
17341
- * @memberof GetMintRequest
17342
- */
17343
- readonly referenceId: string;
17344
- }
17345
17194
  /**
17346
17195
  * Request parameters for getNFT operation in NftsApi.
17347
17196
  * @export
@@ -17598,9 +17447,6 @@ type index_d_ChainWithDetailsAllOf = ChainWithDetailsAllOf;
17598
17447
  type index_d_CollectionContractType = CollectionContractType;
17599
17448
  declare const index_d_CollectionContractType: typeof CollectionContractType;
17600
17449
  type index_d_CollectionMetadata = CollectionMetadata;
17601
- type index_d_CreateMintRequestRequest = CreateMintRequestRequest;
17602
- type index_d_CreateMintRequestRequestParams = CreateMintRequestRequestParams;
17603
- type index_d_CreateMintRequestResult = CreateMintRequestResult;
17604
17450
  type index_d_ERC1155ItemTypeEnum = ERC1155ItemTypeEnum;
17605
17451
  declare const index_d_ERC1155ItemTypeEnum: typeof ERC1155ItemTypeEnum;
17606
17452
  type index_d_ERC20ItemTypeEnum = ERC20ItemTypeEnum;
@@ -17614,7 +17460,6 @@ type index_d_GetCollectionResult = GetCollectionResult;
17614
17460
  type index_d_GetERC20TokenRequestParams = GetERC20TokenRequestParams;
17615
17461
  type index_d_GetMetadataRequestParams = GetMetadataRequestParams;
17616
17462
  type index_d_GetMetadataResult = GetMetadataResult;
17617
- type index_d_GetMintRequestRequestParams = GetMintRequestRequestParams;
17618
17463
  type index_d_GetMintRequestResult = GetMintRequestResult;
17619
17464
  type index_d_GetNFTRequestParams = GetNFTRequestParams;
17620
17465
  type index_d_GetNFTResult = GetNFTResult;
@@ -17634,7 +17479,6 @@ type index_d_ListERC20TokensRequestParams = ListERC20TokensRequestParams;
17634
17479
  type index_d_ListMetadataForChainRequestParams = ListMetadataForChainRequestParams;
17635
17480
  type index_d_ListMetadataRequestParams = ListMetadataRequestParams;
17636
17481
  type index_d_ListMetadataResult = ListMetadataResult;
17637
- type index_d_ListMintRequestsResult = ListMintRequestsResult;
17638
17482
  type index_d_ListNFTOwnersRequestParams = ListNFTOwnersRequestParams;
17639
17483
  type index_d_ListNFTOwnersResult = ListNFTOwnersResult;
17640
17484
  type index_d_ListNFTsByAccountAddressRequestParams = ListNFTsByAccountAddressRequestParams;
@@ -17721,9 +17565,6 @@ declare namespace index_d {
17721
17565
  Collection$1 as Collection,
17722
17566
  index_d_CollectionContractType as CollectionContractType,
17723
17567
  index_d_CollectionMetadata as CollectionMetadata,
17724
- index_d_CreateMintRequestRequest as CreateMintRequestRequest,
17725
- index_d_CreateMintRequestRequestParams as CreateMintRequestRequestParams,
17726
- index_d_CreateMintRequestResult as CreateMintRequestResult,
17727
17568
  Deposit$1 as Deposit,
17728
17569
  ERC1155Item$1 as ERC1155Item,
17729
17570
  index_d_ERC1155ItemTypeEnum as ERC1155ItemTypeEnum,
@@ -17738,7 +17579,6 @@ declare namespace index_d {
17738
17579
  index_d_GetERC20TokenRequestParams as GetERC20TokenRequestParams,
17739
17580
  index_d_GetMetadataRequestParams as GetMetadataRequestParams,
17740
17581
  index_d_GetMetadataResult as GetMetadataResult,
17741
- index_d_GetMintRequestRequestParams as GetMintRequestRequestParams,
17742
17582
  index_d_GetMintRequestResult as GetMintRequestResult,
17743
17583
  index_d_GetNFTRequestParams as GetNFTRequestParams,
17744
17584
  index_d_GetNFTResult as GetNFTResult,
@@ -17759,7 +17599,6 @@ declare namespace index_d {
17759
17599
  index_d_ListMetadataForChainRequestParams as ListMetadataForChainRequestParams,
17760
17600
  index_d_ListMetadataRequestParams as ListMetadataRequestParams,
17761
17601
  index_d_ListMetadataResult as ListMetadataResult,
17762
- index_d_ListMintRequestsResult as ListMintRequestsResult,
17763
17602
  index_d_ListNFTOwnersRequestParams as ListNFTOwnersRequestParams,
17764
17603
  index_d_ListNFTOwnersResult as ListNFTOwnersResult,
17765
17604
  index_d_ListNFTsByAccountAddressRequestParams as ListNFTsByAccountAddressRequestParams,
@@ -32379,7 +32218,7 @@ type CheckoutWidgetsConfig = {
32379
32218
  /**
32380
32219
  * Represents the configuration options for instantiating the Checkout Widgets factory.
32381
32220
  * @property {WidgetConfiguration} config - global configuration options for the widgets.
32382
- * @property {SemanticVersion | undefined} version - version of the Checkout widgets bundle (default latest version will be used).
32221
+ * @property {SemanticVersion | undefined} version - version of the Checkout widgets bundle(default latest version will be used).
32383
32222
  */
32384
32223
  type WidgetsInit = {
32385
32224
  config: WidgetConfiguration;
@@ -32403,6 +32242,8 @@ declare class Checkout {
32403
32242
  * @param {WidgetsInit} init - The initialisation parameters for loading the widgets bundle and applying configuration
32404
32243
  */
32405
32244
  widgets(init: WidgetsInit): Promise<ImmutableCheckoutWidgets.WidgetsFactory>;
32245
+ private loadUmdBundle;
32246
+ private loadEsModules;
32406
32247
  /**
32407
32248
  * Creates a provider using the given parameters.
32408
32249
  * @param {CreateProviderParams} params - The parameters for creating the provider.