New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@cartridge/controller

Package Overview
Dependencies
Maintainers
3
Versions
138
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cartridge/controller - npm Package Compare versions

Comparing version

to
0.1.73

3

lib/signer.d.ts

@@ -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