@ledgerhq/types-live 6.40.0 → 6.41.0
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/.turbo/turbo-build.log +1 -1
- package/CHANGELOG.md +7 -3
- package/README.md +123 -86
- package/lib/cexDeposit.d.ts +7 -0
- package/lib/cexDeposit.d.ts.map +1 -0
- package/lib/cexDeposit.js +12 -0
- package/lib/cexDeposit.js.map +1 -0
- package/lib/feature.d.ts +424 -26
- package/lib/feature.d.ts.map +1 -1
- package/lib/index.d.ts +1 -0
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +1 -0
- package/lib/index.js.map +1 -1
- package/lib/manager.d.ts +0 -1
- package/lib/manager.d.ts.map +1 -1
- package/lib/messages/index.d.ts +4 -0
- package/lib/messages/index.d.ts.map +1 -1
- package/lib/messages/index.js.map +1 -1
- package/lib-es/cexDeposit.d.ts +7 -0
- package/lib-es/cexDeposit.d.ts.map +1 -0
- package/lib-es/cexDeposit.js +9 -0
- package/lib-es/cexDeposit.js.map +1 -0
- package/lib-es/feature.d.ts +424 -26
- package/lib-es/feature.d.ts.map +1 -1
- package/lib-es/index.d.ts +1 -0
- package/lib-es/index.d.ts.map +1 -1
- package/lib-es/index.js +1 -0
- package/lib-es/index.js.map +1 -1
- package/lib-es/manager.d.ts +0 -1
- package/lib-es/manager.d.ts.map +1 -1
- package/lib-es/messages/index.d.ts +4 -0
- package/lib-es/messages/index.d.ts.map +1 -1
- package/lib-es/messages/index.js.map +1 -1
- package/package.json +3 -3
- package/src/cexDeposit.ts +7 -0
- package/src/feature.ts +458 -110
- package/src/index.ts +1 -0
- package/src/manager.ts +0 -1
- package/src/messages/index.ts +5 -0
package/.turbo/turbo-build.log
CHANGED
package/CHANGELOG.md
CHANGED
|
@@ -1,12 +1,16 @@
|
|
|
1
1
|
# @ledgerhq/types-live
|
|
2
2
|
|
|
3
|
-
## 6.
|
|
3
|
+
## 6.41.0
|
|
4
4
|
|
|
5
5
|
### Minor Changes
|
|
6
6
|
|
|
7
|
-
- [#
|
|
7
|
+
- [#4583](https://github.com/LedgerHQ/ledger-live/pull/4583) [`f527d1bb5a`](https://github.com/LedgerHQ/ledger-live/commit/f527d1bb5a2888a916f761d43d2ba5093eaa3e3f) Thanks [@hedi-edelbloute](https://github.com/hedi-edelbloute)! - Integrate injective + gas rework
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- [#4533](https://github.com/LedgerHQ/ledger-live/pull/4533) [`70e4277bc9`](https://github.com/LedgerHQ/ledger-live/commit/70e4277bc9dda253b894bdae5f2c8a5f43a9a64e) Thanks [@sshmaxime](https://github.com/sshmaxime)! - Typed useFeature hook
|
|
8
12
|
|
|
9
|
-
## 6.40.0
|
|
13
|
+
## 6.40.0
|
|
10
14
|
|
|
11
15
|
### Minor Changes
|
|
12
16
|
|
package/README.md
CHANGED
|
@@ -53,96 +53,96 @@ Ledger Live main types.
|
|
|
53
53
|
* [DatasetTest](#datasettest)
|
|
54
54
|
* [Properties](#properties-12)
|
|
55
55
|
* [DerivationMode](#derivationmode)
|
|
56
|
-
* [FeatureId](#featureid)
|
|
57
56
|
* [Feature](#feature)
|
|
58
57
|
* [Properties](#properties-13)
|
|
59
58
|
* [enabled](#enabled)
|
|
60
59
|
* [desktop_version](#desktop_version)
|
|
61
|
-
* [desktop_version](#desktop_version-1)
|
|
62
|
-
* [desktop_version](#desktop_version-2)
|
|
63
60
|
* [enabledOverriddenForCurrentDesktopVersion](#enabledoverriddenforcurrentdesktopversion)
|
|
64
61
|
* [mobile_version](#mobile_version)
|
|
65
|
-
* [mobile_version](#mobile_version-1)
|
|
66
|
-
* [mobile_version](#mobile_version-2)
|
|
67
62
|
* [enabledOverriddenForCurrentMobileVersion](#enabledoverriddenforcurrentmobileversion)
|
|
68
63
|
* [languages_whitelisted](#languages_whitelisted)
|
|
69
|
-
* [languages_whitelisted](#languages_whitelisted-1)
|
|
70
64
|
* [languages_blacklisted](#languages_blacklisted)
|
|
71
65
|
* [enabledOverriddenForCurrentLanguage](#enabledoverriddenforcurrentlanguage)
|
|
72
66
|
* [overridesRemote](#overridesremote)
|
|
73
67
|
* [overriddenByEnv](#overriddenbyenv)
|
|
74
68
|
* [params](#params)
|
|
75
|
-
* [
|
|
76
|
-
* [
|
|
69
|
+
* [DefaultFeature](#defaultfeature)
|
|
70
|
+
* [CurrencyFeatures](#currencyfeatures)
|
|
77
71
|
* [Properties](#properties-14)
|
|
78
|
-
* [
|
|
72
|
+
* [Features](#features)
|
|
73
|
+
* [FeatureId](#featureid)
|
|
74
|
+
* [Feature_EthStakingProviders](#feature_ethstakingproviders)
|
|
75
|
+
* [FeatureMap](#featuremap)
|
|
76
|
+
* [LedgerScriptParams](#ledgerscriptparams)
|
|
79
77
|
* [Properties](#properties-15)
|
|
80
|
-
* [
|
|
78
|
+
* [DeviceInfo](#deviceinfo)
|
|
81
79
|
* [Properties](#properties-16)
|
|
82
|
-
* [
|
|
80
|
+
* [DeviceModelInfo](#devicemodelinfo)
|
|
83
81
|
* [Properties](#properties-17)
|
|
84
|
-
* [
|
|
82
|
+
* [DeviceVersion](#deviceversion)
|
|
85
83
|
* [Properties](#properties-18)
|
|
84
|
+
* [McuVersion](#mcuversion)
|
|
85
|
+
* [Properties](#properties-19)
|
|
86
86
|
* [SeedPhraseType](#seedphrasetype)
|
|
87
87
|
* [FirmwareInfo](#firmwareinfo)
|
|
88
|
-
* [Properties](#properties-
|
|
88
|
+
* [Properties](#properties-20)
|
|
89
89
|
* [OsuFirmware](#osufirmware)
|
|
90
90
|
* [FinalFirmware](#finalfirmware)
|
|
91
91
|
* [FirmwareUpdateContext](#firmwareupdatecontext)
|
|
92
|
-
* [Properties](#properties-20)
|
|
93
|
-
* [ApplicationVersion](#applicationversion)
|
|
94
92
|
* [Properties](#properties-21)
|
|
95
|
-
* [
|
|
93
|
+
* [ApplicationVersion](#applicationversion)
|
|
96
94
|
* [Properties](#properties-22)
|
|
95
|
+
* [Application](#application)
|
|
96
|
+
* [Properties](#properties-23)
|
|
97
97
|
* [AppType](#apptype)
|
|
98
98
|
* [App](#app)
|
|
99
|
-
* [Properties](#properties-23)
|
|
100
|
-
* [Category](#category)
|
|
101
99
|
* [Properties](#properties-24)
|
|
100
|
+
* [Category](#category)
|
|
101
|
+
* [Properties](#properties-25)
|
|
102
102
|
* [SocketEvent](#socketevent)
|
|
103
103
|
* [NFTStandard](#nftstandard)
|
|
104
104
|
* [NFTMediaSize](#nftmediasize)
|
|
105
105
|
* [NFTMedias](#nftmedias)
|
|
106
106
|
* [NFTMetadata](#nftmetadata)
|
|
107
|
-
* [Properties](#properties-25)
|
|
108
|
-
* [NFTCollectionMetadata](#nftcollectionmetadata)
|
|
109
107
|
* [Properties](#properties-26)
|
|
110
|
-
* [
|
|
108
|
+
* [NFTCollectionMetadata](#nftcollectionmetadata)
|
|
111
109
|
* [Properties](#properties-27)
|
|
110
|
+
* [ProtoNFT](#protonft)
|
|
111
|
+
* [Properties](#properties-28)
|
|
112
112
|
* [ProtoNFTRaw](#protonftraw)
|
|
113
113
|
* [NFT](#nft)
|
|
114
114
|
* [NFTMetadataLinksProviders](#nftmetadatalinksproviders)
|
|
115
115
|
* [NFTMetadataResponse](#nftmetadataresponse)
|
|
116
|
-
* [Properties](#properties-28)
|
|
117
|
-
* [NFTCollectionMetadataResponse](#nftcollectionmetadataresponse)
|
|
118
116
|
* [Properties](#properties-29)
|
|
119
|
-
* [
|
|
117
|
+
* [NFTCollectionMetadataResponse](#nftcollectionmetadataresponse)
|
|
120
118
|
* [Properties](#properties-30)
|
|
119
|
+
* [FloorPrice](#floorprice)
|
|
120
|
+
* [Properties](#properties-31)
|
|
121
121
|
* [OperationType](#operationtype)
|
|
122
122
|
* [Operation](#operation)
|
|
123
|
-
* [Properties](#properties-31)
|
|
124
|
-
* [PaginationConfig](#paginationconfig)
|
|
125
123
|
* [Properties](#properties-32)
|
|
126
|
-
* [
|
|
124
|
+
* [PaginationConfig](#paginationconfig)
|
|
127
125
|
* [Properties](#properties-33)
|
|
128
|
-
* [
|
|
126
|
+
* [SyncConfig](#syncconfig)
|
|
129
127
|
* [Properties](#properties-34)
|
|
128
|
+
* [BalanceHistoryData](#balancehistorydata)
|
|
129
|
+
* [Properties](#properties-35)
|
|
130
130
|
* [BalanceHistory](#balancehistory)
|
|
131
131
|
* [BalanceHistoryRaw](#balancehistoryraw)
|
|
132
132
|
* [BalanceHistoryWithCountervalue](#balancehistorywithcountervalue)
|
|
133
133
|
* [ValueChange](#valuechange)
|
|
134
|
-
* [Properties](#properties-35)
|
|
135
|
-
* [AccountPortfolio](#accountportfolio)
|
|
136
134
|
* [Properties](#properties-36)
|
|
137
|
-
* [
|
|
135
|
+
* [AccountPortfolio](#accountportfolio)
|
|
138
136
|
* [Properties](#properties-37)
|
|
139
|
-
* [
|
|
137
|
+
* [CurrencyPortfolio](#currencyportfolio)
|
|
140
138
|
* [Properties](#properties-38)
|
|
141
|
-
* [
|
|
139
|
+
* [Portfolio](#portfolio)
|
|
142
140
|
* [Properties](#properties-39)
|
|
141
|
+
* [PortfolioRangeConfig](#portfoliorangeconfig)
|
|
142
|
+
* [Properties](#properties-40)
|
|
143
143
|
* [PortfolioRange](#portfoliorange)
|
|
144
144
|
* [AssetsDistribution](#assetsdistribution)
|
|
145
|
-
* [Properties](#properties-
|
|
145
|
+
* [Properties](#properties-41)
|
|
146
146
|
* [PostOnboardingActionId](#postonboardingactionid)
|
|
147
147
|
* [navigationParams](#navigationparams)
|
|
148
148
|
* [startAction](#startaction)
|
|
@@ -157,37 +157,37 @@ Ledger Live main types.
|
|
|
157
157
|
* [actionCompletedPopupLabel](#actioncompletedpopuplabel)
|
|
158
158
|
* [buttonLabelForAnalyticsEvent](#buttonlabelforanalyticsevent)
|
|
159
159
|
* [PostOnboardingActionState](#postonboardingactionstate)
|
|
160
|
-
* [Properties](#properties-
|
|
160
|
+
* [Properties](#properties-42)
|
|
161
161
|
* [completed](#completed)
|
|
162
162
|
* [PostOnboardingState](#postonboardingstate)
|
|
163
|
-
* [Properties](#properties-
|
|
163
|
+
* [Properties](#properties-43)
|
|
164
164
|
* [deviceModelId](#devicemodelid)
|
|
165
165
|
* [walletEntryPointDismissed](#walletentrypointdismissed)
|
|
166
166
|
* [actionsToComplete](#actionstocomplete)
|
|
167
167
|
* [actionsCompleted](#actionscompleted)
|
|
168
168
|
* [lastActionCompleted](#lastactioncompleted)
|
|
169
169
|
* [PostOnboardingHubState](#postonboardinghubstate)
|
|
170
|
-
* [Properties](#properties-43)
|
|
171
|
-
* [SwapOperation](#swapoperation)
|
|
172
170
|
* [Properties](#properties-44)
|
|
173
|
-
* [
|
|
171
|
+
* [SwapOperation](#swapoperation)
|
|
174
172
|
* [Properties](#properties-45)
|
|
175
|
-
* [
|
|
173
|
+
* [SwapOperationRaw](#swapoperationraw)
|
|
176
174
|
* [Properties](#properties-46)
|
|
177
|
-
* [
|
|
175
|
+
* [SignedOperation](#signedoperation)
|
|
178
176
|
* [Properties](#properties-47)
|
|
177
|
+
* [SignedOperationRaw](#signedoperationraw)
|
|
178
|
+
* [Properties](#properties-48)
|
|
179
179
|
* [SignOperationEvent](#signoperationevent)
|
|
180
180
|
* [SignOperationEventRaw](#signoperationeventraw)
|
|
181
181
|
* [TransactionCommon](#transactioncommon)
|
|
182
|
-
* [Properties](#properties-48)
|
|
183
|
-
* [TransactionCommonRaw](#transactioncommonraw)
|
|
184
182
|
* [Properties](#properties-49)
|
|
185
|
-
* [
|
|
183
|
+
* [TransactionCommonRaw](#transactioncommonraw)
|
|
186
184
|
* [Properties](#properties-50)
|
|
187
|
-
* [
|
|
185
|
+
* [FeeStrategy](#feestrategy)
|
|
188
186
|
* [Properties](#properties-51)
|
|
189
|
-
* [
|
|
187
|
+
* [TransactionStatusCommon](#transactionstatuscommon)
|
|
190
188
|
* [Properties](#properties-52)
|
|
189
|
+
* [TransactionStatusCommonRaw](#transactionstatuscommonraw)
|
|
190
|
+
* [Properties](#properties-53)
|
|
191
191
|
|
|
192
192
|
### TokenAccount
|
|
193
193
|
|
|
@@ -523,18 +523,11 @@ DerivationMode is a string identifier of a specific derivation scheme in a list
|
|
|
523
523
|
|
|
524
524
|
Type: [string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)
|
|
525
525
|
|
|
526
|
-
### FeatureId
|
|
527
|
-
|
|
528
|
-
Add others with union (e.g. "learn" | "market" | "foo")
|
|
529
|
-
|
|
530
|
-
Type: (`"learn"` | `"brazePushNotifications"` | `"brazeLearn"` | `"llmNewDeviceSelection"` | `"llmNewFirmwareUpdateUx"` | `"ratingsPrompt"` | `"npsRatingsPrompt"` | `"counterValue"` | `"deviceInitialApps"` | `"buyDeviceFromLive"` | `"ptxEarn"` | `"currencyAvalancheCChain"` | `"currencyStacks"` | `"currencyOptimism"` | `"currencyOptimismGoerli"` | `"currencyArbitrum"` | `"currencyArbitrumGoerli"` | `"currencyRsk"` | `"currencyBittorrent"` | `"currencyKavaEvm"` | `"currencyEvmosEvm"` | `"currencyEnergyWeb"` | `"currencyAstar"` | `"currencyMetis"` | `"currencyBoba"` | `"currencyMoonriver"` | `"currencyVelasEvm"` | `"currencySyscoin"` | `"currencyAxelar"` | `"currencySecretNetwork"` | `"currencyDesmos"` | `"currencyUmee"` | `"currencyStargaze"` | `"currencyOnomy"` | `"currencyPersistence"` | `"currencyQuicksilver"` | `"currencyInternetComputer"` | `"currencyInjective"` | `"depositNetworkBannerMobile"` | `"depositWithdrawBannerMobile"` | `"currencyTelosEvm"` | `"currencyCoreum"` | `"currencyPolygonZkEvm"` | `"currencyPolygonZkEvmTestnet"` | `"currencyBase"` | `"currencyBaseGoerli"` | `"currencyKlaytn"` | `"mockFeature"` | `"multibuyNavigation"` | `"syncOnboarding"` | `"walletConnectLiveApp"` | `"walletConnectEntryPoint"` | `"customImage"` | `"referralProgramDiscoverCard"` | `"referralProgramDesktopBanner"` | `"referralProgramDesktopSidebar"` | `"referralProgramMobile"` | `"disableNftSend"` | `"disableNftLedgerMarket"` | `"disableNftRaribleOpensea"` | `"walletNftGallery"` | `"receiveStakingFlowConfigDesktop"` | `"ethStakingProviders"` | `"storyly"` | `"staxWelcomeScreen"` | `"postOnboardingClaimNft"` | `"postOnboardingAssetsTransfer"` | `"firebaseEnvironmentReadOnly"` | `"protectServicesMobile"` | `"protectServicesDesktop"` | `"ptxServiceCtaExchangeDrawer"` | `"ptxServiceCtaScreens"` | `"swapWalletApiPartnerList"` | `"stakePrograms"` | `"portfolioExchangeBanner"` | `"objkt"` | `"editEthTx"` | `"stakeAccountBanner"` | `"newsfeedPage"` | `"domainInputResolution"` | `"discover"` | `"protectServicesDiscoverDesktop"` | `"transactionsAlerts"` | `"listAppsV2"`)
|
|
531
|
-
|
|
532
526
|
### Feature
|
|
533
527
|
|
|
534
|
-
|
|
535
|
-
like feature versioning etc
|
|
528
|
+
Feature type.
|
|
536
529
|
|
|
537
|
-
Type: {enabled: [boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean), desktop_version: [string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)?, enabledOverriddenForCurrentDesktopVersion: [boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)?, mobile_version: [string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)?, enabledOverriddenForCurrentMobileVersion: [boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)?, languages_whitelisted:
|
|
530
|
+
Type: {enabled: [boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean), desktop_version: [string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)?, enabledOverriddenForCurrentDesktopVersion: [boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)?, mobile_version: [string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)?, enabledOverriddenForCurrentMobileVersion: [boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)?, languages_whitelisted: [Array](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array)<[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)>?, languages_blacklisted: [Array](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array)<[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)>?, enabledOverriddenForCurrentLanguage: [boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)?, overridesRemote: [boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)?, overriddenByEnv: [boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)?, params: T?}
|
|
538
531
|
|
|
539
532
|
#### Properties
|
|
540
533
|
|
|
@@ -543,8 +536,8 @@ Type: {enabled: [boolean](https://developer.mozilla.org/docs/Web/JavaScript/Refe
|
|
|
543
536
|
* `enabledOverriddenForCurrentDesktopVersion` **[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)?**
|
|
544
537
|
* `mobile_version` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)?**
|
|
545
538
|
* `enabledOverriddenForCurrentMobileVersion` **[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)?**
|
|
546
|
-
* `languages_whitelisted`
|
|
547
|
-
* `languages_blacklisted`
|
|
539
|
+
* `languages_whitelisted` **[Array](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array)<[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)>?**
|
|
540
|
+
* `languages_blacklisted` **[Array](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array)<[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)>?**
|
|
548
541
|
* `enabledOverriddenForCurrentLanguage` **[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)?**
|
|
549
542
|
* `overridesRemote` **[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)?**
|
|
550
543
|
* `overriddenByEnv` **[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)?**
|
|
@@ -559,17 +552,7 @@ Type: [boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Glob
|
|
|
559
552
|
#### desktop_version
|
|
560
553
|
|
|
561
554
|
The `desktop_version` option is desktop specific, it has no impact on mobile
|
|
562
|
-
|
|
563
|
-
Type: [string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)
|
|
564
|
-
|
|
565
|
-
#### desktop_version
|
|
566
|
-
|
|
567
555
|
If set, the feature is disabled when the desktop app version does not satisfies this param
|
|
568
|
-
|
|
569
|
-
Type: [string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)
|
|
570
|
-
|
|
571
|
-
#### desktop_version
|
|
572
|
-
|
|
573
556
|
It should respect the semantic versioning specification (<https://semver.org/>)
|
|
574
557
|
|
|
575
558
|
Type: [string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)
|
|
@@ -583,17 +566,7 @@ Type: [boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Glob
|
|
|
583
566
|
#### mobile_version
|
|
584
567
|
|
|
585
568
|
The `mobile_version` option is mobile specific, it has no impact on mobile
|
|
586
|
-
|
|
587
|
-
Type: [string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)
|
|
588
|
-
|
|
589
|
-
#### mobile_version
|
|
590
|
-
|
|
591
569
|
If set, the feature is disabled when the mobile app version does not satisfies this param
|
|
592
|
-
|
|
593
|
-
Type: [string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)
|
|
594
|
-
|
|
595
|
-
#### mobile_version
|
|
596
|
-
|
|
597
570
|
It should respect the semantic versioning specification (<https://semver.org/>)
|
|
598
571
|
|
|
599
572
|
Type: [string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)
|
|
@@ -607,20 +580,15 @@ Type: [boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Glob
|
|
|
607
580
|
#### languages_whitelisted
|
|
608
581
|
|
|
609
582
|
You can optionnally use one of the two following options (languages_whitelisted and languages_blacklisted) (Only implemented on mobile for now)
|
|
610
|
-
|
|
611
|
-
Type: \[[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)]
|
|
612
|
-
|
|
613
|
-
#### languages_whitelisted
|
|
614
|
-
|
|
615
583
|
List of languages for which the feature is enabled (it will be disabled by default for all of the others)
|
|
616
584
|
|
|
617
|
-
Type:
|
|
585
|
+
Type: [Array](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array)<[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)>
|
|
618
586
|
|
|
619
587
|
#### languages_blacklisted
|
|
620
588
|
|
|
621
589
|
List of languages for which the feature is disabled
|
|
622
590
|
|
|
623
|
-
Type:
|
|
591
|
+
Type: [Array](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array)<[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)>
|
|
624
592
|
|
|
625
593
|
#### enabledOverriddenForCurrentLanguage
|
|
626
594
|
|
|
@@ -646,7 +614,76 @@ Additional params
|
|
|
646
614
|
|
|
647
615
|
Type: T
|
|
648
616
|
|
|
649
|
-
###
|
|
617
|
+
### DefaultFeature
|
|
618
|
+
|
|
619
|
+
Default Feature type.
|
|
620
|
+
|
|
621
|
+
Type: [Feature](#feature)\<any>
|
|
622
|
+
|
|
623
|
+
### CurrencyFeatures
|
|
624
|
+
|
|
625
|
+
Currency Features type.
|
|
626
|
+
|
|
627
|
+
Type: {currencyAvalancheCChain: [DefaultFeature](#defaultfeature), currencyStacks: [DefaultFeature](#defaultfeature), currencyOptimism: [DefaultFeature](#defaultfeature), currencyOptimismGoerli: [DefaultFeature](#defaultfeature), currencyArbitrum: [DefaultFeature](#defaultfeature), currencyArbitrumGoerli: [DefaultFeature](#defaultfeature), currencyRsk: [DefaultFeature](#defaultfeature), currencyBittorrent: [DefaultFeature](#defaultfeature), currencyKavaEvm: [DefaultFeature](#defaultfeature), currencyEvmosEvm: [DefaultFeature](#defaultfeature), currencyEnergyWeb: [DefaultFeature](#defaultfeature), currencyAstar: [DefaultFeature](#defaultfeature), currencyMetis: [DefaultFeature](#defaultfeature), currencyBoba: [DefaultFeature](#defaultfeature), currencyMoonriver: [DefaultFeature](#defaultfeature), currencyVelasEvm: [DefaultFeature](#defaultfeature), currencySyscoin: [DefaultFeature](#defaultfeature), currencyAxelar: [DefaultFeature](#defaultfeature), currencySecretNetwork: [DefaultFeature](#defaultfeature), currencyDesmos: [DefaultFeature](#defaultfeature), currencyUmee: [DefaultFeature](#defaultfeature), currencyStargaze: [DefaultFeature](#defaultfeature), currencyOnomy: [DefaultFeature](#defaultfeature), currencyPersistence: [DefaultFeature](#defaultfeature), currencyQuicksilver: [DefaultFeature](#defaultfeature), currencyInternetComputer: [DefaultFeature](#defaultfeature), currencyInjective: [DefaultFeature](#defaultfeature), currencyTelosEvm: [DefaultFeature](#defaultfeature), currencyCoreum: [DefaultFeature](#defaultfeature), currencyPolygonZkEvm: [DefaultFeature](#defaultfeature), currencyPolygonZkEvmTestnet: [DefaultFeature](#defaultfeature), currencyBase: [DefaultFeature](#defaultfeature), currencyBaseGoerli: [DefaultFeature](#defaultfeature), currencyKlaytn: [DefaultFeature](#defaultfeature)}
|
|
628
|
+
|
|
629
|
+
#### Properties
|
|
630
|
+
|
|
631
|
+
* `currencyAvalancheCChain` **[DefaultFeature](#defaultfeature)**
|
|
632
|
+
* `currencyStacks` **[DefaultFeature](#defaultfeature)**
|
|
633
|
+
* `currencyOptimism` **[DefaultFeature](#defaultfeature)**
|
|
634
|
+
* `currencyOptimismGoerli` **[DefaultFeature](#defaultfeature)**
|
|
635
|
+
* `currencyArbitrum` **[DefaultFeature](#defaultfeature)**
|
|
636
|
+
* `currencyArbitrumGoerli` **[DefaultFeature](#defaultfeature)**
|
|
637
|
+
* `currencyRsk` **[DefaultFeature](#defaultfeature)**
|
|
638
|
+
* `currencyBittorrent` **[DefaultFeature](#defaultfeature)**
|
|
639
|
+
* `currencyKavaEvm` **[DefaultFeature](#defaultfeature)**
|
|
640
|
+
* `currencyEvmosEvm` **[DefaultFeature](#defaultfeature)**
|
|
641
|
+
* `currencyEnergyWeb` **[DefaultFeature](#defaultfeature)**
|
|
642
|
+
* `currencyAstar` **[DefaultFeature](#defaultfeature)**
|
|
643
|
+
* `currencyMetis` **[DefaultFeature](#defaultfeature)**
|
|
644
|
+
* `currencyBoba` **[DefaultFeature](#defaultfeature)**
|
|
645
|
+
* `currencyMoonriver` **[DefaultFeature](#defaultfeature)**
|
|
646
|
+
* `currencyVelasEvm` **[DefaultFeature](#defaultfeature)**
|
|
647
|
+
* `currencySyscoin` **[DefaultFeature](#defaultfeature)**
|
|
648
|
+
* `currencyAxelar` **[DefaultFeature](#defaultfeature)**
|
|
649
|
+
* `currencySecretNetwork` **[DefaultFeature](#defaultfeature)**
|
|
650
|
+
* `currencyDesmos` **[DefaultFeature](#defaultfeature)**
|
|
651
|
+
* `currencyUmee` **[DefaultFeature](#defaultfeature)**
|
|
652
|
+
* `currencyStargaze` **[DefaultFeature](#defaultfeature)**
|
|
653
|
+
* `currencyOnomy` **[DefaultFeature](#defaultfeature)**
|
|
654
|
+
* `currencyPersistence` **[DefaultFeature](#defaultfeature)**
|
|
655
|
+
* `currencyQuicksilver` **[DefaultFeature](#defaultfeature)**
|
|
656
|
+
* `currencyInternetComputer` **[DefaultFeature](#defaultfeature)**
|
|
657
|
+
* `currencyInjective` **[DefaultFeature](#defaultfeature)**
|
|
658
|
+
* `currencyTelosEvm` **[DefaultFeature](#defaultfeature)**
|
|
659
|
+
* `currencyCoreum` **[DefaultFeature](#defaultfeature)**
|
|
660
|
+
* `currencyPolygonZkEvm` **[DefaultFeature](#defaultfeature)**
|
|
661
|
+
* `currencyPolygonZkEvmTestnet` **[DefaultFeature](#defaultfeature)**
|
|
662
|
+
* `currencyBase` **[DefaultFeature](#defaultfeature)**
|
|
663
|
+
* `currencyBaseGoerli` **[DefaultFeature](#defaultfeature)**
|
|
664
|
+
* `currencyKlaytn` **[DefaultFeature](#defaultfeature)**
|
|
665
|
+
|
|
666
|
+
### Features
|
|
667
|
+
|
|
668
|
+
Features type.
|
|
669
|
+
|
|
670
|
+
Type: any
|
|
671
|
+
|
|
672
|
+
### FeatureId
|
|
673
|
+
|
|
674
|
+
FeatureId type.
|
|
675
|
+
|
|
676
|
+
Type: any
|
|
677
|
+
|
|
678
|
+
### Feature_EthStakingProviders
|
|
679
|
+
|
|
680
|
+
Features types.
|
|
681
|
+
|
|
682
|
+
Type: [Feature](#feature)<{listProvider: [Array](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array)<{id: [string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String), name: [string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String), liveAppId: [string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String), supportLink: [string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)?, icon: [string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)?, queryParams: Record<[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String), [string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)>?}>}>
|
|
683
|
+
|
|
684
|
+
### FeatureMap
|
|
685
|
+
|
|
686
|
+
Utils types.
|
|
650
687
|
|
|
651
688
|
Type: any
|
|
652
689
|
|
|
@@ -881,7 +918,7 @@ Type: {id: Id, name: [string](https://developer.mozilla.org/docs/Web/JavaScript/
|
|
|
881
918
|
|
|
882
919
|
### SocketEvent
|
|
883
920
|
|
|
884
|
-
Type: ({type: `"bulk-progress"`, progress: [number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number), index: [number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number), total: [number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number)} | {type: `"result"`, payload: any} | {type: `"warning"`, message: [string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)} | {type: `"device-permission-requested"
|
|
921
|
+
Type: ({type: `"bulk-progress"`, progress: [number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number), index: [number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number), total: [number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number)} | {type: `"result"`, payload: any} | {type: `"warning"`, message: [string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)} | {type: `"device-permission-requested"`} | {type: `"device-permission-granted"`} | {type: `"exchange-before"`, nonce: [number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number), apdu: [Buffer](https://nodejs.org/api/buffer.html)} | {type: `"exchange"`, nonce: [number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number), apdu: [Buffer](https://nodejs.org/api/buffer.html), data: [Buffer](https://nodejs.org/api/buffer.html), status: [number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number)} | {type: `"opened"`} | {type: `"closed"`})
|
|
885
922
|
|
|
886
923
|
### NFTStandard
|
|
887
924
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cexDeposit.d.ts","sourceRoot":"","sources":["../src/cexDeposit.ts"],"names":[],"mappings":"AAAA,oBAAY,qCAAqC;IAC/C,YAAY,iBAAiB;CAC9B;AAED,oBAAY,oCAAoC;IAC9C,YAAY,iBAAiB;CAC9B"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CexDepositEntryPointsLocationsMobile = exports.CexDepositEntryPointsLocationsDesktop = void 0;
|
|
4
|
+
var CexDepositEntryPointsLocationsDesktop;
|
|
5
|
+
(function (CexDepositEntryPointsLocationsDesktop) {
|
|
6
|
+
CexDepositEntryPointsLocationsDesktop["selectCrypto"] = "selectCrypto";
|
|
7
|
+
})(CexDepositEntryPointsLocationsDesktop || (exports.CexDepositEntryPointsLocationsDesktop = CexDepositEntryPointsLocationsDesktop = {}));
|
|
8
|
+
var CexDepositEntryPointsLocationsMobile;
|
|
9
|
+
(function (CexDepositEntryPointsLocationsMobile) {
|
|
10
|
+
CexDepositEntryPointsLocationsMobile["selectCrypto"] = "selectCrypto";
|
|
11
|
+
})(CexDepositEntryPointsLocationsMobile || (exports.CexDepositEntryPointsLocationsMobile = CexDepositEntryPointsLocationsMobile = {}));
|
|
12
|
+
//# sourceMappingURL=cexDeposit.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cexDeposit.js","sourceRoot":"","sources":["../src/cexDeposit.ts"],"names":[],"mappings":";;;AAAA,IAAY,qCAEX;AAFD,WAAY,qCAAqC;IAC/C,sEAA6B,CAAA;AAC/B,CAAC,EAFW,qCAAqC,qDAArC,qCAAqC,QAEhD;AAED,IAAY,oCAEX;AAFD,WAAY,oCAAoC;IAC9C,qEAA6B,CAAA;AAC/B,CAAC,EAFW,oCAAoC,oDAApC,oCAAoC,QAE/C"}
|