@rhinestone/sdk 0.0.0-dev-20260804163746 → 0.0.0-dev-20260804171847

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.
@@ -15,7 +15,6 @@ declare function enable(validators: (OwnableValidatorConfig | WebauthnValidatorC
15
15
  declare function changeThreshold(newThreshold: number): CalldataInput;
16
16
  /**
17
17
  * Disable multi-factor authentication
18
- * @param rhinestoneAccount Account to disable multi-factor authentication on
19
18
  * @returns Calls to disable multi-factor authentication
20
19
  */
21
20
  declare function disable(): LazyCallInput;
@@ -1 +1 @@
1
- {"version":3,"file":"mfa.d.ts","sourceRoot":"","sources":["../../../actions/mfa.ts"],"names":[],"mappings":"AAAA,OAAO,EAAsB,KAAK,GAAG,EAAiB,MAAM,MAAM,CAAA;AAClE,OAAO,KAAK,EACV,aAAa,EACb,aAAa,EACb,sBAAsB,EACtB,uBAAuB,EACxB,MAAM,mBAAmB,CAAA;AA6C1B;;;;;GAKG;AACH,iBAAS,MAAM,CACb,UAAU,EAAE,CAAC,sBAAsB,GAAG,uBAAuB,GAAG,IAAI,CAAC,EAAE,EACvE,SAAS,SAAI,GACZ,aAAa,CAOf;AAED;;;;GAIG;AACH,iBAAS,eAAe,CAAC,YAAY,EAAE,MAAM,GAAG,aAAa,CAkB5D;AAED;;;;GAIG;AACH,iBAAS,OAAO,IAAI,aAAa,CAOhC;AAED;;;;;GAKG;AACH,iBAAS,eAAe,CACtB,EAAE,EAAE,GAAG,GAAG,MAAM,EAChB,SAAS,EAAE,sBAAsB,GAAG,uBAAuB,GAC1D,aAAa,CA+Bf;AAED;;;;;GAKG;AACH,iBAAS,kBAAkB,CACzB,EAAE,EAAE,GAAG,GAAG,MAAM,EAChB,SAAS,EAAE,sBAAsB,GAAG,uBAAuB,GAC1D,aAAa,CA2Bf;AAED,OAAO,EAAE,MAAM,EAAE,eAAe,EAAE,OAAO,EAAE,eAAe,EAAE,kBAAkB,EAAE,CAAA"}
1
+ {"version":3,"file":"mfa.d.ts","sourceRoot":"","sources":["../../../actions/mfa.ts"],"names":[],"mappings":"AAAA,OAAO,EAAsB,KAAK,GAAG,EAAiB,MAAM,MAAM,CAAA;AAClE,OAAO,KAAK,EACV,aAAa,EACb,aAAa,EACb,sBAAsB,EACtB,uBAAuB,EACxB,MAAM,mBAAmB,CAAA;AA6C1B;;;;;GAKG;AACH,iBAAS,MAAM,CACb,UAAU,EAAE,CAAC,sBAAsB,GAAG,uBAAuB,GAAG,IAAI,CAAC,EAAE,EACvE,SAAS,SAAI,GACZ,aAAa,CAOf;AAED;;;;GAIG;AACH,iBAAS,eAAe,CAAC,YAAY,EAAE,MAAM,GAAG,aAAa,CAkB5D;AAED;;;GAGG;AACH,iBAAS,OAAO,IAAI,aAAa,CAOhC;AAED;;;;;GAKG;AACH,iBAAS,eAAe,CACtB,EAAE,EAAE,GAAG,GAAG,MAAM,EAChB,SAAS,EAAE,sBAAsB,GAAG,uBAAuB,GAC1D,aAAa,CA+Bf;AAED;;;;;GAKG;AACH,iBAAS,kBAAkB,CACzB,EAAE,EAAE,GAAG,GAAG,MAAM,EAChB,SAAS,EAAE,sBAAsB,GAAG,uBAAuB,GAC1D,aAAa,CA2Bf;AAED,OAAO,EAAE,MAAM,EAAE,eAAe,EAAE,OAAO,EAAE,eAAe,EAAE,kBAAkB,EAAE,CAAA"}
@@ -61,7 +61,6 @@ function changeThreshold(newThreshold) {
61
61
  }
62
62
  /**
63
63
  * Disable multi-factor authentication
64
- * @param rhinestoneAccount Account to disable multi-factor authentication on
65
64
  * @returns Calls to disable multi-factor authentication
66
65
  */
67
66
  function disable() {
@@ -2,8 +2,7 @@ import type { CalldataInput, LazyCallInput } from '../config/account.js';
2
2
  import { type WebauthnCredential } from '../modules/validators/webauthn.js';
3
3
  /**
4
4
  * Enable passkeys authentication
5
- * @param pubKey Public key for the passkey
6
- * @param authenticatorId Authenticator ID for the passkey
5
+ * @param credential WebAuthn credential to enable
7
6
  * @returns Calls to enable passkeys authentication
8
7
  */
9
8
  declare function enable(credential: WebauthnCredential): LazyCallInput;
@@ -1 +1 @@
1
- {"version":3,"file":"passkeys.d.ts","sourceRoot":"","sources":["../../../actions/passkeys.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAA;AACrE,OAAO,EAGL,KAAK,kBAAkB,EACxB,MAAM,gCAAgC,CAAA;AAWvC;;;;;GAKG;AACH,iBAAS,MAAM,CAAC,UAAU,EAAE,kBAAkB,GAAG,aAAa,CAU7D;AAED;;;GAGG;AACH,iBAAS,OAAO,IAAI,aAAa,CAgBhC;AAED;;;;;;GAMG;AACH,iBAAS,QAAQ,CACf,OAAO,EAAE,MAAM,EACf,OAAO,EAAE,MAAM,EACf,uBAAuB,EAAE,OAAO,GAC/B,aAAa,CAOf;AAED;;;;;GAKG;AACH,iBAAS,WAAW,CAAC,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,GAAG,aAAa,CAEpE;AAED;;;;GAIG;AACH,iBAAS,eAAe,CAAC,YAAY,EAAE,MAAM,GAAG,aAAa,CAE5D;AAED,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,eAAe,EAAE,OAAO,EAAE,MAAM,EAAE,CAAA"}
1
+ {"version":3,"file":"passkeys.d.ts","sourceRoot":"","sources":["../../../actions/passkeys.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAA;AACrE,OAAO,EAGL,KAAK,kBAAkB,EACxB,MAAM,gCAAgC,CAAA;AAWvC;;;;GAIG;AACH,iBAAS,MAAM,CAAC,UAAU,EAAE,kBAAkB,GAAG,aAAa,CAU7D;AAED;;;GAGG;AACH,iBAAS,OAAO,IAAI,aAAa,CAgBhC;AAED;;;;;;GAMG;AACH,iBAAS,QAAQ,CACf,OAAO,EAAE,MAAM,EACf,OAAO,EAAE,MAAM,EACf,uBAAuB,EAAE,OAAO,GAC/B,aAAa,CAOf;AAED;;;;;GAKG;AACH,iBAAS,WAAW,CAAC,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,GAAG,aAAa,CAEpE;AAED;;;;GAIG;AACH,iBAAS,eAAe,CAAC,YAAY,EAAE,MAAM,GAAG,aAAa,CAE5D;AAED,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,eAAe,EAAE,OAAO,EAAE,MAAM,EAAE,CAAA"}
@@ -3,8 +3,7 @@ import { resolveModuleInstallation, resolveModuleUninstallation, } from './runti
3
3
  import { addWebauthnCredential, changeWebauthnThreshold, removeWebauthnCredential, } from './webauthn.js';
4
4
  /**
5
5
  * Enable passkeys authentication
6
- * @param pubKey Public key for the passkey
7
- * @param authenticatorId Authenticator ID for the passkey
6
+ * @param credential WebAuthn credential to enable
8
7
  * @returns Calls to enable passkeys authentication
9
8
  */
10
9
  function enable(credential) {
@@ -69,7 +69,7 @@ declare class RhinestoneSDK {
69
69
  * Create a smart session, resolving the chain's wrapped-native token from the
70
70
  * orchestrator's chain catalog (`GET /chains`) so native-token wrapping is
71
71
  * permitted automatically. Project-scoped — needs the API key but no account.
72
- * For a fully offline build, use the standalone {@link toSession} and pass
72
+ * For a fully offline build, use the standalone `toSession` and pass
73
73
  * `wrappedNativeToken` yourself.
74
74
  * @param definition The session definition
75
75
  * @returns The resolved session
@@ -91,7 +91,7 @@ class RhinestoneSDK {
91
91
  * Create a smart session, resolving the chain's wrapped-native token from the
92
92
  * orchestrator's chain catalog (`GET /chains`) so native-token wrapping is
93
93
  * permitted automatically. Project-scoped — needs the API key but no account.
94
- * For a fully offline build, use the standalone {@link toSession} and pass
94
+ * For a fully offline build, use the standalone `toSession` and pass
95
95
  * `wrappedNativeToken` yourself.
96
96
  * @param definition The session definition
97
97
  * @returns The resolved session
@@ -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-20260804163746';
6
+ const SDK_VERSION = '0.0.0-dev-20260804171847';
7
7
  const API_VERSION = '2026-04.blanc';
8
8
  export function createOrchestratorClient(options) {
9
9
  const fetchPort = options.fetch ?? globalThis.fetch;
@@ -195,7 +195,7 @@ type CrossChainSettlementLayer = 'SAME_CHAIN' | 'ECO' | 'ACROSS';
195
195
  * A high-level permit that authorises a session key to move funds
196
196
  * between two chains via Permit2 arbiter settlement. The SDK expands
197
197
  * one `CrossChainPermit` into a {@link Permit2ClaimPolicy} (claim-side)
198
- * plus optional {@link SpendingLimitsPolicy} / {@link TimeFramePolicy}
198
+ * plus optional `SpendingLimitsPolicy` / `TimeFramePolicy`
199
199
  * entries on the fallback action — the claim policy itself doesn't
200
200
  * enforce amounts or expiry on-chain, so we lift those guarantees into
201
201
  * action-level policies that do.
@@ -265,7 +265,7 @@ interface ToLeg {
265
265
  * addresses (v2 no longer accepts symbols) and the SDK resolves `Date`s to
266
266
  * on-chain deadlines, then expands
267
267
  * each entry into a {@link Permit2ClaimPolicy} (claim-side) plus optional
268
- * {@link SpendingLimitsPolicy} / {@link TimeFramePolicy} guardrails.
268
+ * `SpendingLimitsPolicy` / `TimeFramePolicy` guardrails.
269
269
  */
270
270
  interface CrossChainPermissionInput {
271
271
  /**
@@ -442,7 +442,7 @@ interface SessionDefinition<TAbis extends readonly Abi[] = readonly Abi[]> {
442
442
  /**
443
443
  * Cross-chain permits expanded by the SDK into matching
444
444
  * {@link Permit2ClaimPolicy} (claim-side) plus action-level
445
- * {@link SpendingLimitsPolicy} / {@link TimeFramePolicy} guardrails.
445
+ * `SpendingLimitsPolicy` / `TimeFramePolicy` guardrails.
446
446
  * See {@link CrossChainPermissionInput}.
447
447
  */
448
448
  crossChainPermits?: readonly CrossChainPermissionInput[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rhinestone/sdk",
3
- "version": "0.0.0-dev-20260804163746",
3
+ "version": "0.0.0-dev-20260804171847",
4
4
  "description": "End-to-end chain abstraction and modularity toolkit",
5
5
  "author": {
6
6
  "name": "Rhinestone",