@pioneer-platform/pioneer-types 8.1.40 → 8.1.44

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/lib/pioneer.d.ts +69 -0
  2. package/package.json +3 -3
package/lib/pioneer.d.ts CHANGED
@@ -5,6 +5,69 @@ export declare enum HDWALLETS {
5
5
  'ledger' = 3,
6
6
  'metamask' = 4
7
7
  }
8
+ export interface Pubkey {
9
+ blockchain: string;
10
+ symbol: string;
11
+ asset: string;
12
+ path: string;
13
+ script_type: string;
14
+ network: string;
15
+ created: number;
16
+ tags: any;
17
+ pubkey: string;
18
+ master: string;
19
+ address: string;
20
+ priceUsd: string;
21
+ balance: string;
22
+ valueUsd: string;
23
+ balances: [{
24
+ balance: string;
25
+ symbol: string;
26
+ network: string;
27
+ marketInfo: {
28
+ symbol: string;
29
+ id_coincap: string;
30
+ id_coingecko: string;
31
+ rank_coincap: string;
32
+ rank_coingecko: string;
33
+ symbol_coincap?: string;
34
+ symbol_coingecko?: string;
35
+ name_coincap: string;
36
+ supply: string;
37
+ maxSupply: string;
38
+ marketCapUsd: string;
39
+ volumeUsd24Hr: string;
40
+ priceUsd: string;
41
+ changePercent24Hr: string;
42
+ vwap24Hr: string;
43
+ explorer: string;
44
+ name_coingecko: string;
45
+ image: string;
46
+ current_price: string;
47
+ market_cap: string;
48
+ market_cap_rank: string;
49
+ fully_diluted_valuation: string;
50
+ total_volume: string;
51
+ high_24h: string;
52
+ low_24h: string;
53
+ price_change_24h: string;
54
+ price_change_percentage_24h: string;
55
+ market_cap_change_24h: string;
56
+ market_cap_change_percentage_24h: string;
57
+ circulating_supply: string;
58
+ total_supply: string;
59
+ max_supply: string;
60
+ ath: string;
61
+ ath_change_percentage: string;
62
+ ath_date: string;
63
+ atl: string;
64
+ atl_change_percentage: string;
65
+ atl_date: string;
66
+ roi: string;
67
+ last_updated: string;
68
+ };
69
+ }];
70
+ }
8
71
  export interface SDKConfig {
9
72
  service?: string;
10
73
  url?: string;
@@ -92,6 +155,12 @@ export interface User {
92
155
  assetBalanceNativeContext: string;
93
156
  assetBalanceUsdValueContext: string;
94
157
  }
158
+ export interface OnboardWallet {
159
+ name: string;
160
+ network: number;
161
+ initialized: string;
162
+ address: string;
163
+ }
95
164
  export interface Wallet {
96
165
  mnemonic: string;
97
166
  password: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pioneer-platform/pioneer-types",
3
- "version": "8.1.40",
3
+ "version": "8.1.44",
4
4
  "main": "./lib/index.js",
5
5
  "types": "./lib/index.d.ts",
6
6
  "scripts": {
@@ -20,7 +20,7 @@
20
20
  "clean": "rm -rf coverage src/**/*.js src/**/*.map lib node_modules"
21
21
  },
22
22
  "dependencies": {
23
- "@pioneer-platform/pioneer-types": "^8.1.40"
23
+ "@pioneer-platform/pioneer-types": "^8.1.44"
24
24
  },
25
25
  "devDependencies": {
26
26
  "@types/jest": "^25.2.3",
@@ -28,5 +28,5 @@
28
28
  "@types/source-map-support": "^0.5.3",
29
29
  "typescript": "^3.9.9"
30
30
  },
31
- "gitHead": "00646fc77f3e2463f5524dace0dc371557bd7927"
31
+ "gitHead": "54c5830a9aebf63dc437dd0cdd4bd3ea3edb253f"
32
32
  }