@exodus/assets-feature 5.9.0 → 5.10.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/CHANGELOG.md CHANGED
@@ -3,6 +3,12 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [5.10.0](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/assets-feature@5.9.0...@exodus/assets-feature@5.10.0) (2024-08-07)
7
+
8
+ ### Features
9
+
10
+ - accept and expose `createLogger` dependency ([#8128](https://github.com/ExodusMovement/exodus-hydra/issues/8128)) ([41237a1](https://github.com/ExodusMovement/exodus-hydra/commit/41237a15e6730661df5a8d3ec50169c56eec9602))
11
+
6
12
  ## [5.9.0](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/assets-feature@5.8.3...@exodus/assets-feature@5.9.0) (2024-08-01)
7
13
 
8
14
  ### Features
@@ -10,9 +10,11 @@ class AssetClientInterface {
10
10
  #transactionSigner
11
11
  #publicKeyProvider
12
12
  #config
13
+ #createLogger
13
14
 
14
15
  constructor({
15
16
  blockchainMetadata,
17
+ createLogger,
16
18
  walletAccountsAtom,
17
19
  enabledWalletAccountsAtom,
18
20
  assetsModule,
@@ -33,6 +35,7 @@ class AssetClientInterface {
33
35
  this.#transactionSigner = transactionSigner
34
36
  this.#publicKeyProvider = publicKeyProvider
35
37
  this.#config = config
38
+ this.#createLogger = createLogger
36
39
 
37
40
  // TODO: remove conditional when clients updated
38
41
  if (assetsModule.initialize) {
@@ -40,6 +43,10 @@ class AssetClientInterface {
40
43
  }
41
44
  }
42
45
 
46
+ createLogger(namespace) {
47
+ return this.#createLogger(namespace)
48
+ }
49
+
43
50
  // txHistory interface
44
51
 
45
52
  getTxHistory = async ({ assetName, walletAccount }) => {
package/client/index.js CHANGED
@@ -6,6 +6,7 @@ const assetsClientInterfaceDefinition = {
6
6
  factory: createAssetClientInterface,
7
7
  dependencies: [
8
8
  'blockchainMetadata',
9
+ 'createLogger',
9
10
  'wallet',
10
11
  'walletAccountsAtom',
11
12
  'enabledWalletAccountsAtom',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@exodus/assets-feature",
3
- "version": "5.9.0",
3
+ "version": "5.10.0",
4
4
  "license": "UNLICENSED",
5
5
  "description": "Assets module, clients and apis",
6
6
  "main": "index.js",
@@ -70,5 +70,5 @@
70
70
  "msw": "^2.0.0",
71
71
  "redux": "^4.0.0"
72
72
  },
73
- "gitHead": "1b2ceb2e525b770405bf19091caa70a8ac2ec1de"
73
+ "gitHead": "e2f868c4a8177092caa51255fc1a564b16f0a907"
74
74
  }