@idos-network/client 1.0.0-rc.1.0 → 1.0.0-rc.1.1

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/index.d.ts CHANGED
@@ -1,16 +1,10 @@
1
- import { KwilSigner, NodeKwil, Utils, WebKwil } from "@kwilteam/kwil-js";
1
+ import { KwilSigner, NodeKwil, Utils, WebKwil } from "@idos-network/kwil-js";
2
+ import { Store } from "@idos-network/utils/store";
3
+ import { BaseProvider, EnclaveOptions, PublicEncryptionProfile } from "@idos-network/utils/enclave";
2
4
  import { JsonRpcSigner, Wallet } from "ethers";
5
+ import * as z from "zod";
3
6
  import { Wallet as Wallet$1 } from "@near-wallet-selector/core";
4
7
 
5
- //#region ../@core/src/kwil-actions/schema.d.ts
6
- declare const DataType: typeof Utils.DataType;
7
- interface ActionSchemaElem {
8
- name: string;
9
- type: typeof DataType.Uuid | typeof DataType.Text | typeof DataType.Int;
10
- }
11
- declare const actionSchema: Record<string, ActionSchemaElem[]>;
12
-
13
- //#endregion
14
8
  //#region ../@core/src/kwil-infra/create-kwil-client.d.ts
15
9
  type KwilActions = typeof actionSchema;
16
10
  type ActionName = keyof KwilActions;
@@ -43,43 +37,12 @@ declare class KwilActionClient {
43
37
  execute(params: KwilExecuteActionRequestParams, signer?: KwilSigner | undefined, synchronous?: boolean): Promise<string | undefined>;
44
38
  setSigner(signer: KwilSigner | undefined): void;
45
39
  }
46
-
47
- //#endregion
48
- //#region ../@core/src/store/index.d.ts
49
40
  /**
50
41
  * Create a kwil client for node.js environment
51
42
  */
52
- interface PipeCodecArgs<T> {
53
- encode: (o: string) => T;
54
- decode: (o: T) => string;
55
- }
56
- declare class Store {
57
- #private;
58
- keyPrefix: string;
59
- readonly storage: Storage;
60
- readonly REMEMBER_DURATION_KEY = "storage-expiration";
61
- constructor(storage: Storage);
62
- pipeCodec<T>({
63
- encode,
64
- decode
65
- }: PipeCodecArgs<T>): Store;
66
- // biome-ignore lint/suspicious/noExplicitAny: `any` is fine here.
67
- get(key: string): any;
68
- setRememberDuration(days?: number | string): void;
69
- hasRememberDurationElapsed(): boolean;
70
- // biome-ignore lint/suspicious/noExplicitAny: `any` is fine here.
71
- set(key: string, value: any): void;
72
- reset(): void;
73
- }
74
-
75
43
  //#endregion
76
- //#region ../@core/src/types/index.d.ts
77
- type Wallet$2 = Wallet | JsonRpcSigner | Wallet$1;
78
- type idOSUser = {
79
- id: string;
80
- recipient_encryption_public_key: string;
81
- };
82
- type idOSCredential = {
44
+ //#region ../@credentials/src/utils/types.d.ts
45
+ type idOSCredential$1 = {
83
46
  id: string;
84
47
  user_id: string;
85
48
  issuer_auth_public_key: string;
@@ -88,138 +51,214 @@ type idOSCredential = {
88
51
  content: string;
89
52
  encryptor_public_key: string;
90
53
  };
91
- type idOSWallet = {
92
- id: string;
93
- user_id: string;
94
- address: string;
95
- wallet_type: string;
96
- message: string;
97
- public_key: string;
98
- signature: string;
99
- };
100
- type idOSUserAttribute = {
101
- id: string;
102
- attribute_key: string;
103
- value: string;
104
- user_id?: string;
105
- };
106
- type idOSGrant = {
107
- id: string;
108
- ag_owner_user_id: string;
109
- ag_grantee_wallet_identifier: string;
110
- data_id: string;
111
- locked_until: string;
112
- content_hash?: string;
113
- };
114
- type DelegatedWriteGrant = {
115
- owner_wallet_identifier: string;
116
- grantee_wallet_identifier: string;
117
- issuer_public_key: string;
118
- id: string;
119
- access_grant_timelock: string;
120
- not_usable_before: string;
121
- not_usable_after: string;
122
- };
123
-
124
54
  //#endregion
125
- //#region ../@core/src/kwil-actions/credentials.d.ts
126
- /**
127
- * Following types are specific to the isle `postMessage` protocol.
128
- * Do not stress much about them, they will be refactored in the future once the idOS Isle is fully integrated.
129
- */
130
-
131
- type ShareableCredential = {
132
- id: string;
133
- original_credential_id: string;
134
- public_notes: string;
135
- public_notes_signature: string;
136
- broader_signature: string;
137
- content: string;
138
- encryptor_public_key: string;
139
- issuer_auth_public_key: string;
140
- grantee_wallet_identifier: string;
141
- locked_until: number;
142
- };
143
-
55
+ //#region ../@core/src/types/index.d.ts
56
+ type Wallet$2 = Wallet | JsonRpcSigner | Wallet$1 | CustomKwilSigner;
144
57
  //#endregion
145
- //#region ../@core/src/kwil-actions/grants.d.ts
146
- /**
147
- * Shares an idOSCredential to the given `userId`.
148
- */
149
- /**
150
- * Returns the Access Grants for the given `signer` in a paginated manner.
151
- */
152
- interface GetGrantsParams {
153
- page?: number;
154
- size?: number;
155
- user_id?: string | null;
156
- }
157
- interface idOSDAGSignatureParams {
158
- dag_owner_wallet_identifier: string;
159
- dag_grantee_wallet_identifier: string;
160
- dag_data_id: string;
161
- dag_locked_until: number;
162
- dag_content_hash: string;
58
+ //#region ../@core/src/kwil-infra/create-kwil-signer.d.ts
59
+ interface CustomKwilSigner extends KwilSigner {
60
+ publicAddress: string;
61
+ signatureType: string;
163
62
  }
164
-
165
63
  //#endregion
166
- //#region ../@core/src/kwil-actions/wallets.d.ts
64
+ //#region ../@core/src/kwil-infra/near/create-near-wallet-kwil-signer.d.ts
65
+ declare function signNearMessage(wallet: Wallet$1, message: string, recipient?: string): Promise<string>;
66
+ //#endregion
67
+ //#region ../@core/src/kwil-actions/actions.d.ts
68
+ // This file is generated by the generator. Do not edit it manually.
69
+ declare const DataType: typeof Utils.DataType;
70
+ type ActionSchemaElement = {
71
+ name: string;
72
+ type: typeof DataType.Uuid | typeof DataType.Text | typeof DataType.Int;
73
+ };
74
+ declare const actionSchema: Record<string, ActionSchemaElement[]>;
75
+ declare const idOSUserSchema: z.ZodObject<{
76
+ id: z.ZodUUID;
77
+ recipient_encryption_public_key: z.ZodString;
78
+ encryption_password_store: z.ZodString;
79
+ }>;
80
+ type idOSUser = z.infer<typeof idOSUserSchema>;
81
+ /** USER ACTIONS */
82
+
83
+ declare const idOSWalletSchema: z.ZodObject<{
84
+ id: z.ZodUUID;
85
+ user_id: z.ZodUUID;
86
+ address: z.ZodString;
87
+ public_key: z.ZodString;
88
+ wallet_type: z.ZodString;
89
+ message: z.ZodString;
90
+ signature: z.ZodString;
91
+ }>;
92
+ type idOSWallet = z.infer<typeof idOSWalletSchema>;
93
+ /** WALLET ACTIONS */
94
+
95
+ declare const AddWalletInputSchema: z.ZodObject<{
96
+ id: z.ZodUUID;
97
+ address: z.ZodString;
98
+ public_key: z.ZodString;
99
+ message: z.ZodString;
100
+ signature: z.ZodString;
101
+ }>;
102
+ type AddWalletInput = z.infer<typeof AddWalletInputSchema>;
103
+ declare const GetWalletsOutputSchema: z.ZodObject<{
104
+ id: z.ZodUUID;
105
+ user_id: z.ZodUUID;
106
+ address: z.ZodString;
107
+ public_key: z.ZodString;
108
+ wallet_type: z.ZodString;
109
+ message: z.ZodString;
110
+ signature: z.ZodString;
111
+ inserter: z.ZodString;
112
+ }>;
113
+ type GetWalletsOutput = z.infer<typeof GetWalletsOutputSchema>;
114
+ declare const idOSCredentialListItemSchema: z.ZodObject<{
115
+ id: z.ZodUUID;
116
+ user_id: z.ZodUUID;
117
+ public_notes: z.ZodString;
118
+ issuer_auth_public_key: z.ZodString;
119
+ inserter: z.ZodString;
120
+ original_id: z.ZodUUID;
121
+ }>;
122
+ type idOSCredentialListItem = z.infer<typeof idOSCredentialListItemSchema>;
123
+ declare const ShareCredentialInputSchema: z.ZodObject<{
124
+ id: z.ZodUUID;
125
+ original_credential_id: z.ZodUUID;
126
+ public_notes: z.ZodString;
127
+ public_notes_signature: z.ZodString;
128
+ broader_signature: z.ZodString;
129
+ content: z.ZodString;
130
+ content_hash: z.ZodString;
131
+ encryptor_public_key: z.ZodString;
132
+ issuer_auth_public_key: z.ZodString;
133
+ grantee_wallet_identifier: z.ZodString;
134
+ locked_until: z.ZodNumber;
135
+ }>;
136
+ type ShareCredentialInput = z.infer<typeof ShareCredentialInputSchema>;
137
+ declare const idOSCredentialSchema: z.ZodObject<{
138
+ id: z.ZodUUID;
139
+ user_id: z.ZodUUID;
140
+ public_notes: z.ZodString;
141
+ content: z.ZodString;
142
+ encryptor_public_key: z.ZodString;
143
+ issuer_auth_public_key: z.ZodString;
144
+ inserter: z.ZodString;
145
+ }>;
146
+ type idOSCredential = z.infer<typeof idOSCredentialSchema>;
147
+ declare const AddAttributeInputSchema: z.ZodObject<{
148
+ id: z.ZodUUID;
149
+ attribute_key: z.ZodString;
150
+ value: z.ZodString;
151
+ }>;
152
+ type AddAttributeInput = z.infer<typeof AddAttributeInputSchema>;
153
+ declare const idOSUserAttributeSchema: z.ZodObject<{
154
+ id: z.ZodUUID;
155
+ user_id: z.ZodUUID;
156
+ attribute_key: z.ZodString;
157
+ value: z.ZodString;
158
+ original_id: z.ZodUUID;
159
+ }>;
160
+ type idOSUserAttribute = z.infer<typeof idOSUserAttributeSchema>;
161
+ declare const idOSDelegatedWriteGrantSchema: z.ZodObject<{
162
+ owner_wallet_identifier: z.ZodString;
163
+ grantee_wallet_identifier: z.ZodString;
164
+ issuer_public_key: z.ZodString;
165
+ id: z.ZodUUID;
166
+ access_grant_timelock: z.ZodString;
167
+ not_usable_before: z.ZodString;
168
+ not_usable_after: z.ZodString;
169
+ }>;
170
+ type idOSDelegatedWriteGrant = z.infer<typeof idOSDelegatedWriteGrantSchema>;
171
+ declare const idOSGrantSchema: z.ZodObject<{
172
+ id: z.ZodUUID;
173
+ ag_owner_user_id: z.ZodUUID;
174
+ ag_grantee_wallet_identifier: z.ZodString;
175
+ data_id: z.ZodUUID;
176
+ locked_until: z.ZodNumber;
177
+ content_hash: z.ZodString;
178
+ inserter_type: z.ZodString;
179
+ inserter_id: z.ZodString;
180
+ }>;
181
+ type idOSGrant = z.infer<typeof idOSGrantSchema>;
182
+ declare const GetGrantsPaginatedInputSchema: z.ZodObject<{
183
+ user_id: z.ZodNullable<z.ZodUUID>;
184
+ page: z.ZodNumber;
185
+ size: z.ZodNumber;
186
+ }>;
187
+ type GetGrantsPaginatedInput = z.infer<typeof GetGrantsPaginatedInputSchema>;
167
188
  /**
168
- * Request a signature for a Delegated Access Grant
189
+ * As arguments can be undefined (user can not send them at all), we have to have default values: page=1, size=20
190
+ * Page number starts from 1, as UI usually shows to user in pagination element
191
+ * Ordering is consistent because we use height as first ordering parameter
169
192
  */
170
- interface AddWalletParams {
171
- id: string;
172
- address: string;
173
- public_key: string | null;
174
- message: string;
175
- signature: string;
176
- }
177
193
 
194
+ declare const DagMessageInputSchema: z.ZodObject<{
195
+ dag_owner_wallet_identifier: z.ZodString;
196
+ dag_grantee_wallet_identifier: z.ZodString;
197
+ dag_data_id: z.ZodUUID;
198
+ dag_locked_until: z.ZodNumber;
199
+ dag_content_hash: z.ZodString;
200
+ }>;
201
+ type DagMessageInput = z.infer<typeof DagMessageInputSchema>;
178
202
  //#endregion
179
- //#region src/enclave/types.d.ts
180
- type DiscoverUserEncryptionPublicKeyResponse = {
181
- userId: string;
182
- userEncryptionPublicKey: string;
183
- };
184
- type EnclaveOptions = {
203
+ //#region src/enclave/iframe-enclave.d.ts
204
+ interface IframeEnclaveOptions extends EnclaveOptions {
185
205
  container: string;
186
- theme?: "light" | "dark";
187
- mode?: "new" | "existing";
188
206
  url?: string;
189
207
  throwOnUserCancelUnlock?: boolean;
190
- };
191
- interface EnclaveProvider {
208
+ }
209
+ declare class IframeEnclave extends BaseProvider<IframeEnclaveOptions> {
210
+ private container;
211
+ private iframe;
212
+ private hostUrl;
213
+ constructor(options: IframeEnclaveOptions);
214
+ /** @see parent method */
192
215
  load(): Promise<void>;
193
- reconfigure(options: Omit<EnclaveOptions, "container" | "url">): Promise<void>;
194
- ready(userId: string, currentUserEncryptionPublicKey?: string): Promise<Uint8Array>;
216
+ /** @override parent method to call iframe */
195
217
  reset(): Promise<void>;
218
+ /** @override parent method to call iframe */
219
+ reconfigure(options?: Omit<IframeEnclaveOptions, "container" | "url">): Promise<void>;
220
+ /** @override parent method to call iframe */
196
221
  confirm(message: string): Promise<boolean>;
197
- encrypt(message: Uint8Array, receiverPublicKey?: Uint8Array): Promise<{
222
+ /** @override parent method to call iframe */
223
+ filterCredentials(credentials: idOSCredential$1[], privateFieldFilters: {
224
+ pick: Record<string, unknown[]>;
225
+ omit: Record<string, unknown[]>;
226
+ }): Promise<idOSCredential$1[]>;
227
+ /** @override parent method to call iframe */
228
+ encrypt(message: Uint8Array, receiverPublicKey: Uint8Array): Promise<{
198
229
  content: Uint8Array;
199
230
  encryptorPublicKey: Uint8Array;
200
231
  }>;
201
- decrypt(message: Uint8Array, senderPublicKey?: Uint8Array): Promise<Uint8Array>;
202
- discoverUserEncryptionPublicKey(userId: string): Promise<DiscoverUserEncryptionPublicKeyResponse>;
203
- filterCredentials(credentials: idOSCredential[], privateFieldFilters: {
204
- pick: Record<string, unknown[]>;
205
- omit: Record<string, unknown[]>;
206
- }): Promise<idOSCredential[]>;
207
- backupPasswordOrSecret(): Promise<void>;
232
+ /** @override parent method to call iframe */
233
+ decrypt(message: Uint8Array, senderPublicKey: Uint8Array): Promise<Uint8Array<ArrayBufferLike>>;
234
+ /** @override parent method to call iframe */
235
+ backupUserEncryptionProfile(): Promise<void>;
236
+ /** @override parent method to call iframe */
237
+ ensureUserEncryptionProfile(): Promise<PublicEncryptionProfile>;
238
+ private createAndLoadIframe;
239
+ private showEnclave;
240
+ private hideEnclave;
241
+ private requestToEnclave;
242
+ private bindMessageListener;
243
+ private onMessage;
208
244
  }
209
-
210
245
  //#endregion
211
246
  //#region src/index.d.ts
212
247
  type Properties<T> = { [K in keyof T as Exclude<T[K], Function> extends never ? never : K]: T[K] };
213
248
  type idOSClient = idOSClientConfiguration | idOSClientIdle | idOSClientWithUserSigner | idOSClientLoggedIn;
214
- declare class idOSClientConfiguration {
249
+ declare class idOSClientConfiguration<Provider extends BaseProvider = IframeEnclave> {
215
250
  readonly state: "configuration";
216
251
  readonly chainId?: string;
217
252
  readonly nodeUrl: string;
218
- readonly enclaveOptions: Omit<EnclaveOptions, "mode">;
253
+ readonly enclaveOptions: Omit<Provider["options"], "mode">;
254
+ readonly store: Store;
255
+ readonly enclaveProvider: BaseProvider;
219
256
  constructor(params: {
220
257
  chainId?: string;
221
258
  nodeUrl: string;
222
- enclaveOptions: Omit<EnclaveOptions, "mode">;
259
+ enclaveOptions: Omit<Provider["options"], "mode">;
260
+ enclaveProvider?: new (options: Omit<Provider["options"], "mode">) => Provider;
261
+ store?: Store;
223
262
  });
224
263
  createClient(): Promise<idOSClientIdle>;
225
264
  }
@@ -227,9 +266,9 @@ declare class idOSClientIdle {
227
266
  readonly state: "idle";
228
267
  readonly store: Store;
229
268
  readonly kwilClient: KwilActionClient;
230
- readonly enclaveProvider: EnclaveProvider;
231
- constructor(store: Store, kwilClient: KwilActionClient, enclaveProvider: EnclaveProvider);
232
- static fromConfig(params: idOSClientConfiguration): Promise<idOSClientIdle>;
269
+ readonly enclaveProvider: BaseProvider;
270
+ constructor(store: Store, kwilClient: KwilActionClient, enclaveProvider: BaseProvider);
271
+ static fromConfig(params: idOSClientConfiguration<BaseProvider>): Promise<idOSClientIdle>;
233
272
  addressHasProfile(address: string): Promise<boolean>;
234
273
  withUserSigner(signer: Wallet$2): Promise<idOSClientWithUserSigner>;
235
274
  logOut(): Promise<idOSClientIdle>;
@@ -238,55 +277,55 @@ declare class idOSClientWithUserSigner implements Omit<Properties<idOSClientIdle
238
277
  readonly state: "with-user-signer";
239
278
  readonly store: Store;
240
279
  readonly kwilClient: KwilActionClient;
241
- readonly enclaveProvider: EnclaveProvider;
280
+ readonly enclaveProvider: BaseProvider;
242
281
  readonly signer: Wallet$2;
243
282
  readonly kwilSigner: KwilSigner;
244
283
  readonly walletIdentifier: string;
245
284
  constructor(idOSClientIdle: idOSClientIdle, signer: Wallet$2, kwilSigner: KwilSigner, walletIdentifier: string);
246
285
  logOut(): Promise<idOSClientIdle>;
247
286
  hasProfile(): Promise<boolean>;
248
- getUserEncryptionPublicKey(userId: string): Promise<string>;
287
+ createUserEncryptionProfile(userId: string): Promise<PublicEncryptionProfile>;
249
288
  logIn(): Promise<idOSClientLoggedIn>;
250
289
  }
251
290
  declare class idOSClientLoggedIn implements Omit<Properties<idOSClientWithUserSigner>, "state"> {
252
291
  readonly state: "logged-in";
253
292
  readonly store: Store;
254
293
  readonly kwilClient: KwilActionClient;
255
- readonly enclaveProvider: EnclaveProvider;
294
+ readonly enclaveProvider: BaseProvider;
256
295
  readonly signer: Wallet$2;
257
296
  readonly kwilSigner: KwilSigner;
258
297
  readonly walletIdentifier: string;
259
298
  readonly user: idOSUser;
260
299
  constructor(idOSClientWithUserSigner: idOSClientWithUserSigner, user: idOSUser);
261
300
  logOut(): Promise<idOSClientIdle>;
262
- requestDWGMessage(params: DelegatedWriteGrant): Promise<string>;
301
+ requestDWGMessage(params: idOSDelegatedWriteGrant): Promise<string>;
263
302
  removeCredential(id: string): Promise<{
264
303
  id: string;
265
304
  }>;
266
305
  getCredentialById(id: string): Promise<idOSCredential | undefined>;
267
- shareCredential(credential: ShareableCredential): Promise<ShareableCredential>;
268
- getAllCredentials(): Promise<idOSCredential[]>;
306
+ shareCredential(credential: ShareCredentialInput): Promise<ShareCredentialInput>;
307
+ getAllCredentials(): Promise<idOSCredentialListItem[]>;
269
308
  getAccessGrantsOwned(): Promise<idOSGrant[]>;
270
- getCredentialOwned(id: string): Promise<idOSCredential | undefined>;
271
309
  getAttributes(): Promise<idOSUserAttribute[]>;
272
- createAttribute(attribute: idOSUserAttribute): Promise<idOSUserAttribute>;
310
+ createAttribute(attribute: AddAttributeInput): Promise<AddAttributeInput>;
273
311
  getCredentialContentSha256Hash(id: string): Promise<string>;
312
+ getCredentialContent(id: string): Promise<string>;
274
313
  createCredentialCopy(id: string, consumerRecipientEncryptionPublicKey: string, consumerAddress: string, lockedUntil: number): Promise<{
275
314
  id: string;
276
315
  }>;
277
- requestDAGMessage(params: idOSDAGSignatureParams): Promise<string>;
278
- getGrants(params: GetGrantsParams): Promise<{
316
+ requestDAGMessage(params: DagMessageInput): Promise<string>;
317
+ getGrants(params: GetGrantsPaginatedInput): Promise<{
279
318
  grants: idOSGrant[];
280
319
  totalCount: number;
281
320
  }>;
282
- addWallets(params: AddWalletParams[]): Promise<AddWalletParams[]>;
321
+ addWallets(params: AddWalletInput[]): Promise<AddWalletInput[]>;
283
322
  getGrantsCount(): Promise<number>;
284
323
  getSharedCredential(id: string): Promise<idOSCredential | undefined>;
285
- revokeAccessGrant(grantId: string): Promise<{
324
+ revokeAccessGrant(id: string): Promise<{
286
325
  id: string;
287
326
  }>;
288
- addWallet(params: AddWalletParams): Promise<AddWalletParams>;
289
- getWallets(): Promise<idOSWallet[]>;
327
+ addWallet(params: AddWalletInput): Promise<AddWalletInput>;
328
+ getWallets(): Promise<GetWalletsOutput[]>;
290
329
  removeWallet(id: string): Promise<{
291
330
  id: string;
292
331
  }>;
@@ -314,9 +353,8 @@ declare class idOSClientLoggedIn implements Omit<Properties<idOSClientWithUserSi
314
353
  }
315
354
  declare function createIDOSClient(params: {
316
355
  nodeUrl: string;
317
- enclaveOptions: Omit<EnclaveOptions, "mode">;
318
- }): idOSClientConfiguration;
319
-
356
+ enclaveOptions: Omit<IframeEnclave["options"], "mode">;
357
+ }): idOSClientConfiguration<IframeEnclave>;
320
358
  //#endregion
321
- export { DelegatedWriteGrant, EnclaveOptions, EnclaveProvider, createIDOSClient, idOSClient, idOSClientConfiguration, idOSClientIdle, idOSClientLoggedIn, idOSClientWithUserSigner, idOSCredential, idOSGrant, idOSUser, idOSUserAttribute, idOSWallet };
359
+ export { IframeEnclave, createIDOSClient, idOSClient, idOSClientConfiguration, idOSClientIdle, idOSClientLoggedIn, idOSClientWithUserSigner, type idOSCredential, type idOSDelegatedWriteGrant, type idOSGrant, type idOSUser, type idOSUserAttribute, type idOSWallet, signNearMessage };
322
360
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","names":["DataType: typeof Utils.DataType","actionSchema: Record<string, ActionSchemaElem[]>","client: NodeKwil | WebKwil","params: KwilCallActionRequestParams","signer: KwilSigner | undefined","params: KwilExecuteActionRequestParams","createNodeKwilClient: (params: CreateKwilClientParams) => Promise<KwilActionClient>","params: CreateKwilClientParams","createWebKwilClient: (params: CreateKwilClientParams) => Promise<KwilActionClient>","o: string","o: T","storage: Storage","key: string","days?: number | string","value: any","message: Extract<IsleNodeMessage, { type: T }>","kwilClient: KwilActionClient","id: string","content_hash: string","params: GetAccessGrantByCredentialIdParams","params: EditCredentialAsIssuerParams","userId: string","params: CreateCredentialByDelegatedWriteGrantParams","credential: ShareableCredential","params: CreateCredentialCopyParams","kwilClient: KwilActionClient","params: { user_id: string | null }","params: GetGrantsParams","params: CreateAccessGrantByDAGParams","id: string","params: idOSDAGSignatureParams","params: DelegatedWriteGrant","kwilClient: KwilActionClient","params: UpsertWalletParams","params: AddWalletParams","params: AddWalletParams[]","id: string","ids: string[]","options: Omit<EnclaveOptions, \"container\" | \"url\">","userId: string","currentUserEncryptionPublicKey?: string","message: string","message: Uint8Array","receiverPublicKey?: Uint8Array","senderPublicKey?: Uint8Array","credentials: idOSCredential[]","privateFieldFilters: {\n pick: Record<string, unknown[]>;\n omit: Record<string, unknown[]>;\n }","params: {\n chainId?: string;\n nodeUrl: string;\n enclaveOptions: Omit<EnclaveOptions, \"mode\">;\n }","store: Store","kwilClient: KwilActionClient","enclaveProvider: EnclaveProvider","params: idOSClientConfiguration","address: string","signer: Wallet","idOSClientIdle: idOSClientIdle","kwilSigner: KwilSigner","walletIdentifier: string","userId: string","idOSClientWithUserSigner: idOSClientWithUserSigner","user: idOSUser","params: DelegatedWriteGrant","id: string","credential: ShareableCredential","attribute: idOSUserAttribute","consumerRecipientEncryptionPublicKey: string","consumerAddress: string","lockedUntil: number","params: idOSDAGSignatureParams","params: GetGrantsParams","params: AddWalletParams[]","grantId: string","params: AddWalletParams","ids: string[]","requirements: {\n acceptedIssuers: {\n authPublicKey: string;\n }[];\n publicNotesFieldFilters?: {\n pick: Record<string, unknown[]>;\n omit: Record<string, unknown[]>;\n };\n privateFieldFilters?: {\n pick: Record<string, unknown[]>;\n omit: Record<string, unknown[]>;\n };\n }","credentialId: string","params: {\n nodeUrl: string;\n enclaveOptions: Omit<EnclaveOptions, \"mode\">;\n}"],"sources":["../../@core/src/kwil-actions/schema.ts","../../@core/src/kwil-infra/create-kwil-client.ts","../../@core/src/store/index.ts","../../@core/src/types/index.ts","../../@core/src/kwil-actions/credentials.ts","../../@core/src/kwil-actions/grants.ts","../../@core/src/kwil-actions/wallets.ts","../src/enclave/types.ts","../src/index.ts"],"sourcesContent":[],"mappings":";;;;;cAEaA,iBAAiB,KAAA,CAAM;UAEnB,gBAAA;;eAEF,QAAA,CAAS,cAAc,QAAA,CAAS,cAAc,QAAA,CAAS;AAJtE;AAEiB,cAKJC,YALI,EAKU,MALV,CAAA,MAAA,EAKyB,gBALzB,EAAA,CAAA;;;;AAAjB,KCSK,WAAA,GDTY,OCSS,YDTT;KCUZ,UAAA,GDVY,MCUO,WDVP;KCYZ,iBAAA,GDVmB,WCWb,UDXa,GAAA;EAAA,IAAA,ECYd,IDZ4B;EAAS;EAAuB,MAAA,ECc1D,MDd0D,CCcnD,WDdmD,CCcvC,IDduC,CAAA,CAAA,MAAA,CAAA,CAAA,MAAA,CAAA,EAAA,GAAA,CAAA;AAGtE,CAAA,EAAA;KCeK,2BAAA,GAA8B,iBDfO,CCeW,UDfX,CAAA;KCiBrC,oBAAA,GDjBqC,WCkB/B,UDlB+B,GCkBlB,iBDlBkB,CCkBA,IDlBA,CAAA,GAAA;EAAA,WAAf,EAAA,MAAA;AAAA,CAAA,EAAA;KCqBtB,8BAAA,GAAiC,qBAAqB;;;AAtBtD;AAKqB;AAGrB,cAoBQ,gBAAA,CApBR;EAAA,CAAA,OAAA;EAAA,MACM,CAAA,EAoBA,UApBA;EAAA,SACD,MAAA,EAoBS,QApBT,GAoBoB,OApBpB;EAAA,WAES,CAAA,MAAA,EAoBG,QApBH,GAoBc,OApBd;EAAA;;AAAP;EAAA,IAIP,CAAA,IAAA,OAAA,CAAA,CAAA,MAAA,EA0CO,2BA1CP,EAAA,MAAA,CAAA,EA2CO,UA3CP,GAAA,SAAA,CAAA,EA4CA,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MiTV,ONjTU,CMiTF,eNjTE,CAAA;EAAA,UAAA,CAAA,CAAA,EMqThC,ONrTgC,CMqTxB,UNrTwB,EAAA,CAAA;4BMyTpB;;;ELpVlC,aAAY,CAAA,GAAA,EAAA,MAAA,EAAA,CAAA,EKwV0B,OLxV1B,CAAA,MAAA,EAAA,CAAA;EAAA,iBAAA,CAAA,YAAA,EAAA;IAAA,eAAS,EAAA;MAAA,aAAe,EAAA,MAAA;IAAA,CAAA,EAAA;IAAgB,uBAAA,CAAA,EAAA;MAMpD,IAAY,EK2VA,ML3VA,CAAA,MAAA,EAAA,OAAA,EAAA,CAAA;MAKZ,IAAY,EKuVA,MLvVA,CAAA,MAAA,EAAA,OAAA,EAAA,CAAA;IAiBZ,CAAA;IAUA,mBAAY,CAAA,EAAA;MAOZ,IAAY,EKwTA,MLxTA,CAAA,MAAA,EAAA,OAAA,EAAA,CAAA;MASZ,IAAY,EKgTA,MLhTA,CAAA,MAAA,EAAA,OAAA,EAAA,CAAA;;MKkTN,QAAQ;;;;;IJrLd,2BAAY,EAAA,MAAA;;MIqOP,QAAQ;;iBAqDG,gBAAA;;EH1bhB,cAAiB,EG4bC,IH5bD,CG4bM,cH5bN,EAAA,MAAA,CAAA;AAyEjB,CAAA,CAAA,EGoXI,uBHpXa"}
1
+ {"version":3,"file":"index.d.ts","names":["client: NodeKwil | WebKwil","params: KwilCallActionRequestParams","signer: KwilSigner | undefined","params: KwilExecuteActionRequestParams","createNodeKwilClient: (params: CreateKwilClientParams) => Promise<KwilActionClient>","params: CreateKwilClientParams","createWebKwilClient: (params: CreateKwilClientParams) => Promise<KwilActionClient>","CredentialFieldsSchema: z.ZodObject<{\n id: z.ZodString;\n level: z.ZodString;\n issued: z.ZodOptional<z.ZodDate>;\n approvedAt: z.ZodOptional<z.ZodDate>;\n expirationDate: z.ZodOptional<z.ZodDate>;\n}>","CredentialResidentialAddressSchema: z.ZodObject<{\n street: z.ZodString;\n houseNumber: z.ZodOptional<z.ZodString>;\n additionalAddressInfo: z.ZodOptional<z.ZodString>;\n region: z.ZodOptional<z.ZodString>;\n city: z.ZodString;\n postalCode: z.ZodString;\n country: z.ZodString;\n}>","IDDocumentTypeSchema: z.ZodEnum<{\n PASSPORT: \"PASSPORT\";\n DRIVERS: \"DRIVERS\";\n ID_CARD: \"ID_CARD\";\n}>","GenderSchema: z.ZodEnum<{\n M: \"M\";\n F: \"F\";\n OTHER: \"OTHER\";\n}>","CredentialSubjectSchema: z.ZodObject<{\n id: z.ZodString;\n applicantId: z.ZodOptional<z.ZodString>;\n inquiryId: z.ZodOptional<z.ZodString>;\n firstName: z.ZodString;\n middleName: z.ZodOptional<z.ZodString>;\n ssn: z.ZodOptional<z.ZodString>;\n gender: z.ZodOptional<typeof GenderSchema>;\n nationality: z.ZodOptional<z.ZodString>;\n familyName: z.ZodString;\n maidenName: z.ZodOptional<z.ZodString>;\n governmentId: z.ZodOptional<z.ZodString>;\n governmentIdType: z.ZodOptional<z.ZodString>;\n dateOfBirth: z.ZodDate;\n placeOfBirth: z.ZodOptional<z.ZodString>;\n email: z.ZodOptional<z.ZodEmail>;\n phoneNumber: z.ZodOptional<z.ZodString>;\n idDocumentCountry: z.ZodString;\n idDocumentNumber: z.ZodString;\n idDocumentType: typeof IDDocumentTypeSchema;\n idDocumentDateOfIssue: z.ZodOptional<z.ZodDate>;\n idDocumentDateOfExpiry: z.ZodOptional<z.ZodDate>;\n idDocumentFrontFile: z.ZodType<Buffer<ArrayBufferLike>>;\n idDocumentBackFile: z.ZodOptional<z.ZodType<Buffer<ArrayBufferLike>>>;\n selfieFile: z.ZodType<Buffer<ArrayBufferLike>>;\n residentialAddress: z.ZodOptional<typeof CredentialResidentialAddressSchema>;\n residentialAddressProofCategory: z.ZodOptional<z.ZodString>;\n residentialAddressProofDateOfIssue: z.ZodOptional<z.ZodDate>;\n residentialAddressProofFile: z.ZodOptional<z.ZodType<Buffer<ArrayBufferLike>>>;\n}>","message: Extract<IsleNodeMessage, { type: T }>","signer: KwilSignerType","store: Store","kwilClient: KwilActionClient","wallet: Wallet","signer: unknown","publicKey: string","namedAddress: string","wallet: NearWallet","message: string","currentAddress: string","store: Store","kwilClient: KwilActionClient","DataType: typeof Utils.DataType","actionSchema: Record<string, ActionSchemaElement[]>","idOSUserSchema: z.ZodObject<{\n id: z.ZodUUID;\n recipient_encryption_public_key: z.ZodString;\n encryption_password_store: z.ZodString;\n}>","kwilClient: KwilActionClient","params: idOSUser","GetUserOutputSchema: z.ZodObject<{\n id: z.ZodUUID;\n recipient_encryption_public_key: z.ZodString;\n encryption_password_store: z.ZodString;\n}>","idOSWalletSchema: z.ZodObject<{\n id: z.ZodUUID;\n user_id: z.ZodUUID;\n address: z.ZodString;\n public_key: z.ZodString;\n wallet_type: z.ZodString;\n message: z.ZodString;\n signature: z.ZodString;\n}>","params: idOSWallet","AddWalletInputSchema: z.ZodObject<{\n id: z.ZodUUID;\n address: z.ZodString;\n public_key: z.ZodString;\n message: z.ZodString;\n signature: z.ZodString;\n}>","params: AddWalletInput","GetWalletsOutputSchema: z.ZodObject<{\n id: z.ZodUUID;\n user_id: z.ZodUUID;\n address: z.ZodString;\n public_key: z.ZodString;\n wallet_type: z.ZodString;\n message: z.ZodString;\n signature: z.ZodString;\n inserter: z.ZodString;\n}>","RemoveWalletInputSchema: z.ZodObject<{\n id: z.ZodUUID;\n}>","params: RemoveWalletInput","idOSCredentialListItemSchema: z.ZodObject<{\n id: z.ZodUUID;\n user_id: z.ZodUUID;\n public_notes: z.ZodString;\n issuer_auth_public_key: z.ZodString;\n inserter: z.ZodString;\n original_id: z.ZodUUID;\n}>","GetCredentialsSharedByUserInputSchema: z.ZodObject<{\n user_id: z.ZodUUID;\n issuer_auth_public_key: z.ZodNullable<z.ZodString>;\n}>","GetCredentialsSharedByUserOutputSchema: z.ZodObject<{\n id: z.ZodUUID;\n user_id: z.ZodUUID;\n public_notes: z.ZodString;\n encryptor_public_key: z.ZodString;\n issuer_auth_public_key: z.ZodString;\n inserter: z.ZodString;\n original_id: z.ZodUUID;\n}>","params: GetCredentialsSharedByUserInput","EditCredentialAsIssuerParamsSchema: z.ZodObject<{\n public_notes_id: z.ZodString;\n public_notes: z.ZodString;\n}>","params: EditCredentialAsIssuerParams","RemoveCredentialInputSchema: z.ZodObject<{\n id: z.ZodUUID;\n}>","params: RemoveCredentialInput","ShareCredentialInputSchema: z.ZodObject<{\n id: z.ZodUUID;\n original_credential_id: z.ZodUUID;\n public_notes: z.ZodString;\n public_notes_signature: z.ZodString;\n broader_signature: z.ZodString;\n content: z.ZodString;\n content_hash: z.ZodString;\n encryptor_public_key: z.ZodString;\n issuer_auth_public_key: z.ZodString;\n grantee_wallet_identifier: z.ZodString;\n locked_until: z.ZodNumber;\n}>","params: ShareCredentialInput","CreateCredentialCopyInputSchema: z.ZodObject<{\n id: z.ZodUUID;\n original_credential_id: z.ZodUUID;\n public_notes: z.ZodString;\n public_notes_signature: z.ZodString;\n broader_signature: z.ZodString;\n content: z.ZodString;\n encryptor_public_key: z.ZodString;\n issuer_auth_public_key: z.ZodString;\n}>","params: CreateCredentialCopyInput","CreateCredentialByDelegatedWriteGrantInputSchema: z.ZodObject<{\n issuer_auth_public_key: z.ZodString;\n original_encryptor_public_key: z.ZodString;\n original_credential_id: z.ZodUUID;\n original_content: z.ZodString;\n original_public_notes: z.ZodString;\n original_public_notes_signature: z.ZodString;\n original_broader_signature: z.ZodString;\n copy_encryptor_public_key: z.ZodString;\n copy_credential_id: z.ZodUUID;\n copy_content: z.ZodString;\n copy_public_notes_signature: z.ZodString;\n copy_broader_signature: z.ZodString;\n content_hash: z.ZodString;\n dwg_owner: z.ZodString;\n dwg_grantee: z.ZodString;\n dwg_issuer_public_key: z.ZodString;\n dwg_id: z.ZodUUID;\n dwg_access_grant_timelock: z.ZodString;\n dwg_not_before: z.ZodString;\n dwg_not_after: z.ZodString;\n dwg_signature: z.ZodString;\n}>","params: CreateCredentialByDelegatedWriteGrantInput","GetCredentialOwnedInputSchema: z.ZodObject<{\n id: z.ZodUUID;\n}>","idOSCredentialSchema: z.ZodObject<{\n id: z.ZodUUID;\n user_id: z.ZodUUID;\n public_notes: z.ZodString;\n content: z.ZodString;\n encryptor_public_key: z.ZodString;\n issuer_auth_public_key: z.ZodString;\n inserter: z.ZodString;\n}>","params: GetCredentialOwnedInput","GetSharedCredentialInputSchema: z.ZodObject<{\n id: z.ZodUUID;\n}>","params: GetSharedCredentialInput","GetCredentialIdByContentHashInputSchema: z.ZodObject<{\n content_hash: z.ZodString;\n}>","GetCredentialIdByContentHashOutputSchema: z.ZodObject<{\n id: z.ZodUUID;\n}>","params: GetCredentialIdByContentHashInput","AddAttributeInputSchema: z.ZodObject<{\n id: z.ZodUUID;\n attribute_key: z.ZodString;\n value: z.ZodString;\n}>","params: AddAttributeInput","idOSUserAttributeSchema: z.ZodObject<{\n id: z.ZodUUID;\n user_id: z.ZodUUID;\n attribute_key: z.ZodString;\n value: z.ZodString;\n original_id: z.ZodUUID;\n}>","idOSDelegatedWriteGrantSchema: z.ZodObject<{\n owner_wallet_identifier: z.ZodString;\n grantee_wallet_identifier: z.ZodString;\n issuer_public_key: z.ZodString;\n id: z.ZodUUID;\n access_grant_timelock: z.ZodString;\n not_usable_before: z.ZodString;\n not_usable_after: z.ZodString;\n}>","DwgMessageOutputSchema: z.ZodObject<{\n message: z.ZodString;\n}>","params: idOSDelegatedWriteGrant","RevokeAccessGrantInputSchema: z.ZodObject<{\n id: z.ZodUUID;\n}>","params: RevokeAccessGrantInput","idOSGrantSchema: z.ZodObject<{\n id: z.ZodUUID;\n ag_owner_user_id: z.ZodUUID;\n ag_grantee_wallet_identifier: z.ZodString;\n data_id: z.ZodUUID;\n locked_until: z.ZodNumber;\n content_hash: z.ZodString;\n inserter_type: z.ZodString;\n inserter_id: z.ZodString;\n}>","GetGrantsPaginatedInputSchema: z.ZodObject<{\n user_id: z.ZodNullable<z.ZodUUID>;\n page: z.ZodNumber;\n size: z.ZodNumber;\n}>","params: GetGrantsPaginatedInput","GetGrantsCountInputSchema: z.ZodObject<{\n user_id: z.ZodNullable<z.ZodUUID>;\n}>","GetGrantsCountOutputSchema: z.ZodObject<{\n count: z.ZodNumber;\n}>","params: GetGrantsCountInput","DagMessageInputSchema: z.ZodObject<{\n dag_owner_wallet_identifier: z.ZodString;\n dag_grantee_wallet_identifier: z.ZodString;\n dag_data_id: z.ZodUUID;\n dag_locked_until: z.ZodNumber;\n dag_content_hash: z.ZodString;\n}>","DagMessageOutputSchema: z.ZodObject<{\n message: z.ZodString;\n}>","params: DagMessageInput","CreateAccessGrantByDagInputSchema: z.ZodObject<{\n dag_owner_wallet_identifier: z.ZodString;\n dag_grantee_wallet_identifier: z.ZodString;\n dag_data_id: z.ZodUUID;\n dag_locked_until: z.ZodNumber;\n dag_content_hash: z.ZodString;\n dag_signature: z.ZodString;\n}>","params: CreateAccessGrantByDagInput","GetAccessGrantsForCredentialInputSchema: z.ZodObject<{\n credential_id: z.ZodUUID;\n}>","GetAccessGrantsForCredentialOutputSchema: z.ZodObject<{\n id: z.ZodUUID;\n ag_owner_user_id: z.ZodUUID;\n ag_grantee_wallet_identifier: z.ZodString;\n data_id: z.ZodUUID;\n locked_until: z.ZodNumber;\n content_hash: z.ZodString;\n inserter_type: z.ZodString;\n inserter_id: z.ZodString;\n}>","params: GetAccessGrantsForCredentialInput","HasProfileInputSchema: z.ZodObject<{\n address: z.ZodString;\n}>","HasProfileOutputSchema: z.ZodObject<{\n has_profile: z.ZodBoolean;\n}>","params: HasProfileInput","GetPassportingPeersOutputSchema: z.ZodObject<{\n id: z.ZodUUID;\n name: z.ZodString;\n issuer_public_key: z.ZodString;\n passporting_server_url_base: z.ZodString;\n club_id: z.ZodUUID;\n club_name: z.ZodString;\n}>","options: IframeEnclaveOptions","options: Omit<IframeEnclaveOptions, \"container\" | \"url\">","message: string","credentials: idOSCredential[]","privateFieldFilters: { pick: Record<string, unknown[]>; omit: Record<string, unknown[]> }","message: Uint8Array","receiverPublicKey: Uint8Array","senderPublicKey: Uint8Array","params: {\n chainId?: string;\n nodeUrl: string;\n enclaveOptions: Omit<Provider[\"options\"], \"mode\">;\n enclaveProvider?: new (options: Omit<Provider[\"options\"], \"mode\">) => Provider;\n store?: Store;\n }","options: Omit<Provider[\"options\"], \"mode\">","store: Store","kwilClient: KwilActionClient","enclaveProvider: BaseProvider","params: idOSClientConfiguration<BaseProvider>","address: string","signer: Wallet","idOSClientIdle: idOSClientIdle","kwilSigner: KwilSigner","walletIdentifier: string","userId: string","idOSClientWithUserSigner: idOSClientWithUserSigner","user: idOSUser","params: idOSDelegatedWriteGrant","id: string","credential: ShareCredentialInput","attribute: AddAttributeInput","consumerRecipientEncryptionPublicKey: string","consumerAddress: string","lockedUntil: number","params: DagMessageInput","params: GetGrantsPaginatedInput","params: AddWalletInput[]","params: AddWalletInput","ids: string[]","requirements: {\n acceptedIssuers: {\n authPublicKey: string;\n }[];\n publicNotesFieldFilters?: {\n pick: Record<string, unknown[]>;\n omit: Record<string, unknown[]>;\n };\n privateFieldFilters?: {\n pick: Record<string, unknown[]>;\n omit: Record<string, unknown[]>;\n };\n }","credentialId: string","params: {\n nodeUrl: string;\n enclaveOptions: Omit<IframeEnclave[\"options\"], \"mode\">;\n}"],"sources":["../../@core/src/kwil-infra/create-kwil-client.ts","../../@credentials/src/utils/types.ts","../../@core/src/types/index.ts","../../@core/src/kwil-infra/create-kwil-signer.ts","../../@core/src/kwil-infra/near/create-near-wallet-kwil-signer.ts","../../@core/src/kwil-actions/actions.ts","../src/enclave/iframe-enclave.ts","../src/index.ts"],"sourcesContent":[],"mappings":";;;;;;;;KAmBK,WAAA,UAAqB;KACrB,UAAA,SAAmB;AANnB,KAQA,iBAAA,GAHA,WAIM,UAJe,GAAA;EAAA,IACrB,EAIK,IAJL;EAAmB;EAEnB,MAAA,EAIO,MAJP,CAIc,WAJd,CAI0B,IAJ1B,CAAA,CAAA,MAAA,CAAA,CAAA,MAAA,CAAA,EAAA,GAAA,CAAA;CAAA,EAAA;KAQA,2BAAA,G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