@taqueria/protocol 0.18.0 → 0.19.2

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 (107) hide show
  1. package/Alias.d.ts +10 -16
  2. package/Alias.d.ts.map +1 -0
  3. package/Base.d.ts +7 -9
  4. package/Base.d.ts.map +1 -0
  5. package/Command.d.ts +9 -15
  6. package/Command.d.ts.map +1 -0
  7. package/Config.d.ts +16 -23
  8. package/Config.d.ts.map +1 -0
  9. package/Contract.d.ts +10 -16
  10. package/Contract.d.ts.map +1 -0
  11. package/Crypto.d.ts +2 -3
  12. package/Crypto.d.ts.map +1 -0
  13. package/EconomicalProtocolHash.d.ts +12 -19
  14. package/EconomicalProtocolHash.d.ts.map +1 -0
  15. package/Environment.d.ts +14 -22
  16. package/Environment.d.ts.map +1 -0
  17. package/EphemeralState.d.ts +161 -166
  18. package/EphemeralState.d.ts.map +1 -0
  19. package/Faucet.d.ts +13 -20
  20. package/Faucet.d.ts.map +1 -0
  21. package/HumanReadableIdentifier.d.ts +9 -15
  22. package/HumanReadableIdentifier.d.ts.map +1 -0
  23. package/InstalledPlugin.d.ts +13 -20
  24. package/InstalledPlugin.d.ts.map +1 -0
  25. package/LoadedConfig.d.ts +15 -22
  26. package/LoadedConfig.d.ts.map +1 -0
  27. package/MetadataConfig.d.ts +13 -20
  28. package/MetadataConfig.d.ts.map +1 -0
  29. package/NetworkConfig.d.ts +13 -20
  30. package/NetworkConfig.d.ts.map +1 -0
  31. package/Operation.d.ts +35 -41
  32. package/Operation.d.ts.map +1 -0
  33. package/Option.d.ts +14 -21
  34. package/Option.d.ts.map +1 -0
  35. package/ParsedOperation.d.ts +49 -57
  36. package/ParsedOperation.d.ts.map +1 -0
  37. package/ParsedTemplate.d.ts +35 -43
  38. package/ParsedTemplate.d.ts.map +1 -0
  39. package/PersistentState.d.ts +18 -24
  40. package/PersistentState.d.ts.map +1 -0
  41. package/PluginActionName.d.ts +6 -7
  42. package/PluginActionName.d.ts.map +1 -0
  43. package/PluginDependenciesResponse.d.ts +14 -20
  44. package/PluginDependenciesResponse.d.ts.map +1 -0
  45. package/PluginInfo.d.ts +38 -45
  46. package/PluginInfo.d.ts.map +1 -0
  47. package/PluginJsonResponse.d.ts +11 -16
  48. package/PluginJsonResponse.d.ts.map +1 -0
  49. package/PluginProxyResponse.d.ts +9 -16
  50. package/PluginProxyResponse.d.ts.map +1 -0
  51. package/PluginResponseEncoding.d.ts +11 -18
  52. package/PluginResponseEncoding.d.ts.map +1 -0
  53. package/PluginSchema.d.ts +223 -231
  54. package/PluginSchema.d.ts.map +1 -0
  55. package/PositionalArg.d.ts +13 -20
  56. package/PositionalArg.d.ts.map +1 -0
  57. package/Provisioner.d.ts +16 -23
  58. package/Provisioner.d.ts.map +1 -0
  59. package/ProvisionerID.d.ts +12 -19
  60. package/ProvisionerID.d.ts.map +1 -0
  61. package/Provisions.d.ts +12 -19
  62. package/Provisions.d.ts.map +1 -0
  63. package/PublicKeyHash.d.ts +13 -20
  64. package/PublicKeyHash.d.ts.map +1 -0
  65. package/RequestArgs.d.ts +165 -174
  66. package/RequestArgs.d.ts.map +1 -0
  67. package/SHA256.d.ts +11 -15
  68. package/SHA256.d.ts.map +1 -0
  69. package/SandboxAccountConfig.d.ts +13 -20
  70. package/SandboxAccountConfig.d.ts.map +1 -0
  71. package/SandboxConfig.d.ts +13 -20
  72. package/SandboxConfig.d.ts.map +1 -0
  73. package/SanitizedAbsPath.d.ts +12 -19
  74. package/SanitizedAbsPath.d.ts.map +1 -0
  75. package/SanitizedArgs.d.ts +76 -83
  76. package/SanitizedArgs.d.ts.map +1 -0
  77. package/SanitizedPath.d.ts +9 -15
  78. package/SanitizedPath.d.ts.map +1 -0
  79. package/ScaffoldConfig.d.ts +3 -4
  80. package/ScaffoldConfig.d.ts.map +1 -0
  81. package/Settings.d.ts +13 -20
  82. package/Settings.d.ts.map +1 -0
  83. package/SingleChar.d.ts +12 -19
  84. package/SingleChar.d.ts.map +1 -0
  85. package/TaqError.d.ts +10 -13
  86. package/TaqError.d.ts.map +1 -0
  87. package/Task.d.ts +13 -20
  88. package/Task.d.ts.map +1 -0
  89. package/Template.d.ts +55 -63
  90. package/Template.d.ts.map +1 -0
  91. package/Timestamp.d.ts +13 -20
  92. package/Timestamp.d.ts.map +1 -0
  93. package/Tz.d.ts +11 -18
  94. package/Tz.d.ts.map +1 -0
  95. package/Url.d.ts +13 -20
  96. package/Url.d.ts.map +1 -0
  97. package/Verb.d.ts +12 -19
  98. package/Verb.d.ts.map +1 -0
  99. package/VersionNumber.d.ts +9 -15
  100. package/VersionNumber.d.ts.map +1 -0
  101. package/i18n.d.ts +4 -4
  102. package/i18n.d.ts.map +1 -0
  103. package/package.json +3 -3
  104. package/taqueria-protocol-types.d.ts +37 -72
  105. package/taqueria-protocol-types.d.ts.map +1 -0
  106. package/tzkt-config.d.ts +13 -20
  107. package/tzkt-config.d.ts.map +1 -0
package/Alias.d.ts CHANGED
@@ -1,9 +1,6 @@
1
- import * as fluture from 'fluture';
2
- import { TaqError } from './TaqError.js';
3
1
  import { z } from 'zod';
4
-
5
- declare const rawSchema: z.ZodUnion<[z.ZodString, z.ZodString]>;
6
- declare const internalSchema: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodType<any, z.ZodTypeDef, any>, string & {
2
+ export declare const rawSchema: z.ZodUnion<[z.ZodString, z.ZodString]>;
3
+ export declare const internalSchema: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodType<any, z.ZodTypeDef, any>, string & {
7
4
  readonly __kind: any;
8
5
  }, any>, string & {
9
6
  readonly __kind: any;
@@ -12,28 +9,26 @@ declare const internalSchema: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodType<an
12
9
  }, any>, string & {
13
10
  readonly __kind: any;
14
11
  }, any>]>;
15
- declare type Alias = z.infer<typeof internalSchema>;
16
- declare type t = Alias;
17
- declare const create: (input: string | (string & {
12
+ export declare type Alias = z.infer<typeof internalSchema>;
13
+ export declare type t = Alias;
14
+ export declare const create: (input: string | (string & {
18
15
  readonly __kind: any;
19
16
  })) => string & {
20
17
  readonly __kind: any;
21
18
  } & {
22
19
  readonly __kind: any;
23
- };
24
- declare const of: (input: unknown) => fluture.FutureInstance<TaqError, string & {
20
+ }, of: (input: unknown) => import("fluture").FutureInstance<import("./TaqError").TaqError, string & {
25
21
  readonly __kind: any;
26
22
  } & {
27
23
  readonly __kind: any;
28
- }>;
29
- declare const make: (input: string & {
24
+ }>, make: (input: string & {
30
25
  readonly __kind: any;
31
- }) => fluture.FutureInstance<TaqError, string & {
26
+ }) => import("fluture").FutureInstance<import("./TaqError").TaqError, string & {
32
27
  readonly __kind: any;
33
28
  } & {
34
29
  readonly __kind: any;
35
30
  }>;
36
- declare const schemas: {
31
+ export declare const schemas: {
37
32
  schema: z.ZodEffects<z.ZodEffects<z.ZodType<any, z.ZodTypeDef, any>, string & {
38
33
  readonly __kind: any;
39
34
  } & {
@@ -44,5 +39,4 @@ declare const schemas: {
44
39
  rawSchema: z.ZodType<any, z.ZodTypeDef, any>;
45
40
  internalSchema: z.ZodType<any, z.ZodTypeDef, any>;
46
41
  };
47
-
48
- export { Alias, create, internalSchema, make, of, rawSchema, schemas, t };
42
+ //# sourceMappingURL=Alias.d.ts.map
package/Alias.d.ts.map ADDED
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Alias.d.ts","sourceRoot":"","sources":["Alias.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,SAAS,wCAIO,CAAC;AAE9B,eAAO,MAAM,cAAc;;;;;;;;SAIE,CAAC;AAa9B,oBAAY,KAAK,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;AAEnD,oBAAY,CAAC,GAAG,KAAK,CAAC;AAEtB,eAAO,MAAQ,MAAM;;;;;;GAAE,EAAE;;;;IAAE,IAAI;;;;;;EAAY,CAAC;AAE5C,eAAO,MAAM,OAAO;;;;;;;;;;CAGnB,CAAC"}
package/Base.d.ts CHANGED
@@ -1,7 +1,5 @@
1
- import * as _taqueria_protocol_TaqError from '@taqueria/protocol/TaqError';
2
1
  import { FutureInstance } from 'fluture';
3
2
  import { z, ZodSchema } from 'zod';
4
-
5
3
  declare type ErrMsg = string | ((value: unknown) => string);
6
4
  interface CreateSchemaParams {
7
5
  rawSchema: ZodSchema;
@@ -13,17 +11,17 @@ interface CreateTypeParams extends CreateSchemaParams {
13
11
  parseErrMsg: ErrMsg;
14
12
  unknownErrMsg: ErrMsg;
15
13
  }
16
- declare type Flatten<T> = {
14
+ export declare type Flatten<T> = {
17
15
  [k in keyof T]: T[k];
18
16
  };
19
- declare const createSchema: <I>(params: CreateSchemaParams) => {
17
+ export declare const createSchema: <I>(params: CreateSchemaParams) => {
20
18
  rawSchema: z.ZodType<any, z.ZodTypeDef, any>;
21
19
  internalSchema: z.ZodType<any, z.ZodTypeDef, any>;
22
20
  schema: z.ZodEffects<z.ZodType<any, z.ZodTypeDef, any>, I & {
23
21
  readonly __kind: any;
24
22
  }, any>;
25
23
  };
26
- declare const createType: <R, I>(params: CreateTypeParams) => {
24
+ export declare const createType: <R, I>(params: CreateTypeParams) => {
27
25
  schemas: {
28
26
  rawSchema: z.ZodType<any, z.ZodTypeDef, any>;
29
27
  internalSchema: z.ZodType<any, z.ZodTypeDef, any>;
@@ -32,10 +30,10 @@ declare const createType: <R, I>(params: CreateTypeParams) => {
32
30
  }, any>;
33
31
  };
34
32
  factory: {
35
- make: (input: I) => FutureInstance<_taqueria_protocol_TaqError.TaqError, I & {
33
+ make: (input: I) => FutureInstance<import("@taqueria/protocol/TaqError").TaqError, I & {
36
34
  readonly __kind: any;
37
35
  }>;
38
- of: (input: unknown) => FutureInstance<_taqueria_protocol_TaqError.TaqError, I & {
36
+ of: (input: unknown) => FutureInstance<import("@taqueria/protocol/TaqError").TaqError, I & {
39
37
  readonly __kind: any;
40
38
  }>;
41
39
  create: (input: R | I) => I & {
@@ -46,5 +44,5 @@ declare const createType: <R, I>(params: CreateTypeParams) => {
46
44
  };
47
45
  };
48
46
  };
49
-
50
- export { Flatten, createSchema, createType, createType as default };
47
+ export default createType;
48
+ //# sourceMappingURL=Base.d.ts.map
package/Base.d.ts.map ADDED
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Base.d.ts","sourceRoot":"","sources":["Base.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAW,MAAM,SAAS,CAAC;AAClD,OAAO,EAAE,CAAC,EAAY,SAAS,EAAE,MAAM,KAAK,CAAC;AAI7C,aAAK,MAAM,GAAG,MAAM,GAAG,CAAC,CAAC,KAAK,EAAE,OAAO,KAAK,MAAM,CAAC,CAAC;AAEpD,UAAU,kBAAkB;IAC3B,SAAS,EAAE,SAAS,CAAC;IACrB,cAAc,CAAC,EAAE,SAAS,CAAC;IAC3B,WAAW,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,OAAO,CAAC;IAC1C,YAAY,CAAC,EAAE,OAAO,CAAC;CACvB;AAED,UAAU,gBAAiB,SAAQ,kBAAkB;IACpD,WAAW,EAAE,MAAM,CAAC;IACpB,aAAa,EAAE,MAAM,CAAC;CACtB;AACD,oBAAY,OAAO,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAE,CAAC;AAElD,eAAO,MAAM,YAAY,cAAe,kBAAkB;;;;;;CA6BzD,CAAC;AASF,eAAO,MAAM,UAAU,iBAAkB,gBAAgB;;;;;;;;;;;;oBAM7B,OAAO;;;;;;sBAwBb,OAAO;;;;CAa5B,CAAC;AAEF,eAAe,UAAU,CAAC"}
package/Command.d.ts CHANGED
@@ -1,23 +1,18 @@
1
- import * as fluture from 'fluture';
2
- import { TaqError } from './TaqError.js';
3
1
  import { z } from 'zod';
4
-
5
- declare const rawSchema: z.ZodString;
6
- declare const internalSchema: z.ZodEffects<z.ZodType<any, z.ZodTypeDef, any>, string & {
2
+ export declare const rawSchema: z.ZodString;
3
+ export declare const internalSchema: z.ZodEffects<z.ZodType<any, z.ZodTypeDef, any>, string & {
7
4
  readonly __kind: any;
8
5
  }, any>;
9
- declare type Command = z.infer<typeof internalSchema>;
10
- declare type t = Command;
11
- declare const create: (input: string) => string & {
6
+ export declare type Command = z.infer<typeof internalSchema>;
7
+ export declare type t = Command;
8
+ export declare const create: (input: string) => string & {
12
9
  readonly __kind: any;
13
- };
14
- declare const make: (input: string) => fluture.FutureInstance<TaqError, string & {
10
+ }, make: (input: string) => import("fluture").FutureInstance<import("./TaqError").TaqError, string & {
15
11
  readonly __kind: any;
16
- }>;
17
- declare const of: (input: unknown) => fluture.FutureInstance<TaqError, string & {
12
+ }>, of: (input: unknown) => import("fluture").FutureInstance<import("./TaqError").TaqError, string & {
18
13
  readonly __kind: any;
19
14
  }>;
20
- declare const schemas: {
15
+ export declare const schemas: {
21
16
  schema: z.ZodEffects<z.ZodEffects<z.ZodType<any, z.ZodTypeDef, any>, string & {
22
17
  readonly __kind: any;
23
18
  }, any>, string & {
@@ -26,5 +21,4 @@ declare const schemas: {
26
21
  rawSchema: z.ZodType<any, z.ZodTypeDef, any>;
27
22
  internalSchema: z.ZodType<any, z.ZodTypeDef, any>;
28
23
  };
29
-
30
- export { Command, create, internalSchema, make, of, rawSchema, schemas, t };
24
+ //# sourceMappingURL=Command.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Command.d.ts","sourceRoot":"","sources":["Command.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,SAAS,aAGwF,CAAC;AAW/G,eAAO,MAAM,cAAc;;OAA0B,CAAC;AAEtD,oBAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;AACrD,oBAAY,CAAC,GAAG,OAAO,CAAC;AACxB,eAAO,MAAQ,MAAM;;GAAE,IAAI;;IAAE,EAAE;;EAAY,CAAC;AAC5C,eAAO,MAAM,OAAO;;;;;;;;CAGnB,CAAC"}
package/Config.d.ts CHANGED
@@ -1,9 +1,6 @@
1
- import * as fluture from 'fluture';
2
- import { TaqError } from './TaqError.js';
3
1
  import { Flatten } from '@taqueria/protocol/Base';
4
2
  import { z } from 'zod';
5
-
6
- declare const pluginsRawSchema: z.ZodEffects<z.ZodArray<z.ZodObject<{
3
+ export declare const pluginsRawSchema: z.ZodEffects<z.ZodArray<z.ZodObject<{
7
4
  name: z.ZodString;
8
5
  type: z.ZodUnion<[z.ZodLiteral<"npm">, z.ZodLiteral<"binary">, z.ZodLiteral<"deno">]>;
9
6
  }, "strip", z.ZodTypeAny, {
@@ -16,7 +13,7 @@ declare const pluginsRawSchema: z.ZodEffects<z.ZodArray<z.ZodObject<{
16
13
  type: "npm" | "binary" | "deno";
17
14
  name: string;
18
15
  }[], unknown>;
19
- declare const pluginsInternalSchema: z.ZodEffects<z.ZodArray<z.ZodEffects<z.ZodEffects<z.ZodType<any, z.ZodTypeDef, any>, {
16
+ export declare const pluginsInternalSchema: z.ZodEffects<z.ZodArray<z.ZodEffects<z.ZodEffects<z.ZodType<any, z.ZodTypeDef, any>, {
20
17
  type: "npm" | "binary" | "deno";
21
18
  name: string;
22
19
  } & {
@@ -32,7 +29,7 @@ declare const pluginsInternalSchema: z.ZodEffects<z.ZodArray<z.ZodEffects<z.ZodE
32
29
  } & {
33
30
  readonly __kind: any;
34
31
  })[], unknown>;
35
- declare const internalSchema: z.ZodObject<z.extendShape<{
32
+ export declare const internalSchema: z.ZodObject<z.extendShape<{
36
33
  language: z.ZodEffects<z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"en">, z.ZodLiteral<"fr">]>>, "en" | "fr" | undefined, unknown>;
37
34
  plugins: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodEffects<z.ZodEffects<z.ZodType<any, z.ZodTypeDef, any>, {
38
35
  type: "npm" | "binary" | "deno";
@@ -321,7 +318,7 @@ declare const internalSchema: z.ZodObject<z.extendShape<{
321
318
  environment?: Record<string, any> | undefined;
322
319
  metadata?: any;
323
320
  }>;
324
- declare const rawSchema: z.ZodObject<z.extendShape<{
321
+ export declare const rawSchema: z.ZodObject<z.extendShape<{
325
322
  language: z.ZodEffects<z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"en">, z.ZodLiteral<"fr">]>>, "en" | "fr" | undefined, unknown>;
326
323
  plugins: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodEffects<z.ZodEffects<z.ZodType<any, z.ZodTypeDef, any>, {
327
324
  type: "npm" | "binary" | "deno";
@@ -641,7 +638,7 @@ declare const rawSchema: z.ZodObject<z.extendShape<{
641
638
  homepage?: string | undefined;
642
639
  } | undefined;
643
640
  }>;
644
- declare const generatedSchemas: {
641
+ export declare const generatedSchemas: {
645
642
  rawSchema: z.ZodType<any, z.ZodTypeDef, any>;
646
643
  internalSchema: z.ZodType<any, z.ZodTypeDef, any>;
647
644
  schema: z.ZodEffects<z.ZodType<any, z.ZodTypeDef, any>, {
@@ -737,8 +734,7 @@ declare const generatedSchemas: {
737
734
  } & {
738
735
  readonly __kind: any;
739
736
  }, any>;
740
- };
741
- declare const factory: {
737
+ }, factory: {
742
738
  make: (input: {
743
739
  language?: "en" | "fr" | undefined;
744
740
  plugins?: ({
@@ -829,7 +825,7 @@ declare const factory: {
829
825
  accounts: Record<string, string | number>;
830
826
  contractsDir: string;
831
827
  artifactsDir: string;
832
- }) => fluture.FutureInstance<TaqError, {
828
+ }) => import("fluture").FutureInstance<import("./TaqError").TaqError, {
833
829
  language?: "en" | "fr" | undefined;
834
830
  plugins?: ({
835
831
  type: "npm" | "binary" | "deno";
@@ -922,7 +918,7 @@ declare const factory: {
922
918
  } & {
923
919
  readonly __kind: any;
924
920
  }>;
925
- of: (input: unknown) => fluture.FutureInstance<TaqError, {
921
+ of: (input: unknown) => import("fluture").FutureInstance<import("./TaqError").TaqError, {
926
922
  language?: "en" | "fr" | undefined;
927
923
  plugins?: ({
928
924
  type: "npm" | "binary" | "deno";
@@ -1350,7 +1346,7 @@ declare const factory: {
1350
1346
  readonly __kind: any;
1351
1347
  };
1352
1348
  };
1353
- declare const create: (input: {
1349
+ export declare const create: (input: {
1354
1350
  language?: "en" | "fr" | undefined;
1355
1351
  plugins?: ({
1356
1352
  type: "npm" | "binary" | "deno";
@@ -1590,8 +1586,7 @@ declare const create: (input: {
1590
1586
  artifactsDir: string;
1591
1587
  } & {
1592
1588
  readonly __kind: any;
1593
- };
1594
- declare const of: (input: unknown) => fluture.FutureInstance<TaqError, {
1589
+ }, of: (input: unknown) => import("fluture").FutureInstance<import("./TaqError").TaqError, {
1595
1590
  language?: "en" | "fr" | undefined;
1596
1591
  plugins?: ({
1597
1592
  type: "npm" | "binary" | "deno";
@@ -1683,8 +1678,7 @@ declare const of: (input: unknown) => fluture.FutureInstance<TaqError, {
1683
1678
  artifactsDir: string;
1684
1679
  } & {
1685
1680
  readonly __kind: any;
1686
- }>;
1687
- declare const make: (input: {
1681
+ }>, make: (input: {
1688
1682
  language?: "en" | "fr" | undefined;
1689
1683
  plugins?: ({
1690
1684
  type: "npm" | "binary" | "deno";
@@ -1774,7 +1768,7 @@ declare const make: (input: {
1774
1768
  accounts: Record<string, string | number>;
1775
1769
  contractsDir: string;
1776
1770
  artifactsDir: string;
1777
- }) => fluture.FutureInstance<TaqError, {
1771
+ }) => import("fluture").FutureInstance<import("./TaqError").TaqError, {
1778
1772
  language?: "en" | "fr" | undefined;
1779
1773
  plugins?: ({
1780
1774
  type: "npm" | "binary" | "deno";
@@ -1867,9 +1861,9 @@ declare const make: (input: {
1867
1861
  } & {
1868
1862
  readonly __kind: any;
1869
1863
  }>;
1870
- declare type Config = z.infer<typeof generatedSchemas.schema>;
1871
- declare type t = Config;
1872
- declare const schemas: {
1864
+ export declare type Config = z.infer<typeof generatedSchemas.schema>;
1865
+ export declare type t = Config;
1866
+ export declare const schemas: {
1873
1867
  schema: z.ZodEffects<z.ZodEffects<z.ZodType<any, z.ZodTypeDef, any>, {
1874
1868
  language?: "en" | "fr" | undefined;
1875
1869
  plugins?: ({
@@ -2058,5 +2052,4 @@ declare const schemas: {
2058
2052
  rawSchema: z.ZodType<any, z.ZodTypeDef, any>;
2059
2053
  internalSchema: z.ZodType<any, z.ZodTypeDef, any>;
2060
2054
  };
2061
-
2062
- export { Config, create, factory, generatedSchemas, internalSchema, make, of, pluginsInternalSchema, pluginsRawSchema, rawSchema, schemas, t };
2055
+ //# sourceMappingURL=Config.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Config.d.ts","sourceRoot":"","sources":["Config.ts"],"names":[],"mappings":"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"}
package/Contract.d.ts CHANGED
@@ -1,8 +1,5 @@
1
- import * as fluture from 'fluture';
2
- import { TaqError } from './TaqError.js';
3
1
  import { z } from 'zod';
4
-
5
- declare const rawSchema: z.ZodObject<{
2
+ export declare const rawSchema: z.ZodObject<{
6
3
  sourceFile: z.ZodString;
7
4
  hash: z.ZodString;
8
5
  }, "strip", z.ZodTypeAny, {
@@ -12,7 +9,7 @@ declare const rawSchema: z.ZodObject<{
12
9
  sourceFile: string;
13
10
  hash: string;
14
11
  }>;
15
- declare const internalSchema: z.ZodObject<{
12
+ export declare const internalSchema: z.ZodObject<{
16
13
  sourceFile: z.ZodString;
17
14
  hash: z.ZodEffects<z.ZodEffects<z.ZodType<any, z.ZodTypeDef, any>, string & {
18
15
  readonly __kind: any;
@@ -28,9 +25,9 @@ declare const internalSchema: z.ZodObject<{
28
25
  hash?: any;
29
26
  sourceFile: string;
30
27
  }>;
31
- declare type Contract = z.infer<typeof internalSchema>;
32
- declare type t = Contract;
33
- declare const create: (input: {
28
+ export declare type Contract = z.infer<typeof internalSchema>;
29
+ export declare type t = Contract;
30
+ export declare const create: (input: {
34
31
  sourceFile: string;
35
32
  hash: string;
36
33
  } | {
@@ -45,21 +42,19 @@ declare const create: (input: {
45
42
  };
46
43
  } & {
47
44
  readonly __kind: any;
48
- };
49
- declare const of: (input: unknown) => fluture.FutureInstance<TaqError, {
45
+ }, of: (input: unknown) => import("fluture").FutureInstance<import("./TaqError").TaqError, {
50
46
  sourceFile: string;
51
47
  hash: string & {
52
48
  readonly __kind: any;
53
49
  };
54
50
  } & {
55
51
  readonly __kind: any;
56
- }>;
57
- declare const make: (input: {
52
+ }>, make: (input: {
58
53
  sourceFile: string;
59
54
  hash: string & {
60
55
  readonly __kind: any;
61
56
  };
62
- }) => fluture.FutureInstance<TaqError, {
57
+ }) => import("fluture").FutureInstance<import("./TaqError").TaqError, {
63
58
  sourceFile: string;
64
59
  hash: string & {
65
60
  readonly __kind: any;
@@ -67,7 +62,7 @@ declare const make: (input: {
67
62
  } & {
68
63
  readonly __kind: any;
69
64
  }>;
70
- declare const schemas: {
65
+ export declare const schemas: {
71
66
  schema: z.ZodEffects<z.ZodEffects<z.ZodType<any, z.ZodTypeDef, any>, {
72
67
  sourceFile: string;
73
68
  hash: string & {
@@ -84,5 +79,4 @@ declare const schemas: {
84
79
  rawSchema: z.ZodType<any, z.ZodTypeDef, any>;
85
80
  internalSchema: z.ZodType<any, z.ZodTypeDef, any>;
86
81
  };
87
-
88
- export { Contract, create, internalSchema, make, of, rawSchema, schemas, t };
82
+ //# sourceMappingURL=Contract.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Contract.d.ts","sourceRoot":"","sources":["Contract.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,SAAS;;;;;;;;;EAIpB,CAAC;AAEH,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;EAGzB,CAAC;AAYH,oBAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;AAEtD,oBAAY,CAAC,GAAG,QAAQ,CAAC;AAEzB,eAAO,MAAQ,MAAM;;;;;;;;;;;;;;;GAAE,EAAE;;;;;;;IAAE,IAAI;;;;;;;;;;;;EAAY,CAAC;AAE5C,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;CAGnB,CAAC"}
package/Crypto.d.ts CHANGED
@@ -1,5 +1,4 @@
1
- declare class Crypto {
1
+ export declare class Crypto {
2
2
  subtle: SubtleCrypto;
3
3
  }
4
-
5
- export { Crypto };
4
+ //# sourceMappingURL=Crypto.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Crypto.d.ts","sourceRoot":"","sources":["Crypto.ts"],"names":[],"mappings":"AAAA,qBAAa,MAAM;IAClB,MAAM,EAAE,YAAY,CAAiB;CACrC"}
@@ -1,20 +1,16 @@
1
- import * as fluture from 'fluture';
2
- import { TaqError } from './TaqError.js';
3
1
  import { z } from 'zod';
4
-
5
- declare const rawSchema: z.ZodEffects<z.ZodString, string, string>;
6
- declare const generatedSchemas: {
2
+ export declare const rawSchema: z.ZodEffects<z.ZodString, string, string>;
3
+ export declare const generatedSchemas: {
7
4
  rawSchema: z.ZodType<any, z.ZodTypeDef, any>;
8
5
  internalSchema: z.ZodType<any, z.ZodTypeDef, any>;
9
6
  schema: z.ZodEffects<z.ZodType<any, z.ZodTypeDef, any>, string & {
10
7
  readonly __kind: any;
11
8
  }, any>;
12
- };
13
- declare const factory: {
14
- make: (input: string) => fluture.FutureInstance<TaqError, string & {
9
+ }, factory: {
10
+ make: (input: string) => import("fluture").FutureInstance<import("./TaqError").TaqError, string & {
15
11
  readonly __kind: any;
16
12
  }>;
17
- of: (input: unknown) => fluture.FutureInstance<TaqError, string & {
13
+ of: (input: unknown) => import("fluture").FutureInstance<import("./TaqError").TaqError, string & {
18
14
  readonly __kind: any;
19
15
  }>;
20
16
  create: (input: string) => string & {
@@ -24,18 +20,16 @@ declare const factory: {
24
20
  readonly __kind: any;
25
21
  };
26
22
  };
27
- declare type EconomicalPrototypeHash = z.infer<typeof generatedSchemas.schema>;
28
- declare type t = EconomicalPrototypeHash;
29
- declare const create: (input: string) => string & {
23
+ export declare type EconomicalPrototypeHash = z.infer<typeof generatedSchemas.schema>;
24
+ export declare type t = EconomicalPrototypeHash;
25
+ export declare const create: (input: string) => string & {
30
26
  readonly __kind: any;
31
- };
32
- declare const of: (input: unknown) => fluture.FutureInstance<TaqError, string & {
27
+ }, of: (input: unknown) => import("fluture").FutureInstance<import("./TaqError").TaqError, string & {
33
28
  readonly __kind: any;
34
- }>;
35
- declare const make: (input: string) => fluture.FutureInstance<TaqError, string & {
29
+ }>, make: (input: string) => import("fluture").FutureInstance<import("./TaqError").TaqError, string & {
36
30
  readonly __kind: any;
37
31
  }>;
38
- declare const schemas: {
32
+ export declare const schemas: {
39
33
  schema: z.ZodEffects<z.ZodEffects<z.ZodType<any, z.ZodTypeDef, any>, string & {
40
34
  readonly __kind: any;
41
35
  }, any>, string & {
@@ -44,5 +38,4 @@ declare const schemas: {
44
38
  rawSchema: z.ZodType<any, z.ZodTypeDef, any>;
45
39
  internalSchema: z.ZodType<any, z.ZodTypeDef, any>;
46
40
  };
47
-
48
- export { EconomicalPrototypeHash, create, factory, generatedSchemas, make, of, rawSchema, schemas, t };
41
+ //# sourceMappingURL=EconomicalProtocolHash.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EconomicalProtocolHash.d.ts","sourceRoot":"","sources":["EconomicalProtocolHash.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,SAAS,2CAKpB,CAAC;AAIH,eAAO,MAAiB,gBAAgB;;;;;;GAAE,OAAO;;;;;;;;;;;;;CAI/C,CAAC;AAEH,oBAAY,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,MAAM,CAAC,CAAC;AAC9E,oBAAY,CAAC,GAAG,uBAAuB,CAAC;AAExC,eAAO,MAAQ,MAAM;;GAAE,EAAE;;IAAE,IAAI;;EAAY,CAAC;AAC5C,eAAO,MAAM,OAAO;;;;;;;;CAGnB,CAAC"}
package/Environment.d.ts CHANGED
@@ -1,9 +1,6 @@
1
- import * as fluture from 'fluture';
2
- import { TaqError } from './TaqError.js';
3
1
  import { Flatten } from '@taqueria/protocol/Base';
4
2
  import { z } from 'zod';
5
-
6
- declare const rawSchema: z.ZodObject<{
3
+ export declare const rawSchema: z.ZodObject<{
7
4
  networks: z.ZodArray<z.ZodString, "many">;
8
5
  sandboxes: z.ZodArray<z.ZodString, "many">;
9
6
  storage: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
@@ -19,7 +16,7 @@ declare const rawSchema: z.ZodObject<{
19
16
  networks: string[];
20
17
  sandboxes: string[];
21
18
  }>;
22
- declare const generatedSchemas: {
19
+ export declare const generatedSchemas: {
23
20
  rawSchema: z.ZodType<any, z.ZodTypeDef, any>;
24
21
  internalSchema: z.ZodType<any, z.ZodTypeDef, any>;
25
22
  schema: z.ZodEffects<z.ZodType<any, z.ZodTypeDef, any>, {
@@ -30,14 +27,13 @@ declare const generatedSchemas: {
30
27
  } & {
31
28
  readonly __kind: any;
32
29
  }, any>;
33
- };
34
- declare const factory: {
30
+ }, factory: {
35
31
  make: (input: {
36
32
  storage?: Record<string, any> | undefined;
37
33
  aliases?: Record<string, any> | undefined;
38
34
  networks: string[];
39
35
  sandboxes: string[];
40
- }) => fluture.FutureInstance<TaqError, {
36
+ }) => import("fluture").FutureInstance<import("./TaqError").TaqError, {
41
37
  storage?: Record<string, any> | undefined;
42
38
  aliases?: Record<string, any> | undefined;
43
39
  networks: string[];
@@ -45,7 +41,7 @@ declare const factory: {
45
41
  } & {
46
42
  readonly __kind: any;
47
43
  }>;
48
- of: (input: unknown) => fluture.FutureInstance<TaqError, {
44
+ of: (input: unknown) => import("fluture").FutureInstance<import("./TaqError").TaqError, {
49
45
  storage?: Record<string, any> | undefined;
50
46
  aliases?: Record<string, any> | undefined;
51
47
  networks: string[];
@@ -75,9 +71,9 @@ declare const factory: {
75
71
  readonly __kind: any;
76
72
  };
77
73
  };
78
- declare type Environment = Flatten<z.infer<typeof generatedSchemas.schema>>;
79
- declare type t = Environment;
80
- declare const create: (input: {
74
+ export declare type Environment = Flatten<z.infer<typeof generatedSchemas.schema>>;
75
+ export declare type t = Environment;
76
+ export declare const create: (input: {
81
77
  storage?: Record<string, any> | undefined;
82
78
  aliases?: Record<string, any> | undefined;
83
79
  networks: string[];
@@ -89,29 +85,26 @@ declare const create: (input: {
89
85
  sandboxes: string[];
90
86
  } & {
91
87
  readonly __kind: any;
92
- };
93
- declare const make: (input: {
88
+ }, make: (input: {
94
89
  storage?: Record<string, any> | undefined;
95
90
  aliases?: Record<string, any> | undefined;
96
91
  networks: string[];
97
92
  sandboxes: string[];
98
- }) => fluture.FutureInstance<TaqError, {
93
+ }) => import("fluture").FutureInstance<import("./TaqError").TaqError, {
99
94
  storage?: Record<string, any> | undefined;
100
95
  aliases?: Record<string, any> | undefined;
101
96
  networks: string[];
102
97
  sandboxes: string[];
103
98
  } & {
104
99
  readonly __kind: any;
105
- }>;
106
- declare const of: (input: unknown) => fluture.FutureInstance<TaqError, {
100
+ }>, of: (input: unknown) => import("fluture").FutureInstance<import("./TaqError").TaqError, {
107
101
  storage?: Record<string, any> | undefined;
108
102
  aliases?: Record<string, any> | undefined;
109
103
  networks: string[];
110
104
  sandboxes: string[];
111
105
  } & {
112
106
  readonly __kind: any;
113
- }>;
114
- declare const from: (input: unknown) => {
107
+ }>, from: (input: unknown) => {
115
108
  storage?: Record<string, any> | undefined;
116
109
  aliases?: Record<string, any> | undefined;
117
110
  networks: string[];
@@ -119,7 +112,7 @@ declare const from: (input: unknown) => {
119
112
  } & {
120
113
  readonly __kind: any;
121
114
  };
122
- declare const schemas: {
115
+ export declare const schemas: {
123
116
  schema: z.ZodEffects<z.ZodEffects<z.ZodType<any, z.ZodTypeDef, any>, {
124
117
  storage?: Record<string, any> | undefined;
125
118
  aliases?: Record<string, any> | undefined;
@@ -138,5 +131,4 @@ declare const schemas: {
138
131
  rawSchema: z.ZodType<any, z.ZodTypeDef, any>;
139
132
  internalSchema: z.ZodType<any, z.ZodTypeDef, any>;
140
133
  };
141
-
142
- export { Environment, create, factory, from, generatedSchemas, make, of, rawSchema, schemas, t };
134
+ //# sourceMappingURL=Environment.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Environment.d.ts","sourceRoot":"","sources":["Environment.ts"],"names":[],"mappings":"AAAA,OAAmB,EAAE,OAAO,EAAE,MAAM,yBAAyB,CAAC;AAC9D,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;EAkBW,CAAC;AAIlC,eAAO,MAAiB,gBAAgB;;;;;;;;;;;GAAE,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAI/C,CAAC;AAEH,oBAAY,WAAW,GAAG,OAAO,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,MAAM,CAAC,CAAC,CAAC;AAC3E,oBAAY,CAAC,GAAG,WAAW,CAAC;AAE5B,eAAO,MAAQ,MAAM;;;;;;;;;;;;GAAE,IAAI;;;;;;;;;;;;IAAE,EAAE;;;;;;;IAAE,IAAI;;;;;;;CAAY,CAAC;AAElD,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;CAGnB,CAAC"}