@dripfi/drip-sdk 1.0.13 → 1.0.14

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/dist/DripApi.js +1 -1
  2. package/package.json +1 -1
package/dist/DripApi.js CHANGED
@@ -148,7 +148,7 @@ class DripApi {
148
148
  return __awaiter(this, void 0, void 0, function* () {
149
149
  const headers = new Headers();
150
150
  headers.append('Authorization', token);
151
- const res = yield fetch(`/api-be/api/user/rewards/${walletAddress}`, {
151
+ const res = yield fetch(`${this.route}/api-be/api/user/rewards/${walletAddress}`, {
152
152
  headers,
153
153
  });
154
154
  const data = yield res.json();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dripfi/drip-sdk",
3
- "version": "1.0.13",
3
+ "version": "1.0.14",
4
4
  "description": "Drip SDK",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",