@neutral-trade/sdk 0.3.6 → 0.3.7
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/dist/index.mjs +2 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -12801,7 +12801,8 @@ function toVaultConfig(entry, cluster = "mainnet") {
|
|
|
12801
12801
|
}
|
|
12802
12802
|
/**
|
|
12803
12803
|
* Transform an array of registry entries to VaultRegistry
|
|
12804
|
-
* @param
|
|
12804
|
+
* @param entries Registry entries to transform
|
|
12805
|
+
* @param cluster Used to resolve default bundle program id when `bundleProgramId` is omitted in JSON
|
|
12805
12806
|
*/
|
|
12806
12807
|
function toVaultRegistry(entries, cluster = "mainnet") {
|
|
12807
12808
|
return Object.fromEntries(entries.map((entry) => [entry.vaultId, toVaultConfig(entry, cluster)]));
|