@tria-sdk/constants 5.1.0 → 5.2.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/.turbo/turbo-build.log +4 -4
- package/dist/cjs/web3Platforms.js +4 -0
- package/dist/esm/web3Platforms.d.ts +3 -1
- package/dist/esm/web3Platforms.js +4 -0
- package/dist/esm/web3Platforms.js.map +1 -1
- package/dist/types/web3Platforms.d.ts +3 -1
- package/package.json +1 -1
- package/src/web3Platforms.ts +4 -0
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
|
|
2
|
-
> @tria-sdk/constants@5.
|
|
2
|
+
> @tria-sdk/constants@5.2.3 build /home/runner/work/tria-monorepo/tria-monorepo/packages/constants
|
|
3
3
|
> rimraf dist && npm run build:cjs && npm run build:esm && npm run build:types
|
|
4
4
|
|
|
5
5
|
npm warn ignoring workspace config at /home/runner/work/tria-monorepo/tria-monorepo/packages/constants/.npmrc
|
|
6
6
|
|
|
7
|
-
> @tria-sdk/constants@5.
|
|
7
|
+
> @tria-sdk/constants@5.2.3 build:cjs
|
|
8
8
|
> tsc -p tsconfig.cjs.json
|
|
9
9
|
|
|
10
10
|
npm warn ignoring workspace config at /home/runner/work/tria-monorepo/tria-monorepo/packages/constants/.npmrc
|
|
11
11
|
|
|
12
|
-
> @tria-sdk/constants@5.
|
|
12
|
+
> @tria-sdk/constants@5.2.3 build:esm
|
|
13
13
|
> tsc -p tsconfig.json
|
|
14
14
|
|
|
15
15
|
npm warn ignoring workspace config at /home/runner/work/tria-monorepo/tria-monorepo/packages/constants/.npmrc
|
|
16
16
|
|
|
17
|
-
> @tria-sdk/constants@5.
|
|
17
|
+
> @tria-sdk/constants@5.2.3 build:types
|
|
18
18
|
> tsc -p tsconfig.json --emitDeclarationOnly --declarationDir dist/types
|
|
19
19
|
|
|
@@ -8,6 +8,8 @@ var Web3Platform;
|
|
|
8
8
|
Web3Platform["RABBYWALLET"] = "rabbywallet";
|
|
9
9
|
Web3Platform["PHANTOMWALLET"] = "phantomwallet";
|
|
10
10
|
Web3Platform["KEPLRWALLET"] = "keplrwallet";
|
|
11
|
+
Web3Platform["METAMASK_DUMMY"] = "metamask_dummy";
|
|
12
|
+
Web3Platform["PHANTOM_DUMMY"] = "phantom_dummy";
|
|
11
13
|
})(Web3Platform || (exports.Web3Platform = Web3Platform = {}));
|
|
12
14
|
exports.Web3PlatformNames = {
|
|
13
15
|
[Web3Platform.METAMASK]: "MetaMask",
|
|
@@ -15,4 +17,6 @@ exports.Web3PlatformNames = {
|
|
|
15
17
|
[Web3Platform.RABBYWALLET]: "Rabby Wallet",
|
|
16
18
|
[Web3Platform.PHANTOMWALLET]: "Phantom Wallet",
|
|
17
19
|
[Web3Platform.KEPLRWALLET]: "Keplr Wallet",
|
|
20
|
+
[Web3Platform.METAMASK_DUMMY]: "MetaMask",
|
|
21
|
+
[Web3Platform.PHANTOM_DUMMY]: "MetaMask",
|
|
18
22
|
};
|
|
@@ -3,6 +3,8 @@ export declare enum Web3Platform {
|
|
|
3
3
|
WALLETCONNECT = "walletconnect",
|
|
4
4
|
RABBYWALLET = "rabbywallet",
|
|
5
5
|
PHANTOMWALLET = "phantomwallet",
|
|
6
|
-
KEPLRWALLET = "keplrwallet"
|
|
6
|
+
KEPLRWALLET = "keplrwallet",
|
|
7
|
+
METAMASK_DUMMY = "metamask_dummy",
|
|
8
|
+
PHANTOM_DUMMY = "phantom_dummy"
|
|
7
9
|
}
|
|
8
10
|
export declare const Web3PlatformNames: Record<Web3Platform, string>;
|
|
@@ -5,6 +5,8 @@ export var Web3Platform;
|
|
|
5
5
|
Web3Platform["RABBYWALLET"] = "rabbywallet";
|
|
6
6
|
Web3Platform["PHANTOMWALLET"] = "phantomwallet";
|
|
7
7
|
Web3Platform["KEPLRWALLET"] = "keplrwallet";
|
|
8
|
+
Web3Platform["METAMASK_DUMMY"] = "metamask_dummy";
|
|
9
|
+
Web3Platform["PHANTOM_DUMMY"] = "phantom_dummy";
|
|
8
10
|
})(Web3Platform || (Web3Platform = {}));
|
|
9
11
|
export const Web3PlatformNames = {
|
|
10
12
|
[Web3Platform.METAMASK]: "MetaMask",
|
|
@@ -12,5 +14,7 @@ export const Web3PlatformNames = {
|
|
|
12
14
|
[Web3Platform.RABBYWALLET]: "Rabby Wallet",
|
|
13
15
|
[Web3Platform.PHANTOMWALLET]: "Phantom Wallet",
|
|
14
16
|
[Web3Platform.KEPLRWALLET]: "Keplr Wallet",
|
|
17
|
+
[Web3Platform.METAMASK_DUMMY]: "MetaMask",
|
|
18
|
+
[Web3Platform.PHANTOM_DUMMY]: "MetaMask",
|
|
15
19
|
};
|
|
16
20
|
//# sourceMappingURL=web3Platforms.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"web3Platforms.js","sourceRoot":"","sources":["../../src/web3Platforms.ts"],"names":[],"mappings":"AAAA,MAAM,CAAN,IAAY,
|
|
1
|
+
{"version":3,"file":"web3Platforms.js","sourceRoot":"","sources":["../../src/web3Platforms.ts"],"names":[],"mappings":"AAAA,MAAM,CAAN,IAAY,YAQX;AARD,WAAY,YAAY;IACtB,qCAAqB,CAAA;IACrB,+CAA+B,CAAA;IAC/B,2CAA2B,CAAA;IAC3B,+CAA+B,CAAA;IAC/B,2CAA2B,CAAA;IAC3B,iDAAiC,CAAA;IACjC,+CAA+B,CAAA;AACjC,CAAC,EARW,YAAY,KAAZ,YAAY,QAQvB;AAED,MAAM,CAAC,MAAM,iBAAiB,GAAiC;IAC7D,CAAC,YAAY,CAAC,QAAQ,CAAC,EAAE,UAAU;IACnC,CAAC,YAAY,CAAC,aAAa,CAAC,EAAE,eAAe;IAC7C,CAAC,YAAY,CAAC,WAAW,CAAC,EAAE,cAAc;IAC1C,CAAC,YAAY,CAAC,aAAa,CAAC,EAAE,gBAAgB;IAC9C,CAAC,YAAY,CAAC,WAAW,CAAC,EAAE,cAAc;IAC1C,CAAC,YAAY,CAAC,cAAc,CAAC,EAAE,UAAU;IACzC,CAAC,YAAY,CAAC,aAAa,CAAC,EAAE,UAAU;CACzC,CAAC"}
|
|
@@ -3,6 +3,8 @@ export declare enum Web3Platform {
|
|
|
3
3
|
WALLETCONNECT = "walletconnect",
|
|
4
4
|
RABBYWALLET = "rabbywallet",
|
|
5
5
|
PHANTOMWALLET = "phantomwallet",
|
|
6
|
-
KEPLRWALLET = "keplrwallet"
|
|
6
|
+
KEPLRWALLET = "keplrwallet",
|
|
7
|
+
METAMASK_DUMMY = "metamask_dummy",
|
|
8
|
+
PHANTOM_DUMMY = "phantom_dummy"
|
|
7
9
|
}
|
|
8
10
|
export declare const Web3PlatformNames: Record<Web3Platform, string>;
|
package/package.json
CHANGED
package/src/web3Platforms.ts
CHANGED
|
@@ -4,6 +4,8 @@ export enum Web3Platform {
|
|
|
4
4
|
RABBYWALLET = "rabbywallet",
|
|
5
5
|
PHANTOMWALLET = "phantomwallet",
|
|
6
6
|
KEPLRWALLET = "keplrwallet",
|
|
7
|
+
METAMASK_DUMMY = "metamask_dummy",
|
|
8
|
+
PHANTOM_DUMMY = "phantom_dummy",
|
|
7
9
|
}
|
|
8
10
|
|
|
9
11
|
export const Web3PlatformNames: Record<Web3Platform, string> = {
|
|
@@ -12,4 +14,6 @@ export const Web3PlatformNames: Record<Web3Platform, string> = {
|
|
|
12
14
|
[Web3Platform.RABBYWALLET]: "Rabby Wallet",
|
|
13
15
|
[Web3Platform.PHANTOMWALLET]: "Phantom Wallet",
|
|
14
16
|
[Web3Platform.KEPLRWALLET]: "Keplr Wallet",
|
|
17
|
+
[Web3Platform.METAMASK_DUMMY]: "MetaMask",
|
|
18
|
+
[Web3Platform.PHANTOM_DUMMY]: "MetaMask",
|
|
15
19
|
};
|