@imtbl/sdk 1.7.2 → 1.7.3

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.cjs CHANGED
@@ -174,7 +174,7 @@ const flattenProperties$1 = (properties) => {
174
174
  };
175
175
 
176
176
  // WARNING: DO NOT CHANGE THE STRING BELOW. IT GETS REPLACED AT BUILD TIME.
177
- const SDK_VERSION$1 = '1.7.2';
177
+ const SDK_VERSION$1 = '1.7.3';
178
178
  const getReferrer$1 = () => {
179
179
  if (isNode$1()) {
180
180
  return '';
@@ -11298,7 +11298,7 @@ class MultiRollupApiClients {
11298
11298
  }
11299
11299
 
11300
11300
  // eslint-disable-next-line @typescript-eslint/naming-convention
11301
- const defaultHeaders$1 = { 'x-sdk-version': 'ts-immutable-sdk-1.7.2' };
11301
+ const defaultHeaders$1 = { 'x-sdk-version': 'ts-immutable-sdk-1.7.3' };
11302
11302
  const createConfig = ({ basePath, headers, }) => {
11303
11303
  if (!basePath.trim()) {
11304
11304
  throw Error('basePath can not be empty');
@@ -11370,7 +11370,7 @@ class APIError extends Error {
11370
11370
 
11371
11371
  /* eslint-disable implicit-arrow-linebreak */
11372
11372
  const defaultHeaders = {
11373
- sdkVersion: 'ts-immutable-sdk-multi-rollup-api-client-1.7.2',
11373
+ sdkVersion: 'ts-immutable-sdk-multi-rollup-api-client-1.7.3',
11374
11374
  };
11375
11375
  /**
11376
11376
  * createAPIConfiguration to create a custom Configuration
@@ -11803,7 +11803,7 @@ const createImmutableXConfiguration = ({ basePath, chainID, coreContractAddress,
11803
11803
  chainID,
11804
11804
  coreContractAddress,
11805
11805
  registrationContractAddress,
11806
- sdkVersion: 'ts-immutable-sdk-1.7.2',
11806
+ sdkVersion: 'ts-immutable-sdk-1.7.3',
11807
11807
  });
11808
11808
  /**
11809
11809
  * Sets `sdkVersion` at the time of build
@@ -37454,7 +37454,7 @@ const flattenProperties = (properties) => {
37454
37454
  };
37455
37455
 
37456
37456
  // WARNING: DO NOT CHANGE THE STRING BELOW. IT GETS REPLACED AT BUILD TIME.
37457
- const SDK_VERSION = '1.7.2';
37457
+ const SDK_VERSION = '1.7.3';
37458
37458
  const getReferrer = () => {
37459
37459
  if (isNode()) {
37460
37460
  return '';
@@ -42622,7 +42622,7 @@ const IMMUTABLE_ZKVEM_GAS_OVERRIDES = {
42622
42622
  maxPriorityFeePerGas: ethers.BigNumber.from(10e9),
42623
42623
  };
42624
42624
 
42625
- const SDK_VERSION_MARKER = '1.7.2';
42625
+ const SDK_VERSION_MARKER = '1.7.3';
42626
42626
  // This SDK version is replaced by the `yarn build` command ran on the root level
42627
42627
  const globalPackageVersion = () => SDK_VERSION_MARKER;
42628
42628
 
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,
package/dist/index.js CHANGED
@@ -152,7 +152,7 @@ const flattenProperties$1 = (properties) => {
152
152
  };
153
153
 
154
154
  // WARNING: DO NOT CHANGE THE STRING BELOW. IT GETS REPLACED AT BUILD TIME.
155
- const SDK_VERSION$1 = '1.7.2';
155
+ const SDK_VERSION$1 = '1.7.3';
156
156
  const getReferrer$1 = () => {
157
157
  if (isNode$1()) {
158
158
  return '';
@@ -11276,7 +11276,7 @@ class MultiRollupApiClients {
11276
11276
  }
11277
11277
 
11278
11278
  // eslint-disable-next-line @typescript-eslint/naming-convention
11279
- const defaultHeaders$1 = { 'x-sdk-version': 'ts-immutable-sdk-1.7.2' };
11279
+ const defaultHeaders$1 = { 'x-sdk-version': 'ts-immutable-sdk-1.7.3' };
11280
11280
  const createConfig = ({ basePath, headers, }) => {
11281
11281
  if (!basePath.trim()) {
11282
11282
  throw Error('basePath can not be empty');
@@ -11348,7 +11348,7 @@ class APIError extends Error {
11348
11348
 
11349
11349
  /* eslint-disable implicit-arrow-linebreak */
11350
11350
  const defaultHeaders = {
11351
- sdkVersion: 'ts-immutable-sdk-multi-rollup-api-client-1.7.2',
11351
+ sdkVersion: 'ts-immutable-sdk-multi-rollup-api-client-1.7.3',
11352
11352
  };
11353
11353
  /**
11354
11354
  * createAPIConfiguration to create a custom Configuration
@@ -11781,7 +11781,7 @@ const createImmutableXConfiguration = ({ basePath, chainID, coreContractAddress,
11781
11781
  chainID,
11782
11782
  coreContractAddress,
11783
11783
  registrationContractAddress,
11784
- sdkVersion: 'ts-immutable-sdk-1.7.2',
11784
+ sdkVersion: 'ts-immutable-sdk-1.7.3',
11785
11785
  });
11786
11786
  /**
11787
11787
  * Sets `sdkVersion` at the time of build
@@ -37432,7 +37432,7 @@ const flattenProperties = (properties) => {
37432
37432
  };
37433
37433
 
37434
37434
  // WARNING: DO NOT CHANGE THE STRING BELOW. IT GETS REPLACED AT BUILD TIME.
37435
- const SDK_VERSION = '1.7.2';
37435
+ const SDK_VERSION = '1.7.3';
37436
37436
  const getReferrer = () => {
37437
37437
  if (isNode()) {
37438
37438
  return '';
@@ -42600,7 +42600,7 @@ const IMMUTABLE_ZKVEM_GAS_OVERRIDES = {
42600
42600
  maxPriorityFeePerGas: BigNumber$1.from(10e9),
42601
42601
  };
42602
42602
 
42603
- const SDK_VERSION_MARKER = '1.7.2';
42603
+ const SDK_VERSION_MARKER = '1.7.3';
42604
42604
  // This SDK version is replaced by the `yarn build` command ran on the root level
42605
42605
  const globalPackageVersion = () => SDK_VERSION_MARKER;
42606
42606
 
package/dist/orderbook.js CHANGED
@@ -131,7 +131,7 @@ const flattenProperties = (properties) => {
131
131
  };
132
132
 
133
133
  // WARNING: DO NOT CHANGE THE STRING BELOW. IT GETS REPLACED AT BUILD TIME.
134
- const SDK_VERSION = '1.7.2';
134
+ const SDK_VERSION = '1.7.3';
135
135
  const getReferrer = () => {
136
136
  if (isNode()) {
137
137
  return '';
package/dist/passport.js CHANGED
@@ -9146,7 +9146,7 @@ class MultiRollupApiClients {
9146
9146
  }
9147
9147
 
9148
9148
  // eslint-disable-next-line @typescript-eslint/naming-convention
9149
- const defaultHeaders = { 'x-sdk-version': 'ts-immutable-sdk-1.7.2' };
9149
+ const defaultHeaders = { 'x-sdk-version': 'ts-immutable-sdk-1.7.3' };
9150
9150
  const createConfig = ({ basePath, headers, }) => {
9151
9151
  if (!basePath.trim()) {
9152
9152
  throw Error('basePath can not be empty');
@@ -9325,7 +9325,7 @@ const flattenProperties = (properties) => {
9325
9325
  };
9326
9326
 
9327
9327
  // WARNING: DO NOT CHANGE THE STRING BELOW. IT GETS REPLACED AT BUILD TIME.
9328
- const SDK_VERSION = '1.7.2';
9328
+ const SDK_VERSION = '1.7.3';
9329
9329
  const getReferrer = () => {
9330
9330
  if (isNode()) {
9331
9331
  return '';
@@ -9538,7 +9538,7 @@ const createImmutableXConfiguration = ({ basePath, chainID, coreContractAddress,
9538
9538
  chainID,
9539
9539
  coreContractAddress,
9540
9540
  registrationContractAddress,
9541
- sdkVersion: 'ts-immutable-sdk-1.7.2',
9541
+ sdkVersion: 'ts-immutable-sdk-1.7.3',
9542
9542
  });
9543
9543
  /**
9544
9544
  * Sets `sdkVersion` at the time of build
package/dist/x.js CHANGED
@@ -136,7 +136,7 @@ const flattenProperties = (properties) => {
136
136
  };
137
137
 
138
138
  // WARNING: DO NOT CHANGE THE STRING BELOW. IT GETS REPLACED AT BUILD TIME.
139
- const SDK_VERSION = '1.7.2';
139
+ const SDK_VERSION = '1.7.3';
140
140
  const getReferrer = () => {
141
141
  if (isNode()) {
142
142
  return '';
@@ -328,7 +328,7 @@ const createImmutableXConfiguration = ({ basePath, chainID, coreContractAddress,
328
328
  chainID,
329
329
  coreContractAddress,
330
330
  registrationContractAddress,
331
- sdkVersion: 'ts-immutable-sdk-1.7.2',
331
+ sdkVersion: 'ts-immutable-sdk-1.7.3',
332
332
  });
333
333
  /**
334
334
  * Sets `sdkVersion` at the time of build
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@imtbl/sdk",
3
3
  "description": "Immutable Unified SDK",
4
- "version": "1.7.2",
4
+ "version": "1.7.3",
5
5
  "author": "Immutable",
6
6
  "browser": "./dist/index.browser.js",
7
7
  "bugs": "https://github.com/immutable/ts-immutable-sdk/issues",