@passly/passly-sdk 0.1.1 → 0.1.3

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/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2025 0xRetroDev
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -31,7 +31,7 @@ console.log(passport);
31
31
 
32
32
  - ✅ **Identity Verification**: Check if users have verified social accounts
33
33
  - ✅ **Anti-Sybil Protection**: Verify unique identity across platforms
34
- - ✅ **Multiple Platforms**: Twitter, Discord, GitHub, Telegram support
34
+ - ✅ **Multiple Platforms**: Twitter, Discord, GitHub, support
35
35
  - ✅ **Verification Strength**: Calculate identity confidence scores
36
36
  - ✅ **Account Age**: Track how long identities have been verified
37
37
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@passly/passly-sdk",
3
- "version": "0.1.1",
3
+ "version": "0.1.3",
4
4
  "type": "module",
5
5
  "description": "Official SDK for Passly identity protocol - social identity verification for Web3",
6
6
  "main": "src/passly-sdk.js",
@@ -32,11 +32,11 @@ class PasslySDK {
32
32
 
33
33
  // Use default provider if none provided
34
34
  if (!config.provider) {
35
- config.provider = new ethers.providers.JsonRpcProvider('https://avalanche-fuji.drpc.org');
35
+ config.provider = new ethers.providers.JsonRpcProvider('https://testnet.skalenodes.com/v1/aware-fake-trim-testnet');
36
36
  }
37
37
 
38
38
  // If contract address isn't provided, use the default deployment
39
- config.contractAddress = config.contractAddress || '0x5a6869ef5b81DCb58EBF51b8F893c31f5AFE3Fa8';
39
+ config.contractAddress = config.contractAddress || '0x8Cf0eD0A6eBa23d7d94a071A5ce88DB40f90c105';
40
40
 
41
41
  // Load contract ABI
42
42
  const abi = [