@settlemint/dalp-sdk 3.1.7-main.32979789725 → 3.1.7-main.33009485160
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/client.d.ts +16 -0
- package/dist/auth.d.ts +1 -1
- package/dist/auth.js +1 -1
- package/dist/{chunk-qtnwtw9t.js → chunk-n4y7th7b.js} +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/auth/client.d.ts
CHANGED
|
@@ -53,6 +53,18 @@ export interface DalpOrganizationMembersQuery {
|
|
|
53
53
|
readonly organizationId?: string;
|
|
54
54
|
readonly organizationSlug?: string;
|
|
55
55
|
}
|
|
56
|
+
/** Invitation row from Better Auth `listInvitations` / `listUserInvitations`. */
|
|
57
|
+
export interface DalpOrganizationInvitation {
|
|
58
|
+
readonly id: string;
|
|
59
|
+
readonly organizationId: string;
|
|
60
|
+
readonly email: string;
|
|
61
|
+
readonly role?: string;
|
|
62
|
+
readonly status: string;
|
|
63
|
+
readonly expiresAt: string | Date;
|
|
64
|
+
}
|
|
65
|
+
export interface DalpOrganizationInvitationsQuery {
|
|
66
|
+
readonly organizationId?: string;
|
|
67
|
+
}
|
|
56
68
|
/**
|
|
57
69
|
* Stable Better Auth operation types composed into `DalpAuthClient`.
|
|
58
70
|
*
|
|
@@ -83,6 +95,10 @@ export interface DalpCliAuthClient {
|
|
|
83
95
|
readonly members: ReadonlyArray<DalpOrganizationMember>;
|
|
84
96
|
readonly total: number;
|
|
85
97
|
}>;
|
|
98
|
+
readonly listInvitations: DalpAuthOperation<{
|
|
99
|
+
readonly query?: DalpOrganizationInvitationsQuery;
|
|
100
|
+
}, ReadonlyArray<DalpOrganizationInvitation>>;
|
|
101
|
+
readonly listUserInvitations: DalpNoInputAuthOperation<ReadonlyArray<DalpOrganizationInvitation>>;
|
|
86
102
|
};
|
|
87
103
|
readonly twoFactor: {
|
|
88
104
|
readonly enable: DalpRequiredAuthOperation<RequestBody<AuthPostTwoFactorEnableData>, AuthPostTwoFactorEnableResponse>;
|
package/dist/auth.d.ts
CHANGED
|
@@ -18,5 +18,5 @@ export type { DalpAuthClient } from "./auth/live.ts";
|
|
|
18
18
|
export { decodeDalpAuthClientConfig } from "./auth/client.ts";
|
|
19
19
|
export type { DalpAuthClientConfig,
|
|
20
20
|
/** @deprecated Prefer `DalpAuthClient` — this is the typed operation surface, not a separate client. */
|
|
21
|
-
DalpCliAuthClient, DalpAuthError, DalpAuthOperation, DalpAuthResult, DalpOrganizationMember, DalpOrganizationMembersQuery, DecodedDalpAuthClientConfig, } from "./auth/client.ts";
|
|
21
|
+
DalpCliAuthClient, DalpAuthError, DalpAuthOperation, DalpAuthResult, DalpOrganizationInvitation, DalpOrganizationInvitationsQuery, DalpOrganizationMember, DalpOrganizationMembersQuery, DecodedDalpAuthClientConfig, } from "./auth/client.ts";
|
|
22
22
|
export type { WalletAuthEndpointPath } from "./auth/wallet-plugins.ts";
|
package/dist/auth.js
CHANGED
|
@@ -102,7 +102,7 @@ function createCookieStoreFetch(cookieStore, fetchImpl = globalThis.fetch) {
|
|
|
102
102
|
// package.json
|
|
103
103
|
var package_default = {
|
|
104
104
|
name: "@settlemint/dalp-sdk",
|
|
105
|
-
version: "3.1.7-main.
|
|
105
|
+
version: "3.1.7-main.33009485160",
|
|
106
106
|
private: false,
|
|
107
107
|
description: "Fully typed SDK for the DALP tokenization platform API",
|
|
108
108
|
homepage: "https://settlemint.com",
|
package/dist/index.js
CHANGED
package/package.json
CHANGED