wapi-client 0.16.0-beta.3 → 0.16.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/fns/create-transfer-group/create-transfer-group.schema.zod.browser.cjs +1 -1
- package/dist/fns/create-transfer-group/create-transfer-group.schema.zod.browser.js +1 -1
- package/dist/fns/create-transfer-group/create-transfer-group.schema.zod.cjs +1 -1
- package/dist/fns/create-transfer-group/create-transfer-group.schema.zod.js +1 -1
- package/dist/fns/find-balances/find-balances.browser.cjs +2 -1
- package/dist/fns/find-balances/find-balances.browser.js +2 -1
- package/dist/fns/find-balances/find-balances.cjs +2 -1
- package/dist/fns/find-balances/find-balances.js +2 -1
- package/dist/fns/find-tokens/find-tokens.browser.cjs +2 -1
- package/dist/fns/find-tokens/find-tokens.browser.js +2 -1
- package/dist/fns/find-tokens/find-tokens.cjs +2 -1
- package/dist/fns/find-tokens/find-tokens.js +2 -1
- package/dist/fns/find-transfer-groups/find-transfer-groups.browser.cjs +2 -1
- package/dist/fns/find-transfer-groups/find-transfer-groups.browser.js +2 -1
- package/dist/fns/find-transfer-groups/find-transfer-groups.cjs +2 -1
- package/dist/fns/find-transfer-groups/find-transfer-groups.js +2 -1
- package/dist/fns/find-transfers/find-transfers.browser.cjs +2 -1
- package/dist/fns/find-transfers/find-transfers.browser.js +2 -1
- package/dist/fns/find-transfers/find-transfers.cjs +2 -1
- package/dist/fns/find-transfers/find-transfers.js +2 -1
- package/dist/fns/find-wallets/find-wallets.browser.cjs +2 -1
- package/dist/fns/find-wallets/find-wallets.browser.js +2 -1
- package/dist/fns/find-wallets/find-wallets.cjs +2 -1
- package/dist/fns/find-wallets/find-wallets.js +2 -1
- package/dist/fns/reverse-transfers/reverse-transfers.browser.cjs +2 -1
- package/dist/fns/reverse-transfers/reverse-transfers.browser.js +2 -1
- package/dist/fns/reverse-transfers/reverse-transfers.cjs +2 -1
- package/dist/fns/reverse-transfers/reverse-transfers.js +2 -1
- package/dist/fns/update-transfer-groups/update-transfer-groups.browser.cjs +2 -1
- package/dist/fns/update-transfer-groups/update-transfer-groups.browser.js +2 -1
- package/dist/fns/update-transfer-groups/update-transfer-groups.cjs +2 -1
- package/dist/fns/update-transfer-groups/update-transfer-groups.js +2 -1
- package/dist/fns/update-transfers/update-transfers.browser.cjs +2 -1
- package/dist/fns/update-transfers/update-transfers.browser.js +2 -1
- package/dist/fns/update-transfers/update-transfers.cjs +2 -1
- package/dist/fns/update-transfers/update-transfers.js +2 -1
- package/dist/lib/env.browser.cjs +1 -1
- package/dist/lib/env.browser.js +1 -1
- package/dist/lib/env.cjs +1 -1
- package/dist/lib/env.js +1 -1
- package/dist/lib/validation.browser.cjs +12145 -31
- package/dist/lib/validation.browser.js +12146 -28
- package/dist/lib/validation.cjs +5 -2
- package/dist/lib/validation.js +5 -2
- package/dist/types/wapi-client.d.ts +324 -324
- package/dist/wapi-client-web.iife.js +7 -7
- package/dist/wapi-client.iife.js +7 -7
- package/package.json +2 -2
|
@@ -45,7 +45,7 @@ var createTransferGroupChildDepositInput = import_create_transfer_schema_zod.cre
|
|
|
45
45
|
var createTransferGroupChildWithdrawalInput = import_create_transfer_schema_zod.createTransferWithdrawalInputSchema.omit({
|
|
46
46
|
transfer_group: true
|
|
47
47
|
});
|
|
48
|
-
var createTransferGroupChildInput = import_zod.z.
|
|
48
|
+
var createTransferGroupChildInput = import_zod.z.discriminatedUnion("type", [
|
|
49
49
|
createTransferGroupChildDepositInput,
|
|
50
50
|
createTransferGroupChildRegularInput,
|
|
51
51
|
createTransferGroupChildWithdrawalInput
|
|
@@ -20,7 +20,7 @@ var createTransferGroupChildDepositInput = createTransferDepositInputSchema.omit
|
|
|
20
20
|
var createTransferGroupChildWithdrawalInput = createTransferWithdrawalInputSchema.omit({
|
|
21
21
|
transfer_group: true
|
|
22
22
|
});
|
|
23
|
-
var createTransferGroupChildInput = z.
|
|
23
|
+
var createTransferGroupChildInput = z.discriminatedUnion("type", [
|
|
24
24
|
createTransferGroupChildDepositInput,
|
|
25
25
|
createTransferGroupChildRegularInput,
|
|
26
26
|
createTransferGroupChildWithdrawalInput
|
|
@@ -45,7 +45,7 @@ var createTransferGroupChildDepositInput = import_create_transfer_schema_zod.cre
|
|
|
45
45
|
var createTransferGroupChildWithdrawalInput = import_create_transfer_schema_zod.createTransferWithdrawalInputSchema.omit({
|
|
46
46
|
transfer_group: true
|
|
47
47
|
});
|
|
48
|
-
var createTransferGroupChildInput = import_zod.z.
|
|
48
|
+
var createTransferGroupChildInput = import_zod.z.discriminatedUnion("type", [
|
|
49
49
|
createTransferGroupChildDepositInput,
|
|
50
50
|
createTransferGroupChildRegularInput,
|
|
51
51
|
createTransferGroupChildWithdrawalInput
|
|
@@ -20,7 +20,7 @@ var createTransferGroupChildDepositInput = createTransferDepositInputSchema.omit
|
|
|
20
20
|
var createTransferGroupChildWithdrawalInput = createTransferWithdrawalInputSchema.omit({
|
|
21
21
|
transfer_group: true
|
|
22
22
|
});
|
|
23
|
-
var createTransferGroupChildInput = z.
|
|
23
|
+
var createTransferGroupChildInput = z.discriminatedUnion("type", [
|
|
24
24
|
createTransferGroupChildDepositInput,
|
|
25
25
|
createTransferGroupChildRegularInput,
|
|
26
26
|
createTransferGroupChildWithdrawalInput
|
|
@@ -28,6 +28,7 @@ var import_utils = require("../../lib/utils.browser.cjs");
|
|
|
28
28
|
var import_find_balances_schema_zod = require("./find-balances.schema.zod.browser.cjs");
|
|
29
29
|
var import_find_balance_many_schema_zod = require("../../txs/find-balance-many/find-balance-many.schema.zod.browser.cjs");
|
|
30
30
|
var import_find_query_builder = require("../../lib/query-builder/find-query-builder.browser.cjs");
|
|
31
|
+
var balanceFilterFullInputSchemaRequired = import_find_balance_many_schema_zod.balanceFilterFullInputSchema.required();
|
|
31
32
|
function findBalances(options, input, fnOptions) {
|
|
32
33
|
const { client } = options;
|
|
33
34
|
const $query = new import_find_query_builder.FindQueryBuilder({
|
|
@@ -38,7 +39,7 @@ function findBalances(options, input, fnOptions) {
|
|
|
38
39
|
});
|
|
39
40
|
},
|
|
40
41
|
schemaBasic: import_find_balances_schema_zod.findBalancesInputSchema,
|
|
41
|
-
schema:
|
|
42
|
+
schema: balanceFilterFullInputSchemaRequired,
|
|
42
43
|
optionsSchema: import_find_balances_schema_zod.findBalancesFnOptionsSchema
|
|
43
44
|
});
|
|
44
45
|
if (input) {
|
|
@@ -8,6 +8,7 @@ import { balanceFilterFullInputSchema } from "../../txs/find-balance-many/find-b
|
|
|
8
8
|
import {
|
|
9
9
|
FindQueryBuilder
|
|
10
10
|
} from "../../lib/query-builder/find-query-builder.browser.js";
|
|
11
|
+
var balanceFilterFullInputSchemaRequired = balanceFilterFullInputSchema.required();
|
|
11
12
|
function findBalances(options, input, fnOptions) {
|
|
12
13
|
const { client } = options;
|
|
13
14
|
const $query = new FindQueryBuilder({
|
|
@@ -18,7 +19,7 @@ function findBalances(options, input, fnOptions) {
|
|
|
18
19
|
});
|
|
19
20
|
},
|
|
20
21
|
schemaBasic: findBalancesInputSchema,
|
|
21
|
-
schema:
|
|
22
|
+
schema: balanceFilterFullInputSchemaRequired,
|
|
22
23
|
optionsSchema: findBalancesFnOptionsSchema
|
|
23
24
|
});
|
|
24
25
|
if (input) {
|
|
@@ -28,6 +28,7 @@ var import_utils = require("../../lib/utils.cjs");
|
|
|
28
28
|
var import_find_balances_schema_zod = require("./find-balances.schema.zod.cjs");
|
|
29
29
|
var import_find_balance_many_schema_zod = require("../../txs/find-balance-many/find-balance-many.schema.zod.cjs");
|
|
30
30
|
var import_find_query_builder = require("../../lib/query-builder/find-query-builder.cjs");
|
|
31
|
+
var balanceFilterFullInputSchemaRequired = import_find_balance_many_schema_zod.balanceFilterFullInputSchema.required();
|
|
31
32
|
function findBalances(options, input, fnOptions) {
|
|
32
33
|
const { client } = options;
|
|
33
34
|
const $query = new import_find_query_builder.FindQueryBuilder({
|
|
@@ -38,7 +39,7 @@ function findBalances(options, input, fnOptions) {
|
|
|
38
39
|
});
|
|
39
40
|
},
|
|
40
41
|
schemaBasic: import_find_balances_schema_zod.findBalancesInputSchema,
|
|
41
|
-
schema:
|
|
42
|
+
schema: balanceFilterFullInputSchemaRequired,
|
|
42
43
|
optionsSchema: import_find_balances_schema_zod.findBalancesFnOptionsSchema
|
|
43
44
|
});
|
|
44
45
|
if (input) {
|
|
@@ -8,6 +8,7 @@ import { balanceFilterFullInputSchema } from "../../txs/find-balance-many/find-b
|
|
|
8
8
|
import {
|
|
9
9
|
FindQueryBuilder
|
|
10
10
|
} from "../../lib/query-builder/find-query-builder.js";
|
|
11
|
+
var balanceFilterFullInputSchemaRequired = balanceFilterFullInputSchema.required();
|
|
11
12
|
function findBalances(options, input, fnOptions) {
|
|
12
13
|
const { client } = options;
|
|
13
14
|
const $query = new FindQueryBuilder({
|
|
@@ -18,7 +19,7 @@ function findBalances(options, input, fnOptions) {
|
|
|
18
19
|
});
|
|
19
20
|
},
|
|
20
21
|
schemaBasic: findBalancesInputSchema,
|
|
21
|
-
schema:
|
|
22
|
+
schema: balanceFilterFullInputSchemaRequired,
|
|
22
23
|
optionsSchema: findBalancesFnOptionsSchema
|
|
23
24
|
});
|
|
24
25
|
if (input) {
|
|
@@ -27,6 +27,7 @@ var import_find_tokens_schema_zod = require("./find-tokens.schema.zod.browser.cj
|
|
|
27
27
|
var import_find_query_builder = require("../../lib/query-builder/find-query-builder.browser.cjs");
|
|
28
28
|
var import_find_token_many_schema_zod = require("../../txs/find-token-many/find-token-many.schema.zod.browser.cjs");
|
|
29
29
|
var import_utils = require("../../lib/utils.browser.cjs");
|
|
30
|
+
var tokenFilterFullInputSchemaRequired = import_find_token_many_schema_zod.tokenFilterFullInputSchema.required();
|
|
30
31
|
function findTokens(options, input, fnOptions) {
|
|
31
32
|
const { client } = options;
|
|
32
33
|
const $query = new import_find_query_builder.FindQueryBuilder({
|
|
@@ -37,7 +38,7 @@ function findTokens(options, input, fnOptions) {
|
|
|
37
38
|
});
|
|
38
39
|
},
|
|
39
40
|
schemaBasic: import_find_tokens_schema_zod.findTokensInputSchema,
|
|
40
|
-
schema:
|
|
41
|
+
schema: tokenFilterFullInputSchemaRequired,
|
|
41
42
|
optionsSchema: import_find_tokens_schema_zod.findTokensFnOptionsSchema
|
|
42
43
|
});
|
|
43
44
|
if (input) {
|
|
@@ -8,6 +8,7 @@ import {
|
|
|
8
8
|
} from "../../lib/query-builder/find-query-builder.browser.js";
|
|
9
9
|
import { tokenFilterFullInputSchema } from "../../txs/find-token-many/find-token-many.schema.zod.browser.js";
|
|
10
10
|
import { mergeFnOptions } from "../../lib/utils.browser.js";
|
|
11
|
+
var tokenFilterFullInputSchemaRequired = tokenFilterFullInputSchema.required();
|
|
11
12
|
function findTokens(options, input, fnOptions) {
|
|
12
13
|
const { client } = options;
|
|
13
14
|
const $query = new FindQueryBuilder({
|
|
@@ -18,7 +19,7 @@ function findTokens(options, input, fnOptions) {
|
|
|
18
19
|
});
|
|
19
20
|
},
|
|
20
21
|
schemaBasic: findTokensInputSchema,
|
|
21
|
-
schema:
|
|
22
|
+
schema: tokenFilterFullInputSchemaRequired,
|
|
22
23
|
optionsSchema: findTokensFnOptionsSchema
|
|
23
24
|
});
|
|
24
25
|
if (input) {
|
|
@@ -27,6 +27,7 @@ var import_find_tokens_schema_zod = require("./find-tokens.schema.zod.cjs");
|
|
|
27
27
|
var import_find_query_builder = require("../../lib/query-builder/find-query-builder.cjs");
|
|
28
28
|
var import_find_token_many_schema_zod = require("../../txs/find-token-many/find-token-many.schema.zod.cjs");
|
|
29
29
|
var import_utils = require("../../lib/utils.cjs");
|
|
30
|
+
var tokenFilterFullInputSchemaRequired = import_find_token_many_schema_zod.tokenFilterFullInputSchema.required();
|
|
30
31
|
function findTokens(options, input, fnOptions) {
|
|
31
32
|
const { client } = options;
|
|
32
33
|
const $query = new import_find_query_builder.FindQueryBuilder({
|
|
@@ -37,7 +38,7 @@ function findTokens(options, input, fnOptions) {
|
|
|
37
38
|
});
|
|
38
39
|
},
|
|
39
40
|
schemaBasic: import_find_tokens_schema_zod.findTokensInputSchema,
|
|
40
|
-
schema:
|
|
41
|
+
schema: tokenFilterFullInputSchemaRequired,
|
|
41
42
|
optionsSchema: import_find_tokens_schema_zod.findTokensFnOptionsSchema
|
|
42
43
|
});
|
|
43
44
|
if (input) {
|
|
@@ -8,6 +8,7 @@ import {
|
|
|
8
8
|
} from "../../lib/query-builder/find-query-builder.js";
|
|
9
9
|
import { tokenFilterFullInputSchema } from "../../txs/find-token-many/find-token-many.schema.zod.js";
|
|
10
10
|
import { mergeFnOptions } from "../../lib/utils.js";
|
|
11
|
+
var tokenFilterFullInputSchemaRequired = tokenFilterFullInputSchema.required();
|
|
11
12
|
function findTokens(options, input, fnOptions) {
|
|
12
13
|
const { client } = options;
|
|
13
14
|
const $query = new FindQueryBuilder({
|
|
@@ -18,7 +19,7 @@ function findTokens(options, input, fnOptions) {
|
|
|
18
19
|
});
|
|
19
20
|
},
|
|
20
21
|
schemaBasic: findTokensInputSchema,
|
|
21
|
-
schema:
|
|
22
|
+
schema: tokenFilterFullInputSchemaRequired,
|
|
22
23
|
optionsSchema: findTokensFnOptionsSchema
|
|
23
24
|
});
|
|
24
25
|
if (input) {
|
|
@@ -27,6 +27,7 @@ var import_utils = require("../../lib/utils.browser.cjs");
|
|
|
27
27
|
var import_find_transfer_groups_schema_zod = require("./find-transfer-groups.schema.zod.browser.cjs");
|
|
28
28
|
var import_find_query_builder = require("../../lib/query-builder/find-query-builder.browser.cjs");
|
|
29
29
|
var import_find_transfer_group_many_schema_zod = require("../../txs/find-transfer-group-many/find-transfer-group-many.schema.zod.browser.cjs");
|
|
30
|
+
var transferGroupFilterFullInputSchemaRequired = import_find_transfer_group_many_schema_zod.transferGroupFilterFullInputSchema.required();
|
|
30
31
|
function findTransferGroups(options, input, fnOptions) {
|
|
31
32
|
const { client } = options;
|
|
32
33
|
const $query = new import_find_query_builder.FindQueryBuilder({
|
|
@@ -37,7 +38,7 @@ function findTransferGroups(options, input, fnOptions) {
|
|
|
37
38
|
});
|
|
38
39
|
},
|
|
39
40
|
schemaBasic: import_find_transfer_groups_schema_zod.findTransferGroupsInputSchema,
|
|
40
|
-
schema:
|
|
41
|
+
schema: transferGroupFilterFullInputSchemaRequired,
|
|
41
42
|
optionsSchema: import_find_transfer_groups_schema_zod.findTransferGroupsFnOptionsSchema
|
|
42
43
|
});
|
|
43
44
|
if (input) {
|
|
@@ -8,6 +8,7 @@ import {
|
|
|
8
8
|
FindQueryBuilder
|
|
9
9
|
} from "../../lib/query-builder/find-query-builder.browser.js";
|
|
10
10
|
import { transferGroupFilterFullInputSchema } from "../../txs/find-transfer-group-many/find-transfer-group-many.schema.zod.browser.js";
|
|
11
|
+
var transferGroupFilterFullInputSchemaRequired = transferGroupFilterFullInputSchema.required();
|
|
11
12
|
function findTransferGroups(options, input, fnOptions) {
|
|
12
13
|
const { client } = options;
|
|
13
14
|
const $query = new FindQueryBuilder({
|
|
@@ -18,7 +19,7 @@ function findTransferGroups(options, input, fnOptions) {
|
|
|
18
19
|
});
|
|
19
20
|
},
|
|
20
21
|
schemaBasic: findTransferGroupsInputSchema,
|
|
21
|
-
schema:
|
|
22
|
+
schema: transferGroupFilterFullInputSchemaRequired,
|
|
22
23
|
optionsSchema: findTransferGroupsFnOptionsSchema
|
|
23
24
|
});
|
|
24
25
|
if (input) {
|
|
@@ -27,6 +27,7 @@ var import_utils = require("../../lib/utils.cjs");
|
|
|
27
27
|
var import_find_transfer_groups_schema_zod = require("./find-transfer-groups.schema.zod.cjs");
|
|
28
28
|
var import_find_query_builder = require("../../lib/query-builder/find-query-builder.cjs");
|
|
29
29
|
var import_find_transfer_group_many_schema_zod = require("../../txs/find-transfer-group-many/find-transfer-group-many.schema.zod.cjs");
|
|
30
|
+
var transferGroupFilterFullInputSchemaRequired = import_find_transfer_group_many_schema_zod.transferGroupFilterFullInputSchema.required();
|
|
30
31
|
function findTransferGroups(options, input, fnOptions) {
|
|
31
32
|
const { client } = options;
|
|
32
33
|
const $query = new import_find_query_builder.FindQueryBuilder({
|
|
@@ -37,7 +38,7 @@ function findTransferGroups(options, input, fnOptions) {
|
|
|
37
38
|
});
|
|
38
39
|
},
|
|
39
40
|
schemaBasic: import_find_transfer_groups_schema_zod.findTransferGroupsInputSchema,
|
|
40
|
-
schema:
|
|
41
|
+
schema: transferGroupFilterFullInputSchemaRequired,
|
|
41
42
|
optionsSchema: import_find_transfer_groups_schema_zod.findTransferGroupsFnOptionsSchema
|
|
42
43
|
});
|
|
43
44
|
if (input) {
|
|
@@ -8,6 +8,7 @@ import {
|
|
|
8
8
|
FindQueryBuilder
|
|
9
9
|
} from "../../lib/query-builder/find-query-builder.js";
|
|
10
10
|
import { transferGroupFilterFullInputSchema } from "../../txs/find-transfer-group-many/find-transfer-group-many.schema.zod.js";
|
|
11
|
+
var transferGroupFilterFullInputSchemaRequired = transferGroupFilterFullInputSchema.required();
|
|
11
12
|
function findTransferGroups(options, input, fnOptions) {
|
|
12
13
|
const { client } = options;
|
|
13
14
|
const $query = new FindQueryBuilder({
|
|
@@ -18,7 +19,7 @@ function findTransferGroups(options, input, fnOptions) {
|
|
|
18
19
|
});
|
|
19
20
|
},
|
|
20
21
|
schemaBasic: findTransferGroupsInputSchema,
|
|
21
|
-
schema:
|
|
22
|
+
schema: transferGroupFilterFullInputSchemaRequired,
|
|
22
23
|
optionsSchema: findTransferGroupsFnOptionsSchema
|
|
23
24
|
});
|
|
24
25
|
if (input) {
|
|
@@ -28,6 +28,7 @@ var import_find_transfers_schema_zod = require("./find-transfers.schema.zod.brow
|
|
|
28
28
|
var import_find_query_builder = require("../../lib/query-builder/find-query-builder.browser.cjs");
|
|
29
29
|
var import_find_transfer_many_schema_zod = require("../../txs/find-transfer-many/find-transfer-many.schema.zod.browser.cjs");
|
|
30
30
|
var import_utils = require("../../lib/utils.browser.cjs");
|
|
31
|
+
var transferFilterFullInputSchemaRequired = import_find_transfer_many_schema_zod.transferFilterFullInputSchema.required();
|
|
31
32
|
function findTransfers(options, input, fnOptions) {
|
|
32
33
|
const { client } = options;
|
|
33
34
|
const $query = new import_find_query_builder.FindQueryBuilder({
|
|
@@ -38,7 +39,7 @@ function findTransfers(options, input, fnOptions) {
|
|
|
38
39
|
});
|
|
39
40
|
},
|
|
40
41
|
schemaBasic: import_find_transfers_schema_zod.findTransfersInputSchema,
|
|
41
|
-
schema:
|
|
42
|
+
schema: transferFilterFullInputSchemaRequired,
|
|
42
43
|
optionsSchema: import_find_transfers_schema_zod.findTransfersFnOptionsSchema
|
|
43
44
|
});
|
|
44
45
|
if (input) {
|
|
@@ -9,6 +9,7 @@ import {
|
|
|
9
9
|
} from "../../lib/query-builder/find-query-builder.browser.js";
|
|
10
10
|
import { transferFilterFullInputSchema } from "../../txs/find-transfer-many/find-transfer-many.schema.zod.browser.js";
|
|
11
11
|
import { mergeFnOptions } from "../../lib/utils.browser.js";
|
|
12
|
+
var transferFilterFullInputSchemaRequired = transferFilterFullInputSchema.required();
|
|
12
13
|
function findTransfers(options, input, fnOptions) {
|
|
13
14
|
const { client } = options;
|
|
14
15
|
const $query = new FindQueryBuilder({
|
|
@@ -19,7 +20,7 @@ function findTransfers(options, input, fnOptions) {
|
|
|
19
20
|
});
|
|
20
21
|
},
|
|
21
22
|
schemaBasic: findTransfersInputSchema,
|
|
22
|
-
schema:
|
|
23
|
+
schema: transferFilterFullInputSchemaRequired,
|
|
23
24
|
optionsSchema: findTransfersFnOptionsSchema
|
|
24
25
|
});
|
|
25
26
|
if (input) {
|
|
@@ -28,6 +28,7 @@ var import_find_transfers_schema_zod = require("./find-transfers.schema.zod.cjs
|
|
|
28
28
|
var import_find_query_builder = require("../../lib/query-builder/find-query-builder.cjs");
|
|
29
29
|
var import_find_transfer_many_schema_zod = require("../../txs/find-transfer-many/find-transfer-many.schema.zod.cjs");
|
|
30
30
|
var import_utils = require("../../lib/utils.cjs");
|
|
31
|
+
var transferFilterFullInputSchemaRequired = import_find_transfer_many_schema_zod.transferFilterFullInputSchema.required();
|
|
31
32
|
function findTransfers(options, input, fnOptions) {
|
|
32
33
|
const { client } = options;
|
|
33
34
|
const $query = new import_find_query_builder.FindQueryBuilder({
|
|
@@ -38,7 +39,7 @@ function findTransfers(options, input, fnOptions) {
|
|
|
38
39
|
});
|
|
39
40
|
},
|
|
40
41
|
schemaBasic: import_find_transfers_schema_zod.findTransfersInputSchema,
|
|
41
|
-
schema:
|
|
42
|
+
schema: transferFilterFullInputSchemaRequired,
|
|
42
43
|
optionsSchema: import_find_transfers_schema_zod.findTransfersFnOptionsSchema
|
|
43
44
|
});
|
|
44
45
|
if (input) {
|
|
@@ -9,6 +9,7 @@ import {
|
|
|
9
9
|
} from "../../lib/query-builder/find-query-builder.js";
|
|
10
10
|
import { transferFilterFullInputSchema } from "../../txs/find-transfer-many/find-transfer-many.schema.zod.js";
|
|
11
11
|
import { mergeFnOptions } from "../../lib/utils.js";
|
|
12
|
+
var transferFilterFullInputSchemaRequired = transferFilterFullInputSchema.required();
|
|
12
13
|
function findTransfers(options, input, fnOptions) {
|
|
13
14
|
const { client } = options;
|
|
14
15
|
const $query = new FindQueryBuilder({
|
|
@@ -19,7 +20,7 @@ function findTransfers(options, input, fnOptions) {
|
|
|
19
20
|
});
|
|
20
21
|
},
|
|
21
22
|
schemaBasic: findTransfersInputSchema,
|
|
22
|
-
schema:
|
|
23
|
+
schema: transferFilterFullInputSchemaRequired,
|
|
23
24
|
optionsSchema: findTransfersFnOptionsSchema
|
|
24
25
|
});
|
|
25
26
|
if (input) {
|
|
@@ -27,6 +27,7 @@ var import_find_wallets_schema_zod = require("./find-wallets.schema.zod.browser.
|
|
|
27
27
|
var import_find_query_builder = require("../../lib/query-builder/find-query-builder.browser.cjs");
|
|
28
28
|
var import_find_wallet_many_schema_zod = require("../../txs/find-wallet-many/find-wallet-many.schema.zod.browser.cjs");
|
|
29
29
|
var import_utils = require("../../lib/utils.browser.cjs");
|
|
30
|
+
var walletFilterFullInputSchemaRequired = import_find_wallet_many_schema_zod.walletFilterFullInputSchema.required();
|
|
30
31
|
function findWallets(options, input, fnOptions) {
|
|
31
32
|
const { client } = options;
|
|
32
33
|
const $query = new import_find_query_builder.FindQueryBuilder({
|
|
@@ -37,7 +38,7 @@ function findWallets(options, input, fnOptions) {
|
|
|
37
38
|
});
|
|
38
39
|
},
|
|
39
40
|
schemaBasic: import_find_wallets_schema_zod.findWalletsInputSchema,
|
|
40
|
-
schema:
|
|
41
|
+
schema: walletFilterFullInputSchemaRequired,
|
|
41
42
|
optionsSchema: import_find_wallets_schema_zod.findWalletsFnOptionsSchema
|
|
42
43
|
});
|
|
43
44
|
if (input) {
|
|
@@ -8,6 +8,7 @@ import {
|
|
|
8
8
|
} from "../../lib/query-builder/find-query-builder.browser.js";
|
|
9
9
|
import { walletFilterFullInputSchema } from "../../txs/find-wallet-many/find-wallet-many.schema.zod.browser.js";
|
|
10
10
|
import { mergeFnOptions } from "../../lib/utils.browser.js";
|
|
11
|
+
var walletFilterFullInputSchemaRequired = walletFilterFullInputSchema.required();
|
|
11
12
|
function findWallets(options, input, fnOptions) {
|
|
12
13
|
const { client } = options;
|
|
13
14
|
const $query = new FindQueryBuilder({
|
|
@@ -18,7 +19,7 @@ function findWallets(options, input, fnOptions) {
|
|
|
18
19
|
});
|
|
19
20
|
},
|
|
20
21
|
schemaBasic: findWalletsInputSchema,
|
|
21
|
-
schema:
|
|
22
|
+
schema: walletFilterFullInputSchemaRequired,
|
|
22
23
|
optionsSchema: findWalletsFnOptionsSchema
|
|
23
24
|
});
|
|
24
25
|
if (input) {
|
|
@@ -27,6 +27,7 @@ var import_find_wallets_schema_zod = require("./find-wallets.schema.zod.cjs");
|
|
|
27
27
|
var import_find_query_builder = require("../../lib/query-builder/find-query-builder.cjs");
|
|
28
28
|
var import_find_wallet_many_schema_zod = require("../../txs/find-wallet-many/find-wallet-many.schema.zod.cjs");
|
|
29
29
|
var import_utils = require("../../lib/utils.cjs");
|
|
30
|
+
var walletFilterFullInputSchemaRequired = import_find_wallet_many_schema_zod.walletFilterFullInputSchema.required();
|
|
30
31
|
function findWallets(options, input, fnOptions) {
|
|
31
32
|
const { client } = options;
|
|
32
33
|
const $query = new import_find_query_builder.FindQueryBuilder({
|
|
@@ -37,7 +38,7 @@ function findWallets(options, input, fnOptions) {
|
|
|
37
38
|
});
|
|
38
39
|
},
|
|
39
40
|
schemaBasic: import_find_wallets_schema_zod.findWalletsInputSchema,
|
|
40
|
-
schema:
|
|
41
|
+
schema: walletFilterFullInputSchemaRequired,
|
|
41
42
|
optionsSchema: import_find_wallets_schema_zod.findWalletsFnOptionsSchema
|
|
42
43
|
});
|
|
43
44
|
if (input) {
|
|
@@ -8,6 +8,7 @@ import {
|
|
|
8
8
|
} from "../../lib/query-builder/find-query-builder.js";
|
|
9
9
|
import { walletFilterFullInputSchema } from "../../txs/find-wallet-many/find-wallet-many.schema.zod.js";
|
|
10
10
|
import { mergeFnOptions } from "../../lib/utils.js";
|
|
11
|
+
var walletFilterFullInputSchemaRequired = walletFilterFullInputSchema.required();
|
|
11
12
|
function findWallets(options, input, fnOptions) {
|
|
12
13
|
const { client } = options;
|
|
13
14
|
const $query = new FindQueryBuilder({
|
|
@@ -18,7 +19,7 @@ function findWallets(options, input, fnOptions) {
|
|
|
18
19
|
});
|
|
19
20
|
},
|
|
20
21
|
schemaBasic: findWalletsInputSchema,
|
|
21
|
-
schema:
|
|
22
|
+
schema: walletFilterFullInputSchemaRequired,
|
|
22
23
|
optionsSchema: findWalletsFnOptionsSchema
|
|
23
24
|
});
|
|
24
25
|
if (input) {
|
|
@@ -42,6 +42,7 @@ var import_reverse_query_builder = require("../../lib/query-builder/reverse-quer
|
|
|
42
42
|
var import_reverse_transfers_schema_zod = require("./reverse-transfers.schema.zod.browser.cjs");
|
|
43
43
|
var import_find_transfer_many_schema_zod = require("../../txs/find-transfer-many/find-transfer-many.schema.zod.browser.cjs");
|
|
44
44
|
var import_reverse_transfer_schema_zod = require("../../txs/reverse-transfer/reverse-transfer.schema.zod.browser.cjs");
|
|
45
|
+
var transferFilterFullInputSchemaRequired = import_find_transfer_many_schema_zod.transferFilterFullInputSchema.required();
|
|
45
46
|
function reverseTransfers(options, input, fnOptions) {
|
|
46
47
|
const { client } = options;
|
|
47
48
|
const $query = new import_reverse_query_builder.ReverseQueryBuilder({
|
|
@@ -53,7 +54,7 @@ function reverseTransfers(options, input, fnOptions) {
|
|
|
53
54
|
});
|
|
54
55
|
},
|
|
55
56
|
schemaBasic: import_reverse_transfers_schema_zod.reverseTransfersFilterInputSchema,
|
|
56
|
-
schema:
|
|
57
|
+
schema: transferFilterFullInputSchemaRequired,
|
|
57
58
|
optionsSchema: import_reverse_transfers_schema_zod.reverseTransfersFnOptionsSchema,
|
|
58
59
|
reverseSchema: import_reverse_transfer_schema_zod.reverseTransferModificationsSchema
|
|
59
60
|
});
|
|
@@ -23,6 +23,7 @@ import {
|
|
|
23
23
|
} from "./reverse-transfers.schema.zod.browser.js";
|
|
24
24
|
import { transferFilterFullInputSchema } from "../../txs/find-transfer-many/find-transfer-many.schema.zod.browser.js";
|
|
25
25
|
import { reverseTransferModificationsSchema } from "../../txs/reverse-transfer/reverse-transfer.schema.zod.browser.js";
|
|
26
|
+
var transferFilterFullInputSchemaRequired = transferFilterFullInputSchema.required();
|
|
26
27
|
function reverseTransfers(options, input, fnOptions) {
|
|
27
28
|
const { client } = options;
|
|
28
29
|
const $query = new ReverseQueryBuilder({
|
|
@@ -34,7 +35,7 @@ function reverseTransfers(options, input, fnOptions) {
|
|
|
34
35
|
});
|
|
35
36
|
},
|
|
36
37
|
schemaBasic: reverseTransfersFilterInputSchema,
|
|
37
|
-
schema:
|
|
38
|
+
schema: transferFilterFullInputSchemaRequired,
|
|
38
39
|
optionsSchema: reverseTransfersFnOptionsSchema,
|
|
39
40
|
reverseSchema: reverseTransferModificationsSchema
|
|
40
41
|
});
|
|
@@ -42,6 +42,7 @@ var import_reverse_query_builder = require("../../lib/query-builder/reverse-que
|
|
|
42
42
|
var import_reverse_transfers_schema_zod = require("./reverse-transfers.schema.zod.cjs");
|
|
43
43
|
var import_find_transfer_many_schema_zod = require("../../txs/find-transfer-many/find-transfer-many.schema.zod.cjs");
|
|
44
44
|
var import_reverse_transfer_schema_zod = require("../../txs/reverse-transfer/reverse-transfer.schema.zod.cjs");
|
|
45
|
+
var transferFilterFullInputSchemaRequired = import_find_transfer_many_schema_zod.transferFilterFullInputSchema.required();
|
|
45
46
|
function reverseTransfers(options, input, fnOptions) {
|
|
46
47
|
const { client } = options;
|
|
47
48
|
const $query = new import_reverse_query_builder.ReverseQueryBuilder({
|
|
@@ -53,7 +54,7 @@ function reverseTransfers(options, input, fnOptions) {
|
|
|
53
54
|
});
|
|
54
55
|
},
|
|
55
56
|
schemaBasic: import_reverse_transfers_schema_zod.reverseTransfersFilterInputSchema,
|
|
56
|
-
schema:
|
|
57
|
+
schema: transferFilterFullInputSchemaRequired,
|
|
57
58
|
optionsSchema: import_reverse_transfers_schema_zod.reverseTransfersFnOptionsSchema,
|
|
58
59
|
reverseSchema: import_reverse_transfer_schema_zod.reverseTransferModificationsSchema
|
|
59
60
|
});
|
|
@@ -23,6 +23,7 @@ import {
|
|
|
23
23
|
} from "./reverse-transfers.schema.zod.js";
|
|
24
24
|
import { transferFilterFullInputSchema } from "../../txs/find-transfer-many/find-transfer-many.schema.zod.js";
|
|
25
25
|
import { reverseTransferModificationsSchema } from "../../txs/reverse-transfer/reverse-transfer.schema.zod.js";
|
|
26
|
+
var transferFilterFullInputSchemaRequired = transferFilterFullInputSchema.required();
|
|
26
27
|
function reverseTransfers(options, input, fnOptions) {
|
|
27
28
|
const { client } = options;
|
|
28
29
|
const $query = new ReverseQueryBuilder({
|
|
@@ -34,7 +35,7 @@ function reverseTransfers(options, input, fnOptions) {
|
|
|
34
35
|
});
|
|
35
36
|
},
|
|
36
37
|
schemaBasic: reverseTransfersFilterInputSchema,
|
|
37
|
-
schema:
|
|
38
|
+
schema: transferFilterFullInputSchemaRequired,
|
|
38
39
|
optionsSchema: reverseTransfersFnOptionsSchema,
|
|
39
40
|
reverseSchema: reverseTransferModificationsSchema
|
|
40
41
|
});
|
|
@@ -42,6 +42,7 @@ var import_update_transfer_groups_schema_zod = require("./update-transfer-groups
|
|
|
42
42
|
var import_find_transfer_group_many_schema_zod = require("../../txs/find-transfer-group-many/find-transfer-group-many.schema.zod.browser.cjs");
|
|
43
43
|
var import_update_transfer_group_schema_zod = require("../../txs/update-transfer-group/update-transfer-group.schema.zod.browser.cjs");
|
|
44
44
|
var import_update_query_builder = require("../../lib/query-builder/update-query-builder.browser.cjs");
|
|
45
|
+
var transferGroupFilterFullInputSchemaRequired = import_find_transfer_group_many_schema_zod.transferGroupFilterFullInputSchema.required();
|
|
45
46
|
function updateTransferGroups(options, input, fnOptions) {
|
|
46
47
|
const { client } = options;
|
|
47
48
|
const $query = new import_update_query_builder.UpdateQueryBuilder({
|
|
@@ -53,7 +54,7 @@ function updateTransferGroups(options, input, fnOptions) {
|
|
|
53
54
|
});
|
|
54
55
|
},
|
|
55
56
|
schemaBasic: import_update_transfer_groups_schema_zod.updateTransferGroupsFilterInputSchema,
|
|
56
|
-
schema:
|
|
57
|
+
schema: transferGroupFilterFullInputSchemaRequired,
|
|
57
58
|
optionsSchema: import_update_transfer_groups_schema_zod.updateTransferGroupsFnOptionsSchema,
|
|
58
59
|
updateSchema: import_update_transfer_group_schema_zod.updateTransferGroupModificationsSchema
|
|
59
60
|
});
|
|
@@ -23,6 +23,7 @@ import {
|
|
|
23
23
|
import { transferGroupFilterFullInputSchema } from "../../txs/find-transfer-group-many/find-transfer-group-many.schema.zod.browser.js";
|
|
24
24
|
import { updateTransferGroupModificationsSchema } from "../../txs/update-transfer-group/update-transfer-group.schema.zod.browser.js";
|
|
25
25
|
import { UpdateQueryBuilder } from "../../lib/query-builder/update-query-builder.browser.js";
|
|
26
|
+
var transferGroupFilterFullInputSchemaRequired = transferGroupFilterFullInputSchema.required();
|
|
26
27
|
function updateTransferGroups(options, input, fnOptions) {
|
|
27
28
|
const { client } = options;
|
|
28
29
|
const $query = new UpdateQueryBuilder({
|
|
@@ -34,7 +35,7 @@ function updateTransferGroups(options, input, fnOptions) {
|
|
|
34
35
|
});
|
|
35
36
|
},
|
|
36
37
|
schemaBasic: updateTransferGroupsFilterInputSchema,
|
|
37
|
-
schema:
|
|
38
|
+
schema: transferGroupFilterFullInputSchemaRequired,
|
|
38
39
|
optionsSchema: updateTransferGroupsFnOptionsSchema,
|
|
39
40
|
updateSchema: updateTransferGroupModificationsSchema
|
|
40
41
|
});
|
|
@@ -42,6 +42,7 @@ var import_update_transfer_groups_schema_zod = require("./update-transfer-group
|
|
|
42
42
|
var import_find_transfer_group_many_schema_zod = require("../../txs/find-transfer-group-many/find-transfer-group-many.schema.zod.cjs");
|
|
43
43
|
var import_update_transfer_group_schema_zod = require("../../txs/update-transfer-group/update-transfer-group.schema.zod.cjs");
|
|
44
44
|
var import_update_query_builder = require("../../lib/query-builder/update-query-builder.cjs");
|
|
45
|
+
var transferGroupFilterFullInputSchemaRequired = import_find_transfer_group_many_schema_zod.transferGroupFilterFullInputSchema.required();
|
|
45
46
|
function updateTransferGroups(options, input, fnOptions) {
|
|
46
47
|
const { client } = options;
|
|
47
48
|
const $query = new import_update_query_builder.UpdateQueryBuilder({
|
|
@@ -53,7 +54,7 @@ function updateTransferGroups(options, input, fnOptions) {
|
|
|
53
54
|
});
|
|
54
55
|
},
|
|
55
56
|
schemaBasic: import_update_transfer_groups_schema_zod.updateTransferGroupsFilterInputSchema,
|
|
56
|
-
schema:
|
|
57
|
+
schema: transferGroupFilterFullInputSchemaRequired,
|
|
57
58
|
optionsSchema: import_update_transfer_groups_schema_zod.updateTransferGroupsFnOptionsSchema,
|
|
58
59
|
updateSchema: import_update_transfer_group_schema_zod.updateTransferGroupModificationsSchema
|
|
59
60
|
});
|
|
@@ -23,6 +23,7 @@ import {
|
|
|
23
23
|
import { transferGroupFilterFullInputSchema } from "../../txs/find-transfer-group-many/find-transfer-group-many.schema.zod.js";
|
|
24
24
|
import { updateTransferGroupModificationsSchema } from "../../txs/update-transfer-group/update-transfer-group.schema.zod.js";
|
|
25
25
|
import { UpdateQueryBuilder } from "../../lib/query-builder/update-query-builder.js";
|
|
26
|
+
var transferGroupFilterFullInputSchemaRequired = transferGroupFilterFullInputSchema.required();
|
|
26
27
|
function updateTransferGroups(options, input, fnOptions) {
|
|
27
28
|
const { client } = options;
|
|
28
29
|
const $query = new UpdateQueryBuilder({
|
|
@@ -34,7 +35,7 @@ function updateTransferGroups(options, input, fnOptions) {
|
|
|
34
35
|
});
|
|
35
36
|
},
|
|
36
37
|
schemaBasic: updateTransferGroupsFilterInputSchema,
|
|
37
|
-
schema:
|
|
38
|
+
schema: transferGroupFilterFullInputSchemaRequired,
|
|
38
39
|
optionsSchema: updateTransferGroupsFnOptionsSchema,
|
|
39
40
|
updateSchema: updateTransferGroupModificationsSchema
|
|
40
41
|
});
|
|
@@ -42,6 +42,7 @@ var import_update_transfers_schema_zod = require("./update-transfers.schema.zod.
|
|
|
42
42
|
var import_find_transfer_many_schema_zod = require("../../txs/find-transfer-many/find-transfer-many.schema.zod.browser.cjs");
|
|
43
43
|
var import_update_transfer_schema_zod = require("../../txs/update-transfer/update-transfer.schema.zod.browser.cjs");
|
|
44
44
|
var import_update_query_builder = require("../../lib/query-builder/update-query-builder.browser.cjs");
|
|
45
|
+
var transferFilterFullInputSchemaRequired = import_find_transfer_many_schema_zod.transferFilterFullInputSchema.required();
|
|
45
46
|
function updateTransfers(options, input, fnOptions) {
|
|
46
47
|
const { client } = options;
|
|
47
48
|
const $query = new import_update_query_builder.UpdateQueryBuilder({
|
|
@@ -53,7 +54,7 @@ function updateTransfers(options, input, fnOptions) {
|
|
|
53
54
|
});
|
|
54
55
|
},
|
|
55
56
|
schemaBasic: import_update_transfers_schema_zod.updateTransfersFilterInputSchema,
|
|
56
|
-
schema:
|
|
57
|
+
schema: transferFilterFullInputSchemaRequired,
|
|
57
58
|
optionsSchema: import_update_transfers_schema_zod.updateTransfersFnOptionsSchema,
|
|
58
59
|
updateSchema: import_update_transfer_schema_zod.updateTransferModificationsSchema
|
|
59
60
|
});
|
|
@@ -23,6 +23,7 @@ import {
|
|
|
23
23
|
import { transferFilterFullInputSchema } from "../../txs/find-transfer-many/find-transfer-many.schema.zod.browser.js";
|
|
24
24
|
import { updateTransferModificationsSchema } from "../../txs/update-transfer/update-transfer.schema.zod.browser.js";
|
|
25
25
|
import { UpdateQueryBuilder } from "../../lib/query-builder/update-query-builder.browser.js";
|
|
26
|
+
var transferFilterFullInputSchemaRequired = transferFilterFullInputSchema.required();
|
|
26
27
|
function updateTransfers(options, input, fnOptions) {
|
|
27
28
|
const { client } = options;
|
|
28
29
|
const $query = new UpdateQueryBuilder({
|
|
@@ -34,7 +35,7 @@ function updateTransfers(options, input, fnOptions) {
|
|
|
34
35
|
});
|
|
35
36
|
},
|
|
36
37
|
schemaBasic: updateTransfersFilterInputSchema,
|
|
37
|
-
schema:
|
|
38
|
+
schema: transferFilterFullInputSchemaRequired,
|
|
38
39
|
optionsSchema: updateTransfersFnOptionsSchema,
|
|
39
40
|
updateSchema: updateTransferModificationsSchema
|
|
40
41
|
});
|
|
@@ -42,6 +42,7 @@ var import_update_transfers_schema_zod = require("./update-transfers.schema.zod
|
|
|
42
42
|
var import_find_transfer_many_schema_zod = require("../../txs/find-transfer-many/find-transfer-many.schema.zod.cjs");
|
|
43
43
|
var import_update_transfer_schema_zod = require("../../txs/update-transfer/update-transfer.schema.zod.cjs");
|
|
44
44
|
var import_update_query_builder = require("../../lib/query-builder/update-query-builder.cjs");
|
|
45
|
+
var transferFilterFullInputSchemaRequired = import_find_transfer_many_schema_zod.transferFilterFullInputSchema.required();
|
|
45
46
|
function updateTransfers(options, input, fnOptions) {
|
|
46
47
|
const { client } = options;
|
|
47
48
|
const $query = new import_update_query_builder.UpdateQueryBuilder({
|
|
@@ -53,7 +54,7 @@ function updateTransfers(options, input, fnOptions) {
|
|
|
53
54
|
});
|
|
54
55
|
},
|
|
55
56
|
schemaBasic: import_update_transfers_schema_zod.updateTransfersFilterInputSchema,
|
|
56
|
-
schema:
|
|
57
|
+
schema: transferFilterFullInputSchemaRequired,
|
|
57
58
|
optionsSchema: import_update_transfers_schema_zod.updateTransfersFnOptionsSchema,
|
|
58
59
|
updateSchema: import_update_transfer_schema_zod.updateTransferModificationsSchema
|
|
59
60
|
});
|
|
@@ -23,6 +23,7 @@ import {
|
|
|
23
23
|
import { transferFilterFullInputSchema } from "../../txs/find-transfer-many/find-transfer-many.schema.zod.js";
|
|
24
24
|
import { updateTransferModificationsSchema } from "../../txs/update-transfer/update-transfer.schema.zod.js";
|
|
25
25
|
import { UpdateQueryBuilder } from "../../lib/query-builder/update-query-builder.js";
|
|
26
|
+
var transferFilterFullInputSchemaRequired = transferFilterFullInputSchema.required();
|
|
26
27
|
function updateTransfers(options, input, fnOptions) {
|
|
27
28
|
const { client } = options;
|
|
28
29
|
const $query = new UpdateQueryBuilder({
|
|
@@ -34,7 +35,7 @@ function updateTransfers(options, input, fnOptions) {
|
|
|
34
35
|
});
|
|
35
36
|
},
|
|
36
37
|
schemaBasic: updateTransfersFilterInputSchema,
|
|
37
|
-
schema:
|
|
38
|
+
schema: transferFilterFullInputSchemaRequired,
|
|
38
39
|
optionsSchema: updateTransfersFnOptionsSchema,
|
|
39
40
|
updateSchema: updateTransferModificationsSchema
|
|
40
41
|
});
|
package/dist/lib/env.browser.cjs
CHANGED
|
@@ -24,7 +24,7 @@ __export(env_exports, {
|
|
|
24
24
|
getEnvConfig: () => getEnvConfig
|
|
25
25
|
});
|
|
26
26
|
module.exports = __toCommonJS(env_exports);
|
|
27
|
-
var CLIENT_VERSION = "0.16.0
|
|
27
|
+
var CLIENT_VERSION = "0.16.0";
|
|
28
28
|
function getEnvConfig(key, defaultValue) {
|
|
29
29
|
const val = getVariable(key);
|
|
30
30
|
if (val === void 0) {
|