@settlemint/dalp-sdk 3.1.19-main.36047971506 → 3.1.19-main.36061455583

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 CHANGED
@@ -20,7 +20,7 @@ const dalp = createDalpClient({
20
20
  apiKey: "sm_dalp_...",
21
21
  });
22
22
 
23
- const tokens = await dalp.api.token.list({ limit: 25 }, { signal });
23
+ const tokens = await dalp.api.token.list({ page: { limit: 25 } }, { signal });
24
24
  ```
25
25
 
26
26
  A call takes one flat object. The route table says which of its keys are path
@@ -96,7 +96,7 @@ dalp.conditionalRequests.clear();
96
96
  import { createDalpEffectClient } from "@settlemint/dalp-sdk/effect";
97
97
 
98
98
  const dalp = createDalpEffectClient({ baseUrl, apiKey });
99
- const tokens = yield * dalp.api.token.list({ limit: 25 });
99
+ const tokens = yield * dalp.api.token.list({ page: { limit: 25 } });
100
100
  ```
101
101
 
102
102
  The same routes, returning `Effect` values that fail with `DalpRequestError`
@@ -116,7 +116,7 @@ serves loads this rather than a client.
116
116
  ## TanStack Query
117
117
 
118
118
  ```ts
119
- const options = dalp.api.token.list.queryOptions({ limit: 25 });
119
+ const options = dalp.api.token.list.queryOptions({ page: { limit: 25 } });
120
120
  const transfer = dalp.api.token.transfer.mutationOptions();
121
121
  ```
122
122
 
package/dist/auth.js CHANGED
@@ -10,7 +10,7 @@ import {
10
10
  makeCookieStore2,
11
11
  createCookieStoreFetch2,
12
12
  SDK_USER_AGENT2
13
- } from "./chunk-37byar70.js";
13
+ } from "./chunk-y9vvbcdv.js";
14
14
 
15
15
  // src/auth/live.ts
16
16
  import { apiKeyClient } from "@better-auth/api-key/client";