@injectivelabs/wallet-turnkey 1.16.38-alpha.3 → 1.16.38-alpha.4
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/cjs/index.cjs +7 -0
- package/dist/cjs/index.d.cts +5 -0
- package/dist/esm/index.d.ts +5 -0
- package/dist/esm/index.js +7 -0
- package/package.json +9 -9
package/dist/cjs/index.cjs
CHANGED
|
@@ -531,6 +531,13 @@ var TurnkeyWalletStrategy = class extends __injectivelabs_wallet_base.BaseConcre
|
|
|
531
531
|
});
|
|
532
532
|
}
|
|
533
533
|
}
|
|
534
|
+
async getAddressesInfo() {
|
|
535
|
+
throw new __injectivelabs_exceptions.WalletException(/* @__PURE__ */ new Error("getAddressesInfo is not implemented"), {
|
|
536
|
+
code: __injectivelabs_exceptions.UnspecifiedErrorCode,
|
|
537
|
+
type: __injectivelabs_exceptions.ErrorType.WalletError,
|
|
538
|
+
contextModule: __injectivelabs_wallet_base.WalletAction.GetAccounts
|
|
539
|
+
});
|
|
540
|
+
}
|
|
534
541
|
async getSessionOrConfirm(_address) {
|
|
535
542
|
return await (await this.getTurnkeyWallet()).refreshSession();
|
|
536
543
|
}
|
package/dist/cjs/index.d.cts
CHANGED
|
@@ -21,6 +21,11 @@ declare class TurnkeyWalletStrategy extends BaseConcreteStrategy implements Conc
|
|
|
21
21
|
enable(): Promise<boolean>;
|
|
22
22
|
disconnect(): Promise<void>;
|
|
23
23
|
getAddresses(): Promise<string[]>;
|
|
24
|
+
getAddressesInfo(): Promise<{
|
|
25
|
+
address: string;
|
|
26
|
+
derivationPath: string;
|
|
27
|
+
baseDerivationPath: string;
|
|
28
|
+
}[]>;
|
|
24
29
|
getSessionOrConfirm(_address?: string): Promise<string>;
|
|
25
30
|
getWalletClient<TurnkeyWallet$1>(): Promise<TurnkeyWallet$1>;
|
|
26
31
|
sendEvmTransaction(transaction: unknown, args: {
|
package/dist/esm/index.d.ts
CHANGED
|
@@ -21,6 +21,11 @@ declare class TurnkeyWalletStrategy extends BaseConcreteStrategy implements Conc
|
|
|
21
21
|
enable(): Promise<boolean>;
|
|
22
22
|
disconnect(): Promise<void>;
|
|
23
23
|
getAddresses(): Promise<string[]>;
|
|
24
|
+
getAddressesInfo(): Promise<{
|
|
25
|
+
address: string;
|
|
26
|
+
derivationPath: string;
|
|
27
|
+
baseDerivationPath: string;
|
|
28
|
+
}[]>;
|
|
24
29
|
getSessionOrConfirm(_address?: string): Promise<string>;
|
|
25
30
|
getWalletClient<TurnkeyWallet$1>(): Promise<TurnkeyWallet$1>;
|
|
26
31
|
sendEvmTransaction(transaction: unknown, args: {
|
package/dist/esm/index.js
CHANGED
|
@@ -531,6 +531,13 @@ var TurnkeyWalletStrategy = class extends BaseConcreteStrategy {
|
|
|
531
531
|
});
|
|
532
532
|
}
|
|
533
533
|
}
|
|
534
|
+
async getAddressesInfo() {
|
|
535
|
+
throw new WalletException(/* @__PURE__ */ new Error("getAddressesInfo is not implemented"), {
|
|
536
|
+
code: UnspecifiedErrorCode,
|
|
537
|
+
type: ErrorType.WalletError,
|
|
538
|
+
contextModule: WalletAction.GetAccounts
|
|
539
|
+
});
|
|
540
|
+
}
|
|
534
541
|
async getSessionOrConfirm(_address) {
|
|
535
542
|
return await (await this.getTurnkeyWallet()).refreshSession();
|
|
536
543
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@injectivelabs/wallet-turnkey",
|
|
3
|
-
"version": "1.16.38-alpha.
|
|
3
|
+
"version": "1.16.38-alpha.4",
|
|
4
4
|
"description": "Turnkey wallet strategy for use with @injectivelabs/wallet-core.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": {
|
|
@@ -38,14 +38,14 @@
|
|
|
38
38
|
"dist"
|
|
39
39
|
],
|
|
40
40
|
"dependencies": {
|
|
41
|
-
"@turnkey/sdk-browser": "5.
|
|
42
|
-
"@turnkey/viem": "^0.
|
|
43
|
-
"viem": "^2.
|
|
44
|
-
"@injectivelabs/
|
|
45
|
-
"@injectivelabs/ts
|
|
46
|
-
"@injectivelabs/
|
|
47
|
-
"@injectivelabs/
|
|
48
|
-
"@injectivelabs/
|
|
41
|
+
"@turnkey/sdk-browser": "^5.13.4",
|
|
42
|
+
"@turnkey/viem": "^0.14.16",
|
|
43
|
+
"viem": "^2.41.2",
|
|
44
|
+
"@injectivelabs/exceptions": "1.16.38-alpha.3",
|
|
45
|
+
"@injectivelabs/sdk-ts": "1.16.38-alpha.4",
|
|
46
|
+
"@injectivelabs/wallet-base": "1.16.38-alpha.4",
|
|
47
|
+
"@injectivelabs/ts-types": "1.16.38-alpha.2",
|
|
48
|
+
"@injectivelabs/utils": "1.16.38-alpha.3"
|
|
49
49
|
},
|
|
50
50
|
"publishConfig": {
|
|
51
51
|
"access": "public"
|