Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@fluido/dreno-core

Package Overview
Dependencies
Maintainers
2
Versions
38
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@fluido/dreno-core - npm Package Compare versions

Comparing version 0.2.0-alpha-12 to 0.2.13-alpha

31

dist/client.d.ts
import type { UserData, UserSignInMetadata } from './schemas';
export interface JwtPayload {
iss?: string | undefined;
sub?: string | undefined;
aud?: string | string[] | undefined;
exp?: number | undefined;
nbf?: number | undefined;
iat?: number | undefined;
jti?: string | undefined;
}
interface UserDataResult {
payload: (UserData & JwtPayload) | null;
expired: boolean;
entries: [string, string][];
}
export declare function createDrenoClient(authKey: string): Promise<{

@@ -11,17 +25,3 @@ setAuthorizationKeys(keys: Record<string, string | undefined>): void;

refreshToken?: string | undefined;
}): Promise<{
payload?: {
id: string;
createdAt: Date;
name: string;
status: "active" | "suspended" | "deleted" | "banished";
updatedAt: Date;
lastSignInAt: Date;
imageURL?: string | undefined;
externalId?: string | undefined;
description?: string | undefined;
} | undefined;
expired?: boolean | undefined;
entries?: [string, string][] | undefined;
}>;
}): Promise<UserDataResult>;
getPublicAccessKey(): Promise<any>;

@@ -36,1 +36,2 @@ signInWithPassword(args: {

export type DrenoClient = Awaited<ReturnType<typeof createDrenoClient>>;
export {};

@@ -8,2 +8,3 @@ import { type Output } from 'valibot';

description: import("valibot").OptionalSchema<import("valibot").StringSchema<string>, undefined, string | undefined>;
mainIdentity: import("valibot").OptionalSchema<import("valibot").StringSchema<string>, undefined, string | undefined>;
status: import("valibot").UnionSchema<[import("valibot").EnumSchema<["active", "suspended", "deleted"], "active" | "suspended" | "deleted">, import("valibot").LiteralSchema<"banished", "banished">], "active" | "suspended" | "deleted" | "banished">;

@@ -23,2 +24,3 @@ createdAt: import("valibot").DateSchema<Date>;

description?: string | undefined;
mainIdentity?: string | undefined;
}>;

@@ -25,0 +27,0 @@ export type UserData = Output<typeof UserSchema>;

{
"name": "@fluido/dreno-core",
"version": "0.2.0-alpha-12",
"version": "0.2.13-alpha",
"description": "Dreno library",

@@ -5,0 +5,0 @@ "license": "MIT",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc