@fluido/dreno-core
Advanced tools
Comparing version 0.0.1-alpha-4 to 0.1.0-alpha-10
@@ -6,4 +6,9 @@ import type { UserData } from './schemas'; | ||
getProjectId(): string; | ||
getUserData(forceRefresh?: boolean): Promise<{ | ||
user?: { | ||
getUserData({ forceRefresh, ignoreExpiration, accessToken, refreshToken, }?: { | ||
forceRefresh?: boolean | undefined; | ||
ignoreExpiration?: boolean | undefined; | ||
accessToken?: string | undefined; | ||
refreshToken?: string | undefined; | ||
}): Promise<{ | ||
payload?: { | ||
id: string; | ||
@@ -19,6 +24,6 @@ createdAt: Date; | ||
} | undefined; | ||
expired?: boolean | undefined; | ||
entries?: [string, string][] | undefined; | ||
}>; | ||
getPublicAccessKey(): Promise<any>; | ||
getLogoutChainURL(projectURL: URL): URL; | ||
signInWithPassword(args: { | ||
@@ -25,0 +30,0 @@ identity: string; |
@@ -14,2 +14,3 @@ export declare const URLS: { | ||
PROJECT_KEY: string; | ||
PROJECT_USER: string; | ||
}; | ||
@@ -16,0 +17,0 @@ export declare const ENV_KEYS: { |
@@ -26,3 +26,5 @@ import { type Output } from 'valibot'; | ||
}>; | ||
export type ProjectData = Output<typeof ProjectSchema>; | ||
export type ProjectData = Output<typeof ProjectSchema> & { | ||
readonly slug: string; | ||
}; | ||
export type ProjectWithOwnerData = ProjectData & { | ||
@@ -29,0 +31,0 @@ owner: OrganizationWithOwnerData; |
{ | ||
"name": "@fluido/dreno-core", | ||
"version": "0.0.1-alpha-4", | ||
"version": "0.1.0-alpha-10", | ||
"description": "Dreno library", | ||
@@ -10,9 +10,10 @@ "license": "MIT", | ||
}, | ||
"module": "dist/index.js", | ||
"main": "dist/cjs/index.js", | ||
"type": "module", | ||
"module": "dist/index.mjs", | ||
"main": "dist/index.cjs", | ||
"types": "dist/index.d.ts", | ||
"exports": { | ||
".": { | ||
"import": "./dist/index.js", | ||
"require": "./dist/cjs/index.js", | ||
"import": "./dist/index.mjs", | ||
"require": "./dist/index.cjs", | ||
"types": "./dist/index.d.ts" | ||
@@ -24,7 +25,7 @@ } | ||
"build": "run-p build:*", | ||
"dev:esm": "esbuild --bundle --watch --packages=external --platform=node --target=es2020 --format=esm --outdir=dist src/index.ts", | ||
"dev:cjs": "esbuild --bundle --watch --packages=external --platform=node --target=es2020 --format=cjs --outdir=dist/cjs src/index.ts", | ||
"dev:esm": "esbuild --bundle --watch --packages=external --platform=node --target=es2020 --format=esm --out-extension:.js=.mjs --outdir=dist src/index.ts", | ||
"dev:cjs": "esbuild --bundle --watch --packages=external --platform=node --target=es2020 --format=cjs --out-extension:.js=.cjs --outdir=dist src/index.ts", | ||
"dev:types": "tsc -w", | ||
"build:esm": "esbuild --bundle --packages=external --platform=node --target=es2020 --format=esm --outdir=dist src/index.ts", | ||
"build:cjs": "esbuild --bundle --packages=external --platform=node --target=es2020 --format=cjs --outdir=dist/cjs src/index.ts", | ||
"build:esm": "esbuild --bundle --packages=external --platform=node --target=es2020 --format=esm --out-extension:.js=.mjs --outdir=dist src/index.ts", | ||
"build:cjs": "esbuild --bundle --packages=external --platform=node --target=es2020 --format=cjs --out-extension:.js=.cjs --outdir=dist src/index.ts", | ||
"build:types": "tsc" | ||
@@ -31,0 +32,0 @@ }, |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
42424
1130
Yes
11