@imtbl/sdk 1.24.0-alpha.2 → 1.24.0-alpha.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/blockchain_data.js +2 -2
- package/dist/browser/checkout/sdk.js +4 -4
- package/dist/checkout.js +15 -12
- package/dist/config.js +1 -1
- package/dist/index.browser.js +26 -26
- package/dist/index.browser.js.map +1 -1
- package/dist/index.cjs +18 -15
- package/dist/index.js +18 -15
- package/dist/orderbook.js +12 -9
- package/dist/passport.js +4 -4
- package/dist/x.js +3 -3
- package/package.json +1 -1
package/dist/checkout.js
CHANGED
|
@@ -140,7 +140,7 @@ const flattenProperties$1 = (properties) => {
|
|
|
140
140
|
};
|
|
141
141
|
|
|
142
142
|
// WARNING: DO NOT CHANGE THE STRING BELOW. IT GETS REPLACED AT BUILD TIME.
|
|
143
|
-
const SDK_VERSION$1 = '1.24.0-alpha.
|
|
143
|
+
const SDK_VERSION$1 = '1.24.0-alpha.3';
|
|
144
144
|
const getReferrer$1 = () => {
|
|
145
145
|
if (isNode$1()) {
|
|
146
146
|
return '';
|
|
@@ -17551,7 +17551,7 @@ const flattenProperties = (properties) => {
|
|
|
17551
17551
|
};
|
|
17552
17552
|
|
|
17553
17553
|
// WARNING: DO NOT CHANGE THE STRING BELOW. IT GETS REPLACED AT BUILD TIME.
|
|
17554
|
-
const SDK_VERSION = '1.24.0-alpha.
|
|
17554
|
+
const SDK_VERSION = '1.24.0-alpha.3';
|
|
17555
17555
|
const getReferrer = () => {
|
|
17556
17556
|
if (isNode()) {
|
|
17557
17557
|
return '';
|
|
@@ -22792,12 +22792,15 @@ class Seaport {
|
|
|
22792
22792
|
const address = await signer.getAddress();
|
|
22793
22793
|
// eslint-disable-next-line no-console
|
|
22794
22794
|
console.log(`Fulfiller address: ${address}`);
|
|
22795
|
+
// eslint-disable-next-line no-console
|
|
22796
|
+
console.log(`Provided address: ${account}`);
|
|
22795
22797
|
}
|
|
22796
22798
|
catch {
|
|
22797
22799
|
// no-op - this is for temporary debugging
|
|
22798
22800
|
}
|
|
22799
22801
|
const { actions: seaportActions } = await seaportLib.fulfillOrders({
|
|
22800
22802
|
accountAddress: account,
|
|
22803
|
+
recipientAddress: account,
|
|
22801
22804
|
fulfillOrderDetails: [
|
|
22802
22805
|
{
|
|
22803
22806
|
order: {
|
|
@@ -23100,14 +23103,6 @@ function getOrderbookConfig(environment) {
|
|
|
23100
23103
|
// safely instantiate a V6 provider for the V5 provider URL.
|
|
23101
23104
|
function convertToV6Provider(provider) {
|
|
23102
23105
|
const overwrittenProvider = new JsonRpcProvider(provider.connection.url);
|
|
23103
|
-
// eslint-disable-next-line no-console
|
|
23104
|
-
console.log('Overwritten provider getSigner method');
|
|
23105
|
-
// eslint-disable-next-line no-console
|
|
23106
|
-
console.log(overwrittenProvider.getSigner);
|
|
23107
|
-
// eslint-disable-next-line no-console
|
|
23108
|
-
console.log('Overwriter provider methods');
|
|
23109
|
-
// eslint-disable-next-line no-console
|
|
23110
|
-
console.log(JSON.stringify(Object.keys(overwrittenProvider), null, 2));
|
|
23111
23106
|
// Need to override the getSigner method to mimic V5 behaviour
|
|
23112
23107
|
overwrittenProvider.getSigner = async function getSigner(address) {
|
|
23113
23108
|
if (address == null) {
|
|
@@ -23128,6 +23123,14 @@ function convertToV6Provider(provider) {
|
|
|
23128
23123
|
// provider has access to the address as a signer.
|
|
23129
23124
|
return new JsonRpcSigner(this, address);
|
|
23130
23125
|
};
|
|
23126
|
+
// eslint-disable-next-line no-console
|
|
23127
|
+
console.log('Overwritten provider getSigner method');
|
|
23128
|
+
// eslint-disable-next-line no-console
|
|
23129
|
+
console.log(overwrittenProvider.getSigner);
|
|
23130
|
+
// eslint-disable-next-line no-console
|
|
23131
|
+
console.log('Overwriter provider methods');
|
|
23132
|
+
// eslint-disable-next-line no-console
|
|
23133
|
+
console.log(JSON.stringify(Object.keys(overwrittenProvider), null, 2));
|
|
23131
23134
|
return overwrittenProvider;
|
|
23132
23135
|
}
|
|
23133
23136
|
class SeaportLibFactory {
|
|
@@ -28275,7 +28278,7 @@ class APIError extends Error {
|
|
|
28275
28278
|
|
|
28276
28279
|
/* eslint-disable implicit-arrow-linebreak */
|
|
28277
28280
|
const defaultHeaders = {
|
|
28278
|
-
sdkVersion: 'ts-immutable-sdk-multi-rollup-api-client-1.24.0-alpha.
|
|
28281
|
+
sdkVersion: 'ts-immutable-sdk-multi-rollup-api-client-1.24.0-alpha.3',
|
|
28279
28282
|
};
|
|
28280
28283
|
/**
|
|
28281
28284
|
* createAPIConfiguration to create a custom Configuration
|
|
@@ -29706,7 +29709,7 @@ const IMMUTABLE_ZKVEM_GAS_OVERRIDES = {
|
|
|
29706
29709
|
maxPriorityFeePerGas: BigNumber$1.from(10e9),
|
|
29707
29710
|
};
|
|
29708
29711
|
|
|
29709
|
-
const SDK_VERSION_MARKER = '1.24.0-alpha.
|
|
29712
|
+
const SDK_VERSION_MARKER = '1.24.0-alpha.3';
|
|
29710
29713
|
// This SDK version is replaced by the `yarn build` command ran on the root level
|
|
29711
29714
|
const globalPackageVersion = () => SDK_VERSION_MARKER;
|
|
29712
29715
|
|
package/dist/config.js
CHANGED
|
@@ -128,7 +128,7 @@ const flattenProperties = (properties) => {
|
|
|
128
128
|
};
|
|
129
129
|
|
|
130
130
|
// WARNING: DO NOT CHANGE THE STRING BELOW. IT GETS REPLACED AT BUILD TIME.
|
|
131
|
-
const SDK_VERSION = '1.24.0-alpha.
|
|
131
|
+
const SDK_VERSION = '1.24.0-alpha.3';
|
|
132
132
|
const getReferrer = () => {
|
|
133
133
|
if (isNode()) {
|
|
134
134
|
return '';
|