@exodus/solana-plugin 1.36.0 → 1.36.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.
- package/CHANGELOG.md +16 -0
- package/package.json +3 -3
- package/src/create-asset.js +10 -10
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,22 @@
|
|
|
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
|
+
## [1.36.2](https://github.com/ExodusMovement/assets/compare/@exodus/solana-plugin@1.36.1...@exodus/solana-plugin@1.36.2) (2026-03-25)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @exodus/solana-plugin
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
## [1.36.1](https://github.com/ExodusMovement/assets/compare/@exodus/solana-plugin@1.36.0...@exodus/solana-plugin@1.36.1) (2026-03-18)
|
|
15
|
+
|
|
16
|
+
**Note:** Version bump only for package @exodus/solana-plugin
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
6
22
|
## [1.36.0](https://github.com/ExodusMovement/assets/compare/@exodus/solana-plugin@1.35.0...@exodus/solana-plugin@1.36.0) (2026-03-12)
|
|
7
23
|
|
|
8
24
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@exodus/solana-plugin",
|
|
3
|
-
"version": "1.36.
|
|
3
|
+
"version": "1.36.2",
|
|
4
4
|
"description": "Solana plugin for Exodus SDK powered wallets.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "src/index.js",
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"@exodus/bip44-constants": "^195.0.0",
|
|
28
28
|
"@exodus/i18n-dummy": "^1.0.0",
|
|
29
29
|
"@exodus/send-validation-model": "^1.0.0",
|
|
30
|
-
"@exodus/solana-api": "^3.30.
|
|
30
|
+
"@exodus/solana-api": "^3.30.4",
|
|
31
31
|
"@exodus/solana-lib": "^3.20.1",
|
|
32
32
|
"@exodus/solana-meta": "^2.3.1",
|
|
33
33
|
"@exodus/web3-solana-utils": "^2.9.0",
|
|
@@ -44,5 +44,5 @@
|
|
|
44
44
|
"type": "git",
|
|
45
45
|
"url": "git+https://github.com/ExodusMovement/assets.git"
|
|
46
46
|
},
|
|
47
|
-
"gitHead": "
|
|
47
|
+
"gitHead": "49d472ae5c602ba68329227e0e0cd3a9b4568fba"
|
|
48
48
|
}
|
package/src/create-asset.js
CHANGED
|
@@ -195,7 +195,7 @@ export const createSolanaAssetFactory =
|
|
|
195
195
|
return { fee, priorityFee }
|
|
196
196
|
}
|
|
197
197
|
|
|
198
|
-
const getFeeAsync = getFeeAsyncFactory({ createTx })
|
|
198
|
+
const getFeeAsync = getFeeAsyncFactory({ assetClientInterface, createTx })
|
|
199
199
|
|
|
200
200
|
const sendValidations = sendValidationsFactory({
|
|
201
201
|
api: defaultApi,
|
|
@@ -223,42 +223,42 @@ export const createSolanaAssetFactory =
|
|
|
223
223
|
})
|
|
224
224
|
|
|
225
225
|
const api = {
|
|
226
|
-
|
|
227
|
-
addressHasHistory: (...args) => defaultApi.addressHasHistory(...args),
|
|
226
|
+
addressHasHistory: (...args) => defaultApi.addressIsActive(...args),
|
|
228
227
|
broadcastTx: (...args) => defaultApi.broadcastTransaction(...args),
|
|
229
228
|
createAccountState: () => SolanaAccountState,
|
|
230
|
-
securityChecks,
|
|
231
229
|
createHistoryMonitor,
|
|
232
230
|
createToken: (tokenDef) =>
|
|
233
231
|
tokenDef.isBuiltIn ? createToken(tokenDef) : createCustomToken(tokenDef),
|
|
234
232
|
createTx,
|
|
235
233
|
defaultAddressPath,
|
|
236
234
|
features,
|
|
237
|
-
|
|
235
|
+
getActivityTxs,
|
|
238
236
|
getBalanceForAddress: createGetBalanceForAddress({ api: defaultApi, asset: base }),
|
|
237
|
+
getBalances,
|
|
239
238
|
getDefaultAddressPath: () => defaultAddressPath,
|
|
240
239
|
getFee,
|
|
241
240
|
getFeeAsync,
|
|
242
241
|
getFeeData: () => feeData,
|
|
243
|
-
getSupportedPurposes: () => [44],
|
|
244
242
|
getKeyIdentifier,
|
|
245
243
|
getSendValidations: () => sendValidations,
|
|
244
|
+
getSupportedPurposes: () => [44],
|
|
246
245
|
getTokens: () =>
|
|
247
246
|
Object.values(assets)
|
|
248
247
|
.filter((asset) => asset.name !== base.name)
|
|
249
248
|
.map(createToken),
|
|
250
249
|
hasFeature: (feature) => !!features[feature], // @deprecated use api.features instead
|
|
251
250
|
privateKeyEncodingDefinition: { encoding: 'base58', data: 'priv|pub' },
|
|
251
|
+
securityChecks,
|
|
252
252
|
sendTx,
|
|
253
|
-
signTx: ({ unsignedTx, privateKey, signer }) =>
|
|
254
|
-
signer
|
|
255
|
-
? signUnsignedTxWithSigner(unsignedTx, signer)
|
|
256
|
-
: signUnsignedTx(unsignedTx, privateKey),
|
|
257
253
|
signHardware: createSignHardwareFactory({ getKeyIdentifier, api: defaultApi }),
|
|
258
254
|
signMessage: ({ privateKey, signer, message }) =>
|
|
259
255
|
signer
|
|
260
256
|
? signMessageWithSigner({ signer, message })
|
|
261
257
|
: signMessageNew({ privateKey, message }),
|
|
258
|
+
signTx: ({ unsignedTx, privateKey, signer }) =>
|
|
259
|
+
signer
|
|
260
|
+
? signUnsignedTxWithSigner(unsignedTx, signer)
|
|
261
|
+
: signUnsignedTx(unsignedTx, privateKey),
|
|
262
262
|
staking: assetStakingApi,
|
|
263
263
|
validateAssetId: isValidAddress,
|
|
264
264
|
web3: createWeb3API({
|