wapi-client 0.15.8 → 0.15.12
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/create-transfer.browser.cjs +2 -2
- package/dist/fns/create-transfer/create-transfer.browser.js +2 -2
- package/dist/fns/create-transfer/create-transfer.cjs +2 -2
- package/dist/fns/create-transfer/create-transfer.js +2 -2
- package/dist/fns/create-transfer/create-transfer.schema.zod.browser.cjs +2 -1
- package/dist/fns/create-transfer/create-transfer.schema.zod.browser.js +2 -1
- package/dist/fns/create-transfer/create-transfer.schema.zod.cjs +2 -1
- package/dist/fns/create-transfer/create-transfer.schema.zod.js +2 -1
- 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/create-wallet/create-wallet.browser.cjs +2 -14
- package/dist/fns/create-wallet/create-wallet.browser.js +2 -15
- package/dist/fns/create-wallet/create-wallet.cjs +2 -14
- package/dist/fns/create-wallet/create-wallet.js +2 -15
- package/dist/fns/create-wallet/create-wallet.schema.zod.browser.cjs +3 -1
- package/dist/fns/create-wallet/create-wallet.schema.zod.browser.js +3 -1
- package/dist/fns/create-wallet/create-wallet.schema.zod.cjs +3 -1
- package/dist/fns/create-wallet/create-wallet.schema.zod.js +3 -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/fns/update-wallet/update-wallet.browser.cjs +18 -7
- package/dist/fns/update-wallet/update-wallet.browser.js +20 -7
- package/dist/fns/update-wallet/update-wallet.cjs +18 -7
- package/dist/fns/update-wallet/update-wallet.js +20 -7
- package/dist/fns/update-wallet/update-wallet.schema.zod.browser.cjs +3 -1
- package/dist/fns/update-wallet/update-wallet.schema.zod.browser.js +3 -1
- package/dist/fns/update-wallet/update-wallet.schema.zod.cjs +3 -1
- package/dist/fns/update-wallet/update-wallet.schema.zod.js +3 -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/txs/create-wallet/create-wallet.schema.zod.browser.cjs +3 -1
- package/dist/txs/create-wallet/create-wallet.schema.zod.browser.js +3 -1
- package/dist/txs/create-wallet/create-wallet.schema.zod.cjs +3 -1
- package/dist/txs/create-wallet/create-wallet.schema.zod.js +3 -1
- package/dist/txs/get-transfer/get-transfer.schema.zod.browser.cjs +2 -1
- package/dist/txs/get-transfer/get-transfer.schema.zod.browser.js +2 -1
- package/dist/txs/get-transfer/get-transfer.schema.zod.cjs +2 -1
- package/dist/txs/get-transfer/get-transfer.schema.zod.js +2 -1
- package/dist/txs/update-wallet/update-wallet.schema.zod.browser.cjs +3 -1
- package/dist/txs/update-wallet/update-wallet.schema.zod.browser.js +3 -1
- package/dist/txs/update-wallet/update-wallet.schema.zod.cjs +3 -1
- package/dist/txs/update-wallet/update-wallet.schema.zod.js +3 -1
- package/dist/types/wapi-client.d.ts +646 -508
- package/dist/wapi-client-web.iife.js +6 -6
- package/dist/wapi-client.iife.js +6 -6
- package/package.json +1 -1
|
@@ -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
|
});
|
|
@@ -2,7 +2,21 @@
|
|
|
2
2
|
var __defProp = Object.defineProperty;
|
|
3
3
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
4
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __getOwnPropSymbols = Object.getOwnPropertySymbols;
|
|
5
6
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
+
var __propIsEnum = Object.prototype.propertyIsEnumerable;
|
|
8
|
+
var __objRest = (source, exclude) => {
|
|
9
|
+
var target = {};
|
|
10
|
+
for (var prop in source)
|
|
11
|
+
if (__hasOwnProp.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
12
|
+
target[prop] = source[prop];
|
|
13
|
+
if (source != null && __getOwnPropSymbols)
|
|
14
|
+
for (var prop of __getOwnPropSymbols(source)) {
|
|
15
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum.call(source, prop))
|
|
16
|
+
target[prop] = source[prop];
|
|
17
|
+
}
|
|
18
|
+
return target;
|
|
19
|
+
};
|
|
6
20
|
var __export = (target, all) => {
|
|
7
21
|
for (var name in all)
|
|
8
22
|
__defProp(target, name, { get: all[name], enumerable: true });
|
|
@@ -29,13 +43,10 @@ var zodValidator = (0, import_validation.getValidator)(import_update_wallet_sche
|
|
|
29
43
|
function updateWallet(options, input, fnOptions) {
|
|
30
44
|
const { client } = options;
|
|
31
45
|
const inputCopy = zodValidator.validateInputWOptions(input, fnOptions);
|
|
46
|
+
const _a = inputCopy, { options: inputOptions, wallet } = _a, update = __objRest(_a, ["options", "wallet"]);
|
|
32
47
|
return client.api.updateWallet({
|
|
33
|
-
wallet
|
|
34
|
-
update
|
|
35
|
-
|
|
36
|
-
status: inputCopy.status,
|
|
37
|
-
name: inputCopy.name
|
|
38
|
-
},
|
|
39
|
-
options: inputCopy.options
|
|
48
|
+
wallet,
|
|
49
|
+
update,
|
|
50
|
+
options: inputOptions
|
|
40
51
|
});
|
|
41
52
|
}
|
|
@@ -1,3 +1,19 @@
|
|
|
1
|
+
var __getOwnPropSymbols = Object.getOwnPropertySymbols;
|
|
2
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
3
|
+
var __propIsEnum = Object.prototype.propertyIsEnumerable;
|
|
4
|
+
var __objRest = (source, exclude) => {
|
|
5
|
+
var target = {};
|
|
6
|
+
for (var prop in source)
|
|
7
|
+
if (__hasOwnProp.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
8
|
+
target[prop] = source[prop];
|
|
9
|
+
if (source != null && __getOwnPropSymbols)
|
|
10
|
+
for (var prop of __getOwnPropSymbols(source)) {
|
|
11
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum.call(source, prop))
|
|
12
|
+
target[prop] = source[prop];
|
|
13
|
+
}
|
|
14
|
+
return target;
|
|
15
|
+
};
|
|
16
|
+
|
|
1
17
|
// src/fns/update-wallet/update-wallet.ts
|
|
2
18
|
import { getValidator } from "../../lib/validation.browser.js";
|
|
3
19
|
import { updateWalletFnInputSchema } from "./update-wallet.schema.zod.browser.js";
|
|
@@ -5,14 +21,11 @@ var zodValidator = getValidator(updateWalletFnInputSchema);
|
|
|
5
21
|
function updateWallet(options, input, fnOptions) {
|
|
6
22
|
const { client } = options;
|
|
7
23
|
const inputCopy = zodValidator.validateInputWOptions(input, fnOptions);
|
|
24
|
+
const _a = inputCopy, { options: inputOptions, wallet } = _a, update = __objRest(_a, ["options", "wallet"]);
|
|
8
25
|
return client.api.updateWallet({
|
|
9
|
-
wallet
|
|
10
|
-
update
|
|
11
|
-
|
|
12
|
-
status: inputCopy.status,
|
|
13
|
-
name: inputCopy.name
|
|
14
|
-
},
|
|
15
|
-
options: inputCopy.options
|
|
26
|
+
wallet,
|
|
27
|
+
update,
|
|
28
|
+
options: inputOptions
|
|
16
29
|
});
|
|
17
30
|
}
|
|
18
31
|
export {
|
|
@@ -2,7 +2,21 @@
|
|
|
2
2
|
var __defProp = Object.defineProperty;
|
|
3
3
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
4
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __getOwnPropSymbols = Object.getOwnPropertySymbols;
|
|
5
6
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
+
var __propIsEnum = Object.prototype.propertyIsEnumerable;
|
|
8
|
+
var __objRest = (source, exclude) => {
|
|
9
|
+
var target = {};
|
|
10
|
+
for (var prop in source)
|
|
11
|
+
if (__hasOwnProp.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
12
|
+
target[prop] = source[prop];
|
|
13
|
+
if (source != null && __getOwnPropSymbols)
|
|
14
|
+
for (var prop of __getOwnPropSymbols(source)) {
|
|
15
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum.call(source, prop))
|
|
16
|
+
target[prop] = source[prop];
|
|
17
|
+
}
|
|
18
|
+
return target;
|
|
19
|
+
};
|
|
6
20
|
var __export = (target, all) => {
|
|
7
21
|
for (var name in all)
|
|
8
22
|
__defProp(target, name, { get: all[name], enumerable: true });
|
|
@@ -29,14 +43,11 @@ var zodValidator = (0, import_validation.getValidator)(import_update_wallet_sche
|
|
|
29
43
|
function updateWallet(options, input, fnOptions) {
|
|
30
44
|
const { client } = options;
|
|
31
45
|
const inputCopy = zodValidator.validateInputWOptions(input, fnOptions);
|
|
46
|
+
const _a = inputCopy, { options: inputOptions, wallet } = _a, update = __objRest(_a, ["options", "wallet"]);
|
|
32
47
|
return client.api.updateWallet({
|
|
33
|
-
wallet
|
|
34
|
-
update
|
|
35
|
-
|
|
36
|
-
status: inputCopy.status,
|
|
37
|
-
name: inputCopy.name
|
|
38
|
-
},
|
|
39
|
-
options: inputCopy.options
|
|
48
|
+
wallet,
|
|
49
|
+
update,
|
|
50
|
+
options: inputOptions
|
|
40
51
|
});
|
|
41
52
|
}
|
|
42
53
|
// Annotate the CommonJS export names for ESM import in node:
|
|
@@ -1,3 +1,19 @@
|
|
|
1
|
+
var __getOwnPropSymbols = Object.getOwnPropertySymbols;
|
|
2
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
3
|
+
var __propIsEnum = Object.prototype.propertyIsEnumerable;
|
|
4
|
+
var __objRest = (source, exclude) => {
|
|
5
|
+
var target = {};
|
|
6
|
+
for (var prop in source)
|
|
7
|
+
if (__hasOwnProp.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
8
|
+
target[prop] = source[prop];
|
|
9
|
+
if (source != null && __getOwnPropSymbols)
|
|
10
|
+
for (var prop of __getOwnPropSymbols(source)) {
|
|
11
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum.call(source, prop))
|
|
12
|
+
target[prop] = source[prop];
|
|
13
|
+
}
|
|
14
|
+
return target;
|
|
15
|
+
};
|
|
16
|
+
|
|
1
17
|
// src/fns/update-wallet/update-wallet.ts
|
|
2
18
|
import { getValidator } from "../../lib/validation.js";
|
|
3
19
|
import { updateWalletFnInputSchema } from "./update-wallet.schema.zod.js";
|
|
@@ -5,14 +21,11 @@ var zodValidator = getValidator(updateWalletFnInputSchema);
|
|
|
5
21
|
function updateWallet(options, input, fnOptions) {
|
|
6
22
|
const { client } = options;
|
|
7
23
|
const inputCopy = zodValidator.validateInputWOptions(input, fnOptions);
|
|
24
|
+
const _a = inputCopy, { options: inputOptions, wallet } = _a, update = __objRest(_a, ["options", "wallet"]);
|
|
8
25
|
return client.api.updateWallet({
|
|
9
|
-
wallet
|
|
10
|
-
update
|
|
11
|
-
|
|
12
|
-
status: inputCopy.status,
|
|
13
|
-
name: inputCopy.name
|
|
14
|
-
},
|
|
15
|
-
options: inputCopy.options
|
|
26
|
+
wallet,
|
|
27
|
+
update,
|
|
28
|
+
options: inputOptions
|
|
16
29
|
});
|
|
17
30
|
}
|
|
18
31
|
export {
|
|
@@ -36,7 +36,9 @@ var updateWalletInputSchema = import_zod.z.object({
|
|
|
36
36
|
wallet: import_consts.allowedStringIntSchema.describe("Wallet foreign"),
|
|
37
37
|
metadata: import_wallet_schema_zod.walletTableSchema.shape.metadata,
|
|
38
38
|
name: import_wallet_schema_zod.walletTableSchema.shape.name,
|
|
39
|
-
status: import_wallet_schema_zod.walletTableSchema.shape.status
|
|
39
|
+
status: import_wallet_schema_zod.walletTableSchema.shape.status,
|
|
40
|
+
default_allow_positive: import_wallet_schema_zod.walletTableSchema.shape.default_allow_positive,
|
|
41
|
+
default_allow_negative: import_wallet_schema_zod.walletTableSchema.shape.default_allow_negative
|
|
40
42
|
}).partial().required({
|
|
41
43
|
wallet: true
|
|
42
44
|
});
|
|
@@ -11,7 +11,9 @@ var updateWalletInputSchema = z.object({
|
|
|
11
11
|
wallet: allowedStringIntSchema.describe("Wallet foreign"),
|
|
12
12
|
metadata: walletTableSchema.shape.metadata,
|
|
13
13
|
name: walletTableSchema.shape.name,
|
|
14
|
-
status: walletTableSchema.shape.status
|
|
14
|
+
status: walletTableSchema.shape.status,
|
|
15
|
+
default_allow_positive: walletTableSchema.shape.default_allow_positive,
|
|
16
|
+
default_allow_negative: walletTableSchema.shape.default_allow_negative
|
|
15
17
|
}).partial().required({
|
|
16
18
|
wallet: true
|
|
17
19
|
});
|
|
@@ -36,7 +36,9 @@ var updateWalletInputSchema = import_zod.z.object({
|
|
|
36
36
|
wallet: import_consts.allowedStringIntSchema.describe("Wallet foreign"),
|
|
37
37
|
metadata: import_wallet_schema_zod.walletTableSchema.shape.metadata,
|
|
38
38
|
name: import_wallet_schema_zod.walletTableSchema.shape.name,
|
|
39
|
-
status: import_wallet_schema_zod.walletTableSchema.shape.status
|
|
39
|
+
status: import_wallet_schema_zod.walletTableSchema.shape.status,
|
|
40
|
+
default_allow_positive: import_wallet_schema_zod.walletTableSchema.shape.default_allow_positive,
|
|
41
|
+
default_allow_negative: import_wallet_schema_zod.walletTableSchema.shape.default_allow_negative
|
|
40
42
|
}).partial().required({
|
|
41
43
|
wallet: true
|
|
42
44
|
});
|
|
@@ -11,7 +11,9 @@ var updateWalletInputSchema = z.object({
|
|
|
11
11
|
wallet: allowedStringIntSchema.describe("Wallet foreign"),
|
|
12
12
|
metadata: walletTableSchema.shape.metadata,
|
|
13
13
|
name: walletTableSchema.shape.name,
|
|
14
|
-
status: walletTableSchema.shape.status
|
|
14
|
+
status: walletTableSchema.shape.status,
|
|
15
|
+
default_allow_positive: walletTableSchema.shape.default_allow_positive,
|
|
16
|
+
default_allow_negative: walletTableSchema.shape.default_allow_negative
|
|
15
17
|
}).partial().required({
|
|
16
18
|
wallet: true
|
|
17
19
|
});
|
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.15.
|
|
27
|
+
var CLIENT_VERSION = "0.15.12";
|
|
28
28
|
function getEnvConfig(key, defaultValue) {
|
|
29
29
|
const val = getVariable(key);
|
|
30
30
|
if (val === void 0) {
|
package/dist/lib/env.browser.js
CHANGED
package/dist/lib/env.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.15.
|
|
27
|
+
var CLIENT_VERSION = "0.15.12";
|
|
28
28
|
function getEnvConfig(key, defaultValue) {
|
|
29
29
|
const val = getVariable(key);
|
|
30
30
|
if (val === void 0) {
|
package/dist/lib/env.js
CHANGED