@portal-hq/utils 3.0.0 → 3.0.2

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.
@@ -15,7 +15,7 @@ var Events;
15
15
  Events["GetNFTs"] = "Get NFTs";
16
16
  Events["GetNetworks"] = "Get Networks";
17
17
  Events["GetQuote"] = "Get Quote";
18
- Events["GetSigningSharePairs"] = "Get Signing Share Pairs";
18
+ Events["GetSigningShareMetadata"] = "Get Signing Share Metadata";
19
19
  Events["GetSources"] = "Get Sources";
20
20
  Events["GetTransactions"] = "Get Transactions";
21
21
  Events["SimulateTransaction"] = "Simulate Transaction";
@@ -13,7 +13,7 @@ var Events;
13
13
  Events["GetNFTs"] = "Get NFTs";
14
14
  Events["GetNetworks"] = "Get Networks";
15
15
  Events["GetQuote"] = "Get Quote";
16
- Events["GetSigningSharePairs"] = "Get Signing Share Pairs";
16
+ Events["GetSigningShareMetadata"] = "Get Signing Share Metadata";
17
17
  Events["GetSources"] = "Get Sources";
18
18
  Events["GetTransactions"] = "Get Transactions";
19
19
  Events["SimulateTransaction"] = "Simulate Transaction";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@portal-hq/utils",
3
- "version": "3.0.0",
3
+ "version": "3.0.2",
4
4
  "main": "lib/commonjs/index",
5
5
  "module": "lib/esm/index",
6
6
  "source": "src/index",
@@ -26,5 +26,5 @@
26
26
  "ts-jest": "^29.0.3",
27
27
  "typescript": "^4.8.4"
28
28
  },
29
- "gitHead": "1f49bc43f0778a40089e1d736fbb63eb952b6001"
29
+ "gitHead": "4df8790ada8d2e116dc5b30c94875f224bee0a70"
30
30
  }
@@ -54,7 +54,7 @@ export interface IPortalApi {
54
54
  getNFTs(): Promise<NFT[]>
55
55
  getNetworks(): Promise<Network[]>
56
56
  getQuote(apiKey: string, args: QuoteArgs): Promise<QuoteResponse>
57
- getSigningSharePairs(): Promise<SigningSharePairMetadata[]>
57
+ getSigningShareMetadata(): Promise<SigningSharePairMetadata[]>
58
58
  getSources(apiKey: string): Promise<Record<string, string>>
59
59
  getTransactions(
60
60
  limit?: number,
@@ -13,7 +13,7 @@ enum Events {
13
13
  GetNFTs = 'Get NFTs',
14
14
  GetNetworks = 'Get Networks',
15
15
  GetQuote = 'Get Quote',
16
- GetSigningSharePairs = 'Get Signing Share Pairs',
16
+ GetSigningShareMetadata = 'Get Signing Share Metadata',
17
17
  GetSources = 'Get Sources',
18
18
  GetTransactions = 'Get Transactions',
19
19
  SimulateTransaction = 'Simulate Transaction',
package/types.d.ts CHANGED
@@ -268,12 +268,14 @@ export interface SimulatedTransaction {
268
268
  export interface SigningSharePairMetadata {
269
269
  createdAt: string
270
270
  id: string
271
+ status: 'completed' | 'incomplete'
271
272
  }
272
273
 
273
274
  export interface BackupSharePairMetadata {
274
275
  backupMethod: BackupMethods
275
276
  createdAt: string
276
277
  id: string
278
+ status: 'completed' | 'incomplete'
277
279
  }
278
280
 
279
281
  export interface Balance {