File tree Expand file tree Collapse file tree 13 files changed +481
-371
lines changed
torus-wallet-connector-plugin
providers/solana-provider Expand file tree Collapse file tree 13 files changed +481
-371
lines changed Original file line number Diff line number Diff line change 3737 "@types/jsonwebtoken" : " ^8.5.9" ,
3838 "@types/mocha" : " ^10.0.1" ,
3939 "@types/node" : " ^16" ,
40- "@typescript-eslint/eslint-plugin" : " ^5.47 .1" ,
40+ "@typescript-eslint/eslint-plugin" : " ^5.48 .1" ,
4141 "chai" : " ^4.3.7" ,
4242 "cross-env" : " ^7.0.3" ,
4343 "dotenv" : " ^16.0.3" ,
44- "eslint" : " ^8.30 .0" ,
44+ "eslint" : " ^8.31 .0" ,
4545 "eslint-plugin-import" : " ^2.26.0" ,
4646 "eslint-plugin-mocha" : " ^10.1.0" ,
4747 "eslint-plugin-n" : " ^15.6.0" ,
5050 "eslint-plugin-simple-import-sort" : " ^8.0.0" ,
5151 "eslint-plugin-tsdoc" : " ^0.2.17" ,
5252 "faker" : " ^5.5.3" ,
53- "husky" : " ^8.0.2 " ,
53+ "husky" : " ^8.0.3 " ,
5454 "jsonwebtoken" : " ^8.5.1" ,
5555 "lerna" : " ^5.5.4" ,
5656 "lint-staged" : " ^13.1.0" ,
5757 "mocha" : " ^10.2.0" ,
5858 "node-fetch" : " ^3.3.0" ,
59- "prettier" : " ^2.8.1 " ,
59+ "prettier" : " ^2.8.2 " ,
6060 "rimraf" : " ^3.0.2" ,
6161 "ts-node" : " ^10.9.1" ,
62- "tsconfig-paths" : " ^4.1.1 " ,
62+ "tsconfig-paths" : " ^4.1.2 " ,
6363 "tsconfig-paths-webpack-plugin" : " ^4.0.0" ,
6464 "tslib" : " ^2.4.1" ,
6565 "typescript" : " ^4.9.4"
Original file line number Diff line number Diff line change 4545 "bn.js" : " ^5.2.1"
4646 },
4747 "devDependencies" : {
48- "@solana/web3.js" : " ^1.72 .0" ,
49- "@solflare-wallet/sdk" : " ^1.1 .0"
48+ "@solana/web3.js" : " ^1.73 .0" ,
49+ "@solflare-wallet/sdk" : " ^1.2 .0"
5050 },
5151 "lint-staged" : {
5252 "!(*d).ts" : [
Original file line number Diff line number Diff line change 3535 "@babel/runtime" : " ^7.x"
3636 },
3737 "dependencies" : {
38- "@toruslabs/torus-embed" : " ^1.38.4 " ,
38+ "@toruslabs/torus-embed" : " ^1.38.5 " ,
3939 "@web3auth/base" : " ^4.0.0" ,
4040 "@web3auth/base-evm-adapter" : " ^4.0.0"
4141 },
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ export const ADAPTER_CATEGORY = {
1313 EXTERNAL : "external" ,
1414 IN_APP : "in_app" ,
1515} as const ;
16- export type ADAPTER_CATEGORY_TYPE = typeof ADAPTER_CATEGORY [ keyof typeof ADAPTER_CATEGORY ] ;
16+ export type ADAPTER_CATEGORY_TYPE = ( typeof ADAPTER_CATEGORY ) [ keyof typeof ADAPTER_CATEGORY ] ;
1717
1818export interface AdapterInitOptions {
1919 /**
@@ -35,7 +35,7 @@ export const ADAPTER_EVENTS = {
3535 ...ADAPTER_STATUS ,
3636 ADAPTER_DATA_UPDATED : "adapter_data_updated" ,
3737} as const ;
38- export type ADAPTER_STATUS_TYPE = typeof ADAPTER_STATUS [ keyof typeof ADAPTER_STATUS ] ;
38+ export type ADAPTER_STATUS_TYPE = ( typeof ADAPTER_STATUS ) [ keyof typeof ADAPTER_STATUS ] ;
3939
4040export type CONNECTED_EVENT_DATA = {
4141 adapter : string ;
Original file line number Diff line number Diff line change @@ -4,15 +4,15 @@ export const CHAIN_NAMESPACES = {
44 OTHER : "other" ,
55} as const ;
66// eip155 for all evm chains
7- export type ChainNamespaceType = typeof CHAIN_NAMESPACES [ keyof typeof CHAIN_NAMESPACES ] ;
7+ export type ChainNamespaceType = ( typeof CHAIN_NAMESPACES ) [ keyof typeof CHAIN_NAMESPACES ] ;
88
99export const ADAPTER_NAMESPACES = {
1010 EIP155 : "eip155" ,
1111 SOLANA : "solana" ,
1212 MULTICHAIN : "multichain" ,
1313} as const ;
1414// eip155 for all evm chains
15- export type AdapterNamespaceType = typeof ADAPTER_NAMESPACES [ keyof typeof ADAPTER_NAMESPACES ] ;
15+ export type AdapterNamespaceType = ( typeof ADAPTER_NAMESPACES ) [ keyof typeof ADAPTER_NAMESPACES ] ;
1616
1717export type CustomChainConfig = {
1818 chainNamespace : ChainNamespaceType ;
Original file line number Diff line number Diff line change @@ -23,10 +23,10 @@ export const WALLET_ADAPTERS = {
2323 ...EVM_ADAPTERS ,
2424 ...SOLANA_ADAPTERS ,
2525} ;
26- export type WALLET_ADAPTER_TYPE = typeof WALLET_ADAPTERS [ keyof typeof WALLET_ADAPTERS ] ;
27- export type SOLANA_ADAPTER_TYPE = typeof SOLANA_ADAPTERS [ keyof typeof SOLANA_ADAPTERS ] ;
28- export type EVM_ADAPTER_TYPE = typeof EVM_ADAPTERS [ keyof typeof EVM_ADAPTERS ] ;
29- export type MULTI_CHAIN_ADAPTER_TYPE = typeof MULTI_CHAIN_ADAPTERS [ keyof typeof MULTI_CHAIN_ADAPTERS ] ;
26+ export type WALLET_ADAPTER_TYPE = ( typeof WALLET_ADAPTERS ) [ keyof typeof WALLET_ADAPTERS ] ;
27+ export type SOLANA_ADAPTER_TYPE = ( typeof SOLANA_ADAPTERS ) [ keyof typeof SOLANA_ADAPTERS ] ;
28+ export type EVM_ADAPTER_TYPE = ( typeof EVM_ADAPTERS ) [ keyof typeof EVM_ADAPTERS ] ;
29+ export type MULTI_CHAIN_ADAPTER_TYPE = ( typeof MULTI_CHAIN_ADAPTERS ) [ keyof typeof MULTI_CHAIN_ADAPTERS ] ;
3030
3131export const ADAPTER_NAMES = {
3232 [ MULTI_CHAIN_ADAPTERS . OPENLOGIN ] : "OpenLogin" ,
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ export const PLUGIN_NAMESPACES = {
55 MULTICHAIN : "multichain" ,
66} as const ;
77
8- export type PluginNamespace = typeof PLUGIN_NAMESPACES [ keyof typeof PLUGIN_NAMESPACES ] ;
8+ export type PluginNamespace = ( typeof PLUGIN_NAMESPACES ) [ keyof typeof PLUGIN_NAMESPACES ] ;
99
1010export interface IPlugin {
1111 name : string ;
Original file line number Diff line number Diff line change 3535 "eth-rpc-errors" : " ^4.0.3"
3636 },
3737 "dependencies" : {
38- "@toruslabs/torus-embed" : " ^1.38.4 " ,
38+ "@toruslabs/torus-embed" : " ^1.38.5 " ,
3939 "@web3auth/base" : " ^4.0.0" ,
4040 "@web3auth/base-plugin" : " ^4.0.0" ,
4141 "@web3auth/core" : " ^4.0.0" ,
Original file line number Diff line number Diff line change 3030 "json-rpc-random-id" : " ^1.0.1"
3131 },
3232 "devDependencies" : {
33- "@solana/web3.js" : " ^1.72 .0" ,
34- "@solflare-wallet/sdk" : " ^1.1 .0" ,
33+ "@solana/web3.js" : " ^1.73 .0" ,
34+ "@solflare-wallet/sdk" : " ^1.2 .0" ,
3535 "@types/bn.js" : " ^5.1.1" ,
3636 "@types/bs58" : " ^4.0.1" ,
3737 "@types/json-rpc-random-id" : " ^1.0.1"
You can’t perform that action at this time.
0 commit comments