@settlemint/dalp-sdk 3.1.19 → 3.1.20-release.34489123303
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/api-types.generated.d.ts +14125 -0
- package/dist/api-types.generated.d.ts.map +1 -0
- package/dist/contract.d.ts +14 -9
- package/dist/contract.d.ts.map +1 -1
- package/dist/index.js +5034 -5091
- package/dist/types.d.ts +12 -7
- package/dist/types.d.ts.map +1 -1
- package/dist/version.d.ts.map +1 -1
- package/dist/version.generated.d.ts +8 -0
- package/dist/version.generated.d.ts.map +1 -0
- package/package.json +6 -3
package/dist/contract.d.ts
CHANGED
|
@@ -1,17 +1,22 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Re-exports the DALP v2 contract.
|
|
2
|
+
* Re-exports the DALP v2 contract for the runtime link.
|
|
3
3
|
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
4
|
+
* `bun build` inlines the contract definition, including every Zod schema from
|
|
5
|
+
* workspace packages, so a consumer never installs a workspace-only package to
|
|
6
|
+
* run the client. The declaration is a separate problem: `@dalp/api-contract`
|
|
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.
|
|
7
10
|
*
|
|
8
|
-
* The
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
+
* The explicit `AnyContractRouter` annotation keeps the emitted declaration
|
|
12
|
+
* self-contained: `@orpc/contract` is a real dependency of this package. The
|
|
13
|
+
* call-site types come from `./generated/api-types.ts` instead, which carries
|
|
14
|
+
* the shapes rather than a reference to them.
|
|
11
15
|
*
|
|
12
|
-
* Related: packages/dalp/api-contract/src/contract.ts
|
|
16
|
+
* Related: packages/dalp/api-contract/src/contract.ts, kit/sdk/scripts/codegen.ts
|
|
13
17
|
*
|
|
14
18
|
* @module
|
|
15
19
|
*/
|
|
16
|
-
|
|
20
|
+
import type { AnyContractRouter } from "@orpc/contract";
|
|
21
|
+
export declare const rpcContract: AnyContractRouter;
|
|
17
22
|
//# 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;;;;;;;;;;;;;;;;;;GAkBG;AACH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAGxD,eAAO,MAAM,WAAW,EAAE,iBAAmC,CAAC"}
|