@idos-network/kwil-infra 1.1.0

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.
Files changed (58) hide show
  1. package/.turbo/turbo-build.log +47 -0
  2. package/.turbo/turbo-test.log +126 -0
  3. package/.turbo/turbo-typecheck.log +5 -0
  4. package/CHANGELOG.md +20 -0
  5. package/LICENSE +21 -0
  6. package/README.md +63 -0
  7. package/dist/actions/index.d.mts +2 -0
  8. package/dist/actions/index.mjs +1371 -0
  9. package/dist/actions/index.mjs.map +1 -0
  10. package/dist/facesign/index.d.mts +2 -0
  11. package/dist/facesign/index.mjs +2 -0
  12. package/dist/facesign-signer-ADd4EASX.d.mts +29 -0
  13. package/dist/facesign-signer-ADd4EASX.d.mts.map +1 -0
  14. package/dist/facesign-signer-BY9Nti9F.mjs +244 -0
  15. package/dist/facesign-signer-BY9Nti9F.mjs.map +1 -0
  16. package/dist/index-Ci6QhKJo.d.mts +644 -0
  17. package/dist/index-Ci6QhKJo.d.mts.map +1 -0
  18. package/dist/index.d.mts +2 -0
  19. package/dist/index.mjs +429 -0
  20. package/dist/index.mjs.map +1 -0
  21. package/dist/signature-verification/index.d.mts +14 -0
  22. package/dist/signature-verification/index.d.mts.map +1 -0
  23. package/dist/signature-verification/index.mjs +140 -0
  24. package/dist/signature-verification/index.mjs.map +1 -0
  25. package/dist/xrp/utils.d.mts +1165 -0
  26. package/dist/xrp/utils.d.mts.map +1 -0
  27. package/dist/xrp/utils.mjs +105 -0
  28. package/dist/xrp/utils.mjs.map +1 -0
  29. package/dist/xrpl-credentials/index.d.mts +179 -0
  30. package/dist/xrpl-credentials/index.d.mts.map +1 -0
  31. package/dist/xrpl-credentials/index.mjs +224 -0
  32. package/dist/xrpl-credentials/index.mjs.map +1 -0
  33. package/package.json +93 -0
  34. package/src/actions/actions.ts +2197 -0
  35. package/src/actions/index.ts +55 -0
  36. package/src/create-kwil-client.ts +144 -0
  37. package/src/create-kwil-signer.ts +270 -0
  38. package/src/facesign/facesign-signer.ts +327 -0
  39. package/src/facesign/index.ts +2 -0
  40. package/src/index.ts +7 -0
  41. package/src/near/create-near-wallet-kwil-signer.ts +245 -0
  42. package/src/near/get-config.ts +43 -0
  43. package/src/near/nep413.ts +62 -0
  44. package/src/near/signature-verification.ts +85 -0
  45. package/src/signature-verification/evm.ts +33 -0
  46. package/src/signature-verification/facesign.ts +19 -0
  47. package/src/signature-verification/index.test.ts +110 -0
  48. package/src/signature-verification/index.ts +72 -0
  49. package/src/signature-verification/stellar.ts +31 -0
  50. package/src/xrp/signature-verification.ts +18 -0
  51. package/src/xrp/signer.ts +43 -0
  52. package/src/xrp/utils.ts +178 -0
  53. package/src/xrpl-credentials/accept.ts +143 -0
  54. package/src/xrpl-credentials/create.ts +199 -0
  55. package/src/xrpl-credentials/index.ts +12 -0
  56. package/tsconfig.json +33 -0
  57. package/tsdown.config.ts +13 -0
  58. package/vitest.config.ts +6 -0
@@ -0,0 +1,47 @@
1
+
2
+ 
3
+ > @idos-network/kwil-infra@1.0.0-rc.1.1 build /Users/strnadj/Projects/idos/idos-sdk-js/packages/kwil-infra
4
+ > tsdown
5
+
6
+ ℹ tsdown v0.21.7 powered by rolldown v1.0.0-rc.12
7
+ ℹ config file: /Users/strnadj/Projects/idos/idos-sdk-js/packages/kwil-infra/tsdown.config.ts
8
+ ℹ entry: ./src/index.ts, ./src/actions/index.ts, ./src/signature-verification/index.ts, ./src/xrp/utils.ts, ./src/facesign/index.ts, ./src/xrpl-credentials/index.ts
9
+ ℹ tsconfig: tsconfig.json
10
+ ℹ Build start
11
+ ℹ Cleaning 31 files
12
+ ℹ Hint: consider adding deps.onlyBundle option to avoid unintended bundling of dependencies, or set deps.onlyBundle: false to disable this hint.
13
+ See more at https://tsdown.dev/options/dependencies#deps-onlybundle
14
+ Detected dependencies in bundle:
15
+ - @gemwallet/api
16
+ - xumm-sdk
17
+ - xumm-oauth2-pkce
18
+ - xumm-xapp-sdk
19
+ - xumm
20
+ ℹ dist/actions/index.mjs 37.28 kB │ gzip: 5.51 kB
21
+ ℹ dist/index.mjs 15.28 kB │ gzip: 4.28 kB
22
+ ℹ dist/xrpl-credentials/index.mjs  8.13 kB │ gzip: 2.22 kB
23
+ ℹ dist/signature-verification/index.mjs  5.25 kB │ gzip: 1.44 kB
24
+ ℹ dist/xrp/utils.mjs  3.42 kB │ gzip: 1.14 kB
25
+ ℹ dist/facesign/index.mjs  0.11 kB │ gzip: 0.10 kB
26
+ ℹ dist/actions/index.mjs.map 80.23 kB │ gzip: 9.53 kB
27
+ ℹ dist/xrp/utils.d.mts.map 43.87 kB │ gzip: 10.14 kB
28
+ ℹ dist/index.mjs.map 33.79 kB │ gzip: 9.16 kB
29
+ ℹ dist/index-Ci6QhKJo.d.mts.map 19.55 kB │ gzip: 2.69 kB
30
+ ℹ dist/xrpl-credentials/index.mjs.map 14.52 kB │ gzip: 3.66 kB
31
+ ℹ dist/facesign-signer-BY9Nti9F.mjs.map 14.00 kB │ gzip: 3.70 kB
32
+ ℹ dist/signature-verification/index.mjs.map 11.35 kB │ gzip: 3.13 kB
33
+ ℹ dist/xrp/utils.mjs.map  7.76 kB │ gzip: 2.52 kB
34
+ ℹ dist/facesign-signer-BY9Nti9F.mjs  7.12 kB │ gzip: 1.84 kB
35
+ ℹ dist/xrpl-credentials/index.d.mts.map  0.94 kB │ gzip: 0.43 kB
36
+ ℹ dist/facesign-signer-ADd4EASX.d.mts.map  0.52 kB │ gzip: 0.28 kB
37
+ ℹ dist/signature-verification/index.d.mts.map  0.24 kB │ gzip: 0.18 kB
38
+ ℹ dist/xrp/utils.d.mts 39.80 kB │ gzip: 8.15 kB
39
+ ℹ dist/actions/index.d.mts 11.40 kB │ gzip: 2.12 kB
40
+ ℹ dist/xrpl-credentials/index.d.mts  7.78 kB │ gzip: 2.12 kB
41
+ ℹ dist/index.d.mts  0.68 kB │ gzip: 0.28 kB
42
+ ℹ dist/signature-verification/index.d.mts  0.43 kB │ gzip: 0.27 kB
43
+ ℹ dist/facesign/index.d.mts  0.23 kB │ gzip: 0.14 kB
44
+ ℹ dist/index-Ci6QhKJo.d.mts 36.45 kB │ gzip: 6.43 kB
45
+ ℹ dist/facesign-signer-ADd4EASX.d.mts  0.82 kB │ gzip: 0.39 kB
46
+ ℹ 26 files, total: 400.94 kB
47
+ ✔ Build complete in 543ms
@@ -0,0 +1,126 @@
1
+
2
+ 
3
+ > @idos-network/kwil-infra@1.0.0-rc.1.1 test /Users/strnadj/Projects/idos/idos-sdk-js/packages/kwil-infra
4
+ > vitest
5
+
6
+ [?25l
7
+  DEV  v4.0.16 /Users/strnadj/Projects/idos/idos-sdk-js/packages/kwil-infra
8
+
9
+ [?2026h
10
+  Test Files 0 passed (1)
11
+  Tests 0 passed (0)
12
+  Start at 15:04:41
13
+  Duration 913ms
14
+ [?2026l[?2026h
15
+  ❯ src/signature-verification/index.test.ts [queued]
16
+
17
+  Test Files 0 passed (1)
18
+  Tests 0 passed (0)
19
+  Start at 15:04:41
20
+  Duration 1.22s
21
+ [?2026l[?2026h
22
+  ❯ src/signature-verification/index.test.ts 0/6
23
+
24
+  Test Files 0 passed (1)
25
+  Tests 0 passed (6)
26
+  Start at 15:04:41
27
+  Duration 1.42s
28
+ [?2026lstdout | src/signature-verification/index.test.ts > verifySignature > routes FaceSign verification
29
+ message Uint8Array(5) [ 104, 101, 108, 108, 111 ]
30
+ keyPair.secretKey Uint8Array(64) [
31
+ 22, 145, 216, 173, 105, 53, 117, 196, 139, 199, 73,
32
+ 84, 62, 83, 109, 96, 73, 202, 196, 145, 220, 245,
33
+ 177, 220, 36, 77, 247, 198, 242, 229, 237, 178, 163,
34
+ 31, 16, 92, 194, 100, 193, 190, 3, 119, 113, 178,
35
+ 218, 178, 67, 229, 95, 37, 36, 60, 155, 218, 222,
36
+ 48, 194, 22, 119, 47, 75, 138, 246, 21
37
+ ]
38
+ signature Uint8Array(64) [
39
+ 232, 29, 198, 32, 8, 68, 156, 121, 137, 101, 21,
40
+ 26, 77, 250, 216, 246, 221, 102, 138, 42, 215, 224,
41
+ 241, 27, 181, 30, 125, 60, 238, 19, 27, 32, 209,
42
+ 183, 59, 173, 81, 6, 148, 69, 204, 3, 91, 202,
43
+ 0, 197, 48, 110, 174, 117, 171, 35, 173, 66, 65,
44
+ 126, 90, 167, 83, 48, 131, 150, 196, 10
45
+ ]
46
+
47
+ ✓ src/signature-verification/index.test.ts (6 tests | 5 skipped) 29ms
48
+ ✓ verifySignature (6)
49
+ ↓ routes EVM verification
50
+ ↓ requires public_key for non-EVM wallets
51
+ ↓ routes NEAR verification
52
+ ↓ routes Stellar verification
53
+ ↓ returns false when verifier throws
54
+ ✓ routes FaceSign verification 28ms
55
+
56
+  Test Files  1 passed (1)
57
+  Tests  1 passed | 5 skipped (6)
58
+  Start at  15:04:41
59
+  Duration  1.54s (transform 138ms, setup 0ms, import 272ms, tests 29ms, environment 979ms)
60
+
61
+  PASS  Waiting for file changes...
62
+ press h to show help, press q to quit
63
+ c RERUN  src/signature-verification/index.test.ts x1 
64
+
65
+ [?2026h
66
+  ❯ src/signature-verification/index.test.ts [queued]
67
+
68
+  Test Files 0 passed (1)
69
+  Tests 0 passed (0)
70
+  Start at 15:04:50
71
+  Duration 302ms
72
+ [?2026l ✓ src/signature-verification/index.test.ts (6 tests | 5 skipped) 18ms
73
+ ✓ verifySignature (6)
74
+ ↓ routes EVM verification
75
+ ↓ requires public_key for non-EVM wallets
76
+ ↓ routes NEAR verification
77
+ ↓ routes Stellar verification
78
+ ↓ returns false when verifier throws
79
+ ✓ routes FaceSign verification 18ms
80
+
81
+  Test Files  1 passed (1)
82
+  Tests  1 passed | 5 skipped (6)
83
+  Start at  15:04:50
84
+  Duration  56ms
85
+
86
+  PASS  Waiting for file changes...
87
+ press h to show help, press q to quit
88
+ c RERUN  src/signature-verification/index.test.ts x2 
89
+
90
+ [?2026h
91
+  ❯ src/signature-verification/index.test.ts [queued]
92
+
93
+  Test Files 0 passed (1)
94
+  Tests 0 passed (0)
95
+  Start at 15:04:55
96
+  Duration 303ms
97
+ [?2026lstderr | src/signature-verification/index.test.ts > verifySignature > returns false when verifier throws
98
+ Error verifying signature Error: boom
99
+ at /Users/strnadj/Projects/idos/idos-sdk-js/packages/kwil-infra/src/signature-verification/index.test.ts:80:13
100
+ at Mock (file:///Users/strnadj/Projects/idos/idos-sdk-js/node_modules/.pnpm/@vitest+spy@4.0.16/node_modules/@vitest/spy/dist/index.js:285:34)
101
+ at Module.verifySignature (/Users/strnadj/Projects/idos/idos-sdk-js/packages/kwil-infra/src/signature-verification/index.ts:43:16)
102
+ at /Users/strnadj/Projects/idos/idos-sdk-js/packages/kwil-infra/src/signature-verification/index.test.ts:83:26
103
+ at file:///Users/strnadj/Projects/idos/idos-sdk-js/node_modules/.pnpm/@vitest+runner@4.0.16/node_modules/@vitest/runner/dist/index.js:145:11
104
+ at file:///Users/strnadj/Projects/idos/idos-sdk-js/node_modules/.pnpm/@vitest+runner@4.0.16/node_modules/@vitest/runner/dist/index.js:915:26
105
+ at file:///Users/strnadj/Projects/idos/idos-sdk-js/node_modules/.pnpm/@vitest+runner@4.0.16/node_modules/@vitest/runner/dist/index.js:1243:20
106
+ at new Promise (<anonymous>)
107
+ at runWithTimeout (file:///Users/strnadj/Projects/idos/idos-sdk-js/node_modules/.pnpm/@vitest+runner@4.0.16/node_modules/@vitest/runner/dist/index.js:1209:10)
108
+ at file:///Users/strnadj/Projects/idos/idos-sdk-js/node_modules/.pnpm/@vitest+runner@4.0.16/node_modules/@vitest/runner/dist/index.js:1653:37
109
+
110
+ ✓ src/signature-verification/index.test.ts (6 tests) 23ms
111
+ ✓ verifySignature (6)
112
+ ✓ routes EVM verification 1ms
113
+ ✓ requires public_key for non-EVM wallets 1ms
114
+ ✓ routes NEAR verification 0ms
115
+ ✓ routes Stellar verification 0ms
116
+ ✓ returns false when verifier throws 2ms
117
+ ✓ routes FaceSign verification 19ms
118
+
119
+  Test Files  1 passed (1)
120
+  Tests  6 passed (6)
121
+  Start at  15:04:55
122
+  Duration  65ms
123
+
124
+  PASS  Waiting for file changes...
125
+ press h to show help, press q to quit
126
+ [?25h[?25h ELIFECYCLE  Test failed. See above for more details.
@@ -0,0 +1,5 @@
1
+
2
+ 
3
+ > @idos-network/kwil-infra@1.0.0-rc.1.1 typecheck /Users/strnadj/Projects/idos/idos-sdk-js/packages/kwil-infra
4
+ > tsc --noEmit
5
+
package/CHANGELOG.md ADDED
@@ -0,0 +1,20 @@
1
+ # @idos-network/kwil-infra
2
+
3
+ ## 1.1.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 867ffcb: Update minor version to deploy
8
+
9
+ ### Patch Changes
10
+
11
+ - Updated dependencies [867ffcb]
12
+ - @idos-network/utils@1.1.0
13
+
14
+ ## 1.0.0
15
+
16
+ ### Patch Changes
17
+
18
+ - ad4b090: Release test
19
+ - Updated dependencies [ad4b090]
20
+ - @idos-network/utils@1.0.0
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2023 idOS Network
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,63 @@
1
+ # idOS Kwil Infra
2
+
3
+ > ⚖️ Legalities
4
+ >
5
+ > By downloading, installing, or implementing any of the idOS’ SDKs, you acknowledge that you have read and understood idOS’ Privacy Policy and Transparency Document.
6
+ >
7
+ > - <https://www.idos.network/legal/privacy-policy>
8
+ > - <https://www.idos.network/legal/transparency-document>
9
+
10
+ ## Developing locally
11
+
12
+ ```bash
13
+ pnpm build
14
+ ```
15
+
16
+ ## Overview
17
+
18
+ `@idos-network/kwil-infra` provides the building blocks for interacting with the idOS Kwil
19
+ infrastructure. It includes:
20
+
21
+ - Typed action helpers generated from the Kwil schema.
22
+ - Client helpers to `call` and `execute` actions.
23
+ - Signer helpers for EVM, NEAR, Stellar, XRPL, and custom signers.
24
+ - Signature verification utilities across supported wallet types.
25
+ - XRPL wallet helpers (Xumm, GemWallet).
26
+
27
+ ## Install
28
+
29
+ ```bash
30
+ pnpm add @idos-network/kwil-infra
31
+ ```
32
+
33
+ Some features require optional peer dependencies:
34
+
35
+ - `@wagmi/core` (EVM)
36
+ - `near-api-js`, `@near-wallet-selector/core` (NEAR)
37
+ - `@stellar/stellar-sdk` (Stellar)
38
+ - `ripple-keypairs`, `xrpl` (XRPL)
39
+
40
+ ## Create a Kwil client
41
+
42
+ ```ts
43
+ import { createNodeKwilClient } from "@idos-network/kwil-infra";
44
+
45
+ const kwil = await createNodeKwilClient({
46
+ nodeUrl: "https://kwil.your-node.example",
47
+ });
48
+ ```
49
+
50
+ ## Run actions
51
+
52
+ ```ts
53
+ import { addWallet } from "@idos-network/kwil-infra/actions";
54
+
55
+ await addWallet(kwil, {
56
+ id: "00000000-0000-0000-0000-000000000000",
57
+ address: "0xabc...",
58
+ public_key: null,
59
+ wallet_type: "EVM",
60
+ message: "Sign this message",
61
+ signature: "0xsignature",
62
+ });
63
+ ```
@@ -0,0 +1,2 @@
1
+ import { $ as DwgMessageInputSchema, $n as checkBalance, $t as GetUserAsInserterOutputSchema, A as AddWalletInputSchema, An as ShareAttributeInput, Ar as removeCredential, At as GetCredentialOwnedOutput, B as CredentialExistAsInserterInputSchema, Bn as WALLET_TYPES, Br as upsertWalletAsInserter, Bt as GetCredentialsSharedByUserOutput, C as AddDelegateAsOwnerInput, Cn as RequestBalanceWithdrawalInputSchema, Cr as getUser, Ct as GetAccessGrantsOwnedOutputSchema, D as AddUserAsInserterInput, Dn as RescindSharedCredentialInputSchema, Dr as hasLockedAccessGrants, Dt as GetAttributesOutputSchema, E as AddInserterAsOwnerInputSchema, En as RescindSharedCredentialInput, Er as getWallets, Et as GetAttributesOutput, F as CreateAgByDagForCopyInput, Fn as UpdateUserPubKeyAsInserterInputSchema, Fr as revokeAccessGrant, Ft as GetCredentialSharedOutputSchema, G as DagMessageOutput, Gn as actionSchema, Gt as GetIssuerFeeOutputSchema, H as CredentialExistAsInserterOutputSchema, Hn as actionCostingFee, Ht as GetIssuerFeeInput, I as CreateAgByDagForCopyInputSchema, In as UpsertCredentialAsInserterInput, Ir as shareAttribute, It as GetCredentialsOutput, J as DeleteDelegateAsOwnerInput, Jn as addCredential, Jt as GetSiblingCredentialIdOutput, K as DagMessageOutputSchema, Kn as addAttribute, Kt as GetSiblingCredentialIdInput, L as CreateCredentialsByDwgInput, Ln as UpsertCredentialAsInserterInputSchema, Lr as shareCredential, Lt as GetCredentialsOutputSchema, M as CheckBalanceInputSchema, Mn as ShareCredentialInput, Mr as requestBalanceWithdrawal, Mt as GetCredentialSharedInput, N as CheckBalanceOutput, Nn as ShareCredentialInputSchema, Nr as requestWithdrawal, Nt as GetCredentialSharedInputSchema, O as AddUserAsInserterInputSchema, On as RevokeAccessGrantInput, Or as hasProfile, Ot as GetCredentialOwnedInput, P as CheckBalanceOutputSchema, Pn as UpdateUserPubKeyAsInserterInput, Pr as rescindSharedCredential, Pt as GetCredentialSharedOutput, Q as DwgMessageInput, Qn as addWallet, Qt as GetUserAsInserterOutput, R as CreateCredentialsByDwgInputSchema, Rn as UpsertWalletAsInserterInput, Rr as updateUserPubKeyAsInserter, Rt as GetCredentialsSharedByUserInput, S as AddCredentialInputSchema, Sn as RequestBalanceWithdrawalInput, Sr as getSiblingCredentialId, St as GetAccessGrantsOwnedOutput, T as AddInserterAsOwnerInput, Tn as RequestWithdrawalInputSchema, Tr as getWalletWithBalance, Tt as GetAllowanceOutputSchema, U as DagMessageInput, Un as actionCostingGas, Ut as GetIssuerFeeInputSchema, V as CredentialExistAsInserterOutput, Vn as WalletType, Vr as walletTypeSchema, Vt as GetCredentialsSharedByUserOutputSchema, W as DagMessageInputSchema, Wn as actionCostingIdosToken, Wt as GetIssuerFeeOutput, X as DeleteInserterAsOwnerInput, Xn as addInserterAsOwner, Xt as GetUserAsInserterInput, Y as DeleteDelegateAsOwnerInputSchema, Yn as addDelegateAsOwner, Yt as GetSiblingCredentialIdOutputSchema, Z as DeleteInserterAsOwnerInputSchema, Zn as addUserAsInserter, Zt as GetUserAsInserterInputSchema, _ as AddAttributeAsInserterInput, _n as RemoveAttributeInputSchema, _r as getCredentialOwned, _t as GetAccessGrantsGrantedCountOutputSchema, a as idOSCredentialListItem, an as GetWalletWithBalanceOutputSchema, ar as deleteInserterAsOwner, at as EditCredentialInput, b as AddAttributeInputSchema, bn as RemoveWalletInput, br as getCredentialsSharedByUser, bt as GetAccessGrantsGrantedOutput, c as idOSUser, cn as HasLockedAccessGrantsInput, cr as editCredential, ct as EditPublicNotesAsIssuerInputSchema, d as removeWallets, dn as HasLockedAccessGrantsOutputSchema, dr as getAccessGrantsForCredential, dt as GetAccessGrantsForCredentialInputSchema, en as GetUserOutput, er as createAgByDagForCopy, et as DwgMessageOutput, f as ActionCostingFeeInput, fn as HasProfileInput, fr as getAccessGrantsGranted, ft as GetAccessGrantsForCredentialOutput, g as ActionSchemaElement, gn as RemoveAttributeInput, gr as getAttributes, gt as GetAccessGrantsGrantedCountOutput, h as ActionCostingIdosTokenInputSchema, hn as HasProfileOutputSchema, hr as getAllowance, ht as GetAccessGrantsGrantedCountInputSchema, i as idOSCredential, in as GetWalletWithBalanceOutput, ir as deleteDelegateAsOwner, it as EditAttributeInputSchema, j as CheckBalanceInput, jn as ShareAttributeInputSchema, jr as removeWallet, jt as GetCredentialOwnedOutputSchema, k as AddWalletInput, kn as RevokeAccessGrantInputSchema, kr as removeAttribute, kt as GetCredentialOwnedInputSchema, l as idOSUserAttribute, ln as HasLockedAccessGrantsInputSchema, lr as editPublicNotesAsIssuer, lt as EncryptionPasswordStore, m as ActionCostingIdosTokenInput, mn as HasProfileOutput, mr as getAccessGrantsOwned, mt as GetAccessGrantsGrantedCountInput, n as addWallets, nn as GetWalletWithBalanceInput, nr as credentialExistAsInserter, nt as ENCRYPTION_PASSWORD_STORES, o as idOSDelegatedWriteGrant, on as GetWalletsOutput, or as dwgMessage, ot as EditCredentialInputSchema, p as ActionCostingFeeInputSchema, pn as HasProfileInputSchema, pr as getAccessGrantsGrantedCount, pt as GetAccessGrantsForCredentialOutputSchema, q as DataType, qn as addAttributeAsInserter, qt as GetSiblingCredentialIdInputSchema, r as getGrants, rn as GetWalletWithBalanceInputSchema, rr as dagMessage, rt as EditAttributeInput, s as idOSGrant, sn as GetWalletsOutputSchema, sr as editAttribute, st as EditPublicNotesAsIssuerInput, t as GET_GRANTS_DEFAULT_RECORDS_PER_PAGE, tn as GetUserOutputSchema, tr as createCredentialsByDwg, tt as DwgMessageOutputSchema, u as idOSWallet, un as HasLockedAccessGrantsOutput, ur as encryptionPasswordStoreSchema, ut as GetAccessGrantsForCredentialInput, v as AddAttributeAsInserterInputSchema, vn as RemoveCredentialInput, vr as getCredentialShared, vt as GetAccessGrantsGrantedInput, w as AddDelegateAsOwnerInputSchema, wn as RequestWithdrawalInput, wr as getUserAsInserter, wt as GetAllowanceOutput, x as AddCredentialInput, xn as RemoveWalletInputSchema, xr as getIssuerFee, xt as GetAccessGrantsGrantedOutputSchema, y as AddAttributeInput, yn as RemoveCredentialInputSchema, yr as getCredentials, yt as GetAccessGrantsGrantedInputSchema, z as CredentialExistAsInserterInput, zn as UpsertWalletAsInserterInputSchema, zr as upsertCredentialAsInserter, zt as GetCredentialsSharedByUserInputSchema } from "../index-Ci6QhKJo.mjs";
2
+ export { ActionCostingFeeInput, ActionCostingFeeInputSchema, ActionCostingIdosTokenInput, ActionCostingIdosTokenInputSchema, ActionSchemaElement, AddAttributeAsInserterInput, AddAttributeAsInserterInputSchema, AddAttributeInput, AddAttributeInputSchema, AddCredentialInput, AddCredentialInputSchema, AddDelegateAsOwnerInput, AddDelegateAsOwnerInputSchema, AddInserterAsOwnerInput, AddInserterAsOwnerInputSchema, AddUserAsInserterInput, AddUserAsInserterInputSchema, AddWalletInput, AddWalletInputSchema, CheckBalanceInput, CheckBalanceInputSchema, CheckBalanceOutput, CheckBalanceOutputSchema, CreateAgByDagForCopyInput, CreateAgByDagForCopyInputSchema, CreateCredentialsByDwgInput, CreateCredentialsByDwgInputSchema, CredentialExistAsInserterInput, CredentialExistAsInserterInputSchema, CredentialExistAsInserterOutput, CredentialExistAsInserterOutputSchema, DagMessageInput, DagMessageInputSchema, DagMessageOutput, DagMessageOutputSchema, DataType, DeleteDelegateAsOwnerInput, DeleteDelegateAsOwnerInputSchema, DeleteInserterAsOwnerInput, DeleteInserterAsOwnerInputSchema, DwgMessageInput, DwgMessageInputSchema, DwgMessageOutput, DwgMessageOutputSchema, ENCRYPTION_PASSWORD_STORES, EditAttributeInput, EditAttributeInputSchema, EditCredentialInput, EditCredentialInputSchema, EditPublicNotesAsIssuerInput, EditPublicNotesAsIssuerInputSchema, EncryptionPasswordStore, GET_GRANTS_DEFAULT_RECORDS_PER_PAGE, GetAccessGrantsForCredentialInput, GetAccessGrantsForCredentialInputSchema, GetAccessGrantsForCredentialOutput, GetAccessGrantsForCredentialOutputSchema, GetAccessGrantsGrantedCountInput, GetAccessGrantsGrantedCountInputSchema, GetAccessGrantsGrantedCountOutput, GetAccessGrantsGrantedCountOutputSchema, GetAccessGrantsGrantedInput, GetAccessGrantsGrantedInputSchema, GetAccessGrantsGrantedOutput, GetAccessGrantsGrantedOutputSchema, GetAccessGrantsOwnedOutput, GetAccessGrantsOwnedOutputSchema, GetAllowanceOutput, GetAllowanceOutputSchema, GetAttributesOutput, GetAttributesOutputSchema, GetCredentialOwnedInput, GetCredentialOwnedInputSchema, GetCredentialOwnedOutput, GetCredentialOwnedOutputSchema, GetCredentialSharedInput, GetCredentialSharedInputSchema, GetCredentialSharedOutput, GetCredentialSharedOutputSchema, GetCredentialsOutput, GetCredentialsOutputSchema, GetCredentialsSharedByUserInput, GetCredentialsSharedByUserInputSchema, GetCredentialsSharedByUserOutput, GetCredentialsSharedByUserOutputSchema, GetIssuerFeeInput, GetIssuerFeeInputSchema, GetIssuerFeeOutput, GetIssuerFeeOutputSchema, GetSiblingCredentialIdInput, GetSiblingCredentialIdInputSchema, GetSiblingCredentialIdOutput, GetSiblingCredentialIdOutputSchema, GetUserAsInserterInput, GetUserAsInserterInputSchema, GetUserAsInserterOutput, GetUserAsInserterOutputSchema, GetUserOutput, GetUserOutputSchema, GetWalletWithBalanceInput, GetWalletWithBalanceInputSchema, GetWalletWithBalanceOutput, GetWalletWithBalanceOutputSchema, GetWalletsOutput, GetWalletsOutputSchema, HasLockedAccessGrantsInput, HasLockedAccessGrantsInputSchema, HasLockedAccessGrantsOutput, HasLockedAccessGrantsOutputSchema, HasProfileInput, HasProfileInputSchema, HasProfileOutput, HasProfileOutputSchema, RemoveAttributeInput, RemoveAttributeInputSchema, RemoveCredentialInput, RemoveCredentialInputSchema, RemoveWalletInput, RemoveWalletInputSchema, RequestBalanceWithdrawalInput, RequestBalanceWithdrawalInputSchema, RequestWithdrawalInput, RequestWithdrawalInputSchema, RescindSharedCredentialInput, RescindSharedCredentialInputSchema, RevokeAccessGrantInput, RevokeAccessGrantInputSchema, ShareAttributeInput, ShareAttributeInputSchema, ShareCredentialInput, ShareCredentialInputSchema, UpdateUserPubKeyAsInserterInput, UpdateUserPubKeyAsInserterInputSchema, UpsertCredentialAsInserterInput, UpsertCredentialAsInserterInputSchema, UpsertWalletAsInserterInput, UpsertWalletAsInserterInputSchema, WALLET_TYPES, WalletType, actionCostingFee, actionCostingGas, actionCostingIdosToken, actionSchema, addAttribute, addAttributeAsInserter, addCredential, addDelegateAsOwner, addInserterAsOwner, addUserAsInserter, addWallet, addWallets, checkBalance, createAgByDagForCopy, createCredentialsByDwg, credentialExistAsInserter, dagMessage, deleteDelegateAsOwner, deleteInserterAsOwner, dwgMessage, editAttribute, editCredential, editPublicNotesAsIssuer, encryptionPasswordStoreSchema, getAccessGrantsForCredential, getAccessGrantsGranted, getAccessGrantsGrantedCount, getAccessGrantsOwned, getAllowance, getAttributes, getCredentialOwned, getCredentialShared, getCredentials, getCredentialsSharedByUser, getGrants, getIssuerFee, getSiblingCredentialId, getUser, getUserAsInserter, getWalletWithBalance, getWallets, hasLockedAccessGrants, hasProfile, idOSCredential, idOSCredentialListItem, idOSDelegatedWriteGrant, idOSGrant, idOSUser, idOSUserAttribute, idOSWallet, removeAttribute, removeCredential, removeWallet, removeWallets, requestBalanceWithdrawal, requestWithdrawal, rescindSharedCredential, revokeAccessGrant, shareAttribute, shareCredential, updateUserPubKeyAsInserter, upsertCredentialAsInserter, upsertWalletAsInserter, walletTypeSchema };