@frontiertower/frontier-sdk 0.3.0 → 0.3.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/dist/index.js CHANGED
@@ -458,7 +458,7 @@ var UserAccess = class {
458
458
  * ```
459
459
  */
460
460
  async getReferralDetails(page) {
461
- return this.sdk.request("user:getReferralDetails", page ? { page } : void 0);
461
+ return this.sdk.request("user:getReferralDetails", page);
462
462
  }
463
463
  /**
464
464
  * Add user contact information
package/dist/index.mjs CHANGED
@@ -428,7 +428,7 @@ var UserAccess = class {
428
428
  * ```
429
429
  */
430
430
  async getReferralDetails(page) {
431
- return this.sdk.request("user:getReferralDetails", page ? { page } : void 0);
431
+ return this.sdk.request("user:getReferralDetails", page);
432
432
  }
433
433
  /**
434
434
  * Add user contact information
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@frontiertower/frontier-sdk",
3
- "version": "0.3.0",
3
+ "version": "0.3.1",
4
4
  "description": "SDK for building apps on Frontier Wallet",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",
@@ -47,5 +47,8 @@
47
47
  "type": "git",
48
48
  "url": "git+https://github.com/BerlinhouseLabs/frontier-sdk.git"
49
49
  },
50
- "readme": "README.md"
50
+ "readme": "README.md",
51
+ "dependencies": {
52
+ "@frontiertower/frontier-sdk": "^0.3.0"
53
+ }
51
54
  }