wapi-client 0.18.2 → 0.18.5
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/api/http-client.browser.cjs +5 -1
- package/dist/api/http-client.browser.js +5 -1
- package/dist/fns/find-balances/find-balances.browser.cjs +1 -0
- package/dist/fns/find-balances/find-balances.browser.js +1 -0
- package/dist/fns/find-balances/find-balances.cjs +1 -0
- package/dist/fns/find-balances/find-balances.js +1 -0
- 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/txs/find-balance-many/find-balance-many.schema.zod.browser.cjs +1 -0
- package/dist/txs/find-balance-many/find-balance-many.schema.zod.browser.js +1 -0
- package/dist/txs/find-balance-many/find-balance-many.schema.zod.cjs +1 -0
- package/dist/txs/find-balance-many/find-balance-many.schema.zod.js +1 -0
- package/dist/txs/get-balance/get-balance.schema.zod.browser.cjs +2 -1
- package/dist/txs/get-balance/get-balance.schema.zod.browser.js +2 -1
- package/dist/txs/get-balance/get-balance.schema.zod.cjs +2 -1
- package/dist/txs/get-balance/get-balance.schema.zod.js +2 -1
- package/dist/types/wapi-client.d.ts +119 -0
- package/dist/wapi-client.iife.js +4 -4
- package/package.json +1 -1
|
@@ -23,7 +23,11 @@ var __spreadValues = (a, b) => {
|
|
|
23
23
|
};
|
|
24
24
|
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
25
25
|
var __commonJS = (cb, mod) => function __require() {
|
|
26
|
-
|
|
26
|
+
try {
|
|
27
|
+
return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
|
|
28
|
+
} catch (e) {
|
|
29
|
+
throw mod = 0, e;
|
|
30
|
+
}
|
|
27
31
|
};
|
|
28
32
|
var __export = (target, all) => {
|
|
29
33
|
for (var name in all)
|
|
@@ -22,7 +22,11 @@ var __spreadValues = (a, b) => {
|
|
|
22
22
|
};
|
|
23
23
|
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
24
24
|
var __commonJS = (cb, mod) => function __require() {
|
|
25
|
-
|
|
25
|
+
try {
|
|
26
|
+
return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
|
|
27
|
+
} catch (e) {
|
|
28
|
+
throw mod = 0, e;
|
|
29
|
+
}
|
|
26
30
|
};
|
|
27
31
|
var __copyProps = (to, from, except, desc) => {
|
|
28
32
|
if (from && typeof from === "object" || typeof from === "function") {
|
|
@@ -32,6 +32,7 @@ var balanceFilterFullInputSchemaRequired = import_find_balances_schema_zod.findB
|
|
|
32
32
|
type: import_find_balance_many_schema_zod.balanceFilterFullInputSchema.shape.type,
|
|
33
33
|
status: import_find_balance_many_schema_zod.balanceFilterFullInputSchema.shape.status,
|
|
34
34
|
updated_at: import_find_balance_many_schema_zod.balanceFilterFullInputSchema.shape.updated_at,
|
|
35
|
+
balance_id: import_find_balance_many_schema_zod.balanceFilterFullInputSchema.shape.balance_id,
|
|
35
36
|
wallet_id: import_find_balance_many_schema_zod.balanceFilterFullInputSchema.shape.wallet_id,
|
|
36
37
|
wallet_foreign: import_find_balance_many_schema_zod.balanceFilterFullInputSchema.shape.wallet_foreign,
|
|
37
38
|
wallet_name: import_find_balance_many_schema_zod.balanceFilterFullInputSchema.shape.wallet_name,
|
|
@@ -12,6 +12,7 @@ var balanceFilterFullInputSchemaRequired = findBalancesInputSchema.extend({
|
|
|
12
12
|
type: balanceFilterFullInputSchema.shape.type,
|
|
13
13
|
status: balanceFilterFullInputSchema.shape.status,
|
|
14
14
|
updated_at: balanceFilterFullInputSchema.shape.updated_at,
|
|
15
|
+
balance_id: balanceFilterFullInputSchema.shape.balance_id,
|
|
15
16
|
wallet_id: balanceFilterFullInputSchema.shape.wallet_id,
|
|
16
17
|
wallet_foreign: balanceFilterFullInputSchema.shape.wallet_foreign,
|
|
17
18
|
wallet_name: balanceFilterFullInputSchema.shape.wallet_name,
|
|
@@ -32,6 +32,7 @@ var balanceFilterFullInputSchemaRequired = import_find_balances_schema_zod.findB
|
|
|
32
32
|
type: import_find_balance_many_schema_zod.balanceFilterFullInputSchema.shape.type,
|
|
33
33
|
status: import_find_balance_many_schema_zod.balanceFilterFullInputSchema.shape.status,
|
|
34
34
|
updated_at: import_find_balance_many_schema_zod.balanceFilterFullInputSchema.shape.updated_at,
|
|
35
|
+
balance_id: import_find_balance_many_schema_zod.balanceFilterFullInputSchema.shape.balance_id,
|
|
35
36
|
wallet_id: import_find_balance_many_schema_zod.balanceFilterFullInputSchema.shape.wallet_id,
|
|
36
37
|
wallet_foreign: import_find_balance_many_schema_zod.balanceFilterFullInputSchema.shape.wallet_foreign,
|
|
37
38
|
wallet_name: import_find_balance_many_schema_zod.balanceFilterFullInputSchema.shape.wallet_name,
|
|
@@ -12,6 +12,7 @@ var balanceFilterFullInputSchemaRequired = findBalancesInputSchema.extend({
|
|
|
12
12
|
type: balanceFilterFullInputSchema.shape.type,
|
|
13
13
|
status: balanceFilterFullInputSchema.shape.status,
|
|
14
14
|
updated_at: balanceFilterFullInputSchema.shape.updated_at,
|
|
15
|
+
balance_id: balanceFilterFullInputSchema.shape.balance_id,
|
|
15
16
|
wallet_id: balanceFilterFullInputSchema.shape.wallet_id,
|
|
16
17
|
wallet_foreign: balanceFilterFullInputSchema.shape.wallet_foreign,
|
|
17
18
|
wallet_name: balanceFilterFullInputSchema.shape.wallet_name,
|
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.18.
|
|
27
|
+
var CLIENT_VERSION = "0.18.5";
|
|
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.18.
|
|
27
|
+
var CLIENT_VERSION = "0.18.5";
|
|
28
28
|
function getEnvConfig(key, defaultValue) {
|
|
29
29
|
const val = getVariable(key);
|
|
30
30
|
if (val === void 0) {
|
package/dist/lib/env.js
CHANGED
|
@@ -83,6 +83,7 @@ var balanceFilterObjectInputSchema = import_zod.z.object({
|
|
|
83
83
|
metadata: import_consts2.DbFilterMetadataSchema
|
|
84
84
|
}).partial();
|
|
85
85
|
var balanceFilterFullInputSchema = balanceFilterObjectInputSchema.extend({
|
|
86
|
+
balance_id: import_transfer_log_schema_zod.transferLogTableSchema.shape.id,
|
|
86
87
|
updated_at: import_transfer_log_schema_zod.transferLogTableSchema.shape.created_at,
|
|
87
88
|
wallet_id: import_consts.stringNumberToInteger.describe("Debited Wallet id"),
|
|
88
89
|
wallet_foreign: import_consts.stringNumberToString.describe("Debited Wallet foreign"),
|
|
@@ -74,6 +74,7 @@ var balanceFilterObjectInputSchema = z.object({
|
|
|
74
74
|
metadata: DbFilterMetadataSchema
|
|
75
75
|
}).partial();
|
|
76
76
|
var balanceFilterFullInputSchema = balanceFilterObjectInputSchema.extend({
|
|
77
|
+
balance_id: transferLogTableSchema.shape.id,
|
|
77
78
|
updated_at: transferLogTableSchema.shape.created_at,
|
|
78
79
|
wallet_id: stringNumberToInteger.describe("Debited Wallet id"),
|
|
79
80
|
wallet_foreign: stringNumberToString.describe("Debited Wallet foreign"),
|
|
@@ -83,6 +83,7 @@ var balanceFilterObjectInputSchema = import_zod.z.object({
|
|
|
83
83
|
metadata: import_consts2.DbFilterMetadataSchema
|
|
84
84
|
}).partial();
|
|
85
85
|
var balanceFilterFullInputSchema = balanceFilterObjectInputSchema.extend({
|
|
86
|
+
balance_id: import_transfer_log_schema_zod.transferLogTableSchema.shape.id,
|
|
86
87
|
updated_at: import_transfer_log_schema_zod.transferLogTableSchema.shape.created_at,
|
|
87
88
|
wallet_id: import_consts.stringNumberToInteger.describe("Debited Wallet id"),
|
|
88
89
|
wallet_foreign: import_consts.stringNumberToString.describe("Debited Wallet foreign"),
|
|
@@ -74,6 +74,7 @@ var balanceFilterObjectInputSchema = z.object({
|
|
|
74
74
|
metadata: DbFilterMetadataSchema
|
|
75
75
|
}).partial();
|
|
76
76
|
var balanceFilterFullInputSchema = balanceFilterObjectInputSchema.extend({
|
|
77
|
+
balance_id: transferLogTableSchema.shape.id,
|
|
77
78
|
updated_at: transferLogTableSchema.shape.created_at,
|
|
78
79
|
wallet_id: stringNumberToInteger.describe("Debited Wallet id"),
|
|
79
80
|
wallet_foreign: stringNumberToString.describe("Debited Wallet foreign"),
|
|
@@ -76,7 +76,8 @@ var balanceOutputSchema = import_transfer_log_schema_zod.transferLogTableSchema.
|
|
|
76
76
|
wallet_foreign: import_wallet_schema_zod.walletTableSchema.shape.foreign,
|
|
77
77
|
wallet_metadata: import_wallet_schema_zod.walletTableSchema.shape.metadata,
|
|
78
78
|
amount: import_zod.z.number().describe("Current finished and pending balance sum"),
|
|
79
|
-
updated_at: import_transfer_log_schema_zod.transferLogTableSchema.shape.created_at
|
|
79
|
+
updated_at: import_transfer_log_schema_zod.transferLogTableSchema.shape.created_at,
|
|
80
|
+
balance_id: import_transfer_log_schema_zod.transferLogTableSchema.shape.id
|
|
80
81
|
}).strict().partial().required({
|
|
81
82
|
token_id: true,
|
|
82
83
|
token_foreign: true,
|
|
@@ -48,7 +48,8 @@ var balanceOutputSchema = transferLogTableSchema.pick({
|
|
|
48
48
|
wallet_foreign: walletTableSchema.shape.foreign,
|
|
49
49
|
wallet_metadata: walletTableSchema.shape.metadata,
|
|
50
50
|
amount: z.number().describe("Current finished and pending balance sum"),
|
|
51
|
-
updated_at: transferLogTableSchema.shape.created_at
|
|
51
|
+
updated_at: transferLogTableSchema.shape.created_at,
|
|
52
|
+
balance_id: transferLogTableSchema.shape.id
|
|
52
53
|
}).strict().partial().required({
|
|
53
54
|
token_id: true,
|
|
54
55
|
token_foreign: true,
|
|
@@ -76,7 +76,8 @@ var balanceOutputSchema = import_transfer_log_schema_zod.transferLogTableSchema.
|
|
|
76
76
|
wallet_foreign: import_wallet_schema_zod.walletTableSchema.shape.foreign,
|
|
77
77
|
wallet_metadata: import_wallet_schema_zod.walletTableSchema.shape.metadata,
|
|
78
78
|
amount: import_zod.z.number().describe("Current finished and pending balance sum"),
|
|
79
|
-
updated_at: import_transfer_log_schema_zod.transferLogTableSchema.shape.created_at
|
|
79
|
+
updated_at: import_transfer_log_schema_zod.transferLogTableSchema.shape.created_at,
|
|
80
|
+
balance_id: import_transfer_log_schema_zod.transferLogTableSchema.shape.id
|
|
80
81
|
}).strict().partial().required({
|
|
81
82
|
token_id: true,
|
|
82
83
|
token_foreign: true,
|
|
@@ -48,7 +48,8 @@ var balanceOutputSchema = transferLogTableSchema.pick({
|
|
|
48
48
|
wallet_foreign: walletTableSchema.shape.foreign,
|
|
49
49
|
wallet_metadata: walletTableSchema.shape.metadata,
|
|
50
50
|
amount: z.number().describe("Current finished and pending balance sum"),
|
|
51
|
-
updated_at: transferLogTableSchema.shape.created_at
|
|
51
|
+
updated_at: transferLogTableSchema.shape.created_at,
|
|
52
|
+
balance_id: transferLogTableSchema.shape.id
|
|
52
53
|
}).strict().partial().required({
|
|
53
54
|
token_id: true,
|
|
54
55
|
token_foreign: true,
|