@injectivelabs/wallet-turnkey 1.16.11-alpha.0 → 1.16.11
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.
|
@@ -125,7 +125,6 @@ class TurnkeyWallet {
|
|
|
125
125
|
const { accountMap } = this;
|
|
126
126
|
const indexedDbClient = await this.getIndexedDbClient();
|
|
127
127
|
const organizationId = this.userOrganizationId;
|
|
128
|
-
console.log('accountMap', accountMap);
|
|
129
128
|
if (accountMap[address] || accountMap[address.toLowerCase()]) {
|
|
130
129
|
return accountMap[address] || accountMap[address.toLowerCase()];
|
|
131
130
|
}
|
|
@@ -136,7 +135,6 @@ class TurnkeyWallet {
|
|
|
136
135
|
if (!address) {
|
|
137
136
|
throw new exceptions_1.WalletException(new Error('Account address not found'));
|
|
138
137
|
}
|
|
139
|
-
console.log('address', address);
|
|
140
138
|
const turnkeyAccount = await (0, viem_1.createAccount)({
|
|
141
139
|
organizationId,
|
|
142
140
|
signWith: address,
|
|
@@ -122,7 +122,6 @@ export class TurnkeyWallet {
|
|
|
122
122
|
const { accountMap } = this;
|
|
123
123
|
const indexedDbClient = await this.getIndexedDbClient();
|
|
124
124
|
const organizationId = this.userOrganizationId;
|
|
125
|
-
console.log('accountMap', accountMap);
|
|
126
125
|
if (accountMap[address] || accountMap[address.toLowerCase()]) {
|
|
127
126
|
return accountMap[address] || accountMap[address.toLowerCase()];
|
|
128
127
|
}
|
|
@@ -133,7 +132,6 @@ export class TurnkeyWallet {
|
|
|
133
132
|
if (!address) {
|
|
134
133
|
throw new WalletException(new Error('Account address not found'));
|
|
135
134
|
}
|
|
136
|
-
console.log('address', address);
|
|
137
135
|
const turnkeyAccount = await createAccount({
|
|
138
136
|
organizationId,
|
|
139
137
|
signWith: address,
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@injectivelabs/wallet-turnkey",
|
|
3
3
|
"description": "Turnkey wallet strategy for use with @injectivelabs/wallet-core.",
|
|
4
|
-
"version": "1.16.11
|
|
4
|
+
"version": "1.16.11",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"publishConfig": {
|
|
7
7
|
"access": "public"
|
|
@@ -59,11 +59,11 @@
|
|
|
59
59
|
"start": "node dist/index.js"
|
|
60
60
|
},
|
|
61
61
|
"dependencies": {
|
|
62
|
-
"@injectivelabs/exceptions": "1.16.11
|
|
63
|
-
"@injectivelabs/sdk-ts": "1.16.11
|
|
64
|
-
"@injectivelabs/ts-types": "1.16.11
|
|
65
|
-
"@injectivelabs/utils": "1.16.11
|
|
66
|
-
"@injectivelabs/wallet-base": "1.16.11
|
|
62
|
+
"@injectivelabs/exceptions": "1.16.11",
|
|
63
|
+
"@injectivelabs/sdk-ts": "1.16.11",
|
|
64
|
+
"@injectivelabs/ts-types": "1.16.11",
|
|
65
|
+
"@injectivelabs/utils": "1.16.11",
|
|
66
|
+
"@injectivelabs/wallet-base": "1.16.11",
|
|
67
67
|
"@turnkey/sdk-browser": "5.2.3",
|
|
68
68
|
"@turnkey/viem": "^0.9.10",
|
|
69
69
|
"viem": "^2.33.2"
|
|
@@ -77,5 +77,5 @@
|
|
|
77
77
|
"tsconfig-paths": "^4.2.0",
|
|
78
78
|
"typescript": "^5.0.0"
|
|
79
79
|
},
|
|
80
|
-
"gitHead": "
|
|
80
|
+
"gitHead": "2fc52f1db9da90837e15543c9854367f33c5f5d1"
|
|
81
81
|
}
|