@argent/x-shared 1.78.4 → 1.78.5
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.
|
@@ -8,10 +8,10 @@ export type WalletAccount = {
|
|
|
8
8
|
cairoVersion?: string;
|
|
9
9
|
type: "standard" | "plugin" | "multisig" | "betterMulticall" | "argent5MinuteEscapeTestingAccount" | "standardCairo0" | "smart" | "imported";
|
|
10
10
|
guardian?: string;
|
|
11
|
-
salt?: Hex;
|
|
11
|
+
salt?: Hex | undefined | null;
|
|
12
12
|
};
|
|
13
13
|
export declare function findImplementationForAccount(owner: string, account: WalletAccount, additionalImplementations?: Implementation[]): Implementation;
|
|
14
|
-
export declare function getAccountDeploymentPayload(cairoVersion: string, accountClassHash: string, owner: string, guardian?: string, salt?: string,
|
|
14
|
+
export declare function getAccountDeploymentPayload(cairoVersion: string, accountClassHash: string, owner: string, guardian?: string, salt?: string | undefined | null,
|
|
15
15
|
/** @deprecated This is only used for backwards compatibility with the old proxy contract, should not be used */
|
|
16
16
|
c0ProxyClassHash?: string): {
|
|
17
17
|
classHash: string;
|
|
@@ -29,4 +29,4 @@ export declare function buildConstructorCalldata(cairoVersion: string, accountCl
|
|
|
29
29
|
ownerSigner: import('starknet').CairoCustomEnum;
|
|
30
30
|
guardianAsOption: CairoOption<import('starknet').CairoCustomEnum> | CairoOption<null>;
|
|
31
31
|
};
|
|
32
|
-
export declare function getAccountContractAddress(cairoVersion: string, accountClassHash: string, signer: string, guardian?: string, salt?: string): string;
|
|
32
|
+
export declare function getAccountContractAddress(cairoVersion: string, accountClassHash: string, signer: string, guardian?: string, salt?: string | undefined | null): string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@argent/x-shared",
|
|
3
|
-
"version": "1.78.
|
|
3
|
+
"version": "1.78.5",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "git+https://github.com/argentlabs/x-shared.git"
|
|
@@ -64,8 +64,8 @@
|
|
|
64
64
|
"@types/lodash-es": "4.17.12",
|
|
65
65
|
"@types/numeral": "2.0.5",
|
|
66
66
|
"@types/ua-parser-js": "0.7.39",
|
|
67
|
-
"@typescript-eslint/eslint-plugin": "8.46.
|
|
68
|
-
"@typescript-eslint/parser": "8.46.
|
|
67
|
+
"@typescript-eslint/eslint-plugin": "8.46.3",
|
|
68
|
+
"@typescript-eslint/parser": "8.46.3",
|
|
69
69
|
"esbuild": "0.25.12",
|
|
70
70
|
"esbuild-register": "3.6.0",
|
|
71
71
|
"eslint": "8.57.1",
|