@cartridge/controller
Advanced tools
Comparing version
@@ -1,2 +0,2 @@ | ||
import { Abi, InvocationsSignerDetails, SignerInterface, Signature, typedData, Call, DeclareSignerDetails } from "starknet"; | ||
import { Abi, InvocationsSignerDetails, SignerInterface, Signature, typedData, Call, DeclareSignerDetails, DeployAccountSignerDetails } from "starknet"; | ||
import { Keychain } from "./types"; | ||
@@ -40,2 +40,3 @@ import { AsyncMethodReturns } from "@cartridge/penpal"; | ||
signDeclareTransaction(details: DeclareSignerDetails): Promise<Signature>; | ||
signDeployAccountTransaction(transaction: DeployAccountSignerDetails): Promise<Signature>; | ||
} |
@@ -72,5 +72,3 @@ "use strict"; | ||
} | ||
signDeclareTransaction( | ||
// contractClass: ContractClass, // Should be used once class hash is present in ContractClass | ||
details) { | ||
signDeclareTransaction(details) { | ||
return __awaiter(this, void 0, void 0, function* () { | ||
@@ -80,4 +78,9 @@ return this.keychain.signDeclareTransaction(details); | ||
} | ||
signDeployAccountTransaction(transaction) { | ||
return __awaiter(this, void 0, void 0, function* () { | ||
return this.keychain.signDeployAccountTransaction(transaction); | ||
}); | ||
} | ||
} | ||
exports.Signer = Signer; | ||
//# sourceMappingURL=signer.js.map |
/// <reference types="node" /> | ||
import { Abi, Call, InvocationsDetails, typedData, InvokeFunctionResponse, Signature, InvocationsSignerDetails, EstimateFeeDetails, EstimateFee, DeclareSignerDetails, DeclareContractPayload } from "starknet"; | ||
import { Abi, Call, InvocationsDetails, typedData, InvokeFunctionResponse, Signature, InvocationsSignerDetails, EstimateFeeDetails, EstimateFee, DeclareSignerDetails, DeclareContractPayload, DeployAccountSignerDetails } from "starknet"; | ||
import { BigNumberish } from "starknet/dist/utils/number"; | ||
@@ -53,2 +53,3 @@ export declare type Assertion = PublicKeyCredential & { | ||
signDeclareTransaction(details: DeclareSignerDetails): Promise<Signature>; | ||
signDeployAccountTransaction(transaction: DeployAccountSignerDetails): Promise<Signature>; | ||
} |
{ | ||
"name": "@cartridge/controller", | ||
"version": "0.1.72", | ||
"version": "0.1.73", | ||
"description": "Cartridge Controller", | ||
@@ -29,4 +29,4 @@ "main": "lib/index.js", | ||
"query-string": "^7.1.1", | ||
"starknet": "https://github.com/0xs34n/starknet.js#develop" | ||
"starknet": "^4.9.0" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
HTTP dependency
Supply chain riskContains a dependency which resolves to a remote HTTP URL which could be used to inject untrusted code and reduce overall package reliability.
Found 1 instance in 1 package
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
67398
0.58%1094
0.46%0
-100%0
-100%+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
Updated