@settlemint/dalp-sdk 3.1.19-release.34482856023 → 3.1.19
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/contract.d.ts +9 -14
- package/dist/contract.d.ts.map +1 -1
- package/dist/index.js +5091 -5034
- package/dist/types.d.ts +7 -12
- package/dist/types.d.ts.map +1 -1
- package/dist/version.d.ts.map +1 -1
- package/package.json +3 -6
- package/dist/api-types.generated.d.ts +0 -14125
- package/dist/api-types.generated.d.ts.map +0 -1
- package/dist/version.generated.d.ts +0 -8
- package/dist/version.generated.d.ts.map +0 -1
package/dist/contract.d.ts
CHANGED
|
@@ -1,22 +1,17 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Re-exports the DALP v2 contract
|
|
2
|
+
* Re-exports the DALP v2 contract.
|
|
3
3
|
*
|
|
4
|
-
* `bun build`
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
* is private and unresolvable for a consumer, and re-exporting its inferred
|
|
8
|
-
* type leaves the published declaration pointing at a module that is not there.
|
|
9
|
-
* Under `skipLibCheck` that resolves to `any` and silently unchecks every call.
|
|
4
|
+
* At build time, `bun build` bundles the contract definition (including all
|
|
5
|
+
* Zod schemas from workspace packages) into the SDK's `dist/` output.
|
|
6
|
+
* Consumers never need to install workspace-only packages.
|
|
10
7
|
*
|
|
11
|
-
* The
|
|
12
|
-
*
|
|
13
|
-
*
|
|
14
|
-
* the shapes rather than a reference to them.
|
|
8
|
+
* The SDK uses this contract with OpenAPILink to call the REST endpoint
|
|
9
|
+
* (/api/v2), where route definitions (method + path) drive proper HTTP
|
|
10
|
+
* method selection (GET for reads, POST for writes).
|
|
15
11
|
*
|
|
16
|
-
* Related: packages/dalp/api-contract/src/contract.ts
|
|
12
|
+
* Related: packages/dalp/api-contract/src/contract.ts
|
|
17
13
|
*
|
|
18
14
|
* @module
|
|
19
15
|
*/
|
|
20
|
-
|
|
21
|
-
export declare const rpcContract: AnyContractRouter;
|
|
16
|
+
export { rpcContract } from "@dalp/api-contract/contract";
|
|
22
17
|
//# sourceMappingURL=contract.d.ts.map
|
package/dist/contract.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"contract.d.ts","sourceRoot":"","sources":["../src/contract.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"contract.d.ts","sourceRoot":"","sources":["../src/contract.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AACH,OAAO,EAAE,WAAW,EAAE,MAAM,6BAA6B,CAAC"}
|