@imtbl/sdk 1.15.2 → 1.15.4-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 +2 -2
- package/dist/browser/checkout/sdk.js +4 -4
- package/dist/checkout.js +4 -4
- package/dist/config.js +1 -1
- package/dist/index.browser.js +14 -14
- package/dist/index.browser.js.map +1 -1
- package/dist/index.cjs +13 -9
- package/dist/index.js +15 -11
- package/dist/orderbook.js +1 -1
- package/dist/passport.js +8 -6
- package/dist/x.js +11 -7
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -52,6 +52,8 @@ function _interopNamespaceDefault(e) {
|
|
|
52
52
|
}
|
|
53
53
|
|
|
54
54
|
var encUtils__namespace = /*#__PURE__*/_interopNamespaceDefault(encUtils);
|
|
55
|
+
var elliptic__namespace = /*#__PURE__*/_interopNamespaceDefault(elliptic);
|
|
56
|
+
var ethereumjsWallet__namespace = /*#__PURE__*/_interopNamespaceDefault(ethereumjsWallet);
|
|
55
57
|
var crypto__namespace = /*#__PURE__*/_interopNamespaceDefault(crypto);
|
|
56
58
|
var Uniswap__namespace = /*#__PURE__*/_interopNamespaceDefault(Uniswap);
|
|
57
59
|
|
|
@@ -181,7 +183,7 @@ const flattenProperties$1 = (properties) => {
|
|
|
181
183
|
};
|
|
182
184
|
|
|
183
185
|
// WARNING: DO NOT CHANGE THE STRING BELOW. IT GETS REPLACED AT BUILD TIME.
|
|
184
|
-
const SDK_VERSION$1 = '1.15.
|
|
186
|
+
const SDK_VERSION$1 = '1.15.4-alpha';
|
|
185
187
|
const getReferrer$1 = () => {
|
|
186
188
|
if (isNode$1()) {
|
|
187
189
|
return '';
|
|
@@ -13557,7 +13559,7 @@ class MultiRollupApiClients {
|
|
|
13557
13559
|
}
|
|
13558
13560
|
|
|
13559
13561
|
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
13560
|
-
const defaultHeaders$2 = { 'x-sdk-version': 'ts-immutable-sdk-1.15.
|
|
13562
|
+
const defaultHeaders$2 = { 'x-sdk-version': 'ts-immutable-sdk-1.15.4-alpha' };
|
|
13561
13563
|
const createConfig$1 = ({ basePath, headers, }) => {
|
|
13562
13564
|
if (!basePath.trim()) {
|
|
13563
13565
|
throw Error('basePath can not be empty');
|
|
@@ -13629,7 +13631,7 @@ class APIError extends Error {
|
|
|
13629
13631
|
|
|
13630
13632
|
/* eslint-disable implicit-arrow-linebreak */
|
|
13631
13633
|
const defaultHeaders$1 = {
|
|
13632
|
-
sdkVersion: 'ts-immutable-sdk-multi-rollup-api-client-1.15.
|
|
13634
|
+
sdkVersion: 'ts-immutable-sdk-multi-rollup-api-client-1.15.4-alpha',
|
|
13633
13635
|
};
|
|
13634
13636
|
/**
|
|
13635
13637
|
* createAPIConfiguration to create a custom Configuration
|
|
@@ -14106,7 +14108,7 @@ var blockchain_data = /*#__PURE__*/Object.freeze({
|
|
|
14106
14108
|
/* eslint-disable @typescript-eslint/naming-convention */
|
|
14107
14109
|
class ApiConfiguration extends index$2.Configuration {
|
|
14108
14110
|
}
|
|
14109
|
-
const defaultHeaders = { 'x-sdk-version': 'ts-immutable-sdk-1.15.
|
|
14111
|
+
const defaultHeaders = { 'x-sdk-version': 'ts-immutable-sdk-1.15.4-alpha' };
|
|
14110
14112
|
/**
|
|
14111
14113
|
* @dev use createImmutableXConfiguration instead
|
|
14112
14114
|
*/
|
|
@@ -14141,7 +14143,7 @@ const createImmutableXConfiguration = ({ basePath, chainID, coreContractAddress,
|
|
|
14141
14143
|
chainID,
|
|
14142
14144
|
coreContractAddress,
|
|
14143
14145
|
registrationContractAddress,
|
|
14144
|
-
sdkVersion: 'ts-immutable-sdk-1.15.
|
|
14146
|
+
sdkVersion: 'ts-immutable-sdk-1.15.4-alpha',
|
|
14145
14147
|
});
|
|
14146
14148
|
/**
|
|
14147
14149
|
* Sets `sdkVersion` at the time of build
|
|
@@ -16520,6 +16522,8 @@ async function getStarkPublicKeyFromImx(ethAddress) {
|
|
|
16520
16522
|
return undefined;
|
|
16521
16523
|
}
|
|
16522
16524
|
|
|
16525
|
+
const { ec, curves } = elliptic__namespace;
|
|
16526
|
+
const { hdkey } = ethereumjsWallet__namespace;
|
|
16523
16527
|
/*
|
|
16524
16528
|
Stark-friendly elliptic curve
|
|
16525
16529
|
|
|
@@ -16545,7 +16549,7 @@ https://docs.starkware.co/starkex-v4/crypto/stark-curve
|
|
|
16545
16549
|
*/
|
|
16546
16550
|
const starkEcOrder = new BN$2('08000000 00000010 ffffffff ffffffff b781126d cae7b232 1e66a241 adc64d2f', 16);
|
|
16547
16551
|
// eslint-disable-next-line new-cap
|
|
16548
|
-
new
|
|
16552
|
+
new ec(new curves.PresetCurve({
|
|
16549
16553
|
type: 'short',
|
|
16550
16554
|
prime: null,
|
|
16551
16555
|
p: '08000000 00000011 00000000 00000000 00000000 00000000 00000000 00000001',
|
|
@@ -16637,7 +16641,7 @@ function checkIfHashedKeyIsAboveLimit(keySeed) {
|
|
|
16637
16641
|
return key.gte(maxAllowedVal);
|
|
16638
16642
|
}
|
|
16639
16643
|
function getPrivateKeyFromPath(seed, path) {
|
|
16640
|
-
const privateKey =
|
|
16644
|
+
const privateKey = hdkey
|
|
16641
16645
|
.fromMasterSeed(Buffer.from(seed.slice(2), 'hex')) // assuming seed is '0x...'
|
|
16642
16646
|
.derivePath(path)
|
|
16643
16647
|
.getWallet()
|
|
@@ -45437,7 +45441,7 @@ const flattenProperties = (properties) => {
|
|
|
45437
45441
|
};
|
|
45438
45442
|
|
|
45439
45443
|
// WARNING: DO NOT CHANGE THE STRING BELOW. IT GETS REPLACED AT BUILD TIME.
|
|
45440
|
-
const SDK_VERSION = '1.15.
|
|
45444
|
+
const SDK_VERSION = '1.15.4-alpha';
|
|
45441
45445
|
const getReferrer = () => {
|
|
45442
45446
|
if (isNode()) {
|
|
45443
45447
|
return '';
|
|
@@ -50617,7 +50621,7 @@ const IMMUTABLE_ZKVEM_GAS_OVERRIDES = {
|
|
|
50617
50621
|
maxPriorityFeePerGas: ethers.BigNumber.from(10e9),
|
|
50618
50622
|
};
|
|
50619
50623
|
|
|
50620
|
-
const SDK_VERSION_MARKER = '1.15.
|
|
50624
|
+
const SDK_VERSION_MARKER = '1.15.4-alpha';
|
|
50621
50625
|
// This SDK version is replaced by the `yarn build` command ran on the root level
|
|
50622
50626
|
const globalPackageVersion = () => SDK_VERSION_MARKER;
|
|
50623
50627
|
|
package/dist/index.js
CHANGED
|
@@ -7,8 +7,10 @@ import BN$2 from 'bn.js';
|
|
|
7
7
|
import * as encUtils from 'enc-utils';
|
|
8
8
|
import { splitSignature } from '@ethersproject/bytes';
|
|
9
9
|
import hashJS from 'hash.js';
|
|
10
|
-
import
|
|
11
|
-
import {
|
|
10
|
+
import * as elliptic from 'elliptic';
|
|
11
|
+
import { ec as ec$1, curves as curves$1 } from 'elliptic';
|
|
12
|
+
import * as ethereumjsWallet from 'ethereumjs-wallet';
|
|
13
|
+
import { hdkey as hdkey$1 } from 'ethereumjs-wallet';
|
|
12
14
|
import assert from 'assert';
|
|
13
15
|
import { utils as utils$3, Contract as Contract$1, ContractFactory, BigNumber as BigNumber$1, errors, ethers, constants as constants$1, providers } from 'ethers';
|
|
14
16
|
import { Signer as Signer$1 } from '@ethersproject/abstract-signer';
|
|
@@ -159,7 +161,7 @@ const flattenProperties$1 = (properties) => {
|
|
|
159
161
|
};
|
|
160
162
|
|
|
161
163
|
// WARNING: DO NOT CHANGE THE STRING BELOW. IT GETS REPLACED AT BUILD TIME.
|
|
162
|
-
const SDK_VERSION$1 = '1.15.
|
|
164
|
+
const SDK_VERSION$1 = '1.15.4-alpha';
|
|
163
165
|
const getReferrer$1 = () => {
|
|
164
166
|
if (isNode$1()) {
|
|
165
167
|
return '';
|
|
@@ -13535,7 +13537,7 @@ class MultiRollupApiClients {
|
|
|
13535
13537
|
}
|
|
13536
13538
|
|
|
13537
13539
|
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
13538
|
-
const defaultHeaders$2 = { 'x-sdk-version': 'ts-immutable-sdk-1.15.
|
|
13540
|
+
const defaultHeaders$2 = { 'x-sdk-version': 'ts-immutable-sdk-1.15.4-alpha' };
|
|
13539
13541
|
const createConfig$1 = ({ basePath, headers, }) => {
|
|
13540
13542
|
if (!basePath.trim()) {
|
|
13541
13543
|
throw Error('basePath can not be empty');
|
|
@@ -13607,7 +13609,7 @@ class APIError extends Error {
|
|
|
13607
13609
|
|
|
13608
13610
|
/* eslint-disable implicit-arrow-linebreak */
|
|
13609
13611
|
const defaultHeaders$1 = {
|
|
13610
|
-
sdkVersion: 'ts-immutable-sdk-multi-rollup-api-client-1.15.
|
|
13612
|
+
sdkVersion: 'ts-immutable-sdk-multi-rollup-api-client-1.15.4-alpha',
|
|
13611
13613
|
};
|
|
13612
13614
|
/**
|
|
13613
13615
|
* createAPIConfiguration to create a custom Configuration
|
|
@@ -14084,7 +14086,7 @@ var blockchain_data = /*#__PURE__*/Object.freeze({
|
|
|
14084
14086
|
/* eslint-disable @typescript-eslint/naming-convention */
|
|
14085
14087
|
class ApiConfiguration extends index$2.Configuration {
|
|
14086
14088
|
}
|
|
14087
|
-
const defaultHeaders = { 'x-sdk-version': 'ts-immutable-sdk-1.15.
|
|
14089
|
+
const defaultHeaders = { 'x-sdk-version': 'ts-immutable-sdk-1.15.4-alpha' };
|
|
14088
14090
|
/**
|
|
14089
14091
|
* @dev use createImmutableXConfiguration instead
|
|
14090
14092
|
*/
|
|
@@ -14119,7 +14121,7 @@ const createImmutableXConfiguration = ({ basePath, chainID, coreContractAddress,
|
|
|
14119
14121
|
chainID,
|
|
14120
14122
|
coreContractAddress,
|
|
14121
14123
|
registrationContractAddress,
|
|
14122
|
-
sdkVersion: 'ts-immutable-sdk-1.15.
|
|
14124
|
+
sdkVersion: 'ts-immutable-sdk-1.15.4-alpha',
|
|
14123
14125
|
});
|
|
14124
14126
|
/**
|
|
14125
14127
|
* Sets `sdkVersion` at the time of build
|
|
@@ -16334,7 +16336,7 @@ const DEFAULT_ACCOUNT_APPLICATION = 'immutablex';
|
|
|
16334
16336
|
const DEFAULT_ACCOUNT_INDEX = '1';
|
|
16335
16337
|
const prime = new BN$2('800000000000011000000000000000000000000000000000000000000000001', 16);
|
|
16336
16338
|
const order = new BN$2('08000000 00000010 ffffffff ffffffff b781126d cae7b232 1e66a241 adc64d2f', 16);
|
|
16337
|
-
const starkEc = new ec(new curves.PresetCurve({
|
|
16339
|
+
const starkEc = new ec$1(new curves$1.PresetCurve({
|
|
16338
16340
|
type: 'short',
|
|
16339
16341
|
prime: null,
|
|
16340
16342
|
p: prime,
|
|
@@ -16407,7 +16409,7 @@ function grindKey$1(privateKey) {
|
|
|
16407
16409
|
return key.mod(ORDER).toString('hex');
|
|
16408
16410
|
}
|
|
16409
16411
|
function getPrivateKeyFromPath$1(seed, path) {
|
|
16410
|
-
return hdkey
|
|
16412
|
+
return hdkey$1
|
|
16411
16413
|
.fromMasterSeed(Buffer.from(seed.slice(2), 'hex')) // assuming seed is '0x...'
|
|
16412
16414
|
.derivePath(path)
|
|
16413
16415
|
.getWallet()
|
|
@@ -16498,6 +16500,8 @@ async function getStarkPublicKeyFromImx(ethAddress) {
|
|
|
16498
16500
|
return undefined;
|
|
16499
16501
|
}
|
|
16500
16502
|
|
|
16503
|
+
const { ec, curves } = elliptic;
|
|
16504
|
+
const { hdkey } = ethereumjsWallet;
|
|
16501
16505
|
/*
|
|
16502
16506
|
Stark-friendly elliptic curve
|
|
16503
16507
|
|
|
@@ -45415,7 +45419,7 @@ const flattenProperties = (properties) => {
|
|
|
45415
45419
|
};
|
|
45416
45420
|
|
|
45417
45421
|
// WARNING: DO NOT CHANGE THE STRING BELOW. IT GETS REPLACED AT BUILD TIME.
|
|
45418
|
-
const SDK_VERSION = '1.15.
|
|
45422
|
+
const SDK_VERSION = '1.15.4-alpha';
|
|
45419
45423
|
const getReferrer = () => {
|
|
45420
45424
|
if (isNode()) {
|
|
45421
45425
|
return '';
|
|
@@ -50595,7 +50599,7 @@ const IMMUTABLE_ZKVEM_GAS_OVERRIDES = {
|
|
|
50595
50599
|
maxPriorityFeePerGas: BigNumber$1.from(10e9),
|
|
50596
50600
|
};
|
|
50597
50601
|
|
|
50598
|
-
const SDK_VERSION_MARKER = '1.15.
|
|
50602
|
+
const SDK_VERSION_MARKER = '1.15.4-alpha';
|
|
50599
50603
|
// This SDK version is replaced by the `yarn build` command ran on the root level
|
|
50600
50604
|
const globalPackageVersion = () => SDK_VERSION_MARKER;
|
|
50601
50605
|
|
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.15.
|
|
134
|
+
const SDK_VERSION = '1.15.4-alpha';
|
|
135
135
|
const getReferrer = () => {
|
|
136
136
|
if (isNode()) {
|
|
137
137
|
return '';
|
package/dist/passport.js
CHANGED
|
@@ -7,7 +7,8 @@ import BN from 'bn.js';
|
|
|
7
7
|
import * as encUtils from 'enc-utils';
|
|
8
8
|
import '@ethersproject/bytes';
|
|
9
9
|
import hashJS from 'hash.js';
|
|
10
|
-
import
|
|
10
|
+
import * as elliptic from 'elliptic';
|
|
11
|
+
import { ec as ec$1, curves as curves$1 } from 'elliptic';
|
|
11
12
|
import 'ethereumjs-wallet';
|
|
12
13
|
import 'assert';
|
|
13
14
|
import { BigNumber, Contract, errors, utils as utils$2, ethers, constants } from 'ethers';
|
|
@@ -11350,7 +11351,7 @@ class MultiRollupApiClients {
|
|
|
11350
11351
|
}
|
|
11351
11352
|
|
|
11352
11353
|
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
11353
|
-
const defaultHeaders$1 = { 'x-sdk-version': 'ts-immutable-sdk-1.15.
|
|
11354
|
+
const defaultHeaders$1 = { 'x-sdk-version': 'ts-immutable-sdk-1.15.4-alpha' };
|
|
11354
11355
|
const createConfig$1 = ({ basePath, headers, }) => {
|
|
11355
11356
|
if (!basePath.trim()) {
|
|
11356
11357
|
throw Error('basePath can not be empty');
|
|
@@ -11529,7 +11530,7 @@ const flattenProperties = (properties) => {
|
|
|
11529
11530
|
};
|
|
11530
11531
|
|
|
11531
11532
|
// WARNING: DO NOT CHANGE THE STRING BELOW. IT GETS REPLACED AT BUILD TIME.
|
|
11532
|
-
const SDK_VERSION = '1.15.
|
|
11533
|
+
const SDK_VERSION = '1.15.4-alpha';
|
|
11533
11534
|
const getReferrer = () => {
|
|
11534
11535
|
if (isNode()) {
|
|
11535
11536
|
return '';
|
|
@@ -11746,7 +11747,7 @@ var KeyHeaders;
|
|
|
11746
11747
|
/* eslint-disable @typescript-eslint/naming-convention */
|
|
11747
11748
|
class ApiConfiguration extends index$2.Configuration {
|
|
11748
11749
|
}
|
|
11749
|
-
const defaultHeaders = { 'x-sdk-version': 'ts-immutable-sdk-1.15.
|
|
11750
|
+
const defaultHeaders = { 'x-sdk-version': 'ts-immutable-sdk-1.15.4-alpha' };
|
|
11750
11751
|
/**
|
|
11751
11752
|
* @dev use createImmutableXConfiguration instead
|
|
11752
11753
|
*/
|
|
@@ -11781,7 +11782,7 @@ const createImmutableXConfiguration = ({ basePath, chainID, coreContractAddress,
|
|
|
11781
11782
|
chainID,
|
|
11782
11783
|
coreContractAddress,
|
|
11783
11784
|
registrationContractAddress,
|
|
11784
|
-
sdkVersion: 'ts-immutable-sdk-1.15.
|
|
11785
|
+
sdkVersion: 'ts-immutable-sdk-1.15.4-alpha',
|
|
11785
11786
|
});
|
|
11786
11787
|
/**
|
|
11787
11788
|
* Sets `sdkVersion` at the time of build
|
|
@@ -13967,7 +13968,7 @@ const constantPointsHex = [
|
|
|
13967
13968
|
];
|
|
13968
13969
|
const prime = new BN('800000000000011000000000000000000000000000000000000000000000001', 16);
|
|
13969
13970
|
const order = new BN('08000000 00000010 ffffffff ffffffff b781126d cae7b232 1e66a241 adc64d2f', 16);
|
|
13970
|
-
const starkEc = new ec(new curves.PresetCurve({
|
|
13971
|
+
const starkEc = new ec$1(new curves$1.PresetCurve({
|
|
13971
13972
|
type: 'short',
|
|
13972
13973
|
prime: null,
|
|
13973
13974
|
p: prime,
|
|
@@ -14011,6 +14012,7 @@ var Errors;
|
|
|
14011
14012
|
Errors["StarkCurveInvalidMessageLength"] = "invalid message length";
|
|
14012
14013
|
})(Errors || (Errors = {}));
|
|
14013
14014
|
|
|
14015
|
+
const { ec, curves } = elliptic;
|
|
14014
14016
|
/*
|
|
14015
14017
|
Stark-friendly elliptic curve
|
|
14016
14018
|
|
package/dist/x.js
CHANGED
|
@@ -7,8 +7,10 @@ import BN from 'bn.js';
|
|
|
7
7
|
import * as encUtils from 'enc-utils';
|
|
8
8
|
import { splitSignature } from '@ethersproject/bytes';
|
|
9
9
|
import hashJS from 'hash.js';
|
|
10
|
-
import
|
|
11
|
-
import {
|
|
10
|
+
import * as elliptic from 'elliptic';
|
|
11
|
+
import { ec as ec$1, curves as curves$1 } from 'elliptic';
|
|
12
|
+
import * as ethereumjsWallet from 'ethereumjs-wallet';
|
|
13
|
+
import { hdkey as hdkey$1 } from 'ethereumjs-wallet';
|
|
12
14
|
import 'assert';
|
|
13
15
|
import { utils, Contract, ContractFactory, ethers } from 'ethers';
|
|
14
16
|
export { Signer as EthSigner } from '@ethersproject/abstract-signer';
|
|
@@ -8954,7 +8956,7 @@ const flattenProperties = (properties) => {
|
|
|
8954
8956
|
};
|
|
8955
8957
|
|
|
8956
8958
|
// WARNING: DO NOT CHANGE THE STRING BELOW. IT GETS REPLACED AT BUILD TIME.
|
|
8957
|
-
const SDK_VERSION = '1.15.
|
|
8959
|
+
const SDK_VERSION = '1.15.4-alpha';
|
|
8958
8960
|
const getReferrer = () => {
|
|
8959
8961
|
if (isNode()) {
|
|
8960
8962
|
return '';
|
|
@@ -9164,7 +9166,7 @@ class ImmutableConfiguration {
|
|
|
9164
9166
|
/* eslint-disable @typescript-eslint/naming-convention */
|
|
9165
9167
|
class ApiConfiguration extends index$2.Configuration {
|
|
9166
9168
|
}
|
|
9167
|
-
const defaultHeaders = { 'x-sdk-version': 'ts-immutable-sdk-1.15.
|
|
9169
|
+
const defaultHeaders = { 'x-sdk-version': 'ts-immutable-sdk-1.15.4-alpha' };
|
|
9168
9170
|
/**
|
|
9169
9171
|
* @dev use createImmutableXConfiguration instead
|
|
9170
9172
|
*/
|
|
@@ -9199,7 +9201,7 @@ const createImmutableXConfiguration = ({ basePath, chainID, coreContractAddress,
|
|
|
9199
9201
|
chainID,
|
|
9200
9202
|
coreContractAddress,
|
|
9201
9203
|
registrationContractAddress,
|
|
9202
|
-
sdkVersion: 'ts-immutable-sdk-1.15.
|
|
9204
|
+
sdkVersion: 'ts-immutable-sdk-1.15.4-alpha',
|
|
9203
9205
|
});
|
|
9204
9206
|
/**
|
|
9205
9207
|
* Sets `sdkVersion` at the time of build
|
|
@@ -11414,7 +11416,7 @@ const DEFAULT_ACCOUNT_APPLICATION = 'immutablex';
|
|
|
11414
11416
|
const DEFAULT_ACCOUNT_INDEX = '1';
|
|
11415
11417
|
const prime = new BN('800000000000011000000000000000000000000000000000000000000000001', 16);
|
|
11416
11418
|
const order = new BN('08000000 00000010 ffffffff ffffffff b781126d cae7b232 1e66a241 adc64d2f', 16);
|
|
11417
|
-
const starkEc = new ec(new curves.PresetCurve({
|
|
11419
|
+
const starkEc = new ec$1(new curves$1.PresetCurve({
|
|
11418
11420
|
type: 'short',
|
|
11419
11421
|
prime: null,
|
|
11420
11422
|
p: prime,
|
|
@@ -11487,7 +11489,7 @@ function grindKey$1(privateKey) {
|
|
|
11487
11489
|
return key.mod(ORDER).toString('hex');
|
|
11488
11490
|
}
|
|
11489
11491
|
function getPrivateKeyFromPath$1(seed, path) {
|
|
11490
|
-
return hdkey
|
|
11492
|
+
return hdkey$1
|
|
11491
11493
|
.fromMasterSeed(Buffer.from(seed.slice(2), 'hex')) // assuming seed is '0x...'
|
|
11492
11494
|
.derivePath(path)
|
|
11493
11495
|
.getWallet()
|
|
@@ -11578,6 +11580,8 @@ async function getStarkPublicKeyFromImx(ethAddress) {
|
|
|
11578
11580
|
return undefined;
|
|
11579
11581
|
}
|
|
11580
11582
|
|
|
11583
|
+
const { ec, curves } = elliptic;
|
|
11584
|
+
const { hdkey } = ethereumjsWallet;
|
|
11581
11585
|
/*
|
|
11582
11586
|
Stark-friendly elliptic curve
|
|
11583
11587
|
|
package/package.json
CHANGED