@fonoster/identity 0.15.3 → 0.15.5
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/exchanges/createExchangeCredentials.js +0 -7
- package/dist/exchanges/createExchangeOauth2Code.js +0 -7
- package/dist/generated/@prisma/client/edge.js +6 -6
- package/dist/generated/@prisma/client/index-browser.js +4 -4
- package/dist/generated/@prisma/client/index.d.ts +2 -2
- package/dist/generated/@prisma/client/index.js +6 -6
- package/dist/generated/@prisma/client/libquery_engine-darwin-arm64.dylib.node +0 -0
- package/dist/generated/@prisma/client/libquery_engine-debian-openssl-3.0.x.so.node +0 -0
- package/dist/generated/@prisma/client/package.json +16 -6
- package/dist/generated/@prisma/client/runtime/edge-esm.js +18 -18
- package/dist/generated/@prisma/client/runtime/edge.js +18 -18
- package/dist/generated/@prisma/client/runtime/library.d.ts +63 -23
- package/dist/generated/@prisma/client/runtime/library.js +41 -41
- package/dist/generated/@prisma/client/runtime/react-native.js +21 -21
- package/dist/generated/@prisma/client/runtime/wasm-compiler-edge.js +83 -0
- package/dist/generated/@prisma/client/runtime/wasm-engine-edge.js +35 -0
- package/dist/generated/@prisma/client/wasm.js +4 -4
- package/dist/templates/inviteExistingUser.hbs +1 -7
- package/dist/templates/inviteNewUser.hbs +2 -8
- package/dist/templates/verifyEmail.hbs +3 -3
- package/dist/templates/verifyPhone.hbs +2 -2
- package/dist/users/createCreateUser.js +3 -2
- package/dist/users/createUpdateUser.js +12 -7
- package/dist/users/types.d.ts +8 -1
- package/package.json +4 -4
- package/dist/utils/verificationRequiredButNotProvided.d.ts +0 -24
- package/dist/utils/verificationRequiredButNotProvided.js +0 -7
|
@@ -98,7 +98,7 @@ export declare type BaseDMMF = {
|
|
|
98
98
|
declare type BatchArgs = {
|
|
99
99
|
queries: BatchQuery[];
|
|
100
100
|
transaction?: {
|
|
101
|
-
isolationLevel?:
|
|
101
|
+
isolationLevel?: IsolationLevel_2;
|
|
102
102
|
};
|
|
103
103
|
};
|
|
104
104
|
|
|
@@ -126,7 +126,7 @@ declare type BatchQueryOptionsCbArgs = {
|
|
|
126
126
|
declare type BatchResponse = MultiBatchResponse | CompactedBatchResponse;
|
|
127
127
|
|
|
128
128
|
declare type BatchTransactionOptions = {
|
|
129
|
-
isolationLevel?: IsolationLevel;
|
|
129
|
+
isolationLevel?: Transaction_2.IsolationLevel;
|
|
130
130
|
};
|
|
131
131
|
|
|
132
132
|
declare interface BinaryTargetsEnvValue {
|
|
@@ -209,7 +209,7 @@ declare const ColumnTypeEnum: {
|
|
|
209
209
|
|
|
210
210
|
declare type CompactedBatchResponse = {
|
|
211
211
|
type: 'compacted';
|
|
212
|
-
plan:
|
|
212
|
+
plan: {};
|
|
213
213
|
arguments: Record<string, {}>[];
|
|
214
214
|
nestedSelection: string[];
|
|
215
215
|
keys: string[];
|
|
@@ -255,6 +255,7 @@ declare type ComputedFieldsMap = {
|
|
|
255
255
|
declare type ConnectionInfo = {
|
|
256
256
|
schemaName?: string;
|
|
257
257
|
maxBindValues?: number;
|
|
258
|
+
supportsRelationJoins: boolean;
|
|
258
259
|
};
|
|
259
260
|
|
|
260
261
|
declare type ConnectorType = 'mysql' | 'mongodb' | 'sqlite' | 'postgresql' | 'postgres' | 'prisma+postgres' | 'sqlserver' | 'cockroachdb';
|
|
@@ -1153,10 +1154,22 @@ declare type Error_2 = {
|
|
|
1153
1154
|
column?: string;
|
|
1154
1155
|
} | {
|
|
1155
1156
|
kind: 'UniqueConstraintViolation';
|
|
1156
|
-
|
|
1157
|
+
constraint?: {
|
|
1158
|
+
fields: string[];
|
|
1159
|
+
} | {
|
|
1160
|
+
index: string;
|
|
1161
|
+
} | {
|
|
1162
|
+
foreignKey: {};
|
|
1163
|
+
};
|
|
1157
1164
|
} | {
|
|
1158
1165
|
kind: 'NullConstraintViolation';
|
|
1159
|
-
|
|
1166
|
+
constraint?: {
|
|
1167
|
+
fields: string[];
|
|
1168
|
+
} | {
|
|
1169
|
+
index: string;
|
|
1170
|
+
} | {
|
|
1171
|
+
foreignKey: {};
|
|
1172
|
+
};
|
|
1160
1173
|
} | {
|
|
1161
1174
|
kind: 'ForeignKeyConstraintViolation';
|
|
1162
1175
|
constraint?: {
|
|
@@ -1189,8 +1202,19 @@ declare type Error_2 = {
|
|
|
1189
1202
|
} | {
|
|
1190
1203
|
kind: 'TooManyConnections';
|
|
1191
1204
|
cause: string;
|
|
1205
|
+
} | {
|
|
1206
|
+
kind: 'ValueOutOfRange';
|
|
1207
|
+
cause: string;
|
|
1208
|
+
} | {
|
|
1209
|
+
kind: 'MissingFullTextSearchIndex';
|
|
1192
1210
|
} | {
|
|
1193
1211
|
kind: 'SocketTimeout';
|
|
1212
|
+
} | {
|
|
1213
|
+
kind: 'InconsistentColumnData';
|
|
1214
|
+
cause: string;
|
|
1215
|
+
} | {
|
|
1216
|
+
kind: 'TransactionAlreadyClosed';
|
|
1217
|
+
cause: string;
|
|
1194
1218
|
} | {
|
|
1195
1219
|
kind: 'postgres';
|
|
1196
1220
|
code: string;
|
|
@@ -1211,6 +1235,10 @@ declare type Error_2 = {
|
|
|
1211
1235
|
*/
|
|
1212
1236
|
extendedCode: number;
|
|
1213
1237
|
message: string;
|
|
1238
|
+
} | {
|
|
1239
|
+
kind: 'mssql';
|
|
1240
|
+
code: number;
|
|
1241
|
+
message: string;
|
|
1214
1242
|
};
|
|
1215
1243
|
|
|
1216
1244
|
declare type ErrorCapturingFunction<T> = T extends (...args: infer A) => Promise<infer R> ? (...args: A) => Promise<Result_4<ErrorCapturingInterface<R>>> : T extends (...args: infer A) => infer R ? (...args: A) => Result_4<ErrorCapturingInterface<R>> : T;
|
|
@@ -1475,7 +1503,7 @@ export declare type GetAggregateResult<P extends OperationPayload, A> = {
|
|
|
1475
1503
|
};
|
|
1476
1504
|
};
|
|
1477
1505
|
|
|
1478
|
-
declare function getBatchRequestPayload(batch: JsonQuery[], transaction?:
|
|
1506
|
+
declare function getBatchRequestPayload(batch: JsonQuery[], transaction?: TransactionOptions_2<unknown>): QueryEngineBatchRequest;
|
|
1479
1507
|
|
|
1480
1508
|
export declare type GetBatchResult = {
|
|
1481
1509
|
count: number;
|
|
@@ -1638,7 +1666,7 @@ export declare function getPrismaClient(config: GetPrismaClientConfig): {
|
|
|
1638
1666
|
*/
|
|
1639
1667
|
_transactionWithCallback({ callback, options, }: {
|
|
1640
1668
|
callback: (client: Client) => Promise<unknown>;
|
|
1641
|
-
options?:
|
|
1669
|
+
options?: Options;
|
|
1642
1670
|
}): Promise<unknown>;
|
|
1643
1671
|
_createItxClient(transaction: PrismaPromiseInteractiveTransaction): Client;
|
|
1644
1672
|
/**
|
|
@@ -1963,6 +1991,8 @@ declare type InternalRequestParams = {
|
|
|
1963
1991
|
|
|
1964
1992
|
declare type IsolationLevel = 'READ UNCOMMITTED' | 'READ COMMITTED' | 'REPEATABLE READ' | 'SNAPSHOT' | 'SERIALIZABLE';
|
|
1965
1993
|
|
|
1994
|
+
declare type IsolationLevel_2 = 'ReadUncommitted' | 'ReadCommitted' | 'RepeatableRead' | 'Snapshot' | 'Serializable';
|
|
1995
|
+
|
|
1966
1996
|
declare function isSkip(value: unknown): value is Skip;
|
|
1967
1997
|
|
|
1968
1998
|
export declare function isTypedSql(value: unknown): value is UnknownTypedSql;
|
|
@@ -2007,7 +2037,7 @@ export declare interface JsonArray extends Array<JsonValue> {
|
|
|
2007
2037
|
export declare type JsonBatchQuery = {
|
|
2008
2038
|
batch: JsonQuery[];
|
|
2009
2039
|
transaction?: {
|
|
2010
|
-
isolationLevel?:
|
|
2040
|
+
isolationLevel?: IsolationLevel_2;
|
|
2011
2041
|
};
|
|
2012
2042
|
};
|
|
2013
2043
|
|
|
@@ -2381,7 +2411,7 @@ export declare const objectEnumValues: {
|
|
|
2381
2411
|
};
|
|
2382
2412
|
};
|
|
2383
2413
|
|
|
2384
|
-
declare const officialPrismaAdapters: readonly ["@prisma/adapter-planetscale", "@prisma/adapter-neon", "@prisma/adapter-libsql", "@prisma/adapter-d1", "@prisma/adapter-pg", "@prisma/adapter-
|
|
2414
|
+
declare const officialPrismaAdapters: readonly ["@prisma/adapter-planetscale", "@prisma/adapter-neon", "@prisma/adapter-libsql", "@prisma/adapter-better-sqlite3", "@prisma/adapter-d1", "@prisma/adapter-pg", "@prisma/adapter-mssql", "@prisma/adapter-mariadb"];
|
|
2385
2415
|
|
|
2386
2416
|
export declare type Omission = Record<string, boolean | Skip>;
|
|
2387
2417
|
|
|
@@ -2422,6 +2452,15 @@ export declare type OptionalKeys<O> = {
|
|
|
2422
2452
|
}[keyof O];
|
|
2423
2453
|
|
|
2424
2454
|
declare type Options = {
|
|
2455
|
+
/** Timeout for starting the transaction */
|
|
2456
|
+
maxWait?: number;
|
|
2457
|
+
/** Timeout for the transaction body */
|
|
2458
|
+
timeout?: number;
|
|
2459
|
+
/** Transaction isolation level */
|
|
2460
|
+
isolationLevel?: IsolationLevel_2;
|
|
2461
|
+
};
|
|
2462
|
+
|
|
2463
|
+
declare type Options_2 = {
|
|
2425
2464
|
clientVersion: string;
|
|
2426
2465
|
};
|
|
2427
2466
|
|
|
@@ -2570,7 +2609,7 @@ export declare class PrismaClientUnknownRequestError extends Error implements Er
|
|
|
2570
2609
|
export declare class PrismaClientValidationError extends Error {
|
|
2571
2610
|
name: string;
|
|
2572
2611
|
clientVersion: string;
|
|
2573
|
-
constructor(message: string, { clientVersion }:
|
|
2612
|
+
constructor(message: string, { clientVersion }: Options_2);
|
|
2574
2613
|
get [Symbol.toStringTag](): string;
|
|
2575
2614
|
}
|
|
2576
2615
|
|
|
@@ -2622,7 +2661,7 @@ declare interface PrismaPromise_2<TResult, TSpec extends PrismaOperationSpec<unk
|
|
|
2622
2661
|
declare type PrismaPromiseBatchTransaction = {
|
|
2623
2662
|
kind: 'batch';
|
|
2624
2663
|
id: number;
|
|
2625
|
-
isolationLevel?:
|
|
2664
|
+
isolationLevel?: IsolationLevel_2;
|
|
2626
2665
|
index: number;
|
|
2627
2666
|
lock: PromiseLike<void>;
|
|
2628
2667
|
};
|
|
@@ -2650,7 +2689,7 @@ declare type PrismaPromiseTransaction<PayloadType = unknown> = PrismaPromiseBatc
|
|
|
2650
2689
|
|
|
2651
2690
|
export declare const PrivateResultType: unique symbol;
|
|
2652
2691
|
|
|
2653
|
-
declare type Provider = 'mysql' | 'postgres' | 'sqlite';
|
|
2692
|
+
declare type Provider = 'mysql' | 'postgres' | 'sqlite' | 'sqlserver';
|
|
2654
2693
|
|
|
2655
2694
|
declare namespace Public {
|
|
2656
2695
|
export {
|
|
@@ -2688,8 +2727,9 @@ declare interface Queryable<Query, Result> extends AdapterInfo {
|
|
|
2688
2727
|
}
|
|
2689
2728
|
|
|
2690
2729
|
declare type QueryCompiler = {
|
|
2691
|
-
compile(request: string):
|
|
2730
|
+
compile(request: string): {};
|
|
2692
2731
|
compileBatch(batchRequest: string): BatchResponse;
|
|
2732
|
+
free(): void;
|
|
2693
2733
|
};
|
|
2694
2734
|
|
|
2695
2735
|
declare interface QueryCompilerConstructor {
|
|
@@ -2705,7 +2745,7 @@ declare type QueryCompilerOptions = {
|
|
|
2705
2745
|
declare type QueryEngineBatchGraphQLRequest = {
|
|
2706
2746
|
batch: QueryEngineRequest[];
|
|
2707
2747
|
transaction?: boolean;
|
|
2708
|
-
isolationLevel?:
|
|
2748
|
+
isolationLevel?: IsolationLevel_2;
|
|
2709
2749
|
};
|
|
2710
2750
|
|
|
2711
2751
|
declare type QueryEngineBatchRequest = QueryEngineBatchGraphQLRequest | JsonBatchQuery;
|
|
@@ -2729,6 +2769,11 @@ declare interface QueryEngineConstructor {
|
|
|
2729
2769
|
declare type QueryEngineInstance = {
|
|
2730
2770
|
connect(headers: string, requestId: string): Promise<void>;
|
|
2731
2771
|
disconnect(headers: string, requestId: string): Promise<void>;
|
|
2772
|
+
/**
|
|
2773
|
+
* Frees any resources allocated by the engine's WASM instance. This method is automatically created by WASM bindgen.
|
|
2774
|
+
* Noop for other engines.
|
|
2775
|
+
*/
|
|
2776
|
+
free?(): void;
|
|
2732
2777
|
/**
|
|
2733
2778
|
* @param requestStr JSON.stringified `QueryEngineRequest | QueryEngineBatchRequest`
|
|
2734
2779
|
* @param headersStr JSON.stringified `QueryEngineRequestHeaders`
|
|
@@ -2851,7 +2896,7 @@ export declare type RenameAndNestPayloadKeys<P> = {
|
|
|
2851
2896
|
};
|
|
2852
2897
|
|
|
2853
2898
|
declare type RequestBatchOptions<InteractiveTransactionPayload> = {
|
|
2854
|
-
transaction?:
|
|
2899
|
+
transaction?: TransactionOptions_2<InteractiveTransactionPayload>;
|
|
2855
2900
|
traceparent?: string;
|
|
2856
2901
|
numTry?: number;
|
|
2857
2902
|
containsWrite: boolean;
|
|
@@ -3495,7 +3540,8 @@ declare interface Transaction extends AdapterInfo, SqlQueryable {
|
|
|
3495
3540
|
|
|
3496
3541
|
declare namespace Transaction_2 {
|
|
3497
3542
|
export {
|
|
3498
|
-
|
|
3543
|
+
Options,
|
|
3544
|
+
IsolationLevel_2 as IsolationLevel,
|
|
3499
3545
|
InteractiveTransactionInfo,
|
|
3500
3546
|
TransactionHeaders
|
|
3501
3547
|
}
|
|
@@ -3509,13 +3555,7 @@ declare type TransactionOptions = {
|
|
|
3509
3555
|
usePhantomQuery: boolean;
|
|
3510
3556
|
};
|
|
3511
3557
|
|
|
3512
|
-
declare type TransactionOptions_2 = {
|
|
3513
|
-
maxWait?: number;
|
|
3514
|
-
timeout?: number;
|
|
3515
|
-
isolationLevel?: IsolationLevel;
|
|
3516
|
-
};
|
|
3517
|
-
|
|
3518
|
-
declare type TransactionOptions_3<InteractiveTransactionPayload> = {
|
|
3558
|
+
declare type TransactionOptions_2<InteractiveTransactionPayload> = {
|
|
3519
3559
|
kind: 'itx';
|
|
3520
3560
|
options: InteractiveTransactionOptions<InteractiveTransactionPayload>;
|
|
3521
3561
|
} | {
|