@fuul/sdk 2.0.0 → 2.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.
Files changed (2) hide show
  1. package/README.md +7 -2
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -44,7 +44,7 @@ Projects must send this event every time a user visits a page on their website.
44
44
  ```tsx
45
45
  import { Fuul } from ('@fuul/sdk');
46
46
 
47
- await fuul.sendPageview();
47
+ await Fuul.sendPageview();
48
48
  ```
49
49
 
50
50
 
@@ -54,8 +54,13 @@ Projects must send this event every time users connect a wallet to their website
54
54
 
55
55
  NOTE: Make sure to send the event when connecting a wallet for the first time as well as when changing wallets during the session.
56
56
 
57
+
57
58
  ```tsx
58
59
  import { Fuul } from ('@fuul/sdk');
59
60
 
60
- await Fuul.sendConnectWallet({ userAddress: '0x01' });
61
+ await Fuul.sendConnectWallet({
62
+ address: "0x12345",
63
+ signature: "0x123485090123",
64
+ message: "Accept affiliate on 18 Aug 2023"
65
+ });
61
66
  ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fuul/sdk",
3
- "version": "2.0.0",
3
+ "version": "2.0.2",
4
4
  "description": "Fuul SDK",
5
5
  "keywords": [
6
6
  "Fuul",