@settlemint/dalp-sdk 3.1.18-main.34297395124 → 3.1.18-main.34307445701

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/auth.js CHANGED
@@ -10,7 +10,7 @@ import {
10
10
  makeCookieStore2,
11
11
  createCookieStoreFetch2,
12
12
  SDK_USER_AGENT2
13
- } from "./chunk-wekttrxt.js";
13
+ } from "./chunk-xv1r3zf7.js";
14
14
 
15
15
  // src/auth/live.ts
16
16
  import { apiKeyClient } from "@better-auth/api-key/client";
package/dist/bundler.d.ts CHANGED
@@ -4,7 +4,16 @@ import type { DalpFetch } from "./client/ssr-fetch.ts";
4
4
  import type { ReadonlyDeep } from "./readonly-deep.ts";
5
5
  export type DalpEstimateUserOperationGasReturnType = RpcEstimateUserOperationGasReturnType<"0.9">;
6
6
  export type DalpUserOperation = RpcUserOperation<"0.9">;
7
- export type DalpUserOperationRequest = RpcUserOperationRequest<"0.9">;
7
+ /**
8
+ * A user operation the bundler routes will act on.
9
+ *
10
+ * viem marks `sender`, `nonce` and `callData` optional on a request, because a
11
+ * paymaster client fills a request in over several passes. The DAPI routes
12
+ * require all three: an operation with no sender names no account, and one with
13
+ * no call data asks for nothing. Re-requiring them here refuses the incomplete
14
+ * operation at the call site rather than at the server.
15
+ */
16
+ export type DalpUserOperationRequest = RpcUserOperationRequest<"0.9"> & Pick<DalpUserOperation, "sender" | "nonce" | "callData">;
8
17
  export interface DalpBundlerClientConfig {
9
18
  readonly url: string;
10
19
  readonly apiKey: string;
package/dist/bundler.js CHANGED
@@ -1,10 +1,10 @@
1
- import"./chunk-tcmkfwr5.js";
1
+ import"./chunk-7mwcykdd.js";
2
2
  import"./chunk-j4sxrfzz.js";
3
3
  import"./chunk-wea3x9j4.js";
4
4
  import"./chunk-xp3fx2yt.js";
5
5
  import {
6
6
  createDalpClient2
7
- } from "./chunk-gff6qqhn.js";
7
+ } from "./chunk-kcdj6e5h.js";
8
8
 
9
9
  // src/bundler.ts
10
10
  import { getAddress, hexToBigInt, isHex } from "viem";