@settlemint/dalp-sdk 3.1.19-main.34958175732 → 3.1.19-main.34963298477

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-0ns4zjz2.js";
13
+ } from "./chunk-ccc74km4.js";
14
14
 
15
15
  // src/auth/live.ts
16
16
  import { apiKeyClient } from "@better-auth/api-key/client";
@@ -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.34958175732",
105
+ version: "3.1.19-main.34963298477",
106
106
  private: false,
107
107
  description: "Fully typed SDK for the DALP tokenization platform API",
108
108
  homepage: "https://settlemint.com",
@@ -11762,6 +11762,16 @@ export type JumioCredentialsSet = {
11762
11762
 
11763
11763
  export type JumioRegion = "amer-1" | "eu-1" | "sg-1";
11764
11764
 
11765
+ export type Jwks = {
11766
+ readonly id: string;
11767
+ readonly publicKey: string;
11768
+ readonly privateKey: string;
11769
+ readonly createdAt: string;
11770
+ readonly expiresAt?: string;
11771
+ readonly alg?: string;
11772
+ readonly crv?: string;
11773
+ };
11774
+
11765
11775
  export type KycActionMetadata = {
11766
11776
  readonly reason: string;
11767
11777
  readonly requiredFields: ReadonlyArray<string>;
@@ -13714,6 +13724,7 @@ export type Organization = {
13714
13724
  readonly createdAt: string;
13715
13725
  readonly metadata?: string;
13716
13726
  readonly onboardingCompletedAt?: string;
13727
+ readonly archivedAt?: string;
13717
13728
  };
13718
13729
 
13719
13730
  export type OrganizationArchiveState = {
@@ -14734,13 +14745,6 @@ export type PublicConfigGetOutputResponse = {
14734
14745
 
14735
14746
  export type RPCURL = string;
14736
14747
 
14737
- export type RateLimit = {
14738
- readonly id: string;
14739
- readonly key: string;
14740
- readonly count: number;
14741
- readonly lastRequest: number;
14742
- };
14743
-
14744
14748
  export type RealEstateNumberEncoded = string;
14745
14749
 
14746
14750
  export type RealEstatePropertyType = "EMPTY_LAND" | "AGRICULTURAL_LAND" | "RESIDENTIAL_LAND" | "COMMERCIAL_LAND" | "INDUSTRIAL_LAND" | "SINGLE_FAMILY_HOUSE" | "VILLA" | "TOWNHOUSE" | "APARTMENT" | "CONDOMINIUM" | "OFFICE_BUILDING" | "RETAIL_SPACE" | "SHOPPING_MALL" | "WAREHOUSE" | "INDUSTRIAL_BUILDING" | "HOTEL" | "RESORT" | "HOSPITAL" | "CLINIC" | "SCHOOL" | "UNIVERSITY" | "SPORTS_FACILITY" | "PARKING_FACILITY" | "MIXED_USE_BUILDING" | "PLACE_OF_WORSHIP" | "GOVERNMENT_BUILDING" | "UNDER_CONSTRUCTION" | "OTHER";
@@ -52223,6 +52227,8 @@ export type AuthGetDeviceData = {
52223
52227
  export type AuthGetDeviceResponse = {
52224
52228
  readonly user_code?: string;
52225
52229
  readonly status?: "pending" | "approved" | "denied";
52230
+ readonly client_id?: string;
52231
+ readonly scope?: string;
52226
52232
  };
52227
52233
 
52228
52234
  export type AuthGetOrganizationGetInvitationData = {
@@ -52393,6 +52399,7 @@ export type AuthPostCallbackIdData = {
52393
52399
  readonly error_description?: string;
52394
52400
  readonly state?: string;
52395
52401
  readonly user?: string;
52402
+ readonly iss?: string;
52396
52403
  };
52397
52404
 
52398
52405
  export type AuthPostCallbackIdResponse = void;
@@ -52439,6 +52446,13 @@ export type AuthPostDeviceTokenResponse = {
52439
52446
  readonly user?: User;
52440
52447
  };
52441
52448
 
52449
+ export type AuthPostDynamicBridgeTokenData = Readonly<Record<string, never>>;
52450
+
52451
+ export type AuthPostDynamicBridgeTokenResponse = {
52452
+ readonly token: string;
52453
+ readonly environmentId: string;
52454
+ };
52455
+
52442
52456
  export type AuthPostOrganizationAcceptInvitationData = {
52443
52457
  readonly invitationId: string;
52444
52458
  };
@@ -52542,10 +52556,12 @@ export type AuthPostTwoFactorDisableResponse = {
52542
52556
 
52543
52557
  export type AuthPostTwoFactorEnableData = {
52544
52558
  readonly password: string;
52559
+ readonly method?: "otp" | "totp";
52545
52560
  readonly issuer?: string;
52546
52561
  };
52547
52562
 
52548
52563
  export type AuthPostTwoFactorEnableResponse = {
52564
+ readonly method: "otp" | "totp";
52549
52565
  readonly totpURI?: string;
52550
52566
  readonly backupCodes?: ReadonlyArray<string>;
52551
52567
  };
@@ -52747,7 +52763,7 @@ export type DeleteUserResponse = {
52747
52763
  };
52748
52764
 
52749
52765
  export type GeneratePasskeyRegistrationOptionsData = {
52750
- readonly authenticatorAttachment?: string;
52766
+ readonly authenticatorAttachment?: "platform" | "cross-platform";
52751
52767
  readonly name?: string;
52752
52768
  readonly context?: string;
52753
52769
  };
@@ -52782,6 +52798,28 @@ export type GeneratePasskeyRegistrationOptionsResponse = {
52782
52798
  readonly extensions?: Readonly<Record<string, unknown>>;
52783
52799
  };
52784
52800
 
52801
+ export type GetJSONWebKeySetData = Readonly<Record<string, never>>;
52802
+
52803
+ export type GetJSONWebKeySetResponse = {
52804
+ readonly keys: ReadonlyArray<{
52805
+ readonly kid: string;
52806
+ readonly kty: string;
52807
+ readonly alg: string;
52808
+ readonly use?: "sig";
52809
+ readonly n?: string;
52810
+ readonly e?: string;
52811
+ readonly crv?: string;
52812
+ readonly x?: string;
52813
+ readonly y?: string;
52814
+ }>;
52815
+ };
52816
+
52817
+ export type GetJSONWebTokenData = Readonly<Record<string, never>>;
52818
+
52819
+ export type GetJSONWebTokenResponse = {
52820
+ readonly token?: string;
52821
+ };
52822
+
52785
52823
  export type GetOrganizationData = Readonly<Record<string, never>>;
52786
52824
 
52787
52825
  export type GetOrganizationResponse = Organization;
@@ -52874,9 +52912,13 @@ export type PasskeyVerifyAuthenticationResponse = {
52874
52912
  export type PasskeyVerifyRegistrationData = {
52875
52913
  readonly response: unknown;
52876
52914
  readonly name?: string;
52915
+ readonly createSession?: boolean;
52877
52916
  };
52878
52917
 
52879
- export type PasskeyVerifyRegistrationResponse = Passkey;
52918
+ export type PasskeyVerifyRegistrationResponse = Readonly<Record<string, unknown>> & Passkey & {
52919
+ readonly session?: Session;
52920
+ readonly user?: User;
52921
+ };
52880
52922
 
52881
52923
  export type RemoveUserData = {
52882
52924
  readonly userId: string;
@@ -52969,10 +53011,16 @@ export type SignInEmailResponse = {
52969
53011
  readonly user: User;
52970
53012
  };
52971
53013
 
52972
- export type SignOutData = Readonly<Record<string, unknown>>;
53014
+ export type SignOutData = {
53015
+ readonly callbackURL?: string;
53016
+ readonly disableRedirect?: boolean;
53017
+ readonly state?: string;
53018
+ };
52973
53019
 
52974
53020
  export type SignOutResponse = {
52975
53021
  readonly success?: boolean;
53022
+ readonly url?: string;
53023
+ readonly redirect?: boolean;
52976
53024
  };
52977
53025
 
52978
53026
  export type SignUpWithEmailAndPasswordData = {
@@ -53001,7 +53049,7 @@ export type SocialSignInData = {
53001
53049
  readonly callbackURL?: string;
53002
53050
  readonly newUserCallbackURL?: string;
53003
53051
  readonly errorCallbackURL?: string;
53004
- readonly provider: "apple" | "atlassian" | "cognito" | "discord" | "facebook" | "figma" | "github" | "microsoft" | "google" | "huggingface" | "slack" | "spotify" | "twitch" | "twitter" | "dropbox" | "kick" | "linear" | "linkedin" | "gitlab" | "tiktok" | "reddit" | "roblox" | "salesforce" | "vk" | "zoom" | "notion" | "kakao" | "naver" | "line" | "paybin" | "paypal" | "polar" | "railway" | "vercel" | "wechat" | string;
53052
+ readonly provider: "apple" | "atlassian" | "cloudflare" | "cognito" | "discord" | "facebook" | "figma" | "github" | "microsoft" | "google" | "huggingface" | "slack" | "spotify" | "twitch" | "twitter" | "dropbox" | "kick" | "linear" | "linkedin" | "gitlab" | "tiktok" | "reddit" | "roblox" | "salesforce" | "vk" | "zoom" | "notion" | "kakao" | "naver" | "line" | "paybin" | "paypal" | "polar" | "railway" | "vercel" | "wechat" | string;
53005
53053
  readonly disableRedirect?: boolean;
53006
53054
  readonly idToken?: {
53007
53055
  readonly token: string;
@@ -53020,6 +53068,7 @@ export type SocialSignInData = {
53020
53068
  readonly scopes?: ReadonlyArray<string>;
53021
53069
  readonly requestSignUp?: boolean;
53022
53070
  readonly loginHint?: string;
53071
+ readonly additionalParams?: Readonly<Record<string, string>>;
53023
53072
  readonly additionalData?: Readonly<Record<string, unknown>>;
53024
53073
  };
53025
53074
 
package/dist/index.js CHANGED
@@ -25,7 +25,7 @@ import {
25
25
  createCookieStoreFetch2,
26
26
  SDK_VERSION2,
27
27
  SDK_USER_AGENT2
28
- } from "./chunk-0ns4zjz2.js";
28
+ } from "./chunk-ccc74km4.js";
29
29
  import {
30
30
  readsAsIndexerRebuild2
31
31
  } from "./chunk-sk9nc2q3.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@settlemint/dalp-sdk",
3
- "version": "3.1.19-main.34958175732",
3
+ "version": "3.1.19-main.34963298477",
4
4
  "private": false,
5
5
  "description": "Fully typed SDK for the DALP tokenization platform API",
6
6
  "homepage": "https://settlemint.com",