@injectivelabs/wallet-magic 1.16.1-alpha.0 → 1.16.1-alpha.1
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.
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { TxRaw, DirectSignResponse, AminoSignResponse } from '@injectivelabs/sdk-ts';
|
|
2
|
-
import { AccountAddress,
|
|
2
|
+
import { AccountAddress, EvmChainId } from '@injectivelabs/ts-types';
|
|
3
3
|
import { StdSignDoc, MagicProvider, WalletDeviceType, BaseConcreteStrategy, BrowserEip1993Provider, ConcreteWalletStrategy, SendTransactionOptions } from '@injectivelabs/wallet-base';
|
|
4
4
|
export declare class Magic extends BaseConcreteStrategy implements ConcreteWalletStrategy {
|
|
5
5
|
provider: BrowserEip1993Provider | undefined;
|
|
@@ -18,7 +18,7 @@ export declare class Magic extends BaseConcreteStrategy implements ConcreteWalle
|
|
|
18
18
|
getSessionOrConfirm(address: AccountAddress): Promise<string>;
|
|
19
19
|
sendEvmTransaction(_transaction: unknown, _options: {
|
|
20
20
|
address: AccountAddress;
|
|
21
|
-
|
|
21
|
+
evmChainId: EvmChainId;
|
|
22
22
|
}): Promise<string>;
|
|
23
23
|
sendTransaction(transaction: TxRaw, options: SendTransactionOptions): Promise<any>;
|
|
24
24
|
signEip712TypedData(eip712json: string, _address: AccountAddress): Promise<string>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { TxRaw, DirectSignResponse, AminoSignResponse } from '@injectivelabs/sdk-ts';
|
|
2
|
-
import { AccountAddress,
|
|
2
|
+
import { AccountAddress, EvmChainId } from '@injectivelabs/ts-types';
|
|
3
3
|
import { StdSignDoc, MagicProvider, WalletDeviceType, BaseConcreteStrategy, BrowserEip1993Provider, ConcreteWalletStrategy, SendTransactionOptions } from '@injectivelabs/wallet-base';
|
|
4
4
|
export declare class Magic extends BaseConcreteStrategy implements ConcreteWalletStrategy {
|
|
5
5
|
provider: BrowserEip1993Provider | undefined;
|
|
@@ -18,7 +18,7 @@ export declare class Magic extends BaseConcreteStrategy implements ConcreteWalle
|
|
|
18
18
|
getSessionOrConfirm(address: AccountAddress): Promise<string>;
|
|
19
19
|
sendEvmTransaction(_transaction: unknown, _options: {
|
|
20
20
|
address: AccountAddress;
|
|
21
|
-
|
|
21
|
+
evmChainId: EvmChainId;
|
|
22
22
|
}): Promise<string>;
|
|
23
23
|
sendTransaction(transaction: TxRaw, options: SendTransactionOptions): Promise<any>;
|
|
24
24
|
signEip712TypedData(eip712json: string, _address: AccountAddress): Promise<string>;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@injectivelabs/wallet-magic",
|
|
3
3
|
"description": "Magic wallet strategy for use with @injectivelabs/wallet-core.",
|
|
4
|
-
"version": "1.16.1-alpha.
|
|
4
|
+
"version": "1.16.1-alpha.1",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"type": "module",
|
|
7
7
|
"author": {
|
|
@@ -41,10 +41,10 @@
|
|
|
41
41
|
}
|
|
42
42
|
},
|
|
43
43
|
"scripts": {
|
|
44
|
-
"build": "
|
|
44
|
+
"build": "pnpm build:cjs && pnpm build:esm && pnpm build:post",
|
|
45
45
|
"build:cjs": "tsc --build --force tsconfig.build.json",
|
|
46
46
|
"build:esm": "tsc --build --force tsconfig.build.esm.json",
|
|
47
|
-
"build:watch": "tsc --build -w tsconfig.build.json && tsc -w --build tsconfig.build.esm.json &&
|
|
47
|
+
"build:watch": "tsc --build -w tsconfig.build.json && tsc -w --build tsconfig.build.esm.json && pnpm build:post",
|
|
48
48
|
"build:post": "shx cp ../../../etc/stub/package.json.stub dist/cjs/package.json && shx cp ../../../etc/stub/package.esm.json.stub dist/esm/package.json",
|
|
49
49
|
"clean": "tsc --build tsconfig.build.json --clean && tsc --build tsconfig.build.esm.json --clean && shx rm -rf coverage *.log junit.xml dist && jest --clearCache && shx mkdir -p dist",
|
|
50
50
|
"test": "jest",
|
|
@@ -56,16 +56,19 @@
|
|
|
56
56
|
"start": "node dist/index.js"
|
|
57
57
|
},
|
|
58
58
|
"dependencies": {
|
|
59
|
-
"@injectivelabs/exceptions": "
|
|
60
|
-
"@injectivelabs/sdk-ts": "
|
|
61
|
-
"@injectivelabs/ts-types": "
|
|
62
|
-
"@injectivelabs/utils": "
|
|
63
|
-
"@injectivelabs/wallet-base": "
|
|
59
|
+
"@injectivelabs/exceptions": "1.16.1-alpha.1",
|
|
60
|
+
"@injectivelabs/sdk-ts": "1.16.1-alpha.1",
|
|
61
|
+
"@injectivelabs/ts-types": "1.16.1-alpha.1",
|
|
62
|
+
"@injectivelabs/utils": "1.16.1-alpha.1",
|
|
63
|
+
"@injectivelabs/wallet-base": "1.16.1-alpha.1",
|
|
64
64
|
"@magic-ext/cosmos": "23.9.1",
|
|
65
65
|
"@magic-ext/oauth2": "9.9.0",
|
|
66
|
-
"magic-sdk": "
|
|
66
|
+
"magic-sdk": "29.1.0"
|
|
67
67
|
},
|
|
68
|
-
"
|
|
68
|
+
"devDependencies": {
|
|
69
|
+
"shx": "^0.3.4"
|
|
70
|
+
},
|
|
71
|
+
"gitHead": "aa24a5ba96800b6daea85666f7030619d3c18d91",
|
|
69
72
|
"typedoc": {
|
|
70
73
|
"entryPoint": "./src/index.ts",
|
|
71
74
|
"readmeFile": "./README.md",
|