@passly/passly-sdk 0.1.0 → 0.1.1
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/package.json +2 -2
- package/src/passly-sdk.js +2 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@passly/passly-sdk",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
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",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
],
|
|
23
23
|
"author": {
|
|
24
24
|
"name": "0xRetroDev",
|
|
25
|
-
"email": "
|
|
25
|
+
"email": "hello@0xRetro.dev",
|
|
26
26
|
"url": "https://github.com/0xRetroDev"
|
|
27
27
|
},
|
|
28
28
|
"homepage": "https://passly.xyz",
|
package/src/passly-sdk.js
CHANGED
|
@@ -32,12 +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://
|
|
35
|
+
config.provider = new ethers.providers.JsonRpcProvider('https://avalanche-fuji.drpc.org');
|
|
36
36
|
}
|
|
37
37
|
|
|
38
38
|
// If contract address isn't provided, use the default deployment
|
|
39
|
-
|
|
40
|
-
config.contractAddress = config.contractAddress || '0xB9eaC2E3f9c1171fB9d05eFC8D7af311684B9113';
|
|
39
|
+
config.contractAddress = config.contractAddress || '0x5a6869ef5b81DCb58EBF51b8F893c31f5AFE3Fa8';
|
|
41
40
|
|
|
42
41
|
// Load contract ABI
|
|
43
42
|
const abi = [
|