Socket
Socket
Sign inDemoInstall

space-bico-account-abstraction

Package Overview
Dependencies
10
Maintainers
1
Versions
30
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.3.0 to 1.4.0

2

dist/src/BaseAccountAPI.js

@@ -44,3 +44,3 @@ "use strict";

}
// TODO: check if right wrong biconmy
// TODOS: check if right wrong biconmy
/**

@@ -47,0 +47,0 @@ * check if the contract is already deployed.

@@ -8,3 +8,3 @@ "use strict";

const ethers_1 = require("ethers");
const typechain_1 = require("./typechain"); // TODOS: change to biconomy contracts
const typechain_1 = require("./typechain");
const utils_1 = require("ethers/lib/utils");

@@ -58,3 +58,5 @@ const BaseAccountAPI_1 = require("./BaseAccountAPI");

}
return await this.provider.getTransactionCount(this.accountAddress || '0x0000000000000000000000000000000000000000');
this.accountContract = typechain_1.SimpleAccount__factory.connect(this.accountAddress, this.provider);
return this.accountContract.nonce;
// return await this.provider.getTransactionCount(this.accountAddress || '0x0000000000000000000000000000000000000000');
}

@@ -69,3 +71,3 @@ /**

const accountContract = await this._getAccountContract();
return accountContract.interface.encodeFunctionData('executeCall', // From execute => executeCALL method
return accountContract.interface.encodeFunctionData('executeCall', // From execute => executeCall method
[

@@ -72,0 +74,0 @@ target,

{
"name": "space-bico-account-abstraction",
"version": "1.3.0",
"version": "1.4.0",
"main": "./dist/src/index.js",

@@ -5,0 +5,0 @@ "license": "MIT",

@@ -101,3 +101,3 @@ import { ethers, BigNumber, BigNumberish } from 'ethers'

// TODO: check if right wrong biconmy
// TODOS: check if right wrong biconmy
/**

@@ -104,0 +104,0 @@ * check if the contract is already deployed.

@@ -6,3 +6,3 @@ import { BigNumber, BigNumberish, ethers } from 'ethers'

SimpleAccountFactory__factory
} from './typechain' // TODOS: change to biconomy contracts
} from './typechain'

@@ -84,3 +84,5 @@ import { arrayify, hexConcat } from 'ethers/lib/utils'

}
return await this.provider.getTransactionCount(this.accountAddress || '0x0000000000000000000000000000000000000000');
this.accountContract = SimpleAccount__factory.connect(this.accountAddress!, this.provider)
return this.accountContract.nonce;
// return await this.provider.getTransactionCount(this.accountAddress || '0x0000000000000000000000000000000000000000');
}

@@ -97,3 +99,3 @@

return accountContract.interface.encodeFunctionData(
'executeCall', // From execute => executeCALL method
'executeCall', // From execute => executeCall method
[

@@ -100,0 +102,0 @@ target,

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc