@ledgerhq/types-live 6.28.1 → 6.29.0-nightly.1
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 +12 -0
- package/README.md +5 -3
- package/lib/feature.d.ts +1 -1
- package/lib/feature.d.ts.map +1 -1
- package/lib/operation.d.ts +3 -0
- package/lib/operation.d.ts.map +1 -1
- package/lib-es/feature.d.ts +1 -1
- package/lib-es/feature.d.ts.map +1 -1
- package/lib-es/operation.d.ts +3 -0
- package/lib-es/operation.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/feature.ts +3 -1
- package/src/operation.ts +3 -0
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
|
|
2
|
-
> @ledgerhq/types-live@6.
|
|
2
|
+
> @ledgerhq/types-live@6.29.0-nightly.0 build /home/runner/work/ledger-live/ledger-live/libs/ledgerjs/packages/types-live
|
|
3
3
|
> tsc && tsc -m ES6 --outDir lib-es
|
|
4
4
|
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @ledgerhq/types-live
|
|
2
2
|
|
|
3
|
+
## 6.29.0-nightly.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#2332](https://github.com/LedgerHQ/ledger-live/pull/2332) [`53b526847d`](https://github.com/LedgerHQ/ledger-live/commit/53b526847d5478e271e216c7a98d650915b7cb6a) Thanks [@sarneijim](https://github.com/sarneijim)! - Add stakePrograms flag
|
|
8
|
+
|
|
9
|
+
## 6.29.0-nightly.0
|
|
10
|
+
|
|
11
|
+
### Minor Changes
|
|
12
|
+
|
|
13
|
+
- [#2351](https://github.com/LedgerHQ/ledger-live/pull/2351) [`f3fd3134a3`](https://github.com/LedgerHQ/ledger-live/commit/f3fd3134a3852f9d872b1be268e60beae8ea3496) Thanks [@lambertkevin](https://github.com/lambertkevin)! - Add transactionRaw to Operation type
|
|
14
|
+
|
|
3
15
|
## 6.28.1
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
package/README.md
CHANGED
|
@@ -492,7 +492,7 @@ Type: [string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Globa
|
|
|
492
492
|
|
|
493
493
|
Add others with union (e.g. "learn" | "market" | "foo")
|
|
494
494
|
|
|
495
|
-
Type: (`"learn"` | `"brazePushNotifications"` | `"brazeLearn"` | `"llmNewDeviceSelection"` | `"llmUsbFirmwareUpdate"` | `"ratingsPrompt"` | `"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"` | `"staxWelcomeScreen"` | `"postOnboardingClaimNft"` | `"postOnboardingAssetsTransfer"` | `"firebaseEnvironmentReadOnly"` | `"protectServicesMobile"` | `"swapShowDexQuotes"`)
|
|
495
|
+
Type: (`"learn"` | `"brazePushNotifications"` | `"brazeLearn"` | `"llmNewDeviceSelection"` | `"llmUsbFirmwareUpdate"` | `"ratingsPrompt"` | `"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"` | `"staxWelcomeScreen"` | `"postOnboardingClaimNft"` | `"postOnboardingAssetsTransfer"` | `"firebaseEnvironmentReadOnly"` | `"protectServicesMobile"` | `"swapShowDexQuotes"` | `"stakePrograms"` | `"objkt"`)
|
|
496
496
|
|
|
497
497
|
### Feature
|
|
498
498
|
|
|
@@ -940,7 +940,7 @@ Type: (`"IN"` | `"OUT"` | `"NONE"` | `"CREATE"` | `"REVEAL"` | `"DELEGATE"` | `"
|
|
|
940
940
|
|
|
941
941
|
### Operation
|
|
942
942
|
|
|
943
|
-
Type: {id: [string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String), hash: [string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String), type: [OperationType](#operationtype), value: BigNumber, fee: BigNumber, senders: [Array](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array)<[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)>, recipients: [Array](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array)<[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)>, blockHeight: ([number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number) | null | [undefined](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/undefined)), blockHash: ([string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String) | null | [undefined](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/undefined)), transactionSequenceNumber: [number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number)?, accountId: [string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String), standard: ([NFTStandard](#nftstandard) | [string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String))?, operator: [string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)?, contract: [string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)?, tokenId: [string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)?, date: [Date](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Date), extra: Record<[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String), any>, hasFailed: [boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)?, subOperations: [Array](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array)<[Operation](#operation)>?, internalOperations: [Array](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array)<[Operation](#operation)>?, nftOperations: [Array](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array)<[Operation](#operation)
|
|
943
|
+
Type: {id: [string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String), hash: [string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String), type: [OperationType](#operationtype), value: BigNumber, fee: BigNumber, senders: [Array](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array)<[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)>, recipients: [Array](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array)<[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)>, blockHeight: ([number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number) | null | [undefined](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/undefined)), blockHash: ([string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String) | null | [undefined](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/undefined)), transactionSequenceNumber: [number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number)?, accountId: [string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String), standard: ([NFTStandard](#nftstandard) | [string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String))?, operator: [string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)?, contract: [string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)?, tokenId: [string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)?, date: [Date](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Date), extra: Record<[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String), any>, hasFailed: [boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)?, subOperations: [Array](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array)<[Operation](#operation)>?, internalOperations: [Array](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array)<[Operation](#operation)>?, nftOperations: [Array](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array)<[Operation](#operation)>?, transactionRaw: [TransactionCommonRaw](#transactioncommonraw)?}
|
|
944
944
|
|
|
945
945
|
#### Properties
|
|
946
946
|
|
|
@@ -965,10 +965,11 @@ Type: {id: [string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/
|
|
|
965
965
|
* `subOperations` **[Array](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array)<[Operation](#operation)>?**
|
|
966
966
|
* `internalOperations` **[Array](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array)<[Operation](#operation)>?**
|
|
967
967
|
* `nftOperations` **[Array](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array)<[Operation](#operation)>?**
|
|
968
|
+
* `transactionRaw` **[TransactionCommonRaw](#transactioncommonraw)?**
|
|
968
969
|
|
|
969
970
|
### OperationRaw
|
|
970
971
|
|
|
971
|
-
Type: {id: [string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String), hash: [string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String), type: [OperationType](#operationtype), value: [string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String), fee: [string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String), senders: [Array](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array)<[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)>, recipients: [Array](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array)<[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)>, blockHeight: ([number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number) | null | [undefined](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/undefined)), blockHash: ([string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String) | null | [undefined](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/undefined)), transactionSequenceNumber: [number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number)?, accountId: [string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String), hasFailed: [boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)?, standard: ([NFTStandard](#nftstandard) | [string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String))?, operator: [string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)?, contract: [string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)?, tokenId: [string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)?, date: [string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String), extra: Record<[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String), any>, subOperations: [Array](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array)<[OperationRaw](#operationraw)>?, internalOperations: [Array](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array)<[OperationRaw](#operationraw)>?, nftOperations: [Array](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array)<[OperationRaw](#operationraw)
|
|
972
|
+
Type: {id: [string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String), hash: [string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String), type: [OperationType](#operationtype), value: [string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String), fee: [string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String), senders: [Array](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array)<[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)>, recipients: [Array](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array)<[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)>, blockHeight: ([number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number) | null | [undefined](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/undefined)), blockHash: ([string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String) | null | [undefined](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/undefined)), transactionSequenceNumber: [number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number)?, accountId: [string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String), hasFailed: [boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)?, standard: ([NFTStandard](#nftstandard) | [string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String))?, operator: [string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)?, contract: [string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)?, tokenId: [string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)?, date: [string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String), extra: Record<[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String), any>, subOperations: [Array](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array)<[OperationRaw](#operationraw)>?, internalOperations: [Array](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array)<[OperationRaw](#operationraw)>?, nftOperations: [Array](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array)<[OperationRaw](#operationraw)>?, transactionRaw: [TransactionCommonRaw](#transactioncommonraw)?}
|
|
972
973
|
|
|
973
974
|
#### Properties
|
|
974
975
|
|
|
@@ -993,6 +994,7 @@ Type: {id: [string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/
|
|
|
993
994
|
* `subOperations` **[Array](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array)<[OperationRaw](#operationraw)>?**
|
|
994
995
|
* `internalOperations` **[Array](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array)<[OperationRaw](#operationraw)>?**
|
|
995
996
|
* `nftOperations` **[Array](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array)<[OperationRaw](#operationraw)>?**
|
|
997
|
+
* `transactionRaw` **[TransactionCommonRaw](#transactioncommonraw)?**
|
|
996
998
|
|
|
997
999
|
### DailyOperationsSection
|
|
998
1000
|
|
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" | "brazeLearn" | "llmNewDeviceSelection" | "llmUsbFirmwareUpdate" | "ratingsPrompt" | "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" | "staxWelcomeScreen" | "postOnboardingClaimNft" | "postOnboardingAssetsTransfer" | "firebaseEnvironmentReadOnly" | "protectServicesMobile" | "swapShowDexQuotes";
|
|
2
|
+
export declare type FeatureId = "learn" | "brazePushNotifications" | "brazeLearn" | "llmNewDeviceSelection" | "llmUsbFirmwareUpdate" | "ratingsPrompt" | "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" | "staxWelcomeScreen" | "postOnboardingClaimNft" | "postOnboardingAssetsTransfer" | "firebaseEnvironmentReadOnly" | "protectServicesMobile" | "swapShowDexQuotes" | "stakePrograms" | "objkt";
|
|
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,YAAY,GACZ,uBAAuB,GACvB,sBAAsB,GACtB,eAAe,GACf,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,mBAAmB,GACnB,wBAAwB,GACxB,8BAA8B,GAC9B,6BAA6B,GAC7B,uBAAuB,GACvB,mBAAmB,CAAC;
|
|
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,YAAY,GACZ,uBAAuB,GACvB,sBAAsB,GACtB,eAAe,GACf,cAAc,GACd,oBAAoB,GACpB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G,CAAC;CACd,CAAC;AAEF,MAAM;AACN,oBAAY,eAAe,GAAG;KAAG,GAAG,IAAI,SAAS,CAAC,CAAC,EAAE,OAAO;CAAE,CAAC"}
|
package/lib/operation.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { BigNumber } from "bignumber.js";
|
|
2
|
+
import { TransactionCommonRaw } from "./transaction";
|
|
2
3
|
import { NFTStandard } from "./nft";
|
|
3
4
|
/**
|
|
4
5
|
*
|
|
@@ -29,6 +30,7 @@ export declare type Operation = {
|
|
|
29
30
|
subOperations?: Operation[];
|
|
30
31
|
internalOperations?: Operation[];
|
|
31
32
|
nftOperations?: Operation[];
|
|
33
|
+
transactionRaw?: TransactionCommonRaw;
|
|
32
34
|
};
|
|
33
35
|
/**
|
|
34
36
|
*
|
|
@@ -55,6 +57,7 @@ export declare type OperationRaw = {
|
|
|
55
57
|
subOperations?: OperationRaw[];
|
|
56
58
|
internalOperations?: OperationRaw[];
|
|
57
59
|
nftOperations?: OperationRaw[];
|
|
60
|
+
transactionRaw?: TransactionCommonRaw;
|
|
58
61
|
};
|
|
59
62
|
/**
|
|
60
63
|
*
|
package/lib/operation.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"operation.d.ts","sourceRoot":"","sources":["../src/operation.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAC9C,OAAO,EAAE,WAAW,EAAE,MAAM,OAAO,CAAC;AAEpC;;GAEG;AACH,oBAAY,aAAa,GACrB,IAAI,GACJ,KAAK,GACL,MAAM,GACN,QAAQ,GACR,QAAQ,GAER,UAAU,GACV,YAAY,GACZ,YAAY,GACZ,QAAQ,GAER,MAAM,GACN,QAAQ,GACR,UAAU,GAEV,MAAM,GACN,eAAe,GACf,MAAM,GACN,QAAQ,GACR,mBAAmB,GACnB,gBAAgB,GAChB,OAAO,GACP,UAAU,GACV,OAAO,GAEP,QAAQ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GAEG;AACH,oBAAY,eAAe,GAAG;IAE5B,QAAQ,EAAE,sBAAsB,EAAE,CAAC;IAEnC,SAAS,EAAE,OAAO,CAAC;CACpB,CAAC"}
|
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" | "brazeLearn" | "llmNewDeviceSelection" | "llmUsbFirmwareUpdate" | "ratingsPrompt" | "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" | "staxWelcomeScreen" | "postOnboardingClaimNft" | "postOnboardingAssetsTransfer" | "firebaseEnvironmentReadOnly" | "protectServicesMobile" | "swapShowDexQuotes";
|
|
2
|
+
export declare type FeatureId = "learn" | "brazePushNotifications" | "brazeLearn" | "llmNewDeviceSelection" | "llmUsbFirmwareUpdate" | "ratingsPrompt" | "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" | "staxWelcomeScreen" | "postOnboardingClaimNft" | "postOnboardingAssetsTransfer" | "firebaseEnvironmentReadOnly" | "protectServicesMobile" | "swapShowDexQuotes" | "stakePrograms" | "objkt";
|
|
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,YAAY,GACZ,uBAAuB,GACvB,sBAAsB,GACtB,eAAe,GACf,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,mBAAmB,GACnB,wBAAwB,GACxB,8BAA8B,GAC9B,6BAA6B,GAC7B,uBAAuB,GACvB,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"feature.d.ts","sourceRoot":"","sources":["../src/feature.ts"],"names":[],"mappings":"A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,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-es/operation.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { BigNumber } from "bignumber.js";
|
|
2
|
+
import { TransactionCommonRaw } from "./transaction";
|
|
2
3
|
import { NFTStandard } from "./nft";
|
|
3
4
|
/**
|
|
4
5
|
*
|
|
@@ -29,6 +30,7 @@ export declare type Operation = {
|
|
|
29
30
|
subOperations?: Operation[];
|
|
30
31
|
internalOperations?: Operation[];
|
|
31
32
|
nftOperations?: Operation[];
|
|
33
|
+
transactionRaw?: TransactionCommonRaw;
|
|
32
34
|
};
|
|
33
35
|
/**
|
|
34
36
|
*
|
|
@@ -55,6 +57,7 @@ export declare type OperationRaw = {
|
|
|
55
57
|
subOperations?: OperationRaw[];
|
|
56
58
|
internalOperations?: OperationRaw[];
|
|
57
59
|
nftOperations?: OperationRaw[];
|
|
60
|
+
transactionRaw?: TransactionCommonRaw;
|
|
58
61
|
};
|
|
59
62
|
/**
|
|
60
63
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"operation.d.ts","sourceRoot":"","sources":["../src/operation.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAC9C,OAAO,EAAE,WAAW,EAAE,MAAM,OAAO,CAAC;AAEpC;;GAEG;AACH,oBAAY,aAAa,GACrB,IAAI,GACJ,KAAK,GACL,MAAM,GACN,QAAQ,GACR,QAAQ,GAER,UAAU,GACV,YAAY,GACZ,YAAY,GACZ,QAAQ,GAER,MAAM,GACN,QAAQ,GACR,UAAU,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;GAEG;AACH,oBAAY,sBAAsB,GAAG;IACnC,GAAG,EAAE,IAAI,CAAC;IACV,IAAI,EAAE,SAAS,EAAE,CAAC;CACnB,CAAC;AAEF;;GAEG;AACH,oBAAY,eAAe,GAAG;IAE5B,QAAQ,EAAE,sBAAsB,EAAE,CAAC;IAEnC,SAAS,EAAE,OAAO,CAAC;CACpB,CAAC"}
|
package/package.json
CHANGED
package/src/feature.ts
CHANGED
|
@@ -43,7 +43,9 @@ export type FeatureId =
|
|
|
43
43
|
| "postOnboardingAssetsTransfer"
|
|
44
44
|
| "firebaseEnvironmentReadOnly"
|
|
45
45
|
| "protectServicesMobile"
|
|
46
|
-
| "swapShowDexQuotes"
|
|
46
|
+
| "swapShowDexQuotes"
|
|
47
|
+
| "stakePrograms"
|
|
48
|
+
| "objkt";
|
|
47
49
|
|
|
48
50
|
/** We use objects instead of direct booleans for potential future improvements
|
|
49
51
|
like feature versioning etc */
|
package/src/operation.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { BigNumber } from "bignumber.js";
|
|
2
|
+
import { TransactionCommonRaw } from "./transaction";
|
|
2
3
|
import { NFTStandard } from "./nft";
|
|
3
4
|
|
|
4
5
|
/**
|
|
@@ -105,6 +106,7 @@ export type Operation = {
|
|
|
105
106
|
internalOperations?: Operation[];
|
|
106
107
|
// Operations related to ERC721 | ERC1155 tokens
|
|
107
108
|
nftOperations?: Operation[];
|
|
109
|
+
transactionRaw?: TransactionCommonRaw;
|
|
108
110
|
};
|
|
109
111
|
|
|
110
112
|
/**
|
|
@@ -138,6 +140,7 @@ export type OperationRaw = {
|
|
|
138
140
|
internalOperations?: OperationRaw[];
|
|
139
141
|
// Operations related to ERC721 | ERC1155 tokens
|
|
140
142
|
nftOperations?: OperationRaw[];
|
|
143
|
+
transactionRaw?: TransactionCommonRaw;
|
|
141
144
|
};
|
|
142
145
|
|
|
143
146
|
/**
|