@toruslabs/ethereum-controllers 8.3.1 → 8.3.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.
@@ -76,12 +76,12 @@ export declare const COINGECKO_PLATFORMS_CHAIN_CODE_MAP: Record<string, {
76
76
  currency: string;
77
77
  }>;
78
78
  export declare const SMART_ACCOUNT: {
79
- BICONOMY: string;
80
- KERNEL: string;
81
- SAFE: string;
82
- TRUST: string;
83
- LIGHT: string;
84
- SIMPLE: string;
85
- NEXUS: string;
86
- METAMASK: string;
79
+ readonly BICONOMY: "biconomy";
80
+ readonly KERNEL: "kernel";
81
+ readonly SAFE: "safe";
82
+ readonly TRUST: "trust";
83
+ readonly LIGHT: "light";
84
+ readonly SIMPLE: "simple";
85
+ readonly NEXUS: "nexus";
86
+ readonly METAMASK: "metamask";
87
87
  };
@@ -464,7 +464,7 @@ export interface ISmartAccount {
464
464
  }): Promise<SmartAccount>;
465
465
  }
466
466
  export type SmartAccountType = (typeof SMART_ACCOUNT)[keyof typeof SMART_ACCOUNT];
467
- export type SmartAccountConfig = BiconomySmartAccountConfig | KernelSmartAccountConfig | NexusSmartAccountConfig | SafeSmartAccountConfig | TrustSmartAccountConfig | MetamaskSmartAccountConfig<Implementation>;
467
+ export type SmartAccountConfig<TImplementation extends Implementation = Implementation.Hybrid> = BiconomySmartAccountConfig | KernelSmartAccountConfig | NexusSmartAccountConfig | SafeSmartAccountConfig | TrustSmartAccountConfig | MetamaskSmartAccountConfig<TImplementation>;
468
468
  /**
469
469
  * @deprecated Use MultiChainAccountAbstractionConfig instead, will be deprecated in v8
470
470
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@toruslabs/ethereum-controllers",
3
- "version": "8.3.1",
3
+ "version": "8.3.3",
4
4
  "homepage": "https://github.com/torusresearch/controllers#readme",
5
5
  "license": "ISC",
6
6
  "sideEffects": false,
@@ -20,8 +20,8 @@
20
20
  },
21
21
  "dependencies": {
22
22
  "@ethereumjs/util": "^9.1.0",
23
- "@metamask/delegation-toolkit": "^0.9.0",
24
- "@toruslabs/base-controllers": "^8.3.1",
23
+ "@metamask/delegation-toolkit": "^0.10.0",
24
+ "@toruslabs/base-controllers": "^8.3.3",
25
25
  "@toruslabs/http-helpers": "^8.1.1",
26
26
  "@web3auth/auth": "^10.4.0",
27
27
  "async-mutex": "^0.5.0",
@@ -63,7 +63,7 @@
63
63
  "publishConfig": {
64
64
  "access": "public"
65
65
  },
66
- "gitHead": "b07835e1ad17e72684cefd4a007d3f845f14e67b",
66
+ "gitHead": "09e5ada086122b3e4e2eb8a35d41ffe71e2406d4",
67
67
  "devDependencies": {
68
68
  "@typechain/ethers-v6": "^0.5.1",
69
69
  "typechain": "^8.3.2"