@canton-network/core-wallet-store 0.6.0 → 0.8.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.
- package/dist/Store.d.ts.map +1 -1
- package/dist/config/schema.d.ts +12 -16
- package/dist/config/schema.d.ts.map +1 -1
- package/dist/config/schema.js +0 -1
- package/package.json +2 -1
package/dist/Store.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Store.d.ts","sourceRoot":"","sources":["../src/Store.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAA;AAEzC,oBAAY,WAAW;IACnB,YAAY,iBAAiB;IAC7B,WAAW,gBAAgB;CAC9B;AAED,MAAM,MAAM,OAAO,GAAG,MAAM,CAAA;AAE5B,MAAM,WAAW,aAAa;IAC1B,eAAe,EAAE,MAAM,CAAA;CAC1B;AAED,MAAM,WAAW,eAAe;IAC5B,iBAAiB,EAAE,MAAM,CAAA;IACzB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,WAAW,EAAE,WAAW,CAAA;CAC3B;AAED,MAAM,WAAW,YAAY;IACzB,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAA;IACnB,kBAAkB,CAAC,EAAE,MAAM,EAAE,CAAA;CAChC;AAED,MAAM,WAAW,MAAM;IACnB,OAAO,EAAE,OAAO,CAAA;IAChB,OAAO,EAAE,OAAO,CAAA;IAChB,IAAI,EAAE,MAAM,CAAA;IACZ,SAAS,EAAE,MAAM,CAAA;IACjB,SAAS,EAAE,MAAM,CAAA;IACjB,OAAO,EAAE,MAAM,CAAA;IACf,iBAAiB,EAAE,MAAM,CAAA;
|
|
1
|
+
{"version":3,"file":"Store.d.ts","sourceRoot":"","sources":["../src/Store.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAA;AAEzC,oBAAY,WAAW;IACnB,YAAY,iBAAiB;IAC7B,W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OAAO,CAAC,IAAI,CAAC,CAAA;IAIxC,UAAU,IAAI,OAAO,CAAC,OAAO,GAAG,SAAS,CAAC,CAAA;IAC1C,UAAU,CAAC,OAAO,EAAE,OAAO,GAAG,OAAO,CAAC,IAAI,CAAC,CAAA;IAC3C,aAAa,IAAI,OAAO,CAAC,IAAI,CAAC,CAAA;IAG9B,UAAU,CAAC,OAAO,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC,CAAA;IAC7C,iBAAiB,IAAI,OAAO,CAAC,OAAO,CAAC,CAAA;IACrC,YAAY,IAAI,OAAO,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAA;IACvC,aAAa,CAAC,OAAO,EAAE,OAAO,GAAG,OAAO,CAAC,IAAI,CAAC,CAAA;IAC9C,UAAU,CAAC,OAAO,EAAE,OAAO,GAAG,OAAO,CAAC,IAAI,CAAC,CAAA;IAC3C,aAAa,CAAC,OAAO,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAAA;IAG7C,cAAc,CAAC,EAAE,EAAE,WAAW,GAAG,OAAO,CAAC,IAAI,CAAC,CAAA;IAC9C,cAAc,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,WAAW,GAAG,SAAS,CAAC,CAAA;CACtE"}
|
package/dist/config/schema.d.ts
CHANGED
|
@@ -1,13 +1,20 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
export declare const ledgerApiSchema: z.ZodObject<{
|
|
3
3
|
baseUrl: z.ZodString;
|
|
4
|
-
adminGrpcUrl: z.ZodString;
|
|
5
4
|
}, "strip", z.ZodTypeAny, {
|
|
6
5
|
baseUrl: string;
|
|
7
|
-
adminGrpcUrl: string;
|
|
8
6
|
}, {
|
|
9
7
|
baseUrl: string;
|
|
10
|
-
|
|
8
|
+
}>;
|
|
9
|
+
declare const clientCredentials: z.ZodObject<{
|
|
10
|
+
clientId: z.ZodString;
|
|
11
|
+
clientSecret: z.ZodString;
|
|
12
|
+
}, "strip", z.ZodTypeAny, {
|
|
13
|
+
clientId: string;
|
|
14
|
+
clientSecret: string;
|
|
15
|
+
}, {
|
|
16
|
+
clientId: string;
|
|
17
|
+
clientSecret: string;
|
|
11
18
|
}>;
|
|
12
19
|
declare const passwordAuthSchema: z.ZodObject<{
|
|
13
20
|
identityProviderId: z.ZodString;
|
|
@@ -290,13 +297,10 @@ export declare const networkSchema: z.ZodObject<{
|
|
|
290
297
|
description: z.ZodString;
|
|
291
298
|
ledgerApi: z.ZodObject<{
|
|
292
299
|
baseUrl: z.ZodString;
|
|
293
|
-
adminGrpcUrl: z.ZodString;
|
|
294
300
|
}, "strip", z.ZodTypeAny, {
|
|
295
301
|
baseUrl: string;
|
|
296
|
-
adminGrpcUrl: string;
|
|
297
302
|
}, {
|
|
298
303
|
baseUrl: string;
|
|
299
|
-
adminGrpcUrl: string;
|
|
300
304
|
}>;
|
|
301
305
|
auth: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
302
306
|
identityProviderId: z.ZodString;
|
|
@@ -441,7 +445,6 @@ export declare const networkSchema: z.ZodObject<{
|
|
|
441
445
|
description: string;
|
|
442
446
|
ledgerApi: {
|
|
443
447
|
baseUrl: string;
|
|
444
|
-
adminGrpcUrl: string;
|
|
445
448
|
};
|
|
446
449
|
auth: {
|
|
447
450
|
type: "password";
|
|
@@ -490,7 +493,6 @@ export declare const networkSchema: z.ZodObject<{
|
|
|
490
493
|
description: string;
|
|
491
494
|
ledgerApi: {
|
|
492
495
|
baseUrl: string;
|
|
493
|
-
adminGrpcUrl: string;
|
|
494
496
|
};
|
|
495
497
|
auth: {
|
|
496
498
|
type: "password";
|
|
@@ -578,13 +580,10 @@ export declare const storeConfigSchema: z.ZodObject<{
|
|
|
578
580
|
description: z.ZodString;
|
|
579
581
|
ledgerApi: z.ZodObject<{
|
|
580
582
|
baseUrl: z.ZodString;
|
|
581
|
-
adminGrpcUrl: z.ZodString;
|
|
582
583
|
}, "strip", z.ZodTypeAny, {
|
|
583
584
|
baseUrl: string;
|
|
584
|
-
adminGrpcUrl: string;
|
|
585
585
|
}, {
|
|
586
586
|
baseUrl: string;
|
|
587
|
-
adminGrpcUrl: string;
|
|
588
587
|
}>;
|
|
589
588
|
auth: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
590
589
|
identityProviderId: z.ZodString;
|
|
@@ -729,7 +728,6 @@ export declare const storeConfigSchema: z.ZodObject<{
|
|
|
729
728
|
description: string;
|
|
730
729
|
ledgerApi: {
|
|
731
730
|
baseUrl: string;
|
|
732
|
-
adminGrpcUrl: string;
|
|
733
731
|
};
|
|
734
732
|
auth: {
|
|
735
733
|
type: "password";
|
|
@@ -778,7 +776,6 @@ export declare const storeConfigSchema: z.ZodObject<{
|
|
|
778
776
|
description: string;
|
|
779
777
|
ledgerApi: {
|
|
780
778
|
baseUrl: string;
|
|
781
|
-
adminGrpcUrl: string;
|
|
782
779
|
};
|
|
783
780
|
auth: {
|
|
784
781
|
type: "password";
|
|
@@ -842,7 +839,6 @@ export declare const storeConfigSchema: z.ZodObject<{
|
|
|
842
839
|
description: string;
|
|
843
840
|
ledgerApi: {
|
|
844
841
|
baseUrl: string;
|
|
845
|
-
adminGrpcUrl: string;
|
|
846
842
|
};
|
|
847
843
|
auth: {
|
|
848
844
|
type: "password";
|
|
@@ -906,7 +902,6 @@ export declare const storeConfigSchema: z.ZodObject<{
|
|
|
906
902
|
description: string;
|
|
907
903
|
ledgerApi: {
|
|
908
904
|
baseUrl: string;
|
|
909
|
-
adminGrpcUrl: string;
|
|
910
905
|
};
|
|
911
906
|
auth: {
|
|
912
907
|
type: "password";
|
|
@@ -955,7 +950,8 @@ export type Auth = z.infer<typeof authSchema>;
|
|
|
955
950
|
export type Network = z.infer<typeof networkSchema>;
|
|
956
951
|
export type ImplicitAuth = z.infer<typeof implicitAuthSchema>;
|
|
957
952
|
export type PasswordAuth = z.infer<typeof passwordAuthSchema>;
|
|
958
|
-
export type
|
|
953
|
+
export type ClientCredentials = z.infer<typeof clientCredentials>;
|
|
954
|
+
export type ClientCredentialAuth = z.infer<typeof clientCredentialAuthSchema>;
|
|
959
955
|
export type LedgerApi = z.infer<typeof ledgerApiSchema>;
|
|
960
956
|
export {};
|
|
961
957
|
//# sourceMappingURL=schema.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../src/config/schema.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,eAAO,MAAM,eAAe;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../src/config/schema.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,eAAO,MAAM,eAAe;;;;;;EAE1B,CAAA;AAEF,QAAA,MAAM,iBAAiB;;;;;;;;;EAGrB,CAAA;AAEF,QAAA,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAWtB,CAAA;AAEF,QAAA,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAStB,CAAA;AAEF,QAAA,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAU9B,CAAA;AAEF,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAIrB,CAAA;AAEF,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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AA0B,CAAC,CAAA;AAC7E,MAAM,MAAM,SAAS,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,eAAe,CAAC,CAAA"}
|
package/dist/config/schema.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@canton-network/core-wallet-store",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.8.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "The Store API provides persistency for the Wallet Gateway",
|
|
6
6
|
"repository": "github:hyperledger-labs/splice-wallet-kernel",
|
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
"scripts": {
|
|
13
13
|
"build": "tsc -b",
|
|
14
14
|
"dev": "tsc -b --watch",
|
|
15
|
+
"flatpack": "yarn pack --out \"$FLATPACK_OUTDIR\"",
|
|
15
16
|
"clean": "tsc -b --clean; rm -rf dist",
|
|
16
17
|
"test": "yarn node --experimental-vm-modules $(yarn bin jest) --passWithNoTests"
|
|
17
18
|
},
|