@dripfi/drip-sdk 1.1.8 → 1.1.9

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/DEPLOY.md CHANGED
@@ -3,4 +3,4 @@ To pulish a new sdk version:
3
3
 
4
4
  1 - make sure package.json "version" has the new version number
5
5
  1 - delete node_modules, dist and package-lock.json
6
- 2 - run npm install and npm publish
6
+ 2 - run npm install and npm publish --access public
package/README.md CHANGED
@@ -192,20 +192,27 @@ type Vault = {
192
192
  apy: number
193
193
  tvr: number
194
194
  protocols: string[]
195
- projectName: string
196
195
  depositToken: VaultDepositToken
197
196
  type: VaultType
198
197
  rewards: VaultReward[]
199
- rewardType: 'points' | 'token' | 'pnode shards'
198
+ rewardType: RewardType
200
199
  liveUntil: string
200
+ liveFrom: string
201
201
  liveUntilFormatted: string
202
202
  hasPoolEnded: boolean
203
203
  boosters: NFTBoost[]
204
- stretchGoals: StretchGoal[]
205
204
  strategies: Strategy[]
206
205
  newWithdraw: boolean
207
206
  tgePrice?: number
208
207
  maxAmountOfTokens?: number
208
+ project: DeployedProject
209
+ projectId: number
210
+ coingeckoId?: string
211
+ depositTokenId: string
212
+ expectedTge?: string
213
+ tokenPrice: number,
214
+ change24h: number,
215
+ volume24h: number,
209
216
  };
210
217
 
211
218
  type VaultType = 'launch' | 'earn' | 'airdrop'
@@ -28,4 +28,7 @@ export type Vault = {
28
28
  coingeckoId?: string;
29
29
  depositTokenId: string;
30
30
  expectedTge?: string;
31
+ tokenPrice: number;
32
+ change24h: number;
33
+ volume24h: number;
31
34
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dripfi/drip-sdk",
3
- "version": "1.1.8",
3
+ "version": "1.1.9",
4
4
  "description": "Drip SDK",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",