@sodax/types 2.3.0-rc.2 → 2.3.0-rc.3
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/README.md +1 -1
- package/dist/chains/tokens.js +1 -4
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/moneyMarket/moneyMarket.d.ts +802 -42
- package/dist/moneyMarket/moneyMarket.js +18 -2
- package/dist/sodax-config/sodax-config.d.ts +401 -21
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -66,7 +66,7 @@ The package currently exposes only the root export (`@sodax/types`) and the DEX
|
|
|
66
66
|
| Hooks | shared hook types (`hooks`) |
|
|
67
67
|
| Utilities | `DeepPartial`, `getChainType`, `getEvmChainKeyByChainId`, chain guard helpers, bnUSD token helpers |
|
|
68
68
|
|
|
69
|
-
[^cfg]: `spokeChainConfig` and `sodaxConfig` (and the related `hubConfig`, etc.) are **packaged-default snapshots** frozen at SDK release time. They are safe to import at module scope, but **direct imports do NOT reflect overrides passed to `new Sodax(config)
|
|
69
|
+
[^cfg]: `spokeChainConfig` and `sodaxConfig` (and the related `hubConfig`, etc.) are **packaged-default snapshots** frozen at SDK release time. They are safe to import at module scope, but **direct imports do NOT reflect overrides passed to `new Sodax(config)`** — those flow into the `ConfigService` only. Once a `Sodax` instance exists, prefer the instance-scope readers: `sodax.config.spokeChainConfig`, `sodax.config.getChainConfig(chainKey)`, `sodax.config.sodaxConfig`, `sodax.config.getHubChainConfig()`, etc. Mixing a static import with a custom-configured `Sodax` instance will silently fall back to defaults for any chain you customized.
|
|
70
70
|
|
|
71
71
|
## Wallet Providers
|
|
72
72
|
|
package/dist/chains/tokens.js
CHANGED
|
@@ -4792,10 +4792,7 @@ export const robinhoodSupportedTokens = {
|
|
|
4792
4792
|
vault: SodaTokens.sodaUSDC.address,
|
|
4793
4793
|
},
|
|
4794
4794
|
// Tokenized stocks, ETFs and commodity ETPs — Robinhood's own "<Company> •
|
|
4795
|
-
// Robinhood Token" product.
|
|
4796
|
-
// yet, so `vault` mirrors `hubAsset` (same convention as the Solana xStock
|
|
4797
|
-
// entries). DJT, GLD and RDDT are intentionally omitted — no Chainlink price
|
|
4798
|
-
// feed exists for them, so the solver cannot price or swap them.
|
|
4795
|
+
// Robinhood Token" product. Each `vault` is that equity's Sonic vault in `SodaTokens`.
|
|
4799
4796
|
SPCX: {
|
|
4800
4797
|
symbol: 'SPCX',
|
|
4801
4798
|
isRwa: true,
|
package/dist/index.d.ts
CHANGED
|
@@ -29,7 +29,7 @@ export * from './wallet/index.js';
|
|
|
29
29
|
* sentinel for a stable release. Use {@link configVersionFor} and {@link formatConfigVersion} rather
|
|
30
30
|
* than unpacking it by hand.
|
|
31
31
|
*/
|
|
32
|
-
export declare const CONFIG_VERSION =
|
|
32
|
+
export declare const CONFIG_VERSION = 2030003;
|
|
33
33
|
/** A version decoded from a config version number. `rc` is `null` for a stable release. */
|
|
34
34
|
export type ParsedConfigVersion = {
|
|
35
35
|
major: number;
|
package/dist/index.js
CHANGED
|
@@ -29,7 +29,7 @@ export * from './wallet/index.js';
|
|
|
29
29
|
* sentinel for a stable release. Use {@link configVersionFor} and {@link formatConfigVersion} rather
|
|
30
30
|
* than unpacking it by hand.
|
|
31
31
|
*/
|
|
32
|
-
export const CONFIG_VERSION =
|
|
32
|
+
export const CONFIG_VERSION = 2030003; // 2.3.0-rc.3
|
|
33
33
|
/** Highest rc slot, reserved for a stable release so it outranks every rc of the same triple. */
|
|
34
34
|
const RC_STABLE = 99;
|
|
35
35
|
const MIN_CONFIG_VERSION = 1_000_000;
|