@ledgerhq/types-live 6.28.0-protect.0 → 6.28.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 +9 -3
- package/README.md +9 -16
- package/lib/feature.d.ts +1 -1
- package/lib/feature.d.ts.map +1 -1
- package/lib/postOnboarding.d.ts +6 -12
- package/lib/postOnboarding.d.ts.map +1 -1
- package/lib/postOnboarding.js +0 -2
- package/lib/postOnboarding.js.map +1 -1
- package/lib-es/feature.d.ts +1 -1
- package/lib-es/feature.d.ts.map +1 -1
- package/lib-es/postOnboarding.d.ts +6 -12
- package/lib-es/postOnboarding.d.ts.map +1 -1
- package/lib-es/postOnboarding.js +0 -2
- package/lib-es/postOnboarding.js.map +1 -1
- package/package.json +2 -2
- package/src/feature.ts +0 -3
- package/src/postOnboarding.ts +6 -13
package/.turbo/turbo-build.log
CHANGED
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# @ledgerhq/types-live
|
|
2
2
|
|
|
3
|
-
## 6.28.0
|
|
3
|
+
## 6.28.0
|
|
4
4
|
|
|
5
5
|
### Minor Changes
|
|
6
6
|
|
|
@@ -10,9 +10,15 @@
|
|
|
10
10
|
|
|
11
11
|
- [#1802](https://github.com/LedgerHQ/ledger-live/pull/1802) [`b01f9f5c02`](https://github.com/LedgerHQ/ledger-live/commit/b01f9f5c02ef255738b557daba38c1d9f13ee8fe) Thanks [@LFBarreto](https://github.com/LFBarreto)! - Add feature flag types for protect mobile
|
|
12
12
|
|
|
13
|
-
|
|
13
|
+
## 6.28.0-next.0
|
|
14
14
|
|
|
15
|
-
|
|
15
|
+
### Minor Changes
|
|
16
|
+
|
|
17
|
+
- [#1805](https://github.com/LedgerHQ/ledger-live/pull/1805) [`d99aafd1d4`](https://github.com/LedgerHQ/ledger-live/commit/d99aafd1d48336f6b4da3c1d8e7c52dbc1676278) Thanks [@haammar-ledger](https://github.com/haammar-ledger)! - STAKE, UNSTAKE, and WITHDRAW operation types added to support NEAR staking operations
|
|
18
|
+
|
|
19
|
+
### Patch Changes
|
|
20
|
+
|
|
21
|
+
- [#1802](https://github.com/LedgerHQ/ledger-live/pull/1802) [`b01f9f5c02`](https://github.com/LedgerHQ/ledger-live/commit/b01f9f5c02ef255738b557daba38c1d9f13ee8fe) Thanks [@LFBarreto](https://github.com/LFBarreto)! - Add feature flag types for protect mobile
|
|
16
22
|
|
|
17
23
|
## 6.27.1
|
|
18
24
|
|
package/README.md
CHANGED
|
@@ -147,14 +147,13 @@ Ledger Live main types.
|
|
|
147
147
|
* [navigationParams](#navigationparams)
|
|
148
148
|
* [startAction](#startaction)
|
|
149
149
|
* [PostOnboardingAction](#postonboardingaction)
|
|
150
|
-
* [disabled](#disabled)
|
|
151
150
|
* [featureFlagId](#featureflagid)
|
|
152
151
|
* [Icon](#icon)
|
|
153
152
|
* [title](#title)
|
|
154
|
-
* [titleCompleted](#titlecompleted)
|
|
155
153
|
* [description](#description)
|
|
156
154
|
* [tagLabel](#taglabel)
|
|
157
155
|
* [actionCompletedPopupLabel](#actioncompletedpopuplabel)
|
|
156
|
+
* [actionCompletedHubTitle](#actioncompletedhubtitle)
|
|
158
157
|
* [startEvent](#startevent)
|
|
159
158
|
* [startEventProperties](#starteventproperties)
|
|
160
159
|
* [PostOnboardingActionState](#postonboardingactionstate)
|
|
@@ -492,7 +491,7 @@ Type: [string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Globa
|
|
|
492
491
|
|
|
493
492
|
Add others with union (e.g. "learn" | "market" | "foo")
|
|
494
493
|
|
|
495
|
-
Type: (`"learn"` | `"brazePushNotifications"` | `"llmNewDeviceSelection"` | `"llmUsbFirmwareUpdate"` | `"ratings"` | `"counterValue"` | `"deviceLocalization"` | `"deviceInitialApps"` | `"buyDeviceFromLive"` | `"ptxSmartRouting"` | `"currencyOsmosis"` | `"currencyOsmosisMobile"` | `"currencyFantom"` | `"currencyMoonbeam"` | `"currencyCronos"` | `"currencySongbird"` | `"currencyFlare"` | `"currencyNear"` | `"currencyFantomMobile"` | `"currencyMoonbeamMobile"` | `"currencyCronosMobile"` | `"currencySongbirdMobile"` | `"currencyFlareMobile"` | `"ptxSmartRoutingMobile"` | `"mockFeature"` | `"syncOnboarding"` | `"walletConnectLiveApp"` | `"customImage"` | `"referralProgramDiscoverCard"` | `"referralProgramDesktopBanner"` | `"disableNftSend"` | `"disableNftLedgerMarket"` | `"disableNftRaribleOpensea"` | `"walletNftGallery"` | `"receiveStakingFlowConfigDesktop"` | `"ethStakingProviders"` | `"storyly"` | `"
|
|
494
|
+
Type: (`"learn"` | `"brazePushNotifications"` | `"llmNewDeviceSelection"` | `"llmUsbFirmwareUpdate"` | `"ratings"` | `"counterValue"` | `"deviceLocalization"` | `"deviceInitialApps"` | `"buyDeviceFromLive"` | `"ptxSmartRouting"` | `"currencyOsmosis"` | `"currencyOsmosisMobile"` | `"currencyFantom"` | `"currencyMoonbeam"` | `"currencyCronos"` | `"currencySongbird"` | `"currencyFlare"` | `"currencyNear"` | `"currencyFantomMobile"` | `"currencyMoonbeamMobile"` | `"currencyCronosMobile"` | `"currencySongbirdMobile"` | `"currencyFlareMobile"` | `"ptxSmartRoutingMobile"` | `"mockFeature"` | `"syncOnboarding"` | `"walletConnectLiveApp"` | `"customImage"` | `"referralProgramDiscoverCard"` | `"referralProgramDesktopBanner"` | `"disableNftSend"` | `"disableNftLedgerMarket"` | `"disableNftRaribleOpensea"` | `"walletNftGallery"` | `"receiveStakingFlowConfigDesktop"` | `"ethStakingProviders"` | `"storyly"` | `"firebaseEnvironmentReadOnly"` | `"protectServicesMobile"`)
|
|
496
495
|
|
|
497
496
|
### Feature
|
|
498
497
|
|
|
@@ -1166,12 +1165,6 @@ action.
|
|
|
1166
1165
|
|
|
1167
1166
|
Type: any
|
|
1168
1167
|
|
|
1169
|
-
#### disabled
|
|
1170
|
-
|
|
1171
|
-
Allow to display the action without letting the user access its flow
|
|
1172
|
-
|
|
1173
|
-
Type: [boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)
|
|
1174
|
-
|
|
1175
1168
|
#### featureFlagId
|
|
1176
1169
|
|
|
1177
1170
|
If this action is linked to a feature that is enabled by a feature flag,
|
|
@@ -1191,13 +1184,6 @@ Title displayed for this action in the post onboarding hub.
|
|
|
1191
1184
|
|
|
1192
1185
|
Type: [string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)
|
|
1193
1186
|
|
|
1194
|
-
#### titleCompleted
|
|
1195
|
-
|
|
1196
|
-
Title displayed for this action in the post onboarding hub when the action
|
|
1197
|
-
is completed.
|
|
1198
|
-
|
|
1199
|
-
Type: [string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)
|
|
1200
|
-
|
|
1201
1187
|
#### description
|
|
1202
1188
|
|
|
1203
1189
|
Description displayed for this action in the post onboarding hub.
|
|
@@ -1217,6 +1203,13 @@ after completing this action.
|
|
|
1217
1203
|
|
|
1218
1204
|
Type: [string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)
|
|
1219
1205
|
|
|
1206
|
+
#### actionCompletedHubTitle
|
|
1207
|
+
|
|
1208
|
+
Will be used as a title success alert at the bottom of the post-onboarding
|
|
1209
|
+
hub after completing this action.
|
|
1210
|
+
|
|
1211
|
+
Type: [string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)
|
|
1212
|
+
|
|
1220
1213
|
#### startEvent
|
|
1221
1214
|
|
|
1222
1215
|
Event that will be dispatched when starting this action.
|
package/lib/feature.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/** Add others with union (e.g. "learn" | "market" | "foo") */
|
|
2
|
-
export declare type FeatureId = "learn" | "brazePushNotifications" | "llmNewDeviceSelection" | "llmUsbFirmwareUpdate" | "ratings" | "counterValue" | "deviceLocalization" | "deviceInitialApps" | "buyDeviceFromLive" | "ptxSmartRouting" | "currencyOsmosis" | "currencyOsmosisMobile" | "currencyFantom" | "currencyMoonbeam" | "currencyCronos" | "currencySongbird" | "currencyFlare" | "currencyNear" | "currencyFantomMobile" | "currencyMoonbeamMobile" | "currencyCronosMobile" | "currencySongbirdMobile" | "currencyFlareMobile" | "ptxSmartRoutingMobile" | "mockFeature" | "syncOnboarding" | "walletConnectLiveApp" | "customImage" | "referralProgramDiscoverCard" | "referralProgramDesktopBanner" | "disableNftSend" | "disableNftLedgerMarket" | "disableNftRaribleOpensea" | "walletNftGallery" | "receiveStakingFlowConfigDesktop" | "ethStakingProviders" | "storyly" | "
|
|
2
|
+
export declare type FeatureId = "learn" | "brazePushNotifications" | "llmNewDeviceSelection" | "llmUsbFirmwareUpdate" | "ratings" | "counterValue" | "deviceLocalization" | "deviceInitialApps" | "buyDeviceFromLive" | "ptxSmartRouting" | "currencyOsmosis" | "currencyOsmosisMobile" | "currencyFantom" | "currencyMoonbeam" | "currencyCronos" | "currencySongbird" | "currencyFlare" | "currencyNear" | "currencyFantomMobile" | "currencyMoonbeamMobile" | "currencyCronosMobile" | "currencySongbirdMobile" | "currencyFlareMobile" | "ptxSmartRoutingMobile" | "mockFeature" | "syncOnboarding" | "walletConnectLiveApp" | "customImage" | "referralProgramDiscoverCard" | "referralProgramDesktopBanner" | "disableNftSend" | "disableNftLedgerMarket" | "disableNftRaribleOpensea" | "walletNftGallery" | "receiveStakingFlowConfigDesktop" | "ethStakingProviders" | "storyly" | "firebaseEnvironmentReadOnly" | "protectServicesMobile";
|
|
3
3
|
/** We use objects instead of direct booleans for potential future improvements
|
|
4
4
|
like feature versioning etc */
|
|
5
5
|
export declare type Feature = {
|
package/lib/feature.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"feature.d.ts","sourceRoot":"","sources":["../src/feature.ts"],"names":[],"mappings":"AAAA,+DAA+D;AAC/D,oBAAY,SAAS,GACjB,OAAO,GACP,wBAAwB,GACxB,uBAAuB,GACvB,sBAAsB,GACtB,SAAS,GACT,cAAc,GACd,oBAAoB,GACpB,mBAAmB,GACnB,mBAAmB,GACnB,iBAAiB,GACjB,iBAAiB,GACjB,uBAAuB,GACvB,gBAAgB,GAChB,kBAAkB,GAClB,gBAAgB,GAChB,kBAAkB,GAClB,eAAe,GACf,cAAc,GACd,sBAAsB,GACtB,wBAAwB,GACxB,sBAAsB,GACtB,wBAAwB,GACxB,qBAAqB,GACrB,uBAAuB,GACvB,aAAa,GACb,gBAAgB,GAChB,sBAAsB,GACtB,aAAa,GACb,6BAA6B,GAC7B,8BAA8B,GAC9B,gBAAgB,GAChB,wBAAwB,GACxB,0BAA0B,GAC1B,kBAAkB,GAClB,iCAAiC,GACjC,qBAAqB,GACrB,SAAS,GACT,
|
|
1
|
+
{"version":3,"file":"feature.d.ts","sourceRoot":"","sources":["../src/feature.ts"],"names":[],"mappings":"AAAA,+DAA+D;AAC/D,oBAAY,SAAS,GACjB,OAAO,GACP,wBAAwB,GACxB,uBAAuB,GACvB,sBAAsB,GACtB,SAAS,GACT,cAAc,GACd,oBAAoB,GACpB,mBAAmB,GACnB,mBAAmB,GACnB,iBAAiB,GACjB,iBAAiB,GACjB,uBAAuB,GACvB,gBAAgB,GAChB,kBAAkB,GAClB,gBAAgB,GAChB,kBAAkB,GAClB,eAAe,GACf,cAAc,GACd,sBAAsB,GACtB,wBAAwB,GACxB,sBAAsB,GACtB,wBAAwB,GACxB,qBAAqB,GACrB,uBAAuB,GACvB,aAAa,GACb,gBAAgB,GAChB,sBAAsB,GACtB,aAAa,GACb,6BAA6B,GAC7B,8BAA8B,GAC9B,gBAAgB,GAChB,wBAAwB,GACxB,0BAA0B,GAC1B,kBAAkB,GAClB,iCAAiC,GACjC,qBAAqB,GACrB,SAAS,GACT,6BAA6B,GAC7B,uBAAuB,CAAC;AAE5B;8BAC8B;AAC9B,oBAAY,OAAO,GAAG;IACpB,6GAA6G;IAC7G,OAAO,EAAE,OAAO,CAAC;IACjB,mFAAmF;IACnF,iGAAiG;IACjG,oFAAoF;IACpF,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,mFAAmF;IACnF,yCAAyC,CAAC,EAAE,OAAO,CAAC;IACpD,iFAAiF;IACjF,gGAAgG;IAChG,oFAAoF;IACpF,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,kFAAkF;IAClF,wCAAwC,CAAC,EAAE,OAAO,CAAC;IACnD,sJAAsJ;IACtJ,gHAAgH;IAChH,qBAAqB,CAAC,EAAE,CAAC,MAAM,CAAC,CAAC;IACjC,0DAA0D;IAC1D,qBAAqB,CAAC,EAAE,CAAC,MAAM,CAAC,CAAC;IACjC,oHAAoH;IACpH,mCAAmC,CAAC,EAAE,OAAO,CAAC;IAC9C,oEAAoE;IACpE,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,uFAAuF;IACvF,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,wBAAwB;IACxB,MAAM,CAAC,EAAE,GAAG,CAAC;CACd,CAAC;AAEF,MAAM;AACN,oBAAY,eAAe,GAAG;KAAG,GAAG,IAAI,SAAS,CAAC,CAAC,EAAE,OAAO;CAAE,CAAC"}
|
package/lib/postOnboarding.d.ts
CHANGED
|
@@ -7,9 +7,7 @@ export declare enum PostOnboardingActionId {
|
|
|
7
7
|
claimMock = "claimMock",
|
|
8
8
|
migrateAssetsMock = "migrateAssetsMock",
|
|
9
9
|
personalizeMock = "personalizeMock",
|
|
10
|
-
customImage = "customImage"
|
|
11
|
-
claimNft = "claimNft",
|
|
12
|
-
assetsTransfer = "assetsTransfer"
|
|
10
|
+
customImage = "customImage"
|
|
13
11
|
}
|
|
14
12
|
export declare type WithNavigationParams = {
|
|
15
13
|
/**
|
|
@@ -33,10 +31,6 @@ declare type WithStartActionFunction = {
|
|
|
33
31
|
*/
|
|
34
32
|
export declare type PostOnboardingAction = {
|
|
35
33
|
id: PostOnboardingActionId;
|
|
36
|
-
/**
|
|
37
|
-
* Allow to display the action without letting the user access its flow
|
|
38
|
-
*/
|
|
39
|
-
disabled?: boolean;
|
|
40
34
|
/**
|
|
41
35
|
* If this action is linked to a feature that is enabled by a feature flag,
|
|
42
36
|
* use this property to identify the feature flag.
|
|
@@ -53,11 +47,6 @@ export declare type PostOnboardingAction = {
|
|
|
53
47
|
* Title displayed for this action in the post onboarding hub.
|
|
54
48
|
*/
|
|
55
49
|
title: string;
|
|
56
|
-
/**
|
|
57
|
-
* Title displayed for this action in the post onboarding hub when the action
|
|
58
|
-
* is completed.
|
|
59
|
-
*/
|
|
60
|
-
titleCompleted: string;
|
|
61
50
|
/**
|
|
62
51
|
* Description displayed for this action in the post onboarding hub.
|
|
63
52
|
*/
|
|
@@ -71,6 +60,11 @@ export declare type PostOnboardingAction = {
|
|
|
71
60
|
* after completing this action.
|
|
72
61
|
* */
|
|
73
62
|
actionCompletedPopupLabel: string;
|
|
63
|
+
/**
|
|
64
|
+
* Will be used as a title success alert at the bottom of the post-onboarding
|
|
65
|
+
* hub after completing this action.
|
|
66
|
+
* */
|
|
67
|
+
actionCompletedHubTitle: string;
|
|
74
68
|
/**
|
|
75
69
|
* Event that will be dispatched when starting this action.
|
|
76
70
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"postOnboarding.d.ts","sourceRoot":"","sources":["../src/postOnboarding.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AACxD,OAAO,EAAE,SAAS,EAAE,MAAM,GAAG,CAAC;AAE9B;;GAEG;AACH,oBAAY,sBAAsB;IAChC,SAAS,cAAc;IACvB,iBAAiB,sBAAsB;IACvC,eAAe,oBAAoB;IACnC,WAAW,gBAAgB;
|
|
1
|
+
{"version":3,"file":"postOnboarding.d.ts","sourceRoot":"","sources":["../src/postOnboarding.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AACxD,OAAO,EAAE,SAAS,EAAE,MAAM,GAAG,CAAC;AAE9B;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,CAAC;IAE5C;;OAEG;IACH,gBAAgB,EAAE;SAAG,GAAG,IAAI,sBAAsB,CAAC,CAAC,EAAE,OAAO;KAAE,CAAC;IAEhE;;;;;OAKG;IACH,mBAAmB,EAAE,sBAAsB,GAAG,IAAI,CAAC;CACpD,CAAC;AAEF;;;GAGG;AACH,oBAAY,sBAAsB,GAAG;IACnC,aAAa,EAAE,aAAa,GAAG,IAAI,CAAC;IACpC,mBAAmB,EAAE,oBAAoB,GAAG,IAAI,CAAC;IACjD,YAAY,EAAE,CAAC,oBAAoB,GAAG,yBAAyB,CAAC,EAAE,CAAC;CACpE,CAAC"}
|
package/lib/postOnboarding.js
CHANGED
|
@@ -10,7 +10,5 @@ var PostOnboardingActionId;
|
|
|
10
10
|
PostOnboardingActionId["migrateAssetsMock"] = "migrateAssetsMock";
|
|
11
11
|
PostOnboardingActionId["personalizeMock"] = "personalizeMock";
|
|
12
12
|
PostOnboardingActionId["customImage"] = "customImage";
|
|
13
|
-
PostOnboardingActionId["claimNft"] = "claimNft";
|
|
14
|
-
PostOnboardingActionId["assetsTransfer"] = "assetsTransfer";
|
|
15
13
|
})(PostOnboardingActionId = exports.PostOnboardingActionId || (exports.PostOnboardingActionId = {}));
|
|
16
14
|
//# sourceMappingURL=postOnboarding.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"postOnboarding.js","sourceRoot":"","sources":["../src/postOnboarding.ts"],"names":[],"mappings":";;;AAGA;;GAEG;AACH,IAAY,
|
|
1
|
+
{"version":3,"file":"postOnboarding.js","sourceRoot":"","sources":["../src/postOnboarding.ts"],"names":[],"mappings":";;;AAGA;;GAEG;AACH,IAAY,sBAKX;AALD,WAAY,sBAAsB;IAChC,iDAAuB,CAAA;IACvB,iEAAuC,CAAA;IACvC,6DAAmC,CAAA;IACnC,qDAA2B,CAAA;AAC7B,CAAC,EALW,sBAAsB,GAAtB,8BAAsB,KAAtB,8BAAsB,QAKjC"}
|
package/lib-es/feature.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/** Add others with union (e.g. "learn" | "market" | "foo") */
|
|
2
|
-
export declare type FeatureId = "learn" | "brazePushNotifications" | "llmNewDeviceSelection" | "llmUsbFirmwareUpdate" | "ratings" | "counterValue" | "deviceLocalization" | "deviceInitialApps" | "buyDeviceFromLive" | "ptxSmartRouting" | "currencyOsmosis" | "currencyOsmosisMobile" | "currencyFantom" | "currencyMoonbeam" | "currencyCronos" | "currencySongbird" | "currencyFlare" | "currencyNear" | "currencyFantomMobile" | "currencyMoonbeamMobile" | "currencyCronosMobile" | "currencySongbirdMobile" | "currencyFlareMobile" | "ptxSmartRoutingMobile" | "mockFeature" | "syncOnboarding" | "walletConnectLiveApp" | "customImage" | "referralProgramDiscoverCard" | "referralProgramDesktopBanner" | "disableNftSend" | "disableNftLedgerMarket" | "disableNftRaribleOpensea" | "walletNftGallery" | "receiveStakingFlowConfigDesktop" | "ethStakingProviders" | "storyly" | "
|
|
2
|
+
export declare type FeatureId = "learn" | "brazePushNotifications" | "llmNewDeviceSelection" | "llmUsbFirmwareUpdate" | "ratings" | "counterValue" | "deviceLocalization" | "deviceInitialApps" | "buyDeviceFromLive" | "ptxSmartRouting" | "currencyOsmosis" | "currencyOsmosisMobile" | "currencyFantom" | "currencyMoonbeam" | "currencyCronos" | "currencySongbird" | "currencyFlare" | "currencyNear" | "currencyFantomMobile" | "currencyMoonbeamMobile" | "currencyCronosMobile" | "currencySongbirdMobile" | "currencyFlareMobile" | "ptxSmartRoutingMobile" | "mockFeature" | "syncOnboarding" | "walletConnectLiveApp" | "customImage" | "referralProgramDiscoverCard" | "referralProgramDesktopBanner" | "disableNftSend" | "disableNftLedgerMarket" | "disableNftRaribleOpensea" | "walletNftGallery" | "receiveStakingFlowConfigDesktop" | "ethStakingProviders" | "storyly" | "firebaseEnvironmentReadOnly" | "protectServicesMobile";
|
|
3
3
|
/** We use objects instead of direct booleans for potential future improvements
|
|
4
4
|
like feature versioning etc */
|
|
5
5
|
export declare type Feature = {
|
package/lib-es/feature.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"feature.d.ts","sourceRoot":"","sources":["../src/feature.ts"],"names":[],"mappings":"AAAA,+DAA+D;AAC/D,oBAAY,SAAS,GACjB,OAAO,GACP,wBAAwB,GACxB,uBAAuB,GACvB,sBAAsB,GACtB,SAAS,GACT,cAAc,GACd,oBAAoB,GACpB,mBAAmB,GACnB,mBAAmB,GACnB,iBAAiB,GACjB,iBAAiB,GACjB,uBAAuB,GACvB,gBAAgB,GAChB,kBAAkB,GAClB,gBAAgB,GAChB,kBAAkB,GAClB,eAAe,GACf,cAAc,GACd,sBAAsB,GACtB,wBAAwB,GACxB,sBAAsB,GACtB,wBAAwB,GACxB,qBAAqB,GACrB,uBAAuB,GACvB,aAAa,GACb,gBAAgB,GAChB,sBAAsB,GACtB,aAAa,GACb,6BAA6B,GAC7B,8BAA8B,GAC9B,gBAAgB,GAChB,wBAAwB,GACxB,0BAA0B,GAC1B,kBAAkB,GAClB,iCAAiC,GACjC,qBAAqB,GACrB,SAAS,GACT,
|
|
1
|
+
{"version":3,"file":"feature.d.ts","sourceRoot":"","sources":["../src/feature.ts"],"names":[],"mappings":"AAAA,+DAA+D;AAC/D,oBAAY,SAAS,GACjB,OAAO,GACP,wBAAwB,GACxB,uBAAuB,GACvB,sBAAsB,GACtB,SAAS,GACT,cAAc,GACd,oBAAoB,GACpB,mBAAmB,GACnB,mBAAmB,GACnB,iBAAiB,GACjB,iBAAiB,GACjB,uBAAuB,GACvB,gBAAgB,GAChB,kBAAkB,GAClB,gBAAgB,GAChB,kBAAkB,GAClB,eAAe,GACf,cAAc,GACd,sBAAsB,GACtB,wBAAwB,GACxB,sBAAsB,GACtB,wBAAwB,GACxB,qBAAqB,GACrB,uBAAuB,GACvB,aAAa,GACb,gBAAgB,GAChB,sBAAsB,GACtB,aAAa,GACb,6BAA6B,GAC7B,8BAA8B,GAC9B,gBAAgB,GAChB,wBAAwB,GACxB,0BAA0B,GAC1B,kBAAkB,GAClB,iCAAiC,GACjC,qBAAqB,GACrB,SAAS,GACT,6BAA6B,GAC7B,uBAAuB,CAAC;AAE5B;8BAC8B;AAC9B,oBAAY,OAAO,GAAG;IACpB,6GAA6G;IAC7G,OAAO,EAAE,OAAO,CAAC;IACjB,mFAAmF;IACnF,iGAAiG;IACjG,oFAAoF;IACpF,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,mFAAmF;IACnF,yCAAyC,CAAC,EAAE,OAAO,CAAC;IACpD,iFAAiF;IACjF,gGAAgG;IAChG,oFAAoF;IACpF,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,kFAAkF;IAClF,wCAAwC,CAAC,EAAE,OAAO,CAAC;IACnD,sJAAsJ;IACtJ,gHAAgH;IAChH,qBAAqB,CAAC,EAAE,CAAC,MAAM,CAAC,CAAC;IACjC,0DAA0D;IAC1D,qBAAqB,CAAC,EAAE,CAAC,MAAM,CAAC,CAAC;IACjC,oHAAoH;IACpH,mCAAmC,CAAC,EAAE,OAAO,CAAC;IAC9C,oEAAoE;IACpE,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,uFAAuF;IACvF,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,wBAAwB;IACxB,MAAM,CAAC,EAAE,GAAG,CAAC;CACd,CAAC;AAEF,MAAM;AACN,oBAAY,eAAe,GAAG;KAAG,GAAG,IAAI,SAAS,CAAC,CAAC,EAAE,OAAO;CAAE,CAAC"}
|
|
@@ -7,9 +7,7 @@ export declare enum PostOnboardingActionId {
|
|
|
7
7
|
claimMock = "claimMock",
|
|
8
8
|
migrateAssetsMock = "migrateAssetsMock",
|
|
9
9
|
personalizeMock = "personalizeMock",
|
|
10
|
-
customImage = "customImage"
|
|
11
|
-
claimNft = "claimNft",
|
|
12
|
-
assetsTransfer = "assetsTransfer"
|
|
10
|
+
customImage = "customImage"
|
|
13
11
|
}
|
|
14
12
|
export declare type WithNavigationParams = {
|
|
15
13
|
/**
|
|
@@ -33,10 +31,6 @@ declare type WithStartActionFunction = {
|
|
|
33
31
|
*/
|
|
34
32
|
export declare type PostOnboardingAction = {
|
|
35
33
|
id: PostOnboardingActionId;
|
|
36
|
-
/**
|
|
37
|
-
* Allow to display the action without letting the user access its flow
|
|
38
|
-
*/
|
|
39
|
-
disabled?: boolean;
|
|
40
34
|
/**
|
|
41
35
|
* If this action is linked to a feature that is enabled by a feature flag,
|
|
42
36
|
* use this property to identify the feature flag.
|
|
@@ -53,11 +47,6 @@ export declare type PostOnboardingAction = {
|
|
|
53
47
|
* Title displayed for this action in the post onboarding hub.
|
|
54
48
|
*/
|
|
55
49
|
title: string;
|
|
56
|
-
/**
|
|
57
|
-
* Title displayed for this action in the post onboarding hub when the action
|
|
58
|
-
* is completed.
|
|
59
|
-
*/
|
|
60
|
-
titleCompleted: string;
|
|
61
50
|
/**
|
|
62
51
|
* Description displayed for this action in the post onboarding hub.
|
|
63
52
|
*/
|
|
@@ -71,6 +60,11 @@ export declare type PostOnboardingAction = {
|
|
|
71
60
|
* after completing this action.
|
|
72
61
|
* */
|
|
73
62
|
actionCompletedPopupLabel: string;
|
|
63
|
+
/**
|
|
64
|
+
* Will be used as a title success alert at the bottom of the post-onboarding
|
|
65
|
+
* hub after completing this action.
|
|
66
|
+
* */
|
|
67
|
+
actionCompletedHubTitle: string;
|
|
74
68
|
/**
|
|
75
69
|
* Event that will be dispatched when starting this action.
|
|
76
70
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"postOnboarding.d.ts","sourceRoot":"","sources":["../src/postOnboarding.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AACxD,OAAO,EAAE,SAAS,EAAE,MAAM,GAAG,CAAC;AAE9B;;GAEG;AACH,oBAAY,sBAAsB;IAChC,SAAS,cAAc;IACvB,iBAAiB,sBAAsB;IACvC,eAAe,oBAAoB;IACnC,WAAW,gBAAgB;
|
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F;;;;GAIG;AACH,oBAAY,mBAAmB,GAAG;IAChC;;OAEG;IACH,aAAa,EAAE,aAAa,GAAG,IAAI,CAAC;IAEpC;;OAEG;IACH,yBAAyB,EAAE,OAAO,CAAC;IAEnC;;;;OAIG;IACH,iBAAiB,EAAE,sBAAsB,EAAE,CAAC;IAE5C;;OAEG;IACH,gBAAgB,EAAE;SAAG,GAAG,IAAI,sBAAsB,CAAC,CAAC,EAAE,OAAO;KAAE,CAAC;IAEhE;;;;;OAKG;IACH,mBAAmB,EAAE,sBAAsB,GAAG,IAAI,CAAC;CACpD,CAAC;AAEF;;;GAGG;AACH,oBAAY,sBAAsB,GAAG;IACnC,aAAa,EAAE,aAAa,GAAG,IAAI,CAAC;IACpC,mBAAmB,EAAE,oBAAoB,GAAG,IAAI,CAAC;IACjD,YAAY,EAAE,CAAC,oBAAoB,GAAG,yBAAyB,CAAC,EAAE,CAAC;CACpE,CAAC"}
|
package/lib-es/postOnboarding.js
CHANGED
|
@@ -7,7 +7,5 @@ export var PostOnboardingActionId;
|
|
|
7
7
|
PostOnboardingActionId["migrateAssetsMock"] = "migrateAssetsMock";
|
|
8
8
|
PostOnboardingActionId["personalizeMock"] = "personalizeMock";
|
|
9
9
|
PostOnboardingActionId["customImage"] = "customImage";
|
|
10
|
-
PostOnboardingActionId["claimNft"] = "claimNft";
|
|
11
|
-
PostOnboardingActionId["assetsTransfer"] = "assetsTransfer";
|
|
12
10
|
})(PostOnboardingActionId || (PostOnboardingActionId = {}));
|
|
13
11
|
//# sourceMappingURL=postOnboarding.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"postOnboarding.js","sourceRoot":"","sources":["../src/postOnboarding.ts"],"names":[],"mappings":"AAGA;;GAEG;AACH,MAAM,CAAN,IAAY,
|
|
1
|
+
{"version":3,"file":"postOnboarding.js","sourceRoot":"","sources":["../src/postOnboarding.ts"],"names":[],"mappings":"AAGA;;GAEG;AACH,MAAM,CAAN,IAAY,sBAKX;AALD,WAAY,sBAAsB;IAChC,iDAAuB,CAAA;IACvB,iEAAuC,CAAA;IACvC,6DAAmC,CAAA;IACnC,qDAA2B,CAAA;AAC7B,CAAC,EALW,sBAAsB,KAAtB,sBAAsB,QAKjC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ledgerhq/types-live",
|
|
3
|
-
"version": "6.28.0
|
|
3
|
+
"version": "6.28.0",
|
|
4
4
|
"description": "Ledger Live main types.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Ledger"
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
28
|
"@ledgerhq/types-cryptoassets": "^6.23.3",
|
|
29
|
-
"@ledgerhq/types-devices": "^6.22.
|
|
29
|
+
"@ledgerhq/types-devices": "^6.22.3"
|
|
30
30
|
},
|
|
31
31
|
"scripts": {
|
|
32
32
|
"clean": "rimraf lib lib-es",
|
package/src/feature.ts
CHANGED
|
@@ -37,9 +37,6 @@ export type FeatureId =
|
|
|
37
37
|
| "receiveStakingFlowConfigDesktop"
|
|
38
38
|
| "ethStakingProviders"
|
|
39
39
|
| "storyly"
|
|
40
|
-
| "staxWelcomeScreen"
|
|
41
|
-
| "postOnboardingClaimNft"
|
|
42
|
-
| "postOnboardingAssetsTransfer"
|
|
43
40
|
| "firebaseEnvironmentReadOnly"
|
|
44
41
|
| "protectServicesMobile";
|
|
45
42
|
|
package/src/postOnboarding.ts
CHANGED
|
@@ -9,8 +9,6 @@ export enum PostOnboardingActionId {
|
|
|
9
9
|
migrateAssetsMock = "migrateAssetsMock",
|
|
10
10
|
personalizeMock = "personalizeMock",
|
|
11
11
|
customImage = "customImage",
|
|
12
|
-
claimNft = "claimNft",
|
|
13
|
-
assetsTransfer = "assetsTransfer",
|
|
14
12
|
}
|
|
15
13
|
|
|
16
14
|
export type WithNavigationParams = {
|
|
@@ -38,11 +36,6 @@ type WithStartActionFunction = {
|
|
|
38
36
|
export type PostOnboardingAction = {
|
|
39
37
|
id: PostOnboardingActionId;
|
|
40
38
|
|
|
41
|
-
/**
|
|
42
|
-
* Allow to display the action without letting the user access its flow
|
|
43
|
-
*/
|
|
44
|
-
disabled?: boolean;
|
|
45
|
-
|
|
46
39
|
/**
|
|
47
40
|
* If this action is linked to a feature that is enabled by a feature flag,
|
|
48
41
|
* use this property to identify the feature flag.
|
|
@@ -59,12 +52,6 @@ export type PostOnboardingAction = {
|
|
|
59
52
|
*/
|
|
60
53
|
title: string;
|
|
61
54
|
|
|
62
|
-
/**
|
|
63
|
-
* Title displayed for this action in the post onboarding hub when the action
|
|
64
|
-
* is completed.
|
|
65
|
-
*/
|
|
66
|
-
titleCompleted: string;
|
|
67
|
-
|
|
68
55
|
/**
|
|
69
56
|
* Description displayed for this action in the post onboarding hub.
|
|
70
57
|
*/
|
|
@@ -81,6 +68,12 @@ export type PostOnboardingAction = {
|
|
|
81
68
|
* */
|
|
82
69
|
actionCompletedPopupLabel: string;
|
|
83
70
|
|
|
71
|
+
/**
|
|
72
|
+
* Will be used as a title success alert at the bottom of the post-onboarding
|
|
73
|
+
* hub after completing this action.
|
|
74
|
+
* */
|
|
75
|
+
actionCompletedHubTitle: string;
|
|
76
|
+
|
|
84
77
|
/**
|
|
85
78
|
* Event that will be dispatched when starting this action.
|
|
86
79
|
*/
|