@imtbl/sdk 1.24.0-alpha.1 → 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 +24 -4
- package/dist/config.js +1 -1
- package/dist/index.browser.js +17 -17
- package/dist/index.browser.js.map +1 -1
- package/dist/index.cjs +27 -7
- package/dist/index.js +27 -7
- package/dist/orderbook.js +21 -1
- 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 '';
|
|
@@ -22787,8 +22787,20 @@ class Seaport {
|
|
|
22787
22787
|
async fulfillOrder(order, account, extraData) {
|
|
22788
22788
|
const { orderComponents, tips } = this.mapImmutableOrderToSeaportOrderComponents(order);
|
|
22789
22789
|
const seaportLib = this.getSeaportLib(order);
|
|
22790
|
+
try {
|
|
22791
|
+
const signer = await this.provider.getSigner(account);
|
|
22792
|
+
const address = await signer.getAddress();
|
|
22793
|
+
// eslint-disable-next-line no-console
|
|
22794
|
+
console.log(`Fulfiller address: ${address}`);
|
|
22795
|
+
// eslint-disable-next-line no-console
|
|
22796
|
+
console.log(`Provided address: ${account}`);
|
|
22797
|
+
}
|
|
22798
|
+
catch {
|
|
22799
|
+
// no-op - this is for temporary debugging
|
|
22800
|
+
}
|
|
22790
22801
|
const { actions: seaportActions } = await seaportLib.fulfillOrders({
|
|
22791
22802
|
accountAddress: account,
|
|
22803
|
+
recipientAddress: account,
|
|
22792
22804
|
fulfillOrderDetails: [
|
|
22793
22805
|
{
|
|
22794
22806
|
order: {
|
|
@@ -23111,6 +23123,14 @@ function convertToV6Provider(provider) {
|
|
|
23111
23123
|
// provider has access to the address as a signer.
|
|
23112
23124
|
return new JsonRpcSigner(this, address);
|
|
23113
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));
|
|
23114
23134
|
return overwrittenProvider;
|
|
23115
23135
|
}
|
|
23116
23136
|
class SeaportLibFactory {
|
|
@@ -28258,7 +28278,7 @@ class APIError extends Error {
|
|
|
28258
28278
|
|
|
28259
28279
|
/* eslint-disable implicit-arrow-linebreak */
|
|
28260
28280
|
const defaultHeaders = {
|
|
28261
|
-
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',
|
|
28262
28282
|
};
|
|
28263
28283
|
/**
|
|
28264
28284
|
* createAPIConfiguration to create a custom Configuration
|
|
@@ -29689,7 +29709,7 @@ const IMMUTABLE_ZKVEM_GAS_OVERRIDES = {
|
|
|
29689
29709
|
maxPriorityFeePerGas: BigNumber$1.from(10e9),
|
|
29690
29710
|
};
|
|
29691
29711
|
|
|
29692
|
-
const SDK_VERSION_MARKER = '1.24.0-alpha.
|
|
29712
|
+
const SDK_VERSION_MARKER = '1.24.0-alpha.3';
|
|
29693
29713
|
// This SDK version is replaced by the `yarn build` command ran on the root level
|
|
29694
29714
|
const globalPackageVersion = () => SDK_VERSION_MARKER;
|
|
29695
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 '';
|