@settlemint/dalp-sdk 3.1.19-main.36055304970 → 3.1.19-main.36067497939
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 +3 -3
- package/dist/auth.js +1 -1
- package/dist/{chunk-y8gfw1k2.js → chunk-8msjtnxj.js} +1 -1
- package/dist/chunk-8y2ypm7h.js +5 -0
- package/dist/chunk-a9f76jvd.js +4 -0
- package/dist/{chunk-qjnkxfq4.js → chunk-cbhjc60q.js} +1 -1
- package/dist/{chunk-vd1krt6h.js → chunk-dy3ep0z7.js} +1 -1
- package/dist/effect.js +2 -2
- package/dist/generated/api-types.d.ts +164 -1372
- package/dist/index.js +4 -4
- package/dist/react-query.js +1 -1
- package/dist/routes/console.js +3 -3
- package/dist/routes/index.js +1 -1
- package/package.json +1 -1
- package/dist/chunk-0xv0hb1m.js +0 -5
- package/dist/chunk-c1djhyp8.js +0 -4
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
|
@@ -102,7 +102,7 @@ function createCookieStoreFetch2(cookieStore, fetchImpl = globalThis.fetch) {
|
|
|
102
102
|
// package.json
|
|
103
103
|
var package_default = {
|
|
104
104
|
name: "@settlemint/dalp-sdk",
|
|
105
|
-
version: "3.1.19-main.
|
|
105
|
+
version: "3.1.19-main.36067497939",
|
|
106
106
|
private: false,
|
|
107
107
|
description: "Fully typed SDK for the DALP tokenization platform API",
|
|
108
108
|
homepage: "https://settlemint.com",
|