@rhinestone/sdk 0.0.0-dev-20260902124038 → 0.0.0-dev-20260907145633
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/src/clients/orchestrator/client.js +1 -1
- package/dist/src/clients/orchestrator/mappers.d.ts.map +1 -1
- package/dist/src/clients/orchestrator/mappers.js +6 -0
- package/dist/src/clients/orchestrator/wire.gen.d.ts +416 -44
- package/dist/src/clients/orchestrator/wire.gen.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -3,7 +3,7 @@ import { createOrchestratorAuth } from './auth.js';
|
|
|
3
3
|
import { ChainCatalog, parseChains } from './chain-catalog.js';
|
|
4
4
|
import { fetchOrchestratorJson } from './fetch.js';
|
|
5
5
|
import { mapIntentRequestToWire, mapIntentStatusFromWire, mapPortfolioFromWire, mapQuoteResponseFromWire, mapSignedIntentToWire, mapSplitRequestToWire, mapSplitResultFromWire, } from './mappers.js';
|
|
6
|
-
const SDK_VERSION = '0.0.0-dev-
|
|
6
|
+
const SDK_VERSION = '0.0.0-dev-20260907145633';
|
|
7
7
|
const API_VERSION = '2026-04.blanc';
|
|
8
8
|
export function createOrchestratorClient(options) {
|
|
9
9
|
const fetchPort = options.fetch ?? globalThis.fetch;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mappers.d.ts","sourceRoot":"","sources":["../../../../clients/orchestrator/mappers.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EACV,yBAAyB,EACzB,wBAAwB,EACxB,qBAAqB,EAErB,yBAAyB,EACzB,wBAAwB,EACxB,wBAAwB,EACxB,uBAAuB,EACxB,MAAM,SAAS,CAAA;AAChB,OAAO,KAAK,EAEV,yBAAyB,EAIzB,gBAAgB,EAEhB,gBAAgB,EAEjB,MAAM,QAAQ,CAAA;AAEf,wBAAgB,sBAAsB,CACpC,KAAK,EAAE,yBAAyB,GAC/B,gBAAgB,
|
|
1
|
+
{"version":3,"file":"mappers.d.ts","sourceRoot":"","sources":["../../../../clients/orchestrator/mappers.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EACV,yBAAyB,EACzB,wBAAwB,EACxB,qBAAqB,EAErB,yBAAyB,EACzB,wBAAwB,EACxB,wBAAwB,EACxB,uBAAuB,EACxB,MAAM,SAAS,CAAA;AAChB,OAAO,KAAK,EAEV,yBAAyB,EAIzB,gBAAgB,EAEhB,gBAAgB,EAEjB,MAAM,QAAQ,CAAA;AAEf,wBAAgB,sBAAsB,CACpC,KAAK,EAAE,yBAAyB,GAC/B,gBAAgB,CA4BlB;AAED,wBAAgB,wBAAwB,CACtC,KAAK,EAAE,OAAO,GACb,yBAAyB,CAM3B;AAED,wBAAgB,qBAAqB,CACnC,KAAK,EAAE,wBAAwB,GAC9B,yBAAyB,CA0B3B;AAED,wBAAgB,uBAAuB,CACrC,QAAQ,EAAE,MAAM,EAChB,KAAK,EAAE,OAAO,GACb,wBAAwB,CAwB1B;AAED,wBAAgB,oBAAoB,CAAC,KAAK,EAAE,OAAO,GAAG,qBAAqB,CAuB1E;AAED,wBAAgB,qBAAqB,CACnC,KAAK,EAAE,wBAAwB,GAC9B,gBAAgB,CAMlB;AAED,wBAAgB,sBAAsB,CACpC,KAAK,EAAE,OAAO,GACb,uBAAuB,CAgBzB"}
|
|
@@ -11,6 +11,7 @@ export function mapIntentRequestToWire(input) {
|
|
|
11
11
|
options: {
|
|
12
12
|
...input.options,
|
|
13
13
|
settlementLayers: mapSettlementLayers(input.options.settlementLayers),
|
|
14
|
+
quoters: mapQuoters(input.options.quoters),
|
|
14
15
|
signatureMode: input.options.signatureMode,
|
|
15
16
|
...(input.options.auxiliaryFunds
|
|
16
17
|
? {
|
|
@@ -253,6 +254,11 @@ function mapSettlementLayers(input) {
|
|
|
253
254
|
// Keep the legacy public string arrays while checking the rest of the wire shape.
|
|
254
255
|
return input;
|
|
255
256
|
}
|
|
257
|
+
function mapQuoters(input) {
|
|
258
|
+
// Same widening as `mapSettlementLayers`: the port keeps `string[]` so it does
|
|
259
|
+
// not depend on the venue enum, and the wire narrows it.
|
|
260
|
+
return input;
|
|
261
|
+
}
|
|
256
262
|
function mapChainRecord(input) {
|
|
257
263
|
return Object.fromEntries(Object.entries(input).map(([chainId, value]) => [
|
|
258
264
|
formatCaip2(Number(chainId)),
|