plutosdk 0.0.8 → 0.0.9-beta.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/README.md CHANGED
@@ -57,21 +57,27 @@ PlutoSDK.purchase(name, orderId, amount, customData, callback)
57
57
  This method accepts the `name orderId amount customData callback` as parameters. `customData` and `callback` are optional parameters.
58
58
  Please note that the this pointer of the callback method `callback` will be changed.
59
59
 
60
- ## connectWallet
60
+ ## getShareLink
61
61
  ```js
62
- PlutoSDK.connectWallet()
62
+ PlutoSDK.getShareLink()
63
63
  ```
64
- This method is to link the user's wallet. It returns a promise that resolves after wallet connected.
64
+ This method is get share link.
65
65
 
66
- ## disconnectWallet
66
+ ## copyShareLink
67
67
  ```js
68
- PlutoSDK.disconnectWallet()
68
+ PlutoSDK.copyShareLink()
69
69
  ```
70
- This method is to disconnect the user's connected wallet.
70
+ This method is copy share link to clipboard.
71
71
 
72
- ## getWalletConnected
72
+ ## getItem
73
73
  ```js
74
- PlutoSDK.getWalletConnected()
74
+ PlutoSDK.getItem(key)
75
75
  ```
76
- This method is to get whether the wallet is connected.
76
+ This method that receives a value from the server using the specified key. It returns a promise.
77
+
78
+ ## setItem
79
+ ```js
80
+ PlutoSDK.setItem(key, value)
81
+ ```
82
+ This method that stores a value in the server using the specified key. It returns a promise.
77
83