gokite-aa-sdk 1.0.0 → 1.0.2

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.
package/README.md CHANGED
@@ -18,7 +18,7 @@ import { ethers } from 'ethers';
18
18
  const sdk = new GokiteAASDK(
19
19
  'kite_testnet',
20
20
  'https://rpc-testnet.gokite.ai',
21
- 'http://localhost:14337/rpc/' // bundler URL
21
+ 'https://bundler-service.staging.gokite.ai/rpc/' // bundler URL
22
22
  );
23
23
 
24
24
  // Owner address (from your social login SDK)
package/dist/example.js CHANGED
@@ -50,7 +50,7 @@ function getTransparentProxyBytecode() {
50
50
  async function clientAgentVaultIntegrationTests() {
51
51
  console.log('\n=== ClientAgentVault Integration Tests ===');
52
52
  // Initialize SDK
53
- const sdk = new gokite_aa_sdk_1.GokiteAASDK('kite_testnet', 'https://rpc-testnet.gokite.ai', 'http://localhost:14337/rpc/');
53
+ const sdk = new gokite_aa_sdk_1.GokiteAASDK('kite_testnet', 'https://rpc-testnet.gokite.ai', 'https://bundler-service.staging.gokite.ai/rpc/');
54
54
  // user's EOA address and AA wallet address
55
55
  const eoa = '0x4A50DCA63d541372ad36E5A36F1D542d51164F19';
56
56
  const aa = sdk.getAccountAddress(eoa);
package/dist/utils.js CHANGED
@@ -130,7 +130,7 @@ function serializeUserOperation(userOp) {
130
130
  exports.serializeUserOperation = serializeUserOperation;
131
131
  // default salt is 0
132
132
  function generateSalt() {
133
- return BigInt(0);
133
+ return BigInt(1);
134
134
  }
135
135
  exports.generateSalt = generateSalt;
136
136
  /**
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "gokite-aa-sdk",
3
- "version": "1.0.0",
4
- "description": "Simple and clean Account Abstraction SDK for Gokite",
3
+ "version": "1.0.2",
4
+ "description": "Account Abstraction SDK for Gokite",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "scripts": {