@imtbl/sdk 1.7.2 → 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 +78 -34
  2. package/dist/blockchain_data.js +2 -2
  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 -32
  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 -143
  32. package/dist/index.d.ts +81 -35
  33. package/dist/index.js +200 -143
  34. package/dist/orderbook.js +1 -1
  35. package/dist/passport.js +136 -112
  36. package/dist/x.js +2 -2
  37. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -12630,51 +12630,51 @@ interface MetadataRefreshRateLimitResult$1 {
12630
12630
  /**
12631
12631
  *
12632
12632
  * @export
12633
- * @interface RefreshableNFTAttributes
12633
+ * @interface NFTMetadataRequest
12634
12634
  */
12635
- interface RefreshableNFTAttributes$1 {
12635
+ interface NFTMetadataRequest$1 {
12636
12636
  /**
12637
12637
  * The name of the NFT
12638
12638
  * @type {string}
12639
- * @memberof RefreshableNFTAttributes
12639
+ * @memberof NFTMetadataRequest
12640
12640
  */
12641
- 'name': string | null;
12641
+ 'name'?: string | null;
12642
12642
  /**
12643
12643
  * The description of the NFT
12644
12644
  * @type {string}
12645
- * @memberof RefreshableNFTAttributes
12645
+ * @memberof NFTMetadataRequest
12646
12646
  */
12647
- 'description': string | null;
12647
+ 'description'?: string | null;
12648
12648
  /**
12649
12649
  * The image url of the NFT
12650
12650
  * @type {string}
12651
- * @memberof RefreshableNFTAttributes
12651
+ * @memberof NFTMetadataRequest
12652
12652
  */
12653
- 'image': string | null;
12653
+ 'image'?: string | null;
12654
12654
  /**
12655
12655
  * The external link of the NFT
12656
12656
  * @type {string}
12657
- * @memberof RefreshableNFTAttributes
12657
+ * @memberof NFTMetadataRequest
12658
12658
  */
12659
- 'external_url': string | null;
12659
+ 'external_url'?: string | null;
12660
12660
  /**
12661
12661
  * The animation url of the NFT
12662
12662
  * @type {string}
12663
- * @memberof RefreshableNFTAttributes
12663
+ * @memberof NFTMetadataRequest
12664
12664
  */
12665
- 'animation_url': string | null;
12665
+ 'animation_url'?: string | null;
12666
12666
  /**
12667
12667
  * The youtube link of the NFT
12668
12668
  * @type {string}
12669
- * @memberof RefreshableNFTAttributes
12669
+ * @memberof NFTMetadataRequest
12670
12670
  */
12671
- 'youtube_url': string | null;
12671
+ 'youtube_url'?: string | null;
12672
12672
  /**
12673
12673
  * List of Metadata attributes
12674
12674
  * @type {Array<NFTMetadataAttribute>}
12675
- * @memberof RefreshableNFTAttributes
12675
+ * @memberof NFTMetadataRequest
12676
12676
  */
12677
- 'attributes': Array<NFTMetadataAttribute$1> | null;
12677
+ 'attributes'?: Array<NFTMetadataAttribute$1> | null;
12678
12678
  }
12679
12679
 
12680
12680
  /**
@@ -12766,6 +12766,24 @@ interface RefreshMetadataByIDAllOf$1 {
12766
12766
  'metadata_id': string;
12767
12767
  }
12768
12768
 
12769
+ /**
12770
+ * Immutable zkEVM API
12771
+ * Immutable Multi Rollup API
12772
+ *
12773
+ * The version of the OpenAPI document: 1.0.0
12774
+ * Contact: support@immutable.com
12775
+ *
12776
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12777
+ * https://openapi-generator.tech
12778
+ * Do not edit the class manually.
12779
+ */
12780
+
12781
+ /**
12782
+ * @type RefreshableNFTAttributes
12783
+ * @export
12784
+ */
12785
+ type RefreshableNFTAttributes$1 = NFTMetadataRequest$1;
12786
+
12769
12787
  /**
12770
12788
  * Immutable zkEVM API
12771
12789
  * Immutable Multi Rollup API
@@ -15361,6 +15379,12 @@ interface GetMintRequestResult {
15361
15379
  * @memberof GetMintRequestResult
15362
15380
  */
15363
15381
  'token_id': string | null;
15382
+ /**
15383
+ * The id of the mint activity associated with this mint request
15384
+ * @type {string}
15385
+ * @memberof GetMintRequestResult
15386
+ */
15387
+ 'activity_id'?: string | null;
15364
15388
  /**
15365
15389
  * The transaction hash of the activity
15366
15390
  * @type {string}
@@ -16289,51 +16313,51 @@ interface MetadataRefreshRateLimitResult {
16289
16313
  /**
16290
16314
  *
16291
16315
  * @export
16292
- * @interface RefreshableNFTAttributes
16316
+ * @interface NFTMetadataRequest
16293
16317
  */
16294
- interface RefreshableNFTAttributes {
16318
+ interface NFTMetadataRequest {
16295
16319
  /**
16296
16320
  * The name of the NFT
16297
16321
  * @type {string}
16298
- * @memberof RefreshableNFTAttributes
16322
+ * @memberof NFTMetadataRequest
16299
16323
  */
16300
- 'name': string | null;
16324
+ 'name'?: string | null;
16301
16325
  /**
16302
16326
  * The description of the NFT
16303
16327
  * @type {string}
16304
- * @memberof RefreshableNFTAttributes
16328
+ * @memberof NFTMetadataRequest
16305
16329
  */
16306
- 'description': string | null;
16330
+ 'description'?: string | null;
16307
16331
  /**
16308
16332
  * The image url of the NFT
16309
16333
  * @type {string}
16310
- * @memberof RefreshableNFTAttributes
16334
+ * @memberof NFTMetadataRequest
16311
16335
  */
16312
- 'image': string | null;
16336
+ 'image'?: string | null;
16313
16337
  /**
16314
16338
  * The external link of the NFT
16315
16339
  * @type {string}
16316
- * @memberof RefreshableNFTAttributes
16340
+ * @memberof NFTMetadataRequest
16317
16341
  */
16318
- 'external_url': string | null;
16342
+ 'external_url'?: string | null;
16319
16343
  /**
16320
16344
  * The animation url of the NFT
16321
16345
  * @type {string}
16322
- * @memberof RefreshableNFTAttributes
16346
+ * @memberof NFTMetadataRequest
16323
16347
  */
16324
- 'animation_url': string | null;
16348
+ 'animation_url'?: string | null;
16325
16349
  /**
16326
16350
  * The youtube link of the NFT
16327
16351
  * @type {string}
16328
- * @memberof RefreshableNFTAttributes
16352
+ * @memberof NFTMetadataRequest
16329
16353
  */
16330
- 'youtube_url': string | null;
16354
+ 'youtube_url'?: string | null;
16331
16355
  /**
16332
16356
  * List of Metadata attributes
16333
16357
  * @type {Array<NFTMetadataAttribute>}
16334
- * @memberof RefreshableNFTAttributes
16358
+ * @memberof NFTMetadataRequest
16335
16359
  */
16336
- 'attributes': Array<NFTMetadataAttribute> | null;
16360
+ 'attributes'?: Array<NFTMetadataAttribute> | null;
16337
16361
  }
16338
16362
 
16339
16363
  /**
@@ -16368,10 +16392,10 @@ interface MintAsset {
16368
16392
  'owner_address': string;
16369
16393
  /**
16370
16394
  *
16371
- * @type {RefreshableNFTAttributes}
16395
+ * @type {NFTMetadataRequest}
16372
16396
  * @memberof MintAsset
16373
16397
  */
16374
- 'metadata'?: RefreshableNFTAttributes;
16398
+ 'metadata'?: NFTMetadataRequest;
16375
16399
  }
16376
16400
 
16377
16401
  /**
@@ -16463,6 +16487,24 @@ interface RefreshMetadataByIDAllOf {
16463
16487
  'metadata_id': string;
16464
16488
  }
16465
16489
 
16490
+ /**
16491
+ * Immutable zkEVM API
16492
+ * Immutable Multi Rollup API
16493
+ *
16494
+ * The version of the OpenAPI document: 1.0.0
16495
+ * Contact: support@immutable.com
16496
+ *
16497
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
16498
+ * https://openapi-generator.tech
16499
+ * Do not edit the class manually.
16500
+ */
16501
+
16502
+ /**
16503
+ * @type RefreshableNFTAttributes
16504
+ * @export
16505
+ */
16506
+ type RefreshableNFTAttributes = NFTMetadataRequest;
16507
+
16466
16508
  /**
16467
16509
  * Immutable zkEVM API
16468
16510
  * Immutable Multi Rollup API
@@ -17456,6 +17498,7 @@ type index_d_NFTContractType = NFTContractType;
17456
17498
  declare const index_d_NFTContractType: typeof NFTContractType;
17457
17499
  type index_d_NFTMetadataAttribute = NFTMetadataAttribute;
17458
17500
  type index_d_NFTMetadataAttributeValue = NFTMetadataAttributeValue;
17501
+ type index_d_NFTMetadataRequest = NFTMetadataRequest;
17459
17502
  type index_d_NFTOwner = NFTOwner;
17460
17503
  type index_d_NFTSale = NFTSale;
17461
17504
  type index_d_NFTWithBalance = NFTWithBalance;
@@ -17574,6 +17617,7 @@ declare namespace index_d {
17574
17617
  index_d_NFTContractType as NFTContractType,
17575
17618
  index_d_NFTMetadataAttribute as NFTMetadataAttribute,
17576
17619
  index_d_NFTMetadataAttributeValue as NFTMetadataAttributeValue,
17620
+ index_d_NFTMetadataRequest as NFTMetadataRequest,
17577
17621
  index_d_NFTOwner as NFTOwner,
17578
17622
  index_d_NFTSale as NFTSale,
17579
17623
  index_d_NFTWithBalance as NFTWithBalance,
@@ -32174,7 +32218,7 @@ type CheckoutWidgetsConfig = {
32174
32218
  /**
32175
32219
  * Represents the configuration options for instantiating the Checkout Widgets factory.
32176
32220
  * @property {WidgetConfiguration} config - global configuration options for the widgets.
32177
- * @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).
32178
32222
  */
32179
32223
  type WidgetsInit = {
32180
32224
  config: WidgetConfiguration;
@@ -32198,6 +32242,8 @@ declare class Checkout {
32198
32242
  * @param {WidgetsInit} init - The initialisation parameters for loading the widgets bundle and applying configuration
32199
32243
  */
32200
32244
  widgets(init: WidgetsInit): Promise<ImmutableCheckoutWidgets.WidgetsFactory>;
32245
+ private loadUmdBundle;
32246
+ private loadEsModules;
32201
32247
  /**
32202
32248
  * Creates a provider using the given parameters.
32203
32249
  * @param {CreateProviderParams} params - The parameters for creating the provider.