@imtbl/sdk 0.14.0-alpha.2 → 0.15.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 +5 -5
- package/dist/checkout_widgets.js +1 -1
- package/dist/immutablex_client.js +1 -1
- package/dist/index.browser.js +4 -4
- package/dist/index.browser.js.map +1 -1
- package/dist/index.cjs +9 -9
- package/dist/index.d.ts +4 -1
- package/dist/index.js +9 -9
- package/dist/orderbook.d.ts +4 -1
- package/dist/orderbook.js +5 -5
- package/dist/passport.js +2 -2
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -2420,7 +2420,7 @@ class MultiRollupApiClients {
|
|
|
2420
2420
|
}
|
|
2421
2421
|
|
|
2422
2422
|
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
2423
|
-
const defaultHeaders$1 = { 'x-sdk-version': 'ts-immutable-sdk-0.
|
|
2423
|
+
const defaultHeaders$1 = { 'x-sdk-version': 'ts-immutable-sdk-0.15.0-alpha' };
|
|
2424
2424
|
const createConfig = ({ basePath, headers, }) => {
|
|
2425
2425
|
if (!basePath.trim()) {
|
|
2426
2426
|
throw Error('basePath can not be empty');
|
|
@@ -2480,7 +2480,7 @@ class APIError extends Error {
|
|
|
2480
2480
|
|
|
2481
2481
|
/* eslint-disable implicit-arrow-linebreak */
|
|
2482
2482
|
const defaultHeaders = {
|
|
2483
|
-
sdkVersion: 'ts-immutable-sdk-multi-rollup-api-client-0.
|
|
2483
|
+
sdkVersion: 'ts-immutable-sdk-multi-rollup-api-client-0.15.0-alpha',
|
|
2484
2484
|
};
|
|
2485
2485
|
/**
|
|
2486
2486
|
* createAPIConfiguration to create a custom Configuration
|
|
@@ -2752,7 +2752,7 @@ const createImmutableXConfiguration = ({ basePath, chainID, coreContractAddress,
|
|
|
2752
2752
|
chainID,
|
|
2753
2753
|
coreContractAddress,
|
|
2754
2754
|
registrationContractAddress,
|
|
2755
|
-
sdkVersion: 'ts-immutable-sdk-0.
|
|
2755
|
+
sdkVersion: 'ts-immutable-sdk-0.15.0-alpha',
|
|
2756
2756
|
});
|
|
2757
2757
|
/**
|
|
2758
2758
|
* Sets `sdkVersion` at the time of build
|
|
@@ -9946,11 +9946,11 @@ class ImmutableApiClient {
|
|
|
9946
9946
|
contract_address: orderComponents.consideration[0].token,
|
|
9947
9947
|
},
|
|
9948
9948
|
],
|
|
9949
|
-
|
|
9950
|
-
|
|
9951
|
-
|
|
9952
|
-
|
|
9953
|
-
|
|
9949
|
+
fee: makerFee ? {
|
|
9950
|
+
amount: makerFee.amount,
|
|
9951
|
+
fee_type: FeeType.MAKER_MARKETPLACE,
|
|
9952
|
+
recipient: makerFee.recipient,
|
|
9953
|
+
} : undefined,
|
|
9954
9954
|
end_time: new Date(parseInt(`${orderComponents.endTime.toString()}000`, 10)).toISOString(),
|
|
9955
9955
|
protocol_data: {
|
|
9956
9956
|
order_type: ProtocolData.order_type.FULL_RESTRICTED,
|
|
@@ -28995,7 +28995,7 @@ var checkout_sdk = /*#__PURE__*/Object.freeze({
|
|
|
28995
28995
|
function $parcel$export(e, n, v, s) {
|
|
28996
28996
|
Object.defineProperty(e, n, {get: v, set: s, enumerable: true, configurable: true});
|
|
28997
28997
|
}
|
|
28998
|
-
const $d663162fd5a0853f$export$38a083d9fb5551ca = "0.
|
|
28998
|
+
const $d663162fd5a0853f$export$38a083d9fb5551ca = "0.15.0-alpha";
|
|
28999
28999
|
const $d663162fd5a0853f$export$83bf90b30cdfd29f = ()=>false;
|
|
29000
29000
|
const $d663162fd5a0853f$export$1169f5475725171b = ()=>$d663162fd5a0853f$export$38a083d9fb5551ca;
|
|
29001
29001
|
|
package/dist/index.d.ts
CHANGED
|
@@ -13276,7 +13276,10 @@ type CreateListingRequestBody = {
|
|
|
13276
13276
|
* Buy item for listing should either be NATIVE or ERC20 item
|
|
13277
13277
|
*/
|
|
13278
13278
|
buy: Array<Item>;
|
|
13279
|
-
|
|
13279
|
+
/**
|
|
13280
|
+
* The maker marketplace fee
|
|
13281
|
+
*/
|
|
13282
|
+
fee?: Fee$1;
|
|
13280
13283
|
/**
|
|
13281
13284
|
* Time after which the Order is considered expired
|
|
13282
13285
|
*/
|
package/dist/index.js
CHANGED
|
@@ -2398,7 +2398,7 @@ class MultiRollupApiClients {
|
|
|
2398
2398
|
}
|
|
2399
2399
|
|
|
2400
2400
|
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
2401
|
-
const defaultHeaders$1 = { 'x-sdk-version': 'ts-immutable-sdk-0.
|
|
2401
|
+
const defaultHeaders$1 = { 'x-sdk-version': 'ts-immutable-sdk-0.15.0-alpha' };
|
|
2402
2402
|
const createConfig = ({ basePath, headers, }) => {
|
|
2403
2403
|
if (!basePath.trim()) {
|
|
2404
2404
|
throw Error('basePath can not be empty');
|
|
@@ -2458,7 +2458,7 @@ class APIError extends Error {
|
|
|
2458
2458
|
|
|
2459
2459
|
/* eslint-disable implicit-arrow-linebreak */
|
|
2460
2460
|
const defaultHeaders = {
|
|
2461
|
-
sdkVersion: 'ts-immutable-sdk-multi-rollup-api-client-0.
|
|
2461
|
+
sdkVersion: 'ts-immutable-sdk-multi-rollup-api-client-0.15.0-alpha',
|
|
2462
2462
|
};
|
|
2463
2463
|
/**
|
|
2464
2464
|
* createAPIConfiguration to create a custom Configuration
|
|
@@ -2730,7 +2730,7 @@ const createImmutableXConfiguration = ({ basePath, chainID, coreContractAddress,
|
|
|
2730
2730
|
chainID,
|
|
2731
2731
|
coreContractAddress,
|
|
2732
2732
|
registrationContractAddress,
|
|
2733
|
-
sdkVersion: 'ts-immutable-sdk-0.
|
|
2733
|
+
sdkVersion: 'ts-immutable-sdk-0.15.0-alpha',
|
|
2734
2734
|
});
|
|
2735
2735
|
/**
|
|
2736
2736
|
* Sets `sdkVersion` at the time of build
|
|
@@ -9924,11 +9924,11 @@ class ImmutableApiClient {
|
|
|
9924
9924
|
contract_address: orderComponents.consideration[0].token,
|
|
9925
9925
|
},
|
|
9926
9926
|
],
|
|
9927
|
-
|
|
9928
|
-
|
|
9929
|
-
|
|
9930
|
-
|
|
9931
|
-
|
|
9927
|
+
fee: makerFee ? {
|
|
9928
|
+
amount: makerFee.amount,
|
|
9929
|
+
fee_type: FeeType.MAKER_MARKETPLACE,
|
|
9930
|
+
recipient: makerFee.recipient,
|
|
9931
|
+
} : undefined,
|
|
9932
9932
|
end_time: new Date(parseInt(`${orderComponents.endTime.toString()}000`, 10)).toISOString(),
|
|
9933
9933
|
protocol_data: {
|
|
9934
9934
|
order_type: ProtocolData.order_type.FULL_RESTRICTED,
|
|
@@ -28973,7 +28973,7 @@ var checkout_sdk = /*#__PURE__*/Object.freeze({
|
|
|
28973
28973
|
function $parcel$export(e, n, v, s) {
|
|
28974
28974
|
Object.defineProperty(e, n, {get: v, set: s, enumerable: true, configurable: true});
|
|
28975
28975
|
}
|
|
28976
|
-
const $d663162fd5a0853f$export$38a083d9fb5551ca = "0.
|
|
28976
|
+
const $d663162fd5a0853f$export$38a083d9fb5551ca = "0.15.0-alpha";
|
|
28977
28977
|
const $d663162fd5a0853f$export$83bf90b30cdfd29f = ()=>false;
|
|
28978
28978
|
const $d663162fd5a0853f$export$1169f5475725171b = ()=>$d663162fd5a0853f$export$38a083d9fb5551ca;
|
|
28979
28979
|
|
package/dist/orderbook.d.ts
CHANGED
|
@@ -811,7 +811,10 @@ type CreateListingRequestBody = {
|
|
|
811
811
|
* Buy item for listing should either be NATIVE or ERC20 item
|
|
812
812
|
*/
|
|
813
813
|
buy: Array<Item>;
|
|
814
|
-
|
|
814
|
+
/**
|
|
815
|
+
* The maker marketplace fee
|
|
816
|
+
*/
|
|
817
|
+
fee?: Fee$1;
|
|
815
818
|
/**
|
|
816
819
|
* Time after which the Order is considered expired
|
|
817
820
|
*/
|
package/dist/orderbook.js
CHANGED
|
@@ -993,11 +993,11 @@ class ImmutableApiClient {
|
|
|
993
993
|
contract_address: orderComponents.consideration[0].token,
|
|
994
994
|
},
|
|
995
995
|
],
|
|
996
|
-
|
|
997
|
-
|
|
998
|
-
|
|
999
|
-
|
|
1000
|
-
|
|
996
|
+
fee: makerFee ? {
|
|
997
|
+
amount: makerFee.amount,
|
|
998
|
+
fee_type: FeeType.MAKER_MARKETPLACE,
|
|
999
|
+
recipient: makerFee.recipient,
|
|
1000
|
+
} : undefined,
|
|
1001
1001
|
end_time: new Date(parseInt(`${orderComponents.endTime.toString()}000`, 10)).toISOString(),
|
|
1002
1002
|
protocol_data: {
|
|
1003
1003
|
order_type: ProtocolData.order_type.FULL_RESTRICTED,
|
package/dist/passport.js
CHANGED
|
@@ -1457,7 +1457,7 @@ class MultiRollupApiClients {
|
|
|
1457
1457
|
}
|
|
1458
1458
|
|
|
1459
1459
|
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
1460
|
-
const defaultHeaders = { 'x-sdk-version': 'ts-immutable-sdk-0.
|
|
1460
|
+
const defaultHeaders = { 'x-sdk-version': 'ts-immutable-sdk-0.15.0-alpha' };
|
|
1461
1461
|
const createConfig = ({ basePath, headers, }) => {
|
|
1462
1462
|
if (!basePath.trim()) {
|
|
1463
1463
|
throw Error('basePath can not be empty');
|
|
@@ -1513,7 +1513,7 @@ const createImmutableXConfiguration = ({ basePath, chainID, coreContractAddress,
|
|
|
1513
1513
|
chainID,
|
|
1514
1514
|
coreContractAddress,
|
|
1515
1515
|
registrationContractAddress,
|
|
1516
|
-
sdkVersion: 'ts-immutable-sdk-0.
|
|
1516
|
+
sdkVersion: 'ts-immutable-sdk-0.15.0-alpha',
|
|
1517
1517
|
});
|
|
1518
1518
|
/**
|
|
1519
1519
|
* Sets `sdkVersion` at the time of build
|
package/package.json
CHANGED